Exemplo n.º 1
0
        internal NotificationUtility(DateTime eventTime, string registrationId, string subscriptionURN, ActionType action, RegistrationType registration, Header header)
            : base(string.Empty, string.Empty, header, string.Empty)
        {
            this._eventTime = eventTime;
            this._registrationId = registrationId;
            this._subscriptionURN = subscriptionURN;
            this._action = action;
            this._registration = registration;

            this._registrationNotificationFlag = true;
        }
 public ResultType()
 {
     this.contentConstraintField = new List<ContentConstraintReferenceType>();
     this.registrationField = new RegistrationType();
 }
 public RegistrationStatusType()
 {
     this.statusMessageField = new StatusMessageType();
     this.registrationField = new RegistrationType();
 }
 public RegistrationRequestType(RegistrationType registration, ActionType action)
 {
     this.registrationField = registration;
     this.actionField = action;
 }
 public RegistrationEventType()
 {
     this.registrationField = new RegistrationType();
 }
Exemplo n.º 6
0
        public static List<ArtefactInfo> Get_Notification(SDMXSchemaType schemaType, DateTime eventTime, string registrationId, string subscriptionURN, ActionType action, RegistrationType registration, Header header)
        {
            List<ArtefactInfo> RetVal;
            NotificationUtility NotificationUtility;

            RetVal = null;
            NotificationUtility = null;

            try
            {
                NotificationUtility = new NotificationUtility(eventTime, registrationId, subscriptionURN, action, registration, header);
                RetVal = NotificationUtility.Generate_Artefact();
            }
            catch (Exception ex)
            {
                RetVal = null;
                throw ex;
            }
            finally
            {
            }

            return RetVal;
        }