C# 클래스 Uiml.LayoutManagement.LayoutPropertyRepository

Keeps a Hashtable of all layout properties, in order to prevent different layouts which refer to the same property, from adding duplicate properties, causing the solver to fail. Furthermore it handles initializing the properties.
Implements the Singleton pattern. http://www.yoda.arachsys.com/csharp/singleton.html
파일 보기 프로젝트 열기: jozilla/Uiml.net

공개 메소드들

메소드 설명
Add ( LayoutProperty p ) : LayoutProperty
Contains ( LayoutProperty p ) : bool
Contains ( string key ) : bool
Get ( string key ) : LayoutProperty
GetEnumerator ( ) : IEnumerator
InitializeProperties ( UimlDocument doc, IRenderer r ) : void
PrintProperties ( ) : void

비공개 메소드들

메소드 설명
AddPropertiesToParts ( UimlDocument doc ) : void
LayoutPropertyRepository ( ) : System

메소드 상세

Add() 공개 메소드

public Add ( LayoutProperty p ) : LayoutProperty
p LayoutProperty
리턴 LayoutProperty

Contains() 공개 메소드

public Contains ( LayoutProperty p ) : bool
p LayoutProperty
리턴 bool

Contains() 공개 메소드

public Contains ( string key ) : bool
key string
리턴 bool

Get() 공개 메소드

public Get ( string key ) : LayoutProperty
key string
리턴 LayoutProperty

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

InitializeProperties() 공개 메소드

public InitializeProperties ( UimlDocument doc, IRenderer r ) : void
doc UimlDocument
r IRenderer
리턴 void

PrintProperties() 공개 메소드

public PrintProperties ( ) : void
리턴 void