/// <summary> /// Initializes a new instance of the ActivityViewModel class. /// </summary> public ActivityViewModel(ActivityTypeViewModel activityType, ActivityTechnologyViewModel applicableTechnology, DateTime dateOfActivity, string titleOfActivity, int?privateSiteId = default(int?), string dateOfActivityFormatted = default(string), DateTime?endDate = default(DateTime?), string endDateFormatted = default(string), string referenceUrl = default(string), VisibilityViewModel activityVisibility = default(VisibilityViewModel), int?annualQuantity = default(int?), int?secondAnnualQuantity = default(int?), int?annualReach = default(int?), string description = default(string), OnlineIdentityViewModel onlineIdentity = default(OnlineIdentityViewModel), SocialNetworkViewModel socialNetwork = default(SocialNetworkViewModel), string allAnswersUrl = default(string), string allPostsUrl = default(string), bool?isSystemCollected = default(bool?), bool?isBelongToLatestAwardCycle = default(bool?), string displayMode = default(string), IList <int?> chartColumnIndexes = default(IList <int?>), string descriptionSummaryFormat = default(string), string dataTableTitle = default(string), string subtitleHeader = default(string), bool?isAllowEdit = default(bool?), bool?isAllowDelete = default(bool?), bool?isFromBookmarklet = default(bool?), bool?submitted = default(bool?)) { PrivateSiteId = privateSiteId; ActivityType = activityType; ApplicableTechnology = applicableTechnology; DateOfActivity = dateOfActivity; DateOfActivityFormatted = dateOfActivityFormatted; EndDate = endDate; EndDateFormatted = endDateFormatted; TitleOfActivity = titleOfActivity; ReferenceUrl = referenceUrl; ActivityVisibility = activityVisibility; AnnualQuantity = annualQuantity; SecondAnnualQuantity = secondAnnualQuantity; AnnualReach = annualReach; Description = description; OnlineIdentity = onlineIdentity; SocialNetwork = socialNetwork; AllAnswersUrl = allAnswersUrl; AllPostsUrl = allPostsUrl; IsSystemCollected = isSystemCollected; IsBelongToLatestAwardCycle = isBelongToLatestAwardCycle; DisplayMode = displayMode; ChartColumnIndexes = chartColumnIndexes; DescriptionSummaryFormat = descriptionSummaryFormat; DataTableTitle = dataTableTitle; SubtitleHeader = subtitleHeader; IsAllowEdit = isAllowEdit; IsAllowDelete = isAllowDelete; IsFromBookmarklet = isFromBookmarklet; Submitted = submitted; }
/// <summary> /// Initializes a new instance of the OnlineIdentityViewModel class. /// </summary> public OnlineIdentityViewModel(SocialNetworkViewModel socialNetwork, string url, int?privateSiteId = default(int?), VisibilityViewModel onlineIdentityVisibility = default(VisibilityViewModel), bool?contributionCollected = default(bool?), string displayName = default(string), string userId = default(string), string microsoftAccount = default(string), bool?privacyConsentStatus = default(bool?), bool?privacyConsentCheckStatus = default(bool?), DateTime?privacyConsentCheckDate = default(DateTime?), DateTime?privacyConsentUnCheckDate = default(DateTime?), bool?submitted = default(bool?)) { PrivateSiteId = privateSiteId; SocialNetwork = socialNetwork; Url = url; OnlineIdentityVisibility = onlineIdentityVisibility; ContributionCollected = contributionCollected; DisplayName = displayName; UserId = userId; MicrosoftAccount = microsoftAccount; PrivacyConsentStatus = privacyConsentStatus; PrivacyConsentCheckStatus = privacyConsentCheckStatus; PrivacyConsentCheckDate = privacyConsentCheckDate; PrivacyConsentUnCheckDate = privacyConsentUnCheckDate; Submitted = submitted; }