C# 클래스 Open.Core.Part

Represents a part of an application (which may or may not have UI associated with it).
상속: ModelBase
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
GetEntryPoint ( Type type, string methodName ) : string

Formats the entry point method for a part.

Initialize ( System.Action callback ) : void

Initializes the part.

UpdateLayout ( ) : void

Forces an update to the Part's layout.

보호된 메소드들

메소드 설명
LoadHtml ( string url, System.Action onComplete ) : void

Loads the HTML at the given URL into the Container.

OnInitialize ( System.Action callback ) : void

Implemented in the deriving class to initialize the part.

All requires scripts will be loaded before this method is invoked, and the 'Container' if available, will be set.

OnUpdateLayout ( ) : void

Implemented in deriving class to update the Part's layout.

비공개 메소드들

메소드 설명
FireInitialized ( ) : void
FireLayoutRequired ( ) : void
GetEntryPoint ( Type type ) : string

메소드 상세

GetEntryPoint() 공개 정적인 메소드

Formats the entry point method for a part.
public static GetEntryPoint ( Type type, string methodName ) : string
type System.Type The type of the part.
methodName string The method name.
리턴 string

Initialize() 공개 메소드

Initializes the part.
public Initialize ( System.Action callback ) : void
callback System.Action Action to invoke upon completion.
리턴 void

LoadHtml() 보호된 메소드

Loads the HTML at the given URL into the Container.
protected LoadHtml ( string url, System.Action onComplete ) : void
url string The URL of the content to load.
onComplete System.Action Action to invoke upon completion.
리턴 void

OnInitialize() 보호된 추상적인 메소드

Implemented in the deriving class to initialize the part.
All requires scripts will be loaded before this method is invoked, and the 'Container' if available, will be set.
protected abstract OnInitialize ( System.Action callback ) : void
callback System.Action Action to invoke upon completion of initialization.
리턴 void

OnUpdateLayout() 보호된 메소드

Implemented in deriving class to update the Part's layout.
protected OnUpdateLayout ( ) : void
리턴 void

UpdateLayout() 공개 메소드

Forces an update to the Part's layout.
public UpdateLayout ( ) : void
리턴 void