Dev2.Webs.RootWebSite.ShowNewOAuthsourceSaveDialog C# (CSharp) Method

ShowNewOAuthsourceSaveDialog() public static method

public static ShowNewOAuthsourceSaveDialog ( IContextualResourceModel resourceModel, IEnvironmentModel model, string token, string key ) : void
resourceModel IContextualResourceModel
model IEnvironmentModel
token string
key string
return void
        public static void ShowNewOAuthsourceSaveDialog(IContextualResourceModel resourceModel, IEnvironmentModel model, string token, string key)
        {
            ShowSaveDialog(resourceModel, new DropBoxSourceSourceCallbackHandler(EnvironmentRepository.Instance,token??"",key??""), "OauthSource", HttpUtility.UrlEncode("New Dropbox source"));
        }