C# Class Yodiwo.API.Plegma.BinaryResourceDescriptor

Descriptor of a binary resource.
Afficher le fichier Open project: yodiwo/plegma Class Usage Examples

Méthodes publiques

Свойство Type Description
ContentDescriptorJson string
ContentType eBinaryResourceContentType
FriendlyDescription string
FriendlyName string
Key string
LocationDescriptorJson string
LocationType eBinaryResourceLocationType
Size long

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public BinaryResourceDescriptor ( ) : Newtonsoft.Json
Résultat Newtonsoft.Json

BinaryResourceDescriptor() public méthode

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
Résultat Newtonsoft.Json

IsImage() public méthode

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

Update() public méthode

public Update ( BinaryResourceDescriptor brd ) : void
brd BinaryResourceDescriptor
Résultat void

Property Details

ContentDescriptorJson public_oe property

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

ContentType public_oe property

public eBinaryResourceContentType ContentType
Résultat eBinaryResourceContentType

FriendlyDescription public_oe property

public string FriendlyDescription
Résultat string

FriendlyName public_oe property

public string FriendlyName
Résultat string

Key public_oe property

public string Key
Résultat string

LocationDescriptorJson public_oe property

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

LocationType public_oe property

public eBinaryResourceLocationType LocationType
Résultat eBinaryResourceLocationType

Size public_oe property

public long Size
Résultat long