예제 #1
0
        public static ExistsOptions Exists(this ProtoServer protoserver, string reason, bool shouldAbortOnError)
        {
            var proto = new ProtoExistsTask(new DotNetPath(), reason, shouldAbortOnError);

            protoserver.RegisterProtoTask(proto);
            return(proto);
        }
예제 #2
0
 public static ExistsOptions Exists(this ProtoServer protoserver, string reason, bool shouldAbortOnError)
 {
     var proto = new ProtoExistsTask(new DotNetPath(), reason, shouldAbortOnError);
        protoserver.RegisterProtoTask(proto);
        return proto;
 }