This project is read-only.

Using the Author-it Plugin Utilities

In your plugin project, add a reference to the AuthoritPluginUtility.dll file.

To get an instance of the Authorit.API.ApplicationContext for your plugin, use the AuthoritExtensibility.AuthoritEventArgs instance passed to your plugin with the PluginUtility.GetAppContext method. In the example below, myArgs is the instance of AuthoritExtensiblity.AuthoritEventArgs for the plugin.

Authorit.API.ApplicationContext myAppContext = Authorit.API.Configuration.PluginUtility.GetAppContext(myArgs);

The GetAppContext method determines whether the current library is a SQL Server or Jet library and returns the appropriate library configuration information.

Last edited Mar 25, 2013 at 9:59 PM by aitray, version 4


No comments yet.