LogEntry Class
- Namespace:
- Weavy.Core.Models
- Assembly:
- Weavy.Core.dll
Describes an entry in the system event log, e.g. a user posts something in the stream, edits a wiki article, joins a space etc.
public class LogEntry : ICloneable
- Inheritance:
- System.Object → LogEntry
Constructors
Log |
Initializes a new instance of the LogEntry class. |
Log |
Initializes a new instance of the LogEntry class with the specified action. |
Log |
Initializes a new instance of the LogEntry class with the specified type and object reference. |
Log |
Initializes a new instance of the LogEntry class with the specified type, object and context reference. |
Properties
Action | Gets or sets the action that occured. |
Actor | Gets the User that performed the action. |
Actor |
Gets or sets the id of the User that performed the action. |
Context | Gets or sets a reference to the context of the action. |
Created |
Gets or sets the time (UTC) the LogEntry occured. |
Html | Gets or sets the entry text as html. |
Id | Gets the id of the event. |
Subject | Gets or sets a reference to the subject of the action. |
Text | Gets or sets the entry text. |
Methods
Clone() | Creates a new object that is a copy of the current instance. |
Extension Methods
Is |
Gets a value indicating if the specified value has the default value of the generic type. |
Serialize(object) | Serializes an object, or graph of connected objects, to a byte array. |
Serialize |
Serializes an object, or graph of connected objects, to a json string. |
Is |
Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type. |