This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Tab { Summary, Allocation, Transaction } | |
enum Range { All, YtD, MtD, D } | |
enum Role { RM, User } | |
class AssetManager {} | |
class Account {} | |
class OverviewModel | |
{ | |
struct FetchRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum TransactionStatus { Pending, Mined } | |
public enum Network { Bitcoin, Ethereum } | |
public class TransactionDto | |
{ | |
public string Id { get; set; } | |
public DateTime Timestamp { get; set; } | |
public decimal Amount { get; set; } | |
public TransactionStatus Status { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum Network { Bitcoin, Ethereum } | |
//This interface hides ethereum/bitcoin inconsistencies and provides unified interface to view model. | |
//This make sense only until ETH/BTC has very similar UI and workflow. | |
//This interface is private to SendViewModel since it is designed with it specific tasks in mind. | |
interface ISendRequest | |
{ | |
decimal AvailableFunds { get; } | |
string Recipient { get; set; } | |
decimal Fee { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum Network { Bitcoin, Ethereum } | |
public interface IWeakListener | |
{ | |
void OnMessage(Notification notification); | |
} | |
public interface ISendStrategy | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum Network { Bitcoin, Ethereum } | |
public interface IWeakListener | |
{ | |
void OnMessage(Notification notification); | |
} | |
public class SendModel : DataContext, IWeakListener | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Register("AppDelegate")] | |
public class AppDelegate : UIApplicationDelegate | |
{ | |
public override UIWindow Window | |
{ | |
get; | |
set; | |
} | |
public EmbeddedSafariLoginPage LoginPage { get; private set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using Qoden.Util; | |
using Qoden.Validation; | |
namespace Qoden.UI | |
{ | |
public enum LinearLayoutDirection | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using Qoden.Util; | |
using Qoden.Validation; | |
namespace Qoden.UI | |
{ | |
public enum LinearLayoutDirection | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if __IOS__ | |
using PlatformView = UIKit.UIView; | |
using PlatformViewGroup = UIKit.UIView; | |
using PlatformTextArea = UIKit.UITextView; | |
#endif | |
#if __ANDROID__ | |
using PlatformView = Android.Views.View; | |
using PlatformViewGroup = Android.Views.ViewGroup; | |
using PlatformTextArea = Android.Widgets.EditText; | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Runtime.Serialization; | |
using System.Threading.Tasks; | |
using Avend.API.Infrastructure; | |
using Avend.API.Infrastructure.Validation; | |
using Avend.API.Model; | |
using Avend.API.Services.Profile; | |
using Avend.API.Validation.Util; | |
using Microsoft.EntityFrameworkCore; |