Пример #1
0
        public async Task SetModeConfiguration(Languages.Json.ModeConfiguration configuration)
        {
            if (jsRuntime == null)
            {
                return;
            }

            await jsRuntime.InvokeVoidAsync("blazorMonaco.languages.json.jsonDefaults.setModeConfiguration",
                                            configuration);
        }
Пример #2
0
 public void SetModeConfiguration(ModeConfiguration config)
 {
     ModeConfiguration = config;
 }