C# Class CloudinaryDotNet.Url

Inheritance: ICloneable
Datei anzeigen Open project: cloudinary/CloudinaryDotNet

Public Methods

Method Description
Action ( string action ) : Url
Add ( string part ) : Url
ApiVersion ( string apiVersion ) : Url
BuildImageTag ( string source ) : IHtmlString

Builds an image tag for embedding in a web view.

BuildImageTag ( string source, StringDictionary dict = null ) : IHtmlString

Builds an image tag for embedding in a web view.

BuildImageTag ( string source ) : string
BuildImageTag ( string source, StringDictionary dict = null ) : string
BuildSpriteCss ( string source ) : string
BuildUrl ( ) : string
BuildUrl ( string source ) : string
BuildVideoTag ( string source ) : IHtmlString

Builds a video tag for embedding in a web view.

BuildVideoTag ( string source, StringDictionary dict = null ) : IHtmlString

Builds a video tag for embedding in a web view.

BuildVideoTag ( string source ) : string
BuildVideoTag ( string source, StringDictionary dict = null ) : string
CName ( string cName ) : Url
CSubDomain ( bool useSubDomain ) : Url
Clone ( ) : Url

Creates a new object that is a deep copy of the current instance.

CloudName ( string cloudName ) : Url
CloudinaryAddr ( string cloudinaryAddr ) : Url
FallbackContent ( string fallbackContent ) : Url
Format ( string format ) : Url
Poster ( object poster ) : Url
PosterSource ( string source ) : Url
PosterTransform ( Transformation transformation ) : Url
PosterUrl ( Url url ) : Url
PrivateCdn ( bool usePrivateCdn ) : Url
ResourceType ( string resourceType ) : Url
Secure ( bool secure = true ) : Url
SecureDistribution ( string privateCdn ) : Url
Shorten ( bool shorten ) : Url
Signed ( bool signed ) : Url
Source ( string source ) : Url

A Cloudinary public ID or file name or a reference to a resource.

SourceTransformationFor ( string source, Transformation transform ) : Url
SourceTypes ( ) : Url
Suffix ( string suffix ) : Url
Transform ( Transformation transformation ) : Url
Url ( string cloudName ) : System
Url ( string cloudName, ISignProvider signProvider ) : System
UseRootPath ( bool useRootPath ) : Url
Version ( string version ) : Url

Private Methods

Method Description
AppendVideoSources ( StringBuilder sb, string source, string sourceType ) : void
Decode ( string input ) : string
Encode ( string input ) : string
FinalizePosterUrl ( string source ) : string
GetPrefix ( string source, bool &sharedDomain ) : string
ICloneable ( ) : object

Creates a new object that is a deep copy of the current instance.

IsSafe ( char ch ) : bool
Shard ( string input ) : string
UpdateAction ( ) : void
UpdateSource ( string source ) : CSource

Method Details

Action() public method

public Action ( string action ) : Url
action string
return Url

Add() public method

public Add ( string part ) : Url
part string
return Url

ApiVersion() public method

public ApiVersion ( string apiVersion ) : Url
apiVersion string
return Url

BuildImageTag() public method

Builds an image tag for embedding in a web view.
public BuildImageTag ( string source ) : IHtmlString
source string A Cloudinary public ID or file name or a reference to a resource.
return IHtmlString

BuildImageTag() public method

Builds an image tag for embedding in a web view.
public BuildImageTag ( string source, StringDictionary dict = null ) : IHtmlString
source string A Cloudinary public ID or file name or a reference to a resource.
dict StringDictionary Additional parameters.
return IHtmlString

BuildImageTag() public method

public BuildImageTag ( string source ) : string
source string
return string

BuildImageTag() public method

public BuildImageTag ( string source, StringDictionary dict = null ) : string
source string
dict StringDictionary
return string

BuildSpriteCss() public method

public BuildSpriteCss ( string source ) : string
source string
return string

BuildUrl() public method

public BuildUrl ( ) : string
return string

BuildUrl() public method

public BuildUrl ( string source ) : string
source string
return string

BuildVideoTag() public method

Builds a video tag for embedding in a web view.
public BuildVideoTag ( string source ) : IHtmlString
source string A Cloudinary public ID or file name or a reference to a resource.
return IHtmlString

BuildVideoTag() public method

Builds a video tag for embedding in a web view.
public BuildVideoTag ( string source, StringDictionary dict = null ) : IHtmlString
source string A Cloudinary public ID or file name or a reference to a resource.
dict StringDictionary Additional parameters.
return IHtmlString

BuildVideoTag() public method

public BuildVideoTag ( string source ) : string
source string
return string

BuildVideoTag() public method

public BuildVideoTag ( string source, StringDictionary dict = null ) : string
source string
dict StringDictionary
return string

CName() public method

public CName ( string cName ) : Url
cName string
return Url

CSubDomain() public method

public CSubDomain ( bool useSubDomain ) : Url
useSubDomain bool
return Url

Clone() public method

Creates a new object that is a deep copy of the current instance.
public Clone ( ) : Url
return Url

CloudName() public method

public CloudName ( string cloudName ) : Url
cloudName string
return Url

CloudinaryAddr() public method

public CloudinaryAddr ( string cloudinaryAddr ) : Url
cloudinaryAddr string
return Url

FallbackContent() public method

public FallbackContent ( string fallbackContent ) : Url
fallbackContent string
return Url

Format() public method

public Format ( string format ) : Url
format string
return Url

Poster() public method

public Poster ( object poster ) : Url
poster object
return Url

PosterSource() public method

public PosterSource ( string source ) : Url
source string
return Url

PosterTransform() public method

public PosterTransform ( Transformation transformation ) : Url
transformation Transformation
return Url

PosterUrl() public method

public PosterUrl ( Url url ) : Url
url Url
return Url

PrivateCdn() public method

public PrivateCdn ( bool usePrivateCdn ) : Url
usePrivateCdn bool
return Url

ResourceType() public method

public ResourceType ( string resourceType ) : Url
resourceType string
return Url

Secure() public method

public Secure ( bool secure = true ) : Url
secure bool
return Url

SecureDistribution() public method

public SecureDistribution ( string privateCdn ) : Url
privateCdn string
return Url

Shorten() public method

public Shorten ( bool shorten ) : Url
shorten bool
return Url

Signed() public method

public Signed ( bool signed ) : Url
signed bool
return Url

Source() public method

A Cloudinary public ID or file name or a reference to a resource.
public Source ( string source ) : Url
source string
return Url

SourceTransformationFor() public method

public SourceTransformationFor ( string source, Transformation transform ) : Url
source string
transform Transformation
return Url

SourceTypes() public method

public SourceTypes ( ) : Url
return Url

Suffix() public method

public Suffix ( string suffix ) : Url
suffix string
return Url

Transform() public method

public Transform ( Transformation transformation ) : Url
transformation Transformation
return Url

Url() public method

public Url ( string cloudName ) : System
cloudName string
return System

Url() public method

public Url ( string cloudName, ISignProvider signProvider ) : System
cloudName string
signProvider ISignProvider
return System

UseRootPath() public method

public UseRootPath ( bool useRootPath ) : Url
useRootPath bool
return Url

Version() public method

public Version ( string version ) : Url
version string
return Url