C# 클래스 MediaOwl.Core.NamingConventions

This class is used to identify naming conventions, that are not part of the CM-Framework.
파일 보기 프로젝트 열기: Slesa/Playground

공개 프로퍼티들

프로퍼티 타입 설명
HomePostFix string
SinglePostFix string
ViewModelPostFix string

공개 메소드들

메소드 설명
GetHomeScreenName ( this screen, bool returnQualified = false ) : string

Gets the name of the HomeScreen of a given screen.

GetHomeScreenType ( this screen ) : Type

Gets the Type of the HomeScreen of a given screen.

Uses GetHomeScreenName

GetMainScreenName ( this screen, bool returnQualified = false ) : string

Gets the name of the MainScreen of a given screen.

GetMainScreenType ( this screen ) : Type

Gets the Type of the MainScreen of a given screen.

Uses GetMainScreenName

GetSingleScreenName ( this screen, bool returnQualified = false ) : string

Gets the name of the SingleScreen of a given screen.

GetSingleScreenType ( this screen ) : Type

Gets the Type of the SingleScreen of a given screen.

Uses GetSingleScreenName

IsHomeScreen ( this screen ) : bool

Indicates, if the given screen is a HomeScreen.

IsMainScreen ( this screen ) : bool

Indicates, if the given screen is a MainScreen.

IsSingleScreen ( this screen ) : bool

Indicates, if the given screen is a SingleScreen.

비공개 메소드들

메소드 설명
GetQualifiedViewModelName ( IScreen screen, string targetPostFix, string viewModelPostFix ) : string

Gets the fully qualified name of a ViewModel. Just adds the AssemblyQualifiedName to the GetViewModelName.

GetViewModelName ( IScreen screen, string targetPostFix, string viewModelPostFix ) : string

Gets the name of a ViewModel.

메소드 상세

GetHomeScreenName() 공개 정적인 메소드

Gets the name of the HomeScreen of a given screen.
public static GetHomeScreenName ( this screen, bool returnQualified = false ) : string
screen this The screen
returnQualified bool If true, the returned string will be the qualified name
리턴 string

GetHomeScreenType() 공개 정적인 메소드

Gets the Type of the HomeScreen of a given screen.
Uses GetHomeScreenName
public static GetHomeScreenType ( this screen ) : Type
screen this The screen
리턴 System.Type

GetMainScreenName() 공개 정적인 메소드

Gets the name of the MainScreen of a given screen.
public static GetMainScreenName ( this screen, bool returnQualified = false ) : string
screen this The screen
returnQualified bool If true, the returned string will be the qualified name
리턴 string

GetMainScreenType() 공개 정적인 메소드

Gets the Type of the MainScreen of a given screen.
Uses GetMainScreenName
public static GetMainScreenType ( this screen ) : Type
screen this The screen
리턴 System.Type

GetSingleScreenName() 공개 정적인 메소드

Gets the name of the SingleScreen of a given screen.
public static GetSingleScreenName ( this screen, bool returnQualified = false ) : string
screen this The screen
returnQualified bool If true, the returned string will be the qualified name
리턴 string

GetSingleScreenType() 공개 정적인 메소드

Gets the Type of the SingleScreen of a given screen.
Uses GetSingleScreenName
public static GetSingleScreenType ( this screen ) : Type
screen this The screen
리턴 System.Type

IsHomeScreen() 공개 정적인 메소드

Indicates, if the given screen is a HomeScreen.
public static IsHomeScreen ( this screen ) : bool
screen this The screen
리턴 bool

IsMainScreen() 공개 정적인 메소드

Indicates, if the given screen is a MainScreen.
public static IsMainScreen ( this screen ) : bool
screen this The screen
리턴 bool

IsSingleScreen() 공개 정적인 메소드

Indicates, if the given screen is a SingleScreen.
public static IsSingleScreen ( this screen ) : bool
screen this The screen
리턴 bool

프로퍼티 상세

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

public static string HomePostFix
리턴 string

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

public static string SinglePostFix
리턴 string

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

public static string ViewModelPostFix
리턴 string