示例#1
0
        public static void SetFixedLengthRecordField(this ChoIniFile @this, string fieldName, string value)
        {
            ChoGuard.ArgumentNotNullOrEmpty(fieldName, "FieldName");
            fieldName = fieldName.Trim();

            @this.OpenFixedLengthRecordFieldSection().SetValue(fieldName, value);
        }
示例#2
0
 public static string GetFixedLengthRecordField(this ChoIniFile @this, string fieldName)
 {
     ChoGuard.ArgumentNotNullOrEmpty(fieldName, "FieldName");
     fieldName = fieldName.Trim();
     return(@this.OpenFixedLengthRecordFieldSection().GetValue <string>(fieldName));
 }