Class DiffPresenterFactory
- Namespace
- Xping.Sdk.Core.Session.Comparison
- Assembly
- Xping.Sdk.Core.dll
Factory class for creating instances of IDiffPresenter based on the specified format.
public static class DiffPresenterFactory
- Inheritance
-
DiffPresenterFactory
- Inherited Members
Methods
Create(DiffPresenterFormat)
Creates an IDiffPresenter instance according to the provided DiffPresenterFormat.
public static IDiffPresenter Create(DiffPresenterFormat format)
Parameters
format
DiffPresenterFormatThe format of the diff presenter to create.
Returns
- IDiffPresenter
An instance of IDiffPresenter.
Exceptions
- InvalidOperationException
Thrown when an invalid format is specified.