C# Class UnityFx.Mvc.Presenter

Mostra file Open project: Arvtesh/UnityFx.Mvc Class Usage Examples

Private Properties

Property Type Description
AddPresentable void
CreatePresentable IPresentable
DismissPresentables void
GetZIndex int
IPresenterInternal IEnumerable
IPresenterInternal IPresentResult
IPresenterInternal void
IPresenterInternal void
IsAssignableToGenericType bool
PresentInternal IPresentResult
PresentInternal void
Presenter System
SetErrorHandler void
SetMiddleware void
ThrowIfDisposed void
ThrowIfInvalidControllerType void

Public Methods

Method Description
Dispose ( ) : void
InvokeCommand ( command ) : bool

Invokes a command. An implementation might choose to ignore the command, in this case the method should return .

Present ( Type controllerType, UnityFx.Mvc.PresentArgs args, PresentOptions presentOptions, Transform parent ) : IPresentResult
TryGetInfo ( IViewController controller, IPresentInfo &info ) : bool
Update ( ) : void

Private Methods

Method Description
AddPresentable ( IPresentable presentable ) : void
CreatePresentable ( IPresentable parent, Type controllerType, PresentOptions presentOptions, UnityFx.Mvc.PresentArgs args ) : IPresentable
DismissPresentables ( ) : void
GetZIndex ( IPresentable presentable ) : int
IPresenterInternal ( IPresentable presentable ) : IEnumerable
IPresenterInternal ( IPresentable presentable, Type controllerType, PresentOptions presentOptions, Transform parent, UnityFx.Mvc.PresentArgs args ) : IPresentResult
IPresenterInternal ( Exception e ) : void
IPresenterInternal ( IPresentable presentable, Exception e, bool cancelled ) : void
IsAssignableToGenericType ( Type givenType, Type genericType, Type &closedGenericType ) : bool
PresentInternal ( IPresentable presentable, Type controllerType, PresentOptions presentOptions, Transform transform, UnityFx.Mvc.PresentArgs args ) : IPresentResult
PresentInternal ( IPresentable presentable, IPresentable presentableParent, Transform transform ) : void
Presenter ( IServiceProvider serviceProvider, IViewFactory viewFactory, IViewControllerFactory controllerFactory, IPresenterEventSource eventSource ) : System
SetErrorHandler ( Action errorDelegate ) : void
SetMiddleware ( List middleware ) : void
ThrowIfDisposed ( ) : void
ThrowIfInvalidControllerType ( Type controllerType ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

InvokeCommand() public method

Invokes a command. An implementation might choose to ignore the command, in this case the method should return .
public InvokeCommand ( command ) : bool
command Command to invoke.
return bool

Present() public method

public Present ( Type controllerType, UnityFx.Mvc.PresentArgs args, PresentOptions presentOptions, Transform parent ) : IPresentResult
controllerType Type
args UnityFx.Mvc.PresentArgs
presentOptions PresentOptions
parent Transform
return IPresentResult

TryGetInfo() public method

public TryGetInfo ( IViewController controller, IPresentInfo &info ) : bool
controller IViewController
info IPresentInfo
return bool

Update() public method

public Update ( ) : void
return void