Esempio n. 1
0
 public void Update(BBSubscriptionProperties theProperties)
 {
     IOLine      = theProperties.IOLine;
     HighSubject = theProperties.HighSubject;
     HighValue   = theProperties.HighValue;
     LowSubject  = theProperties.LowSubject;
     LowValue    = theProperties.LowValue;
 }
        public void Add(string theEventId, string theGuid, BBSubscriptionProperties theProperties)
        {
            theProperties.IOLine = m_Line;

            var NewSubscription = new BBSubscription
            {
                EventConsumer = (m_Line != null) ? new BBEventConsumer(theProperties) : null,
                Guid          = theGuid,
                Id            = theEventId
            };

            NewSubscription.Update(theProperties);
            Subscriptions.Add(NewSubscription);
        }
 public void Add(string theEventId, BBSubscriptionProperties theProperties)
 {
     Add(theEventId, System.Guid.NewGuid().ToString(), theProperties);
 }
 public BBEventConsumer(BBSubscriptionProperties theProperties)
 {
     m_Properties = theProperties;
 }