Пример #1
0
        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();
            }
        }
Пример #2
0
        //private String SENDER_ID = "";//notificationDescriptor.getProperty(INotification.SENDER_ID);

        public NotificationService()
        //: base(SENDER_ID)
        {
            applicationDescriptor  = resourceManager.GetApplicationDescriptor();
            notificationDescriptor = applicationDescriptor.GetNotificationDescriptor();
        }