示例#1
0
 /// <summary>
 /// Provides a deterministic way to create the AuditLogViewModel property.
 /// </summary>
 public static void CreateAuditLogViewModel()
 {
     if (_AuditLogViewModel == null)
     {
         _AuditLogViewModel = new AuditLogViewModel();
     }
 }
示例#2
0
 /// <summary>
 /// Provides a deterministic way to delete the AuditLogViewModel property.
 /// </summary>
 public static void ClearAuditLogViewModel()
 {
     _AuditLogViewModel.Cleanup();
     _AuditLogViewModel = null;
 }