Class CoruzantBrowser
Class which loads just Coruzant NFTs on specific address It can handle multiple addresses like browser
Inheritance
System.Object
CoruzantBrowser
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.Coruzant
Assembly: VEDriversLite.dll
Syntax
public class CoruzantBrowser
Properties
| Improve this Doc View SourceCoruzantContentAddresses
Addresses to load NFTs from
Declaration
public List<CoruzantContentAddressDto> CoruzantContentAddresses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CoruzantContentAddressDto> |
Tabs
List of loaded tabs with NFTs
Declaration
public List<CoruzantTab> Tabs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<CoruzantTab> |
Methods
| Improve this Doc View SourceAddTab(String)
Add new tab based on some Neblio address
Declaration
public async Task<(bool, string)> AddTab(string address)
Parameters
Type | Name | Description |
---|---|---|
System.String | address |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>> | true and string with serialized tabs list as json string |
LoadCoruzantContentAddresses()
Return list of available Coruzant Content Addresses
Declaration
public async Task LoadCoruzantContentAddresses()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
LoadTabs(String)
Load tabs from previous serialized string.
Declaration
public async Task<string> LoadTabs(string tabs)
Parameters
Type | Name | Description |
---|---|---|
System.String | tabs | List of ActiveTabs as json string |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |
RemoveTab(String)
Remove tab by Neblio address if exists in the tabs
Declaration
public async Task<(bool, string)> RemoveTab(string address)
Parameters
Type | Name | Description |
---|---|---|
System.String | address | Neblio Address which tab should be removed |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>> | true and string with serialized tabs list as json string |
SelectTab(String)
Select the tab - it will set one selected tab to the Selected=true and others will set false
Declaration
public async Task SelectTab(string address)
Parameters
Type | Name | Description |
---|---|---|
System.String | address |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
SerializeTabs()
Return serialized list of ActiveTabs as Json stirng
Declaration
public async Task<string> SerializeTabs()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> |