Exemple #1
0
        public NAW this[int index]
        {
            get
            {
                if (_array != null && Logger.Instance.Enabled)
                {
                    Logger.Instance.Log(
                        LogItem.GetItem(index, _array[index])
                        );
                }
                return(_array[index]);
            }
            set
            {
                if (_array != null && Logger.Instance.Enabled)
                {
                    Logger.Instance.Log(LogItem.SetItem(index, _array[index], value));
                }

                _array[index] = value;
            }
        }