Method | Description | |
---|---|---|
ContainsKey ( System.Guid id ) : bool |
Gets whether the current thumbnail collection contains a thumbnail for the given thumbnail id.
|
|
ContainsKey ( string type ) : bool |
Gets whether the current thumbnail collection contains a thumbnail for the given mime-type.
|
|
GetById ( System.Guid id ) : string |
Gets the resource path for the thumbnail with the given id.
|
|
GetByType ( string type ) : string |
Gets the resource path fo the thumbnail with the given mime-type.
|
|
GetIdByType ( string type ) : System.Guid |
Gets the internal thumbnail id for the given mime-type.
|
Method | Description | |
---|---|---|
Add ( System.Guid id, string type, string thumbnail ) : void |
Adds a thumbnail resource with the given id and mime-type.
|
|
Ensure ( ) : void |
Ensures that the thumbnail collection is created.
|
public static ContainsKey ( System.Guid id ) : bool | ||
id | System.Guid | The id |
return | bool |
public static ContainsKey ( string type ) : bool | ||
type | string | The mime-type |
return | bool |
public static GetById ( System.Guid id ) : string | ||
id | System.Guid | The id |
return | string |
public static GetByType ( string type ) : string | ||
type | string | The mime-type |
return | string |
public static GetIdByType ( string type ) : System.Guid | ||
type | string | The mime-type |
return | System.Guid |