Click or drag to resize

ApplicationMapLink Class

Represents a link shown in the application sub menu of the header waffle.
Inheritance Hierarchy

Namespace:  Packflow.Modeling
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public class ApplicationMapLink : ModelingObject

The ApplicationMapLink type exposes the following members.

Constructors
  NameDescription
Public methodApplicationMapLink
Initializes a new instance of the ApplicationMapLink class.
Top
Properties
  NameDescription
Public propertyContentTypeId
Gets or sets the id of the related content-type. Relevant for the following types: View, FormNew.
Public propertyContextsRestriction
Gets or sets the list of context names giving access to this link. Leave this list empty to disable this restriction.
Public propertyDescription
Gets or sets the link description.
Public propertyDescriptionRes
Gets or sets the resource containing translations for the Description property.
Public propertyGuid
Gets the GUID identifying this object.
(Inherited from ModelingObject.)
Public propertyIconCode
Gets or sets the font-awesome CSS class of the icon representing this activity.

E.g to use this icon (http://fontawesome.io/icon/tasks/) set "tasks" or "fa-tasks".

Public propertyId
Gets the id identifying this object.
(Inherited from ModelingObject.)
Public propertyInstanceGuid
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.)
Public propertyInstanceLanguage
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.)
Public propertyIsExtended
Gets a value indicating whether this object is Extended or not, allowing to avoid an "is" verification.
(Inherited from ModelingObject.)
Public propertyModel
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.)
Public propertyName
Gets the name of this object.
(Inherited from ModelingObject.)
Public propertyParent
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyParentType
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyRestrictToContextAdmins
Gets or sets a value indicating whether the context restriction (ContextsRestriction property) requires users to be context administrators to see this link.
Public propertyText
Gets or sets the link caption.
Public propertyTextRes
Gets or sets the resource containing translations for the Text property.
Public propertyType
Gets or sets the type.
Public propertyUrl
Gets or sets the link URL.

Note this URL will contain different things depending on the Type:

-Absolute: obvious.

-Relative: obvious.

-View: nothing.

-CustomPage: the name of the custom page (with or without the aspx extension).

-FormNew: nothing.

-Navigation: nothing.

Public propertyViewId
Gets or sets the id of the related view. Relevant for the following type: View.
Top
Methods
  NameDescription
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetIconCode
Gets the icon code. If not set, returns the default one for this link type.
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also