Ejemplo n.º 1
0
        /// <summary>
        /// Wallet Constructor
        /// </summary>
        /// <param name="config">the Configuration paramaters for the endpoint and ports</param>
        public Transaction(IConfig config) : base(config)
        {
            Config = config;
            var assemblyname = Assembly.GetExecutingAssembly().GetName().Name;

            _logger = new Logger(config, assemblyname);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Data object constructor
        /// </summary>
        /// <param name="config">the Configuration paramaters for the endpoint and ports</param>
        public Data(IConfig config) : base(config)
        {
            var assemblyname = Assembly.GetExecutingAssembly().GetName().Name;

            _logger = new Logger(config, LoggingType.Server, assemblyname);
        }