64 implementations of IFormattable
mscorlib (17)
system\byte.cs (1)
34public struct Byte : IComparable, IFormattable, IConvertible
system\datetime.cs (1)
57public struct DateTime : IComparable, IFormattable, IConvertible, ISerializable, IComparable<DateTime>,IEquatable<DateTime> {
system\datetimeoffset.cs (1)
38public struct DateTimeOffset : IComparable, IFormattable, ISerializable, IDeserializationCallback,
system\decimal.cs (1)
67public struct Decimal : IFormattable, IComparable, IConvertible, IDeserializationCallback
system\double.cs (1)
32public struct Double : IComparable, IFormattable, IConvertible
system\enum.cs (1)
19public abstract class Enum : ValueType, IComparable, IFormattable, IConvertible
system\FormattableString.cs (1)
21public abstract class FormattableString : IFormattable
system\guid.cs (1)
21public struct Guid : IFormattable, IComparable
system\int16.cs (1)
31public struct Int16 : IComparable, IFormattable, IConvertible
system\int32.cs (1)
31public struct Int32 : IComparable, IFormattable, IConvertible
system\int64.cs (1)
30public struct Int64 : IComparable, IFormattable, IConvertible
system\sbyte.cs (1)
29public struct SByte : IComparable, IFormattable, IConvertible
system\single.cs (1)
31public struct Single : IComparable, IFormattable, IConvertible
system\timespan.cs (1)
35, IComparable<TimeSpan>, IEquatable<TimeSpan>, IFormattable
system\uint16.cs (1)
29public struct UInt16 : IComparable, IFormattable, IConvertible
system\uint32.cs (1)
31public struct UInt32 : IComparable, IFormattable, IConvertible
system\uint64.cs (1)
29public struct UInt64 : IComparable, IFormattable, IConvertible
PresentationCore (35)
Core\CSharp\System\Windows\FontStretch.cs (1)
29public struct FontStretch : IFormattable
Core\CSharp\System\Windows\FontStyle.cs (1)
23public struct FontStyle : IFormattable
Core\CSharp\System\Windows\FontWeight.cs (1)
26public struct FontWeight : IFormattable
Core\CSharp\System\Windows\Media\Animation\KeySpline.cs (1)
31public class KeySpline : Freezable, IFormattable
Core\CSharp\System\Windows\Media\Animation\RepeatBehavior.cs (1)
37public struct RepeatBehavior : IFormattable
Core\CSharp\System\Windows\Media\Brush.cs (1)
44public abstract partial class Brush : Animatable, IFormattable
Core\CSharp\System\Windows\Media\Color.cs (1)
30public struct Color : IFormattable, IEquatable<Color>
Core\CSharp\System\Windows\Media\Generated\Brush.cs (1)
52abstract partial class Brush : Animatable, IFormattable, DUCE.IResource
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
54public sealed partial class DoubleCollection : Freezable, IFormattable, IList, IList<double>
Core\CSharp\System\Windows\Media\Generated\GeneralTransform.cs (1)
51abstract partial class GeneralTransform : Animatable, IFormattable
Core\CSharp\System\Windows\Media\Generated\Geometry.cs (1)
52abstract partial class Geometry : Animatable, IFormattable, DUCE.IResource
Core\CSharp\System\Windows\Media\Generated\GradientStop.cs (1)
51sealed partial class GradientStop : Animatable, IFormattable
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
53public sealed partial class GradientStopCollection : Animatable, IFormattable, IList, IList<GradientStop>
Core\CSharp\System\Windows\Media\Generated\ImageSource.cs (1)
51abstract partial class ImageSource : Animatable, IFormattable, DUCE.IResource
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
54public sealed partial class Int32Collection : Freezable, IFormattable, IList, IList<int>
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
54public sealed partial class PathFigureCollection : Animatable, IFormattable, IList, IList<PathFigure>
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
54public sealed partial class PointCollection : Freezable, IFormattable, IList, IList<Point>
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
54public sealed partial class VectorCollection : Freezable, IFormattable, IList, IList<Vector>
Core\CSharp\System\Windows\Media\PathFigure.cs (1)
38public sealed partial class PathFigure : Animatable, IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Camera.cs (1)
47abstract partial class Camera : Animatable, IFormattable, DUCE.IResource
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3D.cs (1)
47abstract partial class GeneralTransform3D : Animatable, IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Material.cs (1)
47abstract partial class Material : Animatable, IFormattable, DUCE.IResource
Core\CSharp\System\Windows\Media3D\Generated\Matrix3D.cs (1)
49partial struct Matrix3D : IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Model3D.cs (1)
47abstract partial class Model3D : Animatable, IFormattable, DUCE.IResource
Core\CSharp\System\Windows\Media3D\Generated\Point3D.cs (1)
49partial struct Point3D : IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
50public sealed partial class Point3DCollection : Freezable, IFormattable, IList, IList<Point3D>
Core\CSharp\System\Windows\Media3D\Generated\Point4D.cs (1)
49partial struct Point4D : IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Quaternion.cs (1)
49partial struct Quaternion : IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Rect3D.cs (1)
49partial struct Rect3D : IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Rotation3D.cs (1)
47abstract partial class Rotation3D : Animatable, IFormattable, DUCE.IResource
Core\CSharp\System\Windows\Media3D\Generated\Size3D.cs (1)
49partial struct Size3D : IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Vector3D.cs (1)
49partial struct Vector3D : IFormattable
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
50public sealed partial class Vector3DCollection : Freezable, IFormattable, IList, IList<Vector3D>
Core\CSharp\System\Windows\Media3D\Quaternion.cs (1)
59public partial struct Quaternion : IFormattable
Core\CSharp\System\Windows\Media3D\Rect3D.cs (1)
36public partial struct Rect3D: IFormattable
System.Numerics (5)
System\Numerics\BigInteger.cs (1)
27public struct BigInteger : IFormattable, IComparable, IComparable<BigInteger>, IEquatable<BigInteger>
System\Numerics\Complex.cs (1)
30public struct Complex : IEquatable<Complex>, IFormattable {
System\Numerics\Vector2.cs (1)
13public partial struct Vector2 : IEquatable<Vector2>, IFormattable
System\Numerics\Vector3.cs (1)
13public partial struct Vector3 : IEquatable<Vector3>, IFormattable
System\Numerics\Vector4.cs (1)
13public partial struct Vector4 : IEquatable<Vector4>, IFormattable
WindowsBase (7)
Base\System\Windows\Generated\Int32Rect.cs (1)
38partial struct Int32Rect : IFormattable
Base\System\Windows\Generated\Point.cs (1)
38partial struct Point : IFormattable
Base\System\Windows\Generated\Rect.cs (1)
38partial struct Rect : IFormattable
Base\System\Windows\Generated\Size.cs (1)
38partial struct Size : IFormattable
Base\System\Windows\Generated\Vector.cs (1)
38partial struct Vector : IFormattable
Base\System\Windows\Media\Generated\Matrix.cs (1)
39partial struct Matrix : IFormattable
Base\System\Windows\Media\Matrix.cs (1)
62public partial struct Matrix: IFormattable
79 references to IFormattable
mscorlib (9)
system\convert.cs (2)
1805IFormattable formattable = value as IFormattable;
system\FormattableString.cs (1)
49string IFormattable.ToString(string ignored, IFormatProvider formatProvider)
system\io\textwriter.cs (4)
298IFormattable f = value as IFormattable; 497IFormattable f = value as IFormattable;
system\text\stringbuilder.cs (2)
1449IFormattable formattableArg = arg as IFormattable;
PresentationCore (41)
Core\CSharp\MS\Internal\FontFace\FontDifferentiator.cs (3)
53parsedWeightName = ((IFormattable)fontWeight).ToString(null, CultureInfo.InvariantCulture); 56parsedStretchName = ((IFormattable)fontStretch).ToString(null, CultureInfo.InvariantCulture); 59parsedStyleName = ((IFormattable)fontStyle).ToString(null, CultureInfo.InvariantCulture);
Core\CSharp\System\Windows\FontStretch.cs (1)
203string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\FontStretchConverter.cs (1)
124return ((IFormattable)c).ToString(null, culture);
Core\CSharp\System\Windows\FontStyle.cs (1)
110string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\FontStyleConverter.cs (1)
124return ((IFormattable)c).ToString(null, culture);
Core\CSharp\System\Windows\FontWeight.cs (1)
199string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\FontWeightConverter.cs (1)
124return ((IFormattable)c).ToString(null, culture);
Core\CSharp\System\Windows\Media\Animation\KeySpline.cs (1)
471string IFormattable.ToString(string format, IFormatProvider formatProvider)
Core\CSharp\System\Windows\Media\Animation\RepeatBehavior.cs (1)
284string IFormattable.ToString(string format, IFormatProvider formatProvider)
Core\CSharp\System\Windows\Media\Color.cs (1)
262string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\Brush.cs (1)
379string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
698string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\GeneralTransform.cs (1)
176string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\Geometry.cs (1)
296string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\GradientStop.cs (1)
224string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
781string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\ImageSource.cs (1)
233string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
698string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
782string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
698string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
698string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media\LineSegment.cs (1)
109return "L" + ((IFormattable)Point).ToString(format, provider);
Core\CSharp\System\Windows\Media\MatrixTransform.cs (1)
121return ((IFormattable)Matrix).ToString(format, provider);
Core\CSharp\System\Windows\Media\PathFigure.cs (2)
204string IFormattable.ToString(string format, IFormatProvider provider) 235((IFormattable)StartPoint).ToString(format, provider) +
Core\CSharp\System\Windows\Media3D\Generated\Camera.cs (1)
289string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3D.cs (1)
172string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Material.cs (1)
229string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Matrix3D.cs (1)
367string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Model3D.cs (1)
289string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Point3D.cs (1)
334string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
694string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Point4D.cs (1)
355string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Quaternion.cs (1)
319string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Rect3D.cs (1)
320string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Rotation3D.cs (1)
229string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Size3D.cs (1)
308string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Vector3D.cs (1)
334string IFormattable.ToString(string format, IFormatProvider provider)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
694string IFormattable.ToString(string format, IFormatProvider provider)
System (2)
compmod\system\componentmodel\TypeConverter.cs (2)
178IFormattable formattable = value as IFormattable;
System.Data (4)
fx\src\data\System\Data\Common\SQLConvert.cs (4)
542IFormattable iformattable = (value as IFormattable); 786IFormattable iformattable = (value as IFormattable);
System.Data.Entity (2)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (2)
791IFormattable formatContent = content as IFormattable;
System.Numerics (3)
System\Numerics\Vector3.cs (3)
96sb.Append(((IFormattable)this.X).ToString(format, formatProvider)); 99sb.Append(((IFormattable)this.Y).ToString(format, formatProvider)); 102sb.Append(((IFormattable)this.Z).ToString(format, formatProvider));
System.Windows.Forms (6)
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (4)
433if (value is IFormattable) { 434edit.Text = ((IFormattable)value).ToString(format, formatInfo); 532else if (format != null && format.Length != 0 && (value is IFormattable)) { 534return ((IFormattable)value).ToString(format, this.formatInfo);
winforms\Managed\System\WinForms\Formatter.cs (2)
127if (value is IFormattable && !String.IsNullOrEmpty(formatString)) { 128return (value as IFormattable).ToString(formatString, formatInfo);
System.Xml (6)
System\Xml\Schema\XmlSchemaDataType.cs (6)
262if (cur is IFormattable) { 263bldr.Append( ((IFormattable)cur).ToString("", CultureInfo.InvariantCulture) ); 271if (cur is IFormattable) { 272bldr.Append( ((IFormattable)cur).ToString("", CultureInfo.InvariantCulture) ); 282else if (value is IFormattable) { 283stringValue = ((IFormattable)value).ToString("", CultureInfo.InvariantCulture);
WindowsBase (6)
Base\System\Windows\Generated\Int32Rect.cs (1)
367string IFormattable.ToString(string format, IFormatProvider provider)
Base\System\Windows\Generated\Point.cs (1)
302string IFormattable.ToString(string format, IFormatProvider provider)
Base\System\Windows\Generated\Rect.cs (1)
301string IFormattable.ToString(string format, IFormatProvider provider)
Base\System\Windows\Generated\Size.cs (1)
293string IFormattable.ToString(string format, IFormatProvider provider)
Base\System\Windows\Generated\Vector.cs (1)
302string IFormattable.ToString(string format, IFormatProvider provider)
Base\System\Windows\Media\Generated\Matrix.cs (1)
317string IFormattable.ToString(string format, IFormatProvider provider)