/// <summary> /// Register is called by a MarshalContext to allow the /// converter instance to register itself in the context /// with all appropriate value types and interfaces. /// </summary> public void Register(IMarshalContext context) { context.RegisterConverter( __type, this ); context.RegisterConverter( __arrayType, this ); context.Alias( "char", __type ); context.Alias( "chars", __arrayType ); }
/// <summary> /// Register is called by a MarshalContext to allow the /// converter instance to register itself in the context /// with all appropriate value types and interfaces. /// </summary> public void Register(IMarshalContext context) { context.RegisterConverter( __type, this ); context.Alias( "type", __type ); }
private XStreamBase(MarshalContext context) { this.context = context; marshaller = new XStreamMarshaller(); context.Alias("GenericHolder", typeof(GenericObjectHolder)); }
public virtual void Register(IMarshalContext context) { context.RegisterConverter(type, this); context.Alias(controlTypeAlias, type); }
/// <summary> /// Register is called by a MarshalContext to allow the /// converter instance to register itself in the context /// with all appropriate value types and interfaces. /// </summary> public void Register(IMarshalContext context) { context.RegisterConverter(__type, this); context.Alias("array", __type); }