コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the ActivityView class.
 /// </summary>
 public ActivityView(string activityHandle, DateTime createdTime, ActivityType activityType, IList <UserCompactView> actorUsers, int totalActions, bool unread, UserCompactView actedOnUser = default(UserCompactView), ContentCompactView actedOnContent = default(ContentCompactView), AppCompactView app = default(AppCompactView))
 {
     ActivityHandle = activityHandle;
     CreatedTime    = createdTime;
     ActivityType   = activityType;
     ActorUsers     = actorUsers;
     ActedOnUser    = actedOnUser;
     ActedOnContent = actedOnContent;
     TotalActions   = totalActions;
     Unread         = unread;
     App            = app;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the TopicView class.
 /// </summary>
 public TopicView(string topicHandle, DateTime createdTime, DateTime lastUpdatedTime, PublisherType publisherType, string text, long totalLikes, long totalComments, bool liked, UserCompactView user = default(UserCompactView), string title = default(string), BlobType?blobType = default(BlobType?), string blobHandle = default(string), string blobUrl = default(string), string categories = default(string), string language = default(string), string group = default(string), string deepLink = default(string), string friendlyName = default(string), bool?pinned = default(bool?), ContentStatus?contentStatus = default(ContentStatus?), AppCompactView app = default(AppCompactView))
 {
     TopicHandle     = topicHandle;
     CreatedTime     = createdTime;
     LastUpdatedTime = lastUpdatedTime;
     PublisherType   = publisherType;
     User            = user;
     Title           = title;
     Text            = text;
     BlobType        = blobType;
     BlobHandle      = blobHandle;
     BlobUrl         = blobUrl;
     Categories      = categories;
     Language        = language;
     Group           = group;
     DeepLink        = deepLink;
     FriendlyName    = friendlyName;
     TotalLikes      = totalLikes;
     TotalComments   = totalComments;
     Liked           = liked;
     Pinned          = pinned;
     ContentStatus   = contentStatus;
     App             = app;
 }