C# 클래스 Canguro.Model.Section.SectionManager

Clase Singleton que administra los catálogos de secciones.
파일 보기 프로젝트 열기: rforsbach/Treu-Structure

공개 프로퍼티들

프로퍼티 타입 설명
DefaultShape string
Instance SectionManager

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
LoadTxtCatalog ( Catalog
cat, string filePath ) : void
LoadXmlVariables ( XmlNode xml ) : string[]
SectionManager ( ) : System

Constructora privada para hacer singleton.

oneCatalogChanged ( object sender, EventArgs e ) : void

메소드 상세

Initialize() 공개 메소드

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
리턴 void

LoadXmlSections() 공개 메소드

public LoadXmlSections ( string filePath, Catalog
cat ) : void
filePath string
cat Catalog
리턴 void

NewSection() 공개 정적인 메소드

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

this() 공개 메소드

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

프로퍼티 상세

DefaultShape 공개적으로 프로퍼티

public string DefaultShape
리턴 string

Instance 공개적으로 정적으로 프로퍼티

public static SectionManager,Canguro.Model.Section Instance
리턴 SectionManager