C# Класс Imgix_Dotnet.Imgix

The Imgix url builder.
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateImage ( IImgixOptions options, string path ) : ImgixImage

Creates a new imgix image from a supplied options object

CreateImage ( string path, string host, bool useHttps = true ) : ImgixImage

Creates a new unsigned imgix image from a supplied sourceName and path

Imgix ( IImgixOptions options ) : System

The base constructor. Sets up the Imgix url builder base options.

NewImage ( string path ) : ImgixImage

Creates a new imgix image from with the options in this Imgix Caution: Will only ever grab the first source. If you have multiple sources it is receommended to use the overload with sourceName

NewImage ( string sourceName, string path ) : ImgixImage

Creates a new imgix image from with the options in this Imgix

Описание методов

CreateImage() публичный статический Метод

Creates a new imgix image from a supplied options object
public static CreateImage ( IImgixOptions options, string path ) : ImgixImage
options IImgixOptions The base options
path string The path to the image
Результат ImgixImage

CreateImage() публичный статический Метод

Creates a new unsigned imgix image from a supplied sourceName and path
public static CreateImage ( string path, string host, bool useHttps = true ) : ImgixImage
path string The path to the image
host string The host of the source
useHttps bool Is the source https. Default: true
Результат ImgixImage

Imgix() публичный Метод

The base constructor. Sets up the Imgix url builder base options.
is null is empty
public Imgix ( IImgixOptions options ) : System
options IImgixOptions
Результат System

NewImage() публичный Метод

Creates a new imgix image from with the options in this Imgix Caution: Will only ever grab the first source. If you have multiple sources it is receommended to use the overload with sourceName
is null or whitespace.
public NewImage ( string path ) : ImgixImage
path string The path to the image
Результат ImgixImage

NewImage() публичный Метод

Creates a new imgix image from with the options in this Imgix
/// is null or whitespace. /// - or - /// is null or whitespace. /// There is no source with name in
public NewImage ( string sourceName, string path ) : ImgixImage
sourceName string The name of the source to use
path string The path to the image
Результат ImgixImage