CloudLink Class

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

A link to a file stored in the cloud.

[Guid("4C11EB4C-80C1-42E2-8972-BF967AD48289")]
[Content(Icon = "cloud", Color = "light-blue", Name = "Cloud file", Description = "A link to a file stored in the cloud.", SingularName = "a cloud file", PluralName = "Cloud files", CreateVerb = "Save", ModifyVerb = "Save", Parents = new Type[]{typeof(FilesApp), typeof(Folder)}, CreateMode = UpsertMode.None, ModifyMode = UpsertMode.Modal)]
public class CloudLink : Link, IExpando, IDynamicMetaObjectProvider, IEnumerable>, IEnumerable, IContent, IExtension, IAppEntity, ISpaceEntity, ITrashable, IValidatableObject, IStarrable, IEntity, ICloneable
Inheritance:
System.Object → ExpandoContentLinkCloudLink
Attributes:
System.Runtime.InteropServices.GuidAttribute, ContentAttribute
Implements:
IExpando, IContent, IExtension, IAppEntity, ISpaceEntity, ITrashable, IStarrable, IEntity

Constructors

CloudLink()

Properties

Embedded Gets a value indicating whether the link should be embedded or not.
Kind Gets or sets the provider document kind.
Provider Gets or sets the provider of the link.

Methods

GetIcon() Gets the the icon to use.
GetKind() Gets the kind of content this link points to.

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.