C# Class Glass.Mapper.Sc.Pipelines.Response.GetModelFromView

Inheritance: GetModelProcessor
Datei anzeigen Open project: mikeedwards83/Glass.Mapper

Public Methods

Method Description
GetModelFromView ( IModelCacheManager modelCacheManager, ISitecoreContextFactory sitecoreContextFactory ) : System
Process ( GetModelArgs args ) : void

Protected Methods

Method Description
GetModel ( GetModelArgs args, string path ) : Type
GetPathFromLayout ( Database db, ID layoutId ) : string
GetViewPath ( GetModelArgs args ) : string
IsValidForProcessing ( GetModelArgs args ) : bool

Private Methods

Method Description
GetModelFromView ( ) : System

Method Details

GetModel() protected method

protected GetModel ( GetModelArgs args, string path ) : Type
args GetModelArgs
path string
return System.Type

GetModelFromView() public method

public GetModelFromView ( IModelCacheManager modelCacheManager, ISitecoreContextFactory sitecoreContextFactory ) : System
modelCacheManager IModelCacheManager
sitecoreContextFactory ISitecoreContextFactory
return System

GetPathFromLayout() protected method

protected GetPathFromLayout ( Database db, ID layoutId ) : string
db Database
layoutId ID
return string

GetViewPath() protected method

protected GetViewPath ( GetModelArgs args ) : string
args GetModelArgs
return string

IsValidForProcessing() protected method

protected IsValidForProcessing ( GetModelArgs args ) : bool
args GetModelArgs
return bool

Process() public method

public Process ( GetModelArgs args ) : void
args GetModelArgs
return void