Пример #1
0
 public abstract Task HandleAsync(FileNode node);
        // Methods

        public bool CanHandle(FileNode node)
        {
            return(node.LogEntries.Count() > 1);
        }
Пример #3
0
 public abstract void Handle(FileNode node);
Пример #4
0
        // Methods

        public abstract Boolean CanHandle(FileNode node);
Пример #5
0
        // 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);
        }