• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Web
      • CaseHandlingUriBuilder
      • CaseHandlingUriBuilder.CaseHandling
      • CommandHandling
      • ExifOrientationUtilities
      • Format
      • FormatCommand
      • FormattedImage
      • FormatUtilities
      • HMACUtilities
      • ImageCacheMetadata
      • ImageMetadata
      • RequestAuthorizationUtilities
      • Resampler
      • ResamplerCommand
    • SixLabors.ImageSharp.Web.Caching
      • ICacheHash
      • ICacheKey
      • IImageCache
      • LegacyV1CacheKey
      • PhysicalFileSystemCache
      • PhysicalFileSystemCacheOptions
      • SHA256CacheHash
      • UriAbsoluteCacheKey
      • UriAbsoluteLowerInvariantCacheKey
      • UriRelativeCacheKey
      • UriRelativeLowerInvariantCacheKey
    • SixLabors.ImageSharp.Web.Commands
      • CommandCollection
      • CommandCollectionExtensions
      • CommandParser
      • IRequestParser
      • PresetOnlyQueryCollectionRequestParser
      • PresetOnlyQueryCollectionRequestParserOptions
      • QueryCollectionRequestParser
    • SixLabors.ImageSharp.Web.Commands.Converters
      • ArrayConverter<T>
      • ColorConverter
      • EnumConverter
      • ICommandConverter
      • ICommandConverter<T>
      • IntegralNumberConverter<T>
      • ListConverter<T>
      • SimpleCommandConverter<T>
    • SixLabors.ImageSharp.Web.DependencyInjection
      • ApplicationBuilderExtensions
      • IImageSharpBuilder
      • ImageSharpBuilderExtensions
      • ServiceCollectionExtensions
    • SixLabors.ImageSharp.Web.Middleware
      • ImageCommandContext
      • ImageProcessingContext
      • ImageSharpMiddleware
      • ImageSharpMiddlewareOptions
    • SixLabors.ImageSharp.Web.Processors
      • AutoOrientWebProcessor
      • BackgroundColorWebProcessor
      • FormatWebProcessor
      • IImageWebProcessor
      • QualityWebProcessor
      • ResizeWebProcessor
    • SixLabors.ImageSharp.Web.Providers
      • FileProviderImageProvider
      • IImageProvider
      • PhysicalFileSystemProvider
      • PhysicalFileSystemProviderOptions
      • ProcessingBehavior
      • WebRootImageProvider
    • SixLabors.ImageSharp.Web.Resolvers
      • FileProviderImageResolver
      • IImageCacheResolver
      • IImageResolver
      • PhysicalFileSystemCacheResolver
    • SixLabors.ImageSharp.Web.Synchronization
      • AsyncKeyLock<TKey>
      • AsyncKeyReaderWriterLock<TKey>
      • AsyncLock
      • AsyncReaderWriterLock
      • RefCountedConcurrentDictionary<TKey, TValue>
    • SixLabors.ImageSharp.Web.TagHelpers
      • HmacTokenTagHelper
      • ImageTagHelper

    Class SimpleCommandConverter<T>

    The generic converter for simple types that implement .

    Inheritance
    Object
    SimpleCommandConverter<T>
    Implements
    ICommandConverter<T>
    ICommandConverter
    Namespace: SixLabors.ImageSharp.Web.Commands.Converters
    Assembly: SixLabors.ImageSharp.Web.dll
    Syntax
    public sealed class SimpleCommandConverter<T> : object, ICommandConverter<T>, ICommandConverter where T : IConvertible
    Type Parameters
    Name Description
    T

    The type of object to convert to.

    Properties

    | Improve this Doc View Source

    Type

    Gets the type this converter returns.

    Declaration
    public Type Type { get; }
    Property Value
    Type Description
    Type

    Methods

    | Improve this Doc View Source

    ConvertFrom(CommandParser, CultureInfo, Nullable<String>, Type)

    Converts the given string to the type of this converter, using the specified culture information.

    Declaration
    public T ConvertFrom(CommandParser parser, CultureInfo culture, string? value, Type propertyType)
    Parameters
    Type Name Description
    CommandParser parser

    The command parser use for parting commands.

    CultureInfo culture

    The to use as the current parsing culture.

    Nullable<String> value

    The to convert.

    Type propertyType

    The property type that the converter will convert to.

    Returns
    Type Description
    T

    A that represents the converted value.

    Implements

    ICommandConverter<T>
    ICommandConverter
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX