StringValues StringValues 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>
type StringValues = struct
    interface IList<string>
    interface ICollection<string>
    interface seq<string>
    interface IEnumerable
    interface IReadOnlyList<string>
    interface IReadOnlyCollection<string>
Public Structure StringValues
Implements ICollection(Of String), IEnumerable(Of String), IEquatable(Of String()), IEquatable(Of String), IEquatable(Of StringValues), IList(Of String), IReadOnlyCollection(Of String), IReadOnlyList(Of String)
Inheritance
StringValuesStringValuesStringValues
Implements

Constructors

StringValues(String) StringValues(String) StringValues(String)
StringValues(String[]) StringValues(String[]) StringValues(String[])

Fields

Empty Empty Empty

Properties

Count Count Count
Item[Int32] Item[Int32] Item[Int32]

Methods

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

Operators

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

Explicit Interface Implementations

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

Extension Methods

GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext) GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext) GetWrapperProvider(IEnumerable<IWrapperProviderFactory>, WrapperProviderContext)

Gets an instance of IWrapperProvider for the supplied type.

RemoveType(IList<IMetadataDetailsProvider>, Type) RemoveType(IList<IMetadataDetailsProvider>, Type) RemoveType(IList<IMetadataDetailsProvider>, Type)

Removes all metadata details providers of the specified type.

RemoveType<TMetadataDetailsProvider>(IList<IMetadataDetailsProvider>) RemoveType<TMetadataDetailsProvider>(IList<IMetadataDetailsProvider>) RemoveType<TMetadataDetailsProvider>(IList<IMetadataDetailsProvider>)

Removes all metadata details providers of the specified type.

RemoveType(IList<IModelBinderProvider>, Type) RemoveType(IList<IModelBinderProvider>, Type) RemoveType(IList<IModelBinderProvider>, Type)

Removes all model binder providers of the specified type.

RemoveType<TModelBinderProvider>(IList<IModelBinderProvider>) RemoveType<TModelBinderProvider>(IList<IModelBinderProvider>) RemoveType<TModelBinderProvider>(IList<IModelBinderProvider>)

Removes all model binder providers of the specified type.

RemoveType(IList<IModelValidatorProvider>, Type) RemoveType(IList<IModelValidatorProvider>, Type) RemoveType(IList<IModelValidatorProvider>, Type)

Removes all model validator providers of the specified type.

RemoveType<TModelValidatorProvider>(IList<IModelValidatorProvider>) RemoveType<TModelValidatorProvider>(IList<IModelValidatorProvider>) RemoveType<TModelValidatorProvider>(IList<IModelValidatorProvider>)

Removes all model validator providers of the specified type.

RemoveType(IList<IValueProviderFactory>, Type) RemoveType(IList<IValueProviderFactory>, Type) RemoveType(IList<IValueProviderFactory>, Type)

Removes all value provider factories of the specified type.

RemoveType<TValueProviderFactory>(IList<IValueProviderFactory>) RemoveType<TValueProviderFactory>(IList<IValueProviderFactory>) RemoveType<TValueProviderFactory>(IList<IValueProviderFactory>)

Removes all value provider factories of the specified type.

FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType) FirstHtmlSymbolAs(IEnumerable<ISymbol>, HtmlSymbolType) 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) GetContent(IEnumerable<ISymbol>, SourceLocation) GetContent(IEnumerable<ISymbol>, SourceLocation)
Add(IList<IApplicationModelConvention>, IActionModelConvention) Add(IList<IApplicationModelConvention>, IActionModelConvention) Add(IList<IApplicationModelConvention>, IActionModelConvention)

Adds a IActionModelConvention to all the actions in the application.

Add(IList<IApplicationModelConvention>, IControllerModelConvention) Add(IList<IApplicationModelConvention>, IControllerModelConvention) Add(IList<IApplicationModelConvention>, IControllerModelConvention)

Adds a IControllerModelConvention to all the controllers in the application.

Add(IList<IApplicationModelConvention>, IParameterModelBaseConvention) Add(IList<IApplicationModelConvention>, IParameterModelBaseConvention) Add(IList<IApplicationModelConvention>, IParameterModelBaseConvention)

Adds a IParameterModelBaseConvention to all properties and parameters in the application.

Add(IList<IApplicationModelConvention>, IParameterModelConvention) Add(IList<IApplicationModelConvention>, IParameterModelConvention) Add(IList<IApplicationModelConvention>, IParameterModelConvention)

Adds a IParameterModelConvention to all the parameters in the application.

RemoveType(IList<IApplicationModelConvention>, Type) RemoveType(IList<IApplicationModelConvention>, Type) RemoveType(IList<IApplicationModelConvention>, Type)

Removes all application model conventions of the specified type.

RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention>) RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention>) RemoveType<TApplicationModelConvention>(IList<IApplicationModelConvention>)

Removes all application model conventions of the specified type.

Applies to