예제 #1
0
        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);
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessorMetaData" /> class.
 /// </summary>
 /// <param name="config"></param>
 public ProcessorMetaData(ProcessorConfig config)
 {
     Init(config);
 }