//private String SENDER_ID = "";//notificationDescriptor.getProperty(INotification.SENDER_ID); public NotificationService() //: base(SENDER_ID) { applicationDescriptor = resourceManager.GetApplicationDescriptor(); notificationDescriptor = applicationDescriptor.GetNotificationDescriptor(); }
/// <summary> /// Set application descriptor /// </summary> /// <param name="applicationDescriptor">Application Descriptor</param> public void SetApplicationDescriptor(ApplicationDescriptor applicationDescriptor) { this.applicationDescriptor = applicationDescriptor; }
public override void StartElement(XmlReader reader, IDictionary<String, String> attributes) { String localName = reader.Name; tempValue = new StringBuilder(); if(localName.Equals(Core.Constants.APPLICATION_DESCRIPTOR_SIMINOV, StringComparison.OrdinalIgnoreCase)) { applicationDescriptor = new ApplicationDescriptor(); } else if(localName.Equals(Core.Constants.APPLICATION_DESCRIPTOR_PROPERTY, StringComparison.OrdinalIgnoreCase)) { InitializeProperty(attributes); } else if(localName.Equals(Constants.NOTIFICATION_DESCRIPTOR, StringComparison.OrdinalIgnoreCase)) { isNotificationDescriptor = true; notificationDescriptor = new NotificationDescriptor(); } }