Exemplo n.º 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(_apiApp, Name)));
 }
Exemplo n.º 2
0
        /// <summary>
        /// Factories the specified application.
        /// </summary>
        /// <param name="app">The application.</param>
        /// <param name="uniqueName">Name of the unique.</param>
        /// <param name="properties">The properties.</param>
        /// <returns>AngleSection.</returns>
        internal static ShellLayered Factory(ApiCSiApplication app, string uniqueName, ShellLayeredProperties properties = null)
        {
            ShellLayered areaSection = new ShellLayered(app, uniqueName)
            {
                _properties = properties
            };

            if (properties == null)
            {
                areaSection.FillData();
            }

            return(areaSection);
        }