private static string GenerateMonobehaviourClass(ITypeRelationalMapper mapper, IEnumerable <ITestityBuildStep> buildSteps, Type typeToBuildFrom) { IClassBuilder builder = new TestityClassBuilder(typeToBuildFrom.Name + "Script", MemberImplementationModifier.Public | MemberImplementationModifier.Sealed); foreach (ITestityBuildStep step in buildSteps) { step.Process(builder, typeToBuildFrom); } return(builder.ToString()); }
private static string GenerateMonobehaviourClass(ITypeRelationalMapper mapper, IEnumerable<ITestityBuildStep> buildSteps, Type typeToBuildFrom) { IClassBuilder builder = new TestityClassBuilder(typeToBuildFrom.Name + "Script", MemberImplementationModifier.Public | MemberImplementationModifier.Sealed); foreach (ITestityBuildStep step in buildSteps) { step.Process(builder, typeToBuildFrom); } return builder.ToString(); }
private static string GenerateTestityGenericEventSerializableClass(string genericEventNewTypeName, IEnumerable <Type> genericTypeArgs) { IClassBuilder builder = new TestityClassBuilder(genericEventNewTypeName); return(builder.ToString()); }
private static string GenerateTestityGenericEventSerializableClass(string genericEventNewTypeName, IEnumerable<Type> genericTypeArgs) { IClassBuilder builder = new TestityClassBuilder(genericEventNewTypeName); return builder.ToString(); }