C# Class System.Web.Script.Services.LogicalTypeInfo

Datei anzeigen Open project: kumpera/mono Class Usage Examples

Private Properties

Property Type Description
GetEnumPrototypeDictionary object>.IDictionary
GetLogicalTypeInfo LogicalTypeInfo
ThrowOnIncorrectGenerateScriptAttribute void

Public Methods

Method Description
CreateTypeInfo ( Type t, string filePath ) : LogicalTypeInfo
this ( string method ) : LogicalMethodInfo

Protected Methods

Method Description
EnsureNamespaceRegistered ( string ns, string name, StringBuilder proxy, List registeredNamespaces ) : string
GenerateTypeRegistrationScript ( StringBuilder proxy, List registeredNamespaces ) : void
GenerateTypeRegistrationScript ( StringBuilder proxy, Type scriptType, string scriptTypeId, List registeredNamespaces ) : void
GetGenerateScriptTypes ( ) : IEnumerable
GetLogicalMethods ( bool isPage ) : List
GetNamespaceAndServiceName ( Type type, bool isPage, string &ns, string &service ) : void
LogicalTypeInfo ( Type t, string filePath ) : System
ShouldGenerateScript ( Type type, bool throwIfNot ) : bool

Private Methods

Method Description
GetEnumPrototypeDictionary ( Type type ) : object>.IDictionary
GetLogicalTypeInfo ( Type t, string filePath ) : LogicalTypeInfo
ThrowOnIncorrectGenerateScriptAttribute ( ) : void

Method Details

CreateTypeInfo() public static method

public static CreateTypeInfo ( Type t, string filePath ) : LogicalTypeInfo
t System.Type
filePath string
return LogicalTypeInfo

EnsureNamespaceRegistered() protected static method

protected static EnsureNamespaceRegistered ( string ns, string name, StringBuilder proxy, List registeredNamespaces ) : string
ns string
name string
proxy StringBuilder
registeredNamespaces List
return string

GenerateTypeRegistrationScript() protected abstract method

protected abstract GenerateTypeRegistrationScript ( StringBuilder proxy, List registeredNamespaces ) : void
proxy StringBuilder
registeredNamespaces List
return void

GenerateTypeRegistrationScript() protected static method

protected static GenerateTypeRegistrationScript ( StringBuilder proxy, Type scriptType, string scriptTypeId, List registeredNamespaces ) : void
proxy StringBuilder
scriptType System.Type
scriptTypeId string
registeredNamespaces List
return void

GetGenerateScriptTypes() protected method

protected GetGenerateScriptTypes ( ) : IEnumerable
return IEnumerable

GetLogicalMethods() protected abstract method

protected abstract GetLogicalMethods ( bool isPage ) : List
isPage bool
return List

GetNamespaceAndServiceName() protected method

protected GetNamespaceAndServiceName ( Type type, bool isPage, string &ns, string &service ) : void
type System.Type
isPage bool
ns string
service string
return void

LogicalTypeInfo() protected method

protected LogicalTypeInfo ( Type t, string filePath ) : System
t System.Type
filePath string
return System

ShouldGenerateScript() protected static method

protected static ShouldGenerateScript ( Type type, bool throwIfNot ) : bool
type System.Type
throwIfNot bool
return bool

this() public method

public this ( string method ) : LogicalMethodInfo
method string
return LogicalMethodInfo