I hereby claim:
- I am antaris on github.
- I am matthewabbott (https://keybase.io/matthewabbott) on keybase.
- I have a public key ASC3Juk3rHbvJ0h4SJW9io6b8mAzoit93zxO5BN3IamYVwo
To claim this, I am signing this object:
| function GitPruneBranches { | |
| param( | |
| [string[]] $Exclude, | |
| [switch] $Unmerged, | |
| [switch] $Commit | |
| ) | |
| $pattern = '^\s*(?!(master|main|develop|\*).*$).*' | |
| if ($Exclude -and $Exclude.Count -gt 0) { | |
| $pattern = '^(?!(master|main|develop|\*|' + (($Exclude -Join '|') -Replace '\*', '.*') + ').*$).*' |
| using System; | |
| using System.Collections.Generic; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Quartz; | |
| using Quartz.Spi; | |
| public class ServiceProviderJobFactory : IJobFactory | |
| { | |
| private readonly IServiceProvider _rootServiceProvider; |
I hereby claim:
To claim this, I am signing this object:
| <!DOCTYPE html> | |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>OMD</title> | |
| <style> | |
| body { padding: 0; font-family: "Segoe UI", Helvetica, Arial, sans-serif } | |
| header { margin-bottom: 20px; display: flex; align-items: center; } | |
| header > .brand { flex-basis: 50%; } |
| public class EventSubscription<TPayload> : IEventSubscription<TPayload> | |
| { | |
| private readonly WeakReference<NotificationDelegate<TPayload>> _notificationRef; | |
| private readonly WeakReference<FilterDelegate<TPayload>> _filterRef; | |
| /// <summary> | |
| /// Initialises a new instance of <see cref="EventSubscriberBase{TEvent, TPayload}"/> | |
| /// </summary> | |
| /// <param name="token">The subscription token</param> | |
| /// <param name="notification">The notification delegate</param> |
| // Copyright (c) Fresh Egg Limited. All rights reserved | |
| namespace Fx.Messaging.Distributed.Host | |
| { | |
| using System.Threading.Tasks; | |
| using Microsoft.EntityFrameworkCore; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Logging; | |
| using Fx.DistributedServices; |
| public class DynamicRouter : IRouter | |
| { | |
| private IRouter _router; | |
| public DynamicRouter(IRouter router) | |
| { | |
| _router = router; | |
| } | |
| public Task RouteAsync(RouteContext context) |
| <Project> | |
| <!-- TARGET FRAMEWORKS --> | |
| <ItemGroup Condition="'$(TargetFramework)'=='netstandard1.6'"> | |
| <PackageReference Include="NETStandard.Library" Version="1.6.1" /> | |
| </ItemGroup> | |
| <ItemGroup Condition="'$(TargetFramework)'=='netcoreapp1.1'"> | |
| <PackageReference Include="Microsoft.NETCore.App" Version="1.1.0" /> | |
| </ItemGroup> | |
| <!-- /TARGET FRAMEWORKS --> |
| using Microsoft.EntityFrameworkCore; | |
| namespace TvpSampleApp | |
| { | |
| public class MyContext : DbContext | |
| { | |
| public DbSet<Person> People { get; set; } | |
| protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) | |
| { |
| public class BlogDbContext : DbContext | |
| { | |
| public DbSet<BlogPost> Posts { get; set; } | |
| } |