Created
March 31, 2017 07:09
-
-
Save Dheer-Rajpoot/0e14e8177a5fbac216f0582cdf60eace to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class EndpointExtensions | |
{ | |
//This extension method makes it easier to access the plugin when it is needed. | |
//Providing extension methods to access a plugin is a best practice to consider when implementing a provider for Data Exchange Framework. | |
public static XMLSystemSettings GetXMLSystemSettings(this Endpoint endpoint) | |
{ | |
return endpoint.GetPlugin<XMLSystemSettings>(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment