Exemple #1
0
 public Crowdaction(string name, CrowdactionStatus status, string?ownerId, int target, DateTime start, DateTime end, string description, string goal, string proposal, string?creatorComments, string?descriptionVideoLink, ICollection <CrowdactionCategory> categories, ICollection <CrowdactionTag> tags, CrowdactionDisplayPriority displayPriority = CrowdactionDisplayPriority.Medium, int?bannerImageFileId = null, int?descriptiveImageFileId = null, int?cardImageFileId = null, int anonymousUserParticipants = 0)
 {
     Name                      = name;
     Status                    = status;
     OwnerId                   = ownerId;
     Target                    = target;
     Start                     = start;
     End                       = end;
     Description               = description;
     Goal                      = goal;
     Proposal                  = proposal;
     CreatorComments           = creatorComments;
     DescriptionVideoLink      = descriptionVideoLink;
     DisplayPriority           = displayPriority;
     BannerImageFileId         = bannerImageFileId;
     CardImageFileId           = cardImageFileId;
     DescriptiveImageFileId    = descriptiveImageFileId;
     Categories                = categories;
     Tags                      = tags;
     AnonymousUserParticipants = anonymousUserParticipants;
 }
 public NewCrowdactionInternal(string name, int target, string proposal, string description, string goal, string?creatorComments, DateTime start, DateTime end, int?cardImageFileId, int?bannerImageFileId, int?descriptiveImageFileId, string?descriptionVideoLink, IEnumerable <Category> categories, IEnumerable <string> tags, CrowdactionDisplayPriority displayPriority, CrowdactionStatus status, int anonymousUserParticipants, string?ownerId)
 {
     Name                      = name;
     Target                    = target;
     Proposal                  = proposal;
     Description               = description;
     Goal                      = goal;
     CreatorComments           = creatorComments;
     Start                     = start;
     End                       = end;
     CardImageFileId           = cardImageFileId;
     BannerImageFileId         = bannerImageFileId;
     DescriptiveImageFileId    = descriptiveImageFileId;
     DescriptionVideoLink      = descriptionVideoLink;
     Categories                = categories;
     Tags                      = tags;
     DisplayPriority           = displayPriority;
     Status                    = status;
     AnonymousUserParticipants = anonymousUserParticipants;
     OwnerId                   = ownerId;
 }
Exemple #3
0
 public Crowdaction(string name, CrowdactionStatus status, string?ownerId, int target, DateTime start, DateTime end, string description, string goal, string proposal, string?creatorComments, string?descriptionVideoLink, CrowdactionDisplayPriority displayPriority = CrowdactionDisplayPriority.Medium, int?bannerImageFileId = null, int?descriptiveImageFileId = null, int?cardImageFileId = null, int anonymousUserParticipants = 0) : this(name, status, ownerId, target, start, end, description, goal, proposal, creatorComments, descriptionVideoLink, new List <CrowdactionCategory>(), new List <CrowdactionTag>(), displayPriority, bannerImageFileId, descriptiveImageFileId, cardImageFileId, anonymousUserParticipants)
 {
 }