ReadOnlyMemoryPolyfillExtension Class
Extension methods for the
ReadOnlyMemory<Char>
struct, which are used in .NET Framework 4.6.2, .NET Standard 2.0 and .NET Standard
2.1 as polyfills for methods from current .NET versions.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static class ReadOnlyMemoryPolyfillExtension
<ExtensionAttribute>
Public NotInheritable Class ReadOnlyMemoryPolyfillExtension
[ExtensionAttribute]
public ref class ReadOnlyMemoryPolyfillExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ReadOnlyMemoryPolyfillExtension = class end
- Inheritance
- Object ReadOnlyMemoryPolyfillExtension
The methods of this class should only be used in the extension method syntax
to simulate the methods of the
ReadOnlyMemory<Char>
struct, which exist in more modern frameworks.
| Trim | Removes all leading and trailing white space characters from a read-only
character memory region. |
| TrimEnd | Removes all trailing white space characters from a read-only character memory
region. |
| TrimStart | Removes all leading white space characters from a read-only character memory
region. |