コード例 #1
0
 /// <summary>
 /// Gets the shell layered.
 /// </summary>
 /// <returns>ShellLayered.</returns>
 protected ShellLayered getShellLayered()
 {
     if (SectionProperties.ShellType != eShellType.ShellLayered)
     {
         return(null);
     }
     return(_layerProperties ?? (_layerProperties = ShellLayered.Factory(Name)));
 }
コード例 #2
0
        /// <summary>
        /// Factories the specified application.
        /// </summary>
        /// <param name="uniqueName">Name of the unique.</param>
        /// <param name="properties">The properties.</param>
        /// <returns>AngleSection.</returns>
        internal static ShellLayered Factory(
            string uniqueName,
            ShellLayeredProperties properties = null)
        {
            ShellLayered areaSection = new ShellLayered(uniqueName)
            {
                _properties = properties
            };

            return(areaSection);
        }