You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Redistribution and use in source and binary forms, with or without modification, are permitted provide
7
+
// d that the following conditions are met:
8
+
//
9
+
// Redistributions of source code must retain the above copyright notice, this list of conditions and the
10
+
// following disclaimer.
11
+
//
12
+
// Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
13
+
// the following disclaimer in the documentation and/or other materials provided with the distribution.
14
+
//
15
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
16
+
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
17
+
// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
18
+
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
19
+
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20
+
// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
21
+
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22
+
// POSSIBILITY OF SUCH DAMAGE.
23
+
#endregion
24
+
25
+
usingSystem;
26
+
usingSystem.Linq;
27
+
usingFclp.Internals.Extensions;
28
+
29
+
namespaceFclp.Internals.Parsing.OptionParsers
30
+
{
31
+
/// <summary>
32
+
/// Parser used to convert to <see cref="Enum"/>.
33
+
/// </summary>
34
+
/// <remarks>For <see cref="System.Boolean"/> types the value is optional. If no value is provided for the Option then <c>true</c> is returned.</remarks>
/// Determines whether the specified <see cref="System.String"/> can be parsed by this <see cref="ICommandLineOptionParser{T}"/>.
52
+
/// </summary>
53
+
/// <param name="parsedOption"></param>
54
+
/// <returns><c>true</c> if the specified <see cref="System.String"/> can be parsed by this <see cref="ICommandLineOptionParser{T}"/>; otherwise <c>false</c>.</returns>
0 commit comments