コード例 #1
0
        private List <IArchitectureFactory> AddEntity(MathIdentifier entityId)
        {
            List <IArchitectureFactory> value;

            if (!_table.TryGetValue(entityId, out value))
            {
                value = new List <IArchitectureFactory>();
                _table.Add(entityId, value);
            }
            return(value);
        }
コード例 #2
0
 public bool TryLookupPropertyProvider(MathIdentifier propertyType, out PropertyProviderTable value)
 {
     return(_properties.TryGetValue(propertyType, out value));
 }
コード例 #3
0
 public bool TryLookupTransformationType(MathIdentifier transformationType, out TransformationTypeTable value)
 {
     return(_transformations.TryGetValue(transformationType, out value));
 }
コード例 #4
0
 public bool TryLookupTheorem(MathIdentifier theoremId, out ITheorem value)
 {
     return(_theorems.TryGetValue(theoremId, out value));
 }