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