Generated by DocFX

Class ActiveTab

Active tab is able to load the Address and its NFTs

Inheritance
System.Object
ActiveTab
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.Bookmarks
Assembly: VEDriversLite.dll
Syntax
public class ActiveTab

Constructors

| Improve this Doc View Source

ActiveTab()

Basic constructor

Declaration
public ActiveTab()
| Improve this Doc View Source

ActiveTab(String)

Basic constructor witch will load address and shortaddress

Declaration
public ActiveTab(string address)
Parameters
Type Name Description
System.String address

Fields

| Improve this Doc View Source

ReceivedPayments

Loaded list of the received payments NFTs of the address

Declaration
[JsonIgnore]
public ConcurrentDictionary<string, INFT> ReceivedPayments
Field Value
Type Description
System.Collections.Concurrent.ConcurrentDictionary<System.String, INFT>

Properties

| Improve this Doc View Source

Address

Address loaded in this ActiveTab

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

BookmarkFromAccount

Loaded Bookmark data

Declaration
[JsonIgnore]
public Bookmark BookmarkFromAccount { get; set; }
Property Value
Type Description
Bookmark
| Improve this Doc View Source

CanLoadMore

Tab loads just 40 NFTs. if it can load more, this is true

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

IsInBookmark

Flag if the Address is in the bookmark - then it has Bookmark dto loaded

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

IsRefreshingRunning

Indicate if the autorefresh is running

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

MaxLoadedNFTItems

Limit of the maximum loaded items in the Active Tab

Declaration
public int MaxLoadedNFTItems { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NFTs

List of the loaded NFTs of the Address

Declaration
[JsonIgnore]
public List<INFT> NFTs { get; set; }
Property Value
Type Description
System.Collections.Generic.List<INFT>
| Improve this Doc View Source

Profile

Profile NFT of the Address

Declaration
[JsonIgnore]
public ProfileNFT Profile { get; set; }
Property Value
Type Description
ProfileNFT
| Improve this Doc View Source

Selected

Info if the Tab is selected - this is set by Start or Stop functions internally

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

ShortAddress

Shorten version of the address - just help for UI

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

UtxosList

List of the loaded Utxos of the Address

Declaration
[JsonIgnore]
public ICollection<Utxos> UtxosList { get; set; }
Property Value
Type Description
System.Collections.Generic.ICollection<Utxos>

Methods

| Improve this Doc View Source

ClearBookmark()

Clear the Bookmark data in ActiveTab

Declaration
public void ClearBookmark()
| Improve this Doc View Source

LoadBookmark(Bookmark)

Load Bookmark data into ActiveTab class when some bookmark is found in another storage (for example NeblioAccount class)

Declaration
public void LoadBookmark(Bookmark bkm)
Parameters
Type Name Description
Bookmark bkm
| Improve this Doc View Source

RefreshAddressReceivedPayments()

This function will search NFT Payments in the NFTs list and load them into ReceivedPayments list. This list is cleared at the start of this function

Declaration
public async Task RefreshAddressReceivedPayments()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

Reload(Boolean)

Reload Address Utxos and refresh the NFT list

Declaration
public async Task Reload(bool withoutMessages = true)
Parameters
Type Name Description
System.Boolean withoutMessages
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

StartRefreshing(Double, Boolean, Boolean)

Start Automated refreshing

Declaration
public async Task StartRefreshing(double interval = 5000, bool withoutMessages = true, bool withCahePreload = true)
Parameters
Type Name Description
System.Double interval

basic refresh interval

System.Boolean withoutMessages

dont load the NFT Messages

System.Boolean withCahePreload

Activate preload

Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

StopRefreshing()

Stop automated refreshing

Declaration
public void StopRefreshing()
| Improve this Doc View Source

TxCashPreload()

This is same function as in NeblioAcocuntBase - TODO merge them to one common function This will make loading of the tab much faster

Declaration
public async Task TxCashPreload()
Returns
Type Description
System.Threading.Tasks.Task

Events

| Improve this Doc View Source

FirsLoadingStatus

This event is called during first loading of the account to keep updated the user

Declaration
public event EventHandler<string> FirsLoadingStatus
Event Type
Type Description
System.EventHandler<System.String>
| Improve this Doc View Source

NFTAddedToPayments

This event is fired whenever some NFT is in received payment too and it should be blocked for any further action. It provides Utxo and UtxoIndex as touple.

Declaration
public event EventHandler<(string, int)> NFTAddedToPayments
Event Type
Type Description
System.EventHandler<System.ValueTuple<System.String, System.Int32>>
| Improve this Doc View Source

NFTsChanged

This event is called whenever the list of NFTs is changed

Declaration
public event EventHandler<string> NFTsChanged
Event Type
Type Description
System.EventHandler<System.String>
| Improve this Doc View Source

ProfileUpdated

This event is called whenever profile nft is updated or found

Declaration
public event EventHandler<INFT> ProfileUpdated
Event Type
Type Description
System.EventHandler<INFT>