Global MembersA Sandcastle Documented Class Library

The Global type exposes the following members.
Constructors

  NameDescription
Private methodStatic memberGlobal
Public methodGlobal
Initializes a new instance of the Global class
Back to Top
Methods

  NameDescription
Private methodApplication_End
Private methodApplication_Error
Standard application error method, handles logging the error and sending out administrator email notifications.
Private methodApplication_Start
Private methodAppLogLogout
Helper method used to log the end of the session.
Public methodCheckUrl
This method is used to enforce the force https software trigger. Relies on forcehttps entry in settings.xml or Web.config app settings section.
Public methodStatic memberDataTableToJson
Converts a datatable to a JSON. Web config settings protect against overloading this feature with too much data.
Public methodGetAppString
Helper method that returns the requested string.
Public methodGetColumnInfo
Simplified helper method that gets the column info data from the database.
Public methodGetCoreTables
Simplified helper method that gets the core tables from the database.
Public methodGetCoreTablesActive
Simplified helper method that gets the active core tables from the database.
Public methodGetSecretKey
Returns a reference to the secret key.
Public methodGetServiceReference
Returns a reference to the service client.
Public methodStatic memberHasPerm
Returns true if the user has the current perm enabled.
Public methodLoadFilters
Loads a set of open filters from the given comma separated string.
Public methodLog
Generic logging shortcut call, for quick debug dumps.
Public methodPrep
Application prep method loads all setings from Web.config app settings or from settings.xml. Sets up debugging output streams if necessary.
Public methodStatic memberSafeAdd
Safely adds an object to the application cache.
Public methodSendErrorEmail
Used to send administrator notification emails. Requires adminemail, and senderroremail tags in settings.xml or the Web.config app settings section.
Private methodSession_End
Private methodSession_Start
Public methodSetBanner
Utility method for setting the current banner on the site before it is automatically determined based on GET request or the Session.
Back to Top
Fields

  NameDescription
Public fieldStatic memberBANNER_INDEX_KEY
Holds a commonly used key reference to access the banner index.
Public fieldStatic membercApp
Self reference for access to internal centralized methods.
Public fieldStatic memberdataViews
Dictionary lookup for data views.
Public fieldStatic memberdebugOn
Controls the logging behavior of the application.
Public fieldStatic memberDEFAULT_ICON
Holds the default icon name.
Public fieldStatic memberFILTER_MANAGER_KEY
Holds a commonly used key reference to access the filter manager.
Public fieldStatic memberlastError
Reference to store last Exception from certain specific methods. Currently application prep uses this method.
Public fieldStatic memberMAX_BULK_EXP_ROWS_DEFAULT
Default bulk export rows, string form.
Public fieldStatic memberMAX_BULK_EXP_ROWS_DEFAULT_INT
Default bulk export rows, int form.
Public fieldStatic memberMAX_EXP_ROWS_DEFAULT
Default maximum export rows value.
Public fieldStatic memberMAX_JSON_COLS_DEFAULT
Default maximum JSON conversion cols, string form.
Public fieldStatic memberMAX_JSON_COLS_DEFAULT_INT
Default maximum JSON conversion cols, int form.
Public fieldStatic memberMAX_JSON_ROWS_DEFAULT
Default maximum JSON conversion rows, string form.
Public fieldStatic memberMAX_JSON_ROWS_DEFAULT_INT
Default maximum JSON conversion rows, int form.
Public fieldStatic memberMAX_ROW_RETURN_DEFAULT
Default maximum row return value.
Public fieldStatic memberMAX_ROW_RETURN_DEFAULT_INT
Default maximum row return value.
Public fieldStatic memberMAX_TOOL_ROWS_DEFAULT
Default maximum complex tool rows, string form.
Public fieldStatic memberMAX_TOOL_ROWS_DEFAULT_INT
Default maximum complex tool rows, int form.
Public fieldStatic memberREPORT_CLIPBOARD_KEY
Holds a commonly used key reference to access the report clipboard.
Public fieldStatic memberSTATISTIC_CLIPBOARD_KEY
Holds a commonly used key reference to access the statistic clipboard.
Public fieldStatic memberstrings
Dictionary lookup for string storage.
Public fieldStatic membersw
Stream writer reference used for filesystem debugging, output streams.
Back to Top
See Also