C# Class CodeGenerator.InterfacedObserverCodeGenerator

显示文件 Open project: SaladLab/Akka.Interfaced Class Usage Examples

Public Methods

Method Description
GenerateCode ( Type type, CodeWriter w ) : void

Private Methods

Method Description
EnsureSurrogateForINotificationChannel ( Type callerType, CodeWriter w ) : void
GenerateAsyncCode ( Type type, CodeWriter w, Type baseTypes, string>.Tuple typeInfos ) : void
GenerateObserverCode ( Type type, CodeWriter w, Type baseTypes, string>.Tuple typeInfos ) : void
GeneratePayloadCode ( Type type, CodeWriter w, string>.List method2PayloadTypeNames ) : void
GetEventMethods ( Type type ) : System.Reflection.MethodInfo[]
GetPayloadTypeNames ( Type type, MethodInfo methods ) : string>>.List

Method Details

GenerateCode() public method

public GenerateCode ( Type type, CodeWriter w ) : void
type System.Type
w CodeWriter
return void