Пример #1
0
        public void Dispose()
        {
            if (propertyName != null)
                this.Unset(propertyName);

            if (parent != null)
            {
                parent.Dispose();
                parent = null;
            }
        }
Пример #2
0
 public LogProps Set(string propertyName, object propertyValue)
 {
     LogProps p = new LogProps(this.logger, propertyName, propertyValue);
     p.parent = this;
     return p;
 }