StringValues Struct

Definition

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

public struct StringValues : IEquatable<Microsoft.Extensions.Primitives.StringValues>, IEquatable<string[]>, IEquatable<string>, System.Collections.Generic.ICollection<string>, System.Collections.Generic.IEnumerable<string>, System.Collections.Generic.IList<string>, System.Collections.Generic.IReadOnlyCollection<string>, System.Collections.Generic.IReadOnlyList<string>
Inheritance
StringValues
Implements

Constructors

StringValues(String)
StringValues(String[])

Fields

Empty

Properties

Count
Item[Int32]

Methods

Concat(StringValues, StringValues)
Equals(String[], StringValues)
Equals(String, StringValues)
Equals(StringValues, String[])
Equals(StringValues, StringValues)
Equals(StringValues, String)
Equals(String)
Equals(Object)
Equals(StringValues)
Equals(String[])
GetEnumerator()
GetHashCode()
IsNullOrEmpty(StringValues)
ToArray()
ToString()

Operators

Equality(Object, StringValues)
Equality(String, StringValues)
Equality(StringValues, String[])
Equality(String[], StringValues)
Equality(StringValues, Object)
Equality(StringValues, StringValues)
Equality(StringValues, String)
Implicit(StringValues to String)
Implicit(StringValues to String[])
Implicit(String to StringValues)
Implicit(String[] to StringValues)
Inequality(String, StringValues)
Inequality(Object, StringValues)
Inequality(StringValues, String[])
Inequality(String[], StringValues)
Inequality(StringValues, Object)
Inequality(StringValues, StringValues)
Inequality(StringValues, String)

Explicit Interface Implementations

ICollection<String>.Add(String)
ICollection<String>.Clear()
ICollection<String>.Contains(String)
ICollection<String>.CopyTo(String[], Int32)
ICollection<String>.IsReadOnly
ICollection<String>.Remove(String)
IEnumerable<String>.GetEnumerator()
IList<String>.IndexOf(String)
IList<String>.Insert(Int32, String)
IList<String>.Item[Int32]
IList<String>.RemoveAt(Int32)
IEnumerable.GetEnumerator()

Extension Methods

GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext)

Gets an instance of IWrapperProvider for the supplied type.

RemoveType(IList<IMetadataDetailsProvider>, Type)

Removes all metadata details providers of the specified type.

RemoveType<TMetadataDetailsProvider>(IList<IMetadataDetailsProvider>)

Removes all metadata details providers of the specified type.

RemoveType(IList<IModelBinderProvider>, Type)

Removes all model binder providers of the specified type.

RemoveType<TModelBinderProvider>(IList<IModelBinderProvider>)

Removes all model binder providers of the specified type.

RemoveType(IList<IModelValidatorProvider>, Type)

Removes all model validator providers of the specified type.

RemoveType<TModelValidatorProvider>(IList<IModelValidatorProvider>)

Removes all model validator providers of the specified type.

RemoveType(IList<IValueProviderFactory>, Type)

Removes all value provider factories of the specified type.

RemoveType<TValueProviderFactory>(IList<IValueProviderFactory>)

Removes all value provider factories of the specified type.

FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType)

Converts the generic IEnumerable<T> to a IEnumerable<T> and finds the first HtmlSymbol with type type.

GetContent(IEnumerable<ISymbol>, SourceLocation)
Add(IList<IApplicationModelConvention>, IActionModelConvention)

Adds a IActionModelConvention to all the actions in the application.

Add(IList<IApplicationModelConvention>, IControllerModelConvention)

Adds a IControllerModelConvention to all the controllers in the application.

Add(IList<IApplicationModelConvention>, IParameterModelConvention)

Adds a IParameterModelConvention to all the parameters in the application.

RemoveType(IList<IApplicationModelConvention>, Type)

Removes all application model conventions of the specified type.

RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention>)

Removes all application model conventions of the specified type.

Applies to