Skip to content

Instantly share code, notes, and snippets.

View BennieCopeland's full-sized avatar

Bennie Copeland BennieCopeland

View GitHub Profile
@BennieCopeland
BennieCopeland / app.component.ts
Created June 20, 2017 13:23
Angular2 Webpack configs including Bootstrap 4 and Font-Awesome
import { Component } from '@angular/core';
import '../css/styles.scss';
@Component({
selector: 'iatss-app',
templateUrl: './app.component.html'
})
export class AppComponent {
}
@BennieCopeland
BennieCopeland / AggregateNotFoundException.cs
Last active January 15, 2018 04:48
Basic domain objects
using System;
/// <summary>
/// The exception is thrown when the requested aggregate is not found by the <see cref="IEventStore"/> implementation.
/// </summary>
public class AggregateNotFoundException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="AggregateNotFoundException"/> class.
/// </summary>
@BennieCopeland
BennieCopeland / describe_execution_order.cs
Last active January 4, 2016 01:52
Changes to NSpec docs to show execution order
using NSpec;
using System;
namespace NSpecExecutionOrder
{
abstract class parent_class : nspec // this can be either an abstract class, or just a class
{
public const int indentSize = 3;
public static string order = "\n\n";
public static int indent = 0;