Generated by DocFX

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 Source

Base64Data

Loaded data as Base64 string

Declaration
[JsonIgnore]
public string Base64Data { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Data

Loaded data as byte array

Declaration
[JsonIgnore]
public byte[] Data { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

Hash

Hash of the transaction

Declaration
public string Hash { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsMain

Display flag for UI

Declaration
public bool IsMain { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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
| Improve this Doc View Source

TagsList

Parsed tags from the TagsList

Declaration
public List<string> TagsList { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

Type

Type of the item

Declaration
public DataItemType Type { get; set; }
Property Value
Type Description
DataItemType

Methods

| Improve this Doc View Source

GetItemType(String)

Declaration
public static DataItemType GetItemType(string filename)
Parameters
Type Name Description
System.String filename
Returns
Type Description
DataItemType