App Class

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

Base class for all apps.

[Guid("18DC8D71-C353-471D-8BCE-1D5C538B237D")]
public class App : Expando, IExpando, IDynamicMetaObjectProvider, IEnumerable>, IEnumerable, IApp, IExtension, ISpaceEntity, ISortable, ITrashable, IEntity, ICloneable, IValidatableObject
Inheritance:
System.Object → ExpandoApp
Attributes:
System.Runtime.InteropServices.GuidAttribute
Implements:
IExpando, IApp, IExtension, ISpaceEntity, ISortable, ITrashable, IEntity

Constructors

App() Initializes a new instance of the App class.

Properties

AppGuid Gets the guid of the underlying app type.
CreatedAt Gets or sets the time the entity was created.
CreatedById Gets or sets the id of the User that created the entity.
Id Gets the entity id.
ModifiedAt Gets or sets the time (UTC) the entity was last modified.
ModifiedById Gets or sets the id of the User that last updated the entity.
Name Gets or sets the name of the app.
SortOrder Gets or sets the sort order.
SpaceId Gets the space id.
Timestamp Gets the timestamp.
TrashedAt Gets or sets the time (UTC) the entity was trashed.
TrashedById Gets or sets the id of the User that trashed the entity.
Type Gets the entity type.

Methods

Clone() Create a deep copy of the current object.
GetExcerpt(Boolean) Gets an excerpt or summary suitable for display in lists and search results. Subclasses can override this method to supply their own implementation.
GetIcon() Get the icon for the app. Subclasses can override this method to supply their own implementation.
GetTitle() Gets a title suitable for display in lists and search results. Subclasses can override this method to supply their own implementation.
Validate(ValidationContext) Performs custom validation. Subclasses can override this method to add their own validation.

Extension Methods

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