Skip to content

Instantly share code, notes, and snippets.

@r4hulp
Last active December 29, 2017 11:10
Show Gist options
  • Save r4hulp/3a0749c89d59119a2940d6a2546d1752 to your computer and use it in GitHub Desktop.
Save r4hulp/3a0749c89d59119a2940d6a2546d1752 to your computer and use it in GitHub Desktop.
Root Dialog having constructor with parameters
[Serializable]
public class RootDialog : IDialog<object>
{
private IProfileService profileService;
public RootDialog(IProfileService profileService)
{
this.profileService = profileService;
}
//code removed for sanity.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment