Class NFTDataItem
Item in the NFT gallery. It is usually some image with tags
Inheritance
System.Object
NFTDataItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.NFT.Dto
Assembly: VEDriversLite.dll
Syntax
public class NFTDataItem
Properties
| Improve this Doc View SourceBase64Data
Loaded data as Base64 string
Declaration
[JsonIgnore]
public string Base64Data { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Data
Loaded data as byte array
Declaration
[JsonIgnore]
public byte[] Data { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Hash
Hash of the transaction
Declaration
public string Hash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsMain
Display flag for UI
Declaration
public bool IsMain { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Storage
Type of the storage where the data are stored. Usually it is IPFS.
Declaration
public DataItemStorageType Storage { get; set; }
Property Value
Type | Description |
---|---|
DataItemStorageType |
TagsList
Parsed tags from the TagsList
Declaration
public List<string> TagsList { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Type
Type of the item
Declaration
public DataItemType Type { get; set; }
Property Value
Type | Description |
---|---|
DataItemType |
Methods
| Improve this Doc View SourceGetItemType(String)
Declaration
public static DataItemType GetItemType(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename |
Returns
Type | Description |
---|---|
DataItemType |