Exemple #1
0
        public INodeDescriptor GetINodeDescriptor()
        {
            UniqueIdentifier ui = new UniqueIdentifier();

            ui.Update(false, NodeID, true);
            return(InstanceWrapper.GetINodeDescriptor(ui, NodeClass));
        }
Exemple #2
0
        /// <summary>
        /// Gets the unique identifier.
        /// </summary>
        /// <param name="ui">The instance of <see cref="UniqueIdentifier"/> that represents an unique identifier.</param>
        /// <returns>
        ///     <c>true</c> if it is not top level element; <c>false</c> otherwise if it is top level element
        /// </returns>
        internal override bool GetUniqueIdentifier(UniqueIdentifier ui)
        {
            bool intermediate = base.GetUniqueIdentifier(ui);

            ui.Update(intermediate, ModelEntity.Wrapper.SymbolicName.XmlQualifiedName, false);
            return(true);
        }
 /// <summary>
 /// Gets the unique identifier.
 /// </summary>
 /// <param name="ui">The instance of <see cref="UniqueIdentifier"/> that represents an unique identifier.</param>
 /// <returns>
 ///     <c>true</c> if it is not top level element; <c>false</c> otherwise if it is top level element
 /// </returns>
 internal override bool GetUniqueIdentifier(UniqueIdentifier ui)
 {
     if (!base.GetUniqueIdentifier(ui))
     {
         ui.Update(false, ModelEntity.Wrapper.SymbolicName.XmlQualifiedName, true);
     }
     return(true);
 }