Struct CharacterRegion
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
[TypeConverter(typeof(CharacterRegionTypeConverter))]
public struct CharacterRegion
- Inherited Members
Constructors
CharacterRegion(char, char)
public CharacterRegion(char start, char end)
Parameters
Fields
End
public char End
Field Value
Start
public char Start
Field Value
Properties
Default
public static CharacterRegion Default { get; }
Property Value
Methods
Any<T>(IEnumerable<T>)
Test if there is an element in this enumeration.
public static bool Any<T>(IEnumerable<T> source)
Parameters
sourceIEnumerable<T>The enumerable source.
Returns
- bool
trueif there is an element in this enumeration,falseotherwise
Type Parameters
TType of the element
Characters()
public readonly IEnumerable<char> Characters()
Returns
Distinct<TSource>(IEnumerable<TSource>, IEqualityComparer<TSource>?)
Selects distinct elements from an enumeration.
public static IEnumerable<TSource> Distinct<TSource>(IEnumerable<TSource> source, IEqualityComparer<TSource>? comparer = null) where TSource : notnull
Parameters
sourceIEnumerable<TSource>The source.
comparerIEqualityComparer<TSource>The comparer.
Returns
- IEnumerable<TSource>
A enumeration of selected values
Type Parameters
TSourceThe type of the T source.
SelectMany<TSource, TResult>(IEnumerable<TSource>, Func<TSource, IEnumerable<TResult>>)
Select elements from an enumeration.
public static IEnumerable<TResult> SelectMany<TSource, TResult>(IEnumerable<TSource> source, Func<TSource, IEnumerable<TResult>> selector)
Parameters
sourceIEnumerable<TSource>The source.
selectorFunc<TSource, IEnumerable<TResult>>The selector.
Returns
- IEnumerable<TResult>
A enumeration of selected values
Type Parameters
TSourceThe type of the T source.
TResultThe type of the T result.