C# 클래스 Imgix_Dotnet.Imgix

The Imgix url builder.
파일 보기 프로젝트 열기: estei/Imgix-Dotnet

공개 메소드들

메소드 설명
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