コード例 #1
0
        //private String SENDER_ID = "";//notificationDescriptor.getProperty(INotification.SENDER_ID);
	
	    public NotificationService() 
            //: base(SENDER_ID)
        {
		    applicationDescriptor = resourceManager.GetApplicationDescriptor();
		    notificationDescriptor = applicationDescriptor.GetNotificationDescriptor();
        }
コード例 #2
0
        /// <summary>
        /// Set application descriptor
        /// </summary>
        /// <param name="applicationDescriptor">Application Descriptor</param>
	    public void SetApplicationDescriptor(ApplicationDescriptor applicationDescriptor) 
        {
		    this.applicationDescriptor = applicationDescriptor;
	    }
コード例 #3
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();
		    }
	    }