commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
6261f6864f9ac6707dec47a1c9dc8fbe9ca37a80 | Add test to verify IsLocked | RockFramework/RockLib.Configuration | RockLib.Configuration.DefaultConfigurationManagerTests/ConfigurationManagerTests.cs | RockLib.Configuration.DefaultConfigurationManagerTests/ConfigurationManagerTests.cs | using System;
using Xunit;
namespace RockLib.Configuration.DefaultConfigurationManagerTests
{
public class ConfigurationManagerTests
{
static ConfigurationManagerTests()
{
// Set the environment variable before ConfigurationManager is used.
Environment.SetEnvironmentVari... | using System;
using Xunit;
namespace RockLib.Configuration.DefaultConfigurationManagerTests
{
public class ConfigurationManagerTests
{
static ConfigurationManagerTests()
{
// Set the environment variable before ConfigurationManager is used.
Environment.SetEnvironmentVari... | mit | C# |
9bfc3d9fabd3251ee4d56e320a8bd33ff69fc7fc | Fix bugs when cancelling a command for The Necronomicon | samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/NecronomiconComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/NecronomiconComponentSolver.cs | using System;
using System.Collections;
using UnityEngine;
public class NecronomiconComponentSolver : ComponentSolver
{
public NecronomiconComponentSolver(TwitchModule module) :
base(module)
{
_component = Module.BombComponent.GetComponent(ComponentType);
selectables = Module.BombComponent.GetComponent<KMSele... | using System;
using System.Collections;
using UnityEngine;
public class NecronomiconComponentSolver : ComponentSolver
{
public NecronomiconComponentSolver(TwitchModule module) :
base(module)
{
_component = Module.BombComponent.GetComponent(ComponentType);
selectables = Module.BombComponent.GetComponent<KMSele... | mit | C# |
f86ad2f8daaa6f7cc6ef3c9ade17da81c1a28b8d | Fix #399 : TitlePart default placement | stevetayloruk/Orchard2,yiji/Orchard2,lukaskabrt/Orchard2,jtkech/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,jtkech/Orchard2,xkproject/Orchard2,lukaskabrt/Orchard2,lukaskabrt/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,jtkech/Orchard... | src/Orchard.Cms.Web/Modules/Orchard.Title/Drivers/TitlePartDisplay.cs | src/Orchard.Cms.Web/Modules/Orchard.Title/Drivers/TitlePartDisplay.cs | using System.Threading.Tasks;
using Orchard.ContentManagement.Display.ContentDisplay;
using Orchard.DisplayManagement.ModelBinding;
using Orchard.DisplayManagement.Views;
using Orchard.Title.Model;
using Orchard.Title.ViewModels;
namespace Orchard.Title.Drivers
{
public class TitlePartDisplay : ContentPartDisplay... | using System.Threading.Tasks;
using Orchard.ContentManagement.Display.ContentDisplay;
using Orchard.DisplayManagement.ModelBinding;
using Orchard.DisplayManagement.Views;
using Orchard.Title.Model;
using Orchard.Title.ViewModels;
namespace Orchard.Title.Drivers
{
public class TitlePartDisplay : ContentPartDisplay... | bsd-3-clause | C# |
2d40a113d8e545edd1f774694b39f91f4605472d | Add Bitrate | gyrosworkshop/Wukong,gyrosworkshop/Wukong | src/Wukong/Models/Song.cs | src/Wukong/Models/Song.cs | namespace Wukong.Models
{
public class ClientSong
{
public string SiteId { get; set; }
public string SongId { get; set; }
// override object.Equals
public override bool Equals(object obj)
{
if (obj == null || GetType() != obj.GetType())
{
... | namespace Wukong.Models
{
public class ClientSong
{
public string SiteId { get; set; }
public string SongId { get; set; }
// override object.Equals
public override bool Equals(object obj)
{
if (obj == null || GetType() != obj.GetType())
{
... | mit | C# |
362c12a3fa5f2849b186cce9f2e319d87df5b2db | Fix camera | Procrat/orpheus | Assets/Scripts/Follow.cs | Assets/Scripts/Follow.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Follow : MonoBehaviour
{
public GameObject toFollow;
public GameObject leftBoundary;
public GameObject bottomBoundary;
public GameObject rightBoundary;
public GameObject topBoundary;
void Update ()
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Follow : MonoBehaviour
{
public GameObject toFollow;
public GameObject leftBoundary;
public GameObject bottomBoundary;
public GameObject rightBoundary;
public GameObject topBoundary;
void Update ()
... | mit | C# |
d3106439f167a65c9e5f8a02c6f45bb4319e8dd8 | Fix bug in the Sql Server implementation | marinoscar/Luval | Code/Luval.Orm/SqlServerLanguageProvider.cs | Code/Luval.Orm/SqlServerLanguageProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Luval.Common;
namespace Luval.Orm
{
public class SqlServerLanguageProvider : AnsiSqlLanguageProvider
{
public SqlServerLanguageProvider() : this(DbConfiguration.Get<ISqlExpressionP... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Luval.Common;
namespace Luval.Orm
{
public class SqlServerLanguageProvider : AnsiSqlLanguageProvider
{
public SqlServerLanguageProvider() : this(DbConfiguration.Get<ISqlExpressionP... | apache-2.0 | C# |
2b590c0bdcef9335cb5a989e7724df11d3482e75 | disable test for informix due to client bug | ronnyek/linq2db,MaceWindu/linq2db,linq2db/linq2db,lvaleriu/linq2db,genusP/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,lvaleriu/linq2db,genusP/linq2db,linq2db/linq2db,MaceWindu/linq2db | Tests/Linq/UserTests/Issue513Tests.cs | Tests/Linq/UserTests/Issue513Tests.cs | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Tests.UserTests
{
using LinqToDB;
using Model;
[TestFixture]
public class Issue513Tests : TestBase
{
[Test, DataContextSource, Category("WindowsOnly")]
public void Simple(string context)
{
using (... | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Tests.UserTests
{
using Model;
[TestFixture]
public class Issue513Tests : TestBase
{
[Test, DataContextSource, Category("WindowsOnly")]
public void Simple(string context)
{
using (var db = GetDataC... | mit | C# |
c8c65a98d64cce5bff90d56f736d53e7bd7f1e67 | Fix entry point | cwensley/maccore,beni55/maccore,jorik041/maccore,mono/maccore | src/CoreAnimation/CADefs.cs | src/CoreAnimation/CADefs.cs | //
// A few complementary classes for CoreAnimation
//
// Authors:
// Geoff Norton
// Miguel de Icaza
//
// Copyright 2009, Novell, Inc.
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "... | //
// A few complementary classes for CoreAnimation
//
// Authors:
// Geoff Norton
// Miguel de Icaza
//
// Copyright 2009, Novell, Inc.
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "... | apache-2.0 | C# |
5486ad1fa69ccf1aae572923eef28db3d4e7d5a8 | rename test methods | xtofs/Dice | src/Dice.Tests/UnitTest1.cs | src/Dice.Tests/UnitTest1.cs | using System;
using System.Collections.Generic;
using Xtof.RandomVariables;
using Xunit;
namespace Dice.Tests
{
public class UnitTest1
{
[Theory, MemberData("ReductionTestData")]
public void ReductionTests(Rational actual, Rational expected)
{
Assert.Equal(expected.Numerato... | using System;
using System.Collections.Generic;
using Xtof.RandomVariables;
using Xunit;
namespace Dice.Tests
{
public class UnitTest1
{
[Theory, MemberData("ReductionTestsData")]
public void ReductionTests(Rational actual, Rational expected)
{
Assert.Equal(expected.Numerat... | mit | C# |
53c5a4d11753d729808c0b72bffb98ec15fd1896 | Use list-group instead of a table. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Views/GuildList/Index.cshtml | MitternachtWeb/Views/GuildList/Index.cshtml | @model IEnumerable<Discord.WebSocket.SocketGuild>
<div class="list-group">
@foreach(var guild in Model) {
<a class="list-group-item list-group-item-action" asp-area="Guild" asp-controller="Stats" asp-action="Index" asp-route-guildId="@guild.Id">@guild.Name</a>
}
</div> | @model IEnumerable<Discord.WebSocket.SocketGuild>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayName("GuildId")
</th>
<th>
@Html.DisplayName("GuildName")
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach(var guild in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => gui... | mit | C# |
8e01c1297e558f10e2d75e2a8daa46b55717b6bd | Add WCF option to top navigation bar | croquet-australia/croquet-australia-website,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/croquet-... | source/CroquetAustralia.Website/app/Infrastructure/PublicNavigationBar.cs | source/CroquetAustralia.Website/app/Infrastructure/PublicNavigationBar.cs | using System.Collections.Generic;
namespace CroquetAustralia.Website.App.Infrastructure
{
public static class PublicNavigationBar
{
public static IEnumerable<NavigationItem> GetNavigationItems()
{
return new[]
{
new NavigationItem("Contact Us",
... | using System.Collections.Generic;
namespace CroquetAustralia.Website.App.Infrastructure
{
public static class PublicNavigationBar
{
public static IEnumerable<NavigationItem> GetNavigationItems()
{
return new[]
{
new NavigationItem("Contact Us",
... | mit | C# |
1f270a95bbc1b9601e6cd814a1ea5928cf0af98b | update assembly version. | rcatley/MSTestHacks,Thwaitesy/MSTestHacks | src/MSTestHacks/Properties/AssemblyInfo.cs | src/MSTestHacks/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("MS... | 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("MS... | mit | C# |
b7f7ac78604ea3987e4d2a8cfe39d05bd1f25a19 | Fix medium trust issue | dmitry-urenev/extended-orchard-cms-v10.1,salarvand/Portal,infofromca/Orchard,TaiAivaras/Orchard,bigfont/orchard-cms-modules-and-themes,MpDzik/Orchard,Fogolan/OrchardForWork,patricmutwiri/Orchard,yersans/Orchard,SzymonSel/Orchard,qt1/orchard4ibn,IDeliverable/Orchard,smartnet-developers/Orchard,angelapper/Orchard,omidnas... | src/Orchard/Environment/IAssemblyLoader.cs | src/Orchard/Environment/IAssemblyLoader.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Orchard.Logging;
namespace Orchard.Environment {
public interface IAssemblyLoader {
Assembly Load(string assemblyName);
}
public class DefaultAssembly... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Orchard.Logging;
namespace Orchard.Environment {
public interface IAssemblyLoader {
Assembly Load(string assemblyName);
}
public class DefaultAssembly... | bsd-3-clause | C# |
c6c10fe158e37bcab40388f0b91d3f39bf7dcfeb | Correct method name (2) | douglasPinheiro/Selenium-Webdriver-helpers | src/SeleniumWebdriverHelpers/SeleniumWebdriverHelpers/SelectExtensions.cs | src/SeleniumWebdriverHelpers/SeleniumWebdriverHelpers/SelectExtensions.cs | using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeleniumWebdriverHelpers
{
public static class SelectExtensions
{
public static IWebElement SelectElement(this IWebDriver browser, By locator)
{
... | using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeleniumWebdriverHelpers
{
public static class SelectExtensions
{
public static IWebElement SelectElement(this IWebDriver browser, By locator)
{
... | mit | C# |
ecc0d5ef2cd8a338db91899ca546f535a5c12078 | add use of singleton instance commment | maxneo4/Libs-C- | SharedMemory/SharedMemoryConsole/Program.cs | SharedMemory/SharedMemoryConsole/Program.cs | using SharedMemory;
using System;
namespace SharedMemoryConsole
{
class Program
{
static void Main(string[] args)
{
EventMemory eventMemory = new EventMemory(1);
//EventMemory eventMemory1 = EventMemory.GetSingletonInstace(1);
eventMemory.WriteEvent("hola ... | using SharedMemory;
using System;
namespace SharedMemoryConsole
{
class Program
{
static void Main(string[] args)
{
EventMemory eventMemory = new EventMemory(1);
eventMemory.WriteEvent("hola mundo\r\n");
eventMemory.WriteEvent("otro evento\r\n");
... | artistic-2.0 | C# |
fa65dd28bce0edf0d6cd36f443f643554d44a88c | access control of subdirectory | h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6 | wp6-virtualfolder/src/WP6Service2/WP6Service2/Services/Files/Utils.cs | wp6-virtualfolder/src/WP6Service2/WP6Service2/Services/Files/Utils.cs | using System.Diagnostics;
using System.IO;
using System.Security.AccessControl;
namespace WP6Service2.Services.Files
{
public class Utils
{
/// <summary>
/// Executes Shell command or script
/// </summary>
public static string ExecuteShell(string shellcommand, string[] args, ou... | using System.Diagnostics;
using System.IO;
namespace WP6Service2.Services.Files
{
public class Utils
{
/// <summary>
/// Executes Shell command or script
/// </summary>
public static string ExecuteShell(string shellcommand, string[] args, out int exitcode)
{
... | mit | C# |
2039e8bec03b4fd2717e7ff55bf2ab1618e6421d | Throw HttpException when trying to resolve unknown controller | dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan | SnittListan/IoC/WindsorControllerFactory.cs | SnittListan/IoC/WindsorControllerFactory.cs | using System;
using System.Web.Mvc;
using System.Web.Routing;
using Castle.MicroKernel;
using System.Web;
namespace SnittListan.IoC
{
public class WindsorControllerFactory : DefaultControllerFactory
{
private readonly IKernel kernel;
public WindsorControllerFactory(IKernel kernel)
{
this.ker... | using System;
using System.Web.Mvc;
using System.Web.Routing;
using Castle.MicroKernel;
namespace SnittListan.IoC
{
public class WindsorControllerFactory : DefaultControllerFactory
{
private readonly IKernel kernel;
public WindsorControllerFactory(IKernel kernel)
{
this.kernel = kernel;
}
... | mit | C# |
3848dad33fae326b289fef8abc790ece562c9fbd | Decrease minimum zoom | AceSkiffer/SharpGraphEditor | src/SharpGraphEditor/Models/ZoomManager.cs | src/SharpGraphEditor/Models/ZoomManager.cs | using System;
using Caliburn.Micro;
namespace SharpGraphEditor.Models
{
public class ZoomManager : PropertyChangedBase
{
public double MaxZoom { get; } = 2;
public double MinZoom { get; } = 0.3;
public double CurrentZoom { get; private set; }
public int CurrentZoomInPercents... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.Micro;
namespace SharpGraphEditor.Models
{
public class ZoomManager : PropertyChangedBase
{
public double MaxZoom { get; } = 2;
public double CurrentZoom { get; private set; }
publi... | apache-2.0 | C# |
138dfe84494debb99b4c865295b79ecf2680b60c | fix of user manager desc | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/PortableAreas/UserManager/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/PortableAreas/UserManager/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("Us... | 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("Us... | apache-2.0 | C# |
4dfa51d6dd7681a994c07af6ad91be8a1fa4713f | Update Form1.cs | tanakaedu/dat1401_mouse | mouse/Form1.cs | mouse/Form1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace mouse
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace mouse
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
... | mit | C# |
30eb48b722c67d16ccf5548624b0a7a7d5c99750 | Use export provider | dotnet/roslyn,physhi/roslyn,bartdesmet/roslyn,wvdd007/roslyn,physhi/roslyn,dotnet/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,diryboy/roslyn,sharwell/roslyn,dotnet/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,diryboy/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,jasonm... | src/EditorFeatures/CSharpTest/Classification/CopyPasteAndPrintingClassifierTests.cs | src/EditorFeatures/CSharpTest/Classification/CopyPasteAndPrintingClassifierTests.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.Linq;
using System.Threading;
using System.Threading... | // 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.Linq;
using System.Threading;
using System.Threading... | mit | C# |
4151cd0e942ef1fdc77550ea5816f0c2be71580c | Remove unnecessary unsafe declaration. | jherby2k/AudioWorks | AudioWorks/src/Extensions/AudioWorks.Extensions.Mp4/TrackNumberAtom.cs | AudioWorks/src/Extensions/AudioWorks.Extensions.Mp4/TrackNumberAtom.cs | using JetBrains.Annotations;
using System;
using System.Buffers.Binary;
using System.Globalization;
namespace AudioWorks.Extensions.Mp4
{
sealed class TrackNumberAtom : WritableAtom
{
internal byte TrackNumber { get; }
internal byte TrackCount { get; }
internal TrackNumberAtom(ReadOn... | using JetBrains.Annotations;
using System;
using System.Buffers.Binary;
using System.Globalization;
namespace AudioWorks.Extensions.Mp4
{
sealed class TrackNumberAtom : WritableAtom
{
internal byte TrackNumber { get; }
internal byte TrackCount { get; }
internal TrackNumberAtom(ReadOn... | agpl-3.0 | C# |
29b22e2084fb0ece67a15ded35303a3354071407 | Fix name | verybadcat/CSharpMath | CSharpMath.Forms.Example/CSharpMath.Forms.Example/ExamplesPage.xaml.cs | CSharpMath.Forms.Example/CSharpMath.Forms.Example/ExamplesPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace CSharpMath.Forms.Example {
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ExamplesPage : ContentPage {
public ExamplesPage() {
Initi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace CSharpMath.Forms.Example {
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ExamplesPage : ContentPage {
public ExamplesPage() {
Initi... | mit | C# |
c8eac4e02ef5c758eebdcac76f850f2a7a271444 | Update Program.cs | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | Docker/MinApi/Program.cs | Docker/MinApi/Program.cs | using Dapper;
using System.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddEndpointsApiExplorer();
builde... | using Dapper;
using System.Data.SqlClient;
using Microsoft.Extensions.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddEndpointsApiExplorer();
builde... | apache-2.0 | C# |
bd5c767674370c69d680b32e76600325433a3874 | add mileage to elevator class | fredatgithub/ElevatorDemo | ElevatorDemo/Elevator.cs | ElevatorDemo/Elevator.cs | namespace ElevatorDemo
{
class Elevator
{
public int PersonCapacity { get; set; }
public bool IsWorking { get; set; }
public bool IsMoving { get; set; }
public int NumberPersonCarried { get; set; }
public bool IsFull { get; set; }
public int Position { get; set; }
public ElevatorMovingD... | namespace ElevatorDemo
{
class Elevator
{
public int PersonCapacity { get; set; }
public bool IsWorking { get; set; }
public bool IsMoving { get; set; }
public int NumberPersonCarried { get; set; }
public bool IsFull { get; set; }
public int Position { get; set; }
public ElevatorMovingD... | mit | C# |
248a851a4c0483f102147843afcd3f0a473d91ea | Fix name issue in SendAnswerFactory. | fhict-Intellicloud/nl.fhict.intellicloud.backend,fhict-Intellicloud/nl.fhict.intellicloud.backend | IntelliCloud/IntelliCloud.Business/Plugins/Loader/SendAnswerFactory.cs | IntelliCloud/IntelliCloud.Business/Plugins/Loader/SendAnswerFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nl.fhict.IntelliCloud.Common.DataTransfer;
namespace nl.fhict.IntelliCloud.Business.Plugins.Loader
{
/// <summary>
/// A factory that loads the correct send answer plugin according to the given <see cref="SourceDefinit... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nl.fhict.IntelliCloud.Common.DataTransfer;
namespace nl.fhict.IntelliCloud.Business.Plugins.Loader
{
/// <summary>
/// A factory that loads the correct send answer plugin according to the given <see cref="SourceDefinit... | apache-2.0 | C# |
41c12fd0bece51c67648ca23158de200efcf04a0 | Use collection of certificates to parse pkcs7 | secana/PeNet | src/PeNet/Parser/PKCS7Parser.cs | src/PeNet/Parser/PKCS7Parser.cs | using System.Security.Cryptography.X509Certificates;
using PeNet.Structures;
namespace PeNet.Parser
{
internal class PKCS7Parser : SafeParser<X509Certificate2>
{
private readonly WIN_CERTIFICATE _winCertificate;
internal PKCS7Parser(WIN_CERTIFICATE winCertificate)
: base(null, 0)
... | using System.Security.Cryptography.X509Certificates;
using PeNet.Structures;
namespace PeNet.Parser
{
internal class PKCS7Parser : SafeParser<X509Certificate2>
{
private readonly WIN_CERTIFICATE _winCertificate;
internal PKCS7Parser(WIN_CERTIFICATE winCertificate)
: base(null, 0)
... | apache-2.0 | C# |
0d2a4dff6e39a9f524ac212e42b90a7bd478d054 | Fix time | pavelkouril/ld38,pavelkouril/ld38 | Assets/Scripts/PlayerColor.cs | Assets/Scripts/PlayerColor.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RUF
{
public class PlayerColor : MonoBehaviour
{
public ForceFieldColors.Values FFColor;
public float RemainingTime = 0.1f;
public ForceFieldColors.Values NextColor;
private ... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RUF
{
public class PlayerColor : MonoBehaviour
{
public ForceFieldColors.Values FFColor;
public float RemainingTime = 0.1f;
public ForceFieldColors.Values NextColor;
private ... | mit | C# |
f68888c301e7c694e356fb775fb31862c8253067 | fix speed | benwaa/GameJam | Assets/Scripts/Fade.cs | Assets/Scripts/Fade.cs | using UnityEngine;
using System.Collections;
public class Fade : MonoBehaviour {
public SpriteRenderer[] renderers;
public SpriteRenderer credits;
private float time = 0f;
private float pauseTime = 0f;
private int idx = 0;
private int scrollSpeed = 1;
private bool isLoadingCredits;
private bool pauseCredit;
... | using UnityEngine;
using System.Collections;
public class Fade : MonoBehaviour {
public SpriteRenderer[] renderers;
public SpriteRenderer credits;
private float time = 0f;
private float pauseTime = 0f;
private int idx = 0;
private bool isLoadingCredits;
private bool pauseCredit;
private int[] scenrio1 = {0, ... | mit | C# |
debe36dec93fa6a55668c89547851e3cff859201 | Return content as string | obsoleted/fnapp,obsoleted/fnapp | CSharpHttpEcho/run.csx | CSharpHttpEcho/run.csx | using System.Net;
using System;
using System.Linq;
using System.Collections;
using System.Security;
using System.Security.Claims;
using System.Security.Principal;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
... | using System.Net;
using System;
using System.Linq;
using System.Collections;
using System.Security;
using System.Security.Claims;
using System.Security.Principal;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
... | mit | C# |
df7147a81d664c1462bfa6e7bc2042b2afca4072 | Fix exception type tested for in SignerIdentifierType_InvalidValues (#38847) | shimingsg/corefx,shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,BrennanConroy/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,BrennanConroy/corefx,wtgodbe/corefx,shimingsg/corefx,eri... | src/System.Security.Cryptography.Pkcs/tests/SignedCms/CmsSignerTests.cs | src/System.Security.Cryptography.Pkcs/tests/SignedCms/CmsSignerTests.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 Xunit;
namespace System.Security.Cryptography.Pkcs.Tests
{
public static partial class CmsSignerTests
... | // 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.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography.Xml;
usin... | mit | C# |
1d4a7923f1799934df70175d252881cf316a637f | Remove OperationsPerInvoke here. | jkoritzinsky/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,akrisiun/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Persp... | tests/Avalonia.Benchmarks/Base/AvaloniaObjectInitializationBenchmark.cs | tests/Avalonia.Benchmarks/Base/AvaloniaObjectInitializationBenchmark.cs | using Avalonia.Controls;
using BenchmarkDotNet.Attributes;
namespace Avalonia.Benchmarks.Base
{
[MemoryDiagnoser]
public class AvaloniaObjectInitializationBenchmark
{
[Benchmark]
public Button InitializeButton()
{
return new Button();
}
}
}
| using Avalonia.Controls;
using BenchmarkDotNet.Attributes;
namespace Avalonia.Benchmarks.Base
{
[MemoryDiagnoser]
public class AvaloniaObjectInitializationBenchmark
{
[Benchmark(OperationsPerInvoke = 1000)]
public Button InitializeButton()
{
return new Button();
... | mit | C# |
8b6d835b201d7be5e5fff1cf214ea8397c0b588a | Fix public URL | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/GlennSarti.cs | src/Firehose.Web/Authors/GlennSarti.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GlennSarti : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Glenn";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class GlennSarti : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Glenn";
... | mit | C# |
0f6634e2e34bd4fdda931b398fce53201ca607b4 | update places feature. | mediahackday/districtsintown,mediahackday/districtsintown,mediahackday/districtsintown | Backend/DistrictsInTown.Api/NominatimImporter/Activities/UpdatePlaces.cs | Backend/DistrictsInTown.Api/NominatimImporter/Activities/UpdatePlaces.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading;
using DistrictsInTown.Api.Models;
using Newtonsoft.Json;
namespace NominatimImporter.Activities
{
internal class UpdatePlaces
{
... | using System.Collections.Generic;
using System.Globalization;
using System.Net.Http;
using DistrictsInTown.Api.Models;
using Newtonsoft.Json;
namespace NominatimImporter.Activities
{
internal class UpdatePlaces
{
private const string QueryUrl = "http://nominatim.openstreetmap.org/reverse?for... | mit | C# |
d4e6609c50de23e4c076a7f5d7a0c0ac8a91e89d | Disable "Save" while sending invitations | Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,Generic... | VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml | <div ng-app="GVA.Creation" ng-controller="ManageInviteesController">
<div class="centered">
<h2>Poll Invitees</h2>
<h4>Invited</h4>
<p ng-if="invitedUsers.length === 0">You haven't invited anybody yet</p>
<div class="pill-box">
<div class="invitee-pill" ng-repeat="invit... | <div ng-app="GVA.Creation" ng-controller="ManageInviteesController">
<div class="centered">
<h2>Poll Invitees</h2>
<h4>Invited</h4>
<p ng-if="invitedUsers.length === 0">You haven't invited anybody yet</p>
<div class="pill-box">
<div class="invitee-pill" ng-repeat="invit... | apache-2.0 | C# |
0c9bccb2eb163f4031f08f95f21d2eea3dc2b4d6 | Update In.cs | nilproject/NiL.JS,nilproject/NiL.JS,nilproject/NiL.JS | NiL.JS/Expressions/In.cs | NiL.JS/Expressions/In.cs | using System;
using NiL.JS.Core;
using NiL.JS.BaseLibrary;
namespace NiL.JS.Expressions
{
#if !(PORTABLE || NETCORE)
[Serializable]
#endif
public sealed class In : Expression
{
protected internal override PredictedType ResultType
{
get
{
return Predi... | using System;
using NiL.JS.Core;
using NiL.JS.BaseLibrary;
namespace NiL.JS.Expressions
{
#if !(PORTABLE || NETCORE)
[Serializable]
#endif
public sealed class In : Expression
{
protected internal override PredictedType ResultType
{
get
{
return Predi... | bsd-3-clause | C# |
3ad98ec171772b1a264c6e999d8cb4715c011641 | Fix output behavior | VernacularHam/macolastand | Assets/Scripts/Staffer.cs | Assets/Scripts/Staffer.cs | using System.Collections;
using System.Collections.Generic;
using System;
public class Staffer {
public Staffer(int index, int level)
{
_level = level;
_name = names[index];
_output = level * 2;
}
private string[] names = { "Aniket", "Joe", "Mike", "Claudia", "Mathew", "Ben", ... | using System.Collections;
using System.Collections.Generic;
using System;
public class Staffer {
public Staffer(int index, int level)
{
_level = level;
_name = names[index];
}
private string[] names = { "Aniket", "Joe", "Mike", "Claudia", "Mathew", "Ben", "Stephanie", "Pratap", "Derek... | mit | C# |
635619668ba80dc2bc76963a659fff72d7267a5a | Change Custom dimension | JapaMala/armok-vision,JapaMala/armok-vision,JapaMala/armok-vision | Assets/TestData/GATest.cs | Assets/TestData/GATest.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GATest : MonoBehaviour {
float timer = 1;
// Use this for initialization
void Start ()
{
StartCoroutine (itr ());
}
//for testing
IEnumerator itr ()
{
while (true) {
yield return new WaitForSeconds (timer);
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GATest : MonoBehaviour {
float timer = 1;
// Use this for initialization
void Start ()
{
StartCoroutine (itr ());
}
//for testing
IEnumerator itr ()
{
while (true) {
yield return new WaitForSeconds (timer);
... | mit | C# |
498c4d2c913d41ef42748c4263d89388b24cc97d | Update BackgroundService.cs | dmitry-urenev/extended-orchard-cms-v10.1,grapto/Orchard.CloudBust,tobydodds/folklife,abhishekluv/Orchard,jimasp/Orchard,grapto/Orchard.CloudBust,jimasp/Orchard,yersans/Orchard,jimasp/Orchard,Dolphinsimon/Orchard,jchenga/Orchard,mvarblow/Orchard,Codinlab/Orchard,gcsuk/Orchard,rtpHarry/Orchard,jchenga/Orchard,phillipsj/O... | src/Orchard/Tasks/BackgroundService.cs | src/Orchard/Tasks/BackgroundService.cs | using System;
using System.Collections.Generic;
using Orchard.Data;
using Orchard.Environment.Configuration;
using Orchard.Logging;
using Orchard.Exceptions;
namespace Orchard.Tasks {
public interface IBackgroundService : IDependency {
void Sweep();
}
public class BackgroundService : IBackgroundS... | using System;
using System.Collections.Generic;
using Orchard.Data;
using Orchard.Environment.Configuration;
using Orchard.Logging;
using Orchard.Exceptions;
namespace Orchard.Tasks {
public interface IBackgroundService : IDependency {
void Sweep();
}
public class BackgroundService : IBackgroundS... | bsd-3-clause | C# |
4060313ebecc09b4ebd5f69751738b780cc26ad7 | Change return type of script engine | chribben/ScriptSharp,chribben/ScriptSharp,chribben/ScriptSharp | src/ScriptEngine/CSharpScriptEngine.cs | src/ScriptEngine/CSharpScriptEngine.cs | using System;
using Microsoft.CodeAnalysis.Scripting;
using Microsoft.CodeAnalysis.CSharp.Scripting;
namespace ScriptSharp.ScriptEngine
{
public class CSharpScriptEngine
{
private static ScriptState<object> scriptState = null;
public static object Execute(string code)
{
... | using System;
using Microsoft.CodeAnalysis.Scripting;
using Microsoft.CodeAnalysis.CSharp.Scripting;
namespace ScriptSharp.ScriptEngine
{
public class CSharpScriptEngine
{
private static ScriptState<object> scriptState = null;
public static object Execute(string code)
{
... | mit | C# |
1004b9a477753a4b0f3fc7eddb862ec8c2856635 | Tweak visibility. | drewnoakes/dasher | Dasher.Tests/TestUtils.cs | Dasher.Tests/TestUtils.cs | #region License
//
// Dasher
//
// Copyright 2015-2016 Drew Noakes
//
// 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
//
// ... | #region License
//
// Dasher
//
// Copyright 2015-2016 Drew Noakes
//
// 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
//
// ... | apache-2.0 | C# |
f0d28e48335c102ce626fae6b6d76e6188881276 | Implement getting data for office details | aregaz/starcounterdemo,aregaz/starcounterdemo | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | using RealEstateAgencyFranchise.Database;
using Starcounter;
using System.Linq;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(ulong officeObjectNo)
{
return Db.Scope(() =>
{
var offices = Db.SQL<Offic... | using Starcounter;
using System;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(long officeObjectNo)
{
throw new NotImplementedException();
}
}
}
| mit | C# |
178049b97dee31e32acfa2ab58e0a3ecfeecdc76 | Update ExchangeRateRepository.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRateRepository.cs | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRateRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ExchangeRateRepository : EntityQueryRep... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ExchangeRateRepository : EntityQueryRep... | mit | C# |
80d3a8aee7d79ec7100d751640d99324185af949 | Refresh settings in ServiceAuthProvider before proceeding with authenticate call | MacLeanElectrical/servicestack-authentication-identityserver | src/ServiceStack.Authentication.IdentityServer/Providers/ServiceAuthProvider.cs | src/ServiceStack.Authentication.IdentityServer/Providers/ServiceAuthProvider.cs | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
namespace ServiceStack.Authentication.IdentityServer.Providers
{
using System.Collections.Generic;
using Syst... | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
namespace ServiceStack.Authentication.IdentityServer.Providers
{
using System.Collections.Generic;
using Syst... | mpl-2.0 | C# |
a8e32eee807abcfadeaa3893169810a848883503 | remove todo only | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Orchestrators/AgreementOrchestrator.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web/Orchestrators/AgreementOrchestrator.cs | using System.Linq;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.HashingService;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetCommitmentAgreements;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Agreement;
usin... | using System.Linq;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.HashingService;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetCommitmentAgreements;
using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Agreement;
usin... | mit | C# |
d0c6f42f73965162bce79731daaa593d5a1e135e | Remove old comment | inputfalken/Sharpy | GeneratorAPI/Generation.cs | GeneratorAPI/Generation.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace GeneratorAPI {
public class Generation<TResult> {
private readonly IEnumerable<TResult> _infiniteEnumerable;
public Generation(IEnumerable<TResult> infiniteEnumerable) => _infiniteEnumerable = infiniteEnumerable;
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace GeneratorAPI {
public class Generation<TResult> {
private readonly IEnumerable<TResult> _infiniteEnumerable;
public Generation(IEnumerable<TResult> infiniteEnumerable) => _infiniteEnumerable = infiniteEnumerable;
... | mit | C# |
c41ba7b7042eee8ac1d66839bbb5c6f0c6393451 | Update with latest framework changes | UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,2yangk23/osu,Drezi126/osu,ZLima12/osu,johnneijzen/osu,smoogipoo/osu,naoey/osu,naoey/osu,peppy/osu,johnneijzen/osu,ppy/osu,Damnae/osu,2yangk23/osu,EVA... | osu.Game/Input/Bindings/GlobalKeyBindingInputManager.cs | osu.Game/Input/Bindings/GlobalKeyBindingInputManager.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 OpenTK.Input;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Input.Bin... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Input;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Input;
u... | mit | C# |
4f4a66e980043d096529f16e38d05537699111ca | Update to error message | dreamnucleus/Commands | Slipstream.CommonDotNet.Commands/ResultNotRegisteredException.cs | Slipstream.CommonDotNet.Commands/ResultNotRegisteredException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Slipstream.CommonDotNet.Commands
{
public class ResultNotRegisteredException : Exception
{
public ResultNotRegisteredException(Type command, Type result)
: base($"There was no handler... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Slipstream.CommonDotNet.Commands
{
public class ResultNotRegisteredException : Exception
{
public ResultNotRegisteredException(Type command, Type result)
: base($"There was no handler... | mit | C# |
1009b6bd79487ee977ef8ae36c03ba08c13a28cb | Test fixup | asbjornu/Nancy,dbolkensteyn/Nancy,lijunle/Nancy,phillip-haydon/Nancy,AIexandr/Nancy,hitesh97/Nancy,horsdal/Nancy,sroylance/Nancy,wtilton/Nancy,jeff-pang/Nancy,dbolkensteyn/Nancy,ayoung/Nancy,AlexPuiu/Nancy,dbabox/Nancy,AcklenAvenue/Nancy,jmptrader/Nancy,asbjornu/Nancy,AIexandr/Nancy,sadiqhirani/Nancy,danbarua/Nancy,EIr... | src/Nancy.Testing.Tests/BrowserResponseExtensionsTests.cs | src/Nancy.Testing.Tests/BrowserResponseExtensionsTests.cs | namespace Nancy.Testing.Tests
{
using System.Xml;
using FakeItEasy;
using Xunit;
public class BrowserResponseExtensionsTests
{
private BrowserResponse sut;
[Fact]
public void Should_create_xdocument_from_xml_body()
{
var context = new NancyContext() { Response = "<tag />" };
su... | namespace Nancy.Testing.Tests
{
using System.Xml;
using Xunit;
public class BrowserResponseExtensionsTests
{
private BrowserResponse sut;
[Fact]
public void Should_create_xdocument_from_xml_body()
{
var context = new NancyContext() { Response = "<tag />" };
sut = new BrowserResponse(con... | mit | C# |
0131ef20436ddc1c4b976bcf15a605982aecea8a | Remove self link. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/src/Squidex/Areas/Api/Controllers/Assets/Models/AssetFolderDto.cs | backend/src/Squidex/Areas/Api/Controllers/Assets/Models/AssetFolderDto.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
4c8261fd65ede2ffd3ecf8fd7164a9359f38c63a | Fix warning | RehanSaeed/Serilog.Exceptions,RehanSaeed/Serilog.Exceptions | Tests/Serilog.Exceptions.Test/Destructurers/RpcExceptionDestructurerTest.cs | Tests/Serilog.Exceptions.Test/Destructurers/RpcExceptionDestructurerTest.cs | namespace Serilog.Exceptions.Test.Destructurers;
using global::Grpc.Core;
using Serilog.Exceptions.Core;
using Serilog.Exceptions.Grpc.Destructurers;
using Xunit;
using static LogJsonOutputUtils;
public class RpcExceptionDestructurerTest
{
[Fact]
public void RpcException_StatusCodeIsLoggedAsProperty()
{
... | namespace Serilog.Exceptions.Test.Destructurers;
using System;
using System.Net;
using global::Grpc.Core;
using Serilog.Exceptions.Core;
using Serilog.Exceptions.Grpc.Destructurers;
using Xunit;
using static LogJsonOutputUtils;
public class RpcExceptionDestructurerTest
{
[Fact]
public void RpcException_Status... | mit | C# |
30037c1b331f7d0c43931ce47baefe84fa34c112 | Allow Attachments to be created using Stream (content) and string (filename) | MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,XeroAPI/XeroAPI.Net | source/XeroApi/Model/Attachment.cs | source/XeroApi/Model/Attachment.cs | using System;
using System.IO;
using System.Xml.Serialization;
using DevDefined.OAuth.Utility;
namespace XeroApi.Model
{
public class Attachment : ModelBase
{
public Attachment()
{
}
public Attachment(FileInfo fileInfo)
{
if (fileInfo == null) { throw new A... | using System;
using System.IO;
using System.Xml.Serialization;
using DevDefined.OAuth.Utility;
namespace XeroApi.Model
{
public class Attachment : ModelBase
{
public Attachment()
{
}
public Attachment(FileInfo fileInfo)
{
if (fileInfo == null) { throw new A... | mit | C# |
a6901c0a2714e134608afbe9453a43abf1cec5f1 | Change TimelineButton icon colour to white when hovered | ppy/osu,UselessToucan/osu,Frontear/osuKyzer,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,Drezi126/osu,EVAST9919/osu,naoey/osu,naoey/osu,DrabWeb/osu,peppy/osu,johnneijzen/osu,peppy/osu-new,UselessToucan/osu,johnneijzen/osu,ZLima12/osu,naoey/osu,2yangk23/osu,smoogipooo/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,NeoAd... | osu.Game/Screens/Edit/Screens/Compose/Timeline/TimelineButton.cs | osu.Game/Screens/Edit/Screens/Compose/Timeline/TimelineButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK.Graphics;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Gr... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game.... | mit | C# |
9ac0f7fddcb11a8a2332f843c516d44c036506ad | add XML documents. | jwChung/Experimentalism,jwChung/Experimentalism | src/Experiment/ExceptionCommand.cs | src/Experiment/ExceptionCommand.cs | using System;
using Xunit.Sdk;
namespace Jwc.Experiment
{
/// <summary>
/// Exception 테스트 케이스를 나타냄.
/// </summary>
public class ExceptionCommand : TestCommand
{
/// <summary>
/// Initializes a new instance of the <see cref="ExceptionCommand"/> class.
/// </summary>
... | using System;
using Xunit.Sdk;
namespace Jwc.Experiment
{
/// <summary>
///
/// </summary>
public class ExceptionCommand : TestCommand
{
/// <summary>
/// Initializes a new instance of the <see cref="ExceptionCommand"/> class.
/// </summary>
/// <param name="method... | mit | C# |
f2087032cbe13ade669c3d3e779b77a9ba6991ff | Fix icon not displayed for clear button in .NET Core Output window. | mrward/monodevelop-dnx-addin | src/MonoDevelop.Dnx/MonoDevelop.Dnx.Gui/DnxOutputPad.cs | src/MonoDevelop.Dnx/MonoDevelop.Dnx.Gui/DnxOutputPad.cs | //
// DnxOutputPad.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, ... | //
// DnxOutputPad.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, ... | mit | C# |
d85429525d1d93b1d86f910f5d314bbb9aedb9e3 | Reformat StartGameButton for readability | Curdflappers/UltimateTicTacToe | Assets/Resources/Scripts/StartGameButton.cs | Assets/Resources/Scripts/StartGameButton.cs | using UnityEngine;
using UnityEngine.SceneManagement;
public class StartGameButton : MonoBehaviour
{
public int gameMode;
public void OnClick()
{
GameStart.GameMode = gameMode;
SceneManager.LoadScene(1); // game scene
}
} | using UnityEngine;
using UnityEngine.SceneManagement;
public class StartGameButton : MonoBehaviour {
public int gameMode;
public void OnClick()
{
GameStart.GameMode = gameMode;
SceneManager.LoadScene(1); // game scene
}
}
| mit | C# |
9b2594e670655dc9a351b4675cb702b499fba0e9 | Update EditTags.cshtml | Kagamine/CodeComb-Old,Kagamine/CodeComb-Old,Kagamine/CodeComb-Old,Kagamine/CodeComb-Old | CodeComb.Web/Views/Solution/EditTags.cshtml | CodeComb.Web/Views/Solution/EditTags.cshtml | @model Solution
@{
ViewBag.Title = "编辑标签 - " + Model.Title + " - " + Model.Problem.Title;
List<AlgorithmTag> Tags = ViewBag.Tags;
}
<div class="post-detail-body">
<div class="cont-wrap">
<div class="grid_12">
<div class="post-detail-wrap-outer">
<div class="prof... | @model Solution
@{
ViewBag.Title = "编辑标签 - " + Model.Title + " - " + Model.Problem.Title;
List<AlgorithmTag> Tags = ViewBag.Tags;
}
<div class="post-detail-body">
<div class="cont-wrap">
<div class="grid_12">
<div class="post-detail-wrap-outer">
<div class="prof... | apache-2.0 | C# |
839a484fb2be4f6614431cc96ac76cc279e27897 | Change time utils visibility from internal to public | criteo/zipkin4net,criteo/zipkin4net | Criteo.Profiling.Tracing/Utils/TimeUtils.cs | Criteo.Profiling.Tracing/Utils/TimeUtils.cs | using System;
namespace Criteo.Profiling.Tracing.Utils
{
public static class TimeUtils
{
private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static DateTime UtcNow
{
get
{
return HighResolutionDa... | using System;
namespace Criteo.Profiling.Tracing.Utils
{
internal static class TimeUtils
{
private static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public static DateTime UtcNow
{
get
{
return HighResolution... | apache-2.0 | C# |
67c628194533c6741c186b118b5b3c27f4851e70 | Make seeAlso dynamic to allow for multiple discovery links | digirati-co-uk/iiif-model | Digirati.IIIF/Model/IIIFPresentationBase.cs | Digirati.IIIF/Model/IIIFPresentationBase.cs | using Digirati.IIIF.Model.JsonLD;
using Digirati.IIIF.Model.Types;
using Digirati.IIIF.Serialisation;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model
{
public abstract class IIIFPresentationBase : JSONLDBase
{
[JsonProperty(Order = 11, PropertyName = "label")]
public MetaDataValue Label {... | using Digirati.IIIF.Model.JsonLD;
using Digirati.IIIF.Model.Types;
using Digirati.IIIF.Serialisation;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model
{
public abstract class IIIFPresentationBase : JSONLDBase
{
[JsonProperty(Order = 11, PropertyName = "label")]
public MetaDataValue Label {... | mit | C# |
675a519668eb9638180016477fa82e93b09bdc70 | Fix typo. | chakrit/ndesk-options-mirror,MikeJansen/NDesk.Options.StrongNamed,MikeJansen/NDesk.Options.StrongNamed,MikeJansen/NDesk.Options.StrongNamed,chakrit/ndesk-options-mirror | doc/en/examples/greet.cs | doc/en/examples/greet.cs | using System;
using System.Collections.Generic;
using NDesk.Options;
class Test {
static int verbosity;
public static void Main (string[] args)
{
bool show_help = false;
List<string> names = new List<string> ();
int repeat = 1;
var p = new OptionSet () {
{ "n|name=", "the name of someone to greet.",
... | using System;
using System.Collections.Generic;
using NDesk.Options;
class Test {
static int verbosity;
public static void Main (string[] args)
{
bool show_help = false;
List<string> names = new List<string> ();
int repeat = 1;
var p = new OptionSet () {
{ "n|name=", "the name of someone to greet.",
... | mit | C# |
ea88d95da442cc182db3248999811b4942a38fba | Remove obsolete comment | MavenRain/kudu,EricSten-MSFT/kudu,uQr/kudu,juoni/kudu,badescuga/kudu,sitereactor/kudu,chrisrpatterson/kudu,bbauya/kudu,barnyp/kudu,bbauya/kudu,mauricionr/kudu,mauricionr/kudu,duncansmart/kudu,MavenRain/kudu,bbauya/kudu,juoni/kudu,juvchan/kudu,oliver-feng/kudu,puneet-gupta/kudu,uQr/kudu,puneet-gupta/kudu,projectkudu/kud... | Kudu.Services.Web/App_Start/PathResolver.cs | Kudu.Services.Web/App_Start/PathResolver.cs | using System;
using System.IO;
using System.Web.Hosting;
namespace Kudu.Services.Web
{
public static class PathResolver
{
public static string ResolveRootPath()
{
return Path.GetFullPath(ResolveRootPathInternal());
}
private static string ResolveRootPathInternal()
... | using System;
using System.IO;
using System.Web.Hosting;
namespace Kudu.Services.Web
{
public static class PathResolver
{
public static string ResolveRootPath()
{
return Path.GetFullPath(ResolveRootPathInternal());
}
private static string ResolveRootPathInternal()
... | apache-2.0 | C# |
0a6173e3bfe03f9890c08aa6cee0ec005f2f882e | add a few more lines | chrismlusk/accuraty-templates,chrismlusk/accuraty-templates | DesktopModules/RazorModules/RazorHost/Scripts/__ASL_ThemeTypography.cshtml | DesktopModules/RazorModules/RazorHost/Scripts/__ASL_ThemeTypography.cshtml | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, <a href="#">labore et dolore magna aliqua</a> enim ad minim veniam sed do eiusmod tempor incididunt ut quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
<p>Dolore excepteur elit consequat eu ea commodo nisi nulla adipisic... | <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, <a href="#">labore et dolore magna aliqua</a> enim ad minim veniam sed do eiusmod tempor incididunt ut quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
<p><strong>Tempore soluta corporis fuga esse atque ratione!</strong>... | mit | C# |
54125362ebb484f80c18f197112f47fc2aace796 | Make color and thickness mutable for wires | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/OpenGl/OpenWire.cs | SolidworksAddinFramework/OpenGl/OpenWire.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Numerics;
using MathNet.Numerics.LinearAlgebra.Double;
using OpenTK.Graphics.OpenGL;
using SolidworksAddinFramework.Geometry;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework.OpenGl
{
public a... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Numerics;
using MathNet.Numerics.LinearAlgebra.Double;
using OpenTK.Graphics.OpenGL;
using SolidworksAddinFramework.Geometry;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework.OpenGl
{
public a... | mit | C# |
d709378465e578547a2044cd7be41884991914fa | Fix bug with DFS when some vertices painted in gray twice | AceSkiffer/SharpGraphEditor | src/SharpGraphEditor.Graph.Core/Algorithms/DepthFirstSearchAlgorithm.cs | src/SharpGraphEditor.Graph.Core/Algorithms/DepthFirstSearchAlgorithm.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpGraphEditor.Graph.Core.Elements;
namespace SharpGraphEditor.Graph.Core.Algorithms
{
public class DepthFirstSearchAlgorithm : IAlgorithm
{
public string Name => "Depth first search";
public string... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpGraphEditor.Graph.Core.Elements;
namespace SharpGraphEditor.Graph.Core.Algorithms
{
public class DepthFirstSearchAlgorithm : IAlgorithm
{
public string Name => "Depth first search";
public string... | apache-2.0 | C# |
c4059772ccba5db8e7a818a6f0de5cef6d9df6d1 | Update CompositeAssemblyStringLocalizerTests.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Localization/CompositeAssemblyStringLocalizerTests.cs | TIKSN.UnitTests.Shared/Localization/CompositeAssemblyStringLocalizerTests.cs | using System;
using System.Linq;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using Serilog;
using TIKSN.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Localization.Tests
{
public cl... | using System;
using System.Linq;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using Serilog;
using TIKSN.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Localization.Tests
{
public cl... | mit | C# |
cfea9fcff3e5ef6b10365fd5436074c2e1470028 | increment version for nuget | lukesampson/HastyAPI,lukesampson/HastyAPI | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ha... | 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("Ha... | mit | C# |
d4d74c70f7d010f70422a079a69bf7a8a32af098 | update version to 22 | ezaurum/dapper | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
// 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("Dapper Repository... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
// 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("Dapper Repository... | mit | C# |
eb560814d9351d038366535fa2f6afb28b9aa330 | Update version to 1.3.4 | anonymousthing/ListenMoeClient | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Listen.moe Client")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Listen.moe Client")]
[assembly: Ass... | mit | C# |
cc4a0afdf4196dd9f4d99d1a93aaa7c3ee414795 | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | autofac/Autofac.Extras.AggregateService | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.AggregateService")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.AggregateService")]
[assembly: AssemblyDescription("Autofac Aggregate Service Module")]
[assembly: ComVisible(false)] | mit | C# |
58f8b20ac92b33c074695f3214c3c3f52b593403 | Add default GitCommandException constructor | appharbor/appharbor-cli | src/AppHarbor/GitCommandException.cs | src/AppHarbor/GitCommandException.cs | using System;
namespace AppHarbor
{
public class GitCommandException : Exception
{
public GitCommandException()
{
}
public GitCommandException(string message)
: base(message)
{
}
}
}
| using System;
namespace AppHarbor
{
public class GitCommandException : Exception
{
public GitCommandException(string message)
: base(message)
{
}
}
}
| mit | C# |
03cce086594d24a2be73c1905d03c02c60569d71 | Update XDatabases.cs | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Collections/XDatabases.cs | src/Core2D/Collections/XDatabases.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Data.Database;
namespace Core2D.Collections
{
/// <summary>
/// Ob... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Data.Database;
namespace Core2D.Collections
{
/// <summary>
/// Observable <see ... | mit | C# |
6029ff377ceaed50ae16fe309a814af34911f29d | Use HashSet<string> to implement StringCache. | Faithlife/FaithlifeUtility | src/Faithlife.Utility/StringCache.cs | src/Faithlife.Utility/StringCache.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Faithlife.Utility
{
/// <summary>
/// <see cref="StringCache"/> provides an append-only cache of strings that can be used
/// to reuse the same string object instance when a string is being dynamically created at runtim... | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Faithlife.Utility
{
/// <summary>
/// <see cref="StringCache"/> provides an append-only cache of strings that can be used
/// to reuse the same string object instance when a string is being dynamically created at runtime
/// (e.g., ... | mit | C# |
12e1374b02973118af111e83303fb99b08903f1c | Add company infor in AssemblyInfo.cs | ppanyukov/FunCs,ppanyukov/FunCs | src/FunCs/Properties/AssemblyInfo.cs | src/FunCs/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("Fu... | 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("Fu... | mit | C# |
cc17efec6c2964c22057d87d413543b7421b3f1e | remove requiressl=false | faithword/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework,henkmeulekamp/IdentityServer3.EntityFramework,buybackoff/IdentityServer3.EntityFramework,chwilliamson/IdentityServer3.EntityFramework | Source/SelfHost/Startup.cs | Source/SelfHost/Startup.cs | using Owin;
using SelfHost.Config;
using Thinktecture.IdentityServer.Core.Configuration;
namespace SelfHost
{
internal class Startup
{
public void Configuration(IAppBuilder appBuilder)
{
var options = new IdentityServerOptions
{
IssuerUri = "https://idsr... | using Owin;
using SelfHost.Config;
using Thinktecture.IdentityServer.Core.Configuration;
namespace SelfHost
{
internal class Startup
{
public void Configuration(IAppBuilder appBuilder)
{
var options = new IdentityServerOptions
{
IssuerUri = "https://idsr... | apache-2.0 | C# |
03b673aed5964e15f126d150a1cd456a2058721c | Test fixup, I'm sure I've fixed this before, but heyho | kekekeks/Nancy,malikdiarra/Nancy,anton-gogolev/Nancy,MetSystem/Nancy,felipeleusin/Nancy,murador/Nancy,Novakov/Nancy,hitesh97/Nancy,jongleur1983/Nancy,duszekmestre/Nancy,EliotJones/NancyTest,adamhathcock/Nancy,daniellor/Nancy,nicklv/Nancy,horsdal/Nancy,EliotJones/NancyTest,nicklv/Nancy,vladlopes/Nancy,vladlopes/Nancy,th... | src/Nancy/DefaultObjectSerializer.cs | src/Nancy/DefaultObjectSerializer.cs | namespace Nancy
{
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
public class DefaultObjectSerializer : IObjectSerializer
{
/// <summary>
/// Serialize an object
/// </summary>
... | namespace Nancy
{
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
public class DefaultObjectSerializer : IObjectSerializer
{
/// <summary>
/// Serialize an object
/// </summary>
... | mit | C# |
c86d06b7f5048a04ae7ebcec0f350dcc2ff4bf29 | Change httpclientwrapper to return the content as string async. | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/HttpClientWrapper.cs | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/HttpClientWrapper.cs | using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NLog;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Ser... | using System;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NLog;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Ser... | mit | C# |
bbe34f566e908f6813e5e6a1983acd218dbbcffe | Make BirthDate non-nullable Web API issue: https://github.com/OData/WebApi/issues/482 | Skylertodd/RESTier,karataliu/RESTier | test/ODataEndToEndTests/Microsoft.Restier.WebApi.Test.Services.Trippin/Models/Person.cs | test/ODataEndToEndTests/Microsoft.Restier.WebApi.Test.Services.Trippin/Models/Person.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Mic... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Mic... | mit | C# |
10f88b7b04a037f9fe9acbf59ecec7a48b04b2af | Fix bug with double serialization | seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,seiggy/AsterNET.ARI,seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,skrusty/AsterNET.ARI | AsterNET.ARI/Middleware/Default/Command.cs | AsterNET.ARI/Middleware/Default/Command.cs | using System;
using RestSharp.Portable;
using RestSharp.Portable.Authenticators;
using RestSharp.Portable.HttpClient;
namespace AsterNET.ARI.Middleware.Default
{
public class Command : IRestCommand
{
internal RestClient Client;
internal RestRequest Request;
public Command(StasisEndpoin... | using System;
using RestSharp;
using Newtonsoft.Json;
using RestSharp.Portable;
using RestSharp.Portable.Authenticators;
using RestSharp.Portable.HttpClient;
namespace AsterNET.ARI.Middleware.Default
{
public class Command : IRestCommand
{
internal RestClient Client;
internal RestRequest Reques... | mit | C# |
1adb1b5b091ace9a23520ce1fcb006ee073a0210 | Bring ISaveFileDialogBackend back in line with upstream/master | TheBrainTech/xwt | Xwt/Xwt.Backends/ISaveFileDialogBackend.cs | Xwt/Xwt.Backends/ISaveFileDialogBackend.cs | //
// ISaveFileDialogBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software withou... | //
// ISaveFileDialogBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software withou... | mit | C# |
4b3c90135867643143f5d2981b9ded9e0fe9736c | fix quota | 0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload | PenguinUpload/src/PenguinUpload/DataModels/Auth/RegisteredUser.cs | PenguinUpload/src/PenguinUpload/DataModels/Auth/RegisteredUser.cs | using Newtonsoft.Json;
using PenguinUpload.Services.Authentication;
namespace PenguinUpload.DataModels.Auth
{
/// <summary>
/// Represents a user who is registered and on record in the database.
/// </summary>
public class RegisteredUser : DatabaseObject
{
[JsonProperty("username")]
... | using Newtonsoft.Json;
using PenguinUpload.Services.Authentication;
namespace PenguinUpload.DataModels.Auth
{
/// <summary>
/// Represents a user who is registered and on record in the database.
/// </summary>
public class RegisteredUser : DatabaseObject
{
[JsonProperty("username")]
... | apache-2.0 | C# |
7ee704697a97ef374dd63cfd5bea5dc6aa955e4e | Add signatures | sakapon/Bellona.Analysis | Bellona/Analysis/Analysis/Clustering/ClusteringModel2.cs | Bellona/Analysis/Analysis/Clustering/ClusteringModel2.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Bellona.Core;
using Bellona.Linq;
namespace Bellona.Analysis.Clustering
{
public static class ClusteringModel2
{
public static ClusteringModel2<T> CreateFromNumber<T>(Func<T, ArrayVector> feat... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Bellona.Analysis.Clustering
{
public static class ClusteringModel2
{
}
}
| mit | C# |
6dba4c8475d4caf6d037e63139f0bf18a2099f0b | Select knights with lowercase keys. Not sure if serious. | eightyeight/vlrtt,eightyeight/vlrtt | game/knights.cs | game/knights.cs | new SimGroup(Knights);
//-----------------------------------------------------------------------------
// Create the player material.
singleton Material(PlayerMaterial) {
diffuseColor[0] = "0 1 0";
mapTo = "basePlayer";
};
//-----------------------------------------------------------------------------
// Create... | new SimGroup(Knights);
//-----------------------------------------------------------------------------
// Create the player material.
singleton Material(PlayerMaterial) {
diffuseColor[0] = "0 1 0";
mapTo = "basePlayer";
};
//-----------------------------------------------------------------------------
// Create... | mit | C# |
21fed0c224b67653430f0042458576b60698c85c | Reduce number of TLS accesses in AllocFreeConcurrentStack<T> | gabrielPeart/corefx,ViktorHofer/corefx,jeremymeng/corefx,claudelee/corefx,DnlHarvey/corefx,stephenmichaelf/corefx,popolan1986/corefx,matthubin/corefx,ptoonen/corefx,JosephTremoulet/corefx,Ermiar/corefx,weltkante/corefx,oceanho/corefx,twsouthwick/corefx,JosephTremoulet/corefx,dotnet-bot/corefx,destinyclown/corefx,larsbj... | src/System.Collections.Immutable/src/System/Collections/Immutable/AllocFreeConcurrentStack.cs | src/System.Collections.Immutable/src/System/Collections/Immutable/AllocFreeConcurrentStack.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Diagnostics;
namespace System.Collections.Immutable
{
[DebuggerDisplay("Count = {stack != null ? stack.Count : 0}")]... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace System.Collections.Immutable
{
[DebuggerD... | mit | C# |
e4c42e250b245b9a94eb1562e75c4f277ef7313c | Tweak color scheme for ABCP | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Shared/DisplayTemplates/ABCP.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/ABCP.cshtml | @model ABCP
@if (Model != null)
{
<div>
<a href="@Url.Action("Details", "ABCP", new { Model.Id })">
@if (Model.IsPassing)
{
// Per request, if the weigh-in is within the last 6 months, it's GREEN
// If it's 6-9 months, AMBER
// 9 mont... | @model ABCP
@if (Model != null)
{
<div>
<a href="@Url.Action("Details", "ABCP", new { Model.Id })">
@if (Model.IsValid && Model.IsPassing)
{
<span class="label label-success">GO</span>
}
else if (Model.IsPassing)
{
... | mit | C# |
4e40428500e2150773c3e89938494bd2634cb93d | Update PagePluginSample.cs | Kooboo/CMS,techwareone/Kooboo-CMS,Kooboo/CMS,lingxyd/CMS,jtm789/CMS,andyshao/CMS,andyshao/CMS,lingxyd/CMS,andyshao/CMS,jtm789/CMS,Kooboo/CMS,jtm789/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,techwareone/Kooboo-CMS | Kooboo.CMS/Kooboo.CMS.PluginTemplate/PagePluginSample.cs | Kooboo.CMS/Kooboo.CMS.PluginTemplate/PagePluginSample.cs | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.CMS.Sites.Extension;
using Kooboo.CMS.Sites.View;
using System.Web;
usi... | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.CMS.Sites.Extension;
using Kooboo.CMS.Sites.View;
using System.Web;
usi... | bsd-3-clause | C# |
c751bba5a69b70a5ad847595c87ec5015c998dfa | Fix tiny typo | Seddryck/NBi,Seddryck/NBi | NBi.Extensibility/ExternalDependencyNotFoundException.cs | NBi.Extensibility/ExternalDependencyNotFoundException.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace NBi.Extensibility
{
public class ExternalDependencyNotFoundException : NBiException
{
public ExternalDependencyNotFoundException(string filename)
: base ($"This test is in erro... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace NBi.Extensibility
{
public class ExternalDependencyNotFoundException : NBiException
{
public ExternalDependencyNotFoundException(string filename)
: base ($"This test is in erro... | apache-2.0 | C# |
354beb32d067766d3a9df165803e0783197c534e | Add summary info | sergeyshushlyapin/Sitecore.FakeDb,pveller/Sitecore.FakeDb | src/Sitecore.FakeDb.AutoFixture.Tests/Samples/ContentSearchProviderSample.cs | src/Sitecore.FakeDb.AutoFixture.Tests/Samples/ContentSearchProviderSample.cs | namespace Sitecore.FakeDb.AutoFixture.Tests.Samples
{
using System.Collections.Generic;
using System.Linq;
using NSubstitute;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoNSubstitute;
using Ploeh.AutoFixture.Xunit2;
using Sitecore.Abstractions;
using Sitecore.Common;
using Sitecore.ContentSea... | namespace Sitecore.FakeDb.AutoFixture.Tests.Samples
{
using System.Collections.Generic;
using System.Linq;
using NSubstitute;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoNSubstitute;
using Ploeh.AutoFixture.Xunit2;
using Sitecore.Abstractions;
using Sitecore.Common;
using Sitecore.ContentSea... | mit | C# |
30effb3c81e3c346609e1b68e81c37c5b545913f | Update StockObserver | harshalchaudhari/tradingSystemConsoleApp | tradeSystemConsoleApplication/tradeSystemConsoleApplication/StockObserver.cs | tradeSystemConsoleApplication/tradeSystemConsoleApplication/StockObserver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using tradeSystemConsoleApplication;
using tradeSystemConsoleApplication.DataContract;
namespace StockMarket
{
public class StockObserver
{
private readonly Queue<Dictionary<string, Fiel... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StockMarket
{
public class StockObserver
{
private readonly Queue<Dictionary<string, object>> cachedValues;
public int MaximumCachedValues { get; private set; }
... | apache-2.0 | C# |
d782dd6f91e471e8ad68ad115aed5ad1167a8a89 | Update SerilogLoggingSetupBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Logging/Serilog/SerilogLoggingSetupBase.cs | TIKSN.Core/Analytics/Logging/Serilog/SerilogLoggingSetupBase.cs | using Microsoft.Extensions.Logging;
using Serilog;
namespace TIKSN.Analytics.Logging.Serilog
{
public class SerilogLoggingSetupBase : ILoggingSetup
{
protected LoggerConfiguration _loggerConfiguration;
protected SerilogLoggingSetupBase()
{
_loggerConfiguration = new Logger... | using Microsoft.Extensions.Logging;
using Serilog;
namespace TIKSN.Analytics.Logging.Serilog
{
public class SerilogLoggingSetupBase : ILoggingSetup
{
protected LoggerConfiguration _loggerConfiguration;
private readonly ILoggerFactory _loggerFactory;
protected SerilogLoggingSetupBase(I... | mit | C# |
fa85a2bbba4a0f24d6261c74feeb07562af80c45 | Combine make reset and evaluate do the same thing. (#665) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/Handlers/IssueCommentHandler.cs | tools/check-enforcer/Azure.Sdk.Tools.CheckEnforcer/Handlers/IssueCommentHandler.cs | using Azure.Sdk.Tools.CheckEnforcer.Configuration;
using Azure.Sdk.Tools.CheckEnforcer.Integrations.GitHub;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
using Microsoft.Identity.Client;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
us... | using Azure.Sdk.Tools.CheckEnforcer.Configuration;
using Azure.Sdk.Tools.CheckEnforcer.Integrations.GitHub;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Primitives;
using Microsoft.Identity.Client;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
us... | mit | C# |
3e6f0c198cc1ec75ac5529cbc3f5b9913000c33c | Remove tab | ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,2yangk23/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,ZLima12/osu,DrabWeb/osu,peppy/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu... | osu.Game/Rulesets/Mods/ModAutoplay.cs | osu.Game/Rulesets/Mods/ModAutoplay.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
... | mit | C# |
8d92d15299f08774acd25c1a5bddfbbf0e765c73 | Improve GC health check. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/src/Squidex.Infrastructure/Diagnostics/GCHealthCheck.cs | backend/src/Squidex.Infrastructure/Diagnostics/GCHealthCheck.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
a91d0d3f35ff6b032871d74da77568972becc5ac | use dapper | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Providers/EmailAlertProvider.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Providers/EmailAlertProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Appleseed.Base.Alerts.Model;
using System.Data;
using Dapper;
namespace Appleseed.Base.Alerts.Providers
{
class EmailAlertProvider : IAlert
{
static IDbConnection db = new SqlConne... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Appleseed.Base.Alerts.Model;
using System.Data;
namespace Appleseed.Base.Alerts.Providers
{
class EmailAlertProvider : IAlert
{
static IDbConnection db = new SqlConnection(Configur... | apache-2.0 | C# |
c978798308036ef70706e3ec981747fc7f2295d6 | Update test program to print a default message to standard out. | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/integration-tests/all-platforms/dotnet_run/Program.cs | csharp/ql/integration-tests/all-platforms/dotnet_run/Program.cs | Console.WriteLine(args.Length > 1 ? args[0] + ", " + args[1] : "Default reply");
| Console.WriteLine(args.Length > 0 ? args[0] + ", " + args[1] : "");
| mit | C# |
d3a7fe972477a7f8b3475430fabe54a3f3dd019a | Use LocationShape property for initializer call | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Tests/Mapping/Types/Geo/GeoShape/GeoShapeClusterMetadataApiTests.cs | src/Tests/Tests/Mapping/Types/Geo/GeoShape/GeoShapeClusterMetadataApiTests.cs | using System;
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework;
using Tests.Framework.EndpointTests;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.Mappi... | using System;
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework;
using Tests.Framework.EndpointTests;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.Mappi... | apache-2.0 | C# |
393b1815209a32d00dc47768a7ef50fed4011487 | fix to licence factory | museumvictoria/collections-online,museumvictoria/collections-online,museumvictoria/collections-online,museumsvictoria/collections-online,museumsvictoria/collections-online,museumsvictoria/collections-online | src/CollectionsOnline.Import/Factories/LicenceFactory.cs | src/CollectionsOnline.Import/Factories/LicenceFactory.cs | using System.Linq;
using CollectionsOnline.Core.Config;
using CollectionsOnline.Core.Models;
using IMu;
namespace CollectionsOnline.Import.Factories
{
public class LicenceFactory : ILicenceFactory
{
public Licence MakeMediaLicence(string licence)
{
if (string.IsNullOrWhiteSpace(lic... | using System.Linq;
using CollectionsOnline.Core.Config;
using CollectionsOnline.Core.Models;
using IMu;
namespace CollectionsOnline.Import.Factories
{
public class LicenceFactory : ILicenceFactory
{
public Licence MakeMediaLicence(string licence)
{
if (string.IsNullOrWhiteSpace(lic... | mit | C# |
7644a5636df91f18ae34c34253ebeb6bdbced326 | Mark as sealed non-extensible InlineCommentPeekResult class | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.InlineReviews/Peek/InlineCommentPeekResult.cs | src/GitHub.InlineReviews/Peek/InlineCommentPeekResult.cs | using System;
using Microsoft.VisualStudio.Language.Intellisense;
using GitHub.Extensions;
using GitHub.InlineReviews.ViewModels;
namespace GitHub.InlineReviews.Peek
{
sealed class InlineCommentPeekResult : IPeekResult
{
public InlineCommentPeekResult(InlineCommentPeekViewModel viewModel)
{
... | using System;
using Microsoft.VisualStudio.Language.Intellisense;
using GitHub.Extensions;
using GitHub.InlineReviews.ViewModels;
namespace GitHub.InlineReviews.Peek
{
class InlineCommentPeekResult : IPeekResult
{
public InlineCommentPeekResult(InlineCommentPeekViewModel viewModel)
{
... | mit | C# |
520a4978bb25f8d43bc80657095ed5c2d42b2015 | Fix FindByDescriptionTermStrategy | YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/ScopeSearch/Strategies/FindByDescriptionTermStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByDescriptionTermStrategy.cs | using System.Text;
namespace Atata
{
public class FindByDescriptionTermStrategy : XPathComponentScopeLocateStrategy
{
public FindByDescriptionTermStrategy()
: base(useIndex: IndexUsage.None)
{
}
protected override void BuildXPath(StringBuilder builder, Compon... | using System.Text;
namespace Atata
{
public class FindByDescriptionTermStrategy : XPathComponentScopeLocateStrategy
{
public FindByDescriptionTermStrategy()
: base(useIndex: IndexUsage.None)
{
}
protected override void BuildXPath(StringBuilder builder, Compon... | apache-2.0 | C# |
c4b662ae98b25d338f8007b266d5861d5361e930 | Support named pipe SQL LocalDB datasource (#68) | GoEddie/SQLCover | src/SQLCover/SQLCoverLib/Trace/TraceControllerBuilder.cs | src/SQLCover/SQLCoverLib/Trace/TraceControllerBuilder.cs | using System;
using SQLCover.Gateway;
using SQLCover.Objects;
using SQLCover.Source;
namespace SQLCover.Trace
{
class TraceControllerBuilder
{
public TraceController GetTraceController(DatabaseGateway gateway, string databaseName, TraceControllerType type)
{
switch(type)
... | using System;
using SQLCover.Gateway;
using SQLCover.Objects;
using SQLCover.Source;
namespace SQLCover.Trace
{
class TraceControllerBuilder
{
public TraceController GetTraceController(DatabaseGateway gateway, string databaseName, TraceControllerType type)
{
switch(type)
... | apache-2.0 | C# |
17c49c145397ddc7e1ee05ca3dcd337d09940077 | use Array.Empty | leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.WebPortal.Models/Characters/CharacterViewModelBase.cs | src/JoinRpg.WebPortal.Models/Characters/CharacterViewModelBase.cs | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers.Validation;
using JoinRpg.PrimitiveTypes;
namespace JoinRpg.Web.Models.Characters;
public abstract class CharacterViewModelBase : IProjectIdAware, IValidatableObject
{
public int ProjectId { ge... | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using JoinRpg.DataModel;
using JoinRpg.Helpers.Validation;
using JoinRpg.PrimitiveTypes;
namespace JoinRpg.Web.Models.Characters;
public abstract class CharacterViewModelBase : IProjectIdAware, IValidatableObject
{
public int ProjectId { ge... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.