| name | description |
|---|---|
rodney |
This skill uses the rodney CLI tool for browser automation. Use this for all browser based testing and automation. |
Rodney provides Chrome automation from the command line.
| name | description |
|---|---|
rodney |
This skill uses the rodney CLI tool for browser automation. Use this for all browser based testing and automation. |
Rodney provides Chrome automation from the command line.
| // Result | |
| type Success<S> = { success: true, value: S } | |
| type Failure<F> = { success: false, message: F } | |
| type Bindable<S, F> = { | |
| bind: <B,>(func: (input: S) => Result<B, F>) => Result<B, F> | |
| } | |
| type Result<S, F> = (Success<S> | Failure<F>) & Bindable<S, F> |
| namespace EventHandlersByReflection; | |
| using System.Reflection; | |
| using static System.Console; | |
| public class Program | |
| { | |
| public static void Main() | |
| { | |
| var thing = new ThingWithEvents(); |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace Trading.Backend.Events.Contracts.Tests | |
| { | |
| public static class TopologicalTest | |
| { | |
| public static void ShouldCorrectlyOrderNodes() | |
| { |
| using System; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using static System.Console; | |
| namespace SimpleConsoleLoop | |
| { | |
| class Program | |
| { | |
| static Task Main() |
| using System; | |
| using EasyNetQ.Logging; | |
| using Microsoft.Extensions.Logging; | |
| // use like this... | |
| // LogProvider.SetCurrentLogProvider(new EasyNetQMicrosoftExtensionsLogProvider(loggerProvider)); | |
| // RabbitHutch.CreateBus(..); | |
| namespace Logging | |
| { |
| using Microsoft.Extensions.Logging.Console; | |
| using Microsoft.Extensions.Options; | |
| using System; | |
| namespace Sample | |
| { | |
| class Program | |
| { | |
| static void Main() | |
| { |
| using Microsoft.Extensions.DependencyInjection; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| namespace MyNamespace | |
| { | |
| public class ServiceCollectionWriter | |
| { |
| private XmlElement FaultFromException(Exception exception) | |
| => (exception is TargetInvocationException targetInvocationException) | |
| ? FaultFromException(targetInvocationException.InnerException) | |
| : (exception is SonosException sonosException) | |
| ? XmlElementFromFault(new SoapFault | |
| { | |
| FaultCode = sonosException.FaultCode, | |
| FaultString = sonosException.FaultString, | |
| Detail = sonosException.Detail | |
| }) |
| { | |
| "albums": [ | |
| { | |
| "id": "1234", | |
| "price": { | |
| "amount": 12, | |
| "currency": "EUR", | |
| "vatAmount": 2.4 | |
| } | |
| } |