Пример #1
0
        private void AddFilter(Plugin value)
        {
            ConfigurationFilter filter = new ConfigurationFilter();

            //filter.Initialize(GetArgs((string)value.type, (string)(value.predicate ?? string.Empty), value.args));
            Filters.Add(filter);
        }
Пример #2
0
        private void AddOutput(Plugin value)
        {
            ConfigurationOutput output = new ConfigurationOutput();

            output.Initialize(value.Name, value.Params);
            Outputs.Add(output);
        }
Пример #3
0
        private void AddInput(Plugin value)
        {
            ConfigurationInput input = new ConfigurationInput();

            input.Initialize(value.Name,value.Params);

            Inputs.Add(input);
        }