ActivityStory is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class ActivityStory : ApiEntity, IActivityStory, IApiEntity, IAuditable { ActivityStory(); ActivityStory(ActivityStory story); ActivityStory(AdditionalInfo additionalInfo); ActivityStory(IActivityStoryService storyService, IContentService contentService, IUserService userService, IMapper<ActivityStoryActor,ActivityStoryActor> activityStoryActorMapper, ActivityStory coreStory, AdditionalInfo info); string ActivityUrl { get; } IList<ActivityStoryActor> Actors { get; set; } Content Content { get; } Guid? ContentId { get; set; } Guid? ContentTypeId { get; set; } string ContentUrl { get; set; } DateTime CreatedDate { get; set; } IList<Error> Errors { get; } IList<IExtendedAttribute> ExtendedAttributes { get; set; } DateTime LastUpdate { get; set; } User PrimaryUpdateUser { get; } User PrimaryUser { get; } Guid StoryId { get; set; } Guid StoryTypeId { get; set; } Guid? TypeId { get; set; } string Url { get; } IList<Warning> Warnings { get; } bool HasErrors(); bool HasWarnings(); bool HasWarningsOrErrors(); string PreviewHtml(); string PreviewHtml(string target); void ThrowErrors(); string UpdateHtml(string target); string ViewHtml(); string ViewHtml(string target); }
Constructors
ActivityStory();
ActivityStory(ActivityStory story);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| story | ActivityStory | Story | Required |
ActivityStory(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
ActivityStory(IActivityStoryService storyService, IContentService contentService, IUserService userService, IMapper<ActivityStoryActor,ActivityStoryActor> activityStoryActorMapper, ActivityStory coreStory, AdditionalInfo info);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| storyService | IActivityStoryService | Story Service | Required | ||
| contentService | IContentService | Content Service | Required | ||
| userService | IUserService | User Service | Required | ||
| activityStoryActorMapper | IMapper<ActivityStoryActor,ActivityStoryActor> | Activity Story Actor Mapper | Required | ||
| coreStory | ActivityStory | Core Story | Required | ||
| info | AdditionalInfo | Info | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ActivityUrl | string | |||
| Actors | IList<ActivityStoryActor> | |||
| Content | Content | |||
| ContentId | Guid? | |||
| ContentTypeId | Guid? | |||
| ContentUrl | string | |||
| CreatedDate | DateTime | |||
| Errors | IList<Error> | |||
| ExtendedAttributes | IList<IExtendedAttribute> | |||
| LastUpdate | DateTime | |||
| PrimaryUpdateUser | User | |||
| PrimaryUser | User | |||
| StoryId | Guid | |||
| StoryTypeId | Guid | |||
| TypeId | Guid? | |||
| Url | string | |||
| Warnings | IList<Warning> |
Methods
bool HasErrors();
Return Type
bool HasWarnings();
Return Type
bool HasWarningsOrErrors();
Return Type
string PreviewHtml();
Return Type
string PreviewHtml(string target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | string | Target | Required |
Return Type
void ThrowErrors();
string UpdateHtml(string target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | string | Target | Required |
Return Type
string ViewHtml();
Return Type
string ViewHtml(string target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | string | Target | Required |