Exemplo n.º 1
0
        public static NsConnection LogTo(this NsConnection connection, Action <string> logger)
        {
            Validate.NotNull(connection, nameof(connection));
            Validate.NotNull(logger, nameof(logger));

            connection.Log = logger;
            return(connection);
        }
Exemplo n.º 2
0
 internal NsDatabase(NsConnection connection, string name)
 {
     Connection = connection;
     Name       = name;
 }