/// <summary> /// Registers the container host. /// </summary> /// <param name="containerHost">The container host.</param> public void RegisterContainerHost(IGenericContainerHost containerHost) { this.containerHost = containerHost; // Register message type serializer.GetByType(typeof(IGenericMessage), new SerializationContext(serializer, this, false)); }
public IValueItem GetByType(Type type) { return(serializer.GetByType(type, this)); }