The DataReadWriteFunctions class static functions as used in the Adapter Pattern. More...
Go to the source code of this file.
Classes | |
class | DataReadWriteFunctions |
Represents some P/Invoke functions for accessing a named blocks of memory to read/write data in the Adapter_BackEnd.dll. More... | |
Namespaces | |
namespace | DesignPatternExamples_csharp |
The namespace containing all Design Pattern Examples implemented in C#. | |
The DataReadWriteFunctions class static functions as used in the Adapter Pattern.
For this example, the DataReadWriteFunctions class uses C#'s P/Invoke to call into the Adapter_BackEnd.dll, that not only uses error codes for reporting errors, but the format of the data is very different as well, which also has to be adapted.
Definition in file Adapter_BackEndFunctions.cs.