This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Claims; | |
using System.Threading; | |
namespace ProjectNamespace | |
{ | |
public static class IdentityHelper | |
{ |
This file contains hidden or 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
+-- doc | |
⁞ +-- api | |
⁞ ⁞ +-- ProjectA | |
⁞ ⁞ ⁞ +-- index.md | |
⁞ ⁞ +-- ProjectB | |
⁞ ⁞ +-- index.md | |
⁞ +-- docfx.json | |
⁞ +-- toc.yml | |
+-- src | |
+-- ProjectA |
This file contains hidden or 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
{ | |
$schema: "http://json-schema.org/draft-04/schema#", | |
id: "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", | |
title: "StyleCop Analyzers Configuration", | |
description: "Configuration file for StyleCop Analyzers", | |
type: "object", | |
properties: { | |
settings: { | |
type: "object", | |
description: "The top-level object containing configuration properties for built-in rules.", |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<RuleSet Name="Microsoft Managed Recommended Rules" Description="These rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors. It is recommended to include this rule set in any custom rule set you create for your projects." ToolsVersion="10.0"> | |
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized"> | |
<Name Resource="MinimumRecommendedRules_Name" /> | |
<Description Resource="MinimumRecommendedRules_Description" /> | |
</Localization> | |
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed"> | |
<Rule Id="CA1001" Action="Warning" /> | |
<Rule Id="CA1009" Action="Warning" /> | |
<Rule Id="CA1016" Action="Warning" /> |
This file contains hidden or 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
0xb46b9324DE7F5A2D2d9C8298aa5A46C79Ed6d472 |
This file contains hidden or 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
tmp = [ | |
{ | |
uniqueCode = 1234, | |
selected = true, | |
otherVal = 'abc' | |
}, | |
{ | |
uniqueCode = 5678, | |
selected = false, | |
otherVal = 'abc' |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |