public LoggerLevelMap(LoggerLevelMap <T> copyFrom) { if (copyFrom == null) { throw new ArgumentNullException("copyFrom"); } CopyBuffer(copyFrom); }
// Object overrides public override bool Equals(object obj) { LoggerLevelMap <T> other = obj as LoggerLevelMap <T>; if (other == null) { return(false); } return(this.values.SequenceEqual(other.values)); }
private void CopyBuffer(LoggerLevelMap <T> copyFrom) { Array.Copy(copyFrom.values, this.values, this.values.Length); }
public LoggerLevels(LoggerLevelMap <bool> copyFrom) : base(copyFrom) { MakeReadOnly(); }