Exemplo n.º 1
0
        /// <summary>
        /// Gets a connector space object
        /// </summary>
        /// <param name="id">The ID of the connector space object</param>
        /// <returns>A connector space object</returns>
        internal static CSObject GetCSObject(Guid id)
        {
            XmlNode node = CSObject.GetCSObjectXml(id);

            if (node != null)
            {
                return(new CSObject(node));
            }
            else
            {
                return(null);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Reloads the connector space object from the metadirectory
        /// </summary>
        public void Refresh()
        {
            XmlNode node = CSObject.GetCSObjectXml(this.ID);

            this.Reload(node);
        }