internal BacktrackingPredicate(LibraryMethodList container, Functor functor, BacktrackingPredicateDelegate backtrackingPredicateDelegate) : base(container, functor, false) { if (backtrackingPredicateDelegate == null) { throw new ArgumentNullException("backtrackingPredicateDelegate"); } _backtrackingPredicateDelegate = backtrackingPredicateDelegate; }
internal Predicate(LibraryMethodList container, Functor functor, PredicateDelegate predicateDelegate, bool canEvaluate) : base(container, functor, canEvaluate) { if (predicateDelegate == null) { throw new ArgumentNullException("predicateDelegate"); } m_predicateDelegate = predicateDelegate; }
internal CodePredicate(LibraryMethodList container, Functor functor, CodePredicateDelegate codePredicateDelegate) : base(container, functor, false) { if (codePredicateDelegate == null) { throw new ArgumentNullException("codePredicateDelegate"); } _codePredicateDelegate = codePredicateDelegate; }
internal Function(LibraryMethodList container, Functor functor, FunctionDelegate functionDelegate) : base(container, functor, true) { if (functionDelegate == null) { throw new ArgumentNullException("functionDelegate"); } m_functionDelegate = functionDelegate; }
internal LibraryMethod(LibraryMethodList container, Functor functor, bool canEvaluate) { if (container == null) { throw new ArgumentNullException("container"); } if (functor == null) { throw new ArgumentNullException("functor"); } m_container = container; m_functor = functor; m_canEvaluate = canEvaluate; }
public Library() { m_isModified = false; m_methods = new LibraryMethodList(this, new ObservableCollection <LibraryMethod>()); }