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
Default
public static CharacterRegion Default
Field Value
End
public char End
Field Value
Start
public char Start
Field Value
Methods
Any<T>(IEnumerable<T>)
Test if there is an element in this enumeration.
public static bool Any<T>(IEnumerable<T> source)
Parameters
source
IEnumerable<T>The enumerable source.
Returns
- bool
true
if there is an element in this enumeration,false
otherwise
Type Parameters
T
Type of the element
Characters()
public 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)
Parameters
source
IEnumerable<TSource>The source.
comparer
IEqualityComparer<TSource>The comparer.
Returns
- IEnumerable<TSource>
A enumeration of selected values
Type Parameters
TSource
The 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
source
IEnumerable<TSource>The source.
selector
Func<TSource, IEnumerable<TResult>>The selector.
Returns
- IEnumerable<TResult>
A enumeration of selected values
Type Parameters
TSource
The type of the T source.
TResult
The type of the T result.