Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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));
 }
Exemplo n.º 5
0
 /// <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));
 }
Exemplo n.º 6
0
		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;
		}
Exemplo n.º 7
0
 /// <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);
 }
Exemplo n.º 8
0
		/// <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);
		}
Exemplo n.º 9
0
		/// <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);
		}
Exemplo n.º 10
0
		/// <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);
		}
Exemplo n.º 11
0
		/// <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);
		}
Exemplo n.º 12
0
		/// <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);
		}
Exemplo n.º 13
0
		/// <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);
			}
		}
Exemplo n.º 14
0
		/// <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);
		}