C# 클래스 GitHub.App.Factories.UIPair

This class holds ExportLifetimeContexts (i.e., Lazy Disposable containers) for IView and IViewModel objects A view type (login, clone, etc) is composed of a pair of view and viewmodel, which this class represents.
상속: IUIPair
파일 보기 프로젝트 열기: github/VisualStudio

공개 메소드들

메소드 설명
AddHandler ( IDisposable disposable ) : void

Register disposable event handlers or observable subscriptions so they get cleared when the View/Viewmodel get disposed/destroyed

ClearHandlers ( ) : void
Dispose ( ) : void
UIPair ( UIViewType type, ExportLifetimeContext v, [ vm ) : GitHub.Exports

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

AddHandler() 공개 메소드

Register disposable event handlers or observable subscriptions so they get cleared when the View/Viewmodel get disposed/destroyed
public AddHandler ( IDisposable disposable ) : void
disposable IDisposable
리턴 void

ClearHandlers() 공개 메소드

public ClearHandlers ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

UIPair() 공개 메소드

public UIPair ( UIViewType type, ExportLifetimeContext v, [ vm ) : GitHub.Exports
type UIViewType The UIViewType
v ExportLifetimeContext The IView
vm [ The IViewModel. Might be null because the 2fa view shares the same viewmodel as the login dialog, so it's /// set manually in the view outside of this
리턴 GitHub.Exports