StatisticsEntry Class

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

Describes an entry in the Stats table, i.e. the number of spaces, users, apps etc. at a given time.

public class StatisticsEntry
Inheritance:
System.Object → StatisticsEntry

Constructors

StatisticsEntry() Initializes a new instance of the StatisticsEntry class.

Properties

AppCount Gets or sets the number of apps.
BlobCount Gets or sets the number of blobs.
BlobSize Gets or sets the total size (in bytes) of all blobs.
CommentCount Gets or ses the number of comments.
ContentCount Gets or sets the number of content items.
CreatedAt Gets or sets the time (UTC) the StatisticsEntry was created.
DatabaseSize Gets or sets the total size (in bytes) of the database.
Id Gets the id of the entry.
IndexCount Gets or sets the number of documents in the full text index.
IndexSize Gets or sets the total size (in bytes) of the fulltext index.
LikeCount Gets or sets the number of likes.
MessageCount Gets or sets the number of private message.
PostCount Gets or sets the number of posts.
SpaceCount Gets or sets the number of spaces.
StarCount Gets or sets the number of stars.
TagCount Gets or sets the number of tags.
UserCount Gets or sets the number of (active) users.

Extension Methods

IsNullOrDefault(T) 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.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.