Ejemplo n.º 1
0
    public DirectorySender(IAgileLogger iagileLogger_0, IFilePackageHelper interface35_1, string string_4, string string_5, string string_6, ulong ulong_4, ulong ulong_5)
    {
        this.emptyAgileLogger_0 = (EmptyAgileLogger)iagileLogger_0;
        this.interface35_0      = interface35_1;
        DirectoryInfo info = new DirectoryInfo(string_4 + @"\");

        this.string_0 = info.FullName;
        this.string_1 = string_5;
        this.string_2 = string_6;
        this.ulong_1  = ulong_4 - ulong_5;
        this.ulong_3  = ulong_5;
        this.ulong_0  = FileHelper.GetDirectorySize(this.string_0);
        if (cbFileTransCompleted_1 == null)
        {
            cbFileTransCompleted_1 = new CbFileTransCompleted(DirectorySender.smethod_0);
        }
        this.FileTransCompleted += cbFileTransCompleted_1;
        if (cbFileTransDisruptted_1 == null)
        {
            cbFileTransDisruptted_1 = new CbFileTransDisruptted(DirectorySender.smethod_1);
        }
        this.FileTransDisruptted += cbFileTransDisruptted_1;
        if (cbFileSendedProgress_1 == null)
        {
            cbFileSendedProgress_1 = new CbFileSendedProgress(DirectorySender.smethod_2);
        }
        this.FileTransProgress += cbFileSendedProgress_1;
    }
Ejemplo n.º 2
0
 public FileSender(IAgileLogger iagileLogger_0, IFilePackageHelper interface35_1, string string_4, string string_5, ulong ulong_4)
 {
     this.emptyAgileLogger_0 = (EmptyAgileLogger)iagileLogger_0;
     this.interface35_0      = interface35_1;
     this.string_0           = string_4;
     this.string_1           = string_5;
     this.ulong_0            = ulong_4;
     if (cbFileTransCompleted_1 == null)
     {
         cbFileTransCompleted_1 = new CbFileTransCompleted(FileSender.smethod_0);
     }
     this.FileTransCompleted += cbFileTransCompleted_1;
     if (cbFileTransDisruptted_1 == null)
     {
         cbFileTransDisruptted_1 = new CbFileTransDisruptted(FileSender.smethod_1);
     }
     this.FileTransDisruptted += cbFileTransDisruptted_1;
     if (cbFileSendedProgress_1 == null)
     {
         cbFileSendedProgress_1 = new CbFileSendedProgress(FileSender.smethod_2);
     }
     this.FileTransProgress += cbFileSendedProgress_1;
 }