C# Class 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
Afficher le fichier Open project: jozilla/Uiml.net

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AddPropertiesToParts ( UimlDocument doc ) : void
LayoutPropertyRepository ( ) : System

Method Details

Add() public méthode

public Add ( LayoutProperty p ) : LayoutProperty
p LayoutProperty
Résultat LayoutProperty

Contains() public méthode

public Contains ( LayoutProperty p ) : bool
p LayoutProperty
Résultat bool

Contains() public méthode

public Contains ( string key ) : bool
key string
Résultat bool

Get() public méthode

public Get ( string key ) : LayoutProperty
key string
Résultat LayoutProperty

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

InitializeProperties() public méthode

public InitializeProperties ( UimlDocument doc, IRenderer r ) : void
doc UimlDocument
r IRenderer
Résultat void

PrintProperties() public méthode

public PrintProperties ( ) : void
Résultat void