public NativeEventDefinition(string name, string format, INativeEventRegistry.BuildEventDelegate builder, bool badReturnValue) { this.Name = name; this.Format = format; this.Builder = builder; this.BadReturnValue = badReturnValue; }
public void Add(string name, string format, INativeEventRegistry.BuildEventDelegate builderDelegate, bool badReturnValue) { this.Add(name, new NativeEventDefinition(name, format, builderDelegate, badReturnValue)); }