C# Class Canguro.Model.Section.SectionManager

Clase Singleton que administra los catálogos de secciones.
显示文件 Open project: rforsbach/Treu-Structure

Public Properties

Property Type Description
DefaultShape string
Instance SectionManager

Public Methods

Method Description
Initialize ( Catalog &modelSections ) : void

Inicializa leyendo todos los archivos *.sec en el directorio \section Se tiene que llamar después de crear Model

LoadXmlSections ( string filePath, Catalog
cat ) : void
NewSection ( Material mat, ConcreteSectionProps csp, string arr ) : Section
this ( string key ) : Catalog

Indexador de catálogos. Regresa (asigna) el catálogo dado su nombre.

Private Methods

Method Description
LoadTxtCatalog ( Catalog
cat, string filePath ) : void
LoadXmlVariables ( XmlNode xml ) : string[]
SectionManager ( ) : System

Constructora privada para hacer singleton.

oneCatalogChanged ( object sender, EventArgs e ) : void

Method Details

Initialize() public method

Inicializa leyendo todos los archivos *.sec en el directorio \section Se tiene que llamar después de crear Model
public Initialize ( Catalog &modelSections ) : void
modelSections Catalog
return void

LoadXmlSections() public method

public LoadXmlSections ( string filePath, Catalog
cat ) : void
filePath string
cat Catalog
return void

NewSection() public static method

public static NewSection ( Material mat, ConcreteSectionProps csp, string arr ) : Section
mat Material
csp ConcreteSectionProps
arr string
return Section

this() public method

Indexador de catálogos. Regresa (asigna) el catálogo dado su nombre.
public this ( string key ) : Catalog
key string Nombre del catálogo
return Catalog

Property Details

DefaultShape public_oe property

public string DefaultShape
return string

Instance public_oe static_oe property

public static SectionManager,Canguro.Model.Section Instance
return SectionManager