A class to help ensure that DataType-specific manipulations are done for all possible DataTypes. Logically can/should be used whenever a series of "if" statements or a "switch" statement on DataType enum values might be used. Users of this class get the benefit of the fact that whenever a new data type is added, an error will result (alas at runtime, not compile time, but better that than nothing), indicating the places that need to be visited to deal with the new data type.

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 11.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DataTypeRegistry<T>
Public Class DataTypeRegistry(Of T)
generic<typename T>
public ref class DataTypeRegistry

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:StreamBase.SB.DataTypeRegistry`1"]

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DataTypeRegistry<(Of <(<'T>)>)>()()()()
Default ctor.
DataTypeRegistry<(Of <(<'T>)>)>(T, array<DataType>[]()[][])
Create a registry initialized with a default factory for the specified set of types.
Equals(Object) (Inherited from Object.)
FinishedRegistering()()()()
This should be called after all functors have been registered.
GetHashCode()()()() (Inherited from Object.)
GetType()()()() (Inherited from Object.)
Item[([( CompleteDataType])])
Item[([( DataType])])
Item[([( Schema..::..Field])])
Register(T, array<DataType>[]()[][])
ToString()()()() (Inherited from Object.)

Inheritance Hierarchy

System..::..Object
  StreamBase.SB..::..DataTypeRegistry<(Of <(<'T>)>)>

See Also