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.Components; | |
using Microsoft.AspNetCore.Components.Rendering; | |
/// <summary> | |
/// A helper to implement the concept of a high-order component. | |
/// Imagine you have a multiple concrete page content components but now you want to wrap each of them with the SAME frame. | |
/// The current blazor workflow would be to manually wrap every concrete page content component by the page frame component. | |
/// Wouldn't it be cool if every concrete page content component would inherit from page frame component and wrap its | |
/// derived component with the desired page frame? By declaring HighOrderComponent in the base component and using it | |
/// in the parent component you can use the concept of a high-order component. |
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
{ | |
"schemaVersion":1, | |
"label":"Discord", | |
"message":"Join", | |
"color":"#7289DA", | |
"cacheSeconds":300, | |
"namedLogo": "discord" | |
} |
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
{ | |
"schemaVersion":1, | |
"label":"NuGet", | |
"message":"Packages", | |
"color":"blue", | |
"cacheSeconds":1800, | |
"namedLogo": "nuget" | |
} |
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
$(MSBuildProjectDirectory): NO trailing slash | |
$(MSBuildThisFileDirectory): HAS trailing slash |
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
<!-- | |
===================================================== | |
BuildEachTargetFramework | |
Builds project for each TargetFramework. It is called | |
from synthetic projects. | |
Target _GetTargetFrameworksOutput belongs to | |
https://github.com/NuGet/NuGet.Client/blob/c05f9afa9c2fcee7fbe10754521b3f6424bee128/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.targets#L98 | |
===================================================== |
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
<Project> | |
<PropertyGroup> | |
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput> | |
</PropertyGroup> | |
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences"> | |
<ItemGroup> | |
<!-- Filter out unnecessary files --> | |
<_ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))"/> | |
</ItemGroup> |
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
# Add new options at the end of this file | |
root = true | |
# All files | |
[*] | |
indent_style = space | |
# Code files | |
[*.{cs,csx,vb,vbx}] |