Class BSONTypeResolver
Resolves types decorated with BSONSerializableAttribute(guid) attribute
Inheritance
System.Object
BSONTypeResolver
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Serialization.BSON
Assembly: Azos.dll
Syntax
public sealed class BSONTypeResolver : GuidTypeResolver<object, BSONSerializableAttribute>, IGuidTypeResolver
Constructors
BSONTypeResolver(IConfigSectionNode)
Declaration
public BSONTypeResolver(IConfigSectionNode conf)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | conf |
BSONTypeResolver(IDictionary<Guid, Type>)
Declaration
public BSONTypeResolver(IDictionary<Guid, Type> mappings)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.Guid, System.Type> | mappings |
BSONTypeResolver(Type[])
Declaration
public BSONTypeResolver(params Type[] types)
Parameters
Type | Name | Description |
---|---|---|
System.Type[] | types |