Partager via


SequenceContainer Generic Class

Contains a Sequence. A SequenceContainer wraps a Sequence, providing a mutable version of Sequence.

Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
[DefaultMemberAttribute("Item")] 
public class SequenceContainer<T> : IList<T>, ICollection<T>, 
    IEnumerable<T>, IEnumerable

GenericParameters

  • T

Remarks

Sequence containers provide most operations of Sequence values and are a wrapper for those. They do not directly provide LINQ expressions, because transforming a container would result in a new object reference that would lead to a different state. To transform the content of a container using a LINQ query, use Transform, which works on the value it contains.

Inheritance Hierarchy

System.Object
  Microsoft.Modeling.SequenceContainer

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

SequenceContainer Members
Microsoft.Modeling Namespace
T.Microsoft.Modeling.Sequence