a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
128 lines
6.0 KiB
XML
128 lines
6.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="Stack<T>+Enumerator" FullName="System.Collections.Generic.Stack<T>+Enumerator">
|
|
<TypeSignature Language="C#" Value="public struct Stack<T>.Enumerator : System.Collections.Generic.IEnumerator<T>" />
|
|
<TypeSignature Language="ILAsm" Value=".class nested public sequential ansi serializable sealed beforefieldinit Stack`1/Enumerator<T> extends System.ValueType implements class System.Collections.Generic.IEnumerator`1<!T>, class System.Collections.IEnumerator, class System.IDisposable" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System</AssemblyName>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<TypeParameters>
|
|
<TypeParameter Name="T" />
|
|
</TypeParameters>
|
|
<Base>
|
|
<BaseTypeName>System.ValueType</BaseTypeName>
|
|
</Base>
|
|
<Interfaces>
|
|
<Interface>
|
|
<InterfaceName>System.Collections.Generic.IEnumerator<T></InterfaceName>
|
|
</Interface>
|
|
</Interfaces>
|
|
<Docs>
|
|
<since version=".NET 2.0" />
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>
|
|
<see cref="T:System.Collections.Generic.Stack`1" /> is implemented as an array.</para>
|
|
<para>The capacity of a <see cref="T:System.Collections.Generic.Stack`1" /> is the number of elements the <see cref="T:System.Collections.Generic.Stack`1" /> can hold. As elements are added to a <see cref="T:System.Collections.Generic.Stack`1" />, the capacity is automatically increased as required by reallocating the internal array. The capacity can be decreased by calling <see cref="M:System.Collections.Generic.Stack`1.TrimExcess" />.</para>
|
|
<para>If <see cref="P:System.Collections.Generic.Stack`1.Count" /> is less than the capacity of the stack, <see cref="M:System.Collections.Generic.Stack`1.Push(`0)" /> is an O(1) operation. If the capacity needs to be increased to accommodate the new element, <see cref="M:System.Collections.Generic.Stack`1.Push(`0)" /> becomes an O(<paramref name="n" />) operation, where <paramref name="n" /> is <see cref="P:System.Collections.Generic.Stack`1.Count" />. <see cref="M:System.Collections.Generic.Stack`1.Pop" /> is an O(1) operation.</para>
|
|
<para>
|
|
<see cref="T:System.Collections.Generic.Stack`1" /> accepts null as a valid value for reference types and allows duplicate elements.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Represents a variable size last-in-first-out (LIFO) collection of instances of the same arbitrary type.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="Current">
|
|
<MemberSignature Language="C#" Value="public T Current { get; }" />
|
|
<MemberSignature Language="ILAsm" Value=".property instance !T Current" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>T</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>To be added.</summary>
|
|
<value>To be added.</value>
|
|
<remarks>To be added.</remarks>
|
|
<since version=".NET 2.0" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Dispose">
|
|
<MemberSignature Language="C#" Value="public void Dispose ();" />
|
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>To be added.</summary>
|
|
<remarks>To be added.</remarks>
|
|
<since version=".NET 2.0" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="MoveNext">
|
|
<MemberSignature Language="C#" Value="public bool MoveNext ();" />
|
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool MoveNext() cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>To be added.</summary>
|
|
<returns>To be added.</returns>
|
|
<remarks>To be added.</remarks>
|
|
<since version=".NET 2.0" />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="System.Collections.IEnumerator.Current">
|
|
<MemberSignature Language="C#" Value="object System.Collections.IEnumerator.Current { get; }" />
|
|
<MemberSignature Language="ILAsm" Value=".property instance object System.Collections.IEnumerator.Current" />
|
|
<MemberType>Property</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Object</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>To be added.</summary>
|
|
<value>To be added.</value>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="System.Collections.IEnumerator.Reset">
|
|
<MemberSignature Language="C#" Value="void IEnumerator.Reset ();" />
|
|
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.IEnumerator.Reset() cil managed" />
|
|
<MemberType>Method</MemberType>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>To be added.</summary>
|
|
<remarks>To be added.</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |