Beispiel #1
0
        public LightweightModificationFunctionsConfiguration Insert(
            Action <LightweightInsertModificationFunctionConfiguration> modificationFunctionConfigurationAction)
        {
            Check.NotNull(modificationFunctionConfigurationAction, "modificationFunctionConfigurationAction");

            var modificationFunctionConfiguration
                = new LightweightInsertModificationFunctionConfiguration(_type);

            modificationFunctionConfigurationAction(modificationFunctionConfiguration);

            _configuration.Insert(modificationFunctionConfiguration.Configuration);

            return(this);
        }
        public LightweightModificationFunctionsConfiguration Insert(
            Action<LightweightInsertModificationFunctionConfiguration> modificationFunctionConfigurationAction)
        {
            Check.NotNull(modificationFunctionConfigurationAction, "modificationFunctionConfigurationAction");

            var modificationFunctionConfiguration
                = new LightweightInsertModificationFunctionConfiguration(_type);

            modificationFunctionConfigurationAction(modificationFunctionConfiguration);

            _configuration.Insert(modificationFunctionConfiguration.Configuration);

            return this;
        }