Пример #1
0
        internal bool ContainsSubstitutionFor(PointableInstance container, Concept2 parameter)
        {
            var key = Tuple.Create(container, parameter);

            return(_propertyValues.TryGetValue(key, out var substitutions) && substitutions != null);
        }
Пример #2
0
 internal PropertyContainer SetPropertyValue(PointableInstance target, Concept2 property, Concept2 value)
 {
     return(SetPropertyValue(target, property, new ConceptInstance(value)));
 }
Пример #3
0
        internal bool IsParameter(Concept2 property)
        {
            var value = property.GetPropertyValue(Concept2.Parameter) as ConceptInstance;

            return(value?.Concept == Concept2.Yes);
        }