public void UpdateOrCreateInvokerClass() { IsInvokerClassUpdated = true; implementer.Implement(groups); AssetDatabase.Refresh(); }
protected virtual ImplementedEventSource DoImplement(TypeDefinition template) { var targetType = CreateTargetType(template); var implementer = new Implementer(Module, CreateEventSourceTemplate(template), targetType) { EmitGuardedTracers = EmitGuardedTracers }; return(new TemplateBasedEventSource { Old = template, New = targetType, Methods = implementer.Implement() }); }