Show / Hide Table of Contents

    Class LinkConverter

    Represents the link converter.

    Inheritance
    Object
    LinkConverter
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Platform.Data.Triplets
    Assembly: Platform.Data.Triplets.dll
    Syntax
    public static class LinkConverter

    Methods

    | Improve this Doc View Source

    FromChar(Char)

    Creates the char using the specified c.

    Declaration
    public static Link FromChar(char c)
    Parameters
    Type Name Description
    Char c

    The .

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromChars(Char[])

    Creates the chars using the specified chars.

    Declaration
    public static Link FromChars(char[] chars)
    Parameters
    Type Name Description
    Char[] chars

    The chars.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromChars(Char[], Int32, Int32)

    Creates the chars using the specified chars.

    Declaration
    public static Link FromChars(char[] chars, int takeFrom, int takeUntil)
    Parameters
    Type Name Description
    Char[] chars

    The chars.

    Int32 takeFrom

    The take from.

    Int32 takeUntil

    The take until.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromChars(String)

    Creates the chars using the specified str.

    Declaration
    public static Link FromChars(string str)
    Parameters
    Type Name Description
    String str

    The str.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromList(Link[])

    Creates the list using the specified links.

    Declaration
    public static Link FromList(Link[] links)
    Parameters
    Type Name Description
    Link[] links

    The links.

    Returns
    Type Description
    Link

    The element.

    | Improve this Doc View Source

    FromList(List<Link>)

    Creates the list using the specified links.

    Declaration
    public static Link FromList(List<Link> links)
    Parameters
    Type Name Description
    List<Link> links

    The links.

    Returns
    Type Description
    Link

    The element.

    | Improve this Doc View Source

    FromNumber(Int64)

    Creates the number using the specified number.

    Declaration
    public static Link FromNumber(long number)
    Parameters
    Type Name Description
    Int64 number

    The number.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(Boolean[])

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(bool[] numbers)
    Parameters
    Type Name Description
    Boolean[] numbers

    The numbers.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(Boolean[], Int32, Int32)

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(bool[] numbers, int takeFrom, int takeUntil)
    Parameters
    Type Name Description
    Boolean[] numbers

    The numbers.

    Int32 takeFrom

    The take from.

    Int32 takeUntil

    The take until.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(Byte[])

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(byte[] numbers)
    Parameters
    Type Name Description
    Byte[] numbers

    The numbers.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(Byte[], Int32, Int32)

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(byte[] numbers, int takeFrom, int takeUntil)
    Parameters
    Type Name Description
    Byte[] numbers

    The numbers.

    Int32 takeFrom

    The take from.

    Int32 takeUntil

    The take until.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(Int64[])

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(long[] numbers)
    Parameters
    Type Name Description
    Int64[] numbers

    The numbers.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(Int64[], Int32, Int32)

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(long[] numbers, int takeFrom, int takeUntil)
    Parameters
    Type Name Description
    Int64[] numbers

    The numbers.

    Int32 takeFrom

    The take from.

    Int32 takeUntil

    The take until.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(UInt16[])

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(ushort[] numbers)
    Parameters
    Type Name Description
    UInt16[] numbers

    The numbers.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(UInt16[], Int32, Int32)

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(ushort[] numbers, int takeFrom, int takeUntil)
    Parameters
    Type Name Description
    UInt16[] numbers

    The numbers.

    Int32 takeFrom

    The take from.

    Int32 takeUntil

    The take until.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(UInt32[])

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(uint[] numbers)
    Parameters
    Type Name Description
    UInt32[] numbers

    The numbers.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromNumbers(UInt32[], Int32, Int32)

    Creates the numbers using the specified numbers.

    Declaration
    public static Link FromNumbers(uint[] numbers, int takeFrom, int takeUntil)
    Parameters
    Type Name Description
    UInt32[] numbers

    The numbers.

    Int32 takeFrom

    The take from.

    Int32 takeUntil

    The take until.

    Returns
    Type Description
    Link

    The link

    | Improve this Doc View Source

    FromObjectsToSequence<T>(T[], Func<T, Link>)

    Creates the objects to sequence using the specified objects.

    Declaration
    public static Link FromObjectsToSequence<T>(T[] objects, Func<T, Link> converter)
    Parameters
    Type Name Description
    T[] objects

    The objects.

    Func<T, Link> converter

    The converter.

    Returns
    Type Description
    Link

    The link

    Type Parameters
    Name Description
    T

    The .

    | Improve this Doc View Source

    FromObjectsToSequence<T>(T[], Int32, Int32, Func<T, Link>)

    Creates the objects to sequence using the specified objects.

    Declaration
    public static Link FromObjectsToSequence<T>(T[] objects, int takeFrom, int takeUntil, Func<T, Link> converter)
    Parameters
    Type Name Description
    T[] objects

    The objects.

    Int32 takeFrom

    The take from.

    Int32 takeUntil

    The take until.

    Func<T, Link> converter

    The converter.

    Returns
    Type Description
    Link

    The link

    Type Parameters
    Name Description
    T

    The .

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Нельзя преобразовать пустой список к связям.

    | Improve this Doc View Source

    FromString(String)

    Creates the string using the specified str.

    Declaration
    public static Link FromString(string str)
    Parameters
    Type Name Description
    String str

    The str.

    Returns
    Type Description
    Link

    The str link.

    | Improve this Doc View Source

    ToChar(Link)

    Returns the char using the specified char link.

    Declaration
    public static char ToChar(Link charLink)
    Parameters
    Type Name Description
    Link charLink

    The char link.

    Returns
    Type Description
    Char

    The char

    | Improve this Doc View Source

    ToList(Link)

    Returns the list using the specified link.

    Declaration
    public static List<Link> ToList(Link link)
    Parameters
    Type Name Description
    Link link

    The link.

    Returns
    Type Description
    List<Link>

    The list.

    | Improve this Doc View Source

    ToNumber(Link)

    Returns the number using the specified number.

    Declaration
    public static long ToNumber(Link number)
    Parameters
    Type Name Description
    Link number

    The number.

    Returns
    Type Description
    Int64

    The long

    | Improve this Doc View Source

    ToString(Link)

    Returns the string using the specified link.

    Declaration
    public static string ToString(Link link)
    Parameters
    Type Name Description
    Link link

    The link.

    Returns
    Type Description
    String

    The string

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Specified link is not a string.

    | Improve this Doc View Source

    ToString(List<Link>)

    Returns the string using the specified char links.

    Declaration
    public static string ToString(List<Link> charLinks)
    Parameters
    Type Name Description
    List<Link> charLinks

    The char links.

    Returns
    Type Description
    String

    The string

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