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 } )); }
protected override void EmitEvent(WhatHappenedEnum eventType, string filePath) { this.eventCollector.Add(new Message { Label = eventType.ToString("g"), Body = Encoding.UTF8.GetBytes(filePath) }); }
public StorageQueueMessage(WhatHappenedEnum eventType, string filePath) { this.EventType = eventType.ToString("g"); this.FilePath = filePath; }