C# 클래스 Illusion.TypeMappingConfiguration

Class to specify settings for configuring type mappings by the ViewLocator or ViewModelLocator
파일 보기 프로젝트 열기: kasicass/kasicass 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultSubNamespaceForViewModels string
DefaultSubNamespaceForViews string
IncludeViewSuffixInViewModelNames bool
NameFormat string
UseNameSuffixesInMappings bool
ViewModelSuffix string
ViewSuffixList List

프로퍼티 상세

DefaultSubNamespaceForViewModels 공개적으로 프로퍼티

The default subnamespace for ViewModels. Used for creating default subnamespace mappings. Defaults to "ViewModels".
public string DefaultSubNamespaceForViewModels
리턴 string

DefaultSubNamespaceForViews 공개적으로 프로퍼티

The default subnamespace for Views. Used for creating default subnamespace mappings. Defaults to "Views".
public string DefaultSubNamespaceForViews
리턴 string

IncludeViewSuffixInViewModelNames 공개적으로 프로퍼티

Flag to indicate if ViewModel names should include View suffixes (i.e. CustomerPageViewModel vs. CustomerViewModel)
public bool IncludeViewSuffixInViewModelNames
리턴 bool

NameFormat 공개적으로 프로퍼티

The format string used to compose the name of a type from base name and name suffix
public string NameFormat
리턴 string

UseNameSuffixesInMappings 공개적으로 프로퍼티

Flag to indicate whether or not the name of the Type should be transformed when adding a type mapping. Defaults to true.
public bool UseNameSuffixesInMappings
리턴 bool

ViewModelSuffix 공개적으로 프로퍼티

The name suffix for ViewModels. Applies only when UseNameSuffixesInMappings = true. The default is "ViewModel".
public string ViewModelSuffix
리턴 string

ViewSuffixList 공개적으로 프로퍼티

List of View suffixes for which default type mappings should be created. Applies only when UseNameSuffixesInMappings = true. Default values are "View", "Page"
public List ViewSuffixList
리턴 List