public static ToSortOption ( this desc ) : |
||
desc | this | |
return |
public static SortOption ToSortOption(this SortDescription desc)
{
return new SortOption { Direction = desc.Direction, Column = desc.PropertyName };
}
}