protected override void EmitEvent(WhatHappenedEnum eventType, string filePath)
 {
     this.eventCollector.Add(new Message {
         Label = eventType.ToString("g"),
         Body  = Encoding.UTF8.GetBytes(filePath)
     });
 }
 protected override void EmitEvent(WhatHappenedEnum eventType, string filePath)
 {
     this.eventCollector.Add(new EventGridEvent(
                                 filePath,
                                 eventType.ToString("g"),
                                 "1.0",
                                 new {
         eventType = eventType.ToString("g"),
         filePath
     }
                                 ));
 }
Exemplo n.º 3
0
 protected abstract void EmitEvent(WhatHappenedEnum eventType, string filePath);
 public StorageQueueMessage(WhatHappenedEnum eventType, string filePath)
 {
     this.EventType = eventType.ToString("g");
     this.FilePath  = filePath;
 }
 protected override void EmitEvent(WhatHappenedEnum eventType, string filePath)
 {
     this.eventCollector.Add(new StorageQueueMessage(eventType, filePath));
 }