C# Class Pomona.Common.TypeSystem.ResourceType

Inheritance: StructuredType
Mostrar archivo Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
AppendUri ( object o, StringBuilder sb ) : void
ResourceType ( IResourceTypeResolver typeResolver, Type type ) : System
ToUri ( object o ) : string

Protected Methods

Method Description
OnLoadUriBaseType ( ) : ResourceType
OnWrapProperty ( PropertyInfo property ) : PropertySpec

Private Methods

Method Description
BuildUriGenerator ( ResourceType rt ) : StringBuilder>>.Expression
BuildUriGenerator ( ResourceType rt, List sbFormatArgs, Expression parentExpression, StringBuilder formatStringBuilder ) : void
ConvertToPathEncodedString ( object o ) : string
GetUrlPathEncodedExpression ( Expression expr ) : Expression

Method Details

AppendUri() public method

public AppendUri ( object o, StringBuilder sb ) : void
o object
sb StringBuilder
return void

OnLoadUriBaseType() protected method

protected OnLoadUriBaseType ( ) : ResourceType
return ResourceType

OnWrapProperty() protected method

protected OnWrapProperty ( PropertyInfo property ) : PropertySpec
property System.Reflection.PropertyInfo
return PropertySpec

ResourceType() public method

public ResourceType ( IResourceTypeResolver typeResolver, Type type ) : System
typeResolver IResourceTypeResolver
type System.Type
return System

ToUri() public method

public ToUri ( object o ) : string
o object
return string