private void Init(ProcessorConfig config = null) { if (config == null) { return; } Converter = config.Converter; Index = config.Index; ModelType = config.ModelType; Serializer = config.Serializer; Model = Type.GetType(ModelType); }
/// <summary> /// Initializes a new instance of the <see cref="ProcessorMetaData" /> class. /// </summary> /// <param name="config"></param> public ProcessorMetaData(ProcessorConfig config) { Init(config); }