Ejemplo n.º 1
0
        public static Task UpsertDesignDocumentAsync(this IViewIndexManager viewManager, DesignDocument designDocument, DesignDocumentNamespace @namespace, Action <UpsertDesignDocumentOptions> configureOptions)
        {
            var options = new UpsertDesignDocumentOptions();

            configureOptions(options);

            return(viewManager.UpsertDesignDocumentAsync(designDocument, @namespace, options));
        }
Ejemplo n.º 2
0
 public static Task UpsertDesignDocumentAsync(this IViewIndexManager viewManager, DesignDocument designDocument, DesignDocumentNamespace @namespace)
 {
     return(viewManager.UpsertDesignDocumentAsync(designDocument, @namespace, UpsertDesignDocumentOptions.Default));
 }