C# 클래스 Microsoft.Practices.Prism.Regions.RegionBehaviorFactory

상속: IRegionBehaviorFactory
파일 보기 프로젝트 열기: xperiandri/PortablePrism 1 사용 예제들

공개 메소드들

메소드 설명
AddIfMissing ( string behaviorKey, Type behaviorType ) : void

Adds a particular type of RegionBehavior if it was not already registered. The behaviorKey string is used to check if the behavior is already present

CreateFromKey ( string key ) : IRegionBehavior

Creates an instance of the behavior Type that is registered using the specified key.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that iterates through the collection.

RegionBehaviorFactory ( IServiceLocator serviceLocator ) : Microsoft.Practices.Prism.Properties

Initializes a new instance of RegionBehaviorFactory.

비공개 메소드들

메소드 설명
ContainsKey ( string behaviorKey ) : bool
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through a collection.

메소드 상세

AddIfMissing() 공개 메소드

Adds a particular type of RegionBehavior if it was not already registered. The behaviorKey string is used to check if the behavior is already present
public AddIfMissing ( string behaviorKey, Type behaviorType ) : void
behaviorKey string The behavior key that's used to find if a certain behavior is already added.
behaviorType System.Type Type of the behavior to add.
리턴 void

CreateFromKey() 공개 메소드

Creates an instance of the behavior Type that is registered using the specified key.
public CreateFromKey ( string key ) : IRegionBehavior
key string The key that is used to register a behavior type.
리턴 IRegionBehavior

GetEnumerator() 공개 메소드

Returns an enumerator that iterates through the collection.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

RegionBehaviorFactory() 공개 메소드

Initializes a new instance of RegionBehaviorFactory.
public RegionBehaviorFactory ( IServiceLocator serviceLocator ) : Microsoft.Practices.Prism.Properties
serviceLocator IServiceLocator used to create the instance of the behavior from its .
리턴 Microsoft.Practices.Prism.Properties