C# 클래스 Thinktecture.Tools.Web.Services.ServiceDescription.MessageHeadersCollection

상속: IMessageHeaderList, IList, ICloneable
파일 보기 프로젝트 열기: WSCF/WSCF 1 사용 예제들

공개 메소드들

메소드 설명
Add ( MessageHeader value ) : int

Adds a MessageHeader to the end of the MessageHeadersCollection.

Please refer to ArrayList.Add for details.

AddRange ( MessageHeader array ) : void

Adds the elements of a MessageHeader array to the end of the MessageHeadersCollection.

Please refer to ArrayList.AddRange for details.

AddRange ( MessageHeadersCollection collection ) : void

Adds the elements of another collection to the end of the MessageHeadersCollection.

Please refer to ArrayList.AddRange for details.

BinarySearch ( MessageHeader value ) : int

Searches the entire sorted MessageHeadersCollection for an MessageHeader element using the default comparer and returns the zero-based index of the element.

Please refer to ArrayList.BinarySearch for details.

Clear ( ) : void

Removes all elements from the MessageHeadersCollection.

Please refer to ArrayList.Clear for details.

Clone ( ) : object

Creates a shallow copy of the MessageHeadersCollection.

Please refer to ArrayList.Clone for details.

Contains ( MessageHeader value ) : bool

Determines whether the MessageHeadersCollection contains the specified MessageHeader element.

Please refer to ArrayList.Contains for details.

CopyTo ( MessageHeader array ) : void

Copies the entire MessageHeadersCollection to a one-dimensional Array of MessageHeader elements, starting at the beginning of the target array.

Please refer to ArrayList.CopyTo for details.

CopyTo ( MessageHeader array, int arrayIndex ) : void

Copies the entire MessageHeadersCollection to a one-dimensional Array of MessageHeader elements, starting at the specified index of the target array.

Please refer to ArrayList.CopyTo for details.

GetEnumerator ( ) : IMessageHeaderEnumerator

Returns an IMessageHeaderEnumerator that can iterate through the MessageHeadersCollection.

Please refer to ArrayList.GetEnumerator for details.

IndexOf ( MessageHeader value ) : int

Returns the zero-based index of the first occurrence of the specified MessageHeader in the MessageHeadersCollection.

Please refer to ArrayList.IndexOf for details.

Insert ( int index, MessageHeader value ) : void

Inserts a MessageHeader element into the MessageHeadersCollection at the specified index.

Please refer to ArrayList.Insert for details.

MessageHeadersCollection ( ) : System

Initializes a new instance of the MessageHeadersCollection class that is empty and has the default initial capacity.

Please refer to ArrayList() for details.

MessageHeadersCollection ( MessageHeader array ) : System

Initializes a new instance of the MessageHeadersCollection class that contains elements copied from the specified MessageHeader array and that has the same initial capacity as the number of elements copied.

Please refer to ArrayList(ICollection) for details.

MessageHeadersCollection ( MessageHeadersCollection collection ) : System

Initializes a new instance of the MessageHeadersCollection class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied.

Please refer to ArrayList(ICollection) for details.

MessageHeadersCollection ( int capacity ) : System

Initializes a new instance of the MessageHeadersCollection class that is empty and has the specified initial capacity.

Please refer to ArrayList(Int32) for details.

ReadOnly ( MessageHeadersCollection collection ) : MessageHeadersCollection

Returns a read-only wrapper for the specified MessageHeadersCollection.

Please refer to ArrayList.ReadOnly for details.

Remove ( MessageHeader value ) : void

Removes the first occurrence of the specified MessageHeader from the MessageHeadersCollection.

Please refer to ArrayList.Remove for details.

RemoveAt ( int index ) : void

Removes the element at the specified index of the MessageHeadersCollection.

Please refer to ArrayList.RemoveAt for details.

RemoveRange ( int index, int count ) : void

Removes the specified range of elements from the MessageHeadersCollection.

Please refer to ArrayList.RemoveRange for details.

Reverse ( ) : void

Reverses the order of the elements in the entire MessageHeadersCollection.

Please refer to ArrayList.Reverse for details.

Reverse ( int index, int count ) : void

Reverses the order of the elements in the specified range.

Please refer to ArrayList.Reverse for details.

Sort ( ) : void

Sorts the elements in the entire MessageHeadersCollection using the IComparable implementation of each element.

Please refer to ArrayList.Sort for details.

Sort ( IComparer comparer ) : void

Sorts the elements in the entire MessageHeadersCollection using the specified IComparer interface.

Please refer to ArrayList.Sort for details.

Sort ( int index, int count, IComparer comparer ) : void

Sorts the elements in the specified range using the specified IComparer interface.

Please refer to ArrayList.Sort for details.

Synchronized ( MessageHeadersCollection collection ) : MessageHeadersCollection

Returns a synchronized (thread-safe) wrapper for the specified MessageHeadersCollection.

Please refer to ArrayList.Synchronized for details.

ToArray ( ) : Thinktecture.Tools.Web.Services.ServiceDescription.MessageHeader[]

Copies the elements of the MessageHeadersCollection to a new Array of MessageHeader elements.

Please refer to ArrayList.ToArray for details.

TrimToSize ( ) : void

Sets the capacity to the actual number of elements in the MessageHeadersCollection.

Please refer to ArrayList.TrimToSize for details.

Unique ( MessageHeadersCollection collection ) : MessageHeadersCollection

Returns a wrapper for the specified MessageHeadersCollection ensuring that all elements are unique.

The Unique wrapper provides a set-like collection by ensuring that all elements in the MessageHeadersCollection are unique.

Unique raises an ArgumentException if the specified collection contains any duplicate elements. The returned wrapper raises a NotSupportedException whenever the user attempts to add an element that is already contained in the MessageHeaders.

Note: The Unique wrapper reflects any changes made to the underlying collection, including the possible creation of duplicate elements. The uniqueness of all elements is therefore no longer assured if the underlying collection is manipulated directly.

this ( int index ) : MessageHeader

Gets or sets the MessageHeader element at the specified index.

Please refer to ArrayList.this for details.

비공개 메소드들

메소드 설명
CheckEnumIndex ( int index ) : void
CheckEnumVersion ( int version ) : void
CheckTargetArray ( Array array, int arrayIndex ) : void
EnsureCapacity ( int minimum ) : void
ICollection ( Array array, int arrayIndex ) : void

Copies the entire MessageHeadersCollection to a one-dimensional Array, starting at the specified index of the target array.

Please refer to ArrayList.CopyTo for details.

IEnumerable ( ) : IEnumerator

Returns an IEnumerator that can iterate through the MessageHeadersCollection.

Please refer to ArrayList.GetEnumerator for details.

IList ( object value ) : bool

Determines whether the MessageHeadersCollection contains the specified element.

Please refer to ArrayList.Contains for details.

IList ( object value ) : int

Adds an Object to the end of the MessageHeadersCollection.

Please refer to ArrayList.Add for details.

IList ( int index, object value ) : void

Inserts an element into the MessageHeadersCollection at the specified index.

Please refer to ArrayList.Insert for details.

IList ( object value ) : void

Removes the first occurrence of the specified Object from the MessageHeadersCollection.

Please refer to ArrayList.Remove for details.

MessageHeadersCollection ( Tag tag ) : System
ValidateIndex ( int index ) : void
this ( int index ) : objectIList.System

Gets or sets the element at the specified index.

Please refer to ArrayList.this for details.

메소드 상세

Add() 공개 메소드

Adds a MessageHeader to the end of the MessageHeadersCollection.
Please refer to ArrayList.Add for details.
/// The is read-only. /// -or- /// The MessageHeaders has a fixed size. /// -or- /// The MessageHeaders already contains the specified /// , and the MessageHeaders /// ensures that all elements are unique.
public Add ( MessageHeader value ) : int
value MessageHeader The object /// to be added to the end of the . /// This argument can be a null reference. ///
리턴 int

