Exemple #1
0
 private Dictionary <string, string> GetSecrets(NukeBuild build)
 {
     return(build.GetType().GetCustomAttributes <AppVeyorSecretAttribute>()
            .Where(x => Secrets == null || Secrets.Contains(x.Parameter))
            .ToDictionary(x => x.Parameter, x => x.Value));
 }