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 |
|---|---|---|---|---|---|---|---|---|---|
0aa12925060a671326ef42fa26ae1f14f78c7ad4 | UnitTestProject1/Assembly.cs | UnitTestProject1/Assembly.cs | using Xunit;
// This is a work-around for #11.
// https://github.com/CXuesong/WikiClientLibrary/issues/11
[assembly:CollectionBehavior(DisableTestParallelization = true)]
| using Xunit;
// This is a work-around for #11.
// https://github.com/CXuesong/WikiClientLibrary/issues/11
// We are using Bot Password on CI, which may naturally evade the issue.
#if ENV_CI_BUILD
[assembly:CollectionBehavior(DisableTestParallelization = true)]
#endif
| Remove DisableTestParallelization on CI due to the same reason. | Remove DisableTestParallelization on CI due to the same reason.
| C# | apache-2.0 | CXuesong/WikiClientLibrary |
2503cb6fd6d9c16f727c7812d412483d931609a6 | src/Diploms.Services/Departments/DepartmentsService.cs | src/Diploms.Services/Departments/DepartmentsService.cs | using System;
using System.Threading.Tasks;
using AutoMapper;
using Diploms.Core;
using Diploms.Dto;
using Diploms.Dto.Departments;
namespace Diploms.Services.Departments
{
public class DepartmentsService
{
private readonly IRepository<Department> _repository;
private readonly IMapper _mapper;... | using System;
using System.Threading.Tasks;
using AutoMapper;
using Diploms.Core;
using Diploms.Dto;
using Diploms.Dto.Departments;
namespace Diploms.Services.Departments
{
public class DepartmentsService : CrudService<Department, DepartmentEditDto, DepartmentEditDto, DepartmentEditDto>
{
public Depart... | Modify DepartmentService to use new CrudService | Modify DepartmentService to use new CrudService
| C# | mit | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs |
4a44b845c12bd01ffb4d60deefb63171dc789d0d | src/Mvc/MvcTemplates/Controllers/LoginController.cs | src/Mvc/MvcTemplates/Controllers/LoginController.cs | using System.Web.Mvc;
using System.Web.Security;
using N2.Templates.Mvc.Models.Parts;
using N2.Templates.Mvc.Models;
using N2.Web;
namespace N2.Templates.Mvc.Controllers
{
[Controls(typeof(LoginItem))]
public class LoginController : TemplatesControllerBase<LoginItem>
{
public override ActionResult Inde... | using System.Web.Mvc;
using System.Web.Security;
using N2.Templates.Mvc.Models.Parts;
using N2.Templates.Mvc.Models;
using N2.Web;
namespace N2.Templates.Mvc.Controllers
{
[Controls(typeof(LoginItem))]
public class LoginController : TemplatesControllerBase<LoginItem>
{
public override ActionResult Inde... | Allow redirect to returnUrl from login part | Allow redirect to returnUrl from login part
| C# | lgpl-2.1 | SntsDev/n2cms,nimore/n2cms,bussemac/n2cms,VoidPointerAB/n2cms,nicklv/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,nimore/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,bussemac/n2cms,nicklv/n2cms,SntsDev/n2cms,nicklv/n2cms,EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,n2cms/n2cms,nimore/n2... |
c0320e2d1665b0fcdb637c6dea5198180480f554 | Assets/Scripts/Projectile.cs | Assets/Scripts/Projectile.cs | using UnityEngine;
using System.Collections;
public class Projectile : MonoBehaviour
{
public float damage = 10;
public float speed = 30;
public Vector3 direction;
// Use this for initialization
void Start()
{
direction = direction.normalized * speed;
}
// Update is called o... | using UnityEngine;
using System.Collections;
public class Projectile : MonoBehaviour
{
public float lifetime = 2;
private float age = 0;
public float damage = 10;
public float speed = 30;
public Vector3 direction;
// Use this for initialization
void Start()
{
direction = dire... | Kill projectiles after 2 seconds | Kill projectiles after 2 seconds
| C# | cc0-1.0 | DonRobo/satanic-buddies |
54632c9feaa8590427cf6d3bd8c3b0b2e00d9fe5 | glib/GLib.cs | glib/GLib.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification. It is h... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
//using GLib;
//using Gtk;
using NDesk.DBus;
using NDesk.GLib;
using org.freedesktop.DBus;
namespace NDesk.DBus
{
//FIXME: this API needs review and de-unixification. It is h... | Support watching of arbitrary connections | Support watching of arbitrary connections
| C# | mit | mono/dbus-sharp-glib,mono/dbus-sharp-glib |
37547667de34ab6d5afc01bb1bcb994afe994ce2 | CefSharp/ILifeSpanHandler.cs | CefSharp/ILifeSpanHandler.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface ILifeSpanHandler
{
bool OnBeforePopup(IWebBrowser browser, string sourceUrl, string targetUr... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface ILifeSpanHandler
{
/// <summary>
/// Called before a popup window is created.
... | Paste in some more CEF docs. | Paste in some more CEF docs.
| C# | bsd-3-clause | ITGlobal/CefSharp,twxstar/CefSharp,dga711/CefSharp,gregmartinhtc/CefSharp,AJDev77/CefSharp,illfang/CefSharp,haozhouxu/CefSharp,NumbersInternational/CefSharp,jamespearce2006/CefSharp,haozhouxu/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,rlmcneary2/CefSharp,dga711/CefSharp,zhangjingpu/CefSharp,wangzheng888... |
f99435ff6a8b80cfac0a89d4a3210338026ff5f8 | Core/Controls/FlatProgressBar.Designer.cs | Core/Controls/FlatProgressBar.Designer.cs | namespace TweetDick.Core.Controls {
partial class FlatProgressBar {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | namespace TweetDick.Core.Controls {
partial class FlatProgressBar {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | Add a null check to FlatProgressBar.brush | Add a null check to FlatProgressBar.brush
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
b4e7b030e6d8b3677929212c9db370ab2b12ecab | src/GoogleMeasurementProtocol/Properties/AssemblyInfo.cs | src/GoogleMeasurementProtocol/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("GoogleMeasurementProtocol")]
[assembly: A... | 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("GoogleMeasurementProtocol")]
[assembly: A... | Update library version to 1.3.6 | Update library version to 1.3.6
| C# | mit | ion-sapoval/google-measurement-protocol-dotnet |
adc2dfa6c6ffecf27ae299d0cecd1e2844d380f3 | osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleLongCombo.cs | osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleLongCombo.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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Tests.Visual;
using osuTK;
namespace osu.Game.Rulesets.Osu.Tests
{
... | // 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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Tests.Visual;
using osuTK;
namespace osu.Game.Rulesets.Osu.Tests
{
... | Fix HitCircleLongCombo test stacking off-screen | Fix HitCircleLongCombo test stacking off-screen
| C# | mit | peppy/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,Useless... |
47f04231af4519dc8a4302263f460b6194dc2bc5 | src/KillrVideo.Host/Config/EnvironmentConfigurationSource.cs | src/KillrVideo.Host/Config/EnvironmentConfigurationSource.cs | using System;
using System.Text.RegularExpressions;
namespace KillrVideo.Host.Config
{
/// <summary>
/// Gets configuration values from environment variables.
/// </summary>
public class EnvironmentConfigurationSource : IHostConfigurationSource
{
private static readonly Regex MatchCaps = n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace KillrVideo.Host.Config
{
/// <summary>
/// Gets configuration values from command line args and environment variables.
/// </summary>
public class EnvironmentConfigurationSource : IHostCo... | Add support for command line arguments to configuration | Add support for command line arguments to configuration
| C# | apache-2.0 | LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp |
6d7ba328ce7a2698a8dbabd32944b19500b11e23 | Harlow/Harlow/VectorPoint.cs | Harlow/Harlow/VectorPoint.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Harlow
{
public class VectorPoint : VectorFeature
{
public VectorPoint(int numOfPoints, ShapeType shapeType) :
base (numOfPoints, shapeType)
{
i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Harlow
{
public class VectorPoint : VectorFeature
{
public VectorPoint(int numOfPoints, ShapeType shapeType) :
base (numOfPoints, shapeType)
{
t... | Remove unnecessary point type check | Remove unnecessary point type check
| C# | mit | layeredio/Harlow,johnvcoleman/Harlow |
ed1019fa48645ad6688eaa267810fcc66f8a8d5c | MonoGameUtils/Properties/AssemblyInfo.cs | MonoGameUtils/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MonoGameUtils")]
[assembly: AssemblyDescri... | 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("MonoGameUtils")]
[assembly: AssemblyDescri... | Increment assembly version for new Nuget build. | Increment assembly version for new Nuget build.
| C# | mit | dneelyep/MonoGameUtils |
abf718242b11519825228a2f6098dff745231608 | osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.cs | osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
using... | Make explicit marker font semi-bold | Make explicit marker font semi-bold
| C# | mit | peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu |
039c3ad1b9bb884620edc6edaef1312ed15866ea | PlaylistGrabber/Downloader.cs | PlaylistGrabber/Downloader.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
namespace PlaylistGrabber
{
public class Downloader
{
public string State { get; private set; }
public int DownloadedFiles { get; private set; }
public int TotalFiles { get; private set; }
pub... | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
namespace PlaylistGrabber
{
public class Downloader
{
public string State { get; private set; }
public int DownloadedFiles { get; private set; }
public int TotalFiles { get; private set; }
pub... | Use new array indexing syntax | Use new array indexing syntax
| C# | mit | jasonracey/PlaylistGrabber |
e7f3941b1b81bfe5940ab0da6297023aa3d762c0 | src/ProjectTemplates/test/AssemblyInfo.AssemblyFixtures.cs | src/ProjectTemplates/test/AssemblyInfo.AssemblyFixtures.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.E2ETesting;
using Microsoft.AspNetCore.Testing;
using Templates.Test.Helpers;
using Xunit;
[assembly: TestFramework("Microso... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.E2ETesting;
using Microsoft.AspNetCore.Testing;
using Templates.Test.Helpers;
using Xunit;
[assembly: TestFramework("Microso... | Revert "Quarantine all ProjectTemplate tests until dotnet new lock issue is resolved." | Revert "Quarantine all ProjectTemplate tests until dotnet new lock issue is resolved."
This reverts commit 9a5d3c7640de12d8f7ecba53e9e49433a4d47588.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
20315077bff953fa40bb9a7fb21d4c094607dc50 | Tests/MatterControl.AutomationTests/OptionsTabTests.cs | Tests/MatterControl.AutomationTests/OptionsTabTests.cs | using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), RunInApplicationDomain]
public class ShowTerminalButtonClickedOpensTerminal
{
[Test, Apartment(A... | using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), RunInApplicationDomain]
public class ShowTerminalButtonClickedOpensTerminal
{
[Test, Apartment(A... | Fix regression due to starting in Part view without printer selection | Fix regression due to starting in Part view without printer selection
| C# | bsd-2-clause | unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterC... |
38d9a1f0dd3db50e555b269b20b32fc9c48604c0 | src/Glimpse.Agent.Connection.Stream/Broker/WebSocketChannelSender.cs | src/Glimpse.Agent.Connection.Stream/Broker/WebSocketChannelSender.cs | using Glimpse.Agent.Connection.Stream.Connection;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class WebSocketChannelSender : IChannelSender
{
private readonly IMessageConverter _messageConverter;
private readonly IStreamHubProxyFactory _streamHubProxyFactory;
... | using Glimpse.Agent.Connection.Stream.Connection;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class WebSocketChannelSender : IChannelSender
{
private readonly IMessageConverter _messageConverter;
private readonly IStreamHubProxyFactory _streamHubProxyFactory;
... | Fix bug where factory name hadn't been udpated | Fix bug where factory name hadn't been udpated
| C# | mit | pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Proto... |
d9194a864a3011cdbd6f42f56cb0c834e2b6a0fd | src/BloomExe/HelpLauncher.cs | src/BloomExe/HelpLauncher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Palaso.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.CHM"));
}
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Palaso.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.chm"));
}
p... | Fix name of help file | Fix name of help file
Linux filenames are case sensitive.
| C# | mit | gmartin7/myBloomFork,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDes... |
35cd6674f62453170861d6dab2f738fbb66932ba | osu.Game.Rulesets.Catch/Objects/Drawables/DrawableTinyDroplet.cs | osu.Game.Rulesets.Catch/Objects/Drawables/DrawableTinyDroplet.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.Rulesets.Catch.Objects.Drawables
{
public class DrawableTinyDroplet : DrawableDroplet
{
public Drawab... | // 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.Rulesets.Catch.Objects.Drawables
{
public class DrawableTinyDroplet : DrawableDroplet
{
protected override float ScaleFactor => base.S... | Fix tiny droplet scale factor | Fix tiny droplet scale factor
| C# | mit | smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu |
9435f1255e42f62eb6c904b74521d204dc3559e3 | Assets/Fungus/Scripts/View.cs | Assets/Fungus/Scripts/View.cs | using UnityEngine;
using System.Collections;
namespace Fungus
{
// Defines a camera view point.
// The position and rotation are specified using the game object's transform, so this class
// only specifies the ortographic view size.
[ExecuteInEditMode]
public class View : MonoBehaviour
{
public float viewSize... | using UnityEngine;
using System.Collections;
namespace Fungus
{
// Defines a camera view point.
// The position and rotation are specified using the game object's transform, so this class
// only specifies the ortographic view size.
[ExecuteInEditMode]
public class View : MonoBehaviour
{
public float viewSize... | Tidy up Start() function comment | Tidy up Start() function comment
| C# | mit | Nilihum/fungus,lealeelu/Fungus,snozbot/fungus,kdoore/Fungus,FungusGames/Fungus,RonanPearce/Fungus,tapiralec/Fungus,inarizushi/Fungus |
c1ec20a1e08bc528aa60a5c6207bb59cdf53f59a | src/EnjoyCQRS/Attributes/ProjectionProviderAttribute.cs | src/EnjoyCQRS/Attributes/ProjectionProviderAttribute.cs | using System;
namespace EnjoyCQRS.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ProjectionProviderAttribute : Attribute
{
public Type Provider { get; }
public ProjectionProviderAttribute(Type provider)
{
Provider = provider;
... | using System;
using System.Reflection;
using EnjoyCQRS.EventSource.Projections;
namespace EnjoyCQRS.Attributes
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ProjectionProviderAttribute : Attribute
{
public Type Provider { get; }
public ProjectionProviderAtt... | Check if argument in projection provider attribute is a valid type | Check if argument in projection provider attribute is a valid type
| C# | mit | ircnelson/enjoy.cqrs,ircnelson/enjoy.cqrs |
a4927637feda932bc6e26b9a613645cda628bf17 | src/Marten.Testing/duplicate_fields_in_table_and_upsert_Tests.cs | src/Marten.Testing/duplicate_fields_in_table_and_upsert_Tests.cs | using Baseline;
using Marten.Schema;
using Marten.Services;
using Marten.Testing.Documents;
using Shouldly;
using Xunit;
namespace Marten.Testing
{
public class duplicate_fields_in_table_and_upsert_Tests : IntegratedFixture
{
[Fact]
public void end_to_end()
{
theStore.Stora... | using Baseline;
using Marten.Schema;
using Marten.Services;
using Marten.Testing.Documents;
using Shouldly;
using Xunit;
namespace Marten.Testing
{
public class duplicate_fields_in_table_and_upsert_Tests : IntegratedFixture
{
[Fact]
public void end_to_end()
{
theStore.Stora... | Remove changes done to unrelated unit test | Remove changes done to unrelated unit test
| C# | mit | mysticmind/marten,ericgreenmix/marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten,mysticmind/marten,mdissel/Marten,mdissel/Marten,ericgreenmix/marten,mysticmind/marten,JasperFx/Marten,JasperFx/Marten,ericgreenmix/marten |
af825511fa6eab81f8a1128e1ae94b4d349b935f | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | src/UnitTests/GitHub.Api/SimpleApiClientFactoryTests.cs | using System;
using GitHub.Api;
using GitHub.Primitives;
using GitHub.Services;
using GitHub.VisualStudio;
using NSubstitute;
using Xunit;
public class SimpleApiClientFactoryTests
{
public class TheCreateMethod
{
[Fact]
public void CreatesNewInstanceOfSimpleApiClient()
{
va... | using System;
using GitHub.Api;
using GitHub.Primitives;
using GitHub.Services;
using GitHub.VisualStudio;
using NSubstitute;
using Xunit;
public class SimpleApiClientFactoryTests
{
public class TheCreateMethod
{
[Fact]
public void CreatesNewInstanceOfSimpleApiClient()
{
co... | Fix more race conditions between tests | Fix more race conditions between tests
| C# | mit | HeadhunterXamd/VisualStudio,github/VisualStudio,github/VisualStudio,github/VisualStudio,luizbon/VisualStudio |
9910749ee24c0c163c9a5c346ff9951648139c57 | Assets/Scripts/PlayerController.cs | Assets/Scripts/PlayerController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
// Update is called before rendering a frame
void Update ()
{
}
// FixedUpdate is called just before performing any physics calculations
void FixedUpdate ()
{
}
}
| Replace default script methods with Update & FixedUpdate methods | Replace default script methods with Update & FixedUpdate methods
| C# | mit | compumike08/Roll-a-Ball |
c9f38dfc9a8a26876b9e2b2e989f4ec0cdad89c7 | FactorioModBuilder/Models/ProjectItems/Prototype/Recipe.cs | FactorioModBuilder/Models/ProjectItems/Prototype/Recipe.cs | using FactorioModBuilder.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactorioModBuilder.Models.ProjectItems.Prototype
{
public class Recipe : TreeItem<Recipe>
{
public bool Enabled { get; set; }
publ... | using FactorioModBuilder.Models.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FactorioModBuilder.Models.ProjectItems.Prototype
{
public class Recipe : TreeItem<Recipe>
{
public bool Enabled { get; set; }
publ... | Set default result count of a recipe to 1 | Set default result count of a recipe to 1
| C# | mit | kmclarnon/FactorioModBuilder |
c2d4802dd869754ebda15914d52011000b9437ea | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("HacknetPathfinder")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("HacknetPathfinder")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[... | Update Assembly properties to version 2.0 | Update Assembly properties to version 2.0
| C# | mit | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Spartan322/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Spartan322/Hacknet-Pathfinder |
f8f9cf3b394d2c0039ed0d69e2c3a9c1e3f905bb | source/Glimpse.WebForms.WingTip.Sample/Default.aspx.cs | source/Glimpse.WebForms.WingTip.Sample/Default.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WingtipToys
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
private void Page... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WingtipToys
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
HttpContext.Current.Trace... | Add test trace output to webforms page | Add test trace output to webforms page
| C# | apache-2.0 | codevlabs/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,rho24/Glimpse,sorenhl/Glimpse,flcdrg/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,Glimpse/Glimpse,codevlabs/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,Glimpse/Glimpse,elkingtonmcb/Gli... |
9280a78a61ed60dbba16ac3620d8b4d6e5703df2 | Openpay/Properties/AssemblyInfo.cs | Openpay/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("Op... | 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("Op... | Update version from 1.0.0.1 to 2.0.0.0 | Update version from 1.0.0.1 to 2.0.0.0
| C# | apache-2.0 | open-pay/openpay-dotnet |
814998f076cbdc2d81995d527ee655afa8880a78 | Utilities/Extensions/Array.cs | Utilities/Extensions/Array.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System
{
public static class ArrayExtension
{
public static int IndexOf<T>(this T[] me, T item)
{
for (int i = 0; i < me.Length; i++)
if (me[i].Equals(item))
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System
{
public static class ArrayExtension
{
public static int IndexOf<T>(this T[] me, T item)
{
for (int i = 0; i < me.Length; i++)
if (me[i]?.Equals(item) == true)
... | Fix a bug in array extension | Fix a bug in array extension
| C# | mit | jbatonnet/shared |
c943c5b87fc0f22b66b4b9172a4e0ef5a5c575f5 | SketchSolveC#/Parameter.cs | SketchSolveC#/Parameter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SketchSolve
{
public class Parameter
{
public double Value = 0;
// true if the parameter is free to be adjusted by the
// solver
public bool free;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SketchSolve
{
public class Parameter
{
public double Value = 0;
public double Max = 1000;
public double Min = -1000;
// true if the parameter is free to... | Simplify usage of the solver | Simplify usage of the solver | C# | bsd-3-clause | bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET |
b9a03df88b3d9795fda55090417601df392dcfd0 | C#/Program.cs | C#/Program.cs | using System.Xml;
using PropertyFeedSampleApp.PropertyFeed;
namespace PropertyFeedSampleApp
{
class Program
{
static void Main(string[] args)
{
const string userName = "VACATION11";
const string password = "f33der1!";
using (var client = new DataReceiverSer... | using System.Xml;
using PropertyFeedSampleApp.PropertyFeed;
namespace PropertyFeedSampleApp
{
class Program
{
static void Main(string[] args)
{
//You should have been provided values for the following
const string userName = "YOUR_USER_NAME";
const string pa... | Put in placeholders instead of a real username and password. | Put in placeholders instead of a real username and password.
| C# | mit | LeisureLink/Property-Feed-Samples |
9b4268ea0316e697a3c5b8aae93770ea5219982b | src/Owin.Security.Keycloak/Models/AuthorizationResponse.cs | src/Owin.Security.Keycloak/Models/AuthorizationResponse.cs | using System.Collections.Specialized;
using System.Web;
using Microsoft.IdentityModel.Protocols;
namespace Owin.Security.Keycloak.Models
{
internal class AuthorizationResponse : OidcBaseResponse
{
public string Code { get; private set; }
public string State { get; private set; }
publi... | using System;
using System.Collections.Specialized;
using System.Web;
using Microsoft.IdentityModel.Protocols;
namespace Owin.Security.Keycloak.Models
{
internal class AuthorizationResponse : OidcBaseResponse
{
public string Code { get; private set; }
public string State { get; private set; }
... | Add error handling for auth response | Add error handling for auth response
| C# | mit | dylanplecki/BasicOidcAuthentication,dylanplecki/KeycloakOwinAuthentication,joelnet/KeycloakOwinAuthentication |
fc78413fecbf35524c29a971e19400ea63a2568a | src/Package/Impl/ProjectSystem/RMsBuildFileSystemFilter.cs | src/Package/Impl/ProjectSystem/RMsBuildFileSystemFilter.cs | using System;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.IO;
namespace Microsoft.VisualStudio.R.Package.ProjectSystem
{
internal sealed class RMsBuildFileSystemFilter : IMsBuildFileSystemFilter
{
public bool IsFileAllowed(string relativePath, FileAttributes a... | using System;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.IO;
namespace Microsoft.VisualStudio.R.Package.ProjectSystem
{
internal sealed class RMsBuildFileSystemFilter : IMsBuildFileSystemFilter
{
public bool IsFileAllowed(string relativePath, FileAttributes a... | Hide .sln file from project tree | Hide .sln file from project tree
| C# | mit | AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhi... |
ee6f3527993d497e50b3136d80b9d5707358a12e | build/scripts/utilities.cake | build/scripts/utilities.cake | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | Fix infinite loop when retrying a failing build number | Fix infinite loop when retrying a failing build number
| C# | mit | Abc-Arbitrage/zerio |
58d934af2a9e13ade955adb3fa2cb4cc3d3c0048 | Web/ContainerConfiguration.cs | Web/ContainerConfiguration.cs | namespace OctoHook
{
using Autofac;
using Autofac.Extras.CommonServiceLocator;
using Autofac.Integration.WebApi;
using Microsoft.Practices.ServiceLocation;
using OctoHook.CommonComposition;
using Octokit;
using Octokit.Internal;
using System.Configuration;
using System.Reflection;
using System.Web;
using Sy... | namespace OctoHook
{
using Autofac;
using Autofac.Extras.CommonServiceLocator;
using Autofac.Integration.WebApi;
using Microsoft.Practices.ServiceLocation;
using OctoHook.CommonComposition;
using Octokit;
using Octokit.Internal;
using System.Configuration;
using System.Reflection;
using System.Web;
using Sy... | Fix improper container configuration for service locator | Fix improper container configuration for service locator
| C# | apache-2.0 | LeCantaloop/OctoHook,kzu/OctoHook |
4ba125c396881fb16f0ed85e6035fac7ac0c6466 | src/AppHarbor.Tests/ApplicationConfigurationTest.cs | src/AppHarbor.Tests/ApplicationConfigurationTest.cs | using System.IO;
using System.Text;
using Moq;
using Xunit;
namespace AppHarbor.Tests
{
public class ApplicationConfigurationTest
{
public static string ConfigurationFile = Path.GetFullPath(".appharbor");
[Fact]
public void ShouldReturnApplicationIdIfConfigurationFileExists()
{
var fileSystem = new Mock... | using System.IO;
using System.Text;
using Moq;
using Xunit;
namespace AppHarbor.Tests
{
public class ApplicationConfigurationTest
{
public static string ConfigurationFile = Path.GetFullPath(".appharbor");
[Fact]
public void ShouldReturnApplicationIdIfConfigurationFileExists()
{
var fileSystem = new Mock... | Verify exception message when application is not configured | Verify exception message when application is not configured
| C# | mit | appharbor/appharbor-cli |
4279da2437e8b17330c17f5200e972135f0b4361 | src/PatchKit.Api/ApiConnectionSettings.cs | src/PatchKit.Api/ApiConnectionSettings.cs | using System;
using JetBrains.Annotations;
namespace PatchKit.Api
{
/// <summary>
/// <see cref="ApiConnection" /> settings.
/// </summary>
[Serializable]
public struct ApiConnectionSettings
{
/// <summary>
/// Returns default settings.
/// </summary>
public sta... | using System;
using JetBrains.Annotations;
namespace PatchKit.Api
{
/// <summary>
/// <see cref="ApiConnection" /> settings.
/// </summary>
[Serializable]
public struct ApiConnectionSettings
{
/// <summary>
/// Returns default settings.
/// </summary>
public sta... | Update default API connection address | Update default API connection address
| C# | mit | patchkit-net/patchkit-library-dotnet,patchkit-net/patchkit-library-dotnet |
f3968fb86e5ff91397e9f8a42ebfca73b1836b19 | Wox.Core/i18n/AvailableLanguages.cs | Wox.Core/i18n/AvailableLanguages.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Wox.Core.i18n
{
internal static class AvailableLanguages
{
public static Language English = new Language("en", "English");
public static Language Chinese = new Language("zh-cn", "中文");
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Wox.Core.i18n
{
internal static class AvailableLanguages
{
public static Language English = new Language("en", "English");
public static Language Chinese = new Language("zh-cn", "中文");
publi... | Change Russian to Русский for the language selector | Change Russian to Русский for the language selector
| C# | mit | zlphoenix/Wox,AlexCaranha/Wox,mika76/Wox,sanbinabu/Wox,EmuxEvans/Wox,mika76/Wox,JohnTheGr8/Wox,vebin/Wox,kdar/Wox,dstiert/Wox,EmuxEvans/Wox,18098924759/Wox,18098924759/Wox,dstiert/Wox,jondaniels/Wox,yozora-hitagi/Saber,JohnTheGr8/Wox,AlexCaranha/Wox,EmuxEvans/Wox,kayone/Wox,kdar/Wox,kdar/Wox,sanbinabu/Wox,jondaniels/Wo... |
3e1b3c2e0da7dc99185569f3d047ff750f345389 | src/GlobalExceptionHandler/WebApi/WebApiExceptionHandlingExtension.cs | src/GlobalExceptionHandler/WebApi/WebApiExceptionHandlingExtension.cs | using System;
using Microsoft.AspNetCore.Builder;
namespace GlobalExceptionHandler.WebApi
{
public static class WebApiExceptionHandlingExtensions
{
[Obsolete("UseWebApiGlobalExceptionHandler is obsolete, use app.UseExceptionHandler().WithConventions(..) instead", true)]
public static IApplicat... | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace GlobalExceptionHandler.WebApi
{
public static class WebApiExceptionHandlingExtensions
{
[Obsolete("UseWebApiGlobalExceptionHandler... | Add ability to set loggerFactory for the ExceptionHandlerMiddleware | Add ability to set loggerFactory for the ExceptionHandlerMiddleware
| C# | mit | JosephWoodward/GlobalExceptionHandlerDotNet,JosephWoodward/GlobalExceptionHandlerDotNet |
ef024b404c8dd4355b73023023b7c699ac34af78 | AngleSharp.Scripting.CSharp.Tests/ConversionTests.cs | AngleSharp.Scripting.CSharp.Tests/ConversionTests.cs | namespace AngleSharp.Scripting.CSharp.Tests
{
using NUnit.Framework;
using System;
using System.Threading.Tasks;
[TestFixture]
public class ConversionTests
{
[Test]
[ExpectedException(typeof(ArgumentNullException))]
public void ConvertCurrentDocumentOfFreshBrowsingConte... | namespace AngleSharp.Scripting.CSharp.Tests
{
using NUnit.Framework;
using System;
using System.Threading.Tasks;
[TestFixture]
public class ConversionTests
{
[Test]
[ExpectedException(typeof(ArgumentNullException))]
public void ConvertCurrentDocumentOfFreshBrowsingConte... | Test for conversion to dynamic objects again | Test for conversion to dynamic objects again
| C# | mit | AngleSharp/AngleSharp.Scripting,AngleSharp/AngleSharp.Scripting |
a39c4147fde774439ff94e1fd5696d7efd4e0304 | Source/ZXing.Net.Mobile.Forms.WindowsPhone/ZXingScannerViewRenderer.cs | Source/ZXing.Net.Mobile.Forms.WindowsPhone/ZXingScannerViewRenderer.cs | using System;
using Xamarin.Forms;
using ZXing.Net.Mobile.Forms;
using System.ComponentModel;
using System.Reflection;
using Xamarin.Forms.Platform.WinPhone;
using ZXing.Net.Mobile.Forms.WindowsPhone;
[assembly: ExportRenderer(typeof(ZXingScannerView), typeof(ZXingScannerViewRenderer))]
namespace ZXing.Net.Mobile.For... | using System;
using Xamarin.Forms;
using ZXing.Net.Mobile.Forms;
using System.ComponentModel;
using System.Reflection;
using Xamarin.Forms.Platform.WinPhone;
using ZXing.Net.Mobile.Forms.WindowsPhone;
[assembly: ExportRenderer(typeof(ZXingScannerView), typeof(ZXingScannerViewRenderer))]
namespace ZXing.Net.Mobile.For... | Fix bugs in windows phone forms renderer | Fix bugs in windows phone forms renderer
| C# | apache-2.0 | Redth/ZXing.Net.Mobile,syphe/ZXing.Net.Mobile |
5f4d2611a8bcc57e862c3a4e3378511a0dffc8dd | Core/OfficeDevPnP.Core/Extensions/StreamExtensions.cs | Core/OfficeDevPnP.Core/Extensions/StreamExtensions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Extensions
{
public static class StreamExtensions
{
public static MemoryStream ToMemoryStream(this Stream source)
{
var s... | using System.IO;
namespace OfficeDevPnP.Core.Extensions
{
public static class StreamExtensions
{
public static MemoryStream ToMemoryStream(this Stream source)
{
var stream = source as MemoryStream;
if (stream != null) return stream;
var target = new MemorySt... | Set position in MemoryStream to 0, to ensure it can be read from later. | Set position in MemoryStream to 0, to ensure it can be read from later.
| C# | mit | rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core |
8afa965f43bd44e7143efa9da68d47fd433a881a | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | using System;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web.Mvc;
using Microsoft.Azure;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionR... | using System;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web.Mvc;
using Microsoft.Azure;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionR... | Remove cert-test action to help diagnose issues in azure | Remove cert-test action to help diagnose issues in azure
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
e68f2fc196bdfbafabc51e14dec5cdcd7b52d522 | Source/Data/App.Data/Migrations/Configuration.cs | Source/Data/App.Data/Migrations/Configuration.cs | namespace App.Data.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : DbMigrationsConfiguration<AppDbContext>
{
public Configuration()
{
this.AutomaticMigrationsEnabled = true;
this.AutomaticMigrationDataLossAllowed = true; // TODO:... | namespace App.Data.Migrations
{
using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using Microsoft.AspNet.Identity;
using App.Data.Models;
public sealed class Configuration : DbMigrationsConfiguration<AppDbContext>
{
public ... | Add seed methods with test data | Add seed methods with test data
| C# | mit | unbelt/StartApp,unbelt/StartApp,unbelt/StartApp,unbelt/StartApp |
503c83c63c59abb4e5fb350863cc064bc172929b | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | Create server side API for single multiple answer question | Create server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
5dae43fa9b91cef5238b6159a34342e603681716 | src/Conreign.Server/Gameplay/Validators/LaunchFleetValidator.cs | src/Conreign.Server/Gameplay/Validators/LaunchFleetValidator.cs | using System;
using Conreign.Contracts.Gameplay.Data;
using Conreign.Core;
using FluentValidation;
namespace Conreign.Server.Gameplay.Validators
{
internal class LaunchFleetValidator : AbstractValidator<FleetData>
{
private readonly Map _map;
private readonly Guid _senderId;
public La... | using System;
using Conreign.Contracts.Gameplay.Data;
using Conreign.Core;
using FluentValidation;
namespace Conreign.Server.Gameplay.Validators
{
internal class LaunchFleetValidator : AbstractValidator<FleetData>
{
private readonly Map _map;
private readonly Guid _senderId;
public La... | Fix launch fleet command validator | Fix launch fleet command validator
| C# | mit | smolyakoff/conreign,smolyakoff/conreign,smolyakoff/conreign |
19c09240e98ed7b7a55462fa4a81623f5762d127 | Assets/Scripts/RoomDetails.cs | Assets/Scripts/RoomDetails.cs | using System.Collections.Generic;
using UnityEngine;
public class RoomDetails : MonoBehaviour {
public int HorizontalSize;
public int VerticalSize;
private List<GameObject> Doors;
void Start() {
int doorIndex = 0;
for(int i = 0; i < transform.childCount; i++) {
GameObject... | using System.Collections.Generic;
using UnityEngine;
public class RoomDetails : MonoBehaviour {
public int HorizontalSize;
public int VerticalSize;
public List<GameObject> Doors;
void Start() {
int doorIndex = 0;
for(int i = 0; i < transform.childCount; i++) {
GameObject ... | Revert "make Doors list private, add getter" | Revert "make Doors list private, add getter"
This reverts commit 9992d623e88b818474e937037ef43e1610a3204c.
| C# | mit | virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016 |
0540539ce2b6655ff0a627963ccdc3666be2d655 | test/EntryPointTests/AppOptionModels/HelpWithRequiredArgsModel.cs | test/EntryPointTests/AppOptionModels/HelpWithRequiredArgsModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint;
using EntryPointTests.Helpers;
namespace EntryPointTests.AppOptionModels {
public class HelpWithRequiredArgsModel : BaseCliArguments {
public HelpWithRequiredArgsModel() : base("APP_NAME") {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint;
using EntryPointTests.Helpers;
namespace EntryPointTests.AppOptionModels {
public class HelpWithRequiredArgsModel : BaseCliArguments {
public HelpWithRequiredArgsModel() : base("APP_NAME") {... | Add back missing OnHelpInvoked implementation which was removed | Add back missing OnHelpInvoked implementation which was removed
| C# | mit | Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint |
d20c77eca3a96a2e3c3b13388362a39ff9530e20 | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyPendingReview.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyPendingReview.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | Change link to point to recruit dashboard | [CON-1436] Change link to point to recruit dashboard
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
ca797359244af3ee94c45820146109b4edaf9752 | src/Server/Bit.Data.EntityFrameworkCore/Extensions/MigrationBuilderExtensions.cs | src/Server/Bit.Data.EntityFrameworkCore/Extensions/MigrationBuilderExtensions.cs | using Bit.Data.Implementations;
using System;
namespace Microsoft.EntityFrameworkCore.Migrations
{
public static class MigrationBuilderExtensions
{
/// <summary>
/// <seealso cref="SqlServerJsonLogStore"/>
/// </summary>
public static void CreateSqlServerJsonLogStoreTable(this ... | using Bit.Data.Implementations;
using System;
using System.IO;
using System.Reflection;
namespace Microsoft.EntityFrameworkCore.Migrations
{
public static class MigrationBuilderExtensions
{
/// <summary>
/// <seealso cref="SqlServerJsonLogStore"/>
/// </summary>
public static v... | Create hangfire sql objects extension method for ef core migration builder | Create hangfire sql objects extension method for ef core migration builder
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
34d2846051d63d08e419d9f9bf608adc2d1e10a1 | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | Update file version to 3.0.0.0 | Update file version to 3.0.0.0
| C# | mit | amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps |
9a77b2f23384a3e90a120872366be06915cb9234 | Sample/tetrisds/store.ashx.cs | Sample/tetrisds/store.ashx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GamestatsBase;
namespace Sample.tetrisds
{
/// <summary>
/// Summary description for store
/// </summary>
public class store : GamestatsHandler
{
public store() : base("Wo3vqrDoL56sAdveYeC1", 0x00000... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GamestatsBase;
namespace Sample.tetrisds
{
/// <summary>
/// Summary description for store
/// </summary>
public class store : GamestatsHandler
{
public store() : base("Wo3vqrDoL56sAdveYeC1", 0x00000... | Store Tetris DS player name as string. | Store Tetris DS player name as string.
| C# | mpl-2.0 | mm201/GamestatsBase |
cf5b9352579c4e858008da35d351d12cb5130471 | Source/TRex.Metadata/Extensions/ClientTriggerCallbackExtensions.cs | Source/TRex.Metadata/Extensions/ClientTriggerCallbackExtensions.cs | using Microsoft.Azure.AppService.ApiApps.Service;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TRex.Extensions
{
public static class ClientTriggerCallbackExtensions
{
/// <summary>
/// Invokes the callbac... | using Microsoft.Azure.AppService.ApiApps.Service;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TRex.Extensions
{
public static class ClientTriggerCallbackExtensions
{
/// <summary>
/// Invokes the callbac... | Configure await false to remove deadlocks | Configure await false to remove deadlocks | C# | mit | nihaue/TRex,nihaue/TRex,nihaue/TRex |
3718c31126cc1316d777f1646a6dbd0ec305cce6 | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | using System;
using EvilDICOM.Core.Enums;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
Console.Write(
... | using System;
using EvilDICOM.Core.Enums;
using EvilDICOM.Core.Logging;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
... | Write to log instead of console | Write to log instead of console
| C# | mit | cureos/Evil-DICOM |
8d9f1b9cf0a416c77a68695247963e1d7ff3adcf | OOP/Homeworks/ExtensionMethodsDelegatesLambdaLINQ/StudentsTask/Student.cs | OOP/Homeworks/ExtensionMethodsDelegatesLambdaLINQ/StudentsTask/Student.cs | namespace StudentsTask
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Student
{
public const int MinAgeOfStudent = 6;
private string firstName;
private string lastName;
private int age;
public Student(string initialFirstN... | // Problem 3. First before last
// Write a method that from a given array of students finds all students whose first name is before its last name alphabetically.
// Use LINQ query operators.
// Problem 4. Age range
// Write a LINQ query that finds the first name and last name of all students with age between 1... | Update Problems: 3 - 5 | Update Problems: 3 - 5
| C# | mit | zhenyaracheva/TelerikAcademy,zhenyaracheva/TelerikAcademy,zhenyaracheva/TelerikAcademy |
bafedf269010fee5990dcf1f9e905258f6ca2419 | src/Glimpse.Agent.AspNet/Internal/Inspectors/AgentStartupWebDiagnosticsInspector.cs | src/Glimpse.Agent.AspNet/Internal/Inspectors/AgentStartupWebDiagnosticsInspector.cs | using System.Diagnostics;
using Glimpse.Agent;
using Glimpse.Agent.Configuration;
using Glimpse.Initialization;
using Microsoft.Extensions.DependencyInjection;
namespace Glimpse.Agent.Internal.Inspectors.Mvc
{
public class AgentStartupWebDiagnosticsInspector : IAgentStartup
{
public AgentStartupWebDia... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Glimpse.Agent;
using Glimpse.Agent.Configuration;
using Glimpse.Initialization;
using Microsoft.Extensions.DependencyInjection;
namespace Glimpse.Agent.Internal.Inspectors.Mvc
{
public class AgentStartupWebDiagnosticsInspector : IAgen... | Update to support EF container isolation issue | Update to support EF container isolation issue
| C# | mit | Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype |
d1e438449085aa2c276b3090a0f6d05b5d35694d | Nop.Plugin.Api/IdentityServer/Middlewares/IdentityServerScopeParameterMiddleware.cs | Nop.Plugin.Api/IdentityServer/Middlewares/IdentityServerScopeParameterMiddleware.cs | namespace Nop.Plugin.Api.IdentityServer.Middlewares
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.Extensions.Primitives;
public class IdentityServerScopeParameterMid... | namespace Nop.Plugin.Api.IdentityServer.Middlewares
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.Extensions.Primitives;
public class IdentityServerScopeParameterMid... | Make sure we always add our nop_api scope in order for the token to have access to the resources. Also make sure we always add offline_access scope as it is required by the IdentityServer. This way even if empty scope is passed i.e if using Postman the scope is empty, we still can obtain tokens with the correct scope. ... | Make sure we always add our nop_api scope in order for the token to have access to the resources. Also make sure we always add offline_access scope as it is required by the IdentityServer.
This way even if empty scope is passed i.e if using Postman the scope is empty, we still can obtain tokens with the correct scope. ... | C# | mit | SevenSpikes/api-plugin-for-nopcommerce,SevenSpikes/api-plugin-for-nopcommerce |
18096490b6c16ca22f1de0022f4047a12d22b830 | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.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 OpenTK;
using OpenTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.F... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.F... | Add support for followpoint skinning | Add support for followpoint skinning
| C# | mit | naoey/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,johnneijzen/osu,ZLima12/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,johnneijzen/osu,EVAST9919/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,naoey/osu,... |
be831292e9237af383b4f37d841dfef05fb2f6fb | CertiPay.Common/Utilities.cs | CertiPay.Common/Utilities.cs | namespace CertiPay.Common
{
using System;
using System.Linq;
using System.Reflection;
using System.Transactions;
public static class Utilities
{
/// <summary>
/// Starts a new transaction scope with the given isolation level
/// </summary>
/// <returns></returns... | namespace CertiPay.Common
{
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Transactions;
public static class Utilities
{
/// <summary>
/// Starts a new transaction scope with the given isolation level
/// </summary>
/... | Add utility method for removing invalid filename characters | Add utility method for removing invalid filename characters
| C# | mit | mattgwagner/CertiPay.Common |
c95faabf63f23f2a7c085d972cf32d3af8e9500d | src/Rainbow/Diff/Fields/XmlComparison.cs | src/Rainbow/Diff/Fields/XmlComparison.cs | using System;
using System.Xml;
using System.Xml.Linq;
using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class XmlComparison : FieldTypeBasedComparison
{
public override bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (string.IsNullOrWhiteSpace(field1.Value) || string.IsNullOrWhi... | using System;
using System.Xml;
using System.Xml.Linq;
using Rainbow.Model;
namespace Rainbow.Diff.Fields
{
public class XmlComparison : FieldTypeBasedComparison
{
public override bool AreEqual(IItemFieldValue field1, IItemFieldValue field2)
{
if (string.IsNullOrWhiteSpace(field1.Value) && string.IsNullOrWhi... | Fix consistent updating of layout fields if both sides have a significant, but blank value (e.g. certain core db items) | Fix consistent updating of layout fields if both sides have a significant, but blank value (e.g. certain core db items)
| C# | mit | kamsar/Rainbow |
68163e48173337a8c72e8e00b26b8b590d1e680d | src/VisualStudio/IntegrationTest/IntegrationTests/VisualBasic/BasicGoToImplementation.cs | src/VisualStudio/IntegrationTest/IntegrationTests/VisualBasic/BasicGoToImplementation.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;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using Roslyn.Test.Utilities;
using Roslyn.VisualStudio.IntegrationTests... | // 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;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
using ProjectUtils = Microsof... | Fix up the VB side | Fix up the VB side
| C# | mit | xasx/roslyn,weltkante/roslyn,brettfo/roslyn,genlu/roslyn,stephentoub/roslyn,weltkante/roslyn,pdelvo/roslyn,OmarTawfik/roslyn,heejaechang/roslyn,Giftednewt/roslyn,ErikSchierboom/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,akrisiun/roslyn,davkean/roslyn,paulvanbrenk/roslyn,AlekseyTs/roslyn,MattWinds... |
21d02799385f7739626a1844731b618fc3723f80 | src/NJsonSchema.CodeGeneration.Tests/TypeScript/NullabilityTests.cs | src/NJsonSchema.CodeGeneration.Tests/TypeScript/NullabilityTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NJsonSchema.CodeGeneration.Tests.Models;
using NJsonSchema.CodeGeneration.TypeScript;
using NJsonSchema.Generation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NJsonSchema.CodeGe... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NJsonSchema.CodeGeneration.Tests.Models;
using NJsonSchema.CodeGeneration.TypeScript;
using NJsonSchema.Generation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NJsonSchema.CodeGe... | Fix for test from last commit. | Fix for test from last commit.
| C# | mit | RSuter/NJsonSchema,NJsonSchema/NJsonSchema |
932becc4b227ff2eef4419be68a16fae5151888e | osu.Game/Overlays/Comments/CommentMarkdownContainer.cs | osu.Game/Overlays/Comments/CommentMarkdownContainer.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.
#nullable disable
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Graphics.Containers.Markdown;
nam... | // 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.
#nullable disable
using Markdig.Syntax;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Graphics.Containers.Markdown;
namespace osu.Game.Overlays.Comme... | Remove `CommentMarkdownTextFlowContainer` and rather use base-class `OsuMarkdownTextFlowContainer` | Remove `CommentMarkdownTextFlowContainer` and rather use base-class `OsuMarkdownTextFlowContainer`
| C# | mit | peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu |
8a34a4b39bc6fa2ab42e382d9766173d6677e6f9 | VotingApplication/VotingApplication.Web/Api/Controllers/PollTokenController.cs | VotingApplication/VotingApplication.Web/Api/Controllers/PollTokenController.cs | using System.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using VotingApplication.Data.Context;
using VotingApplication.Data.Model;
using VotingApplication.Web.Api.Filters;
using VotingApplication.Web.Api.Models.DBViewModels;... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using VotingApplication.Data.Context;
using VotingApplication.Data.Model;
namespace VotingApplication.Web.Api.Controllers.API_Controllers
{
public class PollTokenController : WebApiController
{
... | Set new manage Guid when ballots are created | Set new manage Guid when ballots are created
| C# | apache-2.0 | Generic-Voting-Application/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-applicati... |
36283ad654d4d56d39243759c4630e1bf45294c1 | SampleApplication/Program.cs | SampleApplication/Program.cs | using System;
using Microsoft.SPOT;
using MicroTweet;
using System.Net;
using System.Threading;
namespace SampleApplication
{
public class Program
{
public static void Main()
{
// Wait for DHCP
while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any)
T... | using System;
using Microsoft.SPOT;
using MicroTweet;
using System.Net;
using System.Threading;
namespace SampleApplication
{
public class Program
{
public static void Main()
{
// Wait for DHCP
while (IPAddress.GetDefaultLocalAddress() == IPAddress.Any)
T... | Update the sample application to retrieve the current time via SNTP | Update the sample application to retrieve the current time via SNTP
This is necessary since Twitter OAuth requests require a valid timestamp.
| C# | apache-2.0 | misenhower/MicroTweet |
56a9b0a3a8a628327f8d21ed0877410f9ae8c39f | Source/GlobalAssemblyInfo.cs | Source/GlobalAssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// -------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// -------------------------------------------------------------------------... | Change repository version to "0.0.0-alpha". The version numbers are updated by the build script (appveyor.yml). | Change repository version to "0.0.0-alpha". The version numbers are updated by the build script (appveyor.yml).
| C# | mit | Jonarw/oxyplot,DotNetDoctor/oxyplot,mattleibow/oxyplot,br111an/oxyplot,shoelzer/oxyplot,BRER-TECH/oxyplot,zur003/oxyplot,TheAlmightyBob/oxyplot,Isolocis/oxyplot,Sbosanquet/oxyplot,as-zhuravlev/oxyplot_wpf_fork,jeremyiverson/oxyplot,Rustemt/oxyplot,mattleibow/oxyplot,sevoku/oxyplot,lynxkor/oxyplot,TheAlmightyBob/oxyplot... |
faef9a1922ed35d0db68c1fda414ee538137c892 | src/EditorFeatures/CSharpTest/UsePatternMatching/CSharpAsAndNullCheckTests_FixAllTests.cs | src/EditorFeatures/CSharpTest/UsePatternMatching/CSharpAsAndNullCheckTests_FixAllTests.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 System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.UsePatternMatching
{
pub... | // 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 System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.UsePatternMatching
{
pu... | Fix compilation error within the unit test | Fix compilation error within the unit test
| C# | mit | tmat/roslyn,MichalStrehovsky/roslyn,reaction1989/roslyn,davkean/roslyn,wvdd007/roslyn,reaction1989/roslyn,mavasani/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,KirillOsenkov/roslyn,mavasani/roslyn,dotnet/roslyn,tmeschter/roslyn,aelij/roslyn,AlekseyTs/roslyn,khyperia/roslyn,panopticoncentral/roslyn,MichalStrehovsky/rosly... |
0583a5122d05c5d025a7e68955048dee6d98b30a | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(StringEnumConverter))]
public enum EventType
{
Starting,
... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(StringEnumConverter))]
public enum EventType
{
Starting,
... | Add support for MetadataChanged/ItemMetadataChanged (whichever it turns out to be) | Add support for MetadataChanged/ItemMetadataChanged (whichever it turns out to be)
| C# | mit | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor |
7de8afc414f01ed5e05b47a829b0f3b166b74abe | NBi.Core/Calculation/Predicate/Text/TextMatchesTime.cs | NBi.Core/Calculation/Predicate/Text/TextMatchesTime.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Calculation.Predicate.Text
{
class TextMatchesTime : CultureSensitiveTextPredicate
{
public TextMatchesTime(bool not, string culture)
... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Calculation.Predicate.Text
{
class TextMatchesTime : CultureSensitiveTextPredicate
{
public TextMatchesTime(bool not, string culture)
... | Change the pattern for matches-time | Change the pattern for matches-time
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
3fb17ead0649af77a0b83009ae191fda4f28faaf | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.cs | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.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.Extensions.IEnumerableExtensions;
using osu.Framework.Screens;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
... | // 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.Extensions.IEnumerableExtensions;
using osu.Framework.Screens;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
... | Fix breadcrumbs crash when last screen exits | Fix breadcrumbs crash when last screen exits
| C# | mit | smoogipoo/osu,smoogipoo/osu,ZLima12/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,naoey/osu,johnneijzen/osu,2yangk23/osu,smoogipooo/osu,ZLima12/osu,DrabWeb/osu,EVAST9919/osu,peppy/osu,peppy/osu,naoey/osu,2yangk23/osu,ppy/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,Useless... |
3bb9522fd1c6ad810460892f3aea000b0da39625 | CertiPay.Common.Notifications/Notifications/AndroidNotification.cs | CertiPay.Common.Notifications/Notifications/AndroidNotification.cs | namespace CertiPay.Common.Notifications.Notifications
{
public class AndroidNotification : Notification
{
public static string QueueName { get { return "AndroidNotifications"; } }
// TODO Android specific properties? Title, Image, Sound, Action Button, Picture, Priority
// Message => ... | using System;
namespace CertiPay.Common.Notifications.Notifications
{
public class AndroidNotification : Notification
{
public static string QueueName { get; } = "AndroidNotifications";
// Message => Content
/// <summary>
/// The subject line of the email
/// </summar... | Add title to android notifications object | Add title to android notifications object
| C# | mit | mattgwagner/CertiPay.Common |
0d57b0c230f02258f70bcf729c3260e8108c5057 | Source/GraduatedCylinder.Geo/Shared/Geo/GeoPosition.cs | Source/GraduatedCylinder.Geo/Shared/Geo/GeoPosition.cs | namespace GraduatedCylinder.Geo
{
public class GeoPosition
{
private readonly Length _altitude;
private readonly Latitude _latitude;
private readonly Longitude _longitude;
public GeoPosition(Latitude latitude, Longitude longitude, Length altitude = null) {
_latitude... | namespace GraduatedCylinder.Geo
{
public class GeoPosition
{
private readonly Length _altitude;
private readonly Latitude _latitude;
private readonly Longitude _longitude;
public GeoPosition(Latitude latitude, Longitude longitude, Length altitude = null) {
_latitude... | Add static constructor for scripting environment | Add static constructor for scripting environment
| C# | mit | EddieGarmon/GraduatedCylinder,EddieGarmon/GraduatedCylinder |
c1e8147210a720c8bebc508a51f6fc7a3d1247cf | ApplicationExamples/MVVM.CEFGlue.UI.SelectedItems/MainWindow.xaml.cs | ApplicationExamples/MVVM.CEFGlue.UI.SelectedItems/MainWindow.xaml.cs | using Awesomium.Core;
using MVVM.CEFGlue.Infra;
using MVVM.CEFGlue.ViewModel.Example;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System... | using MVVM.CEFGlue.Infra;
using MVVM.CEFGlue.ViewModel.Example;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
us... | Remove using statement referring to Awesomium. | Remove using statement referring to Awesomium.
| C# | mit | sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue |
b867205e7ee154bf567c40ace5f50df1a8c7170c | src/BloomExe/HelpLauncher.cs | src/BloomExe/HelpLauncher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Bloom.Api;
using SIL.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.c... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Bloom.Api;
using SIL.IO;
namespace Bloom
{
public class HelpLauncher
{
public static void Show(Control parent)
{
Help.ShowHelp(parent, FileLocator.GetFileDistributedWithApplication("Bloom.c... | Fix launching help through API on Linux (BL-4577) | Fix launching help through API on Linux (BL-4577)
Another case of case (in)sensitivity depending on the system.
| C# | mit | StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/Bl... |
81ad55b903aabb26d75dcf637b005516954d0cf4 | OpenIDConnect.Clients.Angular14/Bootstrap/CustomNancyBootstrapper.cs | OpenIDConnect.Clients.Angular14/Bootstrap/CustomNancyBootstrapper.cs | using System;
using Nancy;
using Nancy.Conventions;
using System.IO;
namespace OpenIDConnect.Clients.Angular14.Bootstrap
{
public class CustomNancyBootstrapper : DefaultNancyBootstrapper
{
protected override IRootPathProvider RootPathProvider
{
get { return new CustomRootPathProvid... | using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
namespace OpenIDConnect.Clients.Angular14.Bootstrap
{
public class CustomNancyBootstrapper : DefaultNancyBootstrapper
{
protected override void ApplicationStartup(TinyIoCContainer container, Nancy.Bootstrapper.IPipelines pipelines)
{
... | Fix for Nancy view conventions and static content conventions | Fix for Nancy view conventions and static content conventions
| C# | mit | JDawes-ScottLogic/openidconnect,mtinning/openidconnect,mtinning/openidconnect,JGaudion/openidconnect,JDawes-ScottLogic/openidconnect,ianlovell/openidconnect,JDawes-ScottLogic/openidconnect,mtinning/openidconnect,JGaudion/openidconnect,ianlovell/openidconnect,ianlovell/openidconnect,JGaudion/openidconnect |
baa8baaa1efd762b650c4e2b9e409f700e601fe7 | osu.Game/Online/API/Requests/Responses/APIUserMostPlayedBeatmap.cs | osu.Game/Online/API/Requests/Responses/APIUserMostPlayedBeatmap.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 Newtonsoft.Json;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserMostPlayedBeatmap
... | // 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 Newtonsoft.Json;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserMostPlayedBeatmap
... | Fix "most played beatmap" request breakage after property rename | Fix "most played beatmap" request breakage after property rename
| C# | mit | ppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu |
e28b4e0e81a73085cbaee1c00062d1c7c12adf79 | OpenKh.Tools.Kh2MapStudio/Windows/SpawnScriptWindow.cs | OpenKh.Tools.Kh2MapStudio/Windows/SpawnScriptWindow.cs | using ImGuiNET;
using OpenKh.Tools.Kh2MapStudio.Models;
using System.Numerics;
using static OpenKh.Tools.Common.CustomImGui.ImGuiEx;
namespace OpenKh.Tools.Kh2MapStudio.Windows
{
static class SpawnScriptWindow
{
private static readonly Vector4 ErrorColor = new Vector4(1.0f, 0.0f, 0.0f, 1.0f);
... | using ImGuiNET;
using OpenKh.Tools.Kh2MapStudio.Models;
using System.Numerics;
using static OpenKh.Tools.Common.CustomImGui.ImGuiEx;
namespace OpenKh.Tools.Kh2MapStudio.Windows
{
static class SpawnScriptWindow
{
private static readonly Vector4 ErrorColor = new Vector4(1.0f, 0.0f, 0.0f, 1.0f);
... | Fix a bug where decompiled code input was not working | Fix a bug where decompiled code input was not working
| C# | mit | Xeeynamo/KingdomHearts |
12639c68191d65e8e703a0d313caf640aa6325b4 | osu.Game/Database/DatabaseContextFactory.cs | osu.Game/Database/DatabaseContextFactory.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Platform;
namespace osu.Game.Database
{
public class DatabaseContextFactory
{
private readonly GameHost host;
p... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Platform;
namespace osu.Game.Database
{
public class DatabaseContextFactory
{
private readonly GameHost host;
p... | Use a different database name for now to avoid conflicts when switching versions | Use a different database name for now to avoid conflicts when switching versions
| C# | mit | peppy/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,peppy/osu,EVAST9919/osu,ppy/osu,Drezi126/osu,Frontear/osuKyzer,UselessToucan/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,naoey/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,D... |
bb48441c671065660249d0d5a124169c99ea76d3 | src/GitHub.VisualStudio.UI/Views/Dialog/Clone/SelectPageView.xaml.cs | src/GitHub.VisualStudio.UI/Views/Dialog/Clone/SelectPageView.xaml.cs | using System.ComponentModel.Composition;
using System.Windows.Controls;
using System.Windows.Input;
using GitHub.Exports;
using GitHub.ViewModels.Dialog.Clone;
namespace GitHub.VisualStudio.Views.Dialog.Clone
{
[ExportViewFor(typeof(IRepositorySelectViewModel))]
[PartCreationPolicy(CreationPolicy.NonShared)]
... | using System;
using System.ComponentModel.Composition;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
using GitHub.Exports;
using GitHub.ViewModels.Dialog.Clone;
namespace GitHub.VisualStudio.Views.Dialog.Clone
{
[ExportViewFor(typeof(IRepositorySelectViewModel))]
[... | Set focus on search box when select page visible | Set focus on search box when select page visible
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio |
9efa477581352e60d8f83c260155364822105f17 | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | Set env vars in GitHub Actions | Set env vars in GitHub Actions
| C# | mit | AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning |
64b1a009efb5f80f5c78faae44682b5895c2fd2e | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | // 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 NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | Adjust diffcalc test case to pass | Adjust diffcalc test case to pass
| C# | mit | UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu |
3230c01113113c6af4cb3fe603d12bd2755d8fbb | Source/AssemblyInfo.cs | Source/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyProduct("UsageStats")]
[assembly: AssemblyCompany("UsageStats")]
[assembly: AssemblyCopyright("© UsageStats contributors. Al... | using System.Reflection;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyProduct("UsageStats")]
[assembly: AssemblyCompany("UsageStats")]
[assembly: AssemblyCopyright("© UsageStats contributors. Al... | Reset version number (will be updated by gitversion) | Reset version number (will be updated by gitversion)
| C# | mit | objorke/UsageStats,UsageStats/UsageStats |
1c9484e4c0f52ab52cdadcf6db1e64a1bf25f1af | src/PowerBridge/Properties/AssemblyInfo.cs | src/PowerBridge/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: AssemblyTitle("PowerBridge")]
[assembly: AssemblyDescription("Build tasks that enable running PowerShell ... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: AssemblyTitle("PowerBridge")]
[assembly: AssemblyDescription("Build tasks that enable running Pow... | Increment minor build number for release | Increment minor build number for release
| C# | mit | rafd123/PowerBridge |
4a2e9a97cbd2b4379e77e1d5553047a9bb317ec3 | Nodejs/Product/TestAdapterImpl/TestFrameworks/NodejsTestInfo.cs | Nodejs/Product/TestAdapterImpl/TestFrameworks/NodejsTestInfo.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 System;
namespace Microsoft.NodejsTools.TestAdapter.TestFrameworks
{
internal class NodejsTestInfo
{
public NodejsTestInfo(string full... | // 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 System;
namespace Microsoft.NodejsTools.TestAdapter.TestFrameworks
{
internal class NodejsTestInfo
{
public NodejsTestInfo(string full... | Improve error, when test name is invalid | Improve error, when test name is invalid
| C# | apache-2.0 | paulvanbrenk/nodejstools,Microsoft/nodejstools,paulvanbrenk/nodejstools,kant2002/nodejstools,lukedgr/nodejstools,kant2002/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,kant2002/nodejstools,kant2002/nodejstools,Microsoft/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,lukedgr/... |
a3df90ad02f06a09088fe0768fe8318c0f3db8b2 | Web/FacetedWorlds.MyCon.Web/ViewModels/SpeakerViewModel.cs | Web/FacetedWorlds.MyCon.Web/ViewModels/SpeakerViewModel.cs | using FacetedWorlds.MyCon.Model;
using System.Linq;
using System.Collections.Generic;
namespace FacetedWorlds.MyCon.Web.ViewModels
{
public class SpeakerViewModel
{
private readonly Speaker _speaker;
public SpeakerViewModel(Speaker speaker)
{
_speaker = speaker;
}
... | using FacetedWorlds.MyCon.Model;
using System.Linq;
using System.Collections.Generic;
using System.Web.Mvc;
using FacetedWorlds.MyCon.Web.Extensions;
namespace FacetedWorlds.MyCon.Web.ViewModels
{
public class SpeakerViewModel
{
private readonly Speaker _speaker;
public SpeakerViewModel(Speake... | Format speaker bio on index page as well. | Format speaker bio on index page as well.
| C# | mit | michaellperry/MyCon,michaellperry/MyCon |
aadfea395e0f967c67ae1b1f0b408890fe4f29fd | src/Cash-Flow-Projection/Controllers/HomeController.cs | src/Cash-Flow-Projection/Controllers/HomeController.cs | using Cash_Flow_Projection.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Cash_Flow_Projection.Controllers
{
public class HomeController : Controller
{
private readonly Database db;
public HomeController(Database db)
{
... | using Cash_Flow_Projection.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Cash_Flow_Projection.Controllers
{
public class HomeController : Controller
{
private readonly Database db;
public HomeController(Database db)
{
... | Tweak how the entries are listed, only showing since the last balance key | Tweak how the entries are listed, only showing since the last balance key
| C# | mit | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection |
a3c8f6c3b682a3351af7e9767cc215cd75f51fa2 | ProjectCDA/Data/DataSource.cs | ProjectCDA/Data/DataSource.cs | using ProjectCDA.Model;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
... | using ProjectCDA.Model;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
... | Increase number of grid objects. | Increase number of grid objects.
| C# | mit | fanCDA/ProjectCDA-WPF |
f8d035ec751f1af2eaa0f8622a179564cf7e321e | sample/Glimpse.AgentServer.AspNet.Sample/SamplePage.cs | sample/Glimpse.AgentServer.AspNet.Sample/SamplePage.cs | using System.Threading.Tasks;
using Glimpse.Internal;
using Microsoft.AspNetCore.Http;
using Microsoft.Net.Http.Headers;
namespace Glimpse.AgentServer.AspNet.Sample
{
public class SamplePage
{
private readonly ContextData<MessageContext> _context;
public SamplePage()
{
_con... | using System.Threading.Tasks;
using Glimpse.Internal;
using Microsoft.AspNetCore.Http;
using Microsoft.Net.Http.Headers;
namespace Glimpse.AgentServer.AspNet.Sample
{
public class SamplePage
{
private readonly ContextData<MessageContext> _context;
public SamplePage()
{
_con... | Fix the asset that you try and get | Fix the asset that you try and get
| C# | mit | Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype |
c5fd969568c1c9c2e22acde5559007d55d5325ba | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedPlaylist.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedPlaylist.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Multi.Compon... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Multi.Compon... | Fix 0 size in test scene | Fix 0 size in test scene
| C# | mit | peppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu |
f5ab62426140ee58162fa2610ae40f301c1c829d | Prometheus.HttpExporter.AspNetCore/HttpRequestCount/HttpRequestCountOptions.cs | Prometheus.HttpExporter.AspNetCore/HttpRequestCount/HttpRequestCountOptions.cs | namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount
{
public class HttpRequestCountOptions : HttpExporterOptionsBase
{
public Counter Counter { get; set; } =
Metrics.CreateCounter(DefaultName, DefaultHelp, HttpRequestLabelNames.All);
private const string DefaultNam... | namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount
{
public class HttpRequestCountOptions : HttpExporterOptionsBase
{
public Counter Counter { get; set; } =
Metrics.CreateCounter(DefaultName, DefaultHelp, HttpRequestLabelNames.All);
private const string DefaultNam... | Update http request count default name. | Update http request count default name.
| C# | mit | andrasm/prometheus-net |
e42f08cfb74ab97af7b858c43a64b466d6b7f753 | src/Testity.BuildProcess.Unity3D/BuildSteps/AddSerializedMemberStep.cs | src/Testity.BuildProcess.Unity3D/BuildSteps/AddSerializedMemberStep.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Fasterflect;
namespace Testity.BuildProcess.Unity3D
{
public class AddSerializedMemberStep : ITestityBuildStep
{
private readonly ITypeRelationalMapper typeResolver;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Fasterflect;
namespace Testity.BuildProcess.Unity3D
{
public class AddSerializedMemberStep : ITestityBuildStep
{
private readonly ITypeRelationalMapper typeResolver;
... | Add Exclusion Service to SerializeStep | Add Exclusion Service to SerializeStep
| C# | mit | HelloKitty/Testity,HelloKitty/Testity |
e8288a5f6afe6cc365d0c9d49243bfd1f0abdf8e | IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs | IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs | using IntegrationEngine.Core.Configuration;
using ServiceStack.ServiceClient.Web;
using System.Net;
namespace IntegrationEngine.Core.ServiceStack
{
public class JsonServiceClientAdapter : JsonServiceClient, IJsonServiceClient
{
public JsonServiceClientAdapter(IJsonServiceConfiguration jsonServiceConfi... | using IntegrationEngine.Core.Configuration;
using ServiceStack.ServiceClient.Web;
using System.Net;
namespace IntegrationEngine.Core.ServiceStack
{
public class JsonServiceClientAdapter : JsonServiceClient, IJsonServiceClient
{
public IJsonServiceConfiguration JsonServiceConfiguration { get; set; }
... | Add required config property to json client adapter | Add required config property to json client adapter
| C# | mit | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET |
6ed04f6172f58fa1a6c825af0b6cad9026401ba9 | build/Tasks/Package.cs | build/Tasks/Package.cs | using Cake.Common.Tools.DotNetCore;
using Cake.Common.Tools.DotNetCore.Pack;
using Cake.Core;
using Cake.Core.IO;
using Cake.Frosting;
[Dependency(typeof(UnitTests))]
public class Package : FrostingTask<Context>
{
public override void Run(Context context)
{
var path = new FilePath("./src/Cake.Frosting/... | using Cake.Common.Tools.DotNetCore;
using Cake.Common.Tools.DotNetCore.Pack;
using Cake.Core;
using Cake.Core.IO;
using Cake.Frosting;
[Dependency(typeof(UnitTests))]
public class Package : FrostingTask<Context>
{
public override void Run(Context context)
{
var path = new FilePath("./src/Cake.Frosting/... | Include source in symbols package. | Include source in symbols package.
| C# | mit | cake-build/frosting |
f1fe920c93e417d63697b1d9bfd2f2d938786aba | src/Catel.Extensions.Data/Catel.Extensions.Data.Shared/ExtensionsDataModule.cs | src/Catel.Extensions.Data/Catel.Extensions.Data.Shared/ExtensionsDataModule.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtensionsDataModule.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtensionsDataModule.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -------------------------... | Disable argument checks for now | Disable argument checks for now
| C# | mit | blebougge/Catel |
4bc1a4d36f23dfca7d0649bb003972bb7834cbaa | src/SlashTodo.Infrastructure/AzureTables/ComplexTableEntity.cs | src/SlashTodo.Infrastructure/AzureTables/ComplexTableEntity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
namespace SlashTodo.Infrastructure.AzureTables
{
public abstract class ComplexTableEntity<T> : TableEntity
{
private st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
namespace SlashTodo.Infrastructure.AzureTables
{
public abstract class ComplexTableEntity<T> : TableEntity
{
private st... | Use TypeNameHandling.Objects when serializing objects to json. | Use TypeNameHandling.Objects when serializing objects to json.
| C# | mit | Hihaj/SlashTodo,Hihaj/SlashTodo |
fdaa6e75ab23a073243011d64cf640f04a92bba6 | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Shared/Extensions/WindowsExtensions.cs | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Shared/Extensions/WindowsExtensions.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Utilities;
using Windows.UI.Input.Spatial;
#endif // (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
namespace Microsoft.MixedReality.Toolkit.Windows... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Utilities;
#if WINDOWS_UWP
using Windows.UI.Input.Spatial;
#elif DOTNETWINRT_PRESENT
using Microsoft.Windows.UI.Input.Spatial;
#endif
#endif // (UNITY_W... | Fix extensions when using dotnet adapter | Fix extensions when using dotnet adapter
| C# | mit | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
e608d807f4c8db1c90741cf80fff56dc769f292a | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | Handle SelectPrevious / SelectNext as volume change operations if nothing else handled game-wide | Handle SelectPrevious / SelectNext as volume change operations if nothing else handled game-wide
| C# | mit | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu-new,EVAST9919/osu,ppy/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu |
a8c85ed882f2e7c7424e86d4a79ac7a6e05387ba | osu.Game.Tests/Visual/Settings/TestSceneFileSelector.cs | osu.Game.Tests/Visual/Settings/TestSceneFileSelector.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.Settings
{
public class TestSc... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.Settings
{
public class TestSceneFileSe... | Add test for filtered mode | Add test for filtered mode
| C# | mit | peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu |
d114a14552b282d317edfa191af45e838e1aadb2 | src/SevenDigital.Api.Wrapper/EndpointResolution/DictionaryExtensions.cs | src/SevenDigital.Api.Wrapper/EndpointResolution/DictionaryExtensions.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public static class DictionaryExtensions
{
public static string ToQueryString(this IDictionary<string, string> collection)
{
var sb = new StringBuilder();
foreach (var key ... | using System.Collections.Generic;
using System.Text;
using OAuth;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public static class DictionaryExtensions
{
public static string ToQueryString(this IDictionary<string, string> collection)
{
var sb = new StringBuilder();
foreach (var key i... | Use UrlEncode from OAuth lib | Use UrlEncode from OAuth lib
| C# | mit | AnthonySteele/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Ap... |
e5d2e87feb584701c1cc221467168ab4f2f8cde4 | BotBitsExt.Rounds/RoundsExtension.cs | BotBitsExt.Rounds/RoundsExtension.cs | using System;
using BotBits;
namespace BotBitsExt.Rounds
{
public sealed class RoundsExtension : Extension<RoundsExtension>
{
private class Settings
{
public int MinimumPlayers { get; private set; }
public int WaitTime { get; private set; }
public bool Flyin... | using System;
using BotBits;
namespace BotBitsExt.Rounds
{
public sealed class RoundsExtension : Extension<RoundsExtension>
{
private class Settings
{
public int MinimumPlayers { get; private set; }
public int WaitTime { get; private set; }
public bool Flyin... | Add flying players setting to extension loader | Add flying players setting to extension loader
| C# | mit | Tunous/BotBitsExt.Rounds |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.