public AtomEntry(string title, AtomLink link, string id, DateTime issued, DateTime modified) { this.Title = title; this.Link = link; this.Id = id; this.IssuedUtc = issued; this.ModifiedUtc = modified; }
/// <summary> /// Inserts an element into the AtomLinkCollection at the specified index /// </summary> /// <param name="index"> /// The index at which the AtomLink is to be inserted. /// </param> /// <param name="value"> /// The AtomLink to insert. /// </param> public virtual void Insert(int index, AtomLink value) { this.List.Insert(index, value); }
/// <summary> /// Removes the first occurrence of a specific AtomLink from this AtomLinkCollection. /// </summary> /// <param name="value"> /// The AtomLink value to remove from this AtomLinkCollection. /// </param> public virtual void Remove(AtomLink value) { this.List.Remove(value); }
/// <summary> /// Determines whether a specfic AtomLink value is in this AtomLinkCollection. /// </summary> /// <param name="value"> /// The AtomLink value to locate in this AtomLinkCollection. /// </param> /// <returns> /// true if value is found in this AtomLinkCollection; /// false otherwise. /// </returns> public virtual bool Contains(AtomLink value) { return(this.List.Contains(value)); }
/// <summary> /// Return the zero-based index of the first occurrence of a specific value /// in this AtomLinkCollection /// </summary> /// <param name="value"> /// The AtomLink value to locate in the AtomLinkCollection. /// </param> /// <returns> /// The zero-based index of the first occurrence of the _ELEMENT value if found; /// -1 otherwise. /// </returns> public virtual int IndexOf(AtomLink value) { return(this.List.IndexOf(value)); }
/// <summary> /// Adds an instance of type AtomLink to the end of this AtomLinkCollection. /// </summary> /// <param name="value"> /// The AtomLink to be added to the end of this AtomLinkCollection. /// </param> public virtual void Add(AtomLink value) { this.List.Add(value); }
/// <summary> /// Return the zero-based index of the first occurrence of a specific value /// in this AtomLinkCollection /// </summary> /// <param name="value"> /// The AtomLink value to locate in the AtomLinkCollection. /// </param> /// <returns> /// The zero-based index of the first occurrence of the _ELEMENT value if found; /// -1 otherwise. /// </returns> public virtual int IndexOf(AtomLink value) { return this.List.IndexOf(value); }
/// <summary> /// Determines whether a specfic AtomLink value is in this AtomLinkCollection. /// </summary> /// <param name="value"> /// The AtomLink value to locate in this AtomLinkCollection. /// </param> /// <returns> /// true if value is found in this AtomLinkCollection; /// false otherwise. /// </returns> public virtual bool Contains(AtomLink value) { return this.List.Contains(value); }
/// <summary> /// Adds the elements of an array to the end of this AtomLinkCollection. /// </summary> /// <param name="participants"> /// The array whose elements are to be added to the end of this AtomLinkCollection. /// </param> public virtual void AddRange(AtomLink[] participants) { foreach (AtomLink participant in participants) { this.List.Add(participant); } }
/// <summary> /// Initializes a new instance of the AtomLinkCollection class, containing elements /// copied from an array. /// </summary> /// <param name="participants"> /// The array whose elements are to be added to the new AtomLinkCollection. /// </param> public AtomLinkCollection(AtomLink[] participants) { this.AddRange(participants); }