상속: System.TimeZone
예제 #1
0
파일: TimeZones.cs 프로젝트: ayende/Subtext
 /// <summary>
 /// Determines whether a specfic WindowsTimeZone value is in this WindowsTimeZoneCollection.
 /// </summary>
 /// <param name="value">
 /// The WindowsTimeZone value to locate in this WindowsTimeZoneCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this WindowsTimeZoneCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(WindowsTimeZone value)
 {
     return this.List.Contains(value);
 }
예제 #2
0
파일: TimeZones.cs 프로젝트: ayende/Subtext
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this WindowsTimeZoneCollection
 /// </summary>
 /// <param name="value">
 /// The WindowsTimeZone value to locate in the WindowsTimeZoneCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(WindowsTimeZone value)
 {
     return this.List.IndexOf(value);
 }
예제 #3
0
파일: TimeZones.cs 프로젝트: ayende/Subtext
 /// <summary>
 /// Adds an instance of type WindowsTimeZone to the end of this WindowsTimeZoneCollection.
 /// </summary>
 /// <param name="value">
 /// The WindowsTimeZone to be added to the end of this WindowsTimeZoneCollection.
 /// </param>
 public virtual void Add(WindowsTimeZone value)
 {
     this.List.Add(value);
 }