コード例 #1
0
        /// <inheritdoc />
        public virtual void Set <T>(string key, T value, string comment = "") where T : IConvertible
        {
            ValueCommentPair buffer = new ValueCommentPair(value.ToString(CultureInfo.InvariantCulture), comment);

            _vcPairs[key] = buffer;

            OnKeySet(this, key, buffer.Value, buffer.Comment);
            KeySet?.Invoke(this, key, buffer.Value, buffer.Comment);
        }