Exemple #1
0
 /// <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 CertificationViewModel class.
 /// </summary>
 public CertificationViewModel(int?privateSiteId = default(int?), Guid?id = default(Guid?), string title = default(string), VisibilityViewModel certificationVisibility = default(VisibilityViewModel))
 {
     PrivateSiteId           = privateSiteId;
     Id                      = id;
     Title                   = title;
     CertificationVisibility = certificationVisibility;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the AwardRecognitionViewModel class.
 /// </summary>
 public AwardRecognitionViewModel(string title, DateTime dateEarned, int?privateSiteId = default(int?), string description = default(string), string referenceUrl = default(string), VisibilityViewModel awardRecognitionVisibility = default(VisibilityViewModel))
 {
     PrivateSiteId = privateSiteId;
     Title         = title;
     Description   = description;
     DateEarned    = dateEarned;
     ReferenceUrl  = referenceUrl;
     AwardRecognitionVisibility = awardRecognitionVisibility;
 }
Exemple #4
0
 /// <summary>
 /// Initializes a new instance of the ContributionsModel class.
 /// </summary>
 public ContributionsModel(int?contributionId = default(int?), string contributionTypeName = default(string), ContributionTypeModel contributionType = default(ContributionTypeModel), ContributionTechnologyModel contributionTechnology = default(ContributionTechnologyModel), DateTime?startDate = default(DateTime?), string title = default(string), string referenceUrl = default(string), VisibilityViewModel visibility = default(VisibilityViewModel), int?annualQuantity = default(int?), int?secondAnnualQuantity = default(int?), int?annualReach = default(int?), string description = default(string))
 {
     ContributionId         = contributionId;
     ContributionTypeName   = contributionTypeName;
     ContributionType       = contributionType;
     ContributionTechnology = contributionTechnology;
     StartDate            = startDate;
     Title                = title;
     ReferenceUrl         = referenceUrl;
     Visibility           = visibility;
     AnnualQuantity       = annualQuantity;
     SecondAnnualQuantity = secondAnnualQuantity;
     AnnualReach          = annualReach;
     Description          = description;
 }
Exemple #5
0
 /// <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;
 }