src/packages/EmbedIO/Utilities/QValueList.cs
/// <summary>
/// Attempts to determine whether the weight of a possible candidate.
/// </summary>
/// <param name="value">The value whose weight is to be determined.</param>
/// <param name="weight">When this method returns <see langword="true"/>,
/// the weight of the candidate.</param>
/// <returns><see langword="true"/> if <paramref name="value"/> is a candidate;
/// otherwise, <see langword="false"/>.</returns>
Attempts to determine whether the weight of a possible candidate.
Attempts to determine whether the weight of a possible candidate .
public bool TryGetWeight(string value, out int weight)
        {
            var result = TryGetCandidateValue(Validate.NotNull(nameof(value), value), out var candidate);
            weight = candidate.Weight;
            return result;
        }
public bool TryGetWeight ( string value , out int weight ) { var result = TryGetCandidateValue ( Validate . NotNull ( nameof ( value ) , value ) , out var candidate ) ; weight = candidate . Weight ; return result ; }
Attempts to determine whether the weight of a possible candidate.
Attempts to determine whether the weight of a possible candidate .
if  is a candidate;
otherwise, .
if is a candidate ; otherwise .
value
string
The value whose weight is to be determined.
The value whose weight is to be determined .
int
out
weight
When this method returns ,
the weight of the candidate.
When this method returns the weight of the candidate .