Created
January 10, 2014 06:16
-
-
Save brendanzagaeski/8347717 to your computer and use it in GitHub Desktop.
Example of a generated Task return value for `[Async (ResultTypeName = "FetchRepositoriesWithCompletionArgs")]`, using `Action<bool, NSError, NSArray>` as the delegate type. This results in generic return value names like "Arg1".
This file contains hidden or 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 class FetchRepositoriesWithCompletionArgs { | |
public bool Arg1 { get; set; } | |
public NSError Arg2 { get; set; } | |
public NSArray Arg3 { get; set; } | |
public FetchRepositoriesWithCompletionArgs (bool arg1, NSError arg2, NSArray arg3) { | |
this.Arg1 = arg1; | |
this.Arg2 = arg2; | |
this.Arg3 = arg3; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment