예제 #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;
 }
예제 #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);
        }