Plegma API
v2
|
Descriptor of a binary resource. More...
Public Member Functions | |
BinaryResourceDescriptor (string name, eBinaryResourceContentType contentType, eBinaryResourceLocationType locationType, ContentDescriptor contentDescriptor, LocationDescriptor locationDescriptor, int size=0, string description="") | |
bool | IsImage () |
Return true if this binary resource is image, elsewhere return false More... | |
void | Update (BinaryResourceDescriptor brd) |
Public Attributes | |
string | Key |
string | FriendlyName |
string | FriendlyDescription |
long | Size |
eBinaryResourceContentType | ContentType |
eBinaryResourceLocationType | LocationType |
string | ContentDescriptorJson |
Json-encoded Content descriptor (a class that derives from ContentDescriptor) More... | |
string | LocationDescriptorJson |
Json-encoded Location descriptor (a class that derives from LocationDescriptor) More... | |
Properties | |
object | ContentDescriptor [get, set] |
object | LocationDescriptor [get, set] |
Descriptor of a binary resource.
bool Yodiwo.API.Plegma.BinaryResourceDescriptor.IsImage | ( | ) |
Return true if this binary resource is image, elsewhere return false
void Yodiwo.API.Plegma.BinaryResourceDescriptor.Update | ( | BinaryResourceDescriptor | brd | ) |
brd |
string Yodiwo.API.Plegma.BinaryResourceDescriptor.ContentDescriptorJson |
Json-encoded Content descriptor (a class that derives from ContentDescriptor)
string Yodiwo.API.Plegma.BinaryResourceDescriptor.LocationDescriptorJson |
Json-encoded Location descriptor (a class that derives from LocationDescriptor)