Click or drag to resize
ContactManagementContext Methods

The ContactManagementContext type exposes the following members.

Methods
  NameDescription
Public methodClearCurrent
Clears the current context value
(Inherited from ContextContainer<TParent>.)
Public methodCloneForNewThread
Clones the object for new thread
(Inherited from AbstractContext<TContext>.)
Public methodCombineWith
Combines current instance with other properties (modifies current instace!). List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer<ParentObjectType>.)
Public methodEnsureCurrent (Inherited from ContextContainer<TParent>.)
Public methodStatic memberGetCurrentContact(Boolean)
Returns current contact. Tries to find contact in persistent storage, obtains it from the users or tries to recognize it according to known information. If no contact can be found and createAnonymous is true (default), it creates a new anonymous contact. If Online marketing is not enabled or there is no license for ContactManagement found, null is returned. Also, null is returned if request is made by crawler (googlebot, etc.). Currently authenticated user is used to find contacts.
Public methodStatic memberGetCurrentContact(CurrentUserInfo, Boolean)
Returns current contact. Tries to find contact in persistent storage, obtains it from the users or tries to recognize it according to known information. If no contact can be found, it creates a new anonymous contact. If Online marketing is not enabled or there is no license for ContactManagement found, null is returned. Also, null is returned if request is made by crawler (googlebot, etc.).
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodRegisterColumn(String, Func<TObject, Object>)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterColumn(String, Func<TObject, Object>, Func<TObject, Object, Object>)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterProperties
Registers the properties of this object
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodRegisterProperty(String, Func<TObject, Object>)
Registers the given property to the object
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodRegisterProperty(String, Object, Func<TObject, Object, Object>)
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodSetAsCurrent
Sets the current instance as the current thread item
(Inherited from ContextContainer<TParent>.)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Public methodTryGetProperty(String, Object)
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodTryGetProperty(String, Object, Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Top
See Also