diff --git a/SemanticData/UANodeSetValidation/AddressSpaceContext.cs b/SemanticData/UANodeSetValidation/AddressSpaceContext.cs index 2d123fa5..60226726 100644 --- a/SemanticData/UANodeSetValidation/AddressSpaceContext.cs +++ b/SemanticData/UANodeSetValidation/AddressSpaceContext.cs @@ -216,6 +216,7 @@ IEnumerable IAddressSpaceBuildContext.GetReferences2Me(IUANo /// /// The root node of the requested children. /// Return an instance of capturing all children of the selected node. + //TODO NetworkIdentifier is missing in generated Model Design for DI model #51 public IEnumerable GetChildren(IUANodeBase node) { return m_References.Values.Where(x => Object.ReferenceEquals(x.SourceNode, node)). diff --git a/SemanticData/UANodeSetValidation/UANodeContext.cs b/SemanticData/UANodeSetValidation/UANodeContext.cs index a381ff33..244a3fa8 100644 --- a/SemanticData/UANodeSetValidation/UANodeContext.cs +++ b/SemanticData/UANodeSetValidation/UANodeContext.cs @@ -155,6 +155,7 @@ void IUANodeBase.CalculateNodeReferences(INodeFactory nodeFactory, IValidator va switch (_rfx.ReferenceKind) { case ReferenceKindEnum.Custom: + //TODO NetworkIdentifier is missing in generated Model Design for DI model #51 XmlQualifiedName _ReferenceType = _rfx.GetReferenceTypeName(); if (_ReferenceType == XmlQualifiedName.Empty) { @@ -189,6 +190,8 @@ void IUANodeBase.CalculateNodeReferences(INodeFactory nodeFactory, IValidator va case ReferenceKindEnum.HasTypeDefinition: //TODO Recognize problems with P3.7.13 HasTypeDefinition ReferenceType #39 IsProperty = _rfx.TargetNode.IsPropertyVariableType; break; + case ReferenceKindEnum.HierarchicalReferences: + throw new ArgumentOutOfRangeException($"the {nameof(ReferenceKindEnum.HierarchicalReferences)} is not handled"); } } Dictionary _derivedChildren = m_BaseTypeNode == null ? new Dictionary() : m_BaseTypeNode.GetDerivedInstances(); @@ -272,6 +275,7 @@ public XmlQualifiedName ExportBrowseNameBaseType(Action traceEvent) /// /// Dictionary<System.String, IUANodeBase>. /// Circular loop in inheritance chain + //TODO NetworkIdentifier is missing in generated Model Design for DI model #51 public Dictionary GetDerivedInstances() { if (m_InGetDerivedInstances) diff --git a/SemanticData/UANodeSetValidation/UAReferenceContext.cs b/SemanticData/UANodeSetValidation/UAReferenceContext.cs index 27586374..3f1bdf38 100644 --- a/SemanticData/UANodeSetValidation/UAReferenceContext.cs +++ b/SemanticData/UANodeSetValidation/UAReferenceContext.cs @@ -49,6 +49,7 @@ internal UAReferenceContext(Reference reference, IAddressSpaceBuildContext addre /// Gets the kind of the reference. /// /// The kind of the reference. + //TODO NetworkIdentifier is missing in generated Model Design for DI model #51 internal ReferenceKindEnum ReferenceKind { get @@ -86,6 +87,7 @@ internal ReferenceKindEnum ReferenceKind /// Gets a value indicating whether the reference has been derived form or . /// /// true if it is child reference; otherwise, false. + //TODO NetworkIdentifier is missing in generated Model Design for DI model #51 internal bool ChildConnector => (ReferenceKind == ReferenceKindEnum.HasProperty) || (ReferenceKind == ReferenceKindEnum.HasComponent); #endregion semantics