ExternalLinkController Class

Namespace:
Weavy.Web.Controllers
Assembly:
Weavy.Web.dll

Controller for serving external links.

public class ExternalLinkController : WeavyController
Inheritance:
System.Object → WeavyControllerExternalLinkController

Constructors

ExternalLinkController()

Methods

GetLink(Guid) Serves the entity referenced by the external link.
RevokeLink(Guid) Revoke the specified external link.
ViewLink(int) Display modal with external link to the specified file.

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.