public ColumnSorterKeyImp( // 識別文字列 String DescriptionName, // 対象ソート種別 ColumnSorterType ColumnSorterType = ColumnSorterType.Asc ) { this.DescriptionName = DescriptionName; this.ColumnSorterType = ColumnSorterType; }
public static string ToStringEx(this ColumnSorterType data) { switch (data) { case ColumnSorterType.Asc: return("asc"); case ColumnSorterType.Desc: return("desc"); default: throw new ArgumentException(); } }
public ColumnSorterKey( String DescriptionName, ColumnSorterType ColumnSorterType = ColumnSorterType.Asc) : base(DescriptionName, ColumnSorterType) { }