C# Класс Composite.Core.WebClient.BrowserRender

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
BrowserRender System
CheckServerAvailabilityAsync System.Threading.Tasks.Task
ClearCacheInt void
GetAuthenticationCookies System.Web.HttpCookie[]
GetCacheFolder string
MakePreviewRequestAsync Task
RecycleIfNotUsed void
SetupRecycleTimer void
ShutdownPhantomJsExeSilent void

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

Метод Описание
ClearCache ( string renderingMode ) : void
EnsureReadiness ( ) : void

Ensures that the BrowserRenderer service is launched, without blocking the current thread

GetLastCacheUpdateTime ( string mode ) : System.DateTime
RenderUrlAsync ( HttpContext context, string url, string mode ) : Task

Renders a url and return a full path to a rendered image, or null when rendering process is failing or inaccessible.

Приватные методы

Метод Описание
BrowserRender ( ) : System
CheckServerAvailabilityAsync ( HttpContext context, System.Web.HttpCookie cookies ) : System.Threading.Tasks.Task
ClearCacheInt ( string folder ) : void
GetAuthenticationCookies ( HttpContext context ) : System.Web.HttpCookie[]
GetCacheFolder ( string mode ) : string
MakePreviewRequestAsync ( HttpContext context, string url, string outputFileName, string mode ) : Task
RecycleIfNotUsed ( ) : void
SetupRecycleTimer ( ) : void
ShutdownPhantomJsExeSilent ( ) : void

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

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

public static ClearCache ( string renderingMode ) : void
renderingMode string
Результат void

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

Ensures that the BrowserRenderer service is launched, without blocking the current thread
public static EnsureReadiness ( ) : void
Результат void

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

public static GetLastCacheUpdateTime ( string mode ) : System.DateTime
mode string
Результат System.DateTime

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

Renders a url and return a full path to a rendered image, or null when rendering process is failing or inaccessible.
public static RenderUrlAsync ( HttpContext context, string url, string mode ) : Task
context System.Web.HttpContext
url string
mode string
Результат Task