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 |
|---|---|---|---|---|---|---|---|---|---|
d5dc69bf5df297a769439004c05958cd68aaabef | src/MagicOnion.Client.Unity/Assets/Scripts/Editor/PackageExporter.cs | src/MagicOnion.Client.Unity/Assets/Scripts/Editor/PackageExporter.cs | using System;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public static class PackageExporter
{
[MenuItem("Tools/Export Unitypackage")]
public static void Export()
{
// configure
var root = "Scripts/MagicOnion";
var exportPath = "./MagicOnion.Client.Un... | using System;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public static class PackageExporter
{
[MenuItem("Tools/Export Unitypackage")]
public static void Export()
{
// configure
var root = "Scripts/MagicOnion";
var exportPath = "./MagicOnion.Client.Un... | Fix .NET Standard assembly assets path. | Fix .NET Standard assembly assets path.
| C# | mit | neuecc/MagicOnion |
c3653c3d148f543eef21a351cf24e4ea74facfc0 | src/Nest/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs | src/Nest/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nest
{
[JsonObject(MemberSerialization.OptIn)]
[JsonConverter(typeof(ReadAsTypeJsonConverter<RolloverConditions>))]
public interface IRolloverConditions
{
[JsonPro... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nest
{
[JsonObject(MemberSerialization.OptIn)]
[JsonConverter(typeof(ReadAsTypeJsonConverter<RolloverConditions>))]
public interface IRolloverConditions
{
[JsonPro... | Change MaxDocs from int to long | Change MaxDocs from int to long
| C# | apache-2.0 | adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net |
844430502b548747b0ed4867e8a2bb230c031d7a | osu.Game/Beatmaps/BeatSyncProviderExtensions.cs | osu.Game/Beatmaps/BeatSyncProviderExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Beatmaps
{
public static class BeatSyncProviderExtensions
{
/// <summary>
/// Check whether beat sync is currently available.
... | // 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.Beatmaps
{
public static class BeatSyncProviderExtensions
{
/// <summary>
/// Check whether beat sync is currently available.
... | Replace parantheses with nullable-bool equality operation | Replace parantheses with nullable-bool equality operation
| C# | mit | ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu |
48c39b1d19ec9ffb2362641e48dd03f155b49268 | osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs | osu.Game/Overlays/Profile/Sections/BeatmapsSection.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.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
namespace osu.Game.Overlays.Profile.Sections
{
public class Beatmaps... | // 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.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
namespace osu.Game.Overlays.Profile.Sections
{
public class Beatmaps... | Add "Ranked & Approved Beatmaps" section | Add "Ranked & Approved Beatmaps" section
| C# | mit | DrabWeb/osu,smoogipoo/osu,naoey/osu,UselessToucan/osu,naoey/osu,Nabile-Rahmani/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,ppy/osu,Drezi126/osu,NeoAdonis/osu,Frontear/osuKyzer,smoogipooo/osu,peppy/osu-new,peppy/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,ZLima12/osu... |
11da5a8a87fffef889ea44f076e89e433e3c7a3a | Training.CSharpWorkshop.Tests/ProgramTests.cs | Training.CSharpWorkshop.Tests/ProgramTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Training.CSharpWorkshop.Tests
{
[TestClass]
public class ProgramTests
{
[Ignore]
[TestMethod]
public void IgnoreTest()
{
Assert.Fail();
}
[TestMethod()]
public v... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Training.CSharpWorkshop.Tests
{
[TestClass]
public class ProgramTests
{
[Ignore]
[TestMethod]
public void IgnoreTest()
{
Assert.Fail();
}
[TestMethod()]
public v... | Update Console Program with the Repository call - Add the GetRoleMessageForNoneTest test method to test the None case | Update Console Program with the Repository call - Add the GetRoleMessageForNoneTest test method to test the None case
| C# | mit | penblade/Training.CSharpWorkshop |
436040f55e895f2e7c6f596b05c70e9f41c443dd | src/Totem.Runtime/Json/TotemSerializerSettings.cs | src/Totem.Runtime/Json/TotemSerializerSettings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Totem.Runtime.Json
{
/// <summary>
/// Settings used when serializing and deserializing objects in the Totem runtime
/// </summary>
public class TotemSerializerSettings : JsonSeria... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Totem.Runtime.Json
{
/// <summary>
/// Settings used when serializing and deserializing objects in the Totem runtime
/// </summary>
public class TotemSe... | Standardize JSON date/time values on UTC | Standardize JSON date/time values on UTC
| C# | mit | bwatts/Totem,bwatts/Totem |
0328b9b26503ee97ea6245e55303b4f78de710f2 | osu.Framework/Input/StateChanges/ISourcedFromTouch.cs | osu.Framework/Input/StateChanges/ISourcedFromTouch.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.Input.StateChanges.Events;
namespace osu.Framework.Input.StateChanges
{
public interface ISourcedFromTouch
{
TouchStateChangeEvent To... | // 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.Input.StateChanges.Events;
namespace osu.Framework.Input.StateChanges
{
/// <summary>
/// Denotes an input which was sourced from a touch eve... | Add missing xmldoc to interface class | Add missing xmldoc to interface class
| C# | mit | ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework |
d4317c74561b4296538c4a995c17d892f9716394 | src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ComposedIdCustomizer.cs | src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ComposedIdCustomizer.cs | using System.Reflection;
namespace NHibernate.Mapping.ByCode.Impl.CustomizersImpl
{
public class ComposedIdCustomizer<TEntity> : PropertyContainerCustomizer<TEntity>, IComposedIdMapper<TEntity> where TEntity : class
{
public ComposedIdCustomizer(IModelExplicitDeclarationsHolder explicitDeclarationsHolder, IC... | using System.Reflection;
namespace NHibernate.Mapping.ByCode.Impl.CustomizersImpl
{
public class ComposedIdCustomizer<TEntity> : PropertyContainerCustomizer<TEntity>, IComposedIdMapper<TEntity> where TEntity : class
{
public ComposedIdCustomizer(IModelExplicitDeclarationsHolder explicitDeclarationsHolder, IC... | Fix for superclass properties (NH-3318) | Fix for superclass properties (NH-3318)
When obtained straight from a lambda expression, MemberInfo for a
superclass property has both DeclaringType and ReflectedType set to
Superclass. This causes problems when ModelMapper goes through
properties - their ReflectedType is Subclass. Turns out there was an
alternative, ... | C# | lgpl-2.1 | hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,hazzik/nhibernate-co... |
c510fcf260d2228c04ee8d94ec88f61511f61e4f | NLogger/NLogger/CustomLogFactory.cs | NLogger/NLogger/CustomLogFactory.cs | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
namespace NLogger
{
public class CustomLogFactory<T> where T : NLoggerSection
{
private readonly List<ILogWriterRegistration<T>> _logWriterTypes;
public CustomLogFactory()
{
_logWriterTypes= n... | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
namespace NLogger
{
public class CustomLogFactory<T> where T : NLoggerSection
{
private readonly List<ILogWriterRegistration<T>> _logWriterTypes;
public CustomLogFactory()
{
_logWriterTypes= n... | Deal with null config in custom log factory | Deal with null config in custom log factory
| C# | mit | Lethrir/NLogger |
09f069d64068107172f0b5d01479a08861f691c1 | Source/Shared/GlobalAssemblyInfo.cs | Source/Shared/GlobalAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Picoe Software Solutions Inc.")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersi... | using System.Reflection;
[assembly: AssemblyCompany("Picoe Software Solutions Inc.")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersi... | Update assembly version to v1.99 to prepare for v2.0 release | Update assembly version to v1.99 to prepare for v2.0 release
| C# | bsd-3-clause | bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto |
bdb6ad178c8f07034eeb58130649fb66819fcbc2 | AutoReservation.Ui/ViewModels/AsyncRelayCommand.cs | AutoReservation.Ui/ViewModels/AsyncRelayCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace AutoReservation.Ui.ViewModels
{
public class AsyncRelayCommand : ICommand
{
protected readonly Predicate<object> _canExecute;
protected Func... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace AutoReservation.Ui.ViewModels
{
/**
* From: http://blog.mycupof.net/2012/08/23/mvvm-asyncdelegatecommand-what-asyncawait-can-do-for-uidevelopment/
*/
... | Add link to where the async relay command is from | Add link to where the async relay command is from
| C# | mit | mweibel/mste-testat |
cb9ea5d19abfcb78da394ef24e11e05ee8d2f08b | CoreFxNetCloudService/WebServer/StatusCode.ashx.cs | CoreFxNetCloudService/WebServer/StatusCode.ashx.cs | using System;
using System.Web;
namespace WebServer
{
public class StatusCode : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string statusCodeString = context.Request.QueryString["statuscode"];
string statusDescription = context.Request.QueryString["... | using System;
using System.Web;
namespace WebServer
{
public class StatusCode : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string statusCodeString = context.Request.QueryString["statuscode"];
string statusDescription = context.Request.QueryString["... | Allow for blank status description | Allow for blank status description
| C# | mit | davidsh/corefx-net-testservers,davidsh/corefx-net-testservers,davidsh/corefx-net-testservers |
363fba93d87d3bd1d6571a6680fddaac6c0a358e | Linear-Data-Structures/LinearDataStructures/SequenceOfOperations/Program.cs | Linear-Data-Structures/LinearDataStructures/SequenceOfOperations/Program.cs | //We are given numbers N and M and the following operations:
// * `N = N+1`
// * `N = N+2`
// * `N = N*2`
// - Write a program that finds the shortest sequence of operations from the list above that starts from `N` and finishes in `M`.
// - _Hint_: use a queue.
// - Example: `N = 5`, `M = 16`
// - Sequence: 5 ... | //We are given numbers N and M and the following operations:
// * `N = N+1`
// * `N = N+2`
// * `N = N*2`
// - Write a program that finds the shortest sequence of operations from the list above that starts from `N` and finishes in `M`.
// - _Hint_: use a queue.
// - Example: `N = 5`, `M = 16`
// - Sequence: 5 ... | Fix bug from 1 to 3 | Fix bug from 1 to 3
| C# | mit | SimoPrG/Data-Structures-and-Algorithms-Homework |
3f9efc8a75174ff7724d2e764ba8481f2701c22b | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
| C# | mit | autofac/Autofac.Mef |
0208f90dc93989b64fc7755e266c1d2a64e96943 | SolrNet.Cloud.Tests/UnityTests.cs | SolrNet.Cloud.Tests/UnityTests.cs | using Xunit;
using Unity.SolrNetCloudIntegration;
using Unity;
namespace SolrNet.Cloud.Tests
{
public class UnityTests
{
private IUnityContainer Setup() {
return new SolrNetContainerConfiguration().ConfigureContainer(
new FakeProvider(),
new UnityContainer()... | using Xunit;
using Unity.SolrNetCloudIntegration;
using Unity;
namespace SolrNet.Cloud.Tests
{
public class UnityTests
{
private IUnityContainer Setup() {
return new SolrNetContainerConfiguration().ConfigureContainer(
new FakeProvider(),
new UnityContainer()... | Revert "Add test trying to recreate the issue" | Revert "Add test trying to recreate the issue"
This reverts commit 90fdb46611e69f97f0e72690ab5749d353da3828.
| C# | apache-2.0 | SolrNet/SolrNet,mausch/SolrNet,SolrNet/SolrNet,mausch/SolrNet,mausch/SolrNet |
82731783034ea62c401294d72222c176a6e6cbcd | src/Cake.TeamCity.Module/TeamCityLog.cs | src/Cake.TeamCity.Module/TeamCityLog.cs | using System;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Module.Shared;
using CakeBuildLog = Cake.Core.Diagnostics.CakeBuildLog;
namespace Cake.TeamCity.Module
{
public class TeamCityLog : ICakeLog
{
public TeamCityLog(IConsole console, Verbosity verbosity = Verbosity.Normal)
{
... | using System;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Module.Shared;
using CakeBuildLog = Cake.Core.Diagnostics.CakeBuildLog;
namespace Cake.TeamCity.Module
{
public class TeamCityLog : ICakeLog
{
public TeamCityLog(IConsole console, Verbosity verbosity = Verbosity.Normal)
{
... | Fix Environment Variable check for TeamCity Log | Fix Environment Variable check for TeamCity Log
Was previously look for TF_BUILD which is for TFS/VSTS Environments. | C# | mit | agc93/Cake.BuildSystems.Module,agc93/Cake.BuildSystems.Module |
982b797398e8daa61da2ad40c5fdfb5be3ed620f | stateless-queues/Back_Stateless/SubmitOrderHandler.cs | stateless-queues/Back_Stateless/SubmitOrderHandler.cs | using System;
using System.Threading.Tasks;
using Messages_Stateless;
using NServiceBus;
namespace Back_Stateless
{
public class SubmitOrderHandler : IHandleMessages<SubmitOrder>
{
private OrderContext orderContext;
public SubmitOrderHandler(OrderContext orderContext)
{
... | using System;
using System.Threading.Tasks;
using Messages_Stateless;
using NServiceBus;
namespace Back_Stateless
{
public class SubmitOrderHandler : IHandleMessages<SubmitOrder>
{
private OrderContext orderContext;
public SubmitOrderHandler(OrderContext orderContext)
{
... | Remove service event source for now | Remove service event source for now
| C# | apache-2.0 | danielmarbach/service-fabric-webinar,danielmarbach/service-fabric-webinar |
bf49f64688863a0a8cc156385cb4d71531494a17 | 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; }
... | Allow to run build even if git repo informations are not available | Allow to run build even if git repo informations are not available
| C# | mit | Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Directory |
57da688828ba1b55cc2b91a997c3722f8663cfca | src/test/Test.RazorEngine.Core/VariousTestsFixture.cs | src/test/Test.RazorEngine.Core/VariousTestsFixture.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RazorEngine;
using NUnit.Framework;
namespace Test.RazorEngine
{
/// <summary>
/// Various general tests.
/// </summary>
[TestFixture]
public class VariousTestsFixture
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RazorEngine;
using NUnit.Framework;
namespace Test.RazorEngine
{
/// <summary>
/// Various general tests.
/// </summary>
[TestFixture]
public class VariousTestsFixture
{
... | Add tests to check if contracts are working (currently disabled) | Add tests to check if contracts are working (currently disabled)
| C# | apache-2.0 | HongJunRen/RazorEngine,csantero/RazorEngine,bcuff/RazorEngine,csantero/RazorEngine,aviatrix/RazorEngine,MetSystem/RazorEngine,MetSystem/RazorEngine,HongJunRen/RazorEngine,SharpeRAD/RazorEngine,SharpeRAD/RazorEngine,Antaris/RazorEngine,bcuff/RazorEngine,aviatrix/RazorEngine,Antaris/RazorEngine |
d81fc3589a166ab78096dee0a4ddf0cd2fbd17d7 | src/System.Text.RegularExpressions/src/System/Collections/Generic/ValueListBuilder.Pop.cs | src/System.Text.RegularExpressions/src/System/Collections/Generic/ValueListBuilder.Pop.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.CompilerServices;
namespace System.Collections.Generic
{
/// <summary>
/// These publ... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Runtime.CompilerServices;
namespace System.Collections.Generic
{
/// <summary>
... | Fix nullability mismatch on partial declarations | Fix nullability mismatch on partial declarations
| C# | mit | shimingsg/corefx,ericstj/corefx,ericstj/corefx,BrennanConroy/corefx,ViktorHofer/corefx,ViktorHofer/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,BrennanConroy/corefx,ViktorHofer/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,BrennanConroy/corefx,ViktorHofer/corefx,... |
879fe17e92c984b893c3507be87efe84f8488c47 | ValveResourceFormat/Resource/ResourceTypes/Panorama.cs | ValveResourceFormat/Resource/ResourceTypes/Panorama.cs | using System;
using System.IO;
using System.Text;
namespace ValveResourceFormat.ResourceTypes
{
public class Panorama : Blocks.ResourceData
{
public byte[] Data { get; private set; }
public uint Crc32 { get; private set; }
public override void Read(BinaryReader reader, Resource resour... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ValveResourceFormat.ResourceTypes
{
public class Panorama : Blocks.ResourceData
{
public class NameEntry
{
public string Name { get; set; }
public uint CRC32 { get; set; } // T... | Read panorama name entries into a list | Read panorama name entries into a list
| C# | mit | SteamDatabase/ValveResourceFormat |
29732f5c17d4de65b9200c27e232771677753685 | Hazelcast.Net/Hazelcast.Client.Protocol.Codec/StackTraceElementCodec.cs | Hazelcast.Net/Hazelcast.Client.Protocol.Codec/StackTraceElementCodec.cs | // Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | // Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | Update stack trace decoding to match Java | Update stack trace decoding to match Java
| C# | apache-2.0 | asimarslan/hazelcast-csharp-client,asimarslan/hazelcast-csharp-client |
3160f8ce8f11c7e92f9445a2aa30185c952c85f9 | app/Umbraco/Umbraco.Archetype/Extensions/Extensions.cs | app/Umbraco/Umbraco.Archetype/Extensions/Extensions.cs | using Umbraco.Core;
using Archetype.Umbraco.Models;
namespace Archetype.Umbraco.Extensions
{
public static class Extensions
{
//lifted from the core as it is marked 'internal'
public static bool DetectIsJson(this string input)
{
input = input.Trim();
return inpu... | using System;
using System.Web;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Web;
using Archetype.Umbraco.Models;
namespace Archetype.Umbraco.Extensions
{
public static class Extensions
{
//lifted from the core as it is ma... | Use an extension to parse the RTE macros into rendered macros | Use an extension to parse the RTE macros into rendered macros
| C# | mit | tomfulton/Archetype,imulus/Archetype,kipusoep/Archetype,Nicholas-Westby/Archetype,Nicholas-Westby/Archetype,tomfulton/Archetype,Nicholas-Westby/Archetype,kgiszewski/Archetype,kjac/Archetype,kipusoep/Archetype,imulus/Archetype,kgiszewski/Archetype,kjac/Archetype,kjac/Archetype,kipusoep/Archetype,tomfulton/Archetype,imul... |
cf33869aa2e3679579cc397cbfa46329f3f12e91 | Joey/UI/Fragments/RecentTimeEntriesListFragment.cs | Joey/UI/Fragments/RecentTimeEntriesListFragment.cs | using System;
using System.Linq;
using Android.OS;
using Android.Views;
using Android.Widget;
using Toggl.Joey.UI.Adapters;
using ListFragment = Android.Support.V4.App.ListFragment;
namespace Toggl.Joey.UI.Fragments
{
public class RecentTimeEntriesListFragment : ListFragment
{
public override void OnV... | using System;
using System.Linq;
using Android.OS;
using Android.Views;
using Android.Widget;
using Toggl.Joey.UI.Adapters;
using ListFragment = Android.Support.V4.App.ListFragment;
namespace Toggl.Joey.UI.Fragments
{
public class RecentTimeEntriesListFragment : ListFragment
{
public override void OnV... | Fix click on item event after adding header wrapper | Fix click on item event after adding header wrapper
| C# | bsd-3-clause | peeedge/mobile,peeedge/mobile,masterrr/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,eatskolnikov/mobile,masterrr/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile |
09e5e2629ab2ffa0ad052683bcb91000e18a87fe | osu.Game/Online/Multiplayer/MultiplayerRoomUser.cs | osu.Game/Online/Multiplayer/MultiplayerRoomUser.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 enable
using System;
using Newtonsoft.Json;
using osu.Game.Users;
namespace osu.Game.Online.Multiplayer
{
[Serializable]
public class MultiplayerRoomU... | // 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 enable
using System;
using Newtonsoft.Json;
using osu.Game.Online.Rooms;
using osu.Game.Users;
namespace osu.Game.Online.Multiplayer
{
[Serializable]
... | Add user beatmap availability property | Add user beatmap availability property
| C# | mit | peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,ppy/osu |
24173f4ccc49826ac50cdd9d82b65532b2b492bc | MyAccounts.Business/Extensions/ObjectExtensions.cs | MyAccounts.Business/Extensions/ObjectExtensions.cs | using System.Collections.Generic;
using System.Linq;
using FastMember;
using Newtonsoft.Json;
namespace MyAccounts.Business.Extensions
{
public static class ObjectExtensions
{
public static IDictionary<string, string> ToRawMembersDictionary(this object obj)
{
var accessor = TypeAcc... | using System.Collections.Generic;
using System.Linq;
using FastMember;
using Newtonsoft.Json;
namespace MyAccounts.Business.Extensions
{
public static class ObjectExtensions
{
public static IDictionary<string, string> ToRawMembersDictionary(this object obj)
{
var accessor = TypeAcc... | Fix regression (unit tests were failing because of this) | Fix regression (unit tests were failing because of this)
| C# | mit | blaise-braye/my-accounts |
a48151f2cd40627d544c21898c6b396f5197a5f4 | src/WebApiTestApplication/Controllers/ThingyController.cs | src/WebApiTestApplication/Controllers/ThingyController.cs | using System.Web.Http;
using Newtonsoft.Json;
namespace WebApiTestApplication.Controllers
{
public class MegaClass : AnotherClass
{
public int Something { get; set; }
}
[RoutePrefix("api/thingy")]
public class ThingyController : ApiController
{
[HttpGet]
[Route("")]
... | using System.Web.Http;
using Newtonsoft.Json;
namespace WebApiTestApplication.Controllers
{
public class MegaClass : AnotherClass
{
public int Something { get; set; }
}
public class Chain1<T>
{
public T Value1 { get; set; }
}
public class Chain2<TValue> : Chain1<TValue>
... | Add generic test class chain | Add generic test class chain
| C# | mit | greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript |
852084a23b33ceb9942c4ecdfa98e97b37de24ad | PixelPet/Commands/ImportBitmapCmd.cs | PixelPet/Commands/ImportBitmapCmd.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace PixelPet.Commands {
internal class ImportBitmapCmd : CliCommand {
public ImportBitmapCmd()
: base ("Import-Bitmap",... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
namespace PixelPet.Commands {
internal class ImportBitmapCmd : CliCommand {
public ImportBitmapCmd()
: base ("Import-Bitmap",... | Fix imported images being scaled on some systems. | Fix imported images being scaled on some systems.
| C# | mit | Prof9/PixelPet |
614d6e0722193957bcebf1c23399303a9fab4506 | Taut/Taut/Properties/AssemblyInfo.cs | Taut/Taut/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | Make internals of Taut visible to Taut.Test. | Make internals of Taut visible to Taut.Test.
| C# | mit | CuriousCurmudgeon/taut |
9802776e7461ca3ce0c03ed34295258efe4a4b51 | osu.Framework/Localisation/LocalisableEnumAttribute.cs | osu.Framework/Localisation/LocalisableEnumAttribute.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;
namespace osu.Framework.Localisation
{
/// <summary>
/// Indicates that the members of an enum can be localised.
/// </summary>
[AttributeU... | // 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.Extensions.TypeExtensions;
namespace osu.Framework.Localisation
{
/// <summary>
/// Indicates that the members of an enum can b... | Reword exception to be more descriptive | Reword exception to be more descriptive
| C# | mit | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework |
79218bbc0036b081a85759b41b88f09a825b976f | AngleSharp/Services/Default/MemoryCookieService.cs | AngleSharp/Services/Default/MemoryCookieService.cs | namespace AngleSharp.Services.Default
{
using System;
using System.Net;
/// <summary>
/// Represents the default cookie service. This class can be inherited.
/// </summary>
public class MemoryCookieService : ICookieService
{
readonly CookieContainer _container;
/// <summar... | namespace AngleSharp.Services.Default
{
using System;
using System.Net;
/// <summary>
/// Represents the default cookie service. This class can be inherited.
/// </summary>
public class MemoryCookieService : ICookieService
{
readonly CookieContainer _container;
/// <summar... | Reset cookies before setting (otherwise merges existing with new) | Reset cookies before setting (otherwise merges existing with new)
| C# | mit | FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,AngleSharp... |
63f43049266e0951c32b26af2320f85ad887fd32 | src/ErgastApi/Requests/Standard/StandardRequest.cs | src/ErgastApi/Requests/Standard/StandardRequest.cs | using ErgastApi.Client.Attributes;
using ErgastApi.Responses;
using ErgastApi.Responses.Models;
namespace ErgastApi.Requests
{
public abstract class StandardRequest<TResponse> : ErgastRequest<TResponse> where TResponse : ErgastResponse
{
[UrlSegment("constructors")]
public virtual string Constr... | using ErgastApi.Client.Attributes;
using ErgastApi.Responses;
using ErgastApi.Responses.Models;
namespace ErgastApi.Requests
{
public abstract class StandardRequest<TResponse> : ErgastRequest<TResponse> where TResponse : ErgastResponse
{
[UrlSegment("constructors")]
public virtual string Constr... | Fix error with fastest lap ranking | Fix error with fastest lap ranking
| C# | unlicense | Krusen/ErgastApi.Net |
4db1ad7c174b7ba6825b9cc8623c30ef6a76ec5a | src/StatisticsRomania/StatisticsRomania.Droid/Properties/AssemblyInfo.cs | src/StatisticsRomania/StatisticsRomania.Droid/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | Remove permission request to storage | Remove permission request to storage
| C# | mit | OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania |
19e95d15aeb113108702ba5b248b80534088de7e | osu!StreamCompanion/Code/Modules/MapDataGetters/Window/WindowDataGetter.cs | osu!StreamCompanion/Code/Modules/MapDataGetters/Window/WindowDataGetter.cs | using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Interfeaces;
using osu_StreamCompanion.Code.Windows;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Window
{
public class WindowDataGetter :IModule,IMapDataGetter,IMainWindowUpdater
{
private MainWindowUpdater _ma... | using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Interfeaces;
using osu_StreamCompanion.Code.Windows;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Window
{
public class WindowDataGetter :IModule,IMapDataGetter,IMainWindowUpdater
{
private MainWindowUpdater _ma... | Fix main window not displaying map difficulty when watching | Fix main window not displaying map difficulty when watching
| C# | mit | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion |
6863432670e54717656f8e60091ea9313d207abe | test/Hangfire.LiteDB.Test/Utils/ConnectionUtils.cs | test/Hangfire.LiteDB.Test/Utils/ConnectionUtils.cs | using System;
using System.IO;
namespace Hangfire.LiteDB.Test.Utils
{
#pragma warning disable 1591
public static class ConnectionUtils
{
private const string Ext = "db";
private static string GetConnectionString()
{
return Path.GetFullPath(string.Format("Hangfire-L... | using System;
using System.IO;
namespace Hangfire.LiteDB.Test.Utils
{
#pragma warning disable 1591
public static class ConnectionUtils
{
private const string Ext = "db";
private static string GetConnectionString()
{
var pathDb = Path.GetFullPath(string.Format("Hang... | Fix macOS plataform Unit Testing | Fix macOS plataform Unit Testing
| C# | mit | codeyu/Hangfire.LiteDB |
91b498240b177366006dc88ca40f6295c76eb36d | Assets/Scripts/Pages/Extras/ClockText.cs | Assets/Scripts/Pages/Extras/ClockText.cs | using System;
using System.Collections;
using UnityEngine;
public class ClockText : MonoBehaviour
{
private TextMesh _textMesh = null;
private void Awake()
{
_textMesh = GetComponent<TextMesh>();
}
private void Update()
{
StartCoroutine(UpdatePerSecond());
}
private ... | using System;
using System.Collections;
using UnityEngine;
public class ClockText : MonoBehaviour
{
private TextMesh _textMesh = null;
private void Awake()
{
_textMesh = GetComponent<TextMesh>();
}
private void OnEnable()
{
StartCoroutine(UpdatePerSecond());
}
privat... | Fix my idiotic Coroutine firing | Fix my idiotic Coroutine firing
| C# | mit | ashbash1987/ktanemod-modselector |
d01d43d7d96890c33f30803b6dd47db870c6a8fa | src/TrivialWebApiWithActor/Web/HomeController.cs | src/TrivialWebApiWithActor/Web/HomeController.cs | using Akka.Actor;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace TrivialWebApiWithActor.Web
{
public class GreetController
: Controller
{
readonly IActorRef _greeter;
public GreetController(IActorRef greeter)
{
_greeter = greeter;
}
... | using Akka.Actor;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace TrivialWebApiWithActor.Web
{
public class GreetController
: Controller
{
readonly IActorRef _greeter;
public GreetController(ILogger<GreetController> logger, IA... | Add logging to home controller. | Add logging to home controller.
| C# | apache-2.0 | DimensionDataCBUSydney/akka-cluster-demo,DimensionDataCBUSydney/akka-cluster-demo,DimensionDataCBUSydney/akka-cluster-demo |
35c6a477b10a1e8d62f1660ac87f3f2ec04f3f36 | src/NQuery.Authoring.UnitTests/CompilationFactory.cs | src/NQuery.Authoring.UnitTests/CompilationFactory.cs | using System;
using NQuery.Data.Samples;
namespace NQuery.Authoring.UnitTests
{
internal static class CompilationFactory
{
private static readonly DataContext DataContext = DataContextFactory.CreateNorthwind();
public static Compilation CreateQuery(string query)
{
int posi... | using System;
using NQuery.Data.Samples;
using NQuery.Text;
namespace NQuery.Authoring.UnitTests
{
internal static class CompilationFactory
{
private static readonly DataContext DataContext = DataContextFactory.CreateNorthwind();
public static Compilation CreateQuery(string query)
{
... | Add a test helper that allows marking spans in the query text | Add a test helper that allows marking spans in the query text
Include marking positions using a pipe:
SELECT e.First|Name
FROM Employees e
as well as spans using braces:
SELECT e.{FirstName}
FROM Employees e
This will simplify authoring unit tests.
| C# | mit | terrajobst/nquery-vnext |
8053cedc51401c838bc31294a3addb806b8ca4ad | src/Nimbus/BackwardCompatibilityAdaptorExtensions.cs | src/Nimbus/BackwardCompatibilityAdaptorExtensions.cs | using System;
using System.Threading.Tasks;
using Nimbus.MessageContracts;
namespace Nimbus
{
public static class BackwardCompatibilityAdaptorExtensions
{
[Obsolete("Deprecated in favour of .SendAt(...) and .SendAfter(...) methods. This adaptor method will be removed in a future release.")]
pu... | using System;
using System.Threading.Tasks;
using Nimbus.MessageContracts;
namespace Nimbus
{
public static class BackwardCompatibilityAdaptorExtensions
{
[Obsolete("Deprecated in favour of .SendAt(...) and .SendAfter(...) methods. This adaptor method will be removed in a future release.", true)]
... | Set obsolete Bus.Defer extension methods to error rather than warn. We'll remove these shortly. | Set obsolete Bus.Defer extension methods to error rather than warn. We'll remove these shortly.
| C# | mit | KodrAus/Nimbus,KodrAus/Nimbus,NimbusAPI/Nimbus,NimbusAPI/Nimbus,KodrAus/Nimbus |
4d2827cb0c7109757947581d65fb8019f02fcdd5 | Oogstplanner.Services/CalendarLikingService.cs | Oogstplanner.Services/CalendarLikingService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Oogstplanner.Data;
using Oogstplanner.Models;
namespace Oogstplanner.Services
{
public class CalendarLikingService : ServiceBase, ICalendarLikingService
{
readonly IUserService userService;
public CalendarLikingService(... | using System;
using System.Collections.Generic;
using System.Linq;
using Oogstplanner.Data;
using Oogstplanner.Models;
namespace Oogstplanner.Services
{
public class CalendarLikingService : ServiceBase, ICalendarLikingService
{
readonly IUserService userService;
public CalendarLikingService(... | Fix bug: delete likes to the calendar with the specified id | Fix bug: delete likes to the calendar with the specified id
| C# | mit | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner |
c7dff8a2a0be7e69f18235acad6157ca2c3d9a21 | Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs | Assets/Scripts/HarryPotterUnity/Cards/Generic/Lesson.cs | using System.Collections.Generic;
using HarryPotterUnity.Cards.Interfaces;
using JetBrains.Annotations;
using UnityEngine;
namespace HarryPotterUnity.Cards.Generic
{
[UsedImplicitly]
public class Lesson : GenericCard, IPersistentCard {
public enum LessonTypes
{
Creatures = 0, Char... | using System.Collections.Generic;
using HarryPotterUnity.Cards.Interfaces;
using JetBrains.Annotations;
using UnityEngine;
namespace HarryPotterUnity.Cards.Generic
{
[UsedImplicitly]
public class Lesson : GenericCard, IPersistentCard {
public enum LessonTypes
{
Creatures = 0, Char... | Remove expression type (not supported in unity) | Remove expression type (not supported in unity)
| C# | mit | StefanoFiumara/Harry-Potter-Unity |
9c495a8aabd6b4ee7fe8c15f03632a7adeb95a2b | src/Microsoft.Azure.Jobs.Host/Queues/Listeners/HostMessageListenerFactory.cs | src/Microsoft.Azure.Jobs.Host/Queues/Listeners/HostMessageListenerFactory.cs | using Microsoft.Azure.Jobs.Host.Bindings;
using Microsoft.Azure.Jobs.Host.Executors;
using Microsoft.Azure.Jobs.Host.Indexers;
using Microsoft.Azure.Jobs.Host.Listeners;
using Microsoft.Azure.Jobs.Host.Loggers;
using Microsoft.WindowsAzure.Storage.Queue;
namespace Microsoft.Azure.Jobs.Host.Queues.Listeners
{
inte... | using System;
using Microsoft.Azure.Jobs.Host.Bindings;
using Microsoft.Azure.Jobs.Host.Executors;
using Microsoft.Azure.Jobs.Host.Indexers;
using Microsoft.Azure.Jobs.Host.Listeners;
using Microsoft.Azure.Jobs.Host.Loggers;
using Microsoft.WindowsAzure.Storage.Queue;
namespace Microsoft.Azure.Jobs.Host.Queues.Listen... | Use faster polling for handling dashboard buttons. | Use faster polling for handling dashboard buttons.
| C# | mit | gibwar/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,oaastest/azure-webjobs-sdk,oaastest/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,Azure/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,brendank... |
cfaa64006f708a89fa7a05e1f16765a4f693163b | ML.TypingClassifier/Controllers/SinkController.cs | ML.TypingClassifier/Controllers/SinkController.cs | using ML.TypingClassifier.Models;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ML.TypingClassifier.Controllers
{
[RoutePrefix("sink")]
public class SinkController : ... | using ML.TypingClassifier.Models;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace ML.TypingClassifier.Controllers
{
[RoutePrefix("sink")]
public class SinkController : ... | Send data back to client. | Send data back to client.
| C# | mit | joshuadeleon/typingclassifier,joshuadeleon/typingclassifier,joshuadeleon/typingclassifier |
9513897c45a07b8feea66b613e350e40d64c1c69 | NServiceMVC.Examples.Todomvc/Controllers/TodosController.cs | NServiceMVC.Examples.Todomvc/Controllers/TodosController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NServiceMVC;
using AttributeRouting;
namespace NServiceMVC.Examples.Todomvc.Controllers
{
public class TodosController : ServiceController
{
[GET("todos")]
public IEnumerable<Models.Todo> Index()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using NServiceMVC;
using AttributeRouting;
using System.ComponentModel;
namespace NServiceMVC.Examples.Todomvc.Controllers
{
public class TodosController : ServiceController
{
private static IList<Models.Todo> Todos; // in-m... | Add very basic REST methods for todomvc using in-memory list | Add very basic REST methods for todomvc using in-memory list
| C# | mit | gregmac/NServiceMVC.Examples.Todomvc,gregmac/NServiceMVC.Examples.Todomvc |
6e8ad11f792579d725643993b43f5c9139784a35 | TwitterCrawlerDemo/source/Twitter.Streaming.Listner/Configurations/TwitterListnerConfiguration.cs | TwitterCrawlerDemo/source/Twitter.Streaming.Listner/Configurations/TwitterListnerConfiguration.cs | using System.Collections.Generic;
namespace Twitter.Streaming.Configurations
{
public interface ITwitterListnerConfiguration
{
ITwitterCredential Credentials { get; }
IEnumerable<string> Tracks { get; }
IEnumerable<int> Languages { get; }
}
public class TwitterListnerConfigu... | using System.Collections.Generic;
namespace Twitter.Streaming.Configurations
{
public interface ITwitterListnerConfiguration
{
ITwitterCredential Credentials { get; }
IEnumerable<string> Tracks { get; }
IEnumerable<int> Languages { get; }
}
public class TwitterListnerConfigu... | Add tracks for Twitter crawler | Add tracks for Twitter crawler
| C# | mit | dmitrypetukhov/evangelism,dmitrypetukhov/evangelism,dmitrypetukhov/evangelism,dmitrypetukhov/evangelism |
4aa83eb55186e829145862a985eca337645d5a4c | src/Generator/Passes/ResolveIncompleteDeclsPass.cs | src/Generator/Passes/ResolveIncompleteDeclsPass.cs | using System;
using CppSharp.Types;
namespace CppSharp.Passes
{
public class ResolveIncompleteDeclsPass : TranslationUnitPass
{
public ResolveIncompleteDeclsPass()
{
}
public override bool VisitClassDecl(Class @class)
{
if (@class.Ignore)
re... | using System;
using CppSharp.Types;
namespace CppSharp.Passes
{
public class ResolveIncompleteDeclsPass : TranslationUnitPass
{
public ResolveIncompleteDeclsPass()
{
}
public override bool VisitClassDecl(Class @class)
{
if (@class.Ignore)
re... | Use the fully qualified name when searching for complete declarations. | Use the fully qualified name when searching for complete declarations.
| C# | mit | genuinelucifer/CppSharp,u255436/CppSharp,imazen/CppSharp,imazen/CppSharp,u255436/CppSharp,zillemarco/CppSharp,inordertotest/CppSharp,SonyaSa/CppSharp,mohtamohit/CppSharp,xistoso/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,Samana/CppSharp,mono/CppSharp,Samana/CppSharp,nalkaro/CppSharp,ktopouzi/CppSharp,xistoso/Cpp... |
e08e099df7933f83cd2228e80a255295e44bdc4c | hiddentreasure-etw-demo/PowerShellImageLoad.cs | hiddentreasure-etw-demo/PowerShellImageLoad.cs | using System;
using System.Diagnostics;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellImageLoad
{
public static UserTrace CreateTrace()
{
var filter = new EventFilter(Filter
.EventIdIs(5)
.And(UnicodeStrin... | using System;
using System.Diagnostics;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellImageLoad
{
public static UserTrace CreateTrace()
{
// Unfortunately, this detection won't work for
// processes that *already* have System... | Add comment about checking for PowerShell DLL loaded. | Add comment about checking for PowerShell DLL loaded. | C# | mit | zacbrown/hiddentreasure-etw-demo |
e504a4238a0ab75a7f88084a90fe1567e4151499 | src/IdentityServer4/Validation/NotSupportedResouceOwnerCredentialValidator.cs | src/IdentityServer4/Validation/NotSupportedResouceOwnerCredentialValidator.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
using IdentityServer4.Models;
namespace IdentityServer4.Validation
{
//... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
using IdentityServer4.Models;
namespace IdentityServer4.Validation
{
//... | Change log level from warning to information | Change log level from warning to information
| C# | apache-2.0 | MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4 |
70daf45701e2f289af588b845484b49f5db3d65a | Battery-Commander.Web/Views/Units/List.cshtml | Battery-Commander.Web/Views/Units/List.cshtml | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<t... | @model IEnumerable<Unit>
<div class="page-header">
<h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<t... | Fix unit link for vehicles | Fix unit link for vehicles
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
8db89204128e577f79bdfb8452f8dbdee020382a | source/NuGet.Lucene.Web/NuGetWebApiWebHostSettings.cs | source/NuGet.Lucene.Web/NuGetWebApiWebHostSettings.cs | using System.IO;
using System.Web.Hosting;
namespace NuGet.Lucene.Web
{
public class NuGetWebApiWebHostSettings : NuGetWebApiSettings
{
protected override string MapPathFromAppSetting(string key, string defaultValue)
{
var path = base.GetAppSetting(key, defaultValue);
i... | using System.Collections.Specialized;
using System.IO;
using System.Web.Hosting;
namespace NuGet.Lucene.Web
{
public class NuGetWebApiWebHostSettings : NuGetWebApiSettings
{
public NuGetWebApiWebHostSettings(string prefix) : base(prefix)
{
}
public NuGetWebApiWebHostSettings(s... | Add constructors to WebHost settings. | Add constructors to WebHost settings.
| C# | apache-2.0 | themotleyfool/NuGet.Lucene,Stift/NuGet.Lucene,googol/NuGet.Lucene |
544522cf8c6217fd30ea5a3935128324648668b7 | Sakuno.UserInterface/Commands/InvokeMethodExtension.cs | Sakuno.UserInterface/Commands/InvokeMethodExtension.cs | using Sakuno.UserInterface.ObjectOperations;
using System;
using System.Windows.Markup;
namespace Sakuno.UserInterface.Commands
{
public class InvokeMethodExtension : MarkupExtension
{
string r_Method;
object r_Parameter;
public InvokeMethodExtension(string rpMethod) : this(rpMethod,... | using Sakuno.UserInterface.ObjectOperations;
using System;
using System.Windows.Data;
using System.Windows.Markup;
namespace Sakuno.UserInterface.Commands
{
public class InvokeMethodExtension : MarkupExtension
{
string r_Method;
object r_Parameter;
public InvokeMethodExtension(string... | Support binding as the parameter value | Support binding as the parameter value
| C# | mit | KodamaSakuno/Library |
8d58cbf234ba482d4d994f5060e2be20d4b419ea | Battery-Commander.Web/Controllers/API/UsersController.cs | Battery-Commander.Web/Controllers/API/UsersController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using System.Net;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
public class UsersController : ApiController
{
private rea... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System;
using System.Net;
using System.Net.Http;
using System.Tex... | Add auth endpoint to API | Add auth endpoint to API
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
1da23f984cdc8becfb1a6f21811f8c9c5af734cd | src/UrlShortenerApi/Repositories/UrlRepository.cs | src/UrlShortenerApi/Repositories/UrlRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using UrlShortenerApi.Data;
using UrlShortenerApi.Models;
namespace UrlShortenerApi.Repositories
{
public class UrlRepository : IUrlRepository
{
ApplicationDbContext _context;
public UrlRepository(ApplicationDbContext context)
... | using System;
using System.Collections.Generic;
using System.Linq;
using UrlShortenerApi.Data;
using UrlShortenerApi.Models;
namespace UrlShortenerApi.Repositories
{
public class UrlRepository : IUrlRepository
{
ApplicationDbContext _context;
public UrlRepository(ApplicationDbContext context)
... | Add url short format uniqueness | api: Add url short format uniqueness
The url repository add method now verifies if a short format exist before saving a new url.
| C# | agpl-3.0 | jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener |
59dd10b36fe5c210dcb1b7e852e0c96e66668b49 | src/Twilio/Converters/Serializers.cs | src/Twilio/Converters/Serializers.cs | using System;
using System.Globalization;
using Newtonsoft.Json;
namespace Twilio.Converters
{
/// <summary>
/// Serialization methods for various datatypes before making requests to the API
/// </summary>
public class Serializers
{
/// <summary>
/// Produce a json string from inpu... | using System;
using System.Globalization;
using Newtonsoft.Json;
namespace Twilio.Converters
{
/// <summary>
/// Serialization methods for various datatypes before making requests to the API
/// </summary>
public class Serializers
{
/// <summary>
/// Produce a json string from inpu... | Add docs, use ternary operator | Add docs, use ternary operator
| C# | mit | twilio/twilio-csharp |
f881c3b90994f659cb91cf2757c729977704e8be | Assets/Vendor/DataHelpers/Editor/ValidationRunner.cs | Assets/Vendor/DataHelpers/Editor/ValidationRunner.cs |
using System.Collections.Generic;
using DataHelpers.Contracts;
namespace DataHelpers {
/// <summary>
/// Base class validator. All validators should be derived from this class.
/// </summary>
public class ValidationRunner {
/// <summary>
/// Check to see if the current valida... |
using System.Collections.Generic;
using DataHelpers.Contracts;
namespace DataHelpers {
/// <summary>
/// Base class validator. All validators should be derived from this class.
/// </summary>
public class ValidationRunner {
/// <summary>
/// Check to see if the current v... | Add debug info for failed import. | Add debug info for failed import.
Right now the importer fails silently if the validation fails. Alert the user via console which line failed. | C# | mit | apsdsm/datahelpers |
0e1d1c5a15af17929b1dbe950de86c8f4968f1ef | GekkoAssembler.Common/Optimizers/WriteDataOptimizer.cs | GekkoAssembler.Common/Optimizers/WriteDataOptimizer.cs | using System.Linq;
using GekkoAssembler.IntermediateRepresentation;
namespace GekkoAssembler.Optimizers
{
public class WriteDataOptimizer : IOptimizer
{
public IRCodeBlock Optimize(IRCodeBlock block)
{
var units = block.Units;
var replaced = true;
while (re... | using System.Linq;
using GekkoAssembler.IntermediateRepresentation;
namespace GekkoAssembler.Optimizers
{
public class WriteDataOptimizer : IOptimizer
{
public IRCodeBlock Optimize(IRCodeBlock block)
{
var units = block.Units;
var replaced = true;
while (re... | Fix a Bug where Merging Sections causes Problems | Fix a Bug where Merging Sections causes Problems
Merging a Data Section with another Data Section can cause problems with
Alignment. Therefore only Data Sections that are aligned properly are
merged.
| C# | mit | CryZe/GekkoAssembler |
ad4708177641df6e298742aeec411477f2a7d535 | src/Autofac/Core/ComponentRegistrationExtensions.cs | src/Autofac/Core/ComponentRegistrationExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Autofac.Core.Lifetime;
namespace Autofac.Core
{
/// <summary>
/// Extension methods for <see cref="IComponentRegistration"/>.
/// </summary>
public static class ComponentRegistrationExtensions
{
/// <summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using Autofac.Core.Lifetime;
namespace Autofac.Core
{
/// <summary>
/// Extension methods for <see cref="IComponentRegistration"/>.
/// </summary>
public static class ComponentRegistrationExtensions
{
/// <summary>
... | Fix for 'use pattern matching' issue. | Fix for 'use pattern matching' issue.
| C# | mit | autofac/Autofac |
a06068da4493ef3726fa11fb666c9c249b34f241 | src/Schema/Playlists/Response/Endpoints/PlaylistTag.cs | src/Schema/Playlists/Response/Endpoints/PlaylistTag.cs | using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response.Endpoints
{
public class PlaylistTag
{
[XmlElement("name")]
public string Name { get; set; }
}
} | using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response.Endpoints
{
public class PlaylistTag
{
[XmlElement("name")]
public string Name { get; set; }
[XmlElement("hidden")]
public bool Hidden { get; set; }
}
} | Add playlist tags hidden property | Add playlist tags hidden property
| C# | mit | scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema |
cbc5b5509a11d9f0d5ae2ba86f00a5729585c90a | source/Cosmos.Build.Builder/Services/InnoSetupService.cs | source/Cosmos.Build.Builder/Services/InnoSetupService.cs | using System.IO;
using Microsoft.Win32;
namespace Cosmos.Build.Builder.Services
{
internal class InnoSetupService : IInnoSetupService
{
private const string InnoSetupRegistryKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Inno Setup 5_is1";
public string GetInnoSetupInstallationPa... | using System.IO;
using Microsoft.Win32;
namespace Cosmos.Build.Builder.Services
{
internal class InnoSetupService : IInnoSetupService
{
private const string InnoSetupRegistryKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Inno Setup 6_is1";
public string GetInnoSetupInstallationPa... | Support for Inno Setup 6 | Support for Inno Setup 6
| C# | bsd-3-clause | zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos |
08a571d71306e6069ff4ef21fdaf3ec80968874d | Tests/IntegrationTests.Shared/NotificationTests.cs | Tests/IntegrationTests.Shared/NotificationTests.cs | using System;
using NUnit.Framework;
using Realms;
using System.Threading;
using System.IO;
namespace IntegrationTests.Shared
{
[TestFixture]
public class NotificationTests
{
private string _databasePath;
private Realm _realm;
private void WriteOnDifferentThread(Action<Realm> acti... | using System;
using NUnit.Framework;
using Realms;
using System.Threading;
using System.IO;
namespace IntegrationTests.Shared
{
[TestFixture]
public class NotificationTests
{
private string _databasePath;
private Realm _realm;
[SetUp]
public void Setup()
{
... | Test only on same thread. Multi-threaded test needs to be platform-specific. | Test only on same thread. Multi-threaded test needs to be platform-specific.
| C# | apache-2.0 | Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet |
09399b252b07475cc6cd5efec0f2aefe68baa3eb | Core/Utility/TemporaryFile.cs | Core/Utility/TemporaryFile.cs | using System;
using System.IO;
namespace NuGetPe
{
public sealed class TemporaryFile : IDisposable
{
public TemporaryFile(Stream stream, string? extension = null)
{
if (stream == null)
throw new ArgumentNullException(nameof(stream));
if (string.IsNullOr... | using System;
using System.IO;
namespace NuGetPe
{
public sealed class TemporaryFile : IDisposable
{
public TemporaryFile(Stream stream, string? extension = null)
{
if (stream == null)
throw new ArgumentNullException(nameof(stream));
if (string.IsNullOr... | Use GetRandomFileName when a specific extension is needed | Use GetRandomFileName when a specific extension is needed
GetTempFileName actually creates an empty file immediately resulting in empty files left over even when TemporaryFile is disposed.
| C# | mit | NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer |
2644fbe76abb84c148ce70913367adfc25d1faa2 | Assets/Scripts/DamageDealer.cs | Assets/Scripts/DamageDealer.cs | using UnityEngine;
using System.Collections;
public class DamageDealer : MonoBehaviour {
public float damageToDeal = 1;
// Use this for initialization
void OnCollisionStay2D(Collision2D col)
{
OnTriggerEnter2D(col.collider);
}
void OnTriggerStay2D(Collider2D col)
{
OnTrigger... | using UnityEngine;
using System.Collections;
public class DamageDealer : MonoBehaviour {
public float damageToDeal = 1;
void OnCollisionStay2D(Collision2D col)
{
handleCollision(col.collider);
}
void OnTriggerStay2D(Collider2D col)
{
handleCollision(col);
}
void OnCollisionEnte... | Refactor to not use unity's lifecycle event as a method directly | Refactor to not use unity's lifecycle event as a method directly
| C# | apache-2.0 | IGDAStl/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest,stlgamedev/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest |
0f7a617d935f1e2c8db8c764b004884f92db3ffe | EPPlusEnumerable/Extensions.cs | EPPlusEnumerable/Extensions.cs | namespace EPPlusEnumerable
{
using System;
using System.Reflection;
internal static class Extensions
{
public static T GetCustomAttribute<T>(this MemberInfo element, bool inherit) where T : Attribute
{
return (T)Attribute.GetCustomAttribute(element, typeof(T), inherit);
... | namespace EPPlusEnumerable
{
using System;
using System.Reflection;
internal static class Extensions
{
public static T GetCustomAttribute<T>(this MemberInfo element, Type type, bool inherit) where T : Attribute
{
var attr = (T)Attribute.GetCustomAttribute(element, typeof(T)... | Update GetCustomAttribute extensions to support taking in type. | Update GetCustomAttribute extensions to support taking in type.
In cases where attributes are stored on a metadata class, .GetCustomAttribute will not locate the attributes. We need to locate the MetadataTypeAttribute on the class, find the referenced type, and search that for attributes. | C# | mit | bradwestness/EPPlusEnumerable |
c2362f4ead334d9946316eee677ccf6a40e90629 | src/EditorFeatures/Test/TextEditorFactoryExtensions.cs | src/EditorFeatures/Test/TextEditorFactoryExtensions.cs | using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
internal static class TextEditorFactoryExtensions
{
publi... | // 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.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using System;
namespace Microsoft.CodeAnalysis.Editor.UnitTests
{
internal ... | Add copyright header, make property readonly | Add copyright header, make property readonly
| C# | apache-2.0 | TyOverby/roslyn,MichalStrehovsky/roslyn,mattscheffer/roslyn,AmadeusW/roslyn,balajikris/roslyn,balajikris/roslyn,yeaicc/roslyn,lorcanmooney/roslyn,ValentinRueda/roslyn,xoofx/roslyn,OmarTawfik/roslyn,AmadeusW/roslyn,jaredpar/roslyn,genlu/roslyn,AnthonyDGreen/roslyn,antonssonj/roslyn,dpoeschl/roslyn,AdamSpeight2008/roslyn... |
87a30890490fa74fadb7151df295767430fbff3e | osu.Framework.Tests/Platform/UserInputManagerTest.cs | osu.Framework.Tests/Platform/UserInputManagerTest.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.Framework.Input;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture]
public class UserInputManag... | // 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.Framework.Platform;
namespace osu.Framework.Tests.Platform
{
[TestFixture]
public class UserInputM... | Rework tests to not be visual and use headless game host | Rework tests to not be visual and use headless game host
| C# | mit | EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,DrabWeb/osu-fr... |
55a0586b13903999e5fd3ec04f8622ed077446c6 | osu.Game/Overlays/Home/Friends/FriendsOnlineStatusItem.cs | osu.Game/Overlays/Home/Friends/FriendsOnlineStatusItem.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.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Overlays.Home.Friends
{
public class FriendsOnlineStatusItem : OverlayUpdateStreamIt... | // 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.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Overlays.Home.Friends
{
public class FriendsOnlineStatusItem : OverlayUpdateStreamIt... | Move exception handling below all the cases | Move exception handling below all the cases
| C# | mit | peppy/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu-new,EVAST9919/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu |
0a840a26133b76a1bbd80b9d77782843460e28d9 | osu.Game.Rulesets.Mania/Edit/ManiaBlueprintContainer.cs | osu.Game.Rulesets.Mania/Edit/ManiaBlueprintContainer.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.Collections.Generic;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Edit.Blueprints;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.... | // 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.Collections.Generic;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Edit.Blueprints;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.... | Fix mania not getting its own selection handler | Fix mania not getting its own selection handler
| C# | mit | NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu |
c4bf443e69a0a596a3379730c3b6b635328a5c2c | NBi.Services/RunnerConfig/NUnitRunnerConfigBuilder.cs | NBi.Services/RunnerConfig/NUnitRunnerConfigBuilder.cs | using System;
using System.IO;
using System.Linq;
namespace NBi.Service.RunnerConfig
{
class NUnitRunnerConfigBuilder : AbstractRunnerConfigBuilder
{
public NUnitRunnerConfigBuilder()
: base("NBi.config", "NUnit.nunit")
{
}
public NUnitRunnerConfigBu... | using System;
using System.IO;
using System.Linq;
namespace NBi.Service.RunnerConfig
{
class NUnitRunnerConfigBuilder : AbstractRunnerConfigBuilder
{
public NUnitRunnerConfigBuilder()
: base("NBi.config", "NUnit.nunit")
{
}
public NUnitRunnerConfigBu... | Fix the bug that the config for NUnit was not in the correct folder | Fix the bug that the config for NUnit was not in the correct folder
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
a45d7b65c2377101a7becc489560851ef00434ae | src/CheckRepublic.Logic/Business/HeartbeatService.cs | src/CheckRepublic.Logic/Business/HeartbeatService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Knapcode.CheckRepublic.Logic.Entities;
using Microsoft.EntityFrameworkCore;
namespace Knapcode.CheckRepublic.Logic.Business
{
public class HeartbeatService : IHeartbeatService
{
private readonly CheckContext _context;
p... | using System;
using System.Threading;
using System.Threading.Tasks;
using Knapcode.CheckRepublic.Logic.Entities;
using Microsoft.EntityFrameworkCore;
namespace Knapcode.CheckRepublic.Logic.Business
{
public class HeartbeatService : IHeartbeatService
{
private readonly CheckContext _context;
p... | Clear heart on returned heartbeat | Clear heart on returned heartbeat
| C# | mit | joelverhagen/CheckRepublic,joelverhagen/CheckRepublic,joelverhagen/CheckRepublic |
6c808ddcfad1b67b567e97d5d14f64eeeb846ead | src/Glimpse.Agent.AspNet.Mvc/Razor/ScriptInjector.cs | src/Glimpse.Agent.AspNet.Mvc/Razor/ScriptInjector.cs | using System;
using Glimpse.Common;
using Glimpse.Initialization;
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
namespace Glimpse.Agent.Razor
{
[HtmlTargetElement("body")]
public class ScriptInjector : TagHelper
{
private readonly Guid _requestId;
private readonly ScriptOptions _scriptOp... | using System;
using Glimpse.Common;
using Glimpse.Initialization;
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
namespace Glimpse.Agent.Razor
{
[HtmlTargetElement("body")]
public class ScriptInjector : TagHelper
{
private readonly Guid _requestId;
private readonly ScriptOptions _scriptOp... | Update script injection tags to match what the scripts are expecting | Update script injection tags to match what the scripts are expecting
| C# | mit | zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prot... |
8d270ae328a4b686ed0a54f47669ee9cb5ed7fdc | src/MusicStore.Spa/Infrastructure/SmartJsonResult.cs | src/MusicStore.Spa/Infrastructure/SmartJsonResult.cs | using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Microsoft.AspNet.Mvc
{
public class SmartJsonResult : ActionResult
{
public SmartJsonResult() : base()
{
}
public JsonSerializerSettings Settings { get; set; }
public object Data... | using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Newtonsoft.Json;
namespace Microsoft.AspNet.Mvc
{
public class SmartJsonResult : ActionResult
{
public SmartJsonResult() : base()
{
}
public JsonSerializerSettings Settings { get; set; ... | Add namespace for Response.Write extension. | Add namespace for Response.Write extension.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
d980f318229f9e37b3269dcef2cde12fac423b34 | plugin.skeleton.cs | plugin.skeleton.cs | using System.Collections.Generic;
// Using directives for plugin use.
using MeidoCommon;
using System.ComponentModel.Composition;
[Export(typeof(IMeidoHook))]
public class MyClass : IMeidoHook
{
readonly IIrcComm irc;
public string Prefix { get; set; }
public string Name
{
get { return "MyCla... | using System.Collections.Generic;
// Using directives for plugin use.
using MeidoCommon;
using System.ComponentModel.Composition;
// IMeidoHook wants you to implement `Name`, `Version`, `Help` and the `Stop` method.
[Export(typeof(IMeidoHook))]
public class MyClass : IMeidoHook
{
public string Name
{
g... | Update so it's once again in line with the interface and preferred paradigm (RegisterTrigger). | Update so it's once again in line with the interface and preferred
paradigm (RegisterTrigger). | C# | bsd-2-clause | IvionSauce/MeidoBot |
e1490a3ad5b42e14d5793f9b487bf7865e1bc5d8 | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Messages/Events/EntityStateChangedEvent.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Messages/Events/EntityStateChangedEvent.cs | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Messages.Events
{
public class EntityStateChangedEvent
{
public Guid CorrelationId { get; set; }
public UserAction StateChangeType { get; set; }
public string EntityType { get; set; }
public long E... | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Messages.Events
{
public class EntityStateChangedEvent
{
public Guid CorrelationId { get; set; }
public UserAction StateChangeType { get; set; }
public string EntityType { get; set; }
public long E... | Revert "CV-500 Added ApprenticeshipCompleted to UserAction" | Revert "CV-500 Added ApprenticeshipCompleted to UserAction"
This reverts commit 05dd9fbdca31201abe69cd5148508bbc5d129846.
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
08590a4c31dfc7d4a767f1e6f672ba54af92d867 | BmpListener/Bgp/IPAddrPrefix.cs | BmpListener/Bgp/IPAddrPrefix.cs | using System;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
public IPAddrPrefix(byte[] data, AddressFamily afi = AddressFamily.IP)
{
DecodeFromBytes(data, afi);
}
public byte Length { get; private set; }
public IPAddress Prefix {... | using System;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
public IPAddrPrefix(ArraySegment<byte> data, AddressFamily afi = AddressFamily.IP)
{
Length = data.Array[data.Offset];
var ipBytes = new byte[ByteLength - 1];
Array.Copy(... | Change ctor parameter from byte to ArraySegment<byte> | Change ctor parameter from byte to ArraySegment<byte>
| C# | mit | mstrother/BmpListener |
be7f7448030ce1a2edadf7cfe0f904de069f3685 | Junctionizer/UI/Columns/DependentOnFinalSizeColumn.xaml.cs | Junctionizer/UI/Columns/DependentOnFinalSizeColumn.xaml.cs | using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace Junctionizer.UI.Columns
{
public partial class DependentOnFinalSizeColumn
{
public DependentOnFinalSizeColumn()
{
InitializeComponent();
}
public override BindingBase Binding
... | using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Junctionizer.Model;
namespace Junctionizer.UI.Columns
{
public partial class DependentOnFinalSizeColumn
{
public DependentOnFinalSizeColumn()
{
InitializeComponent();
}
public ov... | Remove hard coded variable name. | Remove hard coded variable name.
| C# | mit | NickLargen/Junctionizer |
7ee01ee3233a5a3d7eee3b1f41a018d923567e35 | osu.Game.Tests/Visual/Online/TestSceneRankingsScopeSelector.cs | osu.Game.Tests/Visual/Online/TestSceneRankingsScopeSelector.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 System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Shapes;
using osu.Framework.All... | // 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 System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Shapes;
using osu.Framework.All... | Use assignment instead of binding | Use assignment instead of binding
| C# | mit | smoogipoo/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,Neo... |
1a31bd140f5257a07a40317e15410f29e6a7268e | OdeToFood/OdeToFood/Controllers/CuisineController.cs | OdeToFood/OdeToFood/Controllers/CuisineController.cs | using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Including parameter named "name" causes MVC framework to try to
// find a parameter named "name" in ANY of the web request (routing
// data, q... | using System.Net;
using System.Web.Mvc;
namespace OdeToFood.Controllers
{
public class CuisineController : Controller
{
//
// GET: /Cuisine/
// Including parameter named "name" causes MVC framework to try to
// find a parameter named "name" in ANY of the web request (routing
... | Return File() result (file on the server). | Return File() result (file on the server).
| C# | isc | mrwizard82d1/building_mvc4,mrwizard82d1/building_mvc4 |
e5f0b123ca58a2490adc24c5c054d0a6b3bd1c7a | src/Assent/Reporters/DiffReporter.cs | src/Assent/Reporters/DiffReporter.cs | using System;
using System.Collections.Generic;
using Assent.Reporters.DiffPrograms;
namespace Assent.Reporters
{
public class DiffReporter : IReporter
{
#if NET45
internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT;
#else
internal static readonly bool... | using System;
using System.Collections.Generic;
using Assent.Reporters.DiffPrograms;
namespace Assent.Reporters
{
public class DiffReporter : IReporter
{
#if NET45
internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT;
#else
internal static readonly bool... | Add more reporters by default | Add more reporters by default
| C# | mit | droyad/Assent |
e639e991524eb4386f2a54b1a5904f196ca0fc04 | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateManager.cs | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateManager.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.ResourceDownloading;
using Squirrel;
using System;
using System.Collections;
using System.Diagnostics;
using S... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.ResourceDownloading;
using Squirrel;
using System;
using System.Collections;
using System.Diagnostics;
using S... | Put Squirrel updater behind conditional compilation flag | Put Squirrel updater behind conditional compilation flag
| C# | mit | willduff/OpenLiveWriter-1,willduff/OpenLiveWriter-1,hashhar/OpenLiveWriter,willduff/OpenLiveWriter-1,willduff/OpenLiveWriter-1,hashhar/OpenLiveWriter,hashhar/OpenLiveWriter,hashhar/OpenLiveWriter,hashhar/OpenLiveWriter,willduff/OpenLiveWriter-1 |
cf933bdd420c16b93b16381eb9e0d02948298fab | src/NUnitFramework/tests/Internal/ThreadUtilityTests.cs | src/NUnitFramework/tests/Internal/ThreadUtilityTests.cs | #if !NETSTANDARD1_3 && !NETSTANDARD1_6
using System.Runtime.InteropServices;
using System.Threading;
namespace NUnit.Framework.Internal
{
[TestFixture]
public class ThreadUtilityTests
{
[Platform("Win")]
[Timeout(1000)]
[TestCase(false, TestName = "Abort")]
[TestCase(true,... | #if !NETSTANDARD1_3 && !NETSTANDARD1_6
using System.Runtime.InteropServices;
using System.Threading;
namespace NUnit.Framework.Internal
{
[TestFixture]
public class ThreadUtilityTests
{
[Platform("Win")]
[TestCase(false, TestName = "Abort")]
[TestCase(true, TestName = "Kill")]
... | Stop using [Timeout] so that there should be no thread abort on the test thread | Stop using [Timeout] so that there should be no thread abort on the test thread
| C# | mit | ggeurts/nunit,mjedrzejek/nunit,NikolayPianikov/nunit,JustinRChou/nunit,nunit/nunit,appel1/nunit,ggeurts/nunit,appel1/nunit,agray/nunit,mikkelbu/nunit,jadarnel27/nunit,JustinRChou/nunit,mikkelbu/nunit,nunit/nunit,mjedrzejek/nunit,OmicronPersei/nunit,agray/nunit,NikolayPianikov/nunit,agray/nunit,OmicronPersei/nunit,jadar... |
3db81d6de439e250196721629e78c65f922cdb37 | src/EditorFeatures/Core/Implementation/IntelliSense/QuickInfo/QuickInfoSourceProvider.cs | src/EditorFeatures/Core/Implementation/IntelliSense/QuickInfo/QuickInfoSourceProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.Co... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.Co... | Disable local hover in cloud env | Disable local hover in cloud env
| C# | mit | CyrusNajmabadi/roslyn,mavasani/roslyn,sharwell/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,wvdd007/roslyn,tannergooding/roslyn,genlu/roslyn,tannergooding/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,diryboy/roslyn,heejaechang/roslyn,brettfo/roslyn,dotnet/roslyn,stephentoub/roslyn,genlu/roslyn,panopt... |
588b5976612579183a6b3a122d9b38cc038819af | LogicalShift.Reason/Solvers/ChainedResult.cs | LogicalShift.Reason/Solvers/ChainedResult.cs | using LogicalShift.Reason.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// A query result where the next result is retrieved by a function
/// </summary>
public class ChainedResult : IQueryRe... | using LogicalShift.Reason.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LogicalShift.Reason.Solvers
{
/// <summary>
/// A query result where the next result is retrieved by a function
/// </summary>
public class ChainedResult : IQueryRe... | Fix chainedresult to actually chain the results if there are more than 2 | Fix chainedresult to actually chain the results if there are more than 2
| C# | apache-2.0 | Logicalshift/Reason |
0788585d40bba085427b711420a5509e68cbb245 | SolidworksAddinFramework/ModelViewManagerExtensions.cs | SolidworksAddinFramework/ModelViewManagerExtensions.cs | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | Update comment about when a section view can't be removed | Update comment about when a section view can't be removed
| C# | mit | Weingartner/SolidworksAddinFramework |
dc23e29d137a1c27b89c3953ba402c065cb88904 | src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Fcntl.cs | src/mscorlib/corefx/Interop/Unix/System.Native/Interop.Fcntl.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static par... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static par... | Fix Typo in Unix Lock/Unlock PAL | Fix Typo in Unix Lock/Unlock PAL
| C# | mit | kyulee1/coreclr,alexperovich/coreclr,jamesqo/coreclr,sjsinju/coreclr,tijoytom/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,cydhaselton/coreclr,yeaicc/coreclr,cshung/coreclr,hseok-oh/coreclr,ragmani/coreclr,krk/coreclr,mskvortsov/coreclr,neurospeech/coreclr,botaberg/coreclr,botaberg/coreclr,krytarowski/coreclr,ragm... |
3c901984bd33638411e3a53bb0219f5674185bf4 | src/web/Controllers/HomeController.cs | src/web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using wwwplatform.Extensions;
using wwwplatform.Models;
namespace wwwplatform.Controllers
{
public class HomeController : BaseController
{
public ActionResult Index()
{
var pa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using wwwplatform.Extensions;
using wwwplatform.Models;
namespace wwwplatform.Controllers
{
public class HomeController : BaseController
{
public ActionResult Index()
{
var pa... | Allow redirectUrl and custom layout on home page | Allow redirectUrl and custom layout on home page
| C# | apache-2.0 | brondavies/wwwplatform.net,brondavies/wwwplatform.net,brondavies/wwwplatform.net |
2d2122137f88bc606a8d744637e07bc6addaa4e6 | CarFuel/Controllers/CarsController.cs | CarFuel/Controllers/CarsController.cs | using CarFuel.Models;
using CarFuel.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using CarFuel.DataAccess;
namespace CarFuel.Controllers
{
public class CarsController : Controller
{
//private stati... | using CarFuel.Models;
using CarFuel.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using CarFuel.DataAccess;
using System.Net;
namespace CarFuel.Controllers
{
public class CarsController : Controller
{
... | Handle null id for Cars/Details action | Handle null id for Cars/Details action
if users don't supply id value in the URL, instead of displaying YSOD, we ar now return BadRequest.
| C# | mit | aromdee04/tdd-carfuel,aromdee04/tdd-carfuel,aromdee04/tdd-carfuel |
f160904f2088478c6eff12769a3ae2963ce6e4ee | Box.V2.Test.Integration/BoxUsersManagerTestIntegration.cs | Box.V2.Test.Integration/BoxUsersManagerTestIntegration.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Box.V2.Models;
using System.Threading.Tasks;
namespace Box.V2.Test.Integration
{
[TestClass]
public class BoxUsersManagerTestIntegration : BoxResourceManagerTestIntegration
{
[TestMethod]
public async Task UsersInform... | using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Box.V2.Models;
using System.Threading.Tasks;
namespace Box.V2.Test.Integration
{
[TestClass]
public class BoxUsersManagerTestIntegration : BoxResourceManagerTestIntegration
{
[TestMethod]
public asy... | Add integration test for same. | Add integration test for same.
| C# | apache-2.0 | marek-vysoky/box-windows-sdk-v2,box/box-windows-sdk-v2,iLovebooks100per/box-windows-sdk-v2,varungu/box-windows-sdk-v2,JogyBlack/box-windows-sdk-v2,themanfrommsu/Box1 |
bf85f4affb1eca46513b17dd2442b40df78cce32 | osu.Game/Screens/Edit/Compose/ComposeScreen.cs | osu.Game/Screens/Edit/Compose/ComposeScreen.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.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components.Timeline;
using osu.Ga... | // 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.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components.Timeline;
using osu.Ga... | Fix editor crashing when loading a beatmap for an unsupported ruleset | Fix editor crashing when loading a beatmap for an unsupported ruleset
| C# | mit | peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,2yangk23/osu,ppy/osu,EVAST9919/osu |
93dbfd14826a4eec1f2c30a5f72d588da4f6420a | Samples/Stylet.Samples.MasterDetail/EmployeeModel.cs | Samples/Stylet.Samples.MasterDetail/EmployeeModel.cs | using System;
namespace Stylet.Samples.MasterDetail
{
public class EmployeeModel
{
public string Name { get; set; }
}
}
| using System;
namespace Stylet.Samples.MasterDetail
{
public class EmployeeModel : PropertyChangedBase
{
private string _name;
public string Name
{
get { return this._name; }
set { this.SetAndNotify(ref this._name, value); }
}
}
}
| Make Master/Detail sample not rely on WPF magic | Make Master/Detail sample not rely on WPF magic
Fixes #33
| C# | mit | canton7/Stylet,canton7/Stylet |
82d5a1338e32d32fcd7cc48f2fc95b628520bea0 | Assets/Alensia/Demo/Controller/MainMenu.cs | Assets/Alensia/Demo/Controller/MainMenu.cs | using Alensia.Core.UI;
using UniRx;
using UnityEditor;
using UnityEngine;
namespace Alensia.Demo.Controller
{
public class MainMenu : Box
{
protected readonly CompositeDisposable Observers;
public MainMenu(IUIManager manager) : base(
new BoxLayout(BoxLayout.BoxOrientation.Vertical)... | using Alensia.Core.UI;
using UniRx;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Alensia.Demo.Controller
{
public class MainMenu : Box
{
protected readonly CompositeDisposable Observers;
public MainMenu(IUIManager manager) : base(
new BoxLayout(BoxLayout.... | Use preprocessor check for editor mode to fix build failure | Use preprocessor check for editor mode to fix build failure
| C# | apache-2.0 | mysticfall/Alensia |
2d1b668eae3fe54b31eab14908196575e9195e5e | DancingGoat/Controllers/AboutController.cs | DancingGoat/Controllers/AboutController.cs | using System.Threading.Tasks;
using System.Web.Mvc;
using DancingGoat.Models;
using System.Collections.Generic;
namespace DancingGoat.Controllers
{
public class AboutController : ControllerBase
{
public async Task<ActionResult> Index()
{
var response = await client.GetItemAsync<Abo... | using System.Threading.Tasks;
using System.Web.Mvc;
using DancingGoat.Models;
using System.Collections.Generic;
using KenticoCloud.Delivery;
namespace DancingGoat.Controllers
{
public class AboutController : ControllerBase
{
public async Task<ActionResult> Index()
{
var response = a... | Handle case where no facts are published. | Handle case where no facts are published.
In cases where facts were not published, this controller was throwing an error in the mapping of facts to the view model. | C# | mit | Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net |
82b9d6eee5d7ff5bf318764ccef3c8d77cac5c2e | SiteWarmer/SiteWarmer.Core/Properties/AssemblyInfo.cs | SiteWarmer/SiteWarmer.Core/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("SiteWarmer.Core")]
[assembly: AssemblyDes... | 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("SiteWarmer.Core")]
[assembly: AssemblyDes... | Set Version Numer for 3.0.3.1 | Set Version Numer for 3.0.3.1
| C# | apache-2.0 | baynezy/SiteWarmer |
dcd16b6f56b60a0dec8eb964c3d51c82918b7c8b | Pablo/Graphics/BaseTypes/StrokeType.cs | Pablo/Graphics/BaseTypes/StrokeType.cs | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics
{
/... | Make way for future improvements | Make way for future improvements
| C# | mpl-2.0 | pabloengine/pablo |
58df33e73815de838bb98161dc7a60c8005fe3d6 | ExRam.Gremlinq.Providers.WebSocket/QueryLoggingOptions.cs | ExRam.Gremlinq.Providers.WebSocket/QueryLoggingOptions.cs | using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace ExRam.Gremlinq.Providers.WebSocket
{
public readonly struct QueryLoggingOptions
{
public static readonly QueryLoggingOptions Default = new QueryLoggingOptions(LogLevel.Trace, QueryLoggingVerbosity.QueryOnly, Formatting.None);
... | using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace ExRam.Gremlinq.Providers.WebSocket
{
public readonly struct QueryLoggingOptions
{
public static readonly QueryLoggingOptions Default = new QueryLoggingOptions(LogLevel.Debug, QueryLoggingVerbosity.QueryOnly, Formatting.None);
... | Set Default-LogLevel to Debug since Trace isn't really logged onto the console. | Set Default-LogLevel to Debug since Trace isn't really logged onto the console.
| C# | mit | ExRam/ExRam.Gremlinq |
c511a67e7a4553ce2128864454a2dea5cf865aca | src/Peregrine.Web/Controllers/TournamentsController.cs | src/Peregrine.Web/Controllers/TournamentsController.cs | using System;
using System.Linq;
using System.Web.Http;
using Peregrine.Data;
namespace Peregrine.Web.Controllers
{
[RoutePrefix("api/tournaments")]
public class TournamentsController : ApiController
{
[Route]
public IHttpActionResult Get()
{
using(var dataContext = new DataContext())
{
... | using System;
using System.Linq;
using System.Web.Http;
using Peregrine.Data;
namespace Peregrine.Web.Controllers
{
[RoutePrefix("api/tournaments")]
public class TournamentsController : ApiController
{
[Route]
public IHttpActionResult Get()
{
using(var dataContext = new DataContext())
{
... | Fix tournament POST not wrapping return value in an object. | Fix tournament POST not wrapping return value in an object.
| C# | mit | Jaecen/Peregrine,Jaecen/Peregrine,Jaecen/Peregrine |
26eae84d179dbe175a876bc91d8a2018244b7d7d | Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs | Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
namespace Microsoft.MixedReality.Toolkit.Input
{
public static class HandJointUtils
{
/// <summary>
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
namespace Microsoft.MixedReality.Toolkit.Input
{
public static class HandJointUtils
{
/// <summary>
... | Update the TryGetJointPose docs to accurately describe the set of inputs it can take. | Update the TryGetJointPose docs to accurately describe the set of inputs it can take.
These functions only work if you pass in the specific Handedness.Left or Handedness.Right. They should be documented as such.
| C# | mit | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
e4b4d1d94a129f9e86284f60a0f957e41c4bcc46 | samples/HelloWorld/Startup.cs | samples/HelloWorld/Startup.cs | using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HelloWorld
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().AddFluentActions();
... | using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace HelloWorld
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().AddFluentActions();
... | Move call to UseFluentActions before UseMvc in hello world sample project | Move call to UseFluentActions before UseMvc in hello world sample project
| C# | mit | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions,ExplicitlyImplicit/AspNetCore.Mvc.FluentActions |
6dc0f3b720e78f5f965ee2e5211e5a39c3788657 | Vaskelista/Views/Shared/_Layout.cshtml | Vaskelista/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Vaskelista</title>
@Styles.Render("~/Content/css")
@Mvc.RazorTools.Bundl... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Vaskelista</title>
@Styles.Render("~/Content/css")
@Mvc.RazorTools.Bundl... | Load fonts over https if using https | Load fonts over https if using https
| C# | mit | johanhelsing/vaskelista,johanhelsing/vaskelista |
7d4c5999f663cccc47f84211d7ac58bf838c1bbc | osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs | osu.Desktop.VisualTests/Tests/TestCaseUserProfile.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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Fra... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Fra... | Add description in test case. | Add description in test case.
| C# | mit | NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,2yangk23/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,Frontear/osuKyzer,smoogipoo/osu,DrabWeb/osu,ppy/osu,naoey/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,ZLima12/osu,Nabile-Rahmani/osu,2yangk23/osu,EVAST9919/osu,EVAST9919/osu,smoogipooo/osu,... |
f892bce7ca41a4679e6d8052017e687d83c26432 | Models/Models/NMFTransaction.cs | Models/Models/NMFTransaction.cs | using System;
using System.Linq;
using System.Transactions;
using NMF.Expressions;
using NMF.Models.Evolution;
using NMF.Models.Repository;
namespace NMF.Models
{
class NMFTransaction : IDisposable
{
private bool _committed;
private readonly ExecutionEngine _engine = ExecutionEngine.Current;
... | using System;
using System.Linq;
using System.Transactions;
using NMF.Expressions;
using NMF.Models.Evolution;
using NMF.Models.Repository;
namespace NMF.Models
{
class NMFTransaction : IDisposable
{
private bool _committed;
private readonly ExecutionEngine _engine = ExecutionEngine.Current;
... | Rollback now uses the changes field of the change collection instead of traverse flat. | Rollback now uses the changes field of the change collection instead of traverse flat.
| C# | bsd-3-clause | georghinkel/NMF,NMFCode/NMF |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.