protected AbstractConnection(Guid?guid = null)
        {
            mDisposeLock = new object();

            Guid       = guid ?? Guid.NewGuid();
            Statistics = new ConnectionStatistics();
        }
Beispiel #2
0
        protected AbstractConnection(Guid?guid = null)
        {
            if (!guid.HasValue)
            {
                guid = Guid.NewGuid();
            }

            Guid       = guid.Value;
            Statistics = new ConnectionStatistics();
        }