/// <summary> /// Initializes a new source element. /// </summary> /// <param name="name">The name to consider.</param> /// <param name="id">The ID to consider.</param> /// <param name="definitionUniqueId ">The definition unique ID to consider.</param> public static SourceElement CreateSource( string name, string id = null, string definitionUniqueId = null) { var element = new SourceElement(name, id) { DefinitionUniqueId = definitionUniqueId, }; return(element); }
// -------------------------------------------------- // CLONING // -------------------------------------------------- #region Cloning /// <summary> /// Clones this instance. /// </summary> /// <returns>Returns a cloned instance.</returns> public override object Clone(params string[] areas) { SourceElement dataSourceElement = base.Clone(areas) as SourceElement; return(dataSourceElement); }