RestHashTracker/MamrRestHashTrackerModule.cs
/// <summary>
/// Initializes the module. Called when the application starts.
/// </summary>
Initializes the module. Called when the application starts.
Initializes the module . Called when the application starts .
protected override void OnInit()
    {
        base.OnInit();
        HashInfo.TYPEINFO.Events.Insert.Before += HashGenerateSecureUrl;
        HashInfo.TYPEINFO.Events.Update.Before += HashGenerateSecureUrl;
        UniGridTransformations.Global.RegisterTransformation("#getresthashtrackerlink", GetRestHashTrackerLink);
        UniGridTransformations.Global.RegisterTransformation("#getresthashtrackertype", GetRestHashTrackerType);
    }
protected override void OnInit ( ) { base . OnInit ( ) ; HashInfo . TYPEINFO . Events . Insert . Before += HashGenerateSecureUrl ; HashInfo . TYPEINFO . Events . Update . Before += HashGenerateSecureUrl ; UniGridTransformations . Global . RegisterTransformation ( " " , GetRestHashTrackerLink ) ; UniGridTransformations . Global . RegisterTransformation ( " " , GetRestHashTrackerType ) ; }
Initializes the module.
Initializes the module .
//Events for the HashInfo object.  This is how we handle generating the read only URL on insert and update. //Couple of custom transformations for the unigrid used in the list view of the REST Hash Tracker module.