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