Exemplo n.º 1
0
 static TaskStatusCount()
 {
     TaskStatusCount.OnePending = new TaskStatusCount()
     {
         Pending = 1
     };
     TaskStatusCount.OneDownloading = new TaskStatusCount()
     {
         Downloading = 1
     };
     TaskStatusCount.OneComplete = new TaskStatusCount()
     {
         Complete = 1
     };
 }
Exemplo n.º 2
0
 static TaskStatusCount()
 {
     TaskStatusCount.OnePending = new TaskStatusCount()
     {
         Pending = 1
     };
     TaskStatusCount.OneDownloading = new TaskStatusCount()
     {
         Downloading = 1
     };
     TaskStatusCount.OneComplete = new TaskStatusCount()
     {
         Complete = 1
     };
 }
Exemplo n.º 3
0
        static TaskStatusCount()
        {
            TaskStatusCount count = new TaskStatusCount {
                Pending = 1
            };

            OnePending = count;
            TaskStatusCount count2 = new TaskStatusCount {
                Downloading = 1
            };

            OneDownloading = count2;
            TaskStatusCount count3 = new TaskStatusCount {
                Complete = 1
            };

            OneComplete = count3;
        }