//──────────────────────────────────────── #endregion #region アクション //──────────────────────────────────────── public void Set(string sName, EnumTypedb enum_Typedb, object value, Log_Reports log_Reports) { if (this.Dictionary_Field.ContainsKey(sName)) { //todo:この連想配列は大文字小文字を区別しないので不具合を起こす可能性がある。 this.Dictionary_Field[sName] = new FieldUserformtableImpl(sName, enum_Typedb, value); } else { this.Dictionary_Field.Add(sName, new FieldUserformtableImpl(sName, enum_Typedb, value)); } }
//──────────────────────────────────────── /// <summary> /// コンストラクター。 /// </summary> public FieldUserformtableImpl(string sName, EnumTypedb enum_Typedb, object data) { this.name = sName; this.enumTypedb = enum_Typedb; this.data = data; }
//──────────────────────────────────────── public void Set(string sName, EnumTypedb enum_Typedb, object value, Log_Reports log_Reports) { if (this.Dictionary_Field.ContainsKey(sName)) { //todo:この連想配列は大文字小文字を区別しないので不具合を起こす可能性がある。 this.Dictionary_Field[sName] = new FieldUserformtableImpl(sName, enum_Typedb, value); } else { this.Dictionary_Field.Add(sName, new FieldUserformtableImpl(sName, enum_Typedb, value)); } }
//──────────────────────────────────────── /// <summary> /// コンストラクター。 /// </summary> public FieldUserformtableImpl(string sName, EnumTypedb enum_Typedb, object data) { this.name = sName; this.enumTypedb = enum_Typedb; this.data = data; }
//──────────────────────────────────────── /// <summary> /// コンストラクター。 /// </summary> public FieldUserformtableImpl() { this.name = ""; this.enumTypedb = EnumTypedb.Another; }