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
{ | |
"module": { | |
"Argument": "identifier", | |
"Children": { | |
"yang-version": "One", | |
"namespace": "One", | |
"prefix": "One", | |
"import": "ZeroOrMore", | |
"include": "ZeroOrMore", | |
"organization": "ZeroOrOne", |
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
{ | |
"module": { | |
"Argument": "identifier", | |
"Children": [ | |
{ | |
"Cardinality": "One", | |
"StatementType": "yang-version" | |
}, | |
{ | |
"Cardinality": "One", |
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
0eNrtnVtvI8mRhf8KoaddQBpUZuS137weGDbWCyxmx8AAY2NAdbO75dGIMkmNPTb6vy+LF4ktZlWdU5UBtW09iVK3QllVmVkZEV/E+cfF9e3D4n51c7f54Xq5/PHizT+efrK+ePP9P4j/0P7b+m5+f7VZXn1Y3bxrv//bxRvnLi9+ab98uryYX6+Xtw+bxVX7/+5v7j5cvNmsHhaXFzdvl3d7c+ubD3fz2/Z3N7/cLy7eXPx8s9o8bH9yeXE3/6n9wfrj/H5x9Xa1XK8vtjZv7t4ttn/GfPrT5cXibnOzuVnsLe2++eWHu4efrher7X94MrBZzW8+fNxcbb+0du+X6+1vLe8OAzZ5N2Dz6dPlmRH7aOT65sPV4nbxdrO6eXt1v7xdnBuydmeoKRkSdDTWd4/GPRp5+7D6efFuZ+Jq3nlJdnu73t2stoPe/ZNpCjY9eZukNLBAXl3RSESv7mDk2dWlgslEXpwvjSuTF1c0YppHK7vLevtxfnN3dZj858NxX+1txa/851dpS7ZN8c5dF+zGvVVgXhhL3rtYvGx23petOPQCbfECS1PDeHIxJcBmIO9ZLl5tJO9Z2Uoil1NCJgW8Fsz+LdBaGZq+tmF36vJWbdgttmwGnvfSFC8xlIzCy8Ds3yHGAvfNUVtKPGwpxn5V3KEs+yYwxV3cBmZUtjmOSp7vdMaXrEd4JzDHQQ4uW5tgo1I0WlwrNlM3QjpvRC4dJxp2shcflhhqjOF0Cg3eVsFXUnnSl1aS4CvpsDzd8EoSx0794goSzz6Ushn4LSKueInF+xaZJy2PT9o9f9JF4/AC2r+ezbP3syvZpJZPOyMPpp8PuGTc0a+c4rnE4a+cw2QMw5PRWWpNmuOFh7MNtLQrOaGs227rxfvqxu152EOjl1f5oeHOiis+tNIKcNzyMtyFw8tLyuur/Kzws9zeaB4eqYfXleA2DXyQxW3CryaP24TfTBG3CXv8qWizNFU9vIwyPk7c8SEmE+wHGWI24SEB4tHjSwl/9gF/Rx0 |
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 System.Diagnostics; | |
using System.Net; | |
using APITesting.Contracts; | |
namespace YOUR_NAMESPACE_HERE; | |
public readonly struct ApiError : IEquatable<ApiError> | |
{ | |
private const string DefaultErrorMessage = "An error occurred"; | |
internal ApiError(HttpStatusCode statusCode, object? data) |
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 System.Windows.Controls; | |
using System.Windows.Markup; | |
using System.Windows.Media; | |
using FontAwesome6; | |
using FontAwesome6.Svg; | |
using Microsoft.Extensions.DependencyInjection; | |
namespace MyNamespace; | |
[MarkupExtensionReturnType(typeof(SvgAwesome))] |
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
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |
<SolidColorBrush x:Key="ToolBarDarkFill" Color="#FFEEF5FD" /> | |
<SolidColorBrush x:Key="ToolBarDisabledFill" Color="#FFDADADA" /> | |
<SolidColorBrush x:Key="ToolBarDisabledBorder" Color="#FFDADADA" /> | |
<SolidColorBrush x:Key="ToolBarSeparatorFill" Color="#FFB6BDC5" /> | |
<SolidColorBrush x:Key="ToolBarButtonHover" Color="#210080FF" /> | |
<SolidColorBrush x:Key="ToolBarButtonHoverBorder" Color="#80DADADA" /> | |
<SolidColorBrush x:Key="ToolBarButtonChecked" Color="#400080FF" /> | |
<SolidColorBrush x:Key="ToolBarButtonPressed" Color="#400080FF" /> |
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 System.Collections; | |
using System.Collections.Concurrent; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
namespace Test; | |
public static class Casting | |
{ | |
private static readonly ConcurrentDictionary<Type, Delegate> cache = new(); |
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 System.Text; | |
using System.Threading.Channels; | |
namespace Demo; | |
public interface IConsoleAsync | |
{ | |
public TimeSpan CharacterDelay { get; set; } | |
public Task<string?> ReadLineAsync(CancellationToken cancellationToken); | |
public Task<string?> ReadLineAsync(); |
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
module alpha { | |
yang-version 1.1; | |
prefix a; | |
namespace urn:alpha; | |
import bravo { | |
prefix b; | |
} | |
augment /network-device/interface { |
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
public class SimpleTests : TestBase | |
{ | |
[Test] | |
[TestCase( | |
new []{ 96, 45, 69, 18, 94, 50, 21, 75, 64, 77, 30, 45, 89, 80, 57, 55, 93, 87, 83, 79, 50, 33, 12 }, | |
new [] { 96, 69, 94, 50, 75, 64, 77, 89, 80, 57, 55, 93, 87, 83, 79, 50 } | |
)] | |
[TestCase( |
NewerOlder