[This is preliminary documentation and is subject to change.]
Represents a thread-safe registry of T. This class is efficient for concurrent read access and is not designed for cases when frequent modifications happen.
It is ideal for lookup of named instances (such as components) that have much longer time span than components that look them up.
Registry performs lock-free lookup which speeds-up many concurrent operations that need to map names into objects.
The enumeration over registry makes a snapshot of its data, hence a registry may be modified by other threads while being enumerated.
System Object NFX Registry T NFX.Glue Bindings NFX.Glue Providers NFX.Glue Servers NFX OrderedRegistry T Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
[SerializableAttribute]
public class Registry<T> : IRegistry<T>,
IEnumerable<T>, IEnumerable
where T : INamed
[SerializableAttribute]
public class Registry<T> : IRegistry<T>,
IEnumerable<T>, IEnumerable
where T : INamed
<SerializableAttribute>
Public Class Registry(Of T As INamed)
Implements IRegistry(Of T), IEnumerable(Of T),
IEnumerable
<SerializableAttribute>
Public Class Registry(Of T As INamed)
Implements IRegistry(Of T), IEnumerable(Of T),
IEnumerable
[SerializableAttribute]
generic<typename T>
where T : INamed
public ref class Registry : IRegistry<T>,
IEnumerable<T>, IEnumerable
[SerializableAttribute]
generic<typename T>
where T : INamed
public ref class Registry : IRegistry<T>,
IEnumerable<T>, IEnumerable
[<SerializableAttribute>]
type Registry<'T when 'T : INamed> =
class
interface IRegistry<'T>
interface IEnumerable<'T>
interface IEnumerable
end
[<SerializableAttribute>]
type Registry<'T when 'T : INamed> =
class
interface IRegistry<'T>
interface IEnumerable<'T>
interface IEnumerable
end
- T