Exemple #1
0
 public GBaseParse()
 {
     this.feedParserEventHandler =
         new FeedParserEventHandler(this.OnParsedNewEventEntry);
     this.extensionElementEventHandler =
         new ExtensionElementEventHandler(this.OnNewEventExtensionElement);
 }
 public GBaseParse()
 {
     this.feedParserEventHandler =
         new FeedParserEventHandler(this.OnParsedNewEventEntry);
     this.extensionElementEventHandler =
         new ExtensionElementEventHandler(this.OnNewEventExtensionElement);
 }
        /////////////////////////////////////////////////////////////////////////////


        //////////////////////////////////////////////////////////////////////
        /// <summary>default constructor</summary>
        /// <param name="uriBase">the location the feed was loaded from</param>
        /// <param name="service">the service used to create this feed</param>
        //////////////////////////////////////////////////////////////////////
        public AtomFeed(Uri uriBase, IService service) : base()
        {
            Tracing.TraceCall("Constructing AtomFeed");
            if (uriBase != null)
            {
                this.ImpliedBase = new AtomUri(uriBase.AbsoluteUri);
            }
            this.Service         = service;
            NewExtensionElement += new ExtensionElementEventHandler(this.OnNewExtensionsElement);
        }
Exemple #4
0
 /// <summary>
 /// Constructor, set's up extension handlers
 /// </summary>
 /// <param name="uriBase">The uri for this cells feed.</param>
 /// <param name="iService">The Spreadsheets service.</param>
 public AbstractFeed(Uri uriBase, IService iService) : base(uriBase, iService)
 {
     NewAtomEntry += new FeedParserEventHandler(this.OnParsedNewAbstractEntry);
     NewExtensionElement += new ExtensionElementEventHandler(this.OnNewExtensionsElement);
 }