private string GetRemoteEventRegistrationsCreator(ClientContext ctx, Web web, AppManifestBase manifest)
        {
            OnVerboseNotify("Getting remote events for web");

            var builder = new RemoteEventRegistrationCreatorBuilder();

            builder.VerboseNotify += builder_Notify;
            if (manifest == null)
            {
                return(builder.GetRemoteEventRegistrationCreators(ctx, web));
            }
            builder.GetRemoteEventRegistrationCreators(ctx, web, manifest);
            return(string.Empty);
        }
        private void CheckForRemoteEvents(ListCreator listCreator, List list, ClientContext ctx,
                                          AppManifestBase appManifest)
        {
            var builder = new RemoteEventRegistrationCreatorBuilder();

            appManifest.ListCreators = new Dictionary <string, ListCreator> {
                [listCreator.Title] = new ListCreator()
            };

            builder.GetRemoteEventRegistrationCreators(ctx, list, listCreator.Title, appManifest);
            listCreator.RemoteEventRegistrationCreators =
                appManifest.ListCreators[listCreator.Title].RemoteEventRegistrationCreators;
        }