Class Converter
public static class Converter
- Inheritance
-
Converter
- Inherited Members
Properties
GetAllEqualsToVisible
public static MultiConverterBase<object, Visibility> GetAllEqualsToVisible { get; }
Property Value
GetAllFile
public static ConverterBase<string, List<string>> GetAllFile { get; }
Property Value
GetAllTrueToVisible
public static MultiConverterBase<bool, Visibility> GetAllTrueToVisible { get; }
Property Value
GetBoolNullAndTrueToVisble
public static ConverterBase<bool?, Visibility> GetBoolNullAndTrueToVisble { get; }
Property Value
GetBoolNullBrushDefaultGray
public static ConverterBase<bool?, Brush> GetBoolNullBrushDefaultGray { get; }
Property Value
GetBoolNullFalseToVisble
public static ConverterBase<bool?, Visibility> GetBoolNullFalseToVisble { get; }
Property Value
GetBoolenBrush
public static ConverterBase<bool, Brush> GetBoolenBrush { get; }
Property Value
GetBoolenNullBrush
public static ConverterBase<bool?, Brush> GetBoolenNullBrush { get; }
Property Value
GetBoolenNullToConnectState
public static ConverterBase<bool?, string> GetBoolenNullToConnectState { get; }
Property Value
GetBoolenToConnectState
public static ConverterBase<bool, string> GetBoolenToConnectState { get; }
Property Value
GetBoolenToPassState
public static ConverterBase<bool, string> GetBoolenToPassState { get; }
Property Value
GetChangeExtension
public static ConverterBase<string, string, string> GetChangeExtension { get; }
Property Value
GetColorToSolidColorBrush
public static ConverterBase<Color, SolidColorBrush> GetColorToSolidColorBrush { get; }
Property Value
GetCommandDisplayers
public static ConverterBase<object, IList<Displayer<ICommand>>> GetCommandDisplayers { get; }
Property Value
GetComparable
public static ConverterBase<IComparable, IComparable, int> GetComparable { get; }
Property Value
GetComparableAllTrueToVisible
public static MultiConverterBase<IComparable, Visibility> GetComparableAllTrueToVisible { get; }
Property Value
GetDateTimeParseExact
public static ConverterBase<string, DateTime> GetDateTimeParseExact { get; }
Property Value
GetDateTimeToAddDays
public static ConverterBase<DateTime, double, DateTime> GetDateTimeToAddDays { get; }
Property Value
GetDateTimeToAddHours
public static ConverterBase<DateTime, double, DateTime> GetDateTimeToAddHours { get; }
Property Value
GetDateTimeToAddMilliseconds
public static ConverterBase<DateTime, double, DateTime> GetDateTimeToAddMilliseconds { get; }
Property Value
GetDateTimeToAddMonths
public static ConverterBase<DateTime, int, DateTime> GetDateTimeToAddMonths { get; }
Property Value
GetDateTimeToAddSeconds
public static ConverterBase<DateTime, double, DateTime> GetDateTimeToAddSeconds { get; }
Property Value
GetDateTimeToAddTicks
public static ConverterBase<DateTime, long, DateTime> GetDateTimeToAddTicks { get; }
Property Value
GetDateTimeToAddYears
public static ConverterBase<DateTime, int, DateTime> GetDateTimeToAddYears { get; }
Property Value
GetDateTimeToDate
public static ConverterBase<DateTime, DateTime> GetDateTimeToDate { get; }
Property Value
GetDateTimeToDateString
public static ConverterBase<DateTime, string> GetDateTimeToDateString { get; }
Property Value
GetDateTimeToString
public static ConverterBase<DateTime, string> GetDateTimeToString { get; }
Property Value
GetDateTimeToTicks
public static ConverterBase<DateTime, long> GetDateTimeToTicks { get; }
Property Value
GetDiaplayDescription
public static ConverterBase<object, string> GetDiaplayDescription { get; }
Property Value
GetDiaplayName
public static ConverterBase<object, string> GetDiaplayName { get; }
Property Value
GetDirectoryCreationTime
public static ConverterBase<string, DateTime> GetDirectoryCreationTime { get; }
Property Value
GetDirectoryDirectories
public static ConverterBase<string, string[]> GetDirectoryDirectories { get; }
Property Value
GetDirectoryExists
public static ConverterBase<string, bool> GetDirectoryExists { get; }
Property Value
GetDirectoryFileSystemEntries
public static ConverterBase<string, string[]> GetDirectoryFileSystemEntries { get; }
Property Value
GetDirectoryFiles
public static ConverterBase<string, string[]> GetDirectoryFiles { get; }
Property Value
GetDirectoryLastAccessTime
public static ConverterBase<string, DateTime> GetDirectoryLastAccessTime { get; }
Property Value
GetDirectoryLastWriteTime
public static ConverterBase<string, DateTime> GetDirectoryLastWriteTime { get; }
Property Value
GetDirectoryName
public static ConverterBase<string, string> GetDirectoryName { get; }
Property Value
GetDirectoryParent
public static ConverterBase<string, DirectoryInfo> GetDirectoryParent { get; }
Property Value
GetDoubleToCornerRadius
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadius { get; }
Property Value
GetDoubleToCornerRadiusBottm
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusBottm { get; }
Property Value
GetDoubleToCornerRadiusLeft
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusLeft { get; }
Property Value
GetDoubleToCornerRadiusLeftBottom
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusLeftBottom { get; }
Property Value
GetDoubleToCornerRadiusLeftTop
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusLeftTop { get; }
Property Value
GetDoubleToCornerRadiusRightBottom
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusRightBottom { get; }
Property Value
GetDoubleToCornerRadiusRightTop
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusRightTop { get; }
Property Value
GetDoubleToCornerRadiusRigth
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusRigth { get; }
Property Value
GetDoubleToCornerRadiusTop
public static ConverterBase<double, CornerRadius> GetDoubleToCornerRadiusTop { get; }
Property Value
GetExtension
public static ConverterBase<string, string> GetExtension { get; }
Property Value
GetFalse
public static ConverterBase<object, bool> GetFalse { get; }
Property Value
GetFalseToHidden
public static ConverterBase<bool, Visibility> GetFalseToHidden { get; }
Property Value
GetFileCreationTime
public static ConverterBase<string, DateTime> GetFileCreationTime { get; }
Property Value
GetFileExists
public static ConverterBase<string, bool> GetFileExists { get; }
Property Value
GetFileFileAttributes
public static ConverterBase<string, FileAttributes> GetFileFileAttributes { get; }
Property Value
GetFileImageSource
public static ConverterBase<string, ImageSource> GetFileImageSource { get; }
Property Value
GetFileImageSourceInMemory
public static ConverterBase<string, int, ImageSource> GetFileImageSourceInMemory { get; }
Property Value
GetFileLastAccessTime
public static ConverterBase<string, DateTime> GetFileLastAccessTime { get; }
Property Value
GetFileLength
public static ConverterBase<string, long> GetFileLength { get; }
Property Value
GetFileLengthDisplay
public static ConverterBase<string, string> GetFileLengthDisplay { get; }
Property Value
GetFileName
public static ConverterBase<string, string> GetFileName { get; }
Property Value
GetFileNameWithoutExtension
public static ConverterBase<string, string> GetFileNameWithoutExtension { get; }
Property Value
GetFileReadAllText
public static ConverterBase<string, string> GetFileReadAllText { get; }
Property Value
GetFullPath
public static ConverterBase<string, string> GetFullPath { get; }
Property Value
GetGreaterThan
public static ConverterBase<double, double, bool> GetGreaterThan { get; }
Property Value
GetHasExtension
public static ConverterBase<string, bool> GetHasExtension { get; }
Property Value
GetIConvertibler
public static IConvertibleConverter GetIConvertibler { get; }
Property Value
GetIEnumerableCast
public static IEnumerableTypeConverterBase<object, int> GetIEnumerableCast { get; }
Property Value
GetIEnumerableCount
public static IEnumerableConverterBase<object, object> GetIEnumerableCount { get; }
Property Value
GetIEnumerableDistinct
public static IEnumerableTypeConverterBase<object> GetIEnumerableDistinct { get; }
Property Value
GetIEnumerableElementAt
public static IEnumerableTypeConverterBase<object, int> GetIEnumerableElementAt { get; }
Property Value
GetIEnumerableExcept
public static IEnumerableTypeConverterBase<object, IEnumerable<object>> GetIEnumerableExcept { get; }
Property Value
GetIEnumerableFirstOrDefault
public static IEnumerableConverterBase<object, object> GetIEnumerableFirstOrDefault { get; }
Property Value
GetIEnumerableLastOrDefault
public static IEnumerableConverterBase<object, object> GetIEnumerableLastOrDefault { get; }
Property Value
GetIEnumerableMax
public static IEnumerableConverterBase<object, object> GetIEnumerableMax { get; }
Property Value
GetIEnumerableMin
public static IEnumerableConverterBase<object, object> GetIEnumerableMin { get; }
Property Value
GetIEnumerablePropertyList
public static IEnumerableConverterBase<object, string, object> GetIEnumerablePropertyList { get; }
Property Value
GetIEnumerableReverse
public static IEnumerableTypeConverterBase<object> GetIEnumerableReverse { get; }
Property Value
GetIEnumerableTake
public static IEnumerableTypeConverterBase<object, int> GetIEnumerableTake { get; }
Property Value
GetImagePixelDisplay
public static ConverterBase<string, string> GetImagePixelDisplay { get; }
Property Value
GetIntBrush
public static ConverterBase<int, Brush> GetIntBrush { get; }
Property Value
GetIntLessZeroString
public static ConverterBase<int, string, string> GetIntLessZeroString { get; }
Property Value
GetIntToBoolen
public static ConverterBase<int, bool> GetIntToBoolen { get; }
Property Value
GetIntToCollapsed
public static ConverterBase<int, int, Visibility> GetIntToCollapsed { get; }
Property Value
GetIntToVisible
public static ConverterBase<int, int, Visibility> GetIntToVisible { get; }
Property Value
GetIsAbstract
public static ConverterBase<object, bool> GetIsAbstract { get; }
Property Value
GetIsArray
public static ConverterBase<object, bool> GetIsArray { get; }
Property Value
GetIsAssignableFrom
public static ConverterBase<object, Type, bool> GetIsAssignableFrom { get; }
Property Value
GetIsClass
public static ConverterBase<object, bool> GetIsClass { get; }
Property Value
GetIsEnum
public static ConverterBase<object, bool> GetIsEnum { get; }
Property Value
GetIsGenericType
public static ConverterBase<object, bool> GetIsGenericType { get; }
Property Value
GetIsValueType
public static ConverterBase<object, bool> GetIsValueType { get; }
Property Value
GetLessThan
public static ConverterBase<double, double, bool> GetLessThan { get; }
Property Value
GetListEmptyToCollapsed
public static ConverterBase<IList, Visibility> GetListEmptyToCollapsed { get; }
Property Value
GetListEmptyToVisible
public static ConverterBase<IList, Visibility> GetListEmptyToVisible { get; }
Property Value
GetMathAbs
public static ConverterBase<double, double> GetMathAbs { get; }
Property Value
GetMathAddition
public static ConverterBase<double, double, double> GetMathAddition { get; }
Property Value
GetMathCos
public static ConverterBase<double, double> GetMathCos { get; }
Property Value
GetMathExp
public static ConverterBase<double, double> GetMathExp { get; }
Property Value
GetMathFloor
public static ConverterBase<double, double> GetMathFloor { get; }
Property Value
GetMathLog
public static ConverterBase<double, double> GetMathLog { get; }
Property Value
GetMathMax
public static ConverterBase<double, double, double> GetMathMax { get; }
Property Value
GetMathMin
public static ConverterBase<double, double, double> GetMathMin { get; }
Property Value
GetMathMultiplication
public static ConverterBase<double, double, double> GetMathMultiplication { get; }
Property Value
GetMathPow
public static ConverterBase<double, double, double> GetMathPow { get; }
Property Value
GetMathRound
public static ConverterBase<double, int, double> GetMathRound { get; }
Property Value
GetMathSin
public static ConverterBase<double, double> GetMathSin { get; }
Property Value
GetMathSqrt
public static ConverterBase<double, double> GetMathSqrt { get; }
Property Value
GetMathTan
public static ConverterBase<double, double> GetMathTan { get; }
Property Value
GetNullToCollapsed
public static ConverterBase<object, Visibility> GetNullToCollapsed { get; }
Property Value
GetNullToFalse
public static ConverterBase<object, bool> GetNullToFalse { get; }
Property Value
GetNullToVisible
public static ConverterBase<object, Visibility> GetNullToVisible { get; }
Property Value
GetObjType
public static ConverterBase<object, Type> GetObjType { get; }
Property Value
GetObjTypeFullName
public static ConverterBase<object, string> GetObjTypeFullName { get; }
Property Value
GetObjTypeName
public static ConverterBase<object, string> GetObjTypeName { get; }
Property Value
GetPassStateBrush
public static ConverterBase<string, Brush> GetPassStateBrush { get; }
Property Value
GetPathRoot
public static ConverterBase<string, string> GetPathRoot { get; }
Property Value
GetSolidColorBrushToColor
public static ConverterBase<SolidColorBrush, Color> GetSolidColorBrushToColor { get; }
Property Value
GetStateBrush
public static ConverterBase<string, Brush> GetStateBrush { get; }
Property Value
GetStateColor
public static ConverterBase<string, Color> GetStateColor { get; }
Property Value
GetStringContains
public static ConverterBase<string, string, bool> GetStringContains { get; }
Property Value
GetStringEndsWith
public static ConverterBase<string, string, bool> GetStringEndsWith { get; }
Property Value
GetStringFormat
public static ConverterBase<object, string, string> GetStringFormat { get; }
Property Value
GetStringIsNullOrEmpty
public static ConverterBase<string, bool> GetStringIsNullOrEmpty { get; }
Property Value
GetStringJoin
public static ConverterBase<string[], string, string> GetStringJoin { get; }
Property Value
- ConverterBase<string[], string, string>
GetStringPadLeft
public static ConverterBase<string, int, string> GetStringPadLeft { get; }
Property Value
GetStringPadRight
public static ConverterBase<string, int, string> GetStringPadRight { get; }
Property Value
GetStringSplit
public static ConverterBase<string, char[], string[]> GetStringSplit { get; }
Property Value
- ConverterBase<string, char[], string[]>
GetStringStartsWith
public static ConverterBase<string, string, bool> GetStringStartsWith { get; }
Property Value
GetStringSubstring
public static ConverterBase<string, int, string> GetStringSubstring { get; }
Property Value
GetStringToCharArray
public static ConverterBase<string, char[]> GetStringToCharArray { get; }
Property Value
- ConverterBase<string, char[]>
GetStringToLower
public static ConverterBase<string, string> GetStringToLower { get; }
Property Value
GetStringToUpper
public static ConverterBase<string, string> GetStringToUpper { get; }
Property Value
GetStringTrim
public static ConverterBase<string, string> GetStringTrim { get; }
Property Value
GetTimeSpanStr
public static ConverterBase<TimeSpan, string> GetTimeSpanStr { get; }
Property Value
GetTimeSpanStrFromDays
public static ConverterBase<int, string> GetTimeSpanStrFromDays { get; }
Property Value
GetTimeSpanStrFromHours
public static ConverterBase<int, string> GetTimeSpanStrFromHours { get; }
Property Value
GetTimeSpanStrFromMilliseconds
public static ConverterBase<int, string> GetTimeSpanStrFromMilliseconds { get; }
Property Value
GetTimeSpanStrFromMinutes
public static ConverterBase<int, string> GetTimeSpanStrFromMinutes { get; }
Property Value
GetTimeSpanStrFromSeconds
public static ConverterBase<int, string> GetTimeSpanStrFromSeconds { get; }
Property Value
GetTimeSpanStrFromTicks
public static ConverterBase<long, string> GetTimeSpanStrFromTicks { get; }
Property Value
GetTreeViewItemContainSelected
public static ConverterBase<TreeViewItem, bool> GetTreeViewItemContainSelected { get; }
Property Value
GetTreeViewItemLevel
public static ConverterBase<TreeViewItem, int> GetTreeViewItemLevel { get; }
Property Value
GetTreeViewItemMargin
public static ConverterBase<TreeViewItem, double, Thickness> GetTreeViewItemMargin { get; }
Property Value
GetTrue
public static ConverterBase<object, bool> GetTrue { get; }
Property Value
GetTrueAllToVisible
public static MultiConverterBase<bool, Visibility> GetTrueAllToVisible { get; }
Property Value
GetTrueToCollapsed
public static ConverterBase<bool, Visibility> GetTrueToCollapsed { get; }
Property Value
GetTrueToFalse
public static ConverterBase<bool, bool> GetTrueToFalse { get; }
Property Value
GetTrueToHidden
public static ConverterBase<bool, Visibility> GetTrueToHidden { get; }
Property Value
GetTrueToVisible
public static ConverterBase<bool, Visibility> GetTrueToVisible { get; }
Property Value
GetUri
public static ConverterBase<string, Uri> GetUri { get; }
Property Value
GetUriAbsolute
public static ConverterBase<string, Uri> GetUriAbsolute { get; }
Property Value
GetUriRelative
public static ConverterBase<string, Uri> GetUriRelative { get; }
Property Value
IsInterface
public static ConverterBase<object, bool> IsInterface { get; }
Property Value
Methods
GetAllFiles(string, Predicate<FileInfo>)
获取当前文件夹下所有匹配的文件
public static List<string> GetAllFiles(this string dirPath, Predicate<FileInfo> match = null)
Parameters
Returns
TimespanToDislay(TimeSpan)
public static string TimespanToDislay(this TimeSpan t)
Parameters
t
TimeSpan
Returns
TimespanToString(TimeSpan)
public static string TimespanToString(this TimeSpan t)
Parameters
t
TimeSpan