C# Класс OnlineVideos.Hoster.HosterBase

The abstract base class for all hosters. Instances might be hosted in a seperate AppDomain than the main application, so it can be unloaded at runtime.
Наследование: UserConfigurable
Показать файл Открыть проект

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

Метод Описание
GetHosterUrl ( ) : string
GetPlaybackOptions ( string url ) : string>.Dictionary
GetPlaybackOptions ( string url, System proxy ) : string>.Dictionary
GetVideoUrl ( string url ) : string
Initialize ( ) : void

You should always call this implementation, even when overriding it. It is called after the instance has been created in order to configure settings from the xml for this hoster.

Matches ( string name ) : bool
ToString ( ) : string

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

Метод Описание
GetConfigurationKey ( string fieldName ) : string

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

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

public abstract GetHosterUrl ( ) : string
Результат string

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

public GetPlaybackOptions ( string url ) : string>.Dictionary
url string
Результат string>.Dictionary

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

public GetPlaybackOptions ( string url, System proxy ) : string>.Dictionary
url string
proxy System
Результат string>.Dictionary

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

public abstract GetVideoUrl ( string url ) : string
url string
Результат string

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

You should always call this implementation, even when overriding it. It is called after the instance has been created in order to configure settings from the xml for this hoster.
public Initialize ( ) : void
Результат void

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

public Matches ( string name ) : bool
name string
Результат bool

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

public ToString ( ) : string
Результат string