Exemple #1
0
 private void PublishModificationOfAuditingEvents(
     AuditDatabaseDecoratedContainer auditDatabaseDecoratedContainer,
     int insertedId)
 {
     if (this.notificationPublisherManager == null)
     {
         this.notificationPublisherManager = PublisherClient.get_Instance();
     }
     this.notificationPublisherManager.Publish((INotification) new Notification("System.InstanceCreated", (IDictionary <string, object>)IndicationHelper.GetIndicationProperties(), (IDictionary <string, object>) new Dictionary <string, object>()
     {
         {
             "ActionType",
             (object)((object)auditDatabaseDecoratedContainer.get_ActionType()).ToString()
         },
         {
             "AuditEventId",
             (object)insertedId
         },
         {
             "InstanceType",
             (object)"Orion.AuditingEvents"
         },
         {
             "OriginalAccountId",
             (object)auditDatabaseDecoratedContainer.AccountId
         }
     }));
 }
Exemple #2
0
 public ThresholdIndicator()
     : this((IInformationServiceProxyFactory) new InformationServiceProxyFactory(), PublisherClient.get_Instance())
 {
 }
 public TechnologyPollingIndicator()
     : this((IInformationServiceProxyFactory) new InformationServiceProxyFactory(), PublisherClient.get_Instance())
 {
 }