Exemple #1
0
        /// <summary>
        ///     Constructs a new magic symbol given its name and documentation.
        /// </summary>
        public AbstractMagic(string keyword, JupyterDocumentation docs)
        {
            this.Name          = $"%{keyword}";
            this.Documentation = docs;

            this.Kind = SymbolKind.Magic;
            this.ExecuteCancellable = this.SafeExecute(this.RunCancellable);
        }
Exemple #2
0
 public AzureClientMagicBase(IAzureClient azureClient, string keyword, JupyterDocumentation docs, ILogger logger) :
     base(keyword, docs, logger)
 {
     this.AzureClient = azureClient;
 }