internal static string ToSerializedValue(this SortDirection?value) { return(value?.ToSerializedValue()); }