commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
35bb2c66561cb5f4d1803b296be836d89afda348 | TheCollection.Business/Tea/Bag.cs | TheCollection.Business/Tea/Bag.cs | using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
namespace TheCollection.Business.Tea
{
[JsonConverter(typeof(SearchableConverter))]
public class Bag
{
[Key]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[Searchable]
[... | using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
namespace TheCollection.Business.Tea
{
[JsonConverter(typeof(SearchableConverter))]
public class Bag
{
[Key]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(Property... | Add owner user id for bags | Add owner user id for bags
| C# | apache-2.0 | projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection |
6e1a1fe8c66c72f2d38a75374932f02a7689c20d | ParallelWorkshop/Ex05DatedSerial/PossibleSolution/LazyDatedSerial.cs | ParallelWorkshop/Ex05DatedSerial/PossibleSolution/LazyDatedSerial.cs | using System;
using System.Threading;
namespace Lurchsoft.ParallelWorkshop.Ex05DatedSerial.PossibleSolution
{
public class LazyDatedSerial
{
private Lazy<ThreadSafeSerial> serial = new Lazy<ThreadSafeSerial>(LazyThreadSafetyMode.ExecutionAndPublication);
public string GetNextSerial()
{... | using System;
using System.Threading;
namespace Lurchsoft.ParallelWorkshop.Ex05DatedSerial.PossibleSolution
{
public class LazyDatedSerial
{
private Lazy<ThreadSafeSerial> serial = new Lazy<ThreadSafeSerial>
(() => new ThreadSafeSerial(DateTime.Now.ToShortDateString()), LazyThreadSafetyMode... | Fix the solution for Ex05 | Fix the solution for Ex05
| C# | apache-2.0 | peterchase/parallel-workshop |
30981bb4acffbd38e28c929e7e27e9e6eb720697 | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data/TypeUtil.cs | apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data/TypeUtil.cs | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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 applic... | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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 applic... | Remove now-redundant code previously used for dictionary support | Remove now-redundant code previously used for dictionary support
| C# | apache-2.0 | evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googlea... |
04f0ebd47431d8debdfa66a5e1acca4285c8dc95 | ContosoUniversity.Web/Program.cs | ContosoUniversity.Web/Program.cs | using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace ContosoUniversity
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
... | using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace ContosoUniversity
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Bu... | Replace BuildWebHost => CreatewebHostBuilder to support integration testing | Replace BuildWebHost => CreatewebHostBuilder to support integration testing
| C# | mit | alimon808/contoso-university,alimon808/contoso-university,alimon808/contoso-university |
65501b738deae128d6f52c33bcf3e1f551933e65 | src/Mirage.Urbanization.Simulation/Persistence/PersistedCityStatisticsCollection.cs | src/Mirage.Urbanization.Simulation/Persistence/PersistedCityStatisticsCollection.cs | using System.Collections.Generic;
using System.Linq;
using Mirage.Urbanization.ZoneStatisticsQuerying;
using System.Collections.Immutable;
namespace Mirage.Urbanization.Simulation.Persistence
{
public class PersistedCityStatisticsCollection
{
private ImmutableQueue<PersistedCityStatisticsWithFinancialD... | using System.Collections.Generic;
using System.Linq;
using Mirage.Urbanization.ZoneStatisticsQuerying;
using System.Collections.Immutable;
namespace Mirage.Urbanization.Simulation.Persistence
{
public class PersistedCityStatisticsCollection
{
private ImmutableQueue<PersistedCityStatisticsWithFinancialD... | Reduce the amount of 'PersistedCityStatistics' | Reduce the amount of 'PersistedCityStatistics'
| C# | mit | Miragecoder/Urbanization,Miragecoder/Urbanization,Miragecoder/Urbanization |
7d289e4d977a327ff69fd64cab4b0588177ff418 | SimpleWAWS/Authentication/AuthUtilities.cs | SimpleWAWS/Authentication/AuthUtilities.cs | using System;
using System.IO;
using System.Net;
namespace SimpleWAWS.Authentication
{
public static class AuthUtilities
{
public static string GetContentFromUrl(string url)
{
var request = (HttpWebRequest)WebRequest.Create(url);
using (var response = request.GetRespons... | using System;
using System.IO;
using System.Net;
namespace SimpleWAWS.Authentication
{
public static class AuthUtilities
{
public static string GetContentFromUrl(string url, string method="GET", bool jsonAccept = false, bool addGitHubHeaders = false, string AuthorizationHeader ="")
{
... | Add GitHub auth. Hide option in UI | Add GitHub auth. Hide option in UI
| C# | apache-2.0 | projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS |
b71e862d800b028bb7d12fd63583f4f94d90bde5 | Properties/AssemblyInfo.cs | 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("dc... | 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("Di... | Add application title and copyright. | Add application title and copyright.
| C# | mit | nagilum/dcm |
b3faf5a4c310ccc4e33ad731d9f472854689b809 | Assets/Scripts/SpawnController.cs | Assets/Scripts/SpawnController.cs | using UnityEngine;
using System.Collections;
public class SpawnController : MonoBehaviour {
public GameObject enemiesFolder;
public GameObject originalEnemy;
public int enemiesToSpawn;
private int enemiesSpawned;
void Start () {
enemiesSpawned = 0;
InvokeRepeating("SpawnEnemy", 0, 2f);
}
... | using UnityEngine;
using System.Collections;
public class SpawnController : MonoBehaviour {
public GameObject enemiesFolder;
public GameObject originalEnemy;
public int enemiesToSpawn;
public float spawnInterval;
private int enemiesSpawned;
void Start () {
enemiesSpawned = 0;
InvokeRepeating("S... | Allow to set spawn interval public | Allow to set spawn interval public
| C# | mit | emazzotta/unity-tower-defense |
642ab048110533a870237402fcd46bf043fa6932 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | Split WCF functionality out of Autofac.Extras.Multitenant into a separate
assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned
3.1.0.
| C# | mit | autofac/Autofac.Web |
dbb8843cf842e90e634915ddc365d0c231803694 | Shippo/Batch.cs | Shippo/Batch.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject (MemberSerialization.OptIn)]
public class Batch : ShippoId {
[JsonProperty (PropertyName = "object_status")]
public string ObjectStatus { get; set; }
[JsonProperty (PropertyName = "obj... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject (MemberSerialization.OptIn)]
public class Batch : ShippoId {
[JsonProperty (PropertyName = "object_status")]
public string ObjectStatus { get; set; }
[JsonProperty (PropertyName = "obj... | Change ObjectCreated and ObjectUpdated to DateTime | Change ObjectCreated and ObjectUpdated to DateTime
| C# | apache-2.0 | goshippo/shippo-csharp-client |
e334fe4c908c4a4d359bb9a3860d7b9cfd5fa893 | Assets/Teak/Editor/TeakPreProcessDefiner.cs | Assets/Teak/Editor/TeakPreProcessDefiner.cs | using UnityEditor;
using UnityEditor.Build;
#if UNITY_2018_1_OR_NEWER
using UnityEditor.Build.Reporting;
#endif
using UnityEngine;
using System.Collections.Generic;
class TeakPreProcessDefiner :
#if UNITY_2018_1_OR_NEWER
IPreprocessBuildWithReport
#else
IPreprocessBuild
#endif
{
public int callbackOrder {... | using UnityEditor;
using UnityEditor.Build;
#if UNITY_2018_1_OR_NEWER
using UnityEditor.Build.Reporting;
#endif
using UnityEngine;
using System.Collections.Generic;
class TeakPreProcessDefiner :
#if UNITY_2018_1_OR_NEWER
IPreprocessBuildWithReport
#else
IPreprocessBuild
#endif
{
public int callbackOrder {... | Remove TEAK_X_Y_OR_NEWER before adding them again so that in the case of SDK rollback defines are not left in | Remove TEAK_X_Y_OR_NEWER before adding them again so that in the case of SDK rollback defines are not left in
| C# | apache-2.0 | GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity |
31fadbaa8336e06df78fefe529bc2a47da8cdcbd | BingWallpaper/Constants.cs | BingWallpaper/Constants.cs | using System;
using System.IO;
namespace Kfstorm.BingWallpaper
{
public static class Constants
{
public static string DataPath
{
get
{
string path = Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), @... | using System;
using System.IO;
namespace Kfstorm.BingWallpaper
{
public static class Constants
{
public static string DataPath
{
get
{
string path = Path.Combine(Environment.GetFolderPath(
Environment.SpecialFolder.ApplicationData), @... | Update image resolution to UHD | Update image resolution to UHD
| C# | mit | kfstorm/BingWallpaper |
cb1c1df1ed347aaffc1b5bd6fa1dfe9209594757 | src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs | src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.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.Runtime.Remoting.Messaging;
using System.Security;
namespace System.Diagnostics
{
// this code is ... | // 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.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using System.Security;
namespace System.Dia... | Store ObjectHandle in LogicalCallContext and prevent cross AppDomain Activity usage | Store ObjectHandle in LogicalCallContext and prevent cross AppDomain Activity usage
| C# | mit | rubo/corefx,shimingsg/corefx,MaggieTsang/corefx,tijoytom/corefx,jlin177/corefx,krk/corefx,wtgodbe/corefx,twsouthwick/corefx,twsouthwick/corefx,tijoytom/corefx,ravimeda/corefx,JosephTremoulet/corefx,ViktorHofer/corefx,the-dwyer/corefx,shimingsg/corefx,richlander/corefx,twsouthwick/corefx,DnlHarvey/corefx,nbarbettini/cor... |
83b13ab7a875b1cb0a9ea60718a43414b1581cfb | GitTfs/Commands/Pull.cs | GitTfs/Commands/Pull.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using NDesk.Options;
using Sep.Git.Tfs.Core;
using StructureMap;
namespace Sep.Git.Tfs.Commands
{
[Pluggable("pull")]
[Description("pull [options]")]
[RequiresValidGitRepository]
public class Pull : GitTfsCommand
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using NDesk.Options;
using Sep.Git.Tfs.Core;
using StructureMap;
namespace Sep.Git.Tfs.Commands
{
[Pluggable("pull")]
[Description("pull [options]")]
[RequiresValidGitRepository]
public class Pull : GitTfsCommand
{
... | Add a control to permit rebase only when Working directory have no changes | Add a control to permit rebase only when Working directory have no changes
| C# | apache-2.0 | bleissem/git-tfs,bleissem/git-tfs,modulexcite/git-tfs,NathanLBCooper/git-tfs,steveandpeggyb/Public,git-tfs/git-tfs,codemerlin/git-tfs,guyboltonking/git-tfs,jeremy-sylvis-tmg/git-tfs,NathanLBCooper/git-tfs,TheoAndersen/git-tfs,pmiossec/git-tfs,jeremy-sylvis-tmg/git-tfs,NathanLBCooper/git-tfs,hazzik/git-tfs,guyboltonking... |
8e053f2166a00f96865713d7c8b1d6a5532972ac | osu.Game.Tests/Visual/TestCaseMultiScreen.cs | osu.Game.Tests/Visual/TestCaseMultiScreen.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Game.Screens.Multi;
namespace osu.Game.Tests.Visual
{
[TestFixture]
public class TestCaseMultiScreen : OsuTestCase
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Game.Screens.Multi;
namespace osu.Game.Tests.Visual
{
[TestFixture]
public class TestCaseMultiScreen : OsuTestCase
{
... | Add multiplayer screen test steps. | Add multiplayer screen test steps.
| C# | mit | naoey/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,ppy/osu,johnneijzen/osu,ZLima12/osu,peppy/osu,ZLima12/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,pep... |
71c04f4605dac87271db2c5199a0fb397b976630 | osu.Game/Graphics/DrawableJoinDate.cs | osu.Game/Graphics/DrawableJoinDate.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace osu.Game.Graphics
{
public class DrawableJoinDate : DrawableDate
{
private readonly DateTimeOffset date;
public DrawableJoinDate(DateTimeOffset date) : base(date)
{
this.date = date;
}
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Text;
namespace osu.Game.Graphics
{
public class DrawableJoinDate : DrawableDate
{
private... | Add license header to the new file | Add license header to the new file
| C# | mit | ppy/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu-new,naoey/osu,smoogipoo/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,naoey/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/o... |
488f818fabe59fc923b57e047694840ad025c3c1 | Cake.Xamarin.Build.Tests/DownloadFileTests.cs | Cake.Xamarin.Build.Tests/DownloadFileTests.cs | using Xunit;
using System;
using Cake.Core.IO;
using Cake.Xamarin.Build;
namespace Cake.Xamarin.Build.Tests.Fakes
{
public class DownloadFileTests : TestFixtureBase
{
[Fact]
public void Download_FacebookSDK ()
{
var url = "https://origincache.facebook.com/developers/resources/?id... | using System;
using Cake.Core.IO;
using Cake.Xamarin.Build;
using NUnit.Framework;
namespace Cake.Xamarin.Build.Tests.Fakes
{
public class DownloadFileTests : TestFixtureBase
{
[Test]
public void Download_FacebookSDK ()
{
var url = "https://origincache.facebook.com/developers/res... | Switch remaining test back to NUnit | Switch remaining test back to NUnit
| C# | mit | Redth/Cake.Xamarin.Build |
2c17dfdac2a08c275e117dc7853ece04d54142c9 | NetworkPlayerExtensions.cs | NetworkPlayerExtensions.cs | using UnityEngine;
namespace Extensions
{
/// <summary>
/// Extension methods for UnityEngine.NetworkPlayer.
/// </summary>
public static class NetworkPlayerExtensions
{
/// <summary>
/// Gets the numeric index of the network player.
/// </summary>
/// <param name="n... | #if !UNITY_WEBGL
using UnityEngine;
namespace Extensions
{
/// <summary>
/// Extension methods for UnityEngine.NetworkPlayer.
/// </summary>
public static class NetworkPlayerExtensions
{
/// <summary>
/// Gets the numeric index of the network player.
/// </summary>
... | Disable NetworkPlayer extensions in WebGL | Disable NetworkPlayer extensions in WebGL
As noted in Unity's docs, these APIs are unavailable when building for
WebGL. See https://docs.unity3d.com/Manual/webgl-networking.html.
| C# | mit | mminer/unity-extensions |
339a1d4543643e00ee6967c1830be1dda73895f1 | WebDriverManager/DriverConfigs/Impl/FirefoxConfig.cs | WebDriverManager/DriverConfigs/Impl/FirefoxConfig.cs | using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class FirefoxConfig : IDriverConfig
{
public virtual string GetName()
{
... | using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using AngleSharp;
using AngleSharp.Parser.Html;
namespace WebDriverManager.DriverConfigs.Impl
{
public class FirefoxConfig : IDriverConfig
{
public virtual string GetName()
{
... | Simplify firefox title with version selector. | Simplify firefox title with version selector.
Add ability to get win32 package variant. | C# | mit | rosolko/WebDriverManager.Net |
cdf44d4dce367d6dc160311986dbb3a8ebe2c806 | Assets/Scripts/Wall.cs | Assets/Scripts/Wall.cs | using UnityEngine;
using System.Collections;
public class Wall : MonoBehaviour {
public Sprite dmgSprite;
public int hp = 4;
public AudioClip chopSound1;
public AudioClip chopSound2;
//hit points for the wall.
private SpriteRenderer spriteRenderer; //Store a component reference to the attached SpriteR... | using UnityEngine;
using System.Collections;
public class Wall : MonoBehaviour {
public Sprite dmgSprite;
public int hp = 4;
public AudioClip chopSound1;
public AudioClip chopSound2;
//hit points for the wall.
private SpriteRenderer spriteRenderer; //Store a component reference to the attached SpriteR... | Add check if data is null | Add check if data is null
| C# | mit | edwardinubuntu/Roguelike2D |
03a40d0302b701aeb2682ea2c32861be5124afc6 | TwitchPlaysAssembly/Src/Helpers/ReflectionHelper.cs | TwitchPlaysAssembly/Src/Helpers/ReflectionHelper.cs | using System;
using System.Linq;
public static class ReflectionHelper
{
public static Type FindType(string fullName)
{
return AppDomain.CurrentDomain.GetAssemblies().SelectMany(a => a.GetTypes()).FirstOrDefault(t => t.FullName.Equals(fullName));
}
public static Type FindType(string fullName, ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
public static class ReflectionHelper
{
public static Type FindType(string fullName)
{
return AppDomain.CurrentDomain.GetAssemblies().SelectMany(a => a.GetSafeTypes()).FirstOrDefault(t => t.FullName != null && t... | Fix possible exceptions in Reflection helper. | Fix possible exceptions in Reflection helper.
| C# | mit | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays |
048bb7801b843468d97d2ea7ab60ecee2b3142bc | JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs | JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs | using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl.ClaimProblemFilters
{
internal class BrokenClaimsAndCharacters : IClaimProblemFilter
{
public IEnumerable<ClaimProblem> GetProblems(Project project, Claim claim)
{
if (claim.... | using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl.ClaimProblemFilters
{
internal class BrokenClaimsAndCharacters : IClaimProblemFilter
{
public IEnumerable<ClaimProblem> GetProblems(Project project, Claim claim)
{
if (claim.... | Fix broken claims and characters filter | Fix broken claims and characters filter
| C# | mit | leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net |
65ce648261538604cd5e82e6267f39dce4bfe470 | AppSettingsByConventionTests/WhenAnalyzingExportedTypes.cs | AppSettingsByConventionTests/WhenAnalyzingExportedTypes.cs | using AppSettingsByConvention;
using FluentAssertions;
using NUnit.Framework;
namespace AppSettingsByConventionTests
{
[TestFixture]
public class WhenAnalyzingExportedTypes
{
[Test]
public void ShouldMatchWhitelist()
{
var whiteList = new []
{
... | using System.Linq;
using AppSettingsByConvention;
using FluentAssertions;
using NUnit.Framework;
namespace AppSettingsByConventionTests
{
[TestFixture]
public class WhenAnalyzingExportedTypes
{
[Test]
public void ShouldMatchWhitelist()
{
var whiteList = new []
... | Fix test, we have a custom Exception now that is public. | Fix test, we have a custom Exception now that is public.
| C# | mit | dignite/AppSettingsByConvention |
c79ceadd3f031f6c8dfe2f88c8c309aaefb0cdb1 | SadConsole.Host.SFML/Mouse.cs | SadConsole.Host.SFML/Mouse.cs | using System;
using SFML.Graphics;
using SFML.Window;
using Point = SadRogue.Primitives.Point;
using SFMLMouse = SFML.Window.Mouse;
namespace SadConsole.Host
{
public class Mouse : SadConsole.Input.IMouseState
{
private int _mouseWheelValue;
private RenderWindow _window;
public Mouse(... | using System;
using SFML.Graphics;
using SFML.Window;
using Point = SadRogue.Primitives.Point;
using SFMLMouse = SFML.Window.Mouse;
namespace SadConsole.Host
{
public class Mouse : SadConsole.Input.IMouseState
{
private int _mouseWheelValue;
private RenderWindow _window;
public Mouse(... | Fix bug in SFML mouse wheel | Fix bug in SFML mouse wheel
| C# | mit | Thraka/SadConsole |
16b2722e52fe9d829a18efd107fd4c3573f114a7 | src/Glimpse.Common/GlimpseServices.cs | src/Glimpse.Common/GlimpseServices.cs | using Glimpse;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServices
{
public static IEnumerable<IServiceDescriptor> Get... | using Glimpse;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
using System;
using System.Reflection;
namespace Glimpse
{
public class GlimpseServices
{
public sta... | Format registration a bit better | Format registration a bit better
| C# | mit | zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,p... |
2b8337a37c1870acdf62810305d7d915154ad035 | src/System.IO.FileSystem/src/System/IO/Iterator.cs | src/System.IO.FileSystem/src/System/IO/Iterator.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
namespace System.IO
{
// Abstract Iterator, borrowed from Linq. Used in anticipation of n... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
namespace System.IO
{
// Abstract Iterator, borrowed from Linq. Used in anticipation of n... | Check the state before fetching the thread id | Check the state before fetching the thread id
To be consistent with a similar change to LINQ's Iterator.
| C# | mit | lggomez/corefx,destinyclown/corefx,the-dwyer/corefx,Alcaro/corefx,tijoytom/corefx,dotnet-bot/corefx,tstringer/corefx,huanjie/corefx,seanshpark/corefx,benjamin-bader/corefx,ericstj/corefx,andyhebear/corefx,zhenlan/corefx,akivafr123/corefx,uhaciogullari/corefx,elijah6/corefx,s0ne0me/corefx,shmao/corefx,anjumrizwi/corefx,... |
a84d9aa25be9f77efa40ba2632a587d6ad4e71ca | src/IonFar.SharePoint.Migration/Migration.cs | src/IonFar.SharePoint.Migration/Migration.cs | using Microsoft.SharePoint.Client;
namespace IonFar.SharePoint.Migration
{
/// <summary>
/// Base class for code-based migrations.
/// </summary>
public abstract class Migration : IMigration
{
public abstract void Up(ClientContext clientContext, IUpgradeLog logger);
public virtual... | using Microsoft.SharePoint.Client;
namespace IonFar.SharePoint.Migration
{
/// <summary>
/// Base class for code-based migrations.
/// </summary>
public abstract class Migration : IMigration
{
public abstract void Up(ClientContext clientContext, IUpgradeLog logger);
protected stri... | Remove Down() from Migrator (it is not used by the engine) | Remove Down() from Migrator (it is not used by the engine)
| C# | mit | jackawatts/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration,jackawatts/ionfar-sharepoint-migration |
a06546bc82c6dfea59bd7ca76ead50278bec5bed | labs/ch1/ServiceFromScratch/Host/Program.cs | labs/ch1/ServiceFromScratch/Host/Program.cs | using System;
using System.ServiceModel;
using HelloIndigo;
namespace Host
{
class Program
{
static void Main()
{
using (
var host = new ServiceHost(typeof (HelloIndigoService),
new Uri("http://localhost:8000/HelloIndigo")))
{
... | using System;
using System.ServiceModel;
using HelloIndigo;
namespace Host
{
class Program
{
static void Main()
{
// A side effect (although perhaps documented) of supplying
// a Uri to the ServiceHost contstructor is that this Uri
// becomes the base addr... | Add comments about relative Service address. | Add comments about relative Service address.
Make no functional change; simply added comments to clarify that
solution uses a base address for the service, that the specific
service is specified using a relative address, and describing the
complete address of the service based on these two components.
| C# | epl-1.0 | mrwizard82d1/learning_wcf,mrwizard82d1/learning_wcf |
c0efd221afeac70bb18923fb4c77058a0a33e929 | Utils/Sorter.cs | Utils/Sorter.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace PX.Api.ContractBased.Maintenance.Cli.Utils
{
static class Sorter
{
public static void Sort(this XDocument original)
{
XElement root = original.Elements().Single();
XNamespac... | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace PX.Api.ContractBased.Maintenance.Cli.Utils
{
static class Sorter
{
public static void Sort(this XDocument original)
{
XElement root = original.Elements().Single();
XNamespac... | Fix nullRef when processing empty entities (imported from main endpoind to extended one) | Fix nullRef when processing empty entities (imported from main endpoind to extended one)
| C# | mit | Acumatica/cb-cli |
7883da95089293800585b01533a455374e957944 | BatteryCommander.Web/Views/Qualification/List.cshtml | BatteryCommander.Web/Views/Qualification/List.cshtml | @model IEnumerable<BatteryCommander.Common.Models.Qualification>
@using BatteryCommander.Common.Models;
@{
ViewBag.Title = "Qualifications";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Add New", "New")
</p>
<table class="table table-striped">
<tr>
<th>
@Html.DisplayNameFor(model... | @model IEnumerable<BatteryCommander.Common.Models.Qualification>
@using BatteryCommander.Common.Models;
@{
ViewBag.Title = "Qualifications";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Add New", "New")
</p>
<table class="table table-striped">
<tr>
<th>
@Html.DisplayNameFor(model... | Add subtasks to main screen on tasks | Add subtasks to main screen on tasks
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
cd46fa18a10c9a36eba6c107bed0afefdd77f74b | src/Cryptography/KeyBlobFormat.cs | src/Cryptography/KeyBlobFormat.cs | namespace NSec.Cryptography
{
public enum KeyBlobFormat
{
None,
}
}
| namespace NSec.Cryptography
{
public enum KeyBlobFormat
{
None = 0,
// --- Secret Key Formats ---
RawSymmetricKey = -1,
RawPrivateKey = -2,
// --- Public Key Formats ---
RawPublicKey = 1,
}
}
| Add raw key blob formats | Add raw key blob formats
| C# | mit | ektrah/nsec |
34b98f0d4b770f9bbe219089888cf27f648299f3 | Management/src/AspDotNetCore/CloudFoundry/Controllers/HomeController.cs | Management/src/AspDotNetCore/CloudFoundry/Controllers/HomeController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Threading;
using System;
namespace CloudFoundry.Controllers
{
public class HomeController : Controller
{
private readonly ILogger _logger;
public HomeController(ILogger<HomeController> logger)
{
... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Threading;
using System;
namespace CloudFoundry.Controllers
{
public class HomeController : Controller
{
private readonly ILogger _logger;
private readonly Random _random;
public HomeController(ILogger<Ho... | Add controller random sleep in Management sample | Add controller random sleep in Management sample
| C# | apache-2.0 | SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples |
07f401810e29ed7735f0b68667740d723bd497d5 | Web/Infrastructure/DependencyInjection/RedisModule.cs | Web/Infrastructure/DependencyInjection/RedisModule.cs | using System;
using System.Configuration;
using System.Linq;
using Autofac;
using Autofac.Integration.Mvc;
using BookSleeve;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RedisModule : Module
{
protected override void Load(ContainerBuilder builder)
{
... | using System;
using System.Configuration;
using System.Linq;
using Autofac;
using Autofac.Integration.Mvc;
using BookSleeve;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RedisModule : Module
{
protected override void Load(ContainerBuilder builder)
{
... | Refactor the redisconnection factory slightly | Refactor the redisconnection factory slightly
| C# | mit | jrusbatch/compilify,appharbor/ConsolR,appharbor/ConsolR,vendettamit/compilify,jrusbatch/compilify,vendettamit/compilify |
88834a709bd10525a7a0cb5885157c6ab66c951d | resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/AssetHierarchy/Elements/IScriptComponentHierarchy.cs | resharper/resharper-unity/src/Yaml/Psi/DeferredCaches/AssetHierarchy/Elements/IScriptComponentHierarchy.cs | using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.References;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.Elements
{
public interface IScriptComponentHierarchy : IHierarchyElement
{
ExternalReference ScriptReference { get; }
}
} | using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.References;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.DeferredCaches.AssetHierarchy.Elements
{
public interface IScriptComponentHierarchy : IComponentHierarchy
{
ExternalReference ScriptReference { get; }
}
} | Fix asset usages for field, when script component is assigned to field in Inspector | Fix asset usages for field, when script component is assigned to field in Inspector
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
353d1d4b97561be375d79a6f9d81b2db228695b2 | Pablo/Graphics/BaseTypes/DimensionBehavior.cs | Pablo/Graphics/BaseTypes/DimensionBehavior.cs | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | Make sure shrink is the default | Make sure shrink is the default
| C# | mpl-2.0 | pabloengine/pablo |
4d0ca01972e3768766d49036e892e2dc15056ace | Merlin/Main/Hosts/SilverLight/SilverlightVersion.cs | Merlin/Main/Hosts/SilverLight/SilverlightVersion.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be found in the License.html file at the root of this distribution. If
* ... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be found in the License.html file at the root of this distribution. If
* ... | Update assembly version to Silverlight 3 Beta version | Update assembly version to Silverlight 3 Beta version
| C# | apache-2.0 | slozier/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,slozier/ironpython... |
490fb86f9eca5f43625e816172049c87ced4aa96 | osu.Game/Tests/Visual/TestCaseRateAdjustedBeatmap.cs | osu.Game/Tests/Visual/TestCaseRateAdjustedBeatmap.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.
namespace osu.Game.Tests.Visual
{
public class TestCaseRateAdjustedBeatmap : ScreenTestCase
{
protected override void Update()
{
base.... | // 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.
namespace osu.Game.Tests.Visual
{
/// <summary>
/// Test case which adjusts the beatmap's rate to match any speed adjustments in visual tests.
/// </summary>
... | Make base class abstract and add documentation | Make base class abstract and add documentation
| C# | mit | DrabWeb/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,DrabWeb/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,peppy/osu-new,EVAST99... |
9aadeebd73bb8e62199c08fd4dbd1e2b5abe89d5 | ApplicationInsightsXamarinSDK/Droid/Utils.cs | ApplicationInsightsXamarinSDK/Droid/Utils.cs | using System;
using Android.Runtime;
namespace AI.XamarinSDK.Android
{
public class Utils
{
public Utils ()
{
}
public static bool IsManagedException(Exception exception){
// TODO: Check exception type (java.lang., android.) or exception source (entry assembly name) to determine whether the exception is... | using System;
using Android.Runtime;
namespace AI.XamarinSDK.Android
{
public class Utils
{
public static readonly string[] JAVA_EXCEPTION_PREFIXES = {"java.lang.", "android."};
public static bool IsManagedException(Exception exception){
string exceptionType = exception.GetBaseException ().GetType ().ToStri... | Check if managed exception (Android) | Check if managed exception (Android)
| C# | mit | Microsoft/ApplicationInsights-Xamarin |
4cbd5013b48c5be5a025f10f9a2fccd5ebafd87f | Source/WienerLinien.Api/DefaultHttpClient.cs | Source/WienerLinien.Api/DefaultHttpClient.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace WienerLinien.Api
{
public class DefaultHttpClient : IHttpClient
{
public async Task<string> GetS... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace WienerLinien.Api
{
public class DefaultHttpClient : IHttpClient
{
public async... | Replace client.GetStringAsync(url) with better HttpClient code that also allows for compression | Replace client.GetStringAsync(url) with better HttpClient code that also allows for compression
| C# | mit | christophwille/viennarealtime,christophwille/viennarealtime |
aae5af0f839f8bf54c6ef5cc61fe0d728a8500e8 | LtiLibrary.Core/Extensions/HttpExtensions.cs | LtiLibrary.Core/Extensions/HttpExtensions.cs | using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace LtiLibrary.Core.Extensions
{
internal static class HttpExtensions
{
public static async Task<HttpResponseMessage> GetResponseAsync(this HttpRequestMessage message, bool allowAutoRedirect = false)
{
usin... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace LtiLibrary.Core.Extensions
{
internal static class HttpExtensions
{
public static async Task<HttpResponseMessage> GetResponseAsync(this HttpRequestMessage message, bool allowAutoRedirect = false)
{
... | Remove synchronous GetResponse method (it deadlocks the request thread). Remove GetResponseString method because it may deadklock the thread and it is only a convenience method for debugging. | Remove synchronous GetResponse method (it deadlocks the request thread). Remove GetResponseString method because it may deadklock the thread and it is only a convenience method for debugging.
| C# | apache-2.0 | andyfmiller/LtiLibrary |
9907fce01eb96093f7c652b85e9369792186bee6 | Source/Csla/Server/DataPortalMethodCache.cs | Source/Csla/Server/DataPortalMethodCache.cs | //-----------------------------------------------------------------------
// <copyright file="DataPortalMethodCache.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Gets a reference to the DataPortal_Create method for</sum... | //-----------------------------------------------------------------------
// <copyright file="DataPortalMethodCache.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
//-------------------------------------------------------------------... | Remove random xml comment from file header | Remove random xml comment from file header
| C# | mit | rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla |
d632f5e262a154900435e41f6ee81f33e00a0d0b | AnkiU/UIUtilities/DataBindingConverters/CardStateToSolidBrushConverter.cs | AnkiU/UIUtilities/DataBindingConverters/CardStateToSolidBrushConverter.cs | /*
Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
... | /*
Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
... | Change buried cards to screen bar in search page | Change buried cards to screen bar in search page
| C# | agpl-3.0 | AnkiUniversal/Anki-Universal,AnkiUniversal/Anki-Universal,AnkiUniversal/Anki-Universal |
b8a3e9e7e78c04593db4e20df731c70b4a97d8ec | StartingSource/CycleSales/CycleSales/CycleSalesModel/CycleSalesContext.cs | StartingSource/CycleSales/CycleSales/CycleSalesModel/CycleSalesContext.cs | using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.Entity.Metadata;
using System;
using System.Configuration;
using System.Linq;
namespace CycleSales.CycleSalesModel
{
public class CycleSalesContext : DbContext
{
public CycleSalesContext()
... | using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.Entity.Metadata;
using System;
using System.Configuration;
using System.Linq;
namespace CycleSales.CycleSalesModel
{
public class CycleSalesContext : DbContext
{
public CycleSalesContext()
... | Improve readability of DbContextOptions code | Improve readability of DbContextOptions code
| C# | apache-2.0 | VegasoftTI/Demo-EF7,rowanmiller/Demo-EF7,micdenny/Demo-EF7,micdenny/Demo-EF7,rowanmiller/Demo-EF7,VegasoftTI/Demo-EF7,VegasoftTI/Demo-EF7,micdenny/Demo-EF7 |
d1eac59a08edef7f1f5eec0bbbc81f4c7e2c1e97 | prometheus-net/Advanced/DefaultCollectorRegistry.cs | prometheus-net/Advanced/DefaultCollectorRegistry.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Prometheus.Advanced.DataContracts;
namespace Prometheus.Advanced
{
public class DefaultCollectorRegistry : ICollectorRegistry
{
public readonly static DefaultCollectorRegistry Instance = new DefaultCollectorRegistry();
/... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Prometheus.Advanced.DataContracts;
namespace Prometheus.Advanced
{
public class DefaultCollectorRegistry : ICollectorRegistry
{
public readonly static DefaultCollectorRegistry Instance = new DefaultCollectorRegi... | Use ConcurrentDictionary for collector registry | Use ConcurrentDictionary for collector registry
| C# | mit | andrasm/prometheus-net,ceepeeuk/prometheus-net,brian-brazil/prometheus-net,qed-/prometheus-net |
8baa5f39a7dca155b2ce8a1a493f1108f8d77254 | src/Server/Bit.Owin/Implementations/DebugLogStore.cs | src/Server/Bit.Owin/Implementations/DebugLogStore.cs | using System;
using System.Threading.Tasks;
using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Diagnostics;
namespace Bit.Owin.Implementations
{
public class DebugLogStore : ILogStore
{
private readonly IContentFormatter _formatter;
public DebugLogStore(IContentFormatter formatter)... | #define DEBUG
using System;
using System.Threading.Tasks;
using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Diagnostics;
namespace Bit.Owin.Implementations
{
public class DebugLogStore : ILogStore
{
private readonly IContentFormatter _formatter;
public DebugLogStore(IContentFormat... | Make debug log store work in release builds | Make debug log store work in release builds
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
2f2fc7f7e2da005b57eff19051a71d8d6e8408a7 | allocator/Program.cs | allocator/Program.cs | using System;
using System.Threading.Tasks;
namespace ConsoleApplication
{
public class Program
{
const int NumThreads = 2;
public static void Main(string[] args)
{
Console.WriteLine($"Starting {NumThreads} threads.");
Task[] workers = new Task[NumThreads];
... | using System;
using System.Threading.Tasks;
namespace ConsoleApplication
{
public class Program
{
static int NumThreads = 2;
public static void Main(string[] args)
{
if(args.Length >= 1)
{
NumThreads = Convert.ToInt32(args[0]);
}
... | Modify allocator test to allow more threads and to switch between them. | Modify allocator test to allow more threads and to switch between them.
| C# | mit | brianrob/coretests,brianrob/coretests |
fb6d55b00fc58f87d28b6c464d2afc7facb167cc | src/Features/Core/Portable/Shared/Options/ServiceComponentOnOffOptions.cs | src/Features/Core/Portable/Shared/Options/ServiceComponentOnOffOptions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Shared.Options
{
/// <summary>
/// options to indicate whether a certain compo... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Shared.Options
{
/// <summary>
/// options to indicate whether a certain compo... | Enable package search by default (in master). | Enable package search by default (in master).
| C# | apache-2.0 | zooba/roslyn,AnthonyDGreen/roslyn,bkoelman/roslyn,vslsnap/roslyn,panopticoncentral/roslyn,abock/roslyn,ericfe-ms/roslyn,leppie/roslyn,srivatsn/roslyn,Pvlerick/roslyn,stephentoub/roslyn,mmitche/roslyn,mgoertz-msft/roslyn,reaction1989/roslyn,jkotas/roslyn,heejaechang/roslyn,CyrusNajmabadi/roslyn,davkean/roslyn,zooba/rosl... |
def690b8c368f784094e5f4c98b75a28f639eb47 | src/Umbraco.Core/Security/ActiveDirectoryBackOfficeUserPasswordChecker.cs | src/Umbraco.Core/Security/ActiveDirectoryBackOfficeUserPasswordChecker.cs | using System.Configuration;
using System.DirectoryServices.AccountManagement;
using System.Threading.Tasks;
using Umbraco.Core.Models.Identity;
namespace Umbraco.Core.Security
{
public class ActiveDirectoryBackOfficeUserPasswordChecker : IBackOfficeUserPasswordChecker
{
public Task<BackOfficeUserPassw... | using System.Configuration;
using System.DirectoryServices.AccountManagement;
using System.Threading.Tasks;
using Umbraco.Core.Models.Identity;
namespace Umbraco.Core.Security
{
public class ActiveDirectoryBackOfficeUserPasswordChecker : IBackOfficeUserPasswordChecker
{
public virtual string ActiveDir... | Fix U4-8532 - No built in Active Directory authentication in Umbraco 7.3+ | Fix U4-8532 - No built in Active Directory authentication in Umbraco 7.3+
| C# | mit | JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,rasmusfjord/Umbraco-CMS,base33/Umbraco-CMS,hfloyd/Umbraco-CMS,aaronpowell/Umbraco-CMS,WebCentrum/Umbraco-CMS,lars-erik/Umbraco-CMS,romanlytvyn/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,hfloyd/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,Jeffrey... |
90e76bacb8f4c454dbca61608f6a5b7b441cc1be | src/Abp/RealTime/InMemoryOnlineClientStore.cs | src/Abp/RealTime/InMemoryOnlineClientStore.cs | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using Abp.Data;
namespace Abp.RealTime
{
public class InMemoryOnlineClientStore : IOnlineClientStore
{
/// <summary>
/// Online clients.
/// </summary>
protected Concurren... | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using Abp.Data;
namespace Abp.RealTime
{
public class InMemoryOnlineClientStore : IOnlineClientStore
{
/// <summary>
/// Online clients.
/// </summary>
protected Concurren... | Add tryremove/add to in memory store | Add tryremove/add to in memory store | C# | mit | ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,beratcarsi/aspnetboilerplate,beratcarsi/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboile... |
8cae9556888dcc1469de061c0a554cb906a1eb6c | tests/Avalonia.Markup.Xaml.UnitTests/SetterTests.cs | tests/Avalonia.Markup.Xaml.UnitTests/SetterTests.cs | using System.Linq;
using Avalonia.Data;
using Avalonia.Styling;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Markup.Xaml.UnitTests
{
public class SetterTests : XamlTestBase
{
[Fact]
public void Setter_Should_Work_Outside_Of_Style_With_SetterTargetType_Attribute()
{
... | using System.Linq;
using Avalonia.Data;
using Avalonia.Styling;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Markup.Xaml.UnitTests
{
public class SetterTests : XamlTestBase
{
[Fact]
public void Setter_Should_Work_Outside_Of_Style_With_SetterTargetType_Attribute()
{
... | Add another keyframe to UT | Add another keyframe to UT
| C# | mit | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia |
6a4a1701ec0304cbcc01cf48e148923ab29a5c7b | source/Cosmos.Core_Plugs/System/Diagnostics/StopwatchImpl.cs | source/Cosmos.Core_Plugs/System/Diagnostics/StopwatchImpl.cs | using IL2CPU.API;
using IL2CPU.API.Attribs;
using System;
using System.Diagnostics;
using Cosmos.Core;
namespace Cosmos.Core_Plugs.System.Diagnostics
{
[Plug(Target = typeof(global::System.Diagnostics.Stopwatch))]
public class StopwatchImpl
{
public static long GetTimestamp()
{
... | using IL2CPU.API;
using IL2CPU.API.Attribs;
using System;
using System.Diagnostics;
using Cosmos.Core;
namespace Cosmos.Core_Plugs.System.Diagnostics
{
[Plug(Target = typeof(global::System.Diagnostics.Stopwatch))]
public class StopwatchImpl
{
public static long GetTimestamp()
{
... | Revert "Change ProcessorInfo to CPU" | Revert "Change ProcessorInfo to CPU"
This reverts commit 0b6b557a5a2ef96672b8924bc666913cab20e788.
| C# | bsd-3-clause | zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos |
f8705bd0697a5e60fc747883569c7d97fc1f942a | MiningRigRentalsApi/ObjectModel/MyRentalsResponse.cs | MiningRigRentalsApi/ObjectModel/MyRentalsResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MiningRigRentalsApi.Converters;
using Newtonsoft.Json;
namespace MiningRigRentalsApi.ObjectModel
{
public class MyRentals
{
public MyRentalsRecords[] records;
}
public class MyRentalsRecords
{
public int id;
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MiningRigRentalsApi.Converters;
using Newtonsoft.Json;
namespace MiningRigRentalsApi.ObjectModel
{
public class MyRentals
{
public MyRentalsRecords[] records;
}
public class MyRentalsRecords
{
public int id;
public ... | Add hashrate data to MyRentalsRecord class | Add hashrate data to MyRentalsRecord class
| C# | mit | bitbandi/MiningRigRentalsApi |
5ddf7932d02971a38fa30ba965297eef2372a20c | src/Diploms.WebUI/Controllers/DepartmentsController.cs | src/Diploms.WebUI/Controllers/DepartmentsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Diploms.Core;
namespace Diploms.WebUI.Controllers
{
[Route("api/[controller]")]
public class DepartmentsController : Controller
{
private readonly IRepository<Depar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Diploms.Core;
namespace Diploms.WebUI.Controllers
{
[Route("api/[controller]")]
public class DepartmentsController : Controller
{
private readonly IRepository<Depar... | Add method to return Department object by it's identifier | Add method to return Department object by it's identifier
| C# | mit | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs |
085b6ae25f0f6bd4c01b4077090d01be35ef3b67 | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.cs | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.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;
namespace osu.Game.Tournament.Screens.Showcase
{
public class ShowcaseScreen : BeatmapInfoScreen
{
[BackgroundDependencyL... | // 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.Game.Tournament.Components;
namespace osu.Game.Tournament.Screens.Showcase
{
public class Sho... | Add background video for showcase scene (Tournament Client) | Add background video for showcase scene (Tournament Client)
| C# | mit | NeoAdonis/osu,peppy/osu-new,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu |
2dcf26bcdea1baf527c0913e7d4141b132bf0087 | Assets/MRTK/Core/Inspectors/Setup/MRTKVersionPopup.cs | Assets/MRTK/Core/Inspectors/Setup/MRTKVersionPopup.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Editor
{
internal class MRTKVersionPopup : EditorWindow
{
private static MRTKV... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Editor
{
internal class MRTKVersionPopup : EditorWindow
{
private static MRTKV... | Update to reuse existing window, if it exists | Update to reuse existing window, if it exists
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
73c21b7de1fe62cecc02b3108f0c510de36ea0b9 | RelistenApi/Migrations/05_AddSourceTrackPlaysIndex.cs | RelistenApi/Migrations/05_AddSourceTrackPlaysIndex.cs | using SimpleMigrations;
namespace Migrations
{
[Migration(5, "Add source track plays index")]
public class AddSourceTrackPlaysIndex : Migration
{
protected override void Up()
{
Execute(@"
CREATE INDEX IF NOT EXISTS idx_source_track_plays_id_btree ON source_track_... | using SimpleMigrations;
namespace Migrations
{
[Migration(5, "Add source track plays index")]
public class AddSourceTrackPlaysIndex : Migration
{
protected override void Up()
{
Execute(@"
CREATE INDEX IF NOT EXISTS idx_source_track_plays_id_btree ON source_track_... | Fix migration sql to be run in transaction block | Fix migration sql to be run in transaction block
| C# | mit | RelistenNet/RelistenApi,alecgorge/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi,alecgorge/RelistenApi |
73258eff28732c0a336be931f99a9a93a1c48fa6 | EnumerableTest.Runner.Wpf/TestTree/TestTreeView.xaml.cs | EnumerableTest.Runner.Wpf/TestTree/TestTreeView.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | Create PermanentTestRunner rather than direct TestTree | Create PermanentTestRunner rather than direct TestTree
| C# | mit | vain0/EnumerableTest |
d60769ccbffc31769b2f2cb19104e2dcb2c25f23 | LtiLibrary.AspNet/Outcomes/v1/ImsxXmlMediaTypeResult.cs | LtiLibrary.AspNet/Outcomes/v1/ImsxXmlMediaTypeResult.cs | using Microsoft.AspNetCore.Mvc;
namespace LtiLibrary.AspNet.Outcomes.v1
{
public class ImsxXmlMediaTypeResult : ObjectResult
{
public ImsxXmlMediaTypeResult(object value) : base(value)
{
Formatters.Add(new ImsxXmlMediaTypeOutputFormatter());
}
}
}
| using Microsoft.AspNetCore.Mvc;
namespace LtiLibrary.AspNet.Outcomes.v1
{
/// <summary>
/// Use to attach a specific XML formatter to controller results. For example,
/// <code>public ImsxXmlMediaTypeResult Post([ModelBinder(BinderType = typeof(ImsxXmlMediaTypeModelBinder))] imsx_POXEnvelopeType request)<... | Add comments to a new class. | Add comments to a new class.
| C# | apache-2.0 | andyfmiller/LtiLibrary |
4e61de8009b19a92f1e38ad02e5d6798729560ea | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | using System;
using System.Drawing;
using System.Linq;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[SetUp]
public void SetUp()
{
// setup code goes here
}
[TearDown]
public void TearDown()
{
... | using System;
using System.Drawing;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[SetUp]
public void SetUp()
{
// setup code goes here
}
[TearDown]
public void TearDown()
{
// tear down code ... | Fix mono bug in the FontHelper class | Fix mono bug in the FontHelper class
| C# | mit | gtryus/libpalaso,andrew-polk/libpalaso,darcywong00/libpalaso,JohnThomson/libpalaso,JohnThomson/libpalaso,tombogle/libpalaso,chrisvire/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,darcywong00/libpalaso,JohnThomson/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,gmartin7/libpalaso,ddaspit/libpal... |
562fbfbe067d84136e2e3d450661e72a0ef89118 | Src/Census/UmbracoObjectRelations/DataTypeToPropertyEditor.cs | Src/Census/UmbracoObjectRelations/DataTypeToPropertyEditor.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Census.Core;
using Census.Core.Interfaces;
using Census.UmbracoObject;
using umbraco.cms.businesslogic.datatype;
using umbraco.cms.businesslogic.web;
using umbraco.interfaces;
namespace Census.UmbracoObjectRel... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using Census.Core;
using Census.Core.Interfaces;
using Census.UmbracoObject;
using umbraco.cms.businesslogic.datatype;
using umbraco.cms.businesslogic.web;
using umbraco.interfaces;
namespace Census.UmbracoObjectRel... | Fix exception that can occur when a PropertyEditor DLL no longer exists | Fix exception that can occur when a PropertyEditor DLL no longer exists
| C# | mit | imulus/census,imulus/census |
27d215cc7775e923412627945488cb38412d8f61 | src/ChessVariantsTraining/ViewModels/CommentSorter.cs | src/ChessVariantsTraining/ViewModels/CommentSorter.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using ChessVariantsTraining.DbRepositories;
namespace ChessVariantsTraining.ViewModels
{
public class CommentSorter
{
ICommentVoteRepository voteRepo;
IUserRepository userRe... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using ChessVariantsTraining.DbRepositories;
namespace ChessVariantsTraining.ViewModels
{
public class CommentSorter
{
ICommentVoteRepository voteRepo;
IUserRepository userRe... | Fix OrderRecursivelyAsync bug with OrderByDescending | Fix OrderRecursivelyAsync bug with OrderByDescending
| C# | agpl-3.0 | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training |
68db8b9ea0bb077cf0d18c1da026d41424e62276 | src/Umbraco.Core/Models/PropertyGroupType.cs | src/Umbraco.Core/Models/PropertyGroupType.cs | namespace Umbraco.Core.Models
{
/// <summary>
/// Represents the type of a property group.
/// </summary>
public enum PropertyGroupType : short
{
/// <summary>
/// Display as a group (using a header).
/// </summary>
Group = 0,
/// <summary>
/// Displa... | namespace Umbraco.Core.Models
{
/// <summary>
/// Represents the type of a property group.
/// </summary>
public enum PropertyGroupType : short
{
/// <summary>
/// Display property types in a group.
/// </summary>
Group = 0,
/// <summary>
/// Display ... | Update property group type enum | Update property group type enum
| C# | mit | arknu/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,mattbrailsford/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,bjarnef/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Um... |
7b26c9260f9d52e3ed1c30f9ca53bf9ea0e3fd49 | Assets/Scripts/Core/World.cs | Assets/Scripts/Core/World.cs | using UnityEngine;
using UnityEngine.Events;
public class World : Planet {
private UnityEvent onPlanetHit = new UnityEvent();
private Lives lives;
private void Awake() {
lives = GetComponent<Lives>();
}
private void OnCollisionEnter( Collision other ) {
onPlanetHit.Invoke();
... | using UnityEngine;
using UnityEngine.Events;
public class World : Planet {
private UnityEvent onPlanetHit = new UnityEvent();
private Lives lives;
private void Awake() {
lives = GetComponent<Lives>();
}
private void OnCollisionEnter( Collision other ) {
if( other.transform.GetCo... | Check for collision with balls only. | Check for collision with balls only.
| C# | mit | dirty-casuals/LD38-A-Small-World |
caf0bd962ea33ae0bb1916fdfcb450b10510d0e0 | src/Package/Impl/Plots/PlotWindowCommandController.cs | src/Package/Impl/Plots/PlotWindowCommandController.cs | using System;
using System.Diagnostics;
using Microsoft.Languages.Editor;
using Microsoft.Languages.Editor.Controller;
namespace Microsoft.VisualStudio.R.Package.Plots {
internal sealed class PlotWindowCommandController : ICommandTarget {
private PlotWindowPane _pane;
public PlotWindowCommandCont... | using System;
using System.Diagnostics;
using Microsoft.Languages.Editor;
using Microsoft.Languages.Editor.Controller;
namespace Microsoft.VisualStudio.R.Package.Plots {
internal sealed class PlotWindowCommandController : ICommandTarget {
private PlotWindowPane _pane;
public PlotWindowCommandCont... | Disable plot buttons until plot is available | Disable plot buttons until plot is available
| C# | mit | MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderShe... |
51f2b523efaf42c229cfdede2c0d78134121084b | src/VisualStudio/Xaml/Impl/XamlStaticTypeDefinitions.cs | src/VisualStudio/Xaml/Impl/XamlStaticTypeDefinitions.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.ComponentModel.Composition;
using Microsoft.VisualStudio.LanguageServer.Client;
using Microsoft.Visual... | // 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.ComponentModel.Composition;
using Microsoft.VisualStudio.LanguageServer.Client;
using Microsoft.Visual... | Remove LSP base from Xaml content type definition to avoid regressing rps | Remove LSP base from Xaml content type definition to avoid regressing rps
| C# | mit | mgoertz-msft/roslyn,AlekseyTs/roslyn,jmarolf/roslyn,AmadeusW/roslyn,stephentoub/roslyn,sharwell/roslyn,AmadeusW/roslyn,KirillOsenkov/roslyn,panopticoncentral/roslyn,mavasani/roslyn,bartdesmet/roslyn,heejaechang/roslyn,diryboy/roslyn,jmarolf/roslyn,aelij/roslyn,KevinRansom/roslyn,weltkante/roslyn,mavasani/roslyn,tmat/ro... |
25c222d60ae0218056dfc5b70182db5c1e5c56ee | Source/Lib/TraktApiSharp/Extensions/StringExtensions.cs | Source/Lib/TraktApiSharp/Extensions/StringExtensions.cs | namespace TraktApiSharp.Extensions
{
using System;
using System.Linq;
public static class StringExtensions
{
private static readonly char[] DelimiterChars = { ' ', ',', '.', ':', ';', '\n', '\t' };
public static string FirstToUpper(this string value)
{
if (string.I... | namespace TraktApiSharp.Extensions
{
using System;
using System.Linq;
/// <summary>Provides helper methods for strings.</summary>
public static class StringExtensions
{
private static readonly char[] DelimiterChars = { ' ', ',', '.', ':', ';', '\n', '\t' };
/// <summary>Converts t... | Add documentation for string extensions. | Add documentation for string extensions.
| C# | mit | henrikfroehling/TraktApiSharp |
ae4a6170a2831ed669ecdb19aad9900a410f5c6c | NetCore.NUnit/AtataSamples.NetCore.NUnit/SignInTests.cs | NetCore.NUnit/AtataSamples.NetCore.NUnit/SignInTests.cs | using Atata;
using NUnit.Framework;
namespace AtataSamples.NetCore.NUnit
{
public class SignInTests : UITestFixture
{
[Test]
public void NetCoreNUnit_SignIn()
{
Go.To<SignInPage>().
Email.Set("admin@mail.com").
Password.Set("abc123").
... | using Atata;
using NUnit.Framework;
namespace AtataSamples.NetCore.NUnit
{
public class SignInTests : UITestFixture
{
[Test]
public void NetCoreNUnit_SignIn()
{
Go.To<SignInPage>().
Email.Set("admin@mail.com").
Password.Set("abc123").
... | Fix typo in NetCoreNUnit_SignIn_WithInvalidPassword test comment | Fix typo in NetCoreNUnit_SignIn_WithInvalidPassword test comment
| C# | apache-2.0 | atata-framework/atata-samples |
d0cf43fc2efa02d19a60005a4f6347a9ebf6b02c | test/Entelect.Tests/Strings/StringExtensionsTests.cs | test/Entelect.Tests/Strings/StringExtensionsTests.cs | using System;
using NUnit.Framework;
using Entelect.Extensions;
namespace Entelect.Tests.Strings
{
[TestFixture]
public class StringExtensionsTests
{
[Test]
public void ContainsIgnoringCase()
{
var doesContain = "asd".Contains("S",StringComparison.OrdinalIgnoreCase);
... | using System;
using NUnit.Framework;
using Entelect.Extensions;
namespace Entelect.Tests.Strings
{
[TestFixture]
public class StringExtensionsTests
{
[Test]
public void ContainsIgnoringCase()
{
var doesContain = "asd".Contains("S",StringComparison.OrdinalIgnoreCase);
... | Add tests for PascalCaseToSpacedString extensions | Add tests for PascalCaseToSpacedString extensions
| C# | mit | entelect/Entelect |
116f05edb813f013ce6e44e94db26b65f86df5c7 | FTAnalyser/SharedAssemblyVersion.cs | FTAnalyser/SharedAssemblyVersion.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | Add support for Unmarried/Never married death date | Add support for Unmarried/Never married death date
| C# | apache-2.0 | ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer |
4817dfe5c25b94c1bb11830d13c06113c516a31d | Kudu.Core/Performance/NullProfiler.cs | Kudu.Core/Performance/NullProfiler.cs | using System;
using Kudu.Contracts;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Performance
{
public class NullProfiler : IProfiler
{
public static IProfiler Instance = new NullProfiler();
private NullProfiler()
{
}
public IDisposable Step(string value)
... | using System;
using Kudu.Contracts;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Performance
{
public class NullProfiler : IProfiler
{
public static IProfiler Instance = new NullProfiler();
private NullProfiler()
{
}
public IDisposable Step(string value)
... | Return DisposableAction.Noop for the null profiler instead of creating new objects for every step. | Return DisposableAction.Noop for the null profiler instead of creating new objects for every step.
| C# | apache-2.0 | duncansmart/kudu,kenegozi/kudu,juoni/kudu,dev-enthusiast/kudu,puneet-gupta/kudu,kali786516/kudu,sitereactor/kudu,bbauya/kudu,dev-enthusiast/kudu,WeAreMammoth/kudu-obsolete,chrisrpatterson/kudu,puneet-gupta/kudu,WeAreMammoth/kudu-obsolete,shanselman/kudu,uQr/kudu,sitereactor/kudu,juvchan/kudu,oliver-feng/kudu,YOTOV-LIMI... |
31d17e5e9d3c545c5f68a545ba41ae36196cadce | Quickstart/ZUMOAPPNAMEService/DataObjects/TodoItem.cs | Quickstart/ZUMOAPPNAMEService/DataObjects/TodoItem.cs | using Microsoft.WindowsAzure.Mobile.Service;
namespace ZUMOAPPNAMEService.DataObjects
{
public class TodoItem : TableData
{
public string Text { get; set; }
public bool Complete { get; set; }
}
} | using Microsoft.WindowsAzure.Mobile.Service;
namespace ZUMOAPPNAMEService.DataObjects
{
public class TodoItem : EntityData
{
public string Text { get; set; }
public bool Complete { get; set; }
}
} | Split out extensions for Entity Framework, Azure Storage, and Mongo. These are now separate projects (and NuGet packages) that all reference the Tables project (which again references the core service project). New NuGet packages are creates and references added. | Split out extensions for Entity Framework, Azure Storage, and Mongo. These are now separate projects (and NuGet packages) that all reference the Tables project (which again references the core service project). New NuGet packages are creates and references added.
As part of this we have removed the TableData type and ... | C# | apache-2.0 | Azure/azure-mobile-services-quickstarts,brettsam/azure-mobile-services-quickstarts,Azure/azure-mobile-apps-quickstarts,soninaren/azure-mobile-services-quickstarts,aziel/azure-mobile-services-quickstarts,Azure/azure-mobile-services-quickstarts,Azure/azure-mobile-apps-quickstarts,jwallra/azure-mobile-services-quickstarts... |
6ae3430ca3f502d1e6460ed5ae85ccb52b0d1943 | ChatRelay/Program.cs | ChatRelay/Program.cs | using System;
namespace ChatRelay
{
class Program
{
private static readonly Relay relay = new Relay();
static void Main()
{
AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionTrapper;
Run();
}
public static void Run()
{
... | using System;
namespace ChatRelay
{
class Program
{
private static readonly Relay relay = new Relay();
static void Main()
{
AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionTrapper;
Run();
}
public static void Run()
{
... | Move feature ideas to GitHub issue tracker | Move feature ideas to GitHub issue tracker
| C# | mit | DanRigby/ChatRelay |
284fc3bd935fc3eba81dab8fa8078336144c0e98 | Store.Storage.SqlServer/src/Client.cs | Store.Storage.SqlServer/src/Client.cs | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using Store.Models;
using Store.Storage.Data;
namespace Store.Storage.SqlServer {
public class Client {
public Client(DBContext _dbContext) {
var fac = new Factory<SqlConnection>();
dbCo... | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using Store.Models;
using Store.Storage.Data;
namespace Store.Storage.SqlServer {
public class Client {
public Client(DBContext _dbContext) {
var fac = new Factory<SqlConnection>();
Func... | Update Store.SqlServer connection string constructor | Update Store.SqlServer connection string constructor
| C# | mit | once-ler/Store |
3bc99bdf93ec206b281011ceffe217db9b53996e | Xamarin/bxc45742/ViewController.cs | Xamarin/bxc45742/ViewController.cs | using System;
using AppKit;
using Foundation;
namespace UselessExceptions
{
public partial class ViewController : NSViewController
{
public ViewController (IntPtr handle) : base (handle)
{
}
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
// Do any additional setup after loading the vi... | using System;
using AppKit;
using Foundation;
namespace UselessExceptions
{
public partial class ViewController : NSViewController
{
public ViewController (IntPtr handle) : base (handle)
{
}
public override void ViewDidLoad ()
{
base.ViewDidLoad ();
throw new Exception ("USELESS");
// Do any ... | Add exception (only difference from default template) | Add exception (only difference from default template)
| C# | mit | abock/filed-bug-test-cases |
afb1e89776fa9af0dc7a88927b04a103019c1164 | src/OctoFlow.Console/DefaultProviders/OutDirProvider.cs | src/OctoFlow.Console/DefaultProviders/OutDirProvider.cs | /*
Copyright 2014 Daniel Cazzulino
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
*/
namespace OctoFlow
{
using CLAP;
using ... | /*
Copyright 2014 Daniel Cazzulino
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
*/
namespace OctoFlow
{
using CLAP;
using ... | Fix conversion bug in out dir provider | Fix conversion bug in out dir provider
| C# | apache-2.0 | kzu/OctoFlow |
a99ba9192cd9be0fbab3d9730823cd5580b4888e | Implementation/CompositeConstraints/SOS2Calculator.cs | Implementation/CompositeConstraints/SOS2Calculator.cs | using System;
using System.Linq;
using MilpManager.Abstraction;
namespace MilpManager.Implementation.CompositeConstraints
{
public class SOS2Calculator : ICompositeConstraintCalculator
{
public IVariable Set(IMilpManager milpManager, CompositeConstraintType type, ICompositeConstraintParameters paramet... | using System;
using System.Linq;
using MilpManager.Abstraction;
namespace MilpManager.Implementation.CompositeConstraints
{
public class SOS2Calculator : ICompositeConstraintCalculator
{
public IVariable Set(IMilpManager milpManager, CompositeConstraintType type, ICompositeConstraintParameters paramet... | Fix for SOS2 calculator (for one element in array). | Fix for SOS2 calculator (for one element in array).
| C# | mit | afish/MilpManager |
2509f4ce5061793f15821e04e9513b86509d7990 | test/Evolve.Test.Utilities/CassandraDockerContainer.cs | test/Evolve.Test.Utilities/CassandraDockerContainer.cs | using System;
namespace Evolve.Test.Utilities
{
public class CassandraDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "9042";
public string HostPort => "9042";
public string ClusterName => "evolve";
... | using System;
namespace Evolve.Test.Utilities
{
public class CassandraDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "9042";
public string HostPort => "9042";
public string ClusterName => "evolve";
... | Increase Cassandra delay after startup | Increase Cassandra delay after startup
| C# | mit | lecaillon/Evolve |
731cc172fa0f9dd047e5284085cc64d093e5f2f8 | Assets/Plugins/RainbowFolders/Editor/Scripts/Settings/RainbowFoldersSettingsEditor.cs | Assets/Plugins/RainbowFolders/Editor/Scripts/Settings/RainbowFoldersSettingsEditor.cs | /*
* 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 law or agreed to in writing, software
* distrib... | /*
* 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 law or agreed to in writing, software
* distrib... | Remove help box from the folders settings list | Remove help box from the folders settings list
| C# | apache-2.0 | PhannGor/unity3d-rainbow-folders |
75b636fd61d3363ef92157740914575be5a5ebc5 | src/Xamarin.Forms.OAuth/Providers/TrelloOAuthProvider.cs | src/Xamarin.Forms.OAuth/Providers/TrelloOAuthProvider.cs | namespace Xamarin.Forms.OAuth.Providers
{
public sealed class TrelloOAuthProvider : OAuthProvider
{
private const string _redirectUrl = "https://trelloResponse.com";
public TrelloOAuthProvider(string clientId, string clientSecret, params string[] scopes)
: base(new OAuthProvid... | using System.Collections.Generic;
namespace Xamarin.Forms.OAuth.Providers
{
public sealed class TrelloOAuthProvider : OAuthProvider
{
private const string _redirectUrl = "https://trelloResponse.com";
public TrelloOAuthProvider(string clientId, string clientSecret, params string[] scopes... | Add Trello provider (not yet working) | Add Trello provider (not yet working)
| C# | mit | Bigsby/Xamarin.Forms.OAuth |
e27fb139dd2ebd266712e5c804abc34553f50c0b | examples/dotnetcore2.0/Function.cs | examples/dotnetcore2.0/Function.cs | // Compile with:
// docker run --rm -v "$PWD":/var/task lambci/lambda:build-dotnetcore2.0 dotnet publish -c Release -o pub
// Run with:
// docker run --rm -v "$PWD"/pub:/var/task lambci/lambda:dotnetcore2.0 test::test.Function::FunctionHandler "some"
using System;
using System.Collections.Generic;
using System.Linq;
... | // Compile with:
// docker run --rm -v "$PWD":/var/task lambci/lambda:build-dotnetcore2.0 dotnet publish -c Release -o pub
// Run with:
// docker run --rm -v "$PWD"/pub:/var/task lambci/lambda:dotnetcore2.0 test::test.Function::FunctionHandler "some"
using Amazon.Lambda.Core;
[assembly: LambdaSerializer(typeof(Amazo... | Add input event to dotnetcore2.0 example function | Add input event to dotnetcore2.0 example function
| C# | mit | lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda,lambci/docker-lambda |
387e3fcbab0aa64d78ecc6ba864f90a4f37a049d | Gibe.DittoProcessors/Processors/StringToMd5HashAttribute.cs | Gibe.DittoProcessors/Processors/StringToMd5HashAttribute.cs | using System;
using System.Text;
using System.Security.Cryptography;
namespace Gibe.DittoProcessors.Processors
{
public class StringToMd5HashAttribute : TestableDittoProcessorAttribute
{
public override object ProcessValue()
{
if (Value == null) throw new NullReferenceException();
var stringValue = Value... | using System;
using System.Text;
using System.Security.Cryptography;
namespace Gibe.DittoProcessors.Processors
{
public class StringToMd5HashAttribute : TestableDittoProcessorAttribute
{
public override object ProcessValue()
{
if (Value == null) throw new NullReferenceException();
var stringValue = Value... | Update to MD5 hash PR. | Update to MD5 hash PR.
| C# | mit | Gibe/Gibe.DittoProcessors |
4ac85e408ec7b58a90065d8e0bede3e7629a7aec | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | Source/Csla.Axml.Android/Resources/Resource.Designer.cs | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------------... | Update for .NET 6 rc2 | Update for .NET 6 rc2
| C# | mit | rockfordlhotka/csla,rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla |
aa614de7f1dad1be8390f8ea8b5150f31f69c680 | Client/Assets.cs | Client/Assets.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Audio;
namespace ShiftDrive {
/// <summary>
/// A simple static container, for holding game assets like textures and meshes.
/// </summary>
... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Audio;
namespace ShiftDrive {
/// <summary>
/// A simple static container, for holding game assets like textures and meshes.
/// </summary>
... | Add container for sprite sheet prototypes | Add container for sprite sheet prototypes
| C# | bsd-3-clause | iridinite/shiftdrive |
b88b6a6f4fde8543f3543d3e8e2b36ed3cd73783 | src/Markdig.Xaml/Renderers/Xaml/QuoteBlockRenderer.cs | src/Markdig.Xaml/Renderers/Xaml/QuoteBlockRenderer.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 Markdig.Syntax;
namespace Markdig.Renderers.Xaml
{
/// <summary>
/// A XAML renderer for a <see cref="QuoteBlock"/>.
/// <... | // 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 Markdig.Syntax;
namespace Markdig.Renderers.Xaml
{
/// <summary>
/// A XAML renderer for a <see cref="QuoteBlock"/>.
/// <... | Use Section instead of Paragraph for quote blocks. | [Markdig.Xaml] Use Section instead of Paragraph for quote blocks.
| C# | mit | Kryptos-FR/markdig-wpf,Kryptos-FR/markdig.wpf |
89f00cea4e507c8c542d623ca2811b8c56dc10bd | OpcMock/OpcMockProtocol.cs | OpcMock/OpcMockProtocol.cs | namespace OpcMockTests
{
internal class OpcMockProtocol
{
}
} | using System;
using System.Collections.Generic;
namespace OpcMock
{
public class OpcMockProtocol
{
private List<ProtocolLine> lines;
public OpcMockProtocol()
{
lines = new List<ProtocolLine>();
}
public List<ProtocolLine> Lines
{
get{ r... | Introduce a Protocol class for better encapsulation | Introduce a Protocol class for better encapsulation
| C# | mit | msdeibel/opcmock |
293d1c2709a0ee51323ed1daa8727da5caab3c7d | src/Snowflake.Support.GraphQLFrameworkQueries/Types/Model/GameFileExtensionGraphType.cs | src/Snowflake.Support.GraphQLFrameworkQueries/Types/Model/GameFileExtensionGraphType.cs | using System;
using System.Collections.Generic;
using System.Text;
using GraphQL.Types;
using Snowflake.Model.Game.LibraryExtensions;
namespace Snowflake.Support.Remoting.GraphQL.Types.Model
{
public class GameFileExtensionGraphType : ObjectGraphType<IGameFileExtension>
{
public GameFileExtensionGraph... | using System;
using System.Collections.Generic;
using System.Text;
using GraphQL.Types;
using Snowflake.Model.Game.LibraryExtensions;
namespace Snowflake.Support.Remoting.GraphQL.Types.Model
{
public class GameFileExtensionGraphType : ObjectGraphType<IGameFileExtension>
{
public GameFileExtensionGraph... | Fix Record Graph Type Query | Fix Record Graph Type Query
| C# | mpl-2.0 | SnowflakePowered/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,RonnChyran/snowflake |
c179ec1a0c1c7db2011ab7f65f34ddcba6601811 | src/Klondike.SelfHost/SelfHostStartup.cs | src/Klondike.SelfHost/SelfHostStartup.cs | using Autofac;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using NuGet.Lucene.Web;
using NuGet.Lucene.Web.Formatters;
using Owin;
namespace Klondike.SelfHost
{
class SelfHostStartup : Klondike.Startup
{
private readonly SelfHostSettings selfHostSettings;
public SelfHos... | using Autofac;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using NuGet.Lucene.Web;
using NuGet.Lucene.Web.Formatters;
using Owin;
namespace Klondike.SelfHost
{
class SelfHostStartup : Klondike.Startup
{
private readonly SelfHostSettings selfHostSettings;
public SelfHos... | Change order of OWIN handlers so static file handler does not preempt NuGet client redirect handler. | Change order of OWIN handlers so static file handler does not preempt NuGet client redirect handler.
| C# | apache-2.0 | davidvmckay/Klondike,Stift/Klondike,fhchina/Klondike,davidvmckay/Klondike,jochenvangasse/Klondike,davidvmckay/Klondike,jochenvangasse/Klondike,themotleyfool/Klondike,Stift/Klondike,jochenvangasse/Klondike,themotleyfool/Klondike,themotleyfool/Klondike,fhchina/Klondike,Stift/Klondike,fhchina/Klondike |
aea0e7d5f61a5fa662586a0e51209a4fc54a3c09 | src/Konsola/Parser/ContextOptionsAttribute.cs | src/Konsola/Parser/ContextOptionsAttribute.cs | using System;
namespace Konsola.Parser
{
/// <summary>
/// Configures the options when parsing args and binding them to a context.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class ContextOptionsAttribute : Attribute
{
/// <summary>
/// Gets or se... | using System;
namespace Konsola.Parser
{
/// <summary>
/// Configures the options when parsing args and binding them to a context.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class ContextOptionsAttribute : Attribute
{
/// <summary>
/// Gets or se... | Add an option to enable handling of help on empty invocations | Add an option to enable handling of help on empty invocations
| C# | mit | mrahhal/Konsola |
5be5ab90180abb1f01418dc96f7b7021fc3ef030 | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cu... | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | Add a safety check for when Authors is null, which shouldn't happen in the first place. Work items: 1727, 1728 | Add a safety check for when Authors is null, which shouldn't happen in the first place. Work items: 1727, 1728
--HG--
branch : 1.6
| C# | apache-2.0 | OneGet/nuget,jmezach/NuGet2,jholovacs/NuGet,chocolatey/nuget-chocolatey,rikoe/nuget,xoofx/NuGet,indsoft/NuGet2,chocolatey/nuget-chocolatey,alluran/node.net,xoofx/NuGet,kumavis/NuGet,rikoe/nuget,xoofx/NuGet,chester89/nugetApi,zskullz/nuget,pratikkagda/nuget,akrisiun/NuGet,pratikkagda/nuget,alluran/node.net,jmezach/NuGet... |
4d3caeb663c66095a249efd9a8fed428b7e0f2ab | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions op... | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
... | Change ModelBuilder to use old EntityFrameworkCore RC1 naming conventions | Change ModelBuilder to use old EntityFrameworkCore RC1 naming conventions
| C# | mit | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu |
bfc2caf2e0b1ccd8e9d510a2956963f1f6c859c2 | src/WebApiTestApplication/Controllers/ThingyController.cs | src/WebApiTestApplication/Controllers/ThingyController.cs | using System.Web.Http;
using Newtonsoft.Json;
namespace WebApiTestApplication.Controllers
{
public class MegaClass : AnotherClass
{
public int Something { get; set; }
}
public class Chain1<T1, T2>
{
public T1 Value11 { get; set; }
public T2 Value12 { get; set; }
}
... | using System.Web.Http;
using Newtonsoft.Json;
namespace WebApiTestApplication.Controllers
{
public class MegaClass : AnotherClass
{
public int Something { get; set; }
}
public class Chain1<T>
{
public T Value { get; set; }
}
public class Chain1<T1, T2>
{
publi... | Add test for generic name collision on frontend | Add test for generic name collision on frontend
| C# | mit | greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript |
f5d89a8db5e4794955d6a94980532e7c93ebbaaa | Windows/Perspex.Direct2D1/Media/GeometryImpl.cs | Windows/Perspex.Direct2D1/Media/GeometryImpl.cs | // -----------------------------------------------------------------------
// <copyright file="GeometryImpl.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Direct... | // -----------------------------------------------------------------------
// <copyright file="GeometryImpl.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Direct... | Fix potential reference after dispose. | Fix potential reference after dispose.
| C# | mit | wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,OronDF343/Avalonia,SuperJMN/Avalonia,kekekeks/Perspex,jazzay/Perspex,AvaloniaUI/Avalonia,kekekeks/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,danwalmsley/Perspex,OronDF343/Avalonia,jkoritzinsky/Avalonia,Super... |
7947c6c6ff2a29760d944dfc10e19b43a3459dc6 | WindowsAzure/Table/Extensions/TypeExtentions.cs | WindowsAzure/Table/Extensions/TypeExtentions.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace WindowsAzure.Table.Extensions
{
internal static class TypeExtentions
{
private static readonly HashSet<Type> _supportedEntityPropertyTypes = new HashSet<Type>
{
typeof(long),
typeof(int),... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace WindowsAzure.Table.Extensions
{
internal static class TypeExtentions
{
private static readonly HashSet<Type> _supportedEntityPropertyTypes = new HashSet<Type>
{
typeof(long),
typeof(int),... | Fix supported enum check in type extentions. | Fix supported enum check in type extentions.
| C# | mit | dtretyakov/WindowsAzure,dtretyakov/WindowsAzure |
88e0178f01f3180b6ad5142dab51c8574c8a073e | resharper/resharper-unity/test/src/AnnotationsLoader.cs | resharper/resharper-unity/test/src/AnnotationsLoader.cs | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations;
using JetBrains.TestFramework.Utils;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Tests
{
[ShellComponent]
public c... | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations;
using JetBrains.TestFramework.Utils;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Tests
{
[ShellComponent]
public c... | Fix annotations loader for tests | Fix annotations loader for tests
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
71f4e60a834021af94bdcf9bbbb4631cc290b8ab | source/Host/Config/Scopes.cs | source/Host/Config/Scopes.cs | using System.Collections.Generic;
using System.Linq;
using Thinktecture.IdentityServer.Core;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Host.Config
{
public class Scopes
{
public static IEnumerable<Scope> Get()
{
return new[]
... | using System.Collections.Generic;
using System.Linq;
using Thinktecture.IdentityServer.Core;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Host.Config
{
public class Scopes
{
public static IEnumerable<Scope> Get()
{
return new[]
... | Add description for roles scope | Add description for roles scope
| C# | bsd-3-clause | maz100/Thinktecture.IdentityServer.v3,tuyndv/IdentityServer3,jackswei/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,angelapper/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,yanjustino/IdentityServer3,huoxudong125/Thinktecture.IdentityServer.v3,tuyndv/IdentityServer3,codeice/IdentityServer3,tonyeung/Identi... |
0852d9adc7264575667f97cf3d58f3d61e0d5a0f | build/version.cake | build/version.cake | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | Revert "Use dot instead of dash to separate build metadata" | Revert "Use dot instead of dash to separate build metadata"
This reverts commit 9567abb6ce15b29cc59ab36c0172d31aa9c661fe.
| C# | mit | ParticularLabs/GitVersion,gep13/GitVersion,dazinator/GitVersion,gep13/GitVersion,GitTools/GitVersion,dazinator/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion |
f26f219e562a7e19c22ca5d20794b5915a106386 | tests/Bugsnag.Tests/Payload/ExceptionTests.cs | tests/Bugsnag.Tests/Payload/ExceptionTests.cs | using System.Linq;
using System.Threading.Tasks;
using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests.Payload
{
public class ExceptionTests
{
[Fact]
public void CorrectNumberOfExceptions()
{
var exception = new System.Exception("oh noes!");
var exceptions = new Exceptions(exception,... | using System.Linq;
using System.Threading.Tasks;
using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests.Payload
{
public class ExceptionTests
{
[Fact]
public void CorrectNumberOfExceptions()
{
var exception = new System.Exception("oh noes!");
var exceptions = new Exceptions(exception,... | Add test that aggregate exception is last | Add test that aggregate exception is last
| C# | mit | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet |
c9e3c484e714dd2eb1f8f6c792fc1c7e8fb715fe | AngleSharp/Css/ValueConverters/FunctionValueConverter.cs | AngleSharp/Css/ValueConverters/FunctionValueConverter.cs | namespace AngleSharp.Css.ValueConverters
{
using System;
using System.Collections.Generic;
using System.Linq;
using AngleSharp.Dom.Css;
using AngleSharp.Parser.Css;
sealed class FunctionValueConverter<T> : IValueConverter<T>
{
readonly String _name;
readonly IValueConverter... | namespace AngleSharp.Css.ValueConverters
{
using System;
using System.Collections.Generic;
using System.Linq;
using AngleSharp.Dom.Css;
using AngleSharp.Parser.Css;
sealed class FunctionValueConverter<T> : IValueConverter<T>
{
readonly String _name;
readonly IValueConverter... | Remove closing bracket from arguments | Remove closing bracket from arguments
| C# | mit | zedr0n/AngleSharp.Local,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl... |
97cafeb38f18c253c9cefd927d63991e06bf2153 | DokanNet.Tests/Properties/AssemblyInfo.cs | DokanNet.Tests/Properties/AssemblyInfo.cs | using System;
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("DokanNet.Tests")]
[a... | using System;
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("DokanNet.Tests")]
[a... | Adjust version number to match DokanNet | Adjust version number to match DokanNet
| C# | mit | viciousviper/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,magol/dokan-dotnet,TrabacchinLuigi/dokan-dotnet |
5640385f480c6bdbca0ba1bbb0fc030c1a552c60 | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | Update the length once during construction | Update the length once during construction
| C# | mit | smoogipoo/osu,NeoAdonis/osu,ppy/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,naoey/osu,naoey/osu,ppy/osu,peppy/osu,ppy/osu,ZLima12/osu,2yangk23/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,NeoA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.