Search Results for

    Show / Hide Table of Contents

    Class TimeSpanConverter

    Represents a time span converter.

    Inheritance
    System.Object
    TimeSpanConverter
    Implements
    IArgumentConverter<System.TimeSpan>
    IArgumentConverter
    Namespace: DisCatSharp.CommandsNext.Converters
    Assembly: DisCatSharp.CommandsNext.dll
    Syntax
    public class TimeSpanConverter : IArgumentConverter<TimeSpan>, IArgumentConverter

    Explicit Interface Implementations

    | Improve this Doc View Source

    IArgumentConverter<TimeSpan>.ConvertAsync(String, CommandContext)

    Converts a string.

    Declaration
    Task<Optional<TimeSpan>> IArgumentConverter<TimeSpan>.ConvertAsync(string value, CommandContext ctx)
    Parameters
    Type Name Description
    System.String value

    The string to convert.

    CommandContext ctx

    The command context.

    Returns
    Type Description
    System.Threading.Tasks.Task<Optional<System.TimeSpan>>

    Implements

    IArgumentConverter<T>
    IArgumentConverter

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems