| 1 |
<Type Name="Action<T>" FullName="System.Action<T>"> |
| 2 |
<TypeSignature Language="C#" Value="public delegate void Action<T>(T obj);" /> |
| 3 |
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed Action`1<T> extends System.MulticastDelegate" /> |
| 4 |
<AssemblyInfo> |
| 5 |
<AssemblyName>DocTest</AssemblyName> |
| 6 |
<AssemblyVersion>0.0.0.0</AssemblyVersion> |
| 7 |
</AssemblyInfo> |
| 8 |
<TypeParameters> |
| 9 |
<TypeParameter Name="T" /> |
| 10 |
</TypeParameters> |
| 11 |
<Base> |
| 12 |
<BaseTypeName>System.Delegate</BaseTypeName> |
| 13 |
</Base> |
| 14 |
<Parameters> |
| 15 |
<Parameter Name="obj" Type="T" /> |
| 16 |
</Parameters> |
| 17 |
<ReturnValue> |
| 18 |
<ReturnType>System.Void</ReturnType> |
| 19 |
</ReturnValue> |
| 20 |
<Docs> |
| 21 |
<typeparam name="T">To be added.</typeparam> |
| 22 |
<param name="obj">The object on which to perform an action.</param> |
| 23 |
<summary> |
| 24 |
<para> Represents the method that performs an action on the specified object.</para> |
| 25 |
</summary> |
| 26 |
<remarks> |
| 27 |
<block subset="none" type="note"> |
| 28 |
<para>This delegate is used by the method <see cref="M:System.Array.ForEach" /> |
| 29 |
<see langword="(T[], Action<T>)" />, and in <see cref="T:System.Collections.Generic.List<T>" /> to perform an action on each element of the collection.</para> |
| 30 |
</block> |
| 31 |
</remarks> |
| 32 |
</Docs> |
| 33 |
</Type> |