Skip to content

Instantly share code, notes, and snippets.

Avatar

Martin Smith martinsmith1968

View GitHub Profile
@martinsmith1968
martinsmith1968 / ExtendedMemoryConfigurationProvider.cs
Last active Jun 29, 2020
Convenient IConfiguration for Testing
View ExtendedMemoryConfigurationProvider.cs
namespace DNX.ExtendedMemoryConfiguration
{
public class ExtendedMemoryConfigurationSource : IConfigurationSource
{
/// <summary>
/// The initial key value configuration pairs.
/// </summary>
public IDictionary<string, string> Data { get; set; }
/// <summary>
@martinsmith1968
martinsmith1968 / SequenceNumbers.sql
Created Apr 30, 2020
SQL Server Manual Sequence Numbers
View SequenceNumbers.sql
-- DROP TABLE [SequenceNumbers]
IF OBJECT_ID('SequenceNumbers', 'U') IS NULL BEGIN
CREATE TABLE [SequenceNumbers]
(
[Name] SYSNAME PRIMARY KEY,
[Start] INT NOT NULL DEFAULT 0,
[Increment] INT NOT NULL DEFAULT 1,
[Current] INT NOT NULL,
@martinsmith1968
martinsmith1968 / xd2md.cs
Created Nov 16, 2016 — forked from formix/xd2md.cs
Generates Markdown From VisualSturio XML documentation files
View xd2md.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Linq;
namespace Formix.Utils
{
class Program
You can’t perform that action at this time.