DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
FormatProvider.h
Go to the documentation of this file.
1
5
6#pragma once
7#include "System/Object.h"
8
9namespace DotNetDupe {
10 namespace System {
16 template <class T>
18 public:
20 virtual ~IFormatProvider() = default;
21
25 virtual Object* GetFormat(const T* formatType) = 0;
26 };
27 }
28}
Base object class for DotNetDupe mirroring .NET System.Object.
Provides a mechanism for retrieving an object to control formatting.
virtual Object * GetFormat(const T *formatType)=0
Returns an object that provides formatting services for the specified type.
virtual ~IFormatProvider()=default
Virtual destructor for polymorphic cleanup.
Supports all classes in the DotNetDupe class hierarchy.
Definition Object.h:18