C# Class Shielded.ProxyGen.ProxyGen

显示文件 Open project: jbakic/Shielded Class Usage Examples

Public Methods

Method Description
GetFor ( Type t ) : Type
IsProxy ( Type t ) : bool
Prepare ( Type types ) : void

Prepare the specified types.

Private Methods

Method Description
CreateFor ( Type t ) : Type
CreateNamespace ( Type t ) : CodeNamespace
CreatePropertyOverride ( string structType, PropertyInfo pi, CodeMethodReferenceExpression changeMethod ) : CodeMemberProperty
CreateStructField ( PropertyInfo pi ) : CodeTypeMember
CreateType ( Type t, CodeNamespace nsp ) : void
GetNameForDerivedClass ( Type t ) : string
GetNameForSupportingStruct ( Type t ) : string
GetOnChanged ( Type t ) : CodeMethodReferenceExpression
GetReferences ( Type t ) : IEnumerable
HasCommute ( Type t ) : bool
IsInteresting ( PropertyInfo pi ) : bool
MakeAssembly ( Action contentGenerator ) : Assembly
PrepareType ( Type t, CodeCompileUnit cu ) : void
ThrowErrors ( CompilerErrorCollection compilerErrorCollection ) : void

Method Details

GetFor() public static method

public static GetFor ( Type t ) : Type
t System.Type
return System.Type

IsProxy() public static method

public static IsProxy ( Type t ) : bool
t System.Type
return bool

Prepare() public static method

Prepare the specified types.
public static Prepare ( Type types ) : void
types System.Type
return void