Public Methods

  Name Description
Public method AuthenticateUser Overloaded. Authenticates the current user and populates/creates the UserContext object
Public method Clone Clones this object and returns a new AppContext object.
Public method Close Closes the application's internal datasources and clean's up any user token state that exists
Public method Static CreateInstance Creates a new instance of the object and initializes the application.
Public method Static Current Static method for getting the IAppContext object for the current session.
Public method Dispose Close the database connection(s)
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method Exec The Exec method for extended functionality -- full version.
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetPageInfo Get the PageInfo object for the specified MOP.
Public method GetPermaLink Returns a permanant link to an item by inserting the QueryString parameters supplied into the main database's xot_url table.
Public method GetResourceString Returns the string for the given resource for this application's culture
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method HasPermission Returns true if the specified object "has" the permission. If the object has no assigned permisions, the return value is true.
Public method HasPolicy Overloaded. Returns true if the current user has been granted the policy.
Public method Hibernate Command the AppContext object to hibernate until next round trip. To wake an AppContext up from hibernation, use Init().
Public method Init Init the AppContext object.
Public method Load Loads the pages, navigators, ... from the metadata.
Public method Navigate Overloaded. Causes a Redirect to the specified page.
Public method OpenRepository Opens the initial database(s) specified by the connection strings
Public method Permissions Returns a bitmask of the object's permissions. If the object has no assigned permissions, the return value is 0xffffffff (All permission bits are set)
Public method RegisterDebugInfo Overloaded. Register a dbginfo item on the page.
Public method RegisterEmbeddedFunction Overloaded. Registers an embedded function for use in SQL statments. The function name should NOT include the leading lowercase 'fn' associated with embedded functions.
Public method ResolveEmbeddedFunctions Resolve an expression string for embedded functions.
Public method SetUserTimeZone Sets the users timezone information
Public method ToString Returns a String that represents the current Object. (inherited from Object)
Public method WakeUp Initialize the AppContext object.
Top

Protected Methods

  Name Description
Family method DetermineApplication Determine which application to load. Called only when no application is explicitly specified before Load.
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method LoadVersions Load the versions collection
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Family method Static SetCurrentContext Used by derived classes not running within ASP.NET. This sets a static variable to use as the result of the static AppContext.Current method.
Top

See Also