C# Class Pomona.PomonaContext

Mostrar archivo Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
Bind ( TypeSpec type = null, object patchedObject = null ) : object
PomonaContext ( UrlSegment node, PomonaRequest request = null, string expandedPaths = null, bool executeQueryable = false, bool handleException = true, Type acceptType = null ) : System
TryBindAsType ( TypeSpec type, object &form ) : bool

Private Methods

Method Description
Deserialize ( StructuredType expectedBaseType, object patchedObject = null ) : object
GetExpandedPathsFromRequest ( RequestHeaders requestHeaders, DynamicDictionary query ) : string

Method Details

Bind() public method

public Bind ( TypeSpec type = null, object patchedObject = null ) : object
type TypeSpec
patchedObject object
return object

PomonaContext() public method

public PomonaContext ( UrlSegment node, PomonaRequest request = null, string expandedPaths = null, bool executeQueryable = false, bool handleException = true, Type acceptType = null ) : System
node UrlSegment
request PomonaRequest
expandedPaths string
executeQueryable bool
handleException bool
acceptType System.Type
return System

TryBindAsType() public method

public TryBindAsType ( TypeSpec type, object &form ) : bool
type TypeSpec
form object
return bool