Esempio n. 1
0
        /// <summary>
        /// Creates a new instance of NetkoItem.
        /// Highly recommended to use Netko's factory methods instead.
        /// </summary>
        public NetkoItem(Netko netko, int groupId, NetkoRequestInfo requestInfo)
        {
            GroupId      = groupId;
            EventInfo    = new NetkoEvent(this);
            RequestInfo  = new NetkoRequest(requestInfo);
            ResponseInfo = new NetkoResponse(this);

            Initialize();

            // Register the item to Netko updater.
            netko.RegisterItem(this);
        }
Esempio n. 2
0
 public NetkoRequest(NetkoRequestInfo requestInfo)
 {
     this.requestInfo = requestInfo;
 }