Esempio n. 1
0
 void AddClassPropertyMethod (String cls, MemberInfo property, MethodInfo method, String attribute)
 {
     var handler = new ClassMethodHandler (method);
     var parameter_attribute = "ParameterType(0).Class(" + Name + "." + cls + ")";
     AddProcedure (new ProcedureSignature (Name, cls + '_' + method.Name, property.GetDocumentation (), handler, GameScene, attribute, parameter_attribute));
 }
Esempio n. 2
0
 void AddPropertyMethod (MemberInfo property, MethodInfo method, String attribute)
 {
     var handler = new ProcedureHandler (method);
     AddProcedure (new ProcedureSignature (Name, method.Name, property.GetDocumentation (), handler, GameScene, attribute));
 }