Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
 public static MTPAEC(this ThirdPartyApiClass value)
 {
     return(new MtpaecExtensionWrapper(value));
 }
Ejemplo n.º 3
0
 public MtpaecExtensionWrapper(ThirdPartyApiClass wrapped)
 {
     this.Wrapped = wrapped;
 }