public static void Publish(this AdHocschedulesMessageProcessedPublisher publisher, ProcessFile message)
 {
     publisher.Publish(message.Id);
 }
 public static Tuple<AdHocSchedulesMessage, string> Parse(this AdHocSchedulesMessageParser parser, ProcessFile message)
 {
     return parser.Parse(message.Name, message.FullPath, message.Id);
 }
 public static void Clean(this AdHocSchedulesMessageCleaner cleaner, ProcessFile message)
 {
     cleaner.Clean(message.FullPath);
 }