C# Class Yodiwo.API.Plegma.BinaryResourceDescriptor

Descriptor of a binary resource.
Datei anzeigen Open project: yodiwo/plegma Class Usage Examples

Public Properties

Property Type Description
ContentDescriptorJson string
ContentType eBinaryResourceContentType
FriendlyDescription string
FriendlyName string
Key string
LocationDescriptorJson string
LocationType eBinaryResourceLocationType
Size long

Private Properties

Property Type Description

Public Methods

Method Description
BinaryResourceDescriptor ( ) : Newtonsoft.Json
BinaryResourceDescriptor ( string name, eBinaryResourceContentType contentType, eBinaryResourceLocationType locationType, ContentDescriptor contentDescriptor, LocationDescriptor locationDescriptor, int size, string description = "" ) : Newtonsoft.Json
IsImage ( ) : bool

Return true if this binary resource is image, elsewhere return false

Update ( BinaryResourceDescriptor brd ) : void

Method Details

BinaryResourceDescriptor() public method

public BinaryResourceDescriptor ( ) : Newtonsoft.Json
return Newtonsoft.Json

BinaryResourceDescriptor() public method

public BinaryResourceDescriptor ( string name, eBinaryResourceContentType contentType, eBinaryResourceLocationType locationType, ContentDescriptor contentDescriptor, LocationDescriptor locationDescriptor, int size, string description = "" ) : Newtonsoft.Json
name string
contentType eBinaryResourceContentType
locationType eBinaryResourceLocationType
contentDescriptor ContentDescriptor
locationDescriptor LocationDescriptor
size int
description string
return Newtonsoft.Json

IsImage() public method

Return true if this binary resource is image, elsewhere return false
public IsImage ( ) : bool
return bool

Update() public method

public Update ( BinaryResourceDescriptor brd ) : void
brd BinaryResourceDescriptor
return void

Property Details

ContentDescriptorJson public_oe property

Json-encoded Content descriptor (a class that derives from ContentDescriptor)
public string ContentDescriptorJson
return string

ContentType public_oe property

public eBinaryResourceContentType ContentType
return eBinaryResourceContentType

FriendlyDescription public_oe property

public string FriendlyDescription
return string

FriendlyName public_oe property

public string FriendlyName
return string

Key public_oe property

public string Key
return string

LocationDescriptorJson public_oe property

Json-encoded Location descriptor (a class that derives from LocationDescriptor)
public string LocationDescriptorJson
return string

LocationType public_oe property

public eBinaryResourceLocationType LocationType
return eBinaryResourceLocationType

Size public_oe property

public long Size
return long