public abstract Task HandleAsync(FileNode node);
// Methods public bool CanHandle(FileNode node) { return(node.LogEntries.Count() > 1); }
public abstract void Handle(FileNode node);
// Methods public abstract Boolean CanHandle(FileNode node);
// Methods public Boolean CanHandle(FileNode node) { return(node.LogEntries.Count() == 1); }
public override Task HandleAsync(FileNode node) { return(Task.Run(() => Handle(node))); }
// Methods public override Boolean CanHandle(FileNode node) { return(node.LogEntries.Count() == 0); }