-
Notifications
You must be signed in to change notification settings - Fork 6
/
OptionAction`2.xml
60 lines (60 loc) · 2.17 KB
/
OptionAction`2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Type Name="OptionAction<TKey,TValue>" FullName="NDesk.Options.OptionAction<TKey,TValue>">
<TypeSignature Language="C#" Value="public delegate void OptionAction<TKey,TValue>(TKey key, TValue value);" />
<AssemblyInfo>
<AssemblyName>NDesk.Options</AssemblyName>
<AssemblyVersion>0.2.0.0</AssemblyVersion>
<AssemblyVersion>0.2.1.0</AssemblyVersion>
</AssemblyInfo>
<TypeParameters>
<TypeParameter>TKey</TypeParameter>
<TypeParameter>TValue</TypeParameter>
</TypeParameters>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="key" Type="TKey" />
<Parameter Name="value" Type="TValue" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<typeparam name="TKey">The first parameter type.</typeparam>
<typeparam name="TValue">The second parameter type.</typeparam>
<param name="key">A value of type <typeparamref name="TKey" />.</param>
<param name="value">A value of type <typeparamref name="TValue" />.</param>
<summary>
A delegate that can refer to any method taking two arguments and
returning <see cref="T:System.Void" />.
</summary>
<remarks>
<para>
Use this to support <see cref="T:NDesk.Options.Option" />s
accepting two values registered with:
</para>
<list type="bullet">
<item>
<term>
<see cref="M:NDesk.Options.OptionSet.Add(System.String,NDesk.Options.OptionAction{System.String,System.String})" />
</term>
</item>
<item>
<term>
<see cref="M:NDesk.Options.OptionSet.Add(System.String,System.String,NDesk.Options.OptionAction{System.String,System.String})" />
</term>
</item>
<item>
<term>
<see cref="M:NDesk.Options.OptionSet.Add``2(System.String,NDesk.Options.OptionAction{``0,``1})" />
</term>
</item>
<item>
<term>
<see cref="M:NDesk.Options.OptionSet.Add``2(System.String,System.String,NDesk.Options.OptionAction{``0,``1})" />
</term>
</item>
</list>
</remarks>
</Docs>
</Type>