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 |
|---|---|---|---|---|---|---|---|---|---|
cb3af09b197466af0ab8fc8f35ff7cf72e53943b | Verdeler/Distributor.cs | Verdeler/Distributor.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Verdeler
{
public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable
{
private readonly List<IEndpointRepository> _endpointRepositories
= new List<IEndpointRepos... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Verdeler
{
public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable
{
private readonly List<IEndpointRepository> _endpointRepositories
= new List<IEndpointRepos... | Add IEndpoint restriction to RegisterEndpointDeliveryService. | Add IEndpoint restriction to RegisterEndpointDeliveryService.
| C# | mit | justinjstark/Delivered,justinjstark/Verdeler |
6d0723aa7de285b58fa0f723baf1fb0ed841d4a9 | WifiProfiles/Program.cs | WifiProfiles/Program.cs | using NetSh;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WifiProfiles
{
class Program
{
static void Main(string[] args)
{
var profiles = NetShWrapper.GetWifiProfiles();
bool sawBadWifi = f... | using NetSh;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WifiProfiles
{
class Program
{
static void Main(string[] args)
{
var profiles = NetShWrapper.GetWifiProfiles();
bool sawBadWifi = f... | Fix crashes when no arguments or no input | Fix crashes when no arguments or no input
| C# | mit | TRex22/Windows-Wifi-Manager,shanselman/Windows-Wifi-Manager |
783d1a7d3866415d888e62e57bf0c90e55fb5e5e | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Eli... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Eli... | Add copyright info in DLL properties. | Add copyright info in DLL properties.
| C# | mit | nzgeek/ElitePlayerJournal |
cb9c7e6ffc8a4cf3e3c1bd517042c868b05bac61 | src/Server/Bit.WebApi/Implementations/DefaultWebApiGlobalActionFilterProviders.cs | src/Server/Bit.WebApi/Implementations/DefaultWebApiGlobalActionFilterProviders.cs | using System.Web.Http;
using Bit.WebApi.ActionFilters;
using Bit.WebApi.Contracts;
namespace Bit.WebApi.Implementations
{
public class GlobalHostAuthenticationFilterProvider : IWebApiConfigurationCustomizer
{
public virtual void CustomizeWebApiConfiguration(HttpConfiguration webApiConfiguration)
... | using System.Web.Http;
using Bit.WebApi.ActionFilters;
using Bit.WebApi.Contracts;
namespace Bit.WebApi.Implementations
{
public class GlobalHostAuthenticationFilterProvider : IWebApiConfigurationCustomizer
{
public virtual void CustomizeWebApiConfiguration(HttpConfiguration webApiConfiguration)
... | Support for basic auth in web api & odata | Support for basic auth in web api & odata
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
03a207e56ed52946d83890fb81439f2de747a4d2 | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | Set log level to DEBUG | Set log level to DEBUG
| C# | apache-2.0 | boumenot/Grobid.NET |
73a8f654bf7e6d0b86d87f6326c3f17cbfaf885a | editor/Util/OsuHelper.cs | editor/Util/OsuHelper.cs | using Microsoft.Win32;
using System.IO;
namespace StorybrewEditor.Util
{
public static class OsuHelper
{
public static string GetOsuPath()
{
using (var registryKey = Registry.ClassesRoot.OpenSubKey("osu\\DefaultIcon"))
{
if (registryKey == null)
... | using Microsoft.Win32;
using System;
using System.IO;
namespace StorybrewEditor.Util
{
public static class OsuHelper
{
public static string GetOsuPath()
{
using (var registryKey = Registry.ClassesRoot.OpenSubKey("osu\\DefaultIcon"))
{
if (registryKey == ... | Fix crash when creating a new project if osu!'s folder could not be found. | Fix crash when creating a new project if osu!'s folder could not be found.
| C# | mit | Damnae/storybrew |
999bac4c33cd33234972afabdac3ac4c90747237 | src/Pather.CSharp/Properties/AssemblyInfo.cs | src/Pather.CSharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pat... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pat... | Add version information and description to the assembly | Add version information and description to the assembly
| C# | mit | Domysee/Pather.CSharp |
0ccd01bc78995dc40dd4e5dcecf5f6902fb07c6f | RandomColor.cs | RandomColor.cs | using UnityEngine;
using System.Collections;
public class RandomColor : MonoBehaviour {
void Start () {
// var c = new Color(Random.value, Random.value, Random.value, 1f);
var c = new Color(0, 0, 1f, 1f);
GetComponent<Renderer>().material.color = c;
}
}
| using UnityEngine;
using System.Collections;
public class RandomColor : MonoBehaviour {
void Start () {
// var c = new Color(Random.value, Random.value, Random.value, 1f);
var c = new Color(1f, 0, 0f, 1f);
GetComponent<Renderer>().material.color = c;
}
}
| Change color to read to test sub-module. | Change color to read to test sub-module.
| C# | apache-2.0 | purple-movies/expanse_bundle_lib |
ae507022d8149414f672297c40e012a909cc8ed6 | src/Glimpse.Server.Web/GlimpseServerWebServices.cs | src/Glimpse.Server.Web/GlimpseServerWebServices.cs | using Glimpse.Agent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Framework.OptionsModel;
using Glimpse.Server.Web;
using Glimpse.Web;
using Microsoft.Extensions.OptionsModel;
namespace Glimpse
{
public class GlimpseServerWebServices
{
public static IServiceCollection GetDefaultServ... | using Glimpse.Agent;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Framework.OptionsModel;
using Glimpse.Server.Web;
using Glimpse.Web;
using Microsoft.Extensions.OptionsModel;
namespace Glimpse
{
public class GlimpseServerWebServices
{
public static IServiceCollection GetDefaultServ... | Make sure required services are registered | Make sure required services are registered
| C# | mit | mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pet... |
8b4c45d906abe77ad9e885ebe3bfe0caae2880c6 | Source/BlogSystem.Web/Views/Comments/_CreateComment.cshtml | Source/BlogSystem.Web/Views/Comments/_CreateComment.cshtml | @model BlogSystem.Web.ViewModels.Comment.CommentViewModel
<h3>Leave a Comment</h3>
@if (User.Identity.IsAuthenticated)
{
using (Ajax.BeginForm("Create", "Comments", new { id = ViewData["id"].ToString() }, new AjaxOptions { HttpMethod = "Post", InsertionMode = InsertionMode.Replace, UpdateTargetId = "comments", O... | @model BlogSystem.Web.ViewModels.Comment.CommentViewModel
<h3>Leave a Comment</h3>
@if (User.Identity.IsAuthenticated)
{
using (Ajax.BeginForm("Create", "Comments", new { id = ViewData["id"].ToString() }, new AjaxOptions { HttpMethod = "Post", InsertionMode = InsertionMode.Replace, UpdateTargetId = "comments", O... | Update Create Comment Ajax Form | Update Create Comment Ajax Form
| C# | mit | csyntax/BlogSystem |
7185c799316d81c0c850de68f4a662c457b7fd6a | Titanium.Web.Proxy/Extensions/HttpWebResponseExtensions.cs | Titanium.Web.Proxy/Extensions/HttpWebResponseExtensions.cs | using System;
using System.Text;
using Titanium.Web.Proxy.Http;
using Titanium.Web.Proxy.Shared;
namespace Titanium.Web.Proxy.Extensions
{
internal static class HttpWebResponseExtensions
{
/// <summary>
/// Gets the character encoding of response from response headers
/// </summary>
... | using System;
using System.Text;
using Titanium.Web.Proxy.Http;
using Titanium.Web.Proxy.Shared;
namespace Titanium.Web.Proxy.Extensions
{
internal static class HttpWebResponseExtensions
{
/// <summary>
/// Gets the character encoding of response from response headers
/// </summary>
... | Check the value length to avoid exceptions. | Check the value length to avoid exceptions.
| C# | mit | titanium007/Titanium,justcoding121/Titanium-Web-Proxy,titanium007/Titanium-Web-Proxy |
5e070276e09fee1bad13f416b103e7d4c253eccf | Chain/Chain.cs | Chain/Chain.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chain
{
public interface IChain
{
IList<ILink> Links { get; }
void ConnectAllLinks();
void LoopLinks(int amountOfLoops);
void RunLinks();
}
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chain
{
public interface IChain
{
IList<ILink> Links { get; }
void ConnectAllLinks();
void LoopLinks(int amountOfLoops);
void RunLinks();
void A... | Implement link property and added add link method | Implement link property and added add link method
| C# | mit | lucasbrendel/chain |
4078ca1d228843ae6397e805affa8d7cb1fca9f7 | test/Microsoft.Framework.CodeGeneration.EntityFramework.Test/TestModels/TestModel.cs | test/Microsoft.Framework.CodeGeneration.EntityFramework.Test/TestModels/TestModel.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Framework.CodeGeneration.EntityFramework.Test.TestModels
{
public stati... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Metadata;
namespace Microsoft.Framework.CodeGeneration.EntityFramework.Test.TestModels
{
public stati... | Update to use fluent API to fix build break. | Update to use fluent API to fix build break.
| C# | mit | OmniSharp/omnisharp-scaffolding,OmniSharp/omnisharp-scaffolding |
8f386040c0e8b595b36c3002f36edb0037cea6c8 | src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs | src/ChessVariantsTraining/MemoryRepositories/Variant960/IGameRepoForSocketHandlers.cs | using ChessDotNet;
using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public interface IGameRepoForSocketHandlers
{
Game Get(string id);
void RegisterMove(Game subject, Move move);
void RegisterGameOutcome(Game subject, stri... | using ChessDotNet;
using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.MemoryRepositories.Variant960
{
public interface IGameRepoForSocketHandlers
{
Game Get(string id);
void RegisterMove(Game subject, Move move);
void RegisterGameOutcome(Game subject, stri... | Add Register*ChatMessage methods to interface | Add Register*ChatMessage methods to interface
| C# | agpl-3.0 | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training |
e5b670cd63939f5e39381a12e78d708ad5889ce5 | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | Fix access denied issue when access process information in RemoteProcessService | Fix access denied issue when access process information in RemoteProcessService
| C# | apache-2.0 | jmptrader/SuperSocket,jmptrader/SuperSocket,mdavid/SuperSocket,chucklu/SuperSocket,mdavid/SuperSocket,jmptrader/SuperSocket,fryderykhuang/SuperSocket,memleaks/SuperSocket,chucklu/SuperSocket,chucklu/SuperSocket,kerryjiang/SuperSocket,ZixiangBoy/SuperSocket,ZixiangBoy/SuperSocket,fryderykhuang/SuperSocket,mdavid/SuperSo... |
5aa1f10d2cde25e4deb4276dfa76808a34201cd4 | Mvc.JQuery.Datatables/Views/Shared/DataTable.cshtml | Mvc.JQuery.Datatables/Views/Shared/DataTable.cshtml | @using Mvc.JQuery.Datatables
@model DataTableVm
<table id="@Model.Id" class="display" >
<thead>
<tr>
@foreach (var column in Model.Columns)
{
<th>@column</th>
}
</tr>
<tr>
@foreach (var column in Model.Columns)
{
... | @using Mvc.JQuery.Datatables
@model DataTableVm
<table id="@Model.Id" class="display" >
<thead>
<tr>
@foreach (var column in Model.Columns)
{
<th>@column</th>
}
</tr>
@if (Model.ColumnFilter)
{
<tr>
@for... | Hide row when ColumnFilter is false | Hide row when ColumnFilter is false
| C# | mit | mcintyre321/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,Sohra/mvc.jquery.datatables,Sohra/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables |
d1853ea55bfc0ddd04c7785ebb246a9865877389 | osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.cs | osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.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.Graphics;
using osu.Game.Screens.Select.Leaderboards;
using osu.Framework.Graphics.... | // 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.Graphics;
using osu.Game.Screens.Select.Leaderboards;
using osu.Framework.Graphics.... | Fix incorrect formatting for switch/case | Fix incorrect formatting for switch/case
| C# | mit | smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,peppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu |
00178a1d4b6e7d8e73f427105341ae00cdc9107e | src/Serilog.Settings.Configuration/Settings/Configuration/Assemblies/AssemblyFinder.cs | src/Serilog.Settings.Configuration/Settings/Configuration/Assemblies/AssemblyFinder.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Extensions.DependencyModel;
namespace Serilog.Settings.Configuration.Assemblies
{
abstract class AssemblyFinder
{
public abstract IReadOnlyList<AssemblyName> FindAssembliesContainingName(string nameToFind);
... | using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.Extensions.DependencyModel;
namespace Serilog.Settings.Configuration.Assemblies
{
abstract class AssemblyFinder
{
public abstract IReadOnlyList<AssemblyName> FindAssembliesContainingName(string nameToFind);
... | Add comments explaining behavior of DependencyContext.Default | Add comments explaining behavior of DependencyContext.Default
and protect against null | C# | apache-2.0 | serilog/serilog-framework-configuration,serilog/serilog-settings-configuration |
1fca41c593113e3b8b0d6fead7c7a876998a16ac | 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.Graphics;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Platform
{
[TestFixture... | // 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... | Make UserInputManager test much more simple | Make UserInputManager test much more simple | C# | mit | smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-fram... |
dc38aeac4392d44b1b99aa3b4a18e47aa5373f21 | osu.Game.Rulesets.Taiko/UI/DrawableTaikoJudgement.cs | osu.Game.Rulesets.Taiko/UI/DrawableTaikoJudgement.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.Game.Rulesets.Objects.Drawables;
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Framework.Graphics;
usi... | // 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.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Taiko.UI
{
/// <summary>
... | Remove unnecessary local definition of colour logic from taiko judgement | Remove unnecessary local definition of colour logic from taiko judgement
| C# | mit | ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,peppy/osu |
ca2ab48fdbc37ad23a3a904057563ee09e4b5444 | OpenKh.Engine/Kh2MessageProvider.cs | OpenKh.Engine/Kh2MessageProvider.cs | using OpenKh.Kh2;
using OpenKh.Kh2.Messages;
using System.Collections.Generic;
using System.Linq;
namespace OpenKh.Engine
{
public class Kh2MessageProvider : IMessageProvider
{
private List<Msg.Entry> _messages;
public IMessageEncoder Encoder { get; set; } = Encoders.InternationalSystem;
... | using OpenKh.Kh2;
using OpenKh.Kh2.Messages;
using System.Collections.Generic;
using System.Linq;
namespace OpenKh.Engine
{
public class Kh2MessageProvider : IMessageProvider
{
private Dictionary<int, byte[]> _messages = new Dictionary<int, byte[]>();
public IMessageEncoder Encoder { get; set... | Improve performance when getting a KH2 message | Improve performance when getting a KH2 message
| C# | mit | Xeeynamo/KingdomHearts |
3bee36f6a2faf447cb863984b562013e93436a01 | osu.Game/Input/Bindings/DatabasedKeyBinding.cs | osu.Game/Input/Bindings/DatabasedKeyBinding.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace osu.Game.Input.Binding... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace osu.Game.Input.Binding... | Add index to Action column | Add index to Action column
Is used for default assignment | C# | mit | NeoAdonis/osu,ppy/osu,naoey/osu,smoogipoo/osu,Drezi126/osu,EVAST9919/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,Damnae/osu,DrabWeb/osu,NeoAdonis/osu,Nabile-Rahmani/osu,peppy/osu-new,peppy/osu,naoey/osu,UselessToucan/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,ppy/osu,Frontear/osuKyzer,DrabWeb/osu,smoogipooo/osu,... |
f80f8da989209027a7fac1339077e4c004e5bf8b | binder/Options.cs | binder/Options.cs | using CppSharp;
using CppSharp.Generators;
namespace MonoEmbeddinator4000
{
public enum CompilationTarget
{
SharedLibrary,
StaticLibrary,
Application
}
public class Options
{
public Options()
{
Project = new Project();
... | using CppSharp;
using CppSharp.Generators;
namespace MonoEmbeddinator4000
{
public enum CompilationTarget
{
SharedLibrary,
StaticLibrary,
Application
}
public class Options : DriverOptions
{
public Options()
{
Project = new Proje... | Unify common options with CppSharp. | Unify common options with CppSharp.
| C# | mit | mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,m... |
4dc062ba50b076ea38a6b818bb0285c26531533f | NoRM/Protocol/SystemMessages/Responses/BaseStatusMessage.cs | NoRM/Protocol/SystemMessages/Responses/BaseStatusMessage.cs | using Norm.Configuration;
using Norm.BSON;
using System.Collections.Generic;
using System.Linq;
namespace Norm.Responses
{
/// <summary>
/// Represents a message with an Ok status
/// </summary>
public class BaseStatusMessage : IExpando
{
private Dictionary<string, object> _properties = new... | using Norm.Configuration;
using Norm.BSON;
using System.Collections.Generic;
using System.Linq;
namespace Norm.Responses
{
/// <summary>
/// Represents a message with an Ok status
/// </summary>
public class BaseStatusMessage : IExpando
{
private Dictionary<string, object> _properties = new... | Allow connections to MongoDB 1.5.2+ that now returns 'ok' in the status message as a boolean, not a decimal | Allow connections to MongoDB 1.5.2+ that now returns 'ok' in the status message as a boolean, not a decimal
| C# | bsd-3-clause | atheken/NoRM,atheken/NoRM |
c036b9ee9b0ece284cad73a21148e439fc1c6064 | LanguageExt.Sys/Traits/SysIO.cs | LanguageExt.Sys/Traits/SysIO.cs | using LanguageExt.Effects.Traits;
namespace LanguageExt.Sys.Traits
{
/// <summary>
/// Convenience trait - captures the BCL IO behaviour
/// </summary>
/// <typeparam name="RT">Runtime</typeparam>
public interface HasSys<RT> :
HasCancel<RT>,
HasConsole<RT>,
HasEncoding<RT... | using LanguageExt.Effects.Traits;
namespace LanguageExt.Sys.Traits
{
/// <summary>
/// Convenience trait - captures the BCL IO behaviour
/// </summary>
/// <typeparam name="RT">Runtime</typeparam>
public interface HasSys<RT> :
HasCancel<RT>,
HasConsole<RT>,
HasEncoding<RT... | Add HasDirectory trait to HasSys trait | Add HasDirectory trait to HasSys trait
| C# | mit | louthy/language-ext,StanJav/language-ext |
19c9ed45c194176dbaba37f2acd4d46f38a5a4ec | CreateXMLFile/Program.cs | CreateXMLFile/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes.txt";
Dictionary<string, string> dicoQuotes = new Dictionary<string, string>();
List<string> quotesList ... | using System;
using System.Collections.Generic;
using System.IO;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes.txt";
Dictionary<string, string> dicoQuotes = new Dictionary<string, string>();
List<string> quotesList ... | Load list of quotes into a dictionary | Load list of quotes into a dictionary
| C# | mit | fredatgithub/GetQuote |
8abac92b2bc3cb215b84d401511d47bdee27de3a | WalletWasabi.Fluent/ViewLocator.cs | WalletWasabi.Fluent/ViewLocator.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent
{
public clas... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent
{
public clas... | Remove unused property from view locator | Remove unused property from view locator
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
06af4afa2b6038c87b34d10ad92e42a2b00334ff | Octokit/IGitHubClient.cs | Octokit/IGitHubClient.cs | using Octokit.Internal;
namespace Octokit
{
public interface IGitHubClient
{
IConnection Connection { get; }
IAuthorizationsClient Authorization { get; }
IIssuesClient Issue { get; }
IMiscellaneousClient Miscellaneous { get; }
IOrganizationsClient Organization { get; }... | using Octokit.Internal;
namespace Octokit
{
public interface IGitHubClient
{
IConnection Connection { get; }
IAuthorizationsClient Authorization { get; }
IIssuesClient Issue { get; }
IMiscellaneousClient Miscellaneous { get; }
IOrganizationsClient Organization { get; }... | Add TagsClient to GitHubClient inteface | Add TagsClient to GitHubClient inteface
| C# | mit | octokit/octokit.net,forki/octokit.net,octokit/octokit.net,kolbasov/octokit.net,nsnnnnrn/octokit.net,chunkychode/octokit.net,yonglehou/octokit.net,magoswiat/octokit.net,ivandrofly/octokit.net,cH40z-Lord/octokit.net,Red-Folder/octokit.net,darrelmiller/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,octokit-net-test... |
bad30d9e602537a6e2afbfb41333d89d9235a4c4 | osu.Game/Overlays/Dialog/PopupDialogDangerousButton.cs | osu.Game/Overlays/Dialog/PopupDialogDangerousButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
using osu.Ga... | Fix dialog dangerous button being clickable at edges | Fix dialog dangerous button being clickable at edges
| C# | mit | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu |
2aedd82e27a490a09c5efe526e2e45a7120b12e0 | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomState.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomState.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
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// The current overall state of a realtime multiplayer room.
/// </summary>
... | // 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
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// The current overall state of a realtime multiplayer room.
/// </summary>
... | Document room states and remove unnecessary WaitingForResults state | Document room states and remove unnecessary WaitingForResults state
| C# | mit | UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,ppy/osu,ppy/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu |
94db82167b42463d4cc070f6f6d2d87356edba1d | src/DeploymentCockpit.Core/Common/VariableHelper.cs | src/DeploymentCockpit.Core/Common/VariableHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Insula.Common;
namespace DeploymentCockpit.Common
{
public static class VariableHelper
{
public const string ProductVersionVariable = "ProductVersion";
public const string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Insula.Common;
namespace DeploymentCockpit.Common
{
public static class VariableHelper
{
public const string ProductVersionVariable = "ProductVersion";
public const string ... | Remove dots from built in variables | Remove dots from built in variables
| C# | apache-2.0 | anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit |
8e37f4c24d450853a0f750211d8c6a7ea63d557e | PureLayout.Binding/PureLayout.Binding/Extras.cs | PureLayout.Binding/PureLayout.Binding/Extras.cs | using System;
using UIKit;
namespace PureLayout.Net
{
public partial class UIViewPureLayout
{
public static NSLayoutConstraint[] AutoPinEdgesToSuperviewEdgesExcludingEdge(this UIView view, ALEdge excludingEdge)
{
return view.AutoPinEdgesToSuperviewEdgesExcludingEdge(ALHelpers.ALEdg... | using System;
using UIKit;
namespace PureLayout.Net
{
public partial class UIViewPureLayout
{
public static NSLayoutConstraint[] AutoPinEdgesToSuperviewEdgesExcludingEdge(this UIView view, ALEdge excludingEdge)
{
return view.AutoPinEdgesToSuperviewEdgesExcludingEdge(ALHelpers.ALEdg... | Add extension methods for pinning to top and bottom layout guide | Add extension methods for pinning to top and bottom layout guide
| C# | mit | mallibone/PureLayout.Net |
ded56395b79f4ce2535e537fdedf5f69dbbeb90f | CreditCardRange/CreditCardRange/CreditCardType.cs | CreditCardRange/CreditCardRange/CreditCardType.cs | /// <summary>
/// Credit card type.
/// </summary>
namespace CreditCardProcessing
{
using System.ComponentModel;
/// <summary>
/// Credit card type.
/// </summary>
public enum CreditCardType
{
/// <summary>
/// Unknown issuers.
/// </summary>
[Description("Unknown Issuer")]
Unknown,
/// ... | //-----------------------------------------------------------------------
// <copyright file="CreditCardType.cs" company="Colagioia Industries">
// Provided under the terms of the AGPL v3.
// </copyright>
//-----------------------------------------------------------------------
/// <summary>
/// Credit card type.
... | Clean up whitespace and file header on type enumeration | Clean up whitespace and file header on type enumeration
| C# | agpl-3.0 | jcolag/CreditCardValidator |
33c91ceca966eae98f18258955620c5a4fdb1e13 | src/Workspaces/Core/Portable/Storage/StorageOptions.cs | src/Workspaces/Core/Portable/Storage/StorageOptions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... | Set default back to sqlite | Set default back to sqlite
| C# | mit | sharwell/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,physhi/roslyn,sharwell/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,eriawan/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,mavasani/roslyn,physhi/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,weltkante/rosl... |
e2b07aff4d1b5a872b7e928b4785309fa7b333c4 | src/CGO.Web/NinjectModules/RavenModule.cs | src/CGO.Web/NinjectModules/RavenModule.cs | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | Fix RavenConfiguration for Embedded mode. | Fix RavenConfiguration for Embedded mode.
Poorly-documented, but there we go: in embedded mode, Raven assumes the
same port number as the web application, which caused no end of issues.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
e963c6bd4b6f7760df861b18733a10c2d30e7c0c | src/TM.UI.MVC/Views/Manage/Message.cshtml | src/TM.UI.MVC/Views/Manage/Message.cshtml | @model string
@section Title{
Message
}
<h2>@ViewBag.StatusMessage</h2>
| @model string
@section Title{
Message
}
<h2>@Model</h2>
| Fix "change password message" view | Fix "change password message" view
| C# | mit | ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager |
93fc9cb6d4a566774a4e23074500ad5fe3084167 | SnapMD.VirtualCare.ApiModels/SerializableToken.cs | SnapMD.VirtualCare.ApiModels/SerializableToken.cs | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | Add expiration to token response | Add expiration to token response
| C# | apache-2.0 | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk |
fc459071868ec616ac50ec31d7d3180518ce9adf | src/FluentNHibernate.Framework/SessionSource.cs | src/FluentNHibernate.Framework/SessionSource.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Dialect;
namespace FluentNHibernate.Framework
{
public interface ISessionSource
{
ISession CreateSession();
void Build... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using NHibernate;
using NHibernate.Cfg;
namespace FluentNHibernate.Framework
{
public interface ISessionSource
{
ISession CreateSession();
void BuildSchema();
Persiste... | Put back to match nhibernate in svn. | Put back to match nhibernate in svn.
git-svn-id: a161142445158cf41e00e2afdd70bb78aded5464@35 48f0ce17-cc52-0410-af8c-857c09b6549b
| C# | bsd-3-clause | lingxyd/fluent-nhibernate,lingxyd/fluent-nhibernate,oceanho/fluent-nhibernate,oceanho/fluent-nhibernate,HermanSchoenfeld/fluent-nhibernate,owerkop/fluent-nhibernate,HermanSchoenfeld/fluent-nhibernate,bogdan7/nhibernate,MiguelMadero/fluent-nhibernate,hzhgis/ss,chester89/fluent-nhibernate,narnau/fluent-nhibernate,bogdan7... |
daeab0d7d333515399afe3e881949a9734566dd1 | src/Core/Sys/SysQuery.cs | src/Core/Sys/SysQuery.cs | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | Leverage query syntax for cleaner Spawn implementation | Leverage query syntax for cleaner Spawn implementation
| C# | apache-2.0 | weblinq/WebLinq,atifaziz/WebLinq,atifaziz/WebLinq,weblinq/WebLinq |
50f650c47e3f6f25a54a34e217b76e7c6908884e | test/Evolve.Test.Utilities/PostgreSqlDockerContainer.cs | test/Evolve.Test.Utilities/PostgreSqlDockerContainer.cs | using System.Runtime.InteropServices;
namespace Evolve.Test.Utilities
{
public class PostgreSqlDockerContainer : IDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "5432";
public string HostPort => RuntimeInfo... | using System.Runtime.InteropServices;
namespace Evolve.Test.Utilities
{
public class PostgreSqlDockerContainer : IDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "5432";
public string HostPort => RuntimeInfo... | Fix Travis CI / AppVeyor | Fix Travis CI / AppVeyor
| C# | mit | lecaillon/Evolve |
11710d09fb74e6d863bcd13532ac77b90f48e9c2 | EarTrumpet/Extensions/OperatingSystemExtensions.cs | EarTrumpet/Extensions/OperatingSystemExtensions.cs | using System;
namespace EarTrumpet.Extensions
{
public enum OSVersions : int
{
RS3 = 16299,
RS4 = 17134,
}
public static class OperatingSystemExtensions
{
public static bool IsAtLeast(this OperatingSystem os, OSVersions version)
{
return os.Version.Buil... | using System;
namespace EarTrumpet.Extensions
{
public enum OSVersions : int
{
RS3 = 16299,
RS4 = 17134,
RS5_Prerelease = 17723,
}
public static class OperatingSystemExtensions
{
public static bool IsAtLeast(this OperatingSystem os, OSVersions version)
{
... | Add an RS5 prerelease build | Add an RS5 prerelease build
| C# | mit | File-New-Project/EarTrumpet |
a89f16ab70c7d8129e7bebf28ca95a9bd31cde46 | GitTfsTest/Core/TfsInterop/BranchExtensionsTest.cs | GitTfsTest/Core/TfsInterop/BranchExtensionsTest.cs | using System;
using System.Collections.Generic;
using Sep.Git.Tfs.Core.TfsInterop;
using Xunit;
namespace Sep.Git.Tfs.Test.Core.TfsInterop
{
public class BranchExtensionsTest
{
[Fact]
public void AllChildrenAlwaysReturnsAnEnumerable()
{
IEnumerable<BranchTree> result = ((Br... | using System;
using System.Collections.Generic;
using System.Linq;
using Rhino.Mocks;
using Sep.Git.Tfs.Core.TfsInterop;
using Xunit;
namespace Sep.Git.Tfs.Test.Core.TfsInterop
{
public class BranchExtensionsTest
{
[Fact]
public void AllChildrenAlwaysReturnsAnEnumerable()
{
... | Add Unit tests for IEnumerable<BranchTree>.GetAllChildren() | Add Unit tests for IEnumerable<BranchTree>.GetAllChildren()
| C# | apache-2.0 | WolfVR/git-tfs,allansson/git-tfs,kgybels/git-tfs,jeremy-sylvis-tmg/git-tfs,codemerlin/git-tfs,allansson/git-tfs,bleissem/git-tfs,TheoAndersen/git-tfs,kgybels/git-tfs,bleissem/git-tfs,hazzik/git-tfs,codemerlin/git-tfs,NathanLBCooper/git-tfs,git-tfs/git-tfs,modulexcite/git-tfs,pmiossec/git-tfs,NathanLBCooper/git-tfs,jere... |
484ad116f0a5f62a4e28a02adf623d72e94cc05a | src/Bugfree.Spo.Cqrs.Core/Queries/GetTenantSiteCollections.cs | src/Bugfree.Spo.Cqrs.Core/Queries/GetTenantSiteCollections.cs | using Bugfree.Spo.Cqrs.Core.Utilities;
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Bugfree.Spo.Cqrs.Core.Queries
{
public class GetTenantSiteCollections : Query
{
public GetTen... | using Bugfree.Spo.Cqrs.Core.Utilities;
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using System.Collections.Generic;
using System.Linq;
namespace Bugfree.Spo.Cqrs.Core.Queries
{
public class GetTenantSiteCollections : Query
{
public GetTenantSiteCollect... | Remove dependency on admin url mapper | Remove dependency on admin url mapper
| C# | bsd-2-clause | ronnieholm/Bugfree.Spo.Cqrs |
658aa526f382a8e7cd3f9c84450ab6ffd30284de | osu.Framework.Tests/Primitives/Vector2ExtensionsTest.cs | osu.Framework.Tests/Primitives/Vector2ExtensionsTest.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.Graphics;
using osuTK;
namespace osu.Framework.Tests.Primitives
{
[TestFixture]
public class Vector2ExtensionsTest
... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Primitives;
using osuTK;
namespace osu.Framework.Tests.Primitives
{
[... | Improve orientation tests + add quad test | Improve orientation tests + add quad test
| C# | mit | EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework |
d8aa5a8042a73b0c19b9c32cef38782cd9074983 | Assets/Scripts/Loader.cs | Assets/Scripts/Loader.cs | using UnityEngine;
using System.Collections;
using System;
[RequireComponent (typeof(CanvasGroup))]
public class Loader : MonoBehaviour
{
[Tooltip ("Time in seconds to fade in/out the loader.")]
public float fadeSpeed = 1f;
private CanvasGroup canvasGroup;
public void Show ()
{
Debug.Log ("[Loader] Show");
... | using UnityEngine;
using System.Collections;
using System;
[RequireComponent (typeof(CanvasGroup))]
public class Loader : MonoBehaviour
{
[Tooltip ("Time in seconds to fade in/out the loader.")]
public float fadeSpeed = 1f;
private CanvasGroup canvasGroup;
private IEnumerator currentFade;
public void Show ()
... | Fix bug where loader fade would not stop | Fix bug where loader fade would not stop
| C# | mit | cemrich/From-Outer-Space |
71a6b222ae85ed6e26c84f5b68a76b4287e816fd | SolidworksAddinFramework/BoolExtensions.cs | SolidworksAddinFramework/BoolExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LanguageExt;
using static LanguageExt.Prelude;
namespace SolidworksAddinFramework
{
public static class BoolExtensions
{
public static Option<T> IfTrue<T>(this bool v, Func<T> fn) ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LanguageExt;
using static LanguageExt.Prelude;
namespace SolidworksAddinFramework
{
public static class BoolExtensions
{
public static Option<T> IfTrue<T>(this bool v, Func<T> fn) ... | Add IfTrue for fluent composition of bool | Add IfTrue for fluent composition of bool
| C# | mit | Weingartner/SolidworksAddinFramework |
50c6485eefa466d205a2b23b446bc3fc723cb01d | Rees.TangyFruitMapper.UnitTest/Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix.cs | Rees.TangyFruitMapper.UnitTest/Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix.cs | using Rees.TangyFruitMapper.UnitTest.TestData;
using Xunit;
using Xunit.Abstractions;
namespace Rees.TangyFruitMapper.UnitTest
{
public class Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix : MappingGeneratorScenarios<DtoType4, ModelType4_UnderscoreBackingField>
{
public Scenario4_PropertiesWi... | using Rees.TangyFruitMapper.UnitTest.TestData;
using Xunit;
using Xunit.Abstractions;
namespace Rees.TangyFruitMapper.UnitTest
{
public class Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix : MappingGeneratorScenarios<DtoType4, ModelType4_UnderscoreBackingField>
{
public Scenario4_PropertiesWi... | Correct the name of this test | Correct the name of this test
| C# | mit | Benrnz/BudgetAnalyser |
4f980de4b7a02649580da4d2ec56ecd97eb18489 | Samaritans/Samaritans/Views/Event/Details.cshtml | Samaritans/Samaritans/Views/Event/Details.cshtml | @model Samaritans.Models.EventViewModel
@{
ViewBag.Title = Model.Name;
}
<h2>@Model.Name</h2>
| @model Samaritans.Models.EventViewModel
@{
ViewBag.Title = Model.Name;
}
<article class="event">
<form>
<h2>@M<input type="type" name="name" value="odel.Name</h2>
<div>@Model.EventTime</div>
<div>@Model.Attendance</div>
<p>@Model.Purpose</p>
<h3>Bring:</h3>
@for (var i = 0; i < Model.Resources.Length... | Add view for displaying event details | Add view for displaying event details
| C# | mit | samaritanevent/Samaritans,samaritanevent/Samaritans |
303620e8d85f35df58b08b0048a3d5a8a49cc53d | src/Glimpse.Agent.Web/GlimpseAgentWebOptionsSetup.cs | src/Glimpse.Agent.Web/GlimpseAgentWebOptionsSetup.cs | using System;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions>
{
public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions)
{
... | using System;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions>
{
public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions)
{
... | Add more registrations for what uris should be ignored out of the box | Add more registrations for what uris should be ignored out of the box
| C# | mit | pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimp... |
047ae487d5e62783e6f0856b2939f1d45638d377 | tests/SideBySide/DatabaseFixture.cs | tests/SideBySide/DatabaseFixture.cs | using System;
using MySql.Data.MySqlClient;
namespace SideBySide
{
public class DatabaseFixture : IDisposable
{
public DatabaseFixture()
{
var csb = AppConfig.CreateConnectionStringBuilder();
var connectionString = csb.ConnectionString;
var database = csb.Database;
csb.Database = "";
using (var d... | using System;
#if NETCOREAPP1_1_2
using System.Reflection;
#endif
using System.Threading;
using MySql.Data.MySqlClient;
namespace SideBySide
{
public class DatabaseFixture : IDisposable
{
public DatabaseFixture()
{
// increase the number of worker threads to reduce number of spurious failures from threadpool ... | Increase thread pool min threads. | Increase thread pool min threads.
This may help work around some test timeouts in CI.
| C# | mit | mysql-net/MySqlConnector,mysql-net/MySqlConnector |
f0efa2806e6d7fda25c29c14c903009e28812684 | resharper/resharper-unity/test/src/CSharp/Daemon/Stages/Analysis/CSharpHighlightingTestBase.cs | resharper/resharper-unity/test/src/CSharp/Daemon/Stages/Analysis/CSharpHighlightingTestBase.cs | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stages.Analysis
{
public class CSharpHighlightingTestBase<T> : CSharpHighl... | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stages.Analysis
{
public abstract class CSharpHighlightingTestBase<T> : CS... | Make test base class abstract | Make test base class abstract
So it doesn't appear in test explorer
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
1b6de475cbcf4c848452e95f9c8538cb4916ed8b | LINQToTTree/TTreeParser.Tests/Utils.cs | LINQToTTree/TTreeParser.Tests/Utils.cs | using System.Collections.Generic;
using System.Linq;
using TTreeDataModel;
namespace TTreeParser.Tests
{
public static class TUtils
{
/// <summary>
/// Find a class in the list, return null if we can't find it.
/// </summary>
/// <param name="classes"></param>
... | using System.Collections.Generic;
using System.Linq;
using TTreeDataModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TTreeParser.Tests
{
public static class TUtils
{
/// <summary>
/// Find a class in the list, return null if we can't find it.
/// </summar... | Check for uniqueness for the classes that come back. | Check for uniqueness for the classes that come back.
| C# | lgpl-2.1 | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT |
4bd3d09d72178156228a077b3a8679d58b8c5645 | Rackspace.CloudOffice/BodyEncoder.cs | Rackspace.CloudOffice/BodyEncoder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using Newtonsoft.Json;
namespace Rackspace.CloudOffice
{
internal static class BodyEncoder
{
public static string Encode(object data, string contentType)
{
switch (contentT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using Newtonsoft.Json;
namespace Rackspace.CloudOffice
{
internal static class BodyEncoder
{
public static string Encode(object data, string contentType)
{
if (data == null... | Support sending an empty body | Support sending an empty body
| C# | mit | rackerlabs/RackspaceCloudOfficeApiClient |
377f578c9c2cbfc65b4c561a46c12ef4ceac30bf | Wukong/Controllers/AuthController.cs | Wukong/Controllers/AuthController.cs | using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Wukong.Models;
namespace Wukong.Controllers
{
[Route("oauth")]... | using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authentication;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Wukong.Models;
namespace Wukong.Controllers
{
... | Revert "Make cookie valid for 30 days." | Revert "Make cookie valid for 30 days."
This reverts commit 148f68b7bd0f765a56122ae66fc2bc6ec31b624d.
| C# | mit | gyrosworkshop/Wukong,gyrosworkshop/Wukong |
2167d6ae23482df5f5e09ec4b9a9f8d231352769 | EchoNestNET/GenreModel.cs | EchoNestNET/GenreModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace EchoNestNET
{
[JsonObject]
public class Genre
{
[JsonProperty(PropertyName = "name")]
public string name { get; set; }
[JsonProperty(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace EchoNestNET
{
[JsonObject]
public class Genre
{
[JsonProperty(PropertyName = "name")]
public string name { get; set; }
[JsonProperty(... | Remove ConsoleApplication used for quick testing | Remove ConsoleApplication used for quick testing
| C# | apache-2.0 | richardschris/EchoNestNET |
32d15c58db1be0670d739e0d4da1f6098d224aba | src/SFA.DAS.EmployerApprenticeshipsService.Web/Orchestrators/EmployerAccountTransactionsOrchestrator.cs | src/SFA.DAS.EmployerApprenticeshipsService.Web/Orchestrators/EmployerAccountTransactionsOrchestrator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using MediatR;
using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccount;
using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccountTransactions;
using S... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using MediatR;
using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccount;
using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccountTransactions;
using S... | Send Account model back for validation | Send Account model back for validation
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
23a5792fcf105ab20500dcdba29792322011ef81 | osu.Framework/Input/Handlers/Tablet/ITabletHandler.cs | osu.Framework/Input/Handlers/Tablet/ITabletHandler.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.Bindables;
using osuTK;
namespace osu.Framework.Input.Handlers.Tablet
{
/// <summary>
/// An interface to access OpenTabletDriverHandler.
... | // 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.Bindables;
using osuTK;
namespace osu.Framework.Input.Handlers.Tablet
{
/// <summary>
/// An interface to access OpenTabletDriverHandler.
... | Fix stray character in xmldoc | Fix stray character in xmldoc
| C# | mit | ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework |
8e5be3c86dfafd434f3aeb807e366f694f2c8af9 | src/GraphQL/Resolvers/MethodModelBinderResolver.cs | src/GraphQL/Resolvers/MethodModelBinderResolver.cs | using System;
using System.Linq;
using System.Reflection;
using GraphQL.Types;
namespace GraphQL.Resolvers
{
public class MethodModelBinderResolver<T> : IFieldResolver
{
private readonly IDependencyResolver _dependencyResolver;
private readonly MethodInfo _methodInfo;
private readonly ... | using System;
using System.Linq;
using System.Reflection;
using GraphQL.Types;
namespace GraphQL.Resolvers
{
public class MethodModelBinderResolver<T> : IFieldResolver
{
private readonly IDependencyResolver _dependencyResolver;
private readonly MethodInfo _methodInfo;
private readonly ... | Refactor how parameters are checked | Refactor how parameters are checked
| C# | mit | graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet |
cf99aefb45d96eafc146c5c8e687387501c6f89c | MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs | MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs | using MultiMiner.Utility.Serialization;
using System.Linq;
namespace MultiMiner.Win.Extensions
{
public static class ApplicationConfigurationExtensions
{
public static Remoting.Data.Transfer.Configuration.Application ToTransferObject(this Data.Configuration.Application modelObject)
{
... | using MultiMiner.Utility.Serialization;
using System.Linq;
namespace MultiMiner.Win.Extensions
{
public static class ApplicationConfigurationExtensions
{
public static Remoting.Data.Transfer.Configuration.Application ToTransferObject(this Data.Configuration.Application modelObject)
{
... | Fix ArgumentNullException configuring pools via Remoting | Fix ArgumentNullException configuring pools via Remoting
Value cannot be null
| C# | mit | nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner |
2e31b09e4fe443cf1f124696480d41c10d7e8284 | TeamMaker/Properties/AssemblyInfo.cs | TeamMaker/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Te... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Te... | Increment version number in assembly info | Increment version number in assembly info
| C# | mit | fox091/TournamentTeamMaker |
594eaa0d97475e678c676f2c8d6ef2fe20ff74fd | src/BugsnagUnity/SessionTracker.cs | src/BugsnagUnity/SessionTracker.cs | using BugsnagUnity.Payload;
namespace BugsnagUnity
{
public interface ISessionTracker
{
void StartSession();
Session CurrentSession { get; }
}
class SessionTracker : ISessionTracker
{
private IClient Client { get; }
private Session _currentSession;
public Session CurrentSession
{... | using BugsnagUnity.Payload;
namespace BugsnagUnity
{
public interface ISessionTracker
{
void StartSession();
Session CurrentSession { get; }
}
class SessionTracker : ISessionTracker
{
private IClient Client { get; }
private Session _currentSession;
public Session CurrentSession
{... | Handle not having a current session | Handle not having a current session
We have another issue where this is not being populated as expected in newer versions of unity which will need to be resolved
| C# | mit | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity |
1fbd7f602eb4036ca0009d7de2438a38368fee3d | Source/ACE/Network/GameEvent/Events/GameEventCharacterTitles.cs | Source/ACE/Network/GameEvent/Events/GameEventCharacterTitles.cs | namespace ACE.Network.GameEvent
{
public class GameEventCharacterTitle : GameEventPacket
{
public override GameEventOpcode Opcode { get { return GameEventOpcode.CharacterTitle; } }
public GameEventCharacterTitle(Session session) : base(session) { }
protected override void WriteEventBo... | namespace ACE.Network.GameEvent
{
public class GameEventCharacterTitle : GameEventPacket
{
public override GameEventOpcode Opcode { get { return GameEventOpcode.CharacterTitle; } }
public GameEventCharacterTitle(Session session) : base(session) { }
protected override void WriteEventBo... | Reduce temporary list of titles | Reduce temporary list of titles
| C# | agpl-3.0 | Lidefeath/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE |
277c613e552daaf4c7f42714421b452c08344cf5 | Agiil.Web/App_Start/ContainerFactoryProviderExtensions.cs | Agiil.Web/App_Start/ContainerFactoryProviderExtensions.cs | using System;
using System.Web.Http;
using Agiil.Bootstrap.DiConfiguration;
using Autofac;
namespace Agiil.Web.App_Start
{
public static class ContainerFactoryProviderExtensions
{
public static IContainer GetContainer(this ContainerFactoryProvider provider, HttpConfiguration config)
{
if(provider ==... | using System;
using System.Web.Http;
using Agiil.Bootstrap.DiConfiguration;
using Autofac;
namespace Agiil.Web.App_Start
{
public static class ContainerFactoryProviderExtensions
{
public static IContainer GetContainer(this ContainerFactoryProvider provider, HttpConfiguration config)
{
if(provider ==... | Fix silly mistake in DI configuration | Fix silly mistake in DI configuration
| C# | mit | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil |
dee514939f5e97f9f88a6f05df3ae6ae7364e70c | AgateLib.Tests/UnitTests/Extensions/ListExtensions.cs | AgateLib.Tests/UnitTests/Extensions/ListExtensions.cs | using System.Collections.Generic;
using AgateLib.Extensions.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AgateLib.UnitTests.Extensions
{
[TestClass]
public class ListExtensions
{
[TestMethod]
public void SortPrimitives()
{
List<int> li = new List<int> ... | using System.Collections.Generic;
using AgateLib.Extensions.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AgateLib.UnitTests.Extensions
{
[TestClass]
public class ListExtensions
{
[TestMethod]
public void SortPrimitives()
{
List<int> li = new List<int> ... | Move to modern nuget. Make Sprite compile by stubbing missing interface methods. | Move to modern nuget. Make Sprite compile by stubbing missing interface methods.
| C# | mit | eylvisaker/AgateLib |
1555b07dd4d094c7c125e7764e9789ccb2c9f1d4 | src/HelloCoreClrApp/WebApi/Actions/SayHelloWorldAction.cs | src/HelloCoreClrApp/WebApi/Actions/SayHelloWorldAction.cs | using System;
using System.Threading.Tasks;
using HelloCoreClrApp.Data;
using HelloCoreClrApp.WebApi.Messages;
using Serilog;
namespace HelloCoreClrApp.WebApi.Actions
{
public class SayHelloWorldAction : ISayHelloWorldAction
{
private static readonly ILogger Log = Serilog.Log.ForContext<SayHelloWorldAc... | using System.Threading.Tasks;
using HelloCoreClrApp.Data;
using HelloCoreClrApp.WebApi.Messages;
using Serilog;
namespace HelloCoreClrApp.WebApi.Actions
{
public class SayHelloWorldAction : ISayHelloWorldAction
{
private static readonly ILogger Log = Serilog.Log.ForContext<SayHelloWorldAction>();
... | Use var. Rider finally understands it here ;) | Use var.
Rider finally understands it here ;)
| C# | mit | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr |
3d74b9de81b9be46bdb7d4d1f3cf8641d670995f | build.cake | build.cake | #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
//////... | #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
//////... | Fix Cake script not running tests from SimpSim.NET.Tests project. | Fix Cake script not running tests from SimpSim.NET.Tests project.
| C# | mit | ryanjfitz/SimpSim.NET |
63c37874bdd9342eb2750bdd799944c3e146d9dd | src/CGO.Web/Views/Shared/_MenuBar.cshtml | src/CGO.Web/Views/Shared/_MenuBar.cshtml | @functions {
private string GetCssClass(string actionName, string controllerName)
{
var currentControllerName = ViewContext.RouteData.Values["controller"].ToString();
var isCurrentController = currentControllerName == controllerName;
if (currentControllerName == "Home")
{
... | @functions {
private string GetCssClass(string actionName, string controllerName)
{
var currentControllerName = ViewContext.RouteData.Values["controller"].ToString();
var isCurrentController = currentControllerName == controllerName;
if (currentControllerName == "Home")
{
... | Add drop-down menu for concerts. | Add drop-down menu for concerts.
Hacky approach for now, just to get the link displayed. A controller will be needed to wrap up this logic when the next feature is developed.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
452859333d747105ff896e54136fbab33e84f526 | CertiPay.Common.Notifications/Notifications/EmailNotification.cs | CertiPay.Common.Notifications/Notifications/EmailNotification.cs | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Represents an email notification sent a user, employee, or administrator
/// </summary>
public class EmailNotification : Notification
{
public static String QueueName { get { return ... | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Represents an email notification sent a user, employee, or administrator
/// </summary>
public class EmailNotification : Notification
{
public static String QueueName { get { return ... | Add the content type for notification attachments | Add the content type for notification attachments
| C# | mit | mattgwagner/CertiPay.Common |
82b3dc8b5535a3f233b31b1a3a999be6a17da76e | Nimrod/AssemblyLocator.cs | Nimrod/AssemblyLocator.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Nimrod
{
public static class AssemblyLocator
{
static ConcurrentDictionary<string, Assembly> assemblie... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Nimrod
{
public static class AssemblyLocator
{
static ConcurrentDictionary<... | Return any assembly that match the name, do not look at version | Return any assembly that match the name, do not look at version
If this becames a problem, and we tried to load 2 assembly with different version, further development will be needed
| C# | mit | resgroup/nimrod,resgroup/nimrod,resgroup/nimrod,resgroup/nimrod |
fb2509966b5746586034e1c5ad93e488fef2583f | OfficeHoursTopics/run.csx | OfficeHoursTopics/run.csx | using System.Net;
using System.Configuration;
private static TraceWriter logger;
private static string[] LoadTopics()
{
string TopicsAndExperts = ConfigurationManager.AppSettings["EXPERTS_LIST"].ToString();
logger.Info($"Got TopicsAndExperts: {TopicsAndExperts}");
// split each topic and expert pa... | using System.Net;
using System.Configuration;
private static TraceWriter logger;
/// Extract the topics from the and topics and experts list so there is one master list
/// and topics and experts stay in sync.
private static string[] LoadTopics()
{
string TopicsAndExperts = ConfigurationManager.AppSettings["... | Add a comment about the approach to loading topics | Add a comment about the approach to loading topics
| C# | mit | mschray/CalendarHelper |
7cb615c910e2460f79d106b6684dca0945222882 | tests/PagedList.Tests/PageMetadataTests.cs | tests/PagedList.Tests/PageMetadataTests.cs | using System;
using Xunit;
namespace PagedList.Tests
{
public class PageMetadataTests
{
[Fact]
public void PageNumberIsZero_ArgumentOutOfRangeExceptionIsThrown()
{
Assert.True(false);
// Assert.Throws<ArgumentOutOfRangeException>(() => new PageMetadata(10, 0, 1))... | using System;
using Xunit;
namespace PagedList.Tests
{
public class PageMetadataTests
{
[Fact]
public void PageNumberIsZero_ArgumentOutOfRangeExceptionIsThrown()
{
Assert.Throws<ArgumentOutOfRangeException>(() => new PageMetadata(10, 0, 1));
}
[Fact]
... | Revert "Testing to see if the deploy is started when a test fails" | Revert "Testing to see if the deploy is started when a test fails"
This reverts commit 6ef734a0863fedb1baa3e77eab7eefff7a1c4856.
| C# | mit | joakimskoog/PagedList |
4d2ba17be9c9709950a16271a85649753cdce063 | tests/Narvalo.Core.Facts/HashCodeHelpersFacts.cs | tests/Narvalo.Core.Facts/HashCodeHelpersFacts.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo
{
using System;
using Xunit;
public static class HashCodeHelpersFacts
{
[Fact]
public static void Combine2_DoesNotThrow_WhenOverflowed()
=> Ha... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo
{
using System;
using Xunit;
public static class HashCodeHelpersFacts
{
[Fact]
public static void Combine2_DoesNotThrow_WhenMinOverflowed()
=>... | Add test for overflowed by min. | Add test for overflowed by min.
| C# | bsd-2-clause | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET |
5f8e61995cde87520b04774e378b2ed797e5c363 | Tron/Networking/Server.cs | Tron/Networking/Server.cs | // Server.cs
// <copyright file="Server.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Networking
{
/// <summary>
/// A class that acts as a server for a networked game of tron.
/// </summary>
... | // Server.cs
// <copyright file="Server.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace Networking
{
/// <summary>
/// A class that acts as a server for a... | Write properties and constructor for server | Write properties and constructor for server | C# | mit | wrightg42/tron,It423/tron |
c9d8645341ac3f68d2696427b62cd4c8fd1fe63e | osu.Game.Tests/Visual/Navigation/TestSceneStartupImport.cs | osu.Game.Tests/Visual/Navigation/TestSceneStartupImport.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Database;
using osu.Game.Tests.Resources;
namespace osu.Game.Tests.Visual.Navigatio... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Overlays.Notifications;
using osu.Game.Tests.Resources;
namespace osu.Game.Tests.Vi... | Fix startup import test waiting on potentially incorrect notification type | Fix startup import test waiting on potentially incorrect notification type
| C# | mit | peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu |
4e929140e1c3ed65733884f9403bf4e6b5e7c536 | ReadModel.Sql.Test/TestReadModelDatabase.cs | ReadModel.Sql.Test/TestReadModelDatabase.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TestReadModelDatabase.cs">
// Copyright (c) 2015. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TestReadModelDatabase.cs">
// Copyright (c) 2015. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//... | Fix unit tests after last set of changes | Fix unit tests after last set of changes
| C# | mit | spritely/ReadModel.Sql |
5356fc43d9330f678c41d33143f877c51984c0d6 | EOLib/Domain/Map/Sign.cs | EOLib/Domain/Map/Sign.cs | using EOLib.IO.Map;
namespace EOLib.Domain.Map
{
public class Sign : ISign
{
public string Title { get; private set; }
public string Message { get; private set; }
public Sign(SignMapEntity sign)
{
Title = sign.Title;
Message = sign.Message;
}
... | using EOLib.IO.Map;
using System.Linq;
namespace EOLib.Domain.Map
{
public class Sign : ISign
{
public string Title { get; private set; }
public string Message { get; private set; }
public Sign(SignMapEntity sign)
{
Title = Filter(sign.Title);
Message ... | Fix rendering of unreadable characters in map signs | Fix rendering of unreadable characters in map signs
| C# | mit | ethanmoffat/EndlessClient |
890d7f49550d6776b76b690f34d0daa3f511db19 | src/MusicStore.Spa/Pages/Home.cshtml | src/MusicStore.Spa/Pages/Home.cshtml | @{
ViewBag.Title = "Home Page";
ViewBag.ngApp = "MusicStore.Store";
Layout = "/Views/Shared/_Layout.cshtml";
}
@section NavBarItems {
<li app-genre-menu></li>
@*@Html.InlineData("GenreMenuList", "GenresApi")*@
}
<div ng-view></div>
@*@Html.InlineData("MostPopular", "AlbumsApi")*@
@section Scripts {
... | @{
ViewBag.Title = "Home Page";
ViewBag.ngApp = "MusicStore.Store";
Layout = "/Views/Shared/_Layout.cshtml";
}
@section NavBarItems {
<li app-genre-menu></li>
@*@Html.InlineData("GenreMenuList", "GenresApi")*@
}
<div ng-view></div>
@*@Html.InlineData("MostPopular", "AlbumsApi")*@
@section Scripts {
... | Fix typo in MusicStore.Spa page | Fix typo in MusicStore.Spa page
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
a958385905d64d23e7fbc5778c163b5fda717b27 | src/Parsley.Test/GrammarRuleTests.cs | src/Parsley.Test/GrammarRuleTests.cs | using System.Linq;
using Should;
namespace Parsley
{
public class GrammarRuleTests : Grammar
{
public void CanDefineMutuallyRecursiveRules()
{
var tokens = new CharLexer().Tokenize("(A)");
var expression = new GrammarRule<string>();
var alpha = new GrammarRu... | using System.Linq;
using Should;
namespace Parsley
{
public class GrammarRuleTests : Grammar
{
public void CanDefineMutuallyRecursiveRules()
{
var tokens = new CharLexer().Tokenize("(A)");
var expression = new GrammarRule<string>();
var alpha = new GrammarRu... | Introduce a bug to prove out CI integration. | Introduce a bug to prove out CI integration.
| C# | mit | plioi/parsley |
dedb6301021ed3d907c26b7bf119120875649189 | src/CodeComb.AspNet.Extensions/Claims/AnyRolesAttribute.cs | src/CodeComb.AspNet.Extensions/Claims/AnyRolesAttribute.cs | using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.ViewFeatures;
using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc
{
public class AnyRolesAttribute : ActionFilterAttribute
... | using System.Linq;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.ViewFeatures;
using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc
{
public class AnyRolesAttribute : ActionFilterAttribute
... | Fix a bug about any roles attribute | Fix a bug about any roles attribute
| C# | apache-2.0 | CodeComb/Extensions,CodeComb/Extensions |
6642b598e4367cb5cc43a5d19c4bf9574a30d606 | MitternachtWeb/Areas/Guild/Views/Shared/_GuildLayout.cshtml | MitternachtWeb/Areas/Guild/Views/Shared/_GuildLayout.cshtml | @{
Layout = "_Layout";
ViewData["Title"] = "Guild";
}
<div class="row">
<nav class="col-md-3 col-xl-2">
<ul class="nav">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="GuildList" asp-action="Index">Übersicht</a>
</li>
<li class="nav-item">
<a class="nav-link text... | @{
Layout = "_Layout";
ViewData["Title"] = "Guild";
}
<div class="row">
<nav class="col-md-3 col-xl-2">
<ul class="nav">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="Guild" asp-controller="Stats" asp-action="Index">Statistiken</a>
</li>
<li class="nav-item">
<a class="nav-link t... | Remove link to guild list from GuildLayout. | Remove link to guild list from GuildLayout.
| C# | mit | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW |
7e6eaaa37b5e9b99d9066c6848ff04ab4d5a71a8 | Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs | Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs | namespace Line.Messaging
{
/// <summary>
/// Rich menu response object.
/// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object
/// </summary>
public class ResponseRichMenu : RichMenu
{
/// <summary>
/// Rich menu ID
/// </summary>
... | namespace Line.Messaging
{
/// <summary>
/// Rich menu response object.
/// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object
/// </summary>
public class ResponseRichMenu : RichMenu
{
/// <summary>
/// Rich menu ID
/// </summary>
... | Fix Areas property is not deserialized, In the return value of the GetRichMenuListAsync method. | Fix Areas property is not deserialized, In the return value of the GetRichMenuListAsync method.
| C# | mit | pierre3/LineMessagingApi,pierre3/LineMessagingApi |
163a7ec79dc76af4c6a7fb746d329d7fb4756095 | NQuery.Language.Services/QuickInfo/QuickInfoModel.cs | NQuery.Language.Services/QuickInfo/QuickInfoModel.cs | using NQuery.Language.Symbols;
namespace NQuery.Language.VSEditor
{
public sealed class QuickInfoModel
{
private readonly SemanticModel _semanticModel;
private readonly TextSpan _span;
private readonly NQueryGlyph _glyph;
private readonly SymbolMarkup _markup;
public Qu... | using NQuery.Language.Symbols;
namespace NQuery.Language.VSEditor
{
public sealed class QuickInfoModel
{
private readonly SemanticModel _semanticModel;
private readonly TextSpan _span;
private readonly NQueryGlyph _glyph;
private readonly SymbolMarkup _markup;
public Qu... | Fix quick info to not generate models for invalid symbols | Fix quick info to not generate models for invalid symbols
| C# | mit | terrajobst/nquery-vnext |
db9ac6a96d4d7b6507d610bd2acc87bec6ca4346 | SnagitJiraOutputAccessory/Properties/AssemblyInfo.cs | SnagitJiraOutputAccessory/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sn... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sn... | Update assembly info and start version at 0.1 | Update assembly info and start version at 0.1
| C# | mit | ryanewtaylor/snagit-jira-output-accessory,ryanewtaylor/snagit-jira-output-accessory |
03978af7512173ebb06f2e6f5b48100f0b9058f8 | Xwt/AssemblyInfo.cs | Xwt/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Xwt")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assem... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Xwt")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assem... | Set a static value so my references quit freaking out. | Set a static value so my references quit freaking out.
| C# | mit | steffenWi/xwt,mono/xwt,sevoku/xwt,mminns/xwt,directhex/xwt,cra0zy/xwt,antmicro/xwt,hamekoz/xwt,mminns/xwt,residuum/xwt,lytico/xwt,hwthomas/xwt,TheBrainTech/xwt,akrisiun/xwt,iainx/xwt |
0bb882a910f7768a585da743c0ce4208b6f97c81 | src/GitHub.TeamFoundation.14/Services/VSGitExt.cs | src/GitHub.TeamFoundation.14/Services/VSGitExt.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using GitHub.Extensions;
using GitHub.Models;
using GitHub.Services;
using Microsoft.VisualStudio.TeamFoundation.Git.Extensibility;
namespace GitHub.VisualStudio.Base
{
[Export(typeof(IVSGitExt))]
[PartC... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using GitHub.Extensions;
using GitHub.Models;
using GitHub.Services;
using Microsoft.VisualStudio.TeamFoundation.Git.Extensibility;
namespace GitHub.VisualStudio.Base
{
[Export(typeof(IVSGitExt))]
[PartC... | Call extension method as extension method. | Call extension method as extension method.
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio |
a2b43c81bd0d810e17111f062a1583cd7a21dea6 | osu.Framework/Graphics/Containers/FocusedOverlayContainer.cs | osu.Framework/Graphics/Containers/FocusedOverlayContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Linq;
using osu.Framework.Input;
using OpenTK.Input;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Linq;
using osu.Framework.Input;
using OpenTK.Input;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers
{
... | Fix potential nullref due to missing lambda | Fix potential nullref due to missing lambda
| C# | mit | EVAST9919/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,default0/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,paparony03/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,paparony... |
cb10711f55ee7ea05491e28ede046b072d3415c8 | Core/VVVV.DX11.Lib/Effects/Pins/Resources/SamplerShaderPin.cs | Core/VVVV.DX11.Lib/Effects/Pins/Resources/SamplerShaderPin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VVVV.DX11.Internals.Effects.Pins;
using VVVV.PluginInterfaces.V2;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using VVVV.Hosting.Pins;
using VVVV.DX11.Lib.Effects.Pins;
using FeralTic.DX11;
namespace VVVV.DX11.Int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VVVV.DX11.Internals.Effects.Pins;
using VVVV.PluginInterfaces.V2;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using VVVV.Hosting.Pins;
using VVVV.DX11.Lib.Effects.Pins;
using FeralTic.DX11;
namespace VVVV.DX11.Int... | Fix sampler update when connected | Fix sampler update when connected
| C# | bsd-3-clause | id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv |
4c88ee438c6c2f3f8c8bf0416a7ce2a114a86b79 | ApiConsole/Program.cs | ApiConsole/Program.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PortableWordPressApi;
using PortableWordPressApi.Resources;
namespace ApiConsole
{
class Program
{
static void Main(string[] args)
{
Task.WaitAll(AsyncMain());
Console.WriteLine("Press any key to close.");
... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PortableWordPressApi;
using PortableWordPressApi.Resources;
namespace ApiConsole
{
class Program
{
static void Main(string[] args)
{
Task.WaitAll(AsyncMain());
Console.WriteLi... | Print supported routes in console app. | Print supported routes in console app.
| C# | mit | maxcutler/wp-api-csharp |
e26947b4160a61fda028716fcf805bab450b9bd5 | osu.Framework/Allocation/LongRunningLoadAttribute.cs | osu.Framework/Allocation/LongRunningLoadAttribute.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Allocation
{
/// <summary>
/// Denotes a component which performs long-running tas... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Allocation
{
/// <summary>
/// Denotes a component which performs long-running tas... | Adjust xmldoc to mention "immediate" consumer | Adjust xmldoc to mention "immediate" consumer
| C# | mit | ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework |
8b9cf6fc52e84ba1cd0f3ceac2c9561f3e6d0c3c | osu.Game.Tournament/Configuration/TournamentStorageManager.cs | osu.Game.Tournament/Configuration/TournamentStorageManager.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.Configuration;
using osu.Framework.Platform;
namespace osu.Game.Tournament.Configuration
{
public class TournamentStorageManager : IniConfigManag... | // 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.Configuration;
using osu.Framework.Platform;
namespace osu.Game.Tournament.Configuration
{
public class TournamentStorageManager : IniConfigManag... | Remove default value in Storagemgr | Remove default value in Storagemgr
| C# | mit | smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu |
dd065cd225a21ce22a2566ee61f217b0bdbcf383 | src/Common/src/TypeSystem/Canon/ArrayType.Canon.cs | src/Common/src/TypeSystem/Canon/ArrayType.Canon.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.
namespace Internal.TypeSystem
{
// Implements canonicalization for arrays
partial class ArrayType
{
... | // 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.
namespace Internal.TypeSystem
{
// Implements canonicalization for arrays
partial class ArrayType
{
... | Add canonicalization support for array methods | Add canonicalization support for array methods
| C# | mit | yizhang82/corert,botaberg/corert,kyulee1/corert,yizhang82/corert,yizhang82/corert,sandreenko/corert,tijoytom/corert,shrah/corert,gregkalapos/corert,kyulee1/corert,gregkalapos/corert,shrah/corert,tijoytom/corert,shrah/corert,gregkalapos/corert,tijoytom/corert,kyulee1/corert,botaberg/corert,krytarowski/corert,sandreenko/... |
59df3d49c78dc804feae8ed3c73c5657a0912170 | NStatsD/StatsDConfigurationSection.cs | NStatsD/StatsDConfigurationSection.cs | using System.Configuration;
namespace NStatsD
{
public class StatsDConfigurationSection : ConfigurationSection
{
[ConfigurationProperty("enabled", DefaultValue = "true", IsRequired = false)]
public bool Enabled
{
get { return (bool) this["enabled"]; }
set { this... | using System.Configuration;
namespace NStatsD
{
public class StatsDConfigurationSection : ConfigurationSection
{
[ConfigurationProperty("enabled", DefaultValue = "true", IsRequired = false)]
public bool Enabled
{
get { return (bool) this["enabled"]; }
set { this... | Fix exception when configuration is read | Fix exception when configuration is read
| C# | mit | robbihun/NStatsD.Client |
4d0c4545600b0a8a617be221406cf4b58c66aacc | Trunk/GameEngine/Affects/Haste.cs | Trunk/GameEngine/Affects/Haste.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Magecrawl.GameEngine.Actors;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Affects
{
internal class Haste : AffectBase
{
private double m_modifier;
public Haste() : base(0)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Magecrawl.GameEngine.Actors;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Affects
{
internal class Haste : AffectBase
{
private double m_modifier;
public Haste() : base(0)
... | Fix crash on loading hasted player. | Fix crash on loading hasted player.
| C# | bsd-2-clause | AndrewBaker/magecrawl,jeongroseok/magecrawl |
bd62c84379730646298e4a6c2fa204915027c5e7 | OpenSlx.Lib/Utility/SlxEntityUtility.cs | OpenSlx.Lib/Utility/SlxEntityUtility.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Sage.Platform;
using Sage.Platform.Orm.Attributes;
using Sage.Platform.Orm.Interfaces;
namespace OpenSlx.Lib.Utility
{
/// <summary>
/// Miscellaneous utilities dealing with SLX ent... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Sage.Platform;
using Sage.Platform.Orm.Attributes;
using Sage.Platform.Orm.Interfaces;
using Sage.Platform.Orm.Services;
namespace OpenSlx.Lib.Utility
{
/// <summary>
/// Miscellan... | Add check for Standard Id in CloneEntity, and add a CopyEntityProperties method to allow calling it separately | Add check for Standard Id in CloneEntity, and add a CopyEntityProperties method to allow calling it separately
| C# | apache-2.0 | ngaller/OpenSlx,ngaller/OpenSlx,nicocrm/OpenSlx,nicocrm/OpenSlx |
de08893260c6110ca1b17b5d44e59599c9ed3529 | Server/Core/Misc/NoIpUpdater.cs | Server/Core/Misc/NoIpUpdater.cs | using System;
using System.Net;
using System.Text;
using System.Threading;
using xServer.Settings;
namespace xServer.Core.Misc
{
public static class NoIpUpdater
{
private static bool _running;
public static void Start()
{
if (_running) return;
Thread updateThre... | using System;
using System.Net;
using System.Text;
using System.Threading;
using xServer.Settings;
namespace xServer.Core.Misc
{
public static class NoIpUpdater
{
private static bool _running;
public static void Start()
{
if (_running) return;
Thread updateThre... | Set Proxy to null when sending the No-Ip DNS Update request | Set Proxy to null when sending the No-Ip DNS Update request
| C# | mit | quasar/QuasarRAT,quasar/QuasarRAT |
f35d3679d9f36d863be107f3fb7ff36b1b102506 | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace revashare_svc_webapi.Tests
{
public cla... | using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace revashare_svc_webapi.Tests
{
public cla... | Check to see if merge worked | Check to see if merge worked
| C# | mit | revaturelabs/revashare-svc-webapi |
300f639c605c76431f5b373431f5cc3ace9eadf5 | samples/CookieSample/Startup.cs | samples/CookieSample/Startup.cs | using AspNetCore.Security.CAS;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace CookieSample
{
public class... | using AspNetCore.Security.CAS;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace CookieSample
{
public class... | Add comment to help find CAS url setting | Add comment to help find CAS url setting
| C# | mit | IUCrimson/AspNet.Security.CAS |
38a2d3061c5c89447ceb66e8c913ab74ba517836 | src/RedditSharp.PowerShell/Cmdlets/Posts/EditPost.cs | src/RedditSharp.PowerShell/Cmdlets/Posts/EditPost.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using System.Threading.Tasks;
using RedditSharp.Things;
namespace RedditSharp.PowerShell.Cmdlets.Posts
{
/// <summary>
/// <para type="... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using System.Threading.Tasks;
using RedditSharp.Things;
namespace RedditSharp.PowerShell.Cmdlets.Posts
{
/// <summary>
/// <para type="... | Change to InputObject naming convention | Change to InputObject naming convention
| C# | mit | pimanac/RedditSharp.PowerShell |
1d85d63d749fd92582efbe017fb51f043980ff13 | packages/boost_1_60_0/bam/Scripts/GenericBoostModule.cs | packages/boost_1_60_0/bam/Scripts/GenericBoostModule.cs | using Bam.Core;
namespace boost
{
abstract class GenericBoostModule :
C.StaticLibrary
{
protected GenericBoostModule(
string name)
{
this.Name = name;
}
private string Name
{
get;
set;
}
protected C... | using Bam.Core;
namespace boost
{
abstract class GenericBoostModule :
C.StaticLibrary
{
protected GenericBoostModule(
string name)
{
this.Name = name;
}
private string Name
{
get;
set;
}
protected C... | Set VisualC warning level that a warning free compile occurs | [packages,boost,1.60.0] Set VisualC warning level that a warning free compile occurs
| C# | bsd-3-clause | markfinal/bam-boost,markfinal/bam-boost,markfinal/bam-boost |
2ae88ec48b7e28ec3939ed6ba9130df5c84f9bff | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | Bump the version to v4.1.3 | Bump the version to v4.1.3
| C# | apache-2.0 | RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.