View materialformat.txt
material[.{{primary_colour}}-{{secondary_colour}}] | |
example: | |
material | |
material.indigo-pink | |
material.green-red |
View UpdateLayout.cshtml
// If using tag helpers | |
<c1-styles theme="material" /> | |
// If using html helpers | |
@Html.C1().Styles().Theme("material") |
View SwaggerUIOAuth2HeaderStartup.cs
public void ConfigureServices(IServiceCollection services) | |
{ | |
services | |
.AddSwaggerGen(c => | |
{ | |
c.OperationFilter<AddAuthorizationHeaderParameterOperationFilter>(); | |
}); | |
} | |
/// <summary> |
View SwaggerUIOAuth2MiddlewarwStartup.cs
public void ConfigureServices(IServiceCollection services) | |
{ | |
// Other settings | |
services | |
.AddSwaggerGen(c => | |
{ | |
// Other settings | |
c.AddSecurityDefinition("oauth2", new OAuth2Scheme | |
{ | |
Type = "oauth2", |
View TestGist1.js
var gist = function(userName, gistId){ | |
return 'https://gist.github.com/' + userName + '/' + gistId + '.js'; | |
} |
NewerOlder