Example #1
0
 FormulaRef(IFormulaRef parent, string name, IList<INodeRef> properties)
     : base(parent, name, new NodeRefCollection<INode, INodeRef>(properties, parent))
 {
     nodeType = (IConstantNodeRef<NodeType>)properties[0];
     type = (IConstantNodeRef<ITypeDeclaration>)properties[1];
 }
Example #2
0
 protected internal FormulaRef(IConstantNodeRef<NodeType> nodeType, string name, IConstantNodeRef<ITypeDeclaration> type, IFormulaRef parent, params INodeRef[] properties)
     : this(parent, name, new INodeRef[] { type, parent }.Concat(properties).ToArray())
 {
 }