/// <inheritdoc/> public void AppendDefaultOperator(FuzzyLogicOperator fuzzyLogicOperator) { AnnotatedItemHelper.CheckAndFillUpHolder(fuzzyLogicOperator, _commonNamesStorage); lock (_lockObj) { _defaultOperatorsDict[fuzzyLogicOperator.Name] = fuzzyLogicOperator; } }
private void RegFuzzyLogicOperators() { var globalStorage = _context.Storage.GlobalStorage; var globalFuzzyLogicStorage = globalStorage.FuzzyLogicStorage; var very = new FuzzyLogicOperator(); very.Name = NameHelper.CreateName("very"); very.Handler = new VeryFuzzyLogicOperatorHandler(); globalFuzzyLogicStorage.AppendDefaultOperator(very); }