This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ElementRef, AfterViewInit } from '@angular/core'; | |
@Directive({ | |
selector: '[trapFocus]' | |
}) | |
export class TrapFocusDirective implements AfterViewInit { | |
constructor( | |
private el: ElementRef | |
) {} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
$Key = 'THIS WILL NOT MATCH WITH ANYTHING', | |
$Subscription = '', | |
$AppConfigName = '' | |
) | |
az account set -s $Subscription | |
Write-Host "Fetching all key-values..." | |
$configs = (az appconfig kv list -n $AppConfigName --all | ConvertFrom-Json) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.AspNetCore.Http; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.AspNetCore.Mvc.Filters; | |
using Microsoft.AspNetCore.Mvc.ModelBinding; | |
using Newtonsoft.Json; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; |