AddRange() 공개 메소드

Adds the elements of a MessageHeader array to the end of the MessageHeadersCollection.
Please refer to ArrayList.AddRange for details.
/// is a null reference. /// The is read-only. /// -or- /// The MessageHeaders has a fixed size. /// -or- /// The MessageHeaders already contains one or more elements /// in the specified , and the MessageHeaders /// ensures that all elements are unique.
public AddRange ( MessageHeader array ) : void
array MessageHeader An of elements /// that should be added to the end of the .
리턴 void

AddRange() 공개 메소드

Adds the elements of another collection to the end of the MessageHeadersCollection.
Please refer to ArrayList.AddRange for details.
/// is a null reference. /// The is read-only. /// -or- /// The MessageHeaders has a fixed size. /// -or- /// The MessageHeaders already contains one or more elements /// in the specified , and the MessageHeaders /// ensures that all elements are unique.
public AddRange ( MessageHeadersCollection collection ) : void
collection MessageHeadersCollection The whose elements /// should be added to the end of the current collection.
리턴 void

BinarySearch() 공개 메소드

Searches the entire sorted MessageHeadersCollection for an MessageHeader element using the default comparer and returns the zero-based index of the element.
Please refer to ArrayList.BinarySearch for details.
/// Neither nor the elements of the /// implement the interface.
public BinarySearch ( MessageHeader value ) : int
value MessageHeader The object /// to locate in the . /// This argument can be a null reference. ///
리턴 int

Clear() 공개 메소드

Removes all elements from the MessageHeadersCollection.
Please refer to ArrayList.Clear for details.
/// The is read-only. /// -or- /// The MessageHeaders has a fixed size.
public Clear ( ) : void
리턴 void

Clone() 공개 메소드

Creates a shallow copy of the MessageHeadersCollection.
Please refer to ArrayList.Clone for details.
public Clone ( ) : object
리턴 object

Contains() 공개 메소드

Determines whether the MessageHeadersCollection contains the specified MessageHeader element.
Please refer to ArrayList.Contains for details.
public Contains ( MessageHeader value ) : bool
value MessageHeader The object /// to locate in the . /// This argument can be a null reference. ///
리턴 bool

CopyTo() 공개 메소드

Copies the entire MessageHeadersCollection to a one-dimensional Array of MessageHeader elements, starting at the beginning of the target array.
Please refer to ArrayList.CopyTo for details.
/// is a null reference. /// The number of elements in the source is greater /// than the available space in the destination .
public CopyTo ( MessageHeader array ) : void
array MessageHeader The one-dimensional that is the destination of the /// elements copied from the . /// The Array must have zero-based indexing.
리턴 void

CopyTo() 공개 메소드

Copies the entire MessageHeadersCollection to a one-dimensional Array of MessageHeader elements, starting at the specified index of the target array.
Please refer to ArrayList.CopyTo for details.
/// is a null reference. /// is less than zero. /// is equal to or greater than the length of . /// -or- /// The number of elements in the source is greater than the /// available space from to the end of the destination /// .
public CopyTo ( MessageHeader array, int arrayIndex ) : void
array MessageHeader The one-dimensional that is the destination of the /// elements copied from the . /// The Array must have zero-based indexing.
arrayIndex int The zero-based index in /// at which copying begins.
리턴 void

GetEnumerator() 공개 메소드

Returns an IMessageHeaderEnumerator that can iterate through the MessageHeadersCollection.
Please refer to ArrayList.GetEnumerator for details.
public GetEnumerator ( ) : IMessageHeaderEnumerator
리턴 IMessageHeaderEnumerator

IndexOf() 공개 메소드

Returns the zero-based index of the first occurrence of the specified MessageHeader in the MessageHeadersCollection.
Please refer to ArrayList.IndexOf for details.
public IndexOf ( MessageHeader value ) : int
value MessageHeader The object /// to locate in the . /// This argument can be a null reference. ///
리턴 int

Insert() 공개 메소드

Inserts a MessageHeader element into the MessageHeadersCollection at the specified index.
Please refer to ArrayList.Insert for details.
/// is less than zero. /// -or- /// is greater than . /// /// The is read-only. /// -or- /// The MessageHeaders has a fixed size. /// -or- /// The MessageHeaders already contains the specified /// , and the MessageHeaders /// ensures that all elements are unique.
public Insert ( int index, MessageHeader value ) : void
index int The zero-based index at which /// should be inserted.
value MessageHeader The object /// to insert into the . /// This argument can be a null reference. ///
리턴 void

MessageHeadersCollection() 공개 메소드

Initializes a new instance of the MessageHeadersCollection class that is empty and has the default initial capacity.
Please refer to ArrayList() for details.
public MessageHeadersCollection ( ) : System
리턴 System

MessageHeadersCollection() 공개 메소드

Initializes a new instance of the MessageHeadersCollection class that contains elements copied from the specified MessageHeader array and that has the same initial capacity as the number of elements copied.
Please refer to ArrayList(ICollection) for details.
/// is a null reference.
public MessageHeadersCollection ( MessageHeader array ) : System
array MessageHeader An of /// elements that are copied to the new collection.
리턴 System

MessageHeadersCollection() 공개 메소드

Initializes a new instance of the MessageHeadersCollection class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied.
Please refer to ArrayList(ICollection) for details.
/// is a null reference.
public MessageHeadersCollection ( MessageHeadersCollection collection ) : System
collection MessageHeadersCollection The /// whose elements are copied to the new collection.
리턴 System

MessageHeadersCollection() 공개 메소드

Initializes a new instance of the MessageHeadersCollection class that is empty and has the specified initial capacity.
Please refer to ArrayList(Int32) for details.
/// is less than zero.
public MessageHeadersCollection ( int capacity ) : System
capacity int The number of elements that the new /// is initially capable of storing.
리턴 System

ReadOnly() 공개 정적인 메소드

Returns a read-only wrapper for the specified MessageHeadersCollection.
Please refer to ArrayList.ReadOnly for details.
/// is a null reference.
public static ReadOnly ( MessageHeadersCollection collection ) : MessageHeadersCollection
collection MessageHeadersCollection The to wrap.
리턴 MessageHeadersCollection

Remove() 공개 메소드

Removes the first occurrence of the specified MessageHeader from the MessageHeadersCollection.
Please refer to ArrayList.Remove for details.
/// The is read-only. /// -or- /// The MessageHeaders has a fixed size.
public Remove ( MessageHeader value ) : void
value MessageHeader The object /// to remove from the . /// This argument can be a null reference. ///
리턴 void

RemoveAt() 공개 메소드

Removes the element at the specified index of the MessageHeadersCollection.
Please refer to ArrayList.RemoveAt for details.
/// is less than zero. /// -or- /// is equal to or greater than . /// /// The is read-only. /// -or- /// The MessageHeaders has a fixed size.
public RemoveAt ( int index ) : void
index int The zero-based index of the element to remove.
리턴 void

RemoveRange() 공개 메소드

Removes the specified range of elements from the MessageHeadersCollection.
Please refer to ArrayList.RemoveRange for details.
/// and do not denote a /// valid range of elements in the . /// is less than zero. /// -or- /// is less than zero. /// /// The is read-only. /// -or- /// The MessageHeaders has a fixed size.
public RemoveRange ( int index, int count ) : void
index int The zero-based starting index of the range /// of elements to remove.
count int The number of elements to remove.
리턴 void

Reverse() 공개 메소드

Reverses the order of the elements in the entire MessageHeadersCollection.
Please refer to ArrayList.Reverse for details.
/// The is read-only.
public Reverse ( ) : void
리턴 void

Reverse() 공개 메소드

Reverses the order of the elements in the specified range.
Please refer to ArrayList.Reverse for details.
/// and do not denote a /// valid range of elements in the . /// is less than zero. /// -or- /// is less than zero. /// /// The is read-only.
public Reverse ( int index, int count ) : void
index int The zero-based starting index of the range /// of elements to reverse.
count int The number of elements to reverse.
리턴 void

Sort() 공개 메소드

Sorts the elements in the entire MessageHeadersCollection using the IComparable implementation of each element.
Please refer to ArrayList.Sort for details.
/// The is read-only.
public Sort ( ) : void
리턴 void

Sort() 공개 메소드

Sorts the elements in the entire MessageHeadersCollection using the specified IComparer interface.
Please refer to ArrayList.Sort for details.
/// The is read-only.
public Sort ( IComparer comparer ) : void
comparer IComparer /// The implementation to use when comparing elements. /// -or- /// A null reference to use the implementation /// of each element.
리턴 void

Sort() 공개 메소드

Sorts the elements in the specified range using the specified IComparer interface.
Please refer to ArrayList.Sort for details.
/// and do not denote a /// valid range of elements in the . /// is less than zero. /// -or- /// is less than zero. /// /// The is read-only.
public Sort ( int index, int count, IComparer comparer ) : void
index int The zero-based starting index of the range /// of elements to sort.
count int The number of elements to sort.
comparer IComparer /// The implementation to use when comparing elements. /// -or- /// A null reference to use the implementation /// of each element.
리턴 void

Synchronized() 공개 정적인 메소드

Returns a synchronized (thread-safe) wrapper for the specified MessageHeadersCollection.
Please refer to ArrayList.Synchronized for details.
/// is a null reference.
public static Synchronized ( MessageHeadersCollection collection ) : MessageHeadersCollection
collection MessageHeadersCollection The to synchronize.
리턴 MessageHeadersCollection

ToArray() 공개 메소드

Copies the elements of the MessageHeadersCollection to a new Array of MessageHeader elements.
Please refer to ArrayList.ToArray for details.
public ToArray ( ) : Thinktecture.Tools.Web.Services.ServiceDescription.MessageHeader[]
리턴 Thinktecture.Tools.Web.Services.ServiceDescription.MessageHeader[]

TrimToSize() 공개 메소드

Sets the capacity to the actual number of elements in the MessageHeadersCollection.
Please refer to ArrayList.TrimToSize for details.
/// The is read-only. /// -or- /// The MessageHeaders has a fixed size.
public TrimToSize ( ) : void
리턴 void

Unique() 공개 정적인 메소드

Returns a wrapper for the specified MessageHeadersCollection ensuring that all elements are unique.

The Unique wrapper provides a set-like collection by ensuring that all elements in the MessageHeadersCollection are unique.

Unique raises an ArgumentException if the specified collection contains any duplicate elements. The returned wrapper raises a NotSupportedException whenever the user attempts to add an element that is already contained in the MessageHeaders.

Note: The Unique wrapper reflects any changes made to the underlying collection, including the possible creation of duplicate elements. The uniqueness of all elements is therefore no longer assured if the underlying collection is manipulated directly.

/// contains duplicate elements. /// is a null reference.
public static Unique ( MessageHeadersCollection collection ) : MessageHeadersCollection
collection MessageHeadersCollection The to wrap.
리턴 MessageHeadersCollection

this() 공개 메소드

Gets or sets the MessageHeader element at the specified index.
Please refer to ArrayList.this for details.
/// is less than zero. /// -or- /// is equal to or greater than . /// /// The property is set and the is read-only. /// -or- /// The property is set, the MessageHeaders already contains the /// specified element at a different index, and the MessageHeaders /// ensures that all elements are unique.
public this ( int index ) : MessageHeader
index int The zero-based index of the /// element to get or set.
리턴 MessageHeader