Link Class

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

A content type representing a link to (external) content.

[Guid("F1EB7D53-4219-485C-8970-CCE683F3232C")]
[Content(Icon = "link-variant", Color = "blue", Name = "Link", Description = "A link.", SingularName = "a link", PluralName = "links", CreateVerb = "Save", ModifyVerb = "Save", Parents = new Type[]{typeof(FilesApp), typeof(Folder)}, CreateMode = UpsertMode.Modal, ModifyMode = UpsertMode.Modal)]
public class Link : Content, IExpando, IDynamicMetaObjectProvider, IEnumerable>, IEnumerable, IContent, IExtension, IAppEntity, ISpaceEntity, ITrashable, IValidatableObject, IStarrable, IEntity, ICloneable
Inheritance:
System.Object → ExpandoContentLink
Attributes:
System.Runtime.InteropServices.GuidAttribute, ContentAttribute
Implements:
IExpando, IContent, IExtension, IAppEntity, ISpaceEntity, ITrashable, IStarrable, IEntity

Constructors

Link()

Properties

StarredByIds Gets the ids of the users that have starred the item.
Uri Gets or sets the uri of the linked resource.

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
MetaData(Content) Gets meta data for the specified content item.
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.
FAB(Content) Returns a FAB with links for adding child content.