ListHelper Class
Namespace: PTS
Assembly: PTSframework.dll
Provides a set of static methods for IList
type.
Syntax
public static class ListHelper
Inheritance
System.Object
ListHelper
Methods
ToReadOnly<TValue>(IList<TValue>)
Converts the list to readonly collection.
Declaration
public static ReadOnlyCollection<TValue> ToReadOnly<TValue>(this IList<TValue> list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<TValue> | list | Read only collection of |
Returns
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<TValue> |
Type Parameters
Name | Description |
---|---|
TValue | List item type. |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()