コード例 #1
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 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;
 }
コード例 #2
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <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);
 }
コード例 #3
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <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);
 }
コード例 #4
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <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));
 }
コード例 #5
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <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));
 }
コード例 #6
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		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;
		}
コード例 #7
0
ファイル: Atom10.cs プロジェクト: vnextcoder/dasblog-core
 /// <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);
 }
コード例 #8
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
		}
コード例 #9
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
		}
コード例 #10
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
		}
コード例 #11
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
		}
コード例 #12
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
		}
コード例 #13
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
			}
		}
コード例 #14
0
ファイル: Atom10.cs プロジェクト: plntxt/dasblog
		/// <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);
		}