C# 클래스 SIL.FieldWorks.Common.Controls.LayoutCache

This class caches the layout and part inventories and optimizes looking up a particular item.
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
LayoutVersionNumber int

공개 메소드들

메소드 설명
GetNode ( int clsid, string layoutName, bool fIncludeLayouts ) : XmlNode

Gets the node.

InitializeLayoutsForWsTag ( string sWsTag, string sDatabase ) : void

Displaying Reversal Indexes requires expanding a variable number of writing system specific layouts. This method does that for a specific writing system and database.

InitializePartInventories ( string sDatabase, IApp app, String projectPath ) : void

Initializes the part inventories.

InitializePartInventories ( string sDatabase, IApp app, bool fLoadUserOverrides, String projectPath ) : void

Initialize the part inventories.

LayoutCache ( IFwMetaDataCache mdc, Inventory layouts, Inventory parts ) : System

Initializes a new instance of the LayoutCache class.

LayoutCache ( IFwMetaDataCache mdc, string sDatabase, IApp app, String projectPath ) : System

Initializes a new instance of the LayoutCache class.

메소드 상세

GetNode() 공개 메소드

Gets the node.
public GetNode ( int clsid, string layoutName, bool fIncludeLayouts ) : XmlNode
clsid int The CLSID.
layoutName string Name of the layout.
fIncludeLayouts bool if set to true [f include layouts].
리턴 System.Xml.XmlNode

InitializeLayoutsForWsTag() 공개 정적인 메소드

Displaying Reversal Indexes requires expanding a variable number of writing system specific layouts. This method does that for a specific writing system and database.
public static InitializeLayoutsForWsTag ( string sWsTag, string sDatabase ) : void
sWsTag string
sDatabase string
리턴 void

InitializePartInventories() 공개 정적인 메소드

Initializes the part inventories.
public static InitializePartInventories ( string sDatabase, IApp app, String projectPath ) : void
sDatabase string The name of the database.
app IApp The application.
projectPath String The path to the project folder.
리턴 void

InitializePartInventories() 공개 정적인 메소드

Initialize the part inventories.
public static InitializePartInventories ( string sDatabase, IApp app, bool fLoadUserOverrides, String projectPath ) : void
sDatabase string
app IApp
fLoadUserOverrides bool
projectPath String
리턴 void

LayoutCache() 공개 메소드

Initializes a new instance of the LayoutCache class.
public LayoutCache ( IFwMetaDataCache mdc, Inventory layouts, Inventory parts ) : System
mdc IFwMetaDataCache The MDC.
layouts Inventory The layouts.
parts Inventory The parts.
리턴 System

LayoutCache() 공개 메소드

Initializes a new instance of the LayoutCache class.
public LayoutCache ( IFwMetaDataCache mdc, string sDatabase, IApp app, String projectPath ) : System
mdc IFwMetaDataCache The MDC.
sDatabase string The database name.
app IApp The application.
projectPath String The project folder.
리턴 System

프로퍼티 상세

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

Layout Version Number (last updated by JohnT, 18 June 2013, as part of LT-14656).
Note: often we also want to update BrowseViewer.kBrowseViewVersion.
public static int LayoutVersionNumber
리턴 int