示例#1
0
 static TaskStatusCount()
 {
     TaskStatusCount.OnePending = new TaskStatusCount()
     {
         Pending = 1
     };
     TaskStatusCount.OneDownloading = new TaskStatusCount()
     {
         Downloading = 1
     };
     TaskStatusCount.OneComplete = new TaskStatusCount()
     {
         Complete = 1
     };
 }
示例#2
0
 static TaskStatusCount()
 {
     TaskStatusCount.OnePending = new TaskStatusCount()
     {
         Pending = 1
     };
     TaskStatusCount.OneDownloading = new TaskStatusCount()
     {
         Downloading = 1
     };
     TaskStatusCount.OneComplete = new TaskStatusCount()
     {
         Complete = 1
     };
 }
示例#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;
        }