Dela via


Microsoft.Extensions.Primitives Namespace

Provides primitive types for Microsoft's extension libraries.

Classes

CancellationChangeToken

A IChangeToken implementation using CancellationToken.

ChangeToken

Propagates notifications that a change has occurred.

CompositeChangeToken

An IChangeToken that represents one or more IChangeToken instances.

Extensions

Provides extensions methods for the Microsoft.Extensions.Primitives namespace.

StringSegmentComparer

Compares two StringSegment objects.

Structs

InplaceStringBuilder

Provides a mechanism for fast, non-allocating string concatenation.

StringSegment

An optimized representation of a substring.

StringTokenizer

Tokenizes a String into StringSegments.

StringTokenizer.Enumerator

Enumerates the String tokens represented by StringSegment.

StringValues

Represents zero/null, one, or many strings in an efficient way.

StringValues.Enumerator

Enumerates the string values of a StringValues.

Interfaces

IChangeToken

Propagates notifications that a change has occurred.