Show / Hide Table of Contents

    Class StringExtensions

    Extension methods for the System.String class.

    Inheritance
    System.Object
    StringExtensions
    Namespace: Cuemon.AspNetCore.Razor.TagHelpers
    Assembly: Cuemon.AspNetCore.Razor.TagHelpers.dll
    Syntax
    public static class StringExtensions

    Methods

    | Improve this Doc

    PrefixWith(String, String)

    Prefixes the source with the specified value.

    Declaration
    public static string PrefixWith(this string source, string value)
    Parameters
    Type Name Description
    System.String source

    The string to extend.

    System.String value

    The value to prefix source.

    Returns
    Type Description
    System.String

    A string with a prefix value.

    | Improve this Doc

    SuffixWith(String, String)

    Suffixes the source with the specified value.

    Declaration
    public static string SuffixWith(this string source, string value)
    Parameters
    Type Name Description
    System.String source

    The string to extend.

    System.String value

    The value to suffix source.

    Returns
    Type Description
    System.String

    A string with a suffix value.

    | Improve this Doc

    SuffixWithForwardingSlash(String)

    Suffixes the source with a forwarding slash.

    Declaration
    public static string SuffixWithForwardingSlash(this string source)
    Parameters
    Type Name Description
    System.String source

    The string to extend.

    Returns
    Type Description
    System.String

    A string with a suffix forwarding slash.

    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX