Beispiel #1
0
        protected EventSourceImplementerBase(ModuleDefinition module, EventSourceTemplate template)
        {
            this.module   = module;
            this.template = template;
            typeDefs      = template.TypeDefs;
            ensureOpcodes = EnsureNestedBuilder("Opcodes");
            ensureTasks   = EnsureNestedBuilder("Tasks");
#if ENABLE_UNSAFE
            unsafeWriteEventBuilder = new UnsafeWriteEventBuilder(module, typeDefs);
#endif
        }
Beispiel #2
0
 public Implementer(ModuleDefinition module, EventSourceTemplate template, TypeDefinition target)
     : base(module, template)
 {
     this.target = target;
 }