System.Tests.StringTests.TestFormatter.GetFormat C# (CSharp) Method

GetFormat() public method

public GetFormat ( Type formatType ) : object
formatType System.Type
return object
            public object GetFormat(Type formatType)
            {
                return formatType == typeof(ICustomFormatter) ? this : null;
            }
StringTests.TestFormatter