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