• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Web
      • FormattedImage
      • FormatUtilities
      • ImageCacheMetadata
      • ImageMetadata
    • SixLabors.ImageSharp.Web.Caching
      • CacheHash
      • ICacheHash
      • IImageCache
      • PhysicalFileSystemCache
      • PhysicalFileSystemCacheOptions
    • SixLabors.ImageSharp.Web.Commands
      • CommandParser
      • DictionaryExtensions
      • IRequestParser
      • PresetOnlyQueryCollectionRequestParser
      • PresetOnlyQueryCollectionRequestParserOptions
      • QueryCollectionRequestParser
    • SixLabors.ImageSharp.Web.Commands.Converters
      • ICommandConverter
      • ICommandConverter<T>
    • SixLabors.ImageSharp.Web.DependencyInjection
      • ApplicationBuilderExtensions
      • IImageSharpBuilder
      • ImageSharpBuilderExtensions
      • ImageSharpConfiguration
      • ServiceCollectionExtensions
    • SixLabors.ImageSharp.Web.Middleware
      • ConcurrentDictionaryExtensions
      • ImageCommandContext
      • ImageProcessingContext
      • ImageSharpMiddleware
      • ImageSharpMiddlewareOptions
    • SixLabors.ImageSharp.Web.Processors
      • BackgroundColorWebProcessor
      • FormatWebProcessor
      • IImageWebProcessor
      • JpegQualityWebProcessor
      • ResizeWebProcessor
    • SixLabors.ImageSharp.Web.Providers
      • IImageProvider
      • PhysicalFileSystemProvider
      • ProcessingBehavior
    • SixLabors.ImageSharp.Web.Resolvers
      • IImageCacheResolver
      • IImageResolver
      • PhysicalFileSystemCacheResolver
      • PhysicalFileSystemResolver
    • SixLabors.ImageSharp.Web.Synchronization
      • AsyncKeyLock<TKey>
      • AsyncKeyReaderWriterLock<TKey>
      • AsyncLock
      • AsyncReaderWriterLock
      • RefCountedConcurrentDictionary<TKey, TValue>

    Interface ICommandConverter<T>

    Inherited Members
    ICommandConverter.Type
    Namespace: SixLabors.ImageSharp.Web.Commands.Converters
    Assembly: SixLabors.ImageSharp.Web.dll
    Syntax
    public interface ICommandConverter<T> : ICommandConverter
    Type Parameters
    Name Description
    T

    The type this converter returns.

    Methods

    | Improve this Doc View Source

    ConvertFrom(CommandParser, CultureInfo, String, Type)

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

    Declaration
    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 CultureInfo to use as the current parsing culture.

    String value

    The String to convert.

    Type propertyType

    The property type that the converter will convert to.

    Returns
    Type Description
    T

    A String that represents the converted value.

    Exceptions
    Type Condition
    NotSupportedException

    The conversion cannot be performed.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX