C# Class FDOBrowser.FDOClassList

Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
GetFDOClassProperties ( string className ) : FDOClass

Gets the properties for the specified class.

GetFDOClassType ( string className ) : Type

Gets the properties for the specified class.

IsCmObjectProperty ( string propName ) : bool

Determines whether or not the specified property name is a CmObject property.

IsPropertyDisplayed ( ICmObject cmObj, string propName ) : bool

Determines whether or not the specified property name of the specified object should be displayed.

Reset ( ) : void

Reloads from the persisted storage, all FDO classes and the displayed state of all their properties.

Save ( ) : void

Saves this instance.

Private Methods

Method Description
FDOClassList ( ) : System

Initializes a new instance of the T:FDOClassList class.

FindFDOAssembly ( ) : void

Finds the FDO assembly.

LoadAllFDOClasses ( ) : void

Loads all FDO classes.

LoadCmObjectProperties ( ) : void

Loads a table with the properties found in the CmObject class.

LoadFDOClassNames ( ) : void

Loads the list of all FDO class names from the meta data cache.

Method Details

GetFDOClassProperties() public static method

Gets the properties for the specified class.
public static GetFDOClassProperties ( string className ) : FDOClass
className string
return FDOClass

GetFDOClassType() public static method

Gets the properties for the specified class.
public static GetFDOClassType ( string className ) : Type
className string
return System.Type

IsCmObjectProperty() public static method

Determines whether or not the specified property name is a CmObject property.
public static IsCmObjectProperty ( string propName ) : bool
propName string
return bool

IsPropertyDisplayed() public static method

Determines whether or not the specified property name of the specified object should be displayed.
public static IsPropertyDisplayed ( ICmObject cmObj, string propName ) : bool
cmObj ICmObject
propName string
return bool

Reset() public static method

Reloads from the persisted storage, all FDO classes and the displayed state of all their properties.
public static Reset ( ) : void
return void

Save() public static method

Saves this instance.
public static Save ( ) : void
return void