Click or drag to resize

FormattableStringFactory Class

Provides a static method to create a FormattableString object from a composite format string and its arguments.
Inheritance Hierarchy
SystemObject
  System.Runtime.CompilerServicesFormattableStringFactory

Namespace:  System.Runtime.CompilerServices
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public class FormattableStringFactory

The FormattableStringFactory type exposes the following members.

Constructors
  NameDescription
Public methodFormattableStringFactory
Initializes a new instance of the FormattableStringFactory class
Top
Methods
  NameDescription
Public methodStatic memberCreate(String, Object)
Creates a FormattableString instance from a composite format string and its arguments.
Public methodStatic memberCreate(String, DateTime, Object)
Overload to catch DateTime arguments, which can't be handled.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Mimics a built-in type introduced in .NET Framework 4.6 This can be removed once we upgrade the project's target framework.
See Also