C# 클래스 Unite.UI.ViewModels.MainView

상속: IInitializeView, INotifyPropertyChanged
파일 보기 프로젝트 열기: jcbozonier/irontwit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Interactions IInteractionContext

보호된 프로퍼티들

프로퍼티 타입 설명
_ContactRepo IContactProvider

공개 메소드들

메소드 설명
Dispose ( ) : void
Init ( ) : void

This must be called when the application first starts so that the model can go through the appropriate workflow to set up the UI for the user.

MainView ( IInteractionContext interactionContext, IMessagingServiceManager messagingService, IContactProvider contactRepo ) : System
MainView_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
_MessagingService_AuthorizationFailed ( object sender, CredentialEventArgs e ) : void
_MessagingService_MessagesReceived ( object sender, MessagesReceivedEventArgs e ) : void
messagingService_CredentialsRequested ( object sender, CredentialEventArgs e ) : void

비공개 메소드들

메소드 설명
_GetMessagesFromEvent ( MessagesReceivedEventArgs e ) : void
_UpdateUIWithMessages ( IEnumerable result ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Init() 공개 메소드

This must be called when the application first starts so that the model can go through the appropriate workflow to set up the UI for the user.
public Init ( ) : void
리턴 void

MainView() 공개 메소드

public MainView ( IInteractionContext interactionContext, IMessagingServiceManager messagingService, IContactProvider contactRepo ) : System
interactionContext IInteractionContext
messagingService IMessagingServiceManager
contactRepo IContactProvider
리턴 System

MainView_PropertyChanged() 공개 메소드

public MainView_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
리턴 void

_MessagingService_AuthorizationFailed() 공개 메소드

public _MessagingService_AuthorizationFailed ( object sender, CredentialEventArgs e ) : void
sender object
e CredentialEventArgs
리턴 void

_MessagingService_MessagesReceived() 공개 메소드

public _MessagingService_MessagesReceived ( object sender, MessagesReceivedEventArgs e ) : void
sender object
e Unite.Messaging.Services.MessagesReceivedEventArgs
리턴 void

messagingService_CredentialsRequested() 공개 메소드

public messagingService_CredentialsRequested ( object sender, CredentialEventArgs e ) : void
sender object
e CredentialEventArgs
리턴 void

프로퍼티 상세

Interactions 공개적으로 프로퍼티

Any user input the view model needs can be requested through this object. Instantiation is handled in IoC container.
public IInteractionContext Interactions
리턴 IInteractionContext

_ContactRepo 보호되어 있는 프로퍼티

protected IContactProvider _ContactRepo
리턴 IContactProvider