Tag Class

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

A class representing a tag.

public class Tag
Inheritance:
System.Object → Tag

Constructors

Tag()

Properties

Count Gets the tag count.
Name Gets the name of the tag.
Opacity Gets the opacity of the tag.
Size Gets the font size of the tag.
Tagged Gets the tagged entity.
TaggedAt Gets the time the entity was tagged.
TaggedById Gets the id of the user that tagged the entity.
Weight Gets the relative weight of this tag.

Methods

ToString() Returns the name of the tag.

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, Formatting?, 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.