commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
8b1c69b3f309e87f6ad59ebe0c05873b08d3de10 | Remove timing | milleniumbug/OpeningsMoeDesktop | OpeningsMoeWpfClient/FfmpegMovieConverter.cs | OpeningsMoeWpfClient/FfmpegMovieConverter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpeningsMoeWpfClient
{
class FfmpegMovieConverter : IMovieConverter
{
private string ffmpegPath;
public Task<string> Convert... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpeningsMoeWpfClient
{
class FfmpegMovieConverter : IMovieConverter
{
private string ffmpegPath;
public Task<string> Convert... | mit | C# |
5838af39c1a20cc8bc1dc5fc6aab93c4dc82403f | Add background colour customization to ProfileItemContainer | ppy/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,EVAST9919/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu | osu.Game/Overlays/Profile/Sections/ProfileItemContainer.cs | osu.Game/Overlays/Profile/Sections/ProfileItemContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Eve... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Eve... | mit | C# |
c32d45bf70074506d16a7d33bfec6ab9ae11d54a | update copyright info | wcm-io-devops/aem-manager | AEMManager/Properties/AssemblyInfo.cs | AEMManager/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AEM... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AEM... | apache-2.0 | C# |
ab22c160aa053600f9f4d3f293f78912cce1710f | Add gettable microgame ID | NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare,uulltt/NitoriWare | Assets/Scripts/Microgame/MicrogameTraits.cs | Assets/Scripts/Microgame/MicrogameTraits.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class MicrogameTraits : MonoBehaviour
{
[SerializeField]
private ControlScheme _controlScheme;
public virtual ControlScheme controlScheme { get { return _controlScheme; } set { } }
[SerializeField]
pr... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class MicrogameTraits : MonoBehaviour
{
[SerializeField]
private ControlScheme _controlScheme;
public virtual ControlScheme controlScheme { get { return _controlScheme; } set { } }
[SerializeField]
pr... | mit | C# |
088c112425136af30efd710fdd6a44bb2753be02 | include hello message for appHarbor | pffStoner/Adventure,pffStoner/Adventure | Adventure/Adventure/Views/Home/Index.cshtml | Adventure/Adventure/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron" style="text-align:center">
<h1 style="font-family:Algerian">Adventures </h1>
<p>Helo from AppHarbor</p>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p>... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron" style="text-align:center">
<h1 style="font-family:Algerian">Adventures </h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="https://asp.net" class... | mit | C# |
88c518a91c59c19d81f467710de20a7e8efc2ba9 | Patch for LUCENENET-170 (BooleanClause serialization fails owing to issues with serializing Occur object) lost with v2.9.x applied. | jeme/lucenenet,zmaruo/lucenenet,jeme/lucenenet,NightOwl888/lucenenet,mdissel/lucene.net,sisve/lucenenet,antiufo/lucenenet,apache/lucenenet,apache/lucenenet,laimis/lucenenet,jpsullivan/lucenenet,apache/lucenenet,zmaruo/lucenenet,antiufo/lucenenet,laimis/lucenenet,apache/lucenenet,sisve/lucenenet,jeme/lucenenet,NightOwl8... | C#/src/Lucene.Net/Util/Parameter.cs | C#/src/Lucene.Net/Util/Parameter.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | apache-2.0 | C# |
9b3b660266c72712c0e86479e5c09feccd47a56c | Fix for identity login | Generic-Voting-Application/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,JDawes-ScottLogic/vot... | VotingApplication/VotingApplication.Web/Views/Routes/IdentityLogin.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/IdentityLogin.cshtml | <div class="identity-login dialog-content centered">
<form name="loginForm" ng-submit="loginIdentity(loginForm)">
<div class=" form-section-inline centered">
<label for="name-input">Enter your name to vote</label>
<input autofocus required class="form-input" name="name-input" id="na... | <div class="identity-login dialog-content centered">
<form name="loginForm" ng-submit="loginIdentity(loginForm)">
<div class=" form-section-inline centered">
<label for="name-input">Enter your name to vote</label>
<input autofocus ng-required class="form-input" name="name-input" id=... | apache-2.0 | C# |
28f788602fe67e8b01dd5a053a8032b2239a1191 | Fix up some room display issues | RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room | Web/Areas/Admin/Views/Device/Index.cshtml | Web/Areas/Admin/Views/Device/Index.cshtml | @using RightpointLabs.ConferenceRoom.Domain
@model IEnumerable<RightpointLabs.ConferenceRoom.Domain.Models.Entities.DeviceEntity>
@{
var buildings = (Dictionary<string, string>)ViewBag.Buildings;
var rooms = (Dictionary<string, string>)ViewBag.Rooms;
}
<p>
@Html.ActionLink("Create New", "Create")
</p>
<ta... | @using RightpointLabs.ConferenceRoom.Domain
@model IEnumerable<RightpointLabs.ConferenceRoom.Domain.Models.Entities.DeviceEntity>
@{
var buildings = (Dictionary<string, string>)ViewBag.Buildings;
var rooms = (Dictionary<string, string>)ViewBag.Rooms;
}
<p>
@Html.ActionLink("Create New", "Create")
</p>
<ta... | mit | C# |
c7a8752ee9e4043ecfd242e0e38cf936b29406e2 | Remove obsolete method | lytico/xwt,mono/xwt,residuum/xwt,steffenWi/xwt,akrisiun/xwt,sevoku/xwt,mminns/xwt,cra0zy/xwt,mminns/xwt,hamekoz/xwt,directhex/xwt,antmicro/xwt,hwthomas/xwt,iainx/xwt,TheBrainTech/xwt | Xwt/Xwt.Backends/ContextBackendHandler.cs | Xwt/Xwt.Backends/ContextBackendHandler.cs | //
// IContextBackendHandler.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
// Hywel Thomas <hywel.w.thomas@gmail.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (t... | //
// IContextBackendHandler.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
// Hywel Thomas <hywel.w.thomas@gmail.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (t... | mit | C# |
afa798dbe46127af17edfd6e5766f8f36e542fb3 | Add comment to DataContracts/Order | petrborzutzky/ATNET2016,mozdren/ATNET2016,MatusHromulak/ATNET2016 | ServiceBus/SharedLibs/DataContracts/Order.cs | ServiceBus/SharedLibs/DataContracts/Order.cs | using System;
using System.Runtime.Serialization;
namespace SharedLibs.DataContracts
{
/// <summary>
/// Order information
/// </summary>
[DataContract]
public class Order : DTO
{
/// <summary>
/// Order ID
/// Every order must have unique Order ID
... | using System;
using System.Runtime.Serialization;
namespace SharedLibs.DataContracts
{
/// <summary>
/// Order information
/// </summary>
[DataContract]
public class Order : DTO
{
/// <summary>
/// Order ID
/// </summary>
[DataMember]
publ... | mit | C# |
6fa4b470f7300eba698c0a4a588136cec24f75f6 | Return null immediately if file handle is not valid | joshvera/CefSharp,zhangjingpu/CefSharp,zhangjingpu/CefSharp,Livit/CefSharp,ITGlobal/CefSharp,dga711/CefSharp,haozhouxu/CefSharp,yoder/CefSharp,Livit/CefSharp,dga711/CefSharp,battewr/CefSharp,windygu/CefSharp,jamespearce2006/CefSharp,NumbersInternational/CefSharp,joshvera/CefSharp,AJDev77/CefSharp,rlmcneary2/CefSharp,il... | CefSharp.Wpf/Rendering/InteropBitmapInfo.cs | CefSharp.Wpf/Rendering/InteropBitmapInfo.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace CefSharp.Wpf.Rendering
{
... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace CefSharp.Wpf.Rendering
{
... | bsd-3-clause | C# |
30098480fe0a17f8afd708f05f5799f6d840bd86 | Use the lock in the factory class. | ttakahari/AdoNetProfiler | src/AdoNetProfiler/AdoNetProfiler/AdoNetProfilerFactory.cs | src/AdoNetProfiler/AdoNetProfiler/AdoNetProfilerFactory.cs | using System;
using System.Reflection;
using System.Threading;
namespace AdoNetProfiler
{
/// <summary>
/// The factory to create the object of <see cref="IProfiler"/>.
/// </summary>
public class AdoNetProfilerFactory
{
// ConstructorInfo is faster than Func<IProfiler> when invoking.
... | using System;
using System.Reflection;
namespace AdoNetProfiler
{
/// <summary>
/// The factory to create the object of <see cref="IProfiler"/>.
/// </summary>
public class AdoNetProfilerFactory
{
// ConstructorInfo is faster than Func<IProfiler> when invoking.
private static Const... | mit | C# |
0ade1ead7c4c015821fb9754a090667c9b6e00f4 | Fix typo in DomNoInterfaceObjectAttribute docs. | AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp | src/AngleSharp/Attributes/DomNoInterfaceObjectAttribute.cs | src/AngleSharp/Attributes/DomNoInterfaceObjectAttribute.cs | namespace AngleSharp.Attributes
{
using System;
/// <summary>
/// This attribute appears on interfaces, which must not be available
/// in the ECMAScript binding.
/// </summary>
[AttributeUsage(
AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct,
In... | namespace AngleSharp.Attributes
{
using System;
/// <summary>
/// This attribute appears on an interfaces, which must not be available
/// in the ECMAScript binding.
/// </summary>
[AttributeUsage(
AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct,
... | mit | C# |
0f2ed070cc84657583ebcfd6dad6cab8cd00af8e | Add missing marshaling directives on Windows timezone structures | yizhang82/corert,krytarowski/corert,botaberg/corert,shrah/corert,manu-silicon/corert,schellap/corert,kyulee1/corert,mjp41/corert,shrah/corert,kyulee1/corert,sandreenko/corert,shrah/corert,yizhang82/corert,botaberg/corert,manu-silicon/corert,tijoytom/corert,gregkalapos/corert,schellap/corert,gregkalapos/corert,gregkalap... | src/Common/src/Interop/Windows/mincore/Interop.TimeZone.cs | src/Common/src/Interop/Windows/mincore/Interop.TimeZone.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static un... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static un... | mit | C# |
46ef1e7ecd7e2e7545897834478eea12aff85d3d | Fix bug: Array index is out of range | SnpM/Lockstep-Framework | Core/Simulation/Physics/Core/PhysicsTool.cs | Core/Simulation/Physics/Core/PhysicsTool.cs | using FastCollections;
namespace Lockstep
{
/// <summary>
/// Physics tool for
/// </summary>
public static class PhysicsTool
{
/// <summary>
/// Finds all dynamic bodies touching a defined circle.
/// </summary>
/// <param name="radius">Radius.</param>
/// <param name="output">Output.</param>
public... | using FastCollections;
namespace Lockstep
{
/// <summary>
/// Physics tool for
/// </summary>
public static class PhysicsTool
{
/// <summary>
/// Finds all dynamic bodies touching a defined circle.
/// </summary>
/// <param name="radius">Radius.</param>
/// <param name="output">Output.</param>
public... | mit | C# |
8b0690843f0dee862f91b80c1dea7ef5257edf78 | Fix a potential deadlock | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | src/tests/IntegrationTests/Git/GitClientTests.cs | src/tests/IntegrationTests/Git/GitClientTests.cs | using System;
using System.Threading.Tasks;
using FluentAssertions;
using GitHub.Unity;
using NUnit.Framework;
namespace IntegrationTests
{
[TestFixture]
class GitClientTests : BaseGitEnvironmentTest
{
[Test]
public async Task ShouldGetGitVersion()
{
Initialize(TestRepoM... | using System;
using System.Threading.Tasks;
using FluentAssertions;
using GitHub.Unity;
using NUnit.Framework;
namespace IntegrationTests
{
[TestFixture]
class GitClientTests : BaseGitEnvironmentTest
{
[Test]
public void ShouldGetGitVersion()
{
Initialize(TestRepoMasterC... | mit | C# |
e213a275181fc2e9642e0608648baa02dcb974e5 | update AssemblyInfo | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("He... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("He... | mit | C# |
cecc0b6d63a52db12a615f4c800e3d1115680529 | Replace .NET Timer usage with GLib.Timeout | residuum/xwt,hwthomas/xwt,mono/xwt,TheBrainTech/xwt,cra0zy/xwt,steffenWi/xwt,hamekoz/xwt,antmicro/xwt,lytico/xwt,akrisiun/xwt,mminns/xwt,iainx/xwt,directhex/xwt,mminns/xwt,sevoku/xwt | Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs | Xwt.Gtk/Xwt.GtkBackend/ProgressBarBackend.cs | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Soft... | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Soft... | mit | C# |
459495961db6ccd47118b1394b9aaf3935e81671 | update client | MetacoSA/QBitNinja | QBitNinja.Client/Properties/AssemblyInfo.cs | QBitNinja.Client/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
72b690ef459f64af8c0c8c269c8f6a5a278a15f8 | Update assembly copyright | CalebChalmers/KAGTools | KAGTools/Properties/AssemblyInfo.cs | KAGTools/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
7e031bf4ea8f3b7a13a9a22872e4e6806dacf67f | Fix regression in numeric fields regarding negatives | unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/Matte... | SlicerConfiguration/UIFields/NumberField.cs | SlicerConfiguration/UIFields/NumberField.cs | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
a96001674b669ef65bf741bb981a8c8d4819dc5f | Remove unneccesary ICache field in ConfigurationForType | RogerKratz/mbcache | MbCache/Logic/ConfigurationForType.cs | MbCache/Logic/ConfigurationForType.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using MbCache.Configuration;
namespace MbCache.Logic
{
public class ConfigurationForType
{
public ConfigurationForType(Type clrType, string typeAsCacheKeyString)
{
ComponentType = new ComponentType(clrType, typeAsCacheKeyString);
Cac... | using System;
using System.Collections.Generic;
using System.Reflection;
using MbCache.Configuration;
namespace MbCache.Logic
{
public class ConfigurationForType
{
private ICache _cache;
public ConfigurationForType(Type clrType, string typeAsCacheKeyString)
{
ComponentType = new ComponentType(clrType, typ... | mit | C# |
a4d20ab86bfa8bb93af078fa801e83b6e9ab5dbb | Add 'X-HttpRequest-Method' response header | davidsh/NetworkingTestServer,davidsh/NetworkingTestServer,davidsh/NetworkingTestServer | WebServer/Echo.ashx.cs | WebServer/Echo.ashx.cs | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace WebServer
{
public class Echo : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
if (!AuthenticationHelper.HandleAuthentication(context))
{
... | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Web;
namespace WebServer
{
public class Echo : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
if (!AuthenticationHelper.HandleAuthentication(context))
{
... | mit | C# |
019a7d9ba91ff83167ab0c72b94d887a5b9dff7d | Fix reps. master again | joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.Domain/ClaimSourceExtensions.cs | JoinRpg.Domain/ClaimSourceExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers;
namespace JoinRpg.Domain
{
public static class ClaimSourceExtensions
{
public static bool HasClaimForUser(this IClaimSource claimSource, int currentUserId)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers;
namespace JoinRpg.Domain
{
public static class ClaimSourceExtensions
{
public static bool HasClaimForUser(this IClaimSource claimSource, int currentUserId)
{
... | mit | C# |
edb55399ec5bf204cb84b0adfb943727cf001217 | Add metadata support to abstract report | ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector | KenticoInspector.Core/AbstractReport.cs | KenticoInspector.Core/AbstractReport.cs | using KenticoInspector.Core.Models;
using System;
using System.Collections.Generic;
namespace KenticoInspector.Core
{
public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new()
{
public string Codename => GetCodename(this.GetType());
public static string GetCodename(T... | using KenticoInspector.Core.Models;
using System;
using System.Collections.Generic;
namespace KenticoInspector.Core
{
public abstract class AbstractReport : IReport
{
public string Codename => GetCodename(this.GetType());
public static string GetCodename(Type reportType) {
return ... | mit | C# |
2e33431a66d26cdf809d2c4d0e5038faccadb732 | Increment version no. to 0.2.0 | whampson/cascara,whampson/bft-spec | Src/WHampson.BFT/Properties/AssemblyInfo.cs | Src/WHampson.BFT/Properties/AssemblyInfo.cs | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | #region License
/* Copyright (c) 2017 Wes Hampson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify,... | mit | C# |
acf8766954a41ca5e0fbd5b5e6cdbee1641d8a2e | refactor to expression method | mattherman/MbDotNet,mattherman/MbDotNet,SuperDrew/MbDotNet | MbDotNet.Acceptance.Tests/AcceptanceTest.cs | MbDotNet.Acceptance.Tests/AcceptanceTest.cs |
using System;
using MbDotNet.Acceptance.Tests.AcceptanceTests;
namespace MbDotNet.Acceptance.Tests
{
internal static class AcceptanceTest
{
internal static void CanCreateImposter(MountebankClient client) => new CanCreateImposterTest(client).Run();
public static void CanDeleteImposter(Mounteba... |
using System;
using MbDotNet.Acceptance.Tests.AcceptanceTests;
namespace MbDotNet.Acceptance.Tests
{
internal static class AcceptanceTest
{
internal static void CanCreateImposter(MountebankClient client) => new CanCreateImposterTest(client).Run();
public static void CanDeleteImposter(Mounteb... | mit | C# |
9aaba8e398e5980aae696443175f2071ab3995b4 | bump content edition version. | KevinJump/uSync,KevinJump/uSync,KevinJump/uSync | uSync8.ContentEdition/Properties/AssemblyInfo.cs | uSync8.ContentEdition/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("uSync8.ContentEdition")]
[assembly: Assemb... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("uSync8.ContentEdition")]
[assembly: Assemb... | mpl-2.0 | C# |
47a38696509bcdbd32437ca3b3cb38a054848d65 | Bump version to 3.0.0.0 | dropio/rmb-csharp | Rmb.Core/Properties/AssemblyInfo.cs | Rmb.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Rmb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Dr... | mit | C# |
2f56760bbee581644a3790bd17c541b42a9ff8b1 | Fix build | deanshackley/CondenserDotNet,Drawaes/CondenserDotNet | src/CondenserDotNet.Server/Routes/HealthRouter.cs | src/CondenserDotNet.Server/Routes/HealthRouter.cs | using System;
using System.Net;
using System.Threading.Tasks;
using CondenserDotNet.Core;
using CondenserDotNet.Server.Builder;
using CondenserDotNet.Server.DataContracts;
using CondenserDotNet.Server.Extensions;
using Microsoft.AspNetCore.Http;
namespace CondenserDotNet.Server.Routes
{
public sealed class Health... | using System;
using System.Net;
using System.Threading.Tasks;
using CondenserDotNet.Core;
using CondenserDotNet.Server.Builder;
using CondenserDotNet.Server.DataContracts;
using CondenserDotNet.Server.Extensions;
using Microsoft.AspNetCore.Http;
namespace CondenserDotNet.Server.Routes
{
public sealed class Health... | mit | C# |
60280a5354f06e6771f4a800ae80dfc039d9810f | Fix PII typo | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Home/PrivacyAct.cshtml | Battery-Commander.Web/Views/Home/PrivacyAct.cshtml | <h1>Privacy Statement</h1>
<h2>For Official Use Only (FOUO)</h2>
<p>By using this system, you have a responsibility to safeguard the information entrusted to you.</p>
<p>Be able to recognize PII and safeguard it.</p>
<p>Collect PII only when authorized.</p>
<p>Collect only necessary information.</p>
<p>Keep the ... | <h1>Privacy Statement</h1>
<h2>For Official Use Only (FOUO)</h2>
<p>By using this system, you have a responsibility to safeguard the information entrusted to you.</p>
<p>Be able to recognize PII and safeguard it.</p>
<p>Collect PII only when authorized.</p>
<p>Collect only necessary information.</p>
<p>Keep the ... | mit | C# |
86b42af6ca8294d3b77cb925984d52a7f5be4695 | Fix a failing EncrtpyionUtility unit test | bungeemonkee/Configgy | Configgy.Tests/Utilities/EncryptionUtilityTests.cs | Configgy.Tests/Utilities/EncryptionUtilityTests.cs | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Configgy.Utilities;
namespace Configgy.Tests.Utilities
{
[TestClass]
[ExcludeFromCodeCoverage]
public class EncryptionUtili... | using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Configgy.Utilities;
using System.Linq;
namespace Configgy.Tests.Utilities
{
[TestClass]
[ExcludeFromCodeCoverage]
public class EncryptionUtilityTests
{
[TestMethod]
public voi... | mit | C# |
658e1d4f883ca6ebb88240113a9099ddd6622c3f | fix deserialization error | sailthru/sailthru-net-client | Sailthru/Sailthru.Tests/Mock/UserApi.cs | Sailthru/Sailthru.Tests/Mock/UserApi.cs | using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace Sailthru.Tests.Mock
{
public class UserApi
{
public static object ProcessPost(JObject request)
{
string id = (string)request["id"];
string optout = (string)request["optout_email"];
JObjec... | using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace Sailthru.Tests.Mock
{
public class UserApi
{
public static object ProcessPost(JObject request)
{
string id = request["id"].Value<string>();
string optout = request["optout_email"].Value<string>();
... | mit | C# |
2c0ddaa71ef3e247fd18ad2ff88e855a80637d5c | Fix tests on .NET 4.8 (#2181) | graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet | src/GraphQL.Tests/StringExtensionTests.cs | src/GraphQL.Tests/StringExtensionTests.cs | using System;
using System.Collections.Generic;
using Shouldly;
using Xunit;
namespace GraphQL.Tests
{
public class StringExtensionTests
{
[Theory]
[InlineData("Ab", "AB")]
[InlineData("ba", "BA")]
[InlineData("AB", "AB")]
[InlineData("aB", "A_B")]
[InlineData("a... | using System;
using System.Collections.Generic;
using Shouldly;
using Xunit;
namespace GraphQL.Tests
{
public class StringExtensionTests
{
[Theory]
[InlineData("Ab", "AB")]
[InlineData("ba", "BA")]
[InlineData("AB", "AB")]
[InlineData("aB", "A_B")]
[InlineData("a... | mit | C# |
5fe695798253e5d30771d77469adc1f10a60e771 | fix for mozilla | Ashatta/qreal,dvvrd/qreal,tara-sova/qreal,Ashatta/qreal,Ashatta/qreal,Victor-Y-Fadeev/qreal,RomanBelkov/qreal,dvvrd/qreal,DenisKogutich/qreal,DenisKogutich/qreal,tara-sova/qreal,dvvrd/qreal,DenisKogutich/qreal,anastasia143/qreal,anastasia143/qreal,tara-sova/qreal,tara-sova/qreal,dvvrd/qreal,RomanBelkov/qreal,ZiminGrigo... | tools/BuildsVisualization/BuildsVisualization/BuildInfo.cs | tools/BuildsVisualization/BuildsVisualization/BuildInfo.cs | using System;
using System.Collections.Generic;
using System.Web;
using System.IO;
namespace BuildsVisualization
{
public class BuildInfo : CommitInfo
{
private string url;
public string Url
{
get
{
return url;
}
... | using System;
using System.Collections.Generic;
using System.Web;
using System.IO;
namespace BuildsVisualization
{
public class BuildInfo : CommitInfo
{
private string url;
public string Url
{
get
{
return url;
}
... | apache-2.0 | C# |
1c71c2d005385444d71c210f3dbb80dc3c457b5d | Add helper functions on Video model to easily expose different Video quality URL's. | mohibsheth/vimeo-dot-net,justinspradlin/vimeo-dot-net,mfilippov/vimeo-dot-net,agricfowl/vimeo-dot-net,needham-develop/vimeo-dot-net,cornem/vimeo-dot-net | VimeoDotNet/VimeoDotNet/Models/Video.cs | VimeoDotNet/VimeoDotNet/Models/Video.cs | using System;
using System.Collections.Generic;
using System.Linq;
using VimeoDotNet.Enums;
using VimeoDotNet.Helpers;
namespace VimeoDotNet.Models
{
[Serializable]
public class Video
{
public long? id
{
get { return ModelHelpers.ParseModelUriId(uri); }
}
publi... | using System;
using System.Collections.Generic;
using VimeoDotNet.Enums;
using VimeoDotNet.Helpers;
namespace VimeoDotNet.Models
{
[Serializable]
public class Video
{
public long? id
{
get { return ModelHelpers.ParseModelUriId(uri); }
}
public string uri { get;... | mit | C# |
0975306d6f38c9afcbeb1744ac8f2b52399bffdf | Update version to 1.3.0.0 | BinaryKits/ZPLUtility | ZPLUtility/Properties/AssemblyInfo.cs | ZPLUtility/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ZPL... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ZPL... | mit | C# |
4ab84f43b96106d13622cea42ead1ba923281439 | optimize uk provider | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Nager.Date/PublicHolidays/UnitedKingdomProvider.cs | Nager.Date/PublicHolidays/UnitedKingdomProvider.cs | using Nager.Date.Contract;
using Nager.Date.Model;
using System;
using System.Collections.Generic;
namespace Nager.Date.PublicHolidays
{
public class UnitedKingdomProvider : IPublicHolidayProvider
{
public IEnumerable<PublicHoliday> Get(DateTime easterSunday, int year)
{
//United K... | using Nager.Date.Contract;
using Nager.Date.Model;
using System;
using System.Collections.Generic;
namespace Nager.Date.PublicHolidays
{
public class UnitedKingdomProvider : IPublicHolidayProvider
{
public IEnumerable<PublicHoliday> Get(DateTime easterSunday, int year)
{
//United K... | mit | C# |
1bff640e31ccf84de67b1d8a6ee2b3275ddea512 | Move class into correct namespace. | honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette | src/Cassette.Web/ModuleRequestHandler.cs | src/Cassette.Web/ModuleRequestHandler.cs | using System;
using System.Web;
using System.Web.Routing;
namespace Cassette.Web
{
public class ModuleRequestHandler<T> : IHttpHandler
where T : Module
{
public ModuleRequestHandler(IModuleContainer<T> moduleContainer, RequestContext requestContext)
{
this.module... | using System;
using System.Web;
using System.Web.Routing;
namespace Cassette
{
public class ModuleRequestHandler<T> : IHttpHandler
where T : Module
{
public ModuleRequestHandler(IModuleContainer<T> moduleContainer, RequestContext requestContext)
{
this.moduleCont... | mit | C# |
f8a115a25a25229ec12ab647dd3fd71907805445 | Update Edit.cshtml | daguiarbr/freight-management,daguiarbr/freight-management | FreightManagement/FreightManagement/Views/Rating/Edit.cshtml | FreightManagement/FreightManagement/Views/Rating/Edit.cshtml | @model FreightManagement.ViewModels.RatingViewModel
@{
ViewBag.Title = "Modificar Classificação";
}
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">@ViewBag.Title:</h3>
</div>
@Html.Partial("_FormPartial")
</div>
@section Scripts {
@Scripts.Render... | @model FreightManagement.ViewModels.RatingViewModel
@{
ViewBag.Title = "Modificar Classificação";
}
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">@ViewBag.Title:</h3>
</div>
@Html.Partial("_FormPartial")
</div>
@section Scripts {
@Scripts.Render... | unlicense | C# |
667e32e4f5e47172145b70ac4a7f18c3f56be5b2 | Add existing renderers when constructing a WpfRenderer. | Kryptos-FR/markdig.wpf,Kryptos-FR/markdig-wpf | src/Markdig.Wpf/Renderers/WpfRenderer.cs | src/Markdig.Wpf/Renderers/WpfRenderer.cs | // Copyright (c) 2016 Nicolas Musset. All rights reserved.
// This file is licensed under the MIT license.
// See the LICENSE.md file in the project root for more information.
using System;
using System.Windows.Documents;
using Markdig.Renderers.Wpf;
using Markdig.Renderers.Wpf.Inlines;
using Markdig.Syntax;
namesp... | // Copyright (c) 2016 Nicolas Musset. All rights reserved.
// This file is licensed under the MIT license.
// See the LICENSE.md file in the project root for more information.
using System;
using Markdig.Syntax;
namespace Markdig.Renderers
{
public class WpfRenderer : RendererBase
{
public override ... | mit | C# |
09d21957abf919e7e8d034de79ba2d47cb5497bc | check for null connection in InputBusWrapper | mccarthyrb/libpalaso,ddaspit/libpalaso,darcywong00/libpalaso,marksvc/libpalaso,tombogle/libpalaso,tombogle/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,hatton/libpalaso,ermshiperete/libpalaso,hatton/libpalaso,sillsdev/libpalaso,mark... | PalasoUIWindowsForms/Keyboarding/InputBusWrapper.cs | PalasoUIWindowsForms/Keyboarding/InputBusWrapper.cs | #if MONO
using NDesk.DBus;
namespace IBusDotNet
{
public class InputBusWrapper
{
IIBus _inputBus;
public InputBusWrapper(IBusConnection connection)
{
if (connection == null)
{
throw new System.ArgumentNullException("IBusConnection");
}
_inputBus = ((NDesk.DBus.Connection)connection).GetObject<... | #if MONO
using NDesk.DBus;
namespace IBusDotNet
{
public class InputBusWrapper
{
IIBus _inputBus;
public InputBusWrapper(IBusConnection connection)
{
_inputBus = ((NDesk.DBus.Connection)connection).GetObject<IIBus>("org.freedesktop.IBus", new ObjectPath("/org/freedesktop/IBus"));
}
/// <summary>
///... | mit | C# |
dcc174ef88fd295c5bb559ccf18d806351d68b5e | Update AssemblyInfo.cs | tiksn/TIKSN-Framework | TIKSN.RegionLocalization/Properties/AssemblyInfo.cs | TIKSN.RegionLocalization/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("TIKSN.RegionLocalization")]
[assembly: NeutralResourcesLanguage("en")]
| using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("TIKSN.RegionLocalization")]
[assembly: NeutralResourcesLanguage("en")] | mit | C# |
2a81c095ac8429d9078c71a0850ad834b8d25437 | Remove tmp files after we're done with them. (#228) | Unity-Technologies/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs,mono/debugger-libs | UnitTests/Mono.Debugging.Tests/Shared/SourceLocationTests.cs | UnitTests/Mono.Debugging.Tests/Shared/SourceLocationTests.cs | //
// SourceLocationTests.cs
//
// Author:
// Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2019 Microsoft Corp.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software wi... | //
// SourceLocationTests.cs
//
// Author:
// Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2019 Microsoft Corp.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software wi... | mit | C# |
d2c4b15e87d3ef0958096f012517964f8565b3a9 | Update Admin Registration Field Order to be Consistent with Front End | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Areas/Admin/Views/UserManager/_Create.cshtml | Portal.CMS.Web/Areas/Admin/Views/UserManager/_Create.cshtml | @model Portal.CMS.Web.Areas.Admin.ViewModels.UserManager.CreateViewModel
@{
ViewBag.Title = "Create User";
ViewBag.Icon = "/Areas/Admin/Content/Images/icon-users.png";
Layout = "";
}
@using (Html.BeginForm("Create", "UserManager", FormMethod.Post, new { id = "createUserform" }))
{
@Html.AntiForgeryTok... | @model Portal.CMS.Web.Areas.Admin.ViewModels.UserManager.CreateViewModel
@{
ViewBag.Title = "Create User";
ViewBag.Icon = "/Areas/Admin/Content/Images/icon-users.png";
Layout = "";
}
@using (Html.BeginForm("Create", "UserManager", FormMethod.Post, new { id = "createUserform" }))
{
@Html.AntiForgeryTok... | mit | C# |
b6d17e6c8723ad91ce79388d2b48e763c5f08e91 | Remove ForegroundThreadAffinitizedObject usage | bartdesmet/roslyn,weltkante/roslyn,mavasani/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,shyamnamboodir... | src/EditorFeatures/Core.Cocoa/Preview/PreviewPaneService.cs | src/EditorFeatures/Core.Cocoa/Preview/PreviewPaneService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Composition;
using Microsoft.CodeAnalysis.Diagnostics;... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Composition;
using Microsoft.CodeAnalysis.Diagnostics;... | mit | C# |
2068e9b05c270341433b2c0ae4d5bfc6c7381252 | Add comment | wvdd007/roslyn,CyrusNajmabadi/roslyn,physhi/roslyn,physhi/roslyn,mavasani/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,ErikSchierboom/roslyn,bartdesmet/roslyn,sharwell/roslyn,KevinRansom/roslyn,eriawan/roslyn,AlekseyTs/roslyn,mgoertz-msft/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,AlekseyTs/roslyn,physhi/roslyn,shyamnamb... | src/Features/Core/Portable/FindUsages/IFindUsagesContext.cs | src/Features/Core/Portable/FindUsages/IFindUsagesContext.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Shared.Utilities;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis... | mit | C# |
3c939d7fe9904503983b418457b5ba79a5e4a780 | tidy up | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance/Mappings/TransactionMappings.cs | src/SFA.DAS.EmployerFinance/Mappings/TransactionMappings.cs | using AutoMapper;
using SFA.DAS.EmployerFinance.Models.Levy;
using SFA.DAS.EmployerFinance.Models.Payments;
using SFA.DAS.EmployerFinance.Models.Transaction;
using SFA.DAS.EmployerFinance.Models.Transfers;
namespace SFA.DAS.EmployerFinance.Mappings
{
public class TransactionMappings : Profile
{
public... | using AutoMapper;
using SFA.DAS.EmployerFinance.Models.Levy;
using SFA.DAS.EmployerFinance.Models.Payments;
using SFA.DAS.EmployerFinance.Models.Transaction;
using SFA.DAS.EmployerFinance.Models.Transfers;
namespace SFA.DAS.EmployerFinance.Mappings
{
public class TransactionMappings : Profile
{
public... | mit | C# |
85aa25bd514e76140120dea106470037649a8385 | Add directory support. | EusthEnoptEron/mdlanim | mdlanim/Program.cs | mdlanim/Program.cs | using System;
using System.Collections.Generic;
using System.Text;
using BrawlLib.Modeling;
using System.Linq;
using BrawlLib.SSBB.ResourceNodes;
using System.IO;
namespace mdlanim
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 1 && Directory.Exists(args[0... | using System;
using System.Collections.Generic;
using System.Text;
using BrawlLib.Modeling;
using System.Linq;
using BrawlLib.SSBB.ResourceNodes;
using System.IO;
namespace mdlanim
{
class Program
{
static void Main(string[] args)
{
var mdl0path = args.FirstOrDefault(f => f.EndsW... | mit | C# |
9b5a32cf740d000966e3e51b76a74c85e8e5eba0 | Make test case assert more logically | ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osu.Framework.Testing.Input;
using osuTK;
using osuTK.Input;
name... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Input;
using osu.Framework.Testing;
using... | mit | C# |
dd3be1767c8edf803f8a9f81a479ae585f784639 | Fix login page | mattgwagner/alert-roster | alert-roster.web/Views/Account/Login.cshtml | alert-roster.web/Views/Account/Login.cshtml | @{
ViewBag.Title = "Login";
}
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Password</h4>
<div class="form-group">
<div class="col-md-4">
@Html.Password("password")
</div>
</div>
<div class=... | @{
ViewBag.Title = "Login";
}
@using (Html.BeginForm("Login", "Home", FormMethod.Post))
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Password</h4>
<div class="form-group">
<div class="col-md-4">
@Html.Password("password")
</div>
... | mit | C# |
855be1ec27572f522669e9e70f754d465792559b | Load Tcl in a cross-platform way | undees/irule,undees/irule | lib/irule.cs | lib/irule.cs | // The code is new, but the idea is from http://wiki.tcl.tk/9563
using System;
using System.Runtime.InteropServices;
namespace Irule
{
public class TclInterp : IDisposable
{
[DllImport("tcl8.4")]
protected static extern IntPtr Tcl_CreateInterp();
[DllImport("tcl8.4")]
protecte... | // The code is new, but the idea is from http://wiki.tcl.tk/9563
using System;
using System.Runtime.InteropServices;
namespace Irule
{
public class TclInterp : IDisposable
{
[DllImport("libtcl.dylib")]
protected static extern IntPtr Tcl_CreateInterp();
[DllImport("libtcl.dylib")]
... | mit | C# |
9f83abdd985e0ddab2c9b49afbb26360a21e7eba | Implement IDisposable in LazyLoadSourceContents | ixfalia/banshee,arfbtwn/banshee,dufoli/banshee,arfbtwn/banshee,directhex/banshee-hacks,babycaseny/banshee,Dynalon/banshee-osx,petejohanson/banshee,petejohanson/banshee,arfbtwn/banshee,directhex/banshee-hacks,stsundermann/banshee,dufoli/banshee,Carbenium/banshee,babycaseny/banshee,directhex/banshee-hacks,ixfalia/banshee... | src/Core/Banshee.ThickClient/Banshee.Sources.Gui/LazyLoadSourceContents.cs | src/Core/Banshee.ThickClient/Banshee.Sources.Gui/LazyLoadSourceContents.cs | //
// LazyLoadSourceContents.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrict... | //
// LazyLoadSourceContents.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrict... | mit | C# |
e04fdea715f857a02c2a5c3c3bddb03b7369e065 | 更新 .net 4.5 版本号 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | apache-2.0 | C# |
0ee3267f1d4852b954bc9f4a2abfaac5eff1a84d | Move scale operation to base constructor. | saschb2b/mugo | mugo/PizzaModel.cs | mugo/PizzaModel.cs | using System;
using Engine.cgimin.material.simpletexture;
using Engine.cgimin.object3d;
using Engine.cgimin.texture;
using OpenTK;
namespace Mugo
{
class PizzaModel : ClonedObject<PizzaModelInternal>, ITunnelSegementElementModel
{
private static readonly SimpleTextureMaterial material = new SimpleTextureMaterial(... | using System;
using Engine.cgimin.material.simpletexture;
using Engine.cgimin.object3d;
using Engine.cgimin.texture;
using OpenTK;
namespace Mugo
{
class PizzaModel : ClonedObject<PizzaModelInternal>, ITunnelSegementElementModel
{
private static readonly SimpleTextureMaterial material = new SimpleTextureMaterial(... | mit | C# |
13c72b3dbf861613878e7f5457ca51f42ee9af99 | revise api names | Syntronian/Flowplane-Extensions,Syntronian/Flowplane-Extensions,Syntronian/Flowplane-Extensions | source/FlowplaneExtensions/App_Start/WebApiConfig.cs | source/FlowplaneExtensions/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace FlowplaneExtensions
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace FlowplaneExtensions
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... | mit | C# |
b1d5332d33ece91f721900a26d96b9d0fe00ccca | Clear up enemy controller | tianlang0704/2BHero | Assets/Scripts/Components/Enemy/EnemyController.cs | Assets/Scripts/Components/Enemy/EnemyController.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class EnemyController : MonoInjectable {
[Header("Resources")]
public List<Enemy> enemyPrefabs = new List<Enemy>();
[Header("Spawn Params")]
public float intervalConst... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class EnemyController : MonoInjectable {
[Header("Resources")]
public List<string> skyMarkNames = new List<string>() { "E2", "E3" };
public List<string> groundMarkNames = ... | mit | C# |
039b313b87a9e45ccaabfaa8524b0bc8eacb5b7e | fix flip | pixel-stuff/Parallax | Assets/parallax/Script/generator/assetGenerator.cs | Assets/parallax/Script/generator/assetGenerator.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class assetGenerator : parralaxAssetGenerator {
public GameObject prefab;
public bool authoriseRandomFlip = false;
public List<GameObject> GameObjectTabOfTypePrefab = new List<GameObject>();
// Use this for initialization
pu... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class assetGenerator : parralaxAssetGenerator {
public GameObject prefab;
public bool authoriseRandomFlip = false;
public List<GameObject> GameObjectTabOfTypePrefab = new List<GameObject>();
// Use this for initialization
pu... | mit | C# |
7b3700c2c694eafba97da829c15f0e8f6ba30738 | Fix bitbank API weirdness (Fix #741) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Services/Rates/BitbankRateProvider.cs | BTCPayServer/Services/Rates/BitbankRateProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using BTCPayServer.Rating;
using Newtonsoft.Json.Linq;
namespace BTCPayServer.Services.Rates
{
public class BitbankRateProvider : IRateProvider, IHasExchangeName
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using BTCPayServer.Rating;
using Newtonsoft.Json.Linq;
namespace BTCPayServer.Services.Rates
{
public class BitbankRateProvider : IRateProvider, IHasExchangeName
{
... | mit | C# |
c8c727e1bad3d92f667cbc27306ee4ebf148950c | Update to Problem 9. Sum of n Numbers | SimoPrG/CSharpPart1Homework | Console-IO-Homework/SumOfNNumbers/SumOfNNumbers.cs | Console-IO-Homework/SumOfNNumbers/SumOfNNumbers.cs | /*Problem 9. Sum of n Numbers
Write a program that enters a number n and after that enters more n numbers and calculates and prints their sum.
Note: You may need to use a for-loop.
Examples:
numbers sum
3 90
20
60
10
5 6.5
2
-1
-0.5
4
2
1 1
1
*/
using System;
clas... | /*Problem 9. Sum of n Numbers
Write a program that enters a number n and after that enters more n numbers and calculates and prints their sum.
Note: You may need to use a for-loop.
Examples:
numbers sum
3 90
20
60
10
5 6.5
2
-1
-0.5
4
2
1 1
1
*/
using System;
clas... | mit | C# |
131c8da55b430c6c05622b5e5fc715713a43639c | Update ApproveOrDeclineHeldTransaction.cs | AuthorizeNet/sample-code-csharp | FraudManagement/ApproveOrDeclineHeldTransaction.cs | FraudManagement/ApproveOrDeclineHeldTransaction.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuthorizeNet;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;
namespace net.authorize.sample.FraudManagement
{
class ApproveO... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuthorizeNet;
using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;
namespace net.authorize.sample.PaymentTransactions
{
class Appr... | mit | C# |
42d3fc10ff1b29751fdb7764eec9243da0a2a564 | Allow hostnames on ScsTcpClient | hikalkan/scs | src/Scs/Communication/Scs/Client/Tcp/ScsTcpClient.cs | src/Scs/Communication/Scs/Client/Tcp/ScsTcpClient.cs | using Hik.Communication.Scs.Communication.Channels;
using Hik.Communication.Scs.Communication.Channels.Tcp;
using Hik.Communication.Scs.Communication.EndPoints.Tcp;
using System.Net;
namespace Hik.Communication.Scs.Client.Tcp
{
/// <summary>
/// This class is used to communicate with server over TCP/IP protoc... | using Hik.Communication.Scs.Communication.Channels;
using Hik.Communication.Scs.Communication.Channels.Tcp;
using Hik.Communication.Scs.Communication.EndPoints.Tcp;
using System.Net;
namespace Hik.Communication.Scs.Client.Tcp
{
/// <summary>
/// This class is used to communicate with server over TCP/IP protoc... | mit | C# |
3b858d078cf54465d9af8e2bb9e1a144bcfcdbf4 | Increase TestIpc timeout. | ppy/osu-framework,Tom94/osu-framework,paparony03/osu-framework,peppy/osu-framework,paparony03/osu-framework,ZLima12/osu-framework,default0/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framewor... | osu.Framework.Desktop.Tests/Platform/HeadlessGameHostTest.cs | osu.Framework.Desktop.Tests/Platform/HeadlessGameHostTest.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Threading;
using osu.Framework.Desktop.Platform;
using osu.Framework.Platform;
using NUnit.Framework;
namespace osu.Frame... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Threading;
using osu.Framework.Desktop.Platform;
using osu.Framework.Platform;
using NUnit.Framework;
namespace osu.Frame... | mit | C# |
abe08ce87ebbbb10b52a8544dadffb005bd1d871 | change path to relative in tags script | pizycki/pizycki.github.io,pizycki/pizycki.github.io,pizycki/pizycki.github.io,pizycki/pizycki.github.io,pizycki/pizycki.github.io | print-all-tags.csx | print-all-tags.csx | using System.Text.RegularExpressions;
var postsDir = @"_posts";
var posts = Directory.EnumerateFiles(postsDir, "*.md", SearchOption.AllDirectories);
// print found posts
//posts.ToList().ForEach(Console.WriteLine);
var tags = posts.SelectMany(GetTags).Distinct().OrderBy(x=>x).ToList();
tags.ForEach(Console.WriteLine)... | using System.Text.RegularExpressions;
var postsDir = @"C:\dev\pizycki.github.io\_posts";
var posts = Directory.EnumerateFiles(postsDir, "*.md", SearchOption.AllDirectories);
// print found posts
//posts.ToList().ForEach(Console.WriteLine);
var tags = posts.SelectMany(GetTags).Distinct().OrderBy(x=>x).ToList();
tags.F... | mit | C# |
274418298809b323c926600ca071c5e2619bff92 | Bump version | zhdusurfin/HttpMock,hibri/HttpMock | src/HttpMock/Properties/AssemblyInfo.cs | src/HttpMock/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
01ffe6511d590af2d7d211f293a00d827e72d935 | Update 02-Write-Data.cs | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | .dotnet/example_code/DynamoDB/TryDax/02-Write-Data.cs | .dotnet/example_code/DynamoDB/TryDax/02-Write-Data.cs | // snippet-start:[dynamodb.dotNET.trydax.02-Write-Data]
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.Model;
namespace ClientT... | // snippet-sourcedescription:[ ]
// snippet-service:[dynamodb]
// snippet-keyword:[dotNET]
// snippet-keyword:[Amazon DynamoDB]
// snippet-keyword:[Code Sample]
// snippet-keyword:[ ]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[ ]
// snippet-sourceauthor:[AWS]
// snippet-start:[dynamodb.dotNET.trydax.02... | apache-2.0 | C# |
26efd88e6a7fca90284f80f920cdc4adc340f029 | Fix line endings. | ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,alobakov/nh... | src/NHibernate/Dialect/MySQL5Dialect.cs | src/NHibernate/Dialect/MySQL5Dialect.cs | using System.Data;
using NHibernate.SqlCommand;
namespace NHibernate.Dialect
{
public class MySQL5Dialect : MySQLDialect
{
public MySQL5Dialect()
{
RegisterColumnType(DbType.Decimal, "DECIMAL(19,5)");
RegisterColumnType(DbType.Decimal, 19, "DECIMAL($p, $s)");
RegisterColumnType(DbType.Guid, "... | using System.Data;
using NHibernate.SqlCommand;
namespace NHibernate.Dialect
{
public class MySQL5Dialect : MySQLDialect
{
public MySQL5Dialect()
{
RegisterColumnType(DbType.Decimal, "DECIMAL(19,5)");
RegisterColumnType(DbType.Decimal, 19, "DECIMAL($p, $s)");
RegisterColumnType(DbType.Guid, "... | lgpl-2.1 | C# |
7953386cc44a450a28bde9674381d57e50acc3db | Add Perform method to IWebDriverExtensions | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata.WebDriverExtras/Extensions/IWebDriverExtensions.cs | src/Atata.WebDriverExtras/Extensions/IWebDriverExtensions.cs | using System;
using System.Drawing;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
namespace Atata
{
public static class IWebDriverExtensions
{
public static T Maximize<T>(this T driver)
where T : IWebDriver
{
driver.CheckNotNull(nameof(driver));
... | using OpenQA.Selenium;
using System;
using System.Drawing;
namespace Atata
{
public static class IWebDriverExtensions
{
public static T Maximize<T>(this T driver)
where T : IWebDriver
{
driver.Manage().Window.Maximize();
return driver;
}
... | apache-2.0 | C# |
aeef09d5f17730dde38b972537a078f4569fa3f7 | Fix some tring constants. | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet | src/Core/Managed/Shared/Extensibility/Metrics/MetricTerms.cs | src/Core/Managed/Shared/Extensibility/Metrics/MetricTerms.cs | using System;
namespace Microsoft.ApplicationInsights.Extensibility.Metrics
{
internal static class MetricTerms
{
public static class Extraction
{
public static class PipelineInfo
{
public const string PropertyKey = "MetricsExtraction.PipelineInfo";
... | using System;
namespace Microsoft.ApplicationInsights.Extensibility.Metrics
{
internal static class MetricTerms
{
public static class Extraction
{
public static class PipelineInfo
{
public const string PropertyKey = "MetricsExtraction.PipelineInfo";
... | mit | C# |
aeef5d08935544c10233c8741eca03ea1be67a11 | Update DM channel on entity updates. | RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net | src/Discord.Net.WebSocket/Entities/Users/SocketGlobalUser.cs | src/Discord.Net.WebSocket/Entities/Users/SocketGlobalUser.cs | using System.Diagnostics;
using System.Linq;
using Model = Discord.API.User;
using PresenceModel = Discord.API.Presence;
namespace Discord.WebSocket
{
[DebuggerDisplay(@"{DebuggerDisplay,nq}")]
internal class SocketGlobalUser : SocketUser
{
public override bool IsBot { get; internal set; }
... | using System.Diagnostics;
using Model = Discord.API.User;
using PresenceModel = Discord.API.Presence;
namespace Discord.WebSocket
{
[DebuggerDisplay(@"{DebuggerDisplay,nq}")]
internal class SocketGlobalUser : SocketUser
{
public override bool IsBot { get; internal set; }
public override st... | mit | C# |
26dfe4aac323cedb1fb6122a503fa216cd0a90fa | Remove obsolete unit test (null check - can no longer be null) | lloydjatkinson/Lloyd.AzureMailGateway | src/Lloyd.AzureMailGateway.Models.Tests/EMailBuilderTests.cs | src/Lloyd.AzureMailGateway.Models.Tests/EMailBuilderTests.cs | using System;
using System.Linq;
using AutoFixture.Xunit2;
using Shouldly;
using Xunit;
namespace Lloyd.AzureMailGateway.Models.Tests
{
public class EMailBuilderTests
{
[Fact]
public void BuildShouldThrowOnInvalidState()
{
// Arrange
var builder = new EMailBuild... | using System;
using System.Linq;
using AutoFixture.Xunit2;
using Shouldly;
using Xunit;
namespace Lloyd.AzureMailGateway.Models.Tests
{
public class EMailBuilderTests
{
//[Fact]
//public void BuilderShouldReturnNonNullEMailInstance()
//{
// // Arrange
// var build... | mit | C# |
d51d233133a6344014f52a21950ffb14e60282d3 | Fix #864 | Lone-Coder/letsencrypt-win-simple | letsencrypt-win-simple/CertificateInfo.cs | letsencrypt-win-simple/CertificateInfo.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace PKISharp.WACS
{
public class CertificateInfo
{
public X509Certificate2 Certificate { get; set; }
public X509Sto... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace PKISharp.WACS
{
public class CertificateInfo
{
public X509Certificate2 Certificate { get; set; }
public X509Sto... | apache-2.0 | C# |
e7966e06418569649c6a8f105e3e8d932c01d8f4 | Bump version | glorylee/FluentValidation,mgmoody42/FluentValidation,GDoronin/FluentValidation,robv8r/FluentValidation,deluxetiky/FluentValidation,ruisebastiao/FluentValidation,olcayseker/FluentValidation,roend83/FluentValidation,IRlyDontKnow/FluentValidation,roend83/FluentValidation,regisbsb/FluentValidation,cecilphillip/FluentValida... | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2... | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2... | apache-2.0 | C# |
5094a040bf280c43a17297e566f3ba736375a5a4 | Bump version down for now | rileywhite/Cilador | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | /***************************************************************************/
// CommonAssemblyInfo.cs
// Copyright 2014 Riley White
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
... | /***************************************************************************/
// CommonAssemblyInfo.cs
// Copyright 2014 Riley White
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
... | apache-2.0 | C# |
7d004a58e7f307a80ab291c543168ee9bac0fd4e | Test strongly typed GetCommandHandler. | PaulTrampert/PTrampert.CommandPattern | PTrampert.CommandPattern.Test/CommandRegistryTests.cs | PTrampert.CommandPattern.Test/CommandRegistryTests.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace PTrampert.CommandPattern.Test
{
[TestFixture]
public class CommandRegistryTests
{
private CommandRegistry Registry { get; set; }
[SetUp]
public voi... | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace PTrampert.CommandPattern.Test
{
[TestFixture]
public class CommandRegistryTests
{
private CommandRegistry Registry { get; set; }
[SetUp]
public voi... | mit | C# |
5150fe92a569601287ba35a27ae56b69b1bd3e54 | Use the query timeout from | mchaloupka/DotNetR2RMLEndpoint,mchaloupka/EVI-SampleServer,mchaloupka/DotNetR2RMLEndpoint,mchaloupka/EVI-SampleServer | src/Slp.Evi.Server/Slp.Evi.Endpoint/Sparql/StorageWrapper.cs | src/Slp.Evi.Server/Slp.Evi.Endpoint/Sparql/StorageWrapper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using Slp.Evi.Endpoint.Controllers;
using Slp.Ev... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
using Slp.Evi.Endpoint.Controllers;
using Slp.Ev... | mit | C# |
7df801b988cb5d58f111f856bf05ee9a3a85b771 | add `active` property and alphabetize | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/Products/PlanProductCreateOptions.cs | src/Stripe.net/Services/Products/PlanProductCreateOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class PlanProductCreateOptions : INestedOptions
{
[JsonProperty("active")]
public bool? Active { get; set; }
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("me... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class PlanProductCreateOptions : INestedOptions
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("state... | apache-2.0 | C# |
ee083bc52d92313bb7017a16c54bb36e6b58d64e | Load content replacement config. | dermeister0/DBVer | src/DBVer/Mapping/NameReplacer.cs | src/DBVer/Mapping/NameReplacer.cs | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using DBVer.Configuration;
namespace DBVer.Mapping
{
internal class ReplacementConfig
{
public string NamePattern { get; set; }
public Dictionary<Regex, string> ContentMappings { get; set; }
}
i... | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using DBVer.Configuration;
namespace DBVer.Mapping
{
internal class NameReplacer
{
private Dictionary<ObjectType, Dictionary<Regex, string>> mappings;
private ExportSettingsSection exportSettingsSection;... | mit | C# |
ed66db4e13b0d327477f9024235e430f15ca2ee4 | Stop umbrella on player loss | Barleytree/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare | Assets/Resources/Microgames/RemiCover/Scripts/RemiCover_UmbrellaBehaviour.cs | Assets/Resources/Microgames/RemiCover/Scripts/RemiCover_UmbrellaBehaviour.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RemiCover_UmbrellaBehaviour : MonoBehaviour {
public float verticalPosition;
// Use this for initialization
void Start () {
Cursor.visible = false;
}
// Update is called once per frame
void Update(... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RemiCover_UmbrellaBehaviour : MonoBehaviour {
public float verticalPosition;
// Use this for initialization
void Start () {
Cursor.visible = false;
}
// Update is called once per frame
void Update(... | mit | C# |
eb1d932d6e51c8f6551677ab92c229d14fbcd4b6 | remove TODO | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Items/PorcupineRobe.cs | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Items/PorcupineRobe.cs | using System.Collections.Generic;
using System.Linq;
using HarryPotterUnity.Enums;
namespace HarryPotterUnity.Cards.Transfiguration.Items
{
public class PorcupineRobe : BaseItem
{
private readonly List<BaseCard> _enemyCreatures = new List<BaseCard>();
public override void OnInPlayBeforeTurnAc... | using System.Collections.Generic;
using System.Linq;
using HarryPotterUnity.Enums;
namespace HarryPotterUnity.Cards.Transfiguration.Items
{
public class PorcupineRobe : BaseItem
{
private readonly List<BaseCard> _enemyCreatures = new List<BaseCard>();
//TODO: Test this
public override... | mit | C# |
e725038673d86b952a6268af17c3cb6eb98c4523 | Remove unused imports | denpalrius/Material-Message-Box | BespokeFusion/CustomMaterialMessageBox.cs | BespokeFusion/CustomMaterialMessageBox.cs | namespace BespokeFusion
{
public class CustomMaterialMessageBox : MessageBoxWindow
{
public new void Show()
{
ShowDialog();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace BespokeFusion
{
public class CustomMaterialMessageBox : MessageBoxWindow
{
public new void Show()
{
ShowDialog();
}
... | mit | C# |
44c80fe463ecec813fac4e076ef472e3395bb3c4 | Disable test: ClipboardHelper_PlacesText | Baggykiin/pass-winmenu | pass-winmenu-tests/WinApi/ClipboardHelperTests.cs | pass-winmenu-tests/WinApi/ClipboardHelperTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
using System.Windows;
using System.Windows.Threading;
namespace PassWinmenu.WinApi
{
[TestClass]
public class ClipboardHelperTests
{
private const string Category = "Windows API: Clipboard Helper";
[TestMethod, TestCateg... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
using System.Windows;
using System.Windows.Threading;
namespace PassWinmenu.WinApi
{
[TestClass]
public class ClipboardHelperTests
{
private const string Category = "Windows API: Clipboard Helper";
[TestMethod, TestCateg... | mit | C# |
67f20ca6cdec1fa6d4404b012914e80fb18b9e15 | Add a test | flagbug/Espera.Network | Espera.Network.Tests/NetworkHelpersTest.cs | Espera.Network.Tests/NetworkHelpersTest.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Xunit;
namespace Espera.Network.Tests
{
public class NetworkHelpersTest
{
public class TheIsPortValidMethod
{
[Fact]
public void ValidatesMaximumPort()
{
... | using System;
using System.IO;
using System.Threading.Tasks;
using Xunit;
namespace Espera.Network.Tests
{
public class NetworkHelpersTest
{
public class TheIsPortValidMethod
{
[Fact]
public void ValidatesMaximumPort()
{
Assert.True(NetworkHe... | mit | C# |
10dffacbbf766d47b5c10b72f5749887b4be50bb | update share image | cythilya/Dotchi,cythilya/Dotchi,cythilya/Dotchi | Dotchi/Dotchi/Views/Shared/_Layout.cshtml | Dotchi/Dotchi/Views/Shared/_Layout.cshtml | <!doctype html>
@{
if (String.IsNullOrEmpty(ViewBag.Title)){
ViewBag.Title = "吃什麼,どっち - 讓朋友幫你決定吃什麼";
}
ViewBag.Description = "今天吃飯,該吃什麼好呢?只要輸入美食欲望,立刻給你朋友們最真實、現場、生活化的評價,找餐廳再也不煩惱,就讓朋友幫你決定吃什麼!";
ViewBag.Cover = "/Content/dotchi/img/cover.png";
var currentURL = "http://dotchi.apphb.com" + HttpC... | <!doctype html>
@{
if (String.IsNullOrEmpty(ViewBag.Title)){
ViewBag.Title = "吃什麼,どっち - 讓朋友幫你決定吃什麼";
}
ViewBag.Description = "吃什麼,どっち - 讓朋友幫你決定吃什麼";
ViewBag.Cover = "/Content/dotchi/img/cover.png";
var currentURL = "http://dotchi.apphb.com" + HttpContext.Current.Request.RawUrl;
}
<html item... | mit | C# |
7d37383b5a9991171503744410c979f11ad01e12 | Update SaveWorkbookToTextCSVFormat.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose... | Examples/CSharp/Files/Handling/SaveWorkbookToTextCSVFormat.cs | Examples/CSharp/Files/Handling/SaveWorkbookToTextCSVFormat.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class SaveWorkbookToTextCSVFormat
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspos... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class SaveWorkbookToTextCSVFormat
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.G... | mit | C# |
c40aba51433eaf48804ab5aeff4e0735b38c6433 | Remove duplicate AssemblyVersion. | daniellor/My-FyiReporting,majorsilence/My-FyiReporting,chripf/My-FyiReporting,chripf/My-FyiReporting,daniellor/My-FyiReporting,daniellor/My-FyiReporting,chripf/My-FyiReporting,chripf/My-FyiReporting,daniellor/My-FyiReporting,chripf/My-FyiReporting,chripf/My-FyiReporting,daniellor/My-FyiReporting,maratoss/My-FyiReportin... | LibRdlWpfViewer/Properties/AssemblyInfo.cs | LibRdlWpfViewer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | apache-2.0 | C# |
69e666a88bba8a242aa0159d4c68a92bd78c4c64 | include the message type | Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate | Magistrate/Api/Handlers/IsUsernameValid.cs | Magistrate/Api/Handlers/IsUsernameValid.cs | using Magistrate.Domain;
using Magistrate.Domain.Services;
using Newtonsoft.Json;
namespace Magistrate.Api.Handlers
{
public class IsUsernameValidHandler: IActionHandler
{
private readonly UserService _userService;
public IsUsernameValidHandler(UserService userService)
{
_userService = userService;
}
... | using Magistrate.Domain;
using Magistrate.Domain.Services;
using Newtonsoft.Json;
namespace Magistrate.Api.Handlers
{
public class IsUsernameValidHandler: IActionHandler
{
private readonly UserService _userService;
public IsUsernameValidHandler(UserService userService)
{
_userService = userService;
}
... | lgpl-2.1 | C# |
06b64a2734b4b99b5dddc01a3278610bce32c52d | Duplicate test case. | balajichekka/WebApiContrib.Formatting.Xlsx,WebApiContrib/WebApiContrib.Formatting.Xlsx,WebApiContrib/WebApiContrib.Formatting.Xlsx,jordangray/WebApiContrib.Formatting.Xlsx | ExcelWebApi/ExcelWebApi.Tests/ExcelMediaTypeFormatterTests.cs | ExcelWebApi/ExcelWebApi.Tests/ExcelMediaTypeFormatterTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExcelWebApi.Tests
{
[TestClass]
public class ExcelMediaTypeFormatterTests
{
[TestMethod]
public void SupportedMediaTypes_SupportsExcelMediaTypes()
{
}
[TestMethod]
public void CanW... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExcelWebApi.Tests
{
[TestClass]
public class ExcelMediaTypeFormatterTests
{
[TestMethod]
public void SupportedMediaTypes_SupportsExcelMediaTypes()
{
}
[TestMethod]
public void CanW... | mit | C# |
a51c6a82aba60e4927d62c968abddef55de7982a | Add support for array-like object declarations | SirTony/Mond,Rohansi/Mond,Rohansi/Mond,SirTony/Mond,Rohansi/Mond,SirTony/Mond | Mond/Compiler/Parselets/ObjectParselet.cs | Mond/Compiler/Parselets/ObjectParselet.cs | using System.Collections.Generic;
using Mond.Compiler.Expressions;
namespace Mond.Compiler.Parselets
{
class ObjectParselet : IPrefixParselet
{
public Expression Parse(Parser parser, Token token)
{
var values = new List<KeyValuePair<string, Expression>>();
while (!pars... | using System.Collections.Generic;
using Mond.Compiler.Expressions;
namespace Mond.Compiler.Parselets
{
class ObjectParselet : IPrefixParselet
{
public Expression Parse(Parser parser, Token token)
{
var values = new List<KeyValuePair<string, Expression>>();
while (!pars... | mit | C# |
7514875f0222253a0b3246f2ceec78788e386d78 | use Uri insteaf of string | mika-f/Sagitta | Source/PixivNet/Models/ApplicationInfo.cs | Source/PixivNet/Models/ApplicationInfo.cs | using System;
using Newtonsoft.Json;
using Pixiv.Attributes;
namespace Pixiv.Models
{
public class ApplicationInfo : ApiResponse
{
#pragma warning disable CS8618 // Null 非許容フィールドは初期化されていません。null 許容として宣言することを検討してください。
[ApiVersion]
[MarkedAs("7.7.7")]
[JsonProperty("latest_version")]
... | using Newtonsoft.Json;
using Pixiv.Attributes;
namespace Pixiv.Models
{
public class ApplicationInfo : ApiResponse
{
[ApiVersion]
[MarkedAs("7.7.7")]
[JsonProperty("latest_version")]
public string LatestVersion { get; set; }
[ApiVersion]
[MarkedAs("7.7.7")]
... | mit | C# |
ade77e5528a6719de12b31fbcd4e016a5e76a2f2 | Update ITeamCityWriter.cs | JetBrains/TeamCity.ServiceMessages | TeamCity.ServiceMessages/src/Write/Special/ITeamCityWriter.cs | TeamCity.ServiceMessages/src/Write/Special/ITeamCityWriter.cs | /*
* Copyright 2007-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2007-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 | C# |
99ee9b0522b063e52f6088c02459c518069c01d9 | Implement ValidateRangeAttribute Min/Max Range | JayBazuzi/Pash,sillvan/Pash,sburnicki/Pash,mrward/Pash,sburnicki/Pash,Jaykul/Pash,Jaykul/Pash,WimObiwan/Pash,Jaykul/Pash,ForNeVeR/Pash,ForNeVeR/Pash,sillvan/Pash,mrward/Pash,JayBazuzi/Pash,sillvan/Pash,WimObiwan/Pash,Jaykul/Pash,mrward/Pash,sburnicki/Pash,JayBazuzi/Pash,sburnicki/Pash,ForNeVeR/Pash,ForNeVeR/Pash,sillva... | Source/System.Management/Automation/ValidateRangeAttribute.cs | Source/System.Management/Automation/ValidateRangeAttribute.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Management.Automation.Internal;
namespace System.Management.Automation
{
/// <summary>
/// Ensures that the Parameter falls in between two values.
/// </summary>
[AttributeUsage(... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Management.Automation.Internal;
namespace System.Management.Automation
{
/// <summary>
/// Ensures that the Parameter falls in between two values.
/// </summary>
[AttributeUsage(... | bsd-3-clause | C# |
4ae9275a38ba46ea8680787349b39d308e2317c3 | fix UsersControllers | arsouza/Aritter,aritters/Ritter,arsouza/Aritter | src/Aritter.API/Controllers/V1/UsersController.cs | src/Aritter.API/Controllers/V1/UsersController.cs | using Aritter.Application.DTO.SecurityModule.Authentication;
using Aritter.Application.DTO.SecurityModule.Users;
using Aritter.Application.Seedwork.Services.SecurityModule;
using Aritter.Infra.Crosscutting.Security;
using Aritter.Infra.Web.Security;
using System.Threading.Tasks;
using System.Web.Http;
namespace Aritt... | using Aritter.Application.DTO.SecurityModule.Authentication;
using Aritter.Application.DTO.SecurityModule.Users;
using Aritter.Application.Seedwork.Services.SecurityModule;
using Aritter.Infra.Crosscutting.Security;
using Aritter.Infra.Web.Security;
using System.Threading.Tasks;
using System.Web.Http;
namespace Aritt... | mit | C# |
1a8ed0c82407c63fd258dee14e8e95553612f3aa | Update TemplateTool.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | src/Core2D/UI/Avalonia/Dock/Tools/TemplateTool.cs | src/Core2D/UI/Avalonia/Dock/Tools/TemplateTool.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DMC = Dock.Model.Controls;
namespace Core2D.UI.Avalonia.Dock.Tools
{
/// <summary>
/// Template view.
/// </summary>
public class TemplateTo... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DMC=Dock.Model.Controls;
namespace Core2D.UI.Avalonia.Dock.Tools
{
/// <summary>
/// Template view.
/// </summary>
public class TemplateTool... | mit | C# |
b9859e0f76124786dc588cf36d5a261bb63943a0 | Fix a crash if we receive a too long unicode string | IceYGO/ygosharp | YGOSharp.Network/Utils/BinaryExtensions.cs | YGOSharp.Network/Utils/BinaryExtensions.cs | using System;
using System.IO;
using System.Text;
namespace YGOSharp.Network.Utils
{
public static class BinaryExtensions
{
public static void WriteUnicode(this BinaryWriter writer, string text, int len)
{
byte[] unicode = Encoding.Unicode.GetBytes(text);
byt... | using System;
using System.IO;
using System.Text;
namespace YGOSharp.Network.Utils
{
public static class BinaryExtensions
{
public static void WriteUnicode(this BinaryWriter writer, string text, int len)
{
byte[] unicode = Encoding.Unicode.GetBytes(text);
byt... | mit | C# |
755118c0b754ce87d3882479955107a5a40c65f1 | Switch to ProjectScaffold and Paket #33 | ArtofQuality/F2F.Testing,ArtofQuality/F2F.Testing | tests/F2F.Testing.Xunit.IntegrationTests/TestFixture_AutoMockFeature_Test.cs | tests/F2F.Testing.Xunit.IntegrationTests/TestFixture_AutoMockFeature_Test.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentAssertions;
using Ploeh.AutoFixture;
#if NUNIT
using NUnit.Framework;
using F2F.Testing.NUnit.FakeItEasy;
namespace F2F.Testing.NUnit.IntegrationTests
#endif
#if XUNIT || XUNIT2
using Xunit;
using F2F.Testing.Xunit.Fake... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentAssertions;
using Ploeh.AutoFixture;
#if NUNIT
using NUnit.Framework;
using F2F.Testing.NUnit.FakeItEasy;
namespace F2F.Testing.NUnit.IntegrationTests
#endif
#if XUNIT || XUNIT2
using Xunit;
using F2F.Testing.Xunit.Fake... | mit | C# |
6825521f2d7a1fe3effea3d79e2d36ef00105e1a | Support details for ItemStarted event | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/SyncThing/Api/ItemStartedEvent.cs | src/SyncTrayzor/SyncThing/Api/ItemStartedEvent.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.Api
{
public class ItemStartedEventDetails
{
[JsonProperty("Name")]
public string Name { get; set; }
[JsonProperty... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.Api
{
public class ItemStartedEventData
{
[JsonProperty("item")]
public string Item { get; set; }
[JsonProperty("f... | mit | C# |
786df85e701c831511787d65e96e6d0396b2ef93 | remove unused code | LayoutFarm/PixelFarm | a_mini/external/WriteableBitmapEx_2/Source/WriteableBitmapEx/BitmapFactory.cs | a_mini/external/WriteableBitmapEx_2/Source/WriteableBitmapEx/BitmapFactory.cs | //MIT, 2009-2015, Rene Schulte and WriteableBitmapEx Contributors, https://github.com/teichgraf/WriteableBitmapEx
//
//
// Project: WriteableBitmapEx - WriteableBitmap extensions
// Description: Collection of extension methods for the WriteableBitmap class.
//
// Changed by: $Author: unkno... | //MIT, 2009-2015, Rene Schulte and WriteableBitmapEx Contributors, https://github.com/teichgraf/WriteableBitmapEx
//
//
// Project: WriteableBitmapEx - WriteableBitmap extensions
// Description: Collection of extension methods for the WriteableBitmap class.
//
// Changed by: $Author: unkno... | bsd-2-clause | C# |
ce6eeb46d62ea49fcf2d174a2fa472320c25a3fe | add TODO | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Agent/ListArchiver/DownloadLists.cs | src/FilterLists.Agent/ListArchiver/DownloadLists.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using FilterLists.Agent.Entities;
using MediatR;
namespace FilterLists.Agent.ListArchiver
{
public static class DownloadLists
{
public class Command : IRequ... | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using FilterLists.Agent.Entities;
using MediatR;
namespace FilterLists.Agent.ListArchiver
{
public static class DownloadLists
{
public class Command : IRequ... | mit | C# |
d8d7bd2e90d104b1fe02a1226e6c0e7d1320608a | Disable System.IO.Ports tests failing on Nano server | shimingsg/corefx,wtgodbe/corefx,shimingsg/corefx,ptoonen/corefx,ericstj/corefx,Jiayili1/corefx,ericstj/corefx,ptoonen/corefx,shimingsg/corefx,Jiayili1/corefx,BrennanConroy/corefx,BrennanConroy/corefx,mmitche/corefx,wtgodbe/corefx,ptoonen/corefx,mmitche/corefx,wtgodbe/corefx,ViktorHofer/corefx,Jiayili1/corefx,ptoonen/co... | src/System.IO.Ports/tests/SerialPort/OpenDevices.cs | src/System.IO.Ports/tests/SerialPort/OpenDevices.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.IO.PortsTests;
using System.Text.RegularExp... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.IO.PortsTests;
using System.Text.RegularExp... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.