UIController Class

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

Controller for misc ui components.

public class UIController : WeavyController
Inheritance:
System.Object → WeavyControllerUIController

Constructors

UIController()

Methods

AttachContentOptions(Int32, Guid) Gets html markup for options in select list for inserting/attaching content to a parent item.
CronDescription(String) Converts cron syntax into a human readable string.
DismissMessage(String) Dismiss message for the current user.
InsertImage(Nullable, String, String, IEnumerable, Boolean, Boolean) Insert/Edit image dialog for our rich text editor.
InsertLink(Query, String, Nullable, IEnumerable, String) Search with the given query options.
MoveContentOptions(Int32, Int32) Gets html markup for options in select list for moving a content item to a new parent.
RemoveMessage(String) Removes a message for the current user.
TinyMceSkin(String)

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.