public static string SomeMethod(this ThirdPartyApiClass value) { string foo = value.SomeCrappyMethodTheProviderGaveUs(); //do some stuff that the third party api can't do that we need return(foo); }
public static MTPAEC(this ThirdPartyApiClass value) { return(new MtpaecExtensionWrapper(value)); }
public MtpaecExtensionWrapper(ThirdPartyApiClass wrapped) { this.Wrapped = wrapped; }