Search Results for

    Show / Hide Table of Contents

    Class ImageLocation

    Helper functions that return the address of an image given a base url address

    Inheritance
    System.Object
    ImageLocation
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Images
    Assembly: Utils.dll
    Syntax
    public static class ImageLocation

    Methods

    GetImageUri(ImageType, String)

    Returns the address of the specified image.

    Declaration
    public static string GetImageUri(this ImageType img, string imageBaseLocation)
    Parameters
    Type Name Description
    ImageType img

    The image to return the location for

    System.String imageBaseLocation

    The base location of all system images

    Returns
    Type Description
    System.String

    The address of the specified image

    GetImageUri(Guid, String)

    Returns the address of the specified image. If the image is outside the ImageType range then the standard Warning image is returned instead of any custom image as that doesnt belong at a path location

    Declaration
    public static string GetImageUri(this Guid imgID, string imageBaseLocation)
    Parameters
    Type Name Description
    System.Guid imgID

    The guid of the image to return the location for

    System.String imageBaseLocation

    The base location of all system images

    Returns
    Type Description
    System.String

    The address of the specified image

    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.