changedvaluepair!1.cs

来自「破解的飞信源代码」· CS 代码 · 共 34 行

CS
34
字号
namespace Imps.Client.Core
{
    using System;

    public class ChangedValuePair<T>
    {
        private readonly T _new;
        private readonly T _old;

        public ChangedValuePair(T oldVal, T newVal)
        {
            this._old = oldVal;
            this._new = newVal;
        }

        public T NewValue
        {
            get
            {
                return this._new;
            }
        }

        public T OldValue
        {
            get
            {
                return this._old;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?