C# Class OnlineVideos.MediaPortal2.ResourceAccess.RawTokenResourceProvider

Resource provider implementation for token resources. A token can be any kind of string identifier and doesn't require a specific format.
Inheritance: IBaseResourceProvider
ファイルを表示 Open project: offbyoneBB/mp-onlinevideos2

Public Properties

Property Type Description
RAW_TOKEN_RESOURCE_PROVIDER_ID System.Guid

Protected Properties

Property Type Description
_metadata MediaPortal.Common.MediaManagement.ResourceProviderMetadata

Public Methods

Method Description
ExpandResourcePathFromString ( string pathStr ) : ResourcePath
IsResource ( string url ) : bool
RawTokenResourceProvider ( ) : System
ToProviderResourcePath ( string path ) : ResourcePath
TryCreateResourceAccessor ( string path, IResourceAccessor &result ) : bool

Method Details

ExpandResourcePathFromString() public method

public ExpandResourcePathFromString ( string pathStr ) : ResourcePath
pathStr string
return ResourcePath

IsResource() public method

public IsResource ( string url ) : bool
url string
return bool

RawTokenResourceProvider() public method

public RawTokenResourceProvider ( ) : System
return System

ToProviderResourcePath() public static method

public static ToProviderResourcePath ( string path ) : ResourcePath
path string
return ResourcePath

TryCreateResourceAccessor() public method

public TryCreateResourceAccessor ( string path, IResourceAccessor &result ) : bool
path string
result IResourceAccessor
return bool

Property Details

RAW_TOKEN_RESOURCE_PROVIDER_ID public_oe static_oe property

Raw token resource provider GUID.
public static Guid,System RAW_TOKEN_RESOURCE_PROVIDER_ID
return System.Guid

_metadata protected_oe property

protected ResourceProviderMetadata,MediaPortal.Common.MediaManagement _metadata
return MediaPortal.Common.MediaManagement.ResourceProviderMetadata