Example #1
0
 public static CopyOptions CopyDirectory(this ProtoServer protoServer, Action<FromOptions> a)
 {
     var proto = new ProtoCopyDirectoryTask(new DotNetPath());
     a(proto);
     protoServer.RegisterProtoTask(proto);
     return proto;
 }
Example #2
0
        public static CopyOptions CopyDirectory(this ProtoServer protoServer, Action <FromOptions> a)
        {
            var proto = new ProtoCopyDirectoryTask(new DotNetPath());

            a(proto);
            protoServer.RegisterProtoTask(proto);
            return(proto);
        }