/// <summary> /// Adds the node to the address space <see cref="IAddressSpaceCreator" />. /// </summary> /// <param name="space">The address space as a tree of nodes.</param> protected override void AddNode2AddressSpace(IAddressSpaceCreator space) { int _addressSpaceIndex = space.AddNode2AddressSpace(this, SymbolicName.ToString()); foreach (Reference item in this.References) { space.AddReference(_addressSpaceIndex, item.Wrapper.ReferenceType.XmlQualifiedName, item.Wrapper.IsInverse, item.Wrapper.TargetId.XmlQualifiedName); } IInstanceNodesCollection children = AddChildren(space, SymbolicName, _addressSpaceIndex, false); children.RegisterChildrenInAddressSpace(); space.AddReference(_addressSpaceIndex, BuildInXmlQualifiedNames.HasSubtype, true, this.Wrapper.BaseType.ValueOrDefault); }
///<summary> ///Returns a <see cref="T:System.String"/> that represents the current <see cref="UsbDeviceNotifyInfo"/>. ///</summary> /// ///<returns> ///A <see cref="System.String"/> that represents the current <see cref="UsbDeviceNotifyInfo"/>. ///</returns> public override string ToString() { return(SymbolicName.ToString()); }