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
4b0b0c465d87a11397df6c7fe428c3e1fc5d61f7
Build version update
Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview
Eve-O-Preview/Properties/AssemblyInfo.cs
Eve-O-Preview/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
mit
C#
e33afed1f80adf255e2e1e5e12c69cc19d44d0a7
Use new Matrix
PanAndZoom/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom
MatrixPanAndZoomDemo.Wpf/MatrixHelper.cs
MatrixPanAndZoomDemo.Wpf/MatrixHelper.cs
using System; using System.Windows.Media; namespace MatrixPanAndZoomDemo.Wpf { public static class MatrixHelper { public static Matrix Translation(double offsetX, double offsetY) { return new Matrix(1.0, 0.0, 0.0, 1.0, offsetX, offsetY); } public static Mat...
using System; using System.Windows.Media; namespace MatrixPanAndZoomDemo.Wpf { public static class MatrixHelper { public static Matrix Translation(double offsetX, double offsetY) { var result = Matrix.Identity; result.OffsetX = offsetX; result.OffsetY = offs...
mit
C#
13e8bef14424feb752bfcbb74ec66534aa259341
Fix faulty post method
mondeun/PdfAutofill
PdfAutofill/Controllers/PdfController.cs
PdfAutofill/Controllers/PdfController.cs
using System; using System.Linq; using Microsoft.AspNetCore.Mvc; using PdfAutofill.Model; using PdfAutofill.Service; using PdfAutofill.Service.Impl; namespace PdfAutofill.Controllers { [Route("api/[controller]")] public class PdfController : Controller { private readonly IPdfService _service = new...
using System; using System.Linq; using Microsoft.AspNetCore.Mvc; using PdfAutofill.Model; using PdfAutofill.Service; using PdfAutofill.Service.Impl; namespace PdfAutofill.Controllers { [Route("api/[controller]")] public class PdfController : Controller { private readonly IPdfService _service = new...
agpl-3.0
C#
9e0ccb51377324129b7f0491a34a490b406cc561
disable syncs
RelistenNet/RelistenApi,RelistenNet/RelistenApi,alecgorge/RelistenApi,alecgorge/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi
RelistenApi/Services/ScheduledService.cs
RelistenApi/Services/ScheduledService.cs
using System.Threading.Tasks; using Hangfire; using Hangfire.RecurringJobExtensions; using Hangfire.Server; using Relisten.Api.Models; using Relisten.Data; using Relisten.Import; using Hangfire.Console; using System.Linq; namespace Relisten { public class ScheduledService { ImporterService _importerService { get;...
using System.Threading.Tasks; using Hangfire; using Hangfire.RecurringJobExtensions; using Hangfire.Server; using Relisten.Api.Models; using Relisten.Data; using Relisten.Import; using Hangfire.Console; using System.Linq; namespace Relisten { public class ScheduledService { ImporterService _importerService { get;...
mit
C#
180b8629b3bacf714a091cb054d11464571637de
Move Name property from SettingProperty<T> to SettingProperty.
PenguinF/sandra-three
Sandra.UI.WF/Settings/SettingProperty.cs
Sandra.UI.WF/Settings/SettingProperty.cs
/********************************************************************************* * SettingProperty.cs * * Copyright (c) 2004-2018 Henk Nicolai * * 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 co...
/********************************************************************************* * SettingProperty.cs * * Copyright (c) 2004-2018 Henk Nicolai * * 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 co...
apache-2.0
C#
e0361eeca710eba198dd13f7d1da62b083052da8
Update test
arfbtwn/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp
examples/TestSample.cs
examples/TestSample.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTestSample { public static void Main () { Bus bus = Bus.Session; ...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTestSample { public static void Main () { Bus bus = Bus.Session; ...
mit
C#
737033ca69d94c0b7fbc5554e06a461489fa54ea
Fix code coverage - exclude remote-only class
nizhikov/ignite,SharplEr/ignite,SomeFire/ignite,SomeFire/ignite,nizhikov/ignite,ptupitsyn/ignite,voipp/ignite,NSAmelchev/ignite,samaitra/ignite,sk0x50/ignite,andrey-kuznetsov/ignite,andrey-kuznetsov/ignite,sk0x50/ignite,BiryukovVA/ignite,WilliamDo/ignite,dream-x/ignite,WilliamDo/ignite,shroman/ignite,daradurvs/ignite,S...
modules/platforms/dotnet/Apache.Ignite.Core.Tests.TestDll/TestExtensions.cs
modules/platforms/dotnet/Apache.Ignite.Core.Tests.TestDll/TestExtensions.cs
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
apache-2.0
C#
507335d04d081080bef10c778eb3c9c6d629cab7
Fix for #4129 (#4219)
amccool/orleans,dVakulen/orleans,ElanHasson/orleans,SoftWar1923/orleans,brhinescot/orleans,yevhen/orleans,ibondy/orleans,SoftWar1923/orleans,ElanHasson/orleans,yevhen/orleans,dVakulen/orleans,pherbel/orleans,jason-bragg/orleans,Liversage/orleans,pherbel/orleans,galvesribeiro/orleans,amccool/orleans,waynemunro/orleans,b...
src/Orleans.TelemetryConsumers.Counters/Statistics/HostBuilderExtensions.cs
src/Orleans.TelemetryConsumers.Counters/Statistics/HostBuilderExtensions.cs
#define LOG_MEMORY_PERF_COUNTERS using Microsoft.Extensions.DependencyInjection; using Orleans.Configuration; using Orleans.Hosting; using Orleans.Runtime; namespace Orleans.Statistics { public static class SiloHostBuilderExtensions { /// <summary> /// Use Windows performance counters as sourc...
#define LOG_MEMORY_PERF_COUNTERS using Microsoft.Extensions.DependencyInjection; using Orleans.Configuration; using Orleans.Hosting; using Orleans.Runtime; namespace Orleans.Statistics { public static class SiloHostBuilderExtensions { /// <summary> /// Use Windows performance counters as sourc...
mit
C#
7d06a08c3a3f3da1871cac6108c057afac4b5990
Fix quit button test occasionally failing
johnneijzen/osu,smoogipooo/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,naoey/osu,peppy/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,ZLima12/osu,ZLima12/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,DrabWeb/osu,UselessToucan/osu,joh...
osu.Game.Tests/Visual/TestCaseQuitButton.cs
osu.Game.Tests/Visual/TestCaseQuitButton.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Screens.Pla...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Screens.Pla...
mit
C#
9478cd97486e0e1a2ff1759161b29d53ec3c2014
Revert "added try catch, test commit"
JBeerens/PnP,erwinvanhunen/PnP,hildabarbara/PnP,OneBitSoftware/PnP,JonathanHuss/PnP,baldswede/PnP,bstenberg64/PnP,edrohler/PnP,r0ddney/PnP,vman/PnP,yagoto/PnP,narval32/Shp,IDTimlin/PnP,IvanTheBearable/PnP,rgueldenpfennig/PnP,OzMakka/PnP,rgueldenpfennig/PnP,erwinvanhunen/PnP,timothydonato/PnP,grazies/PnP,Rick-Kirkham/Pn...
Samples/Core.CrossDomainImages/Core.CrossDomainImagesWeb/Pages/Default.aspx.cs
Samples/Core.CrossDomainImages/Core.CrossDomainImagesWeb/Pages/Default.aspx.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Core.CrossDomainImagesWeb { public partial class Default : System.Web.UI.Page { protected void Page_PreInit(object sender, EventArgs e) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Core.CrossDomainImagesWeb { public partial class Default : System.Web.UI.Page { protected void Page_PreInit(object sender, EventArgs e) { ...
mit
C#
35441e7df851969fe9d5e486c8aea868e53021ea
write null when Source value is null
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/CommonAbstractions/SerializationBehavior/SourceValueWriteConverter.cs
src/Nest/CommonAbstractions/SerializationBehavior/SourceValueWriteConverter.cs
using Utf8Json; namespace Nest { public class SourceWriteFormatter<T> : SourceFormatter<T> { public override void Serialize(ref JsonWriter writer, T value, IJsonFormatterResolver formatterResolver) { if (value == null) { writer.WriteNull(); return; } var nestType = value.GetType().Assembly()...
using System; using Elasticsearch.Net; using System.Runtime.Serialization; using System.Xml; using Utf8Json; namespace Nest { public class SourceWriteFormatter<T> : SourceFormatter<T> { public override void Serialize(ref JsonWriter writer, T value, IJsonFormatterResolver formatterResolver) { var nestType = va...
apache-2.0
C#
13b8f318e06f56a148d729a16c696a4789fc2b43
Change AssemblyVersion
gigya/microdot
SolutionVersion.cs
SolutionVersion.cs
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
apache-2.0
C#
7d5b835a79fb779dfb0103928312d236281f47b1
Use Any from Linq, not internal Entity Framework Any (#1194)
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Admin/Jobs/DeleteSendsJob.cs
src/Admin/Jobs/DeleteSendsJob.cs
using System; using System.Threading.Tasks; using System.Linq; using Bit.Core; using Bit.Core.Context; using Bit.Core.Jobs; using Bit.Core.Repositories; using Bit.Core.Services; using Microsoft.EntityFrameworkCore.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Quart...
using System; using System.Threading.Tasks; using Bit.Core; using Bit.Core.Context; using Bit.Core.Jobs; using Bit.Core.Repositories; using Bit.Core.Services; using Microsoft.EntityFrameworkCore.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Quartz; namespace Bit.A...
agpl-3.0
C#
984e044e83eaa28a13b3139eb25584d256287470
Update SharedAssemblyInfo.cs
PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom,wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom
src/Shared/SharedAssemblyInfo.cs
src/Shared/SharedAssemblyInfo.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.Reflection; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2017")] [assembly: AssemblyTradema...
// 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.Reflection; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2017")] [assembly: AssemblyTradema...
mit
C#
f49197f510152aaccda3f215b6d99670cbf7de35
simplify code
kreeben/resin,kreeben/resin
src/Sir.StringCompare/Program.cs
src/Sir.StringCompare/Program.cs
using System; using Sir.Store; namespace Sir.StringCompare { class Program { static void Main(string[] args) { var doc1 = new VectorNode(args[0]); var doc2 = new VectorNode(args[1]); var angle = doc1.Vector.CosAngle(doc2.Vector); Console.WriteLi...
using System; using Sir.Store; namespace Sir.StringCompare { class Program { static void Main(string[] args) { var docNode1 = new VectorNode(args[0]); var docNode2 = new VectorNode(args[1]); var docAngle = docNode1.Vector.CosAngle(docNode2.Vector); ...
mit
C#
9e7367a2e379d629d70fe0ff34227d46a55deb14
Add support for ldnull opcode
jaenyph/DelegateDecompiler,hazzik/DelegateDecompiler,morgen2009/DelegateDecompiler
src/DelegateDecompiler.Tests/LambdaTests.cs
src/DelegateDecompiler.Tests/LambdaTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Xunit; namespace DelegateDecompiler.Tests { public class LambdaTest : DecompilerTestsBase { [Fact] public void CanUseLambda() { Expression<Func<bool>> expected = () => En...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Xunit; namespace DelegateDecompiler.Tests { public class LambdaTest : DecompilerTestsBase { [Fact] public void CanUseLambda() { Expression<Func<bool>> expected = () => En...
mit
C#
a458c7175b35bb6426faaf59b2960d7fdf8aa9db
Add missing implementation for MutableGuildMember.BuildImmutableEntity
BundledSticksInkorperated/Discore
src/Discore/WebSocket/MutableGuildMember.cs
src/Discore/WebSocket/MutableGuildMember.cs
using Discore.Http; using System; using System.Collections.Generic; namespace Discore.WebSocket { class MutableGuildMember : MutableEntity<DiscordGuildMember> { public MutableUser User { get; } public Snowflake GuildId { get; } public string Nickname { get; private set; } publ...
using Discore.Http; using System; using System.Collections.Generic; namespace Discore.WebSocket { class MutableGuildMember : MutableEntity<DiscordGuildMember> { public MutableUser User { get; } public Snowflake GuildId { get; } public string Nickname { get; private set; } publ...
mit
C#
6c77bd836c938d089fc88e7f63516aa45ad07938
Apply hang mitigating timeout in VerifyOpen and VerifyClosed
diryboy/roslyn,jmarolf/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,heejaechang/roslyn,tmat/roslyn,mavasani/roslyn,reaction1989/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,wvdd007/roslyn,mgoertz-msft/roslyn,CyrusNajmabadi/roslyn,brettfo/roslyn,brettfo/roslyn,phys...
src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Dialog_OutOfProc.cs
src/VisualStudio/IntegrationTest/TestUtilities/OutOfProcess/Dialog_OutOfProc.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading; namespace Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess { public class Dialog_OutOfProc : OutOfPro...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading; namespace Microsoft.VisualStudio.IntegrationTest.Utilities.OutOfProcess { public class Dialog_OutOfProc : OutOfPro...
mit
C#
b75a5b778e0d22206dd17f0afce694825b39214f
Update history list to also sort by gameplay order
peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerHistoryList.cs
osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerHistoryList.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Online.Rooms; using osuTK; nam...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Online.Rooms; using osuTK; nam...
mit
C#
baf6906d23d9e8d4d02b04b59877fad71fc05864
Add room GET functionality
meutley/ISTS
src/Api/Controllers/RoomsController.cs
src/Api/Controllers/RoomsController.cs
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ISTS.Application.Rooms; using ISTS.Application.Sessions; namespace ISTS.Api.Controllers { [Route("api/[controller]")] public class RoomsController : Controller { private readonly IRoomService _roomService; p...
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ISTS.Application.Rooms; using ISTS.Application.Sessions; namespace ISTS.Api.Controllers { [Route("api/[controller]")] public class RoomsController : Controller { private readonly IRoomService _roomService; p...
mit
C#
78430382752429c99e443df6b3ff915f2e763abd
switch from InteractiveScriptGlobals to CommandLineScriptGlobals
filipw/dotnet-script,filipw/dotnet-script
src/Dotnet.Script.Core/ScriptRunner.cs
src/Dotnet.Script.Core/ScriptRunner.cs
using System; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Scripting.Hosting; using Microsoft.CodeAnalysis.Scripting; using Microsoft.CodeAnalysis.Scripting.Hosting; namespace Dotnet.Script.Core { public class ScriptRunner { protected ScriptLogger Logger; protected ScriptCo...
using System; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Scripting.Hosting; using Microsoft.CodeAnalysis.Scripting; using Microsoft.CodeAnalysis.Scripting.Hosting; namespace Dotnet.Script.Core { public class ScriptRunner { protected ScriptLogger Logger; protected ScriptCo...
mit
C#
37dc680ab8f01e78ef1991e57e9d9f73afc52ad2
Add null check to Tag
gep13/GitVersion,gep13/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,GitTools/GitVersion
src/GitVersion.LibGit2Sharp/Git/Tag.cs
src/GitVersion.LibGit2Sharp/Git/Tag.cs
using GitVersion.Extensions; using GitVersion.Helpers; using LibGit2Sharp; namespace GitVersion; internal sealed class Tag : ITag { private static readonly LambdaEqualityHelper<ITag> equalityHelper = new(x => x.Name.Canonical); private static readonly LambdaKeyComparer<ITag, string> comparerHelper = new(x => ...
using GitVersion.Helpers; using LibGit2Sharp; namespace GitVersion; internal sealed class Tag : ITag { private static readonly LambdaEqualityHelper<ITag> equalityHelper = new(x => x.Name.Canonical); private static readonly LambdaKeyComparer<ITag, string> comparerHelper = new(x => x.Name.Canonical); priva...
mit
C#
25ce87ab14dfe450ccda34131e2bf8e12c024055
Comment out batchSize for now as not used
hazzik/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-cor...
src/NHibernate/Impl/BatchingBatcher.cs
src/NHibernate/Impl/BatchingBatcher.cs
using System; using System.Data; using NHibernate.Engine; namespace NHibernate.Impl { /// <summary> /// Summary description for BatchingBatcher. /// </summary> internal class BatchingBatcher : BatcherImpl { //private int batchSize; private int[] expectedRowCounts; /// <summary> /// /// </summary> //...
using System; using System.Data; using NHibernate.Engine; namespace NHibernate.Impl { /// <summary> /// Summary description for BatchingBatcher. /// </summary> internal class BatchingBatcher : BatcherImpl { private int batchSize; private int[] expectedRowCounts; /// <summary> /// /// </summary> /// ...
lgpl-2.1
C#
8fd7cd51e275e2733f3c0741f55e02ed2de9c0d3
Fix the sample to await when writing directly to the output stream in a controller.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/MvcSample.Web/Home2Controller.cs
samples/MvcSample.Web/Home2Controller.cs
using System.Threading.Tasks; using Microsoft.AspNet.Http; using Microsoft.AspNet.Mvc; using MvcSample.Web.Models; namespace MvcSample.Web.RandomNameSpace { public class Home2Controller { private User _user = new User() { Name = "User Name", Address = "Home Address" }; [Activate] publi...
using Microsoft.AspNet.Http; using Microsoft.AspNet.Mvc; using MvcSample.Web.Models; namespace MvcSample.Web.RandomNameSpace { public class Home2Controller { private User _user = new User() { Name = "User Name", Address = "Home Address" }; [Activate] public HttpResponse Response ...
apache-2.0
C#
e526f377912013d57fb1b89b2c7f3bfba5821f4d
Update to version 1.3.0.0
jamesfoster/DeepEqual
src/DeepEqual/Properties/AssemblyInfo.cs
src/DeepEqual/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("De...
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("De...
mit
C#
2a86723866da4ec381fbeccd566cb254c695e87f
change name
xizhe-zhang/aspnet5-angular2-typescript,xizhe-zhang/aspnet5-angular2-typescript,xizhe-zhang/aspnet5-angular2-typescript,xizhe-zhang/aspnet5-angular2-typescript
src/PhotoGallery/Views/Home/Index.cshtml
src/PhotoGallery/Views/Home/Index.cshtml
@{ ViewBag.Title = "PhotoGallery"; } @section styles { <link href="~/lib/css/jquery.fancybox.css" rel="stylesheet" /> <link href="~/lib/css/alertify.core.css" rel="stylesheet" /> <link href="~/lib/css/alertify.bootstrap.css" rel="stylesheet" /> <link href="~/lib/css/flipclock.css" rel="stylesheet"...
@{ ViewBag.Title = "PhotoGallery"; } @section styles { <link href="~/lib/css/jquery.fancybox.css" rel="stylesheet" /> <link href="~/lib/css/alertify.core.css" rel="stylesheet" /> <link href="~/lib/css/alertify.bootstrap.css" rel="stylesheet" /> <link href="~/lib/css/flipclock.css" rel="stylesheet"...
mit
C#
877294e30e2da89d18e5bdf0c3092e87ee4e2c5b
Add more default methods for BusClientFactory
northspb/RawRabbit,pardahlman/RawRabbit
src/RawRabbit/Common/BusClientFactory.cs
src/RawRabbit/Common/BusClientFactory.cs
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Framework.DependencyInjection; using RabbitMQ.Client; using RawRabbit.Configuration; using RawRabbit.Consumer; using RawRabbit.Consumer.Contract; using RawRabbit.Consumer.Eventing; using RawRabbit.Context; using RawRabbit.Context.Provider; ...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Framework.DependencyInjection; using RabbitMQ.Client; using RawRabbit.Configuration; using RawRabbit.Consumer; using RawRabbit.Consumer.Contract; using RawRabbit.Consumer.Eventing; using RawRabbit.Context; using RawRabbit.Context.Provider; ...
mit
C#
b654584a8f89800b1cf15ee8ef82fe987203c7e3
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/CanNotPartiallySubForInterfaceOrDelegateException.cs
Source/NSubstitute/Exceptions/CanNotPartiallySubForInterfaceOrDelegateException.cs
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class CanNotPartiallySubForInterfaceOrDelegateException : SubstituteException { public CanNotPartiallySubForInterfaceOrDelegateException(Type type) : base(DescribeProblem(type)) { } pr...
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class CanNotPartiallySubForInterfaceOrDelegateException : SubstituteException { public CanNotPartiallySubForInterfaceOrDelegateException(Type type) : base(DescribeProblem(type)) { } protected CanNotParti...
bsd-3-clause
C#
5ffdc60d70f56ba43cef851ddfbd0fe9eaad63ad
store cached credentials in AppData\Roaming
csware/GurtleReloaded,csware/GurtleReloaded,csware/GurtleReloaded
src/Gurtle/AppPaths.cs
src/Gurtle/AppPaths.cs
#region License, Terms and Author(s) // // Gurtle - IBugTraqProvider for Google Code // Copyright (c) 2008, 2009 Atif Aziz. All rights reserved. // // Author(s): // // Atif Aziz, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exce...
#region License, Terms and Author(s) // // Gurtle - IBugTraqProvider for Google Code // Copyright (c) 2008, 2009 Atif Aziz. All rights reserved. // // Author(s): // // Atif Aziz, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exce...
apache-2.0
C#
8d508ccd64d1b13e7a397d671db17a74a881ec6a
Update AppDomainAssemblyFinder.cs
Fody/Anotar
Common/AppDomainAssemblyFinder.cs
Common/AppDomainAssemblyFinder.cs
using System; using System.Reflection; public static class AppDomainAssemblyFinder { public static void Attach() { AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; } static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args) { var u...
using System; using System.Reflection; public static class AppDomainAssemblyFinder { public static void Attach() { AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; } static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args) { var u...
mit
C#
fa556da10107d9522160a05da3ba79277a0d7ebe
Use the Directory of the current Testing Assembly
merkt/FileHelpers,CarbonEdge/FileHelpers,xavivars/FileHelpers,jbparker/FileHelpers,phaufe/FileHelpers,tablesmit/FileHelpers,regisbsb/FileHelpers,modulexcite/FileHelpers,aim00ver/FileHelpers,guillaumejay/FileHelpers,rucila/FileHelpers,neildobson71/FileHelpers,senthilmsv/FileHelpers,jawn/FileHelpers,phaufe/FileHelpers,mc...
FileHelpers.Tests/Tests/Common.cs
FileHelpers.Tests/Tests/Common.cs
using System.Reflection; using FileHelpers; using FileHelpers.MasterDetail; using System.Collections; using System.IO; namespace FileHelpersTests { // this class only adds the relative path to the saple files. public sealed class Common { private static string mAssemblyLocation = string.Empty; ...
using System.Reflection; using FileHelpers; using FileHelpers.MasterDetail; using System.Collections; using System.IO; namespace FileHelpersTests { // this class only adds the relative path to the saple files. public sealed class Common { private static string mAssemblyLocation = string.Empty; ...
mit
C#
408fa3cd8bda3df0b7de372706baddb0be780ae0
Rename Context
webSportENIProject/webSport,webSportENIProject/webSport
DAL/EntityFramework/WebSportModel.Context.cs
DAL/EntityFramework/WebSportModel.Context.cs
//------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré à partir d'un modèle. // // Des modifications manuelles apportées à ce fichier peuvent conduire à un comportement inattendu de votre application. // Les modifications manuelles apportée...
//------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré à partir d'un modèle. // // Des modifications manuelles apportées à ce fichier peuvent conduire à un comportement inattendu de votre application. // Les modifications manuelles apportée...
apache-2.0
C#
fc0c001507a8fb454a7f06542900816105516dd2
replace json prettifier with built in json.net method
HouseBreaker/Shameless
Shameless/Utils/JsonPrettifier.cs
Shameless/Utils/JsonPrettifier.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Shameless.Utils { public static class JsonPrettifier { public static string FormatJson(string str) { var formatted = JArray.Parse(str).ToString(Formatting.Indented); return formatted; } } }
namespace Shameless.Utils { using System; using System.Collections.Generic; using System.Linq; using System.Text; /// <summary> /// Prettify JSON /// Source: http://stackoverflow.com/a/6237866/5499609 /// </summary> public static class JsonPrettifier { private const string INDENT_STRING = "\t"; public s...
mit
C#
694e7a5570a2b7d5acfa2efcbfe9776257bef054
Improve documentation for IAggregate
cognisant/cr-aggregaterepository,cognisant/cr-aggregaterepository
src/Core/IAggregate.cs
src/Core/IAggregate.cs
// <copyright file="IAggregate.cs" company="Cognisant"> // Copyright (c) Cognisant. All rights reserved. // </copyright> namespace CR.AggregateRepository.Core { using System.Collections; /// <summary> /// Represents a CQRS aggregate root which consumes events to build it's state, and creates events to sa...
// <copyright file="IAggregate.cs" company="Cognisant"> // Copyright (c) Cognisant. All rights reserved. // </copyright> namespace CR.AggregateRepository.Core { using System.Collections; /// <summary> /// Represents a CQRS aggregate root. /// </summary> public interface IAggregate { /...
bsd-3-clause
C#
352386db690f4e03c3ab2e37a4cbb833822f30fe
Use the escaping method.
jozefizso/msbuild-teamcity-interactions
TeamCityTasks/SetParameterTask.cs
TeamCityTasks/SetParameterTask.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace TeamCityTasks { public class SetParameterTask : Task { public string Name { get; set; } public string Value { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace TeamCityTasks { public class SetParameterTask : Task { public string Name { get; set; } public string Value { get; set; } ...
mit
C#
405ce2881e9fb8dd86c10726e754d96d6491c9d2
Fix the missing namespave
NguyenMatthieu/f-spot,dkoeb/f-spot,dkoeb/f-spot,mono/f-spot,Yetangitu/f-spot,dkoeb/f-spot,Sanva/f-spot,GNOME/f-spot,mans0954/f-spot,Sanva/f-spot,nathansamson/F-Spot-Album-Exporter,mono/f-spot,Sanva/f-spot,NguyenMatthieu/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,Sanva/f-spot,GNOME/f-spot,mans0954/f-spot,...
src/Imaging/SvgFile.cs
src/Imaging/SvgFile.cs
using System; namespace FSpot.Svg { public class SvgFile : ImageFile // SemWeb.StatementSource { MetadataStore store; // false seems a safe default public bool Distinct { get { return false; } } public SvgFile (Uri uri) : base (uri) { ...
using System; namespace FSpot.Svg { public class SvgFile : ImageFile // SemWeb.StatementSource { MetadataStore store; // false seems a safe default public bool Distinct { get { return false; } } public SvgFile (Uri uri) : base (uri) { ...
mit
C#
e4ad69f7d78fb879a15b6b446fc7269037e23730
Update assembly version
trdwll/SearchIt
SearchIt/SearchIt/Properties/AssemblyInfo.cs
SearchIt/SearchIt/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("Se...
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("Se...
mit
C#
e98651ce8e15edf15aee429a7175bbebd1806917
Handle nullable values appropriately.
brendanjbaker/StraightSQL
src/StraightSql/Row.cs
src/StraightSql/Row.cs
namespace StraightSql { using Entity; using System; using System.Data.Common; public class Row : IRow { private readonly DbDataReader reader; private readonly ITypeConverter typeConverter; private readonly IEntityConfigurationCollection entityConfigurationCollection; public Row(DbDataRead...
namespace StraightSql { using Entity; using System; using System.Data.Common; public class Row : IRow { private readonly DbDataReader reader; private readonly ITypeConverter typeConverter; private readonly IEntityConfigurationCollection entityConfigurationCollection; public Row(DbDataRead...
mit
C#
9d84f9a129f0af7698cb239d88d3b3db87eebe14
Update CoreModule.cs
tiksn/TIKSN-Framework
TIKSN.Core/DependencyInjection/CoreModule.cs
TIKSN.Core/DependencyInjection/CoreModule.cs
using Autofac; using TIKSN.Data.Mongo; using TIKSN.Serialization; using TIKSN.Web.Rest; namespace TIKSN.DependencyInjection { public class CoreModule : Module { protected override void Load(ContainerBuilder builder) { builder.RegisterType<DotNetXmlDeserializer>().AsSelf().SingleIns...
using Autofac; using TIKSN.Serialization; using TIKSN.Web.Rest; namespace TIKSN.DependencyInjection { public class CoreModule : Module { protected override void Load(ContainerBuilder builder) { builder.RegisterType<DotNetXmlDeserializer>().AsSelf().SingleInstance(); bui...
mit
C#
8fb1f6d92d6cd1f1683ae864f0045ef22e1ed05d
Update ShellExplosion.cs
theDrake/unity-experiments
Tanks/Assets/Scripts/Shell/ShellExplosion.cs
Tanks/Assets/Scripts/Shell/ShellExplosion.cs
using UnityEngine; public class ShellExplosion : MonoBehaviour { public LayerMask m_TankMask; public ParticleSystem m_ExplosionParticles; public AudioSource m_ExplosionAudio; public float m_MaxDamage = 100f; public float m_ExplosionForce = 1000f; public float m_MaxLifeTime = 2f; public float m_...
using UnityEngine; public class ShellExplosion : MonoBehaviour { public LayerMask m_TankMask; public ParticleSystem m_ExplosionParticles; public AudioSource m_ExplosionAudio; public float m_MaxDamage = 100f; public float m_ExplosionForce = 1000f; public float m_MaxLifeTime = 2f; public float m_...
mit
C#
615e3db608d52900e122d233d68ab868a8d117cf
Correct test name
Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla39331.cs
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla39331.cs
using System; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Xamarin.Forms.Core.UITests; #endif namespace Xamarin.Forms.Controls.Issues { #if UITEST [Category(UITestCategories.BoxView)] #endif [Preserve (AllMembers = true)] [Issu...
using System; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Xamarin.Forms.Core.UITests; #endif namespace Xamarin.Forms.Controls.Issues { #if UITEST [Category(UITestCategories.BoxView)] #endif [Preserve (AllMembers = true)] [Issu...
mit
C#
77c7d905a6db3fca9f5fd75d081e060cccf1ea86
Complete WebSocket configuration.
ExRam/ExRam.Gremlinq
ExRam.Gremlinq.Providers.WebSocket.AspNet/WebSocketConfigurationBuilderExtensions.cs
ExRam.Gremlinq.Providers.WebSocket.AspNet/WebSocketConfigurationBuilderExtensions.cs
using System; using ExRam.Gremlinq.Providers.WebSocket; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace ExRam.Gremlinq.Core.AspNet { public static class WebSocketConfigurationBuilderExtensions { public static IWebSocketConfigurationBuilder...
using System; using ExRam.Gremlinq.Providers.WebSocket; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace ExRam.Gremlinq.Core.AspNet { public static class WebSocketConfigurationBuilderExtensions { public static IWebSocketConfigurationBuilder...
mit
C#
782f2f03ba55ea1bd20b1b0c5740bd84685d8fd5
Use new data portal URL scheme.
ronnymgm/csla-light,jonnybee/csla,ronnymgm/csla-light,BrettJaner/csla,MarimerLLC/csla,rockfordlhotka/csla,rockfordlhotka/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light,MarimerLLC/csla,MarimerLLC/csla,jonnybee/csla,JasonBock/csla,jonnybee/csla,JasonBock/csla,BrettJaner/csla,BrettJaner/csla
cslalighttest/CslaLight.Testing/Client/EditableRootTests/MockEditableRoot.partial.cs
cslalighttest/CslaLight.Testing/Client/EditableRootTests/MockEditableRoot.partial.cs
using System; using Csla.Serialization; namespace Csla.Testing.Business.EditableRootTests { partial class MockEditableRoot { private const string DataPortalUrl = "http://localhost:2752/WcfPortal.svc"; public MockEditableRoot() { } public MockEditableRoot(Guid id, bool isnew) { S...
using System; using Csla.Serialization; namespace Csla.Testing.Business.EditableRootTests { partial class MockEditableRoot { private const string DataPortalUrl = "http://localhost:2752/WcfPortal.svc"; public MockEditableRoot() { } public MockEditableRoot(Guid id, bool isnew) { S...
mit
C#
d055b3e0adeccfef99892d670738f9e31a3dca2b
Add docs
jasonmalinowski/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,dotnet/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,mavasani/roslyn,CyrusNajmabad...
src/Features/Core/Portable/ExternalAccess/UnitTesting/API/UnitTestingDocumentSpan.cs
src/Features/Core/Portable/ExternalAccess/UnitTesting/API/UnitTestingDocumentSpan.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.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.EditAndContinue.Contracts; using...
// 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.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.EditAndContinue.Contracts; using...
mit
C#
62e096bbe538703abe381b66638e1579d2b2733b
Use IConfiguration first, and the IConfigurationRoot.
amroel/fluentmigrator,schambers/fluentmigrator,igitur/fluentmigrator,spaccabit/fluentmigrator,eloekset/fluentmigrator,eloekset/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,spaccabit/fluentmigrator,schambers/fluentmigrator,fluentmigrator/fluentmigrator,amroel/fluentmigrator,stsrki/fluentmigrator,ig...
src/FluentMigrator.Runner.Core/Initialization/ConfigurationConnectionStringReader.cs
src/FluentMigrator.Runner.Core/Initialization/ConfigurationConnectionStringReader.cs
#region License // Copyright (c) 2018, FluentMigrator Project // // 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 app...
#region License // Copyright (c) 2018, FluentMigrator Project // // 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...
apache-2.0
C#
41ca60f17e3cb9516c2f8e0603a30b3fb3a03a10
Update TCs
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml
src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml
<p>To use this service, you agree to:</p> <ul class="list list-bullet"> <li>sign out at the end of each session</li> <li>input truthful and accurate information</li> <li>adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li> <...
<p>To use this service, you agree to:</p> <ul class="list list-bullet"> <li>sign out at the end of each session</li> <li>input truthful and accurate information</li> <li>adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li> <...
mit
C#
af12ff0f78006791aa0effee0577a2ff1128863b
add file header
mjrousos/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport
src/lib/Microsoft.Fx.Portability/Utils/JsonConverters/JsonPublicKeyTokenConverter.cs
src/lib/Microsoft.Fx.Portability/Utils/JsonConverters/JsonPublicKeyTokenConverter.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Fx.Portability.ObjectModel; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Sec...
using Microsoft.Fx.Portability.ObjectModel; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Security.Cryptography.X509Certificates; using System.Text; namespace Microsoft.Fx.Portability.Utils.JsonConverters { internal class JsonPublicKeyToken...
mit
C#
d5afdb86840a546628b6976b3f8c67e9949dbe4c
fix catel anotar sample
Fody/FodyAddinSamples,Fody/FodyAddinSamples,bcuff/FodyAddinSamples
AnotarCatelSample/CatelExceptionSample.cs
AnotarCatelSample/CatelExceptionSample.cs
using System; using Anotar.Catel; using NUnit.Framework; [TestFixture] public class CatelExceptionSample { [Test] public void Run() { try { MyMethod(); } catch { } Assert.IsTrue( LogCaptureBuilder.LastMessage.StartsWith("[CatelExceptionSa...
using System; using Anotar.Catel; using NUnit.Framework; [TestFixture] public class CatelExceptionSample { [Test] public void Run() { try { MyMethod(); } catch { } Assert.AreEqual("[CatelExceptionSample] Exception occurred in 'Void MyMeth...
mit
C#
544b2cced2425ec985511195647a116ae69962e7
Validate existence of x-pack-core for 6.2.4+
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Tests/Framework/ManagedElasticsearch/Tasks/ValidationTasks/ValidatePluginsTask.cs
src/Tests/Framework/ManagedElasticsearch/Tasks/ValidationTasks/ValidatePluginsTask.cs
using System; using System.Linq; using Nest; using Tests.Document.Multiple.UpdateByQuery; using Tests.Framework.ManagedElasticsearch.Nodes; using Tests.Framework.ManagedElasticsearch.Plugins; namespace Tests.Framework.ManagedElasticsearch.Tasks.ValidationTasks { public class ValidatePluginsTask : NodeValidationTaskBa...
using System; using System.Linq; using Nest; using Tests.Framework.ManagedElasticsearch.Nodes; using Tests.Framework.ManagedElasticsearch.Plugins; namespace Tests.Framework.ManagedElasticsearch.Tasks.ValidationTasks { public class ValidatePluginsTask : NodeValidationTaskBase { public override void Validate(IElasti...
apache-2.0
C#
49344751af17ba275eaa87e35ccb0f122208678d
Add missing copyright notice
KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,i3at/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,i3at/ArchiSteamFarm,KlappPc/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm
ArchiSteamFarm/ArchiServiceInstaller.cs
ArchiSteamFarm/ArchiServiceInstaller.cs
/* _ _ _ ____ _ _____ / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |...
using System.ComponentModel; using System.Configuration.Install; using System.Diagnostics.CodeAnalysis; using System.ServiceProcess; namespace ArchiSteamFarm { [RunInstaller(true)] [SuppressMessage("ReSharper", "UnusedMember.Global")] public sealed class ArchiServiceInstaller : Installer { public ArchiServiceIns...
apache-2.0
C#
1cdef5fa110f6d6a8af11673d68414e964b07787
Rewrite with expression bodies properties syntax.
SludgeVohaul/P2EApp
P2E.DataObjects/ApplicationInformation.cs
P2E.DataObjects/ApplicationInformation.cs
using System.Reflection; using P2E.Interfaces.DataObjects; namespace P2E.DataObjects { public class ApplicationInformation : IApplicationInformation { public string Name => Assembly.GetEntryAssembly().GetName().Name; public string Version => Assembly.GetEntryAssembly().GetName().Version.ToStri...
using System.Reflection; using P2E.Interfaces.DataObjects; namespace P2E.DataObjects { public class ApplicationInformation : IApplicationInformation { public string Name { get; } public string Version { get; } public ApplicationInformation() { Name = Assembly.GetEn...
bsd-2-clause
C#
5dbeae14149a97055f7e37d440341ba1bc6112dd
tweak rate measure test a bit so it can pass more easily
ArsenShnurkov/BitSharp
BitSharp.Common.Test/RateMeasureTest.cs
BitSharp.Common.Test/RateMeasureTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BitSharp.Common.Test { [TestClass] public class RateMeasureTest { [TestMethod] ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BitSharp.Common.Test { [TestClass] public class RateMeasureTest { [TestMethod] ...
unlicense
C#
804458915cae7983485bb31f4dc5127063be768d
fix syntax error
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
HiddenWallet.ChaumianTumbler/Startup.cs
HiddenWallet.ChaumianTumbler/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensio...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensio...
mit
C#
b0aa226e442f2d2e6d306c5e16165e293acdb5d2
Use correct URL for help
grennis/bitdiffer
Source/BitDiffer.Common/Misc/Constants.cs
Source/BitDiffer.Common/Misc/Constants.cs
using System; using System.Collections.Generic; using System.Text; namespace BitDiffer.Common.Misc { public class Constants { public const string ProductName = "BitDiffer"; public const string ProductSubTitle = "Assembly Comparison Tool"; public const string HelpUrl = "https://github.com/bitdiffer/bitdi...
using System; using System.Collections.Generic; using System.Text; namespace BitDiffer.Common.Misc { public class Constants { public const string ProductName = "BitDiffer"; public const string ProductSubTitle = "Assembly Comparison Tool"; public const string HelpUrl = "https://github.com/grennis/bitdiffe...
mit
C#
307f18087ae6468f01ee1fc57916ab2e957dbf48
Bump version number
NickLargen/Junctionizer
Junctionizer/Properties/AssemblyInfo.cs
Junctionizer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 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. [asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 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. [asse...
mit
C#
c2610e1820709ab63e9e606d054c494d9aba0d5f
Enable exceptions.
akashin/HSE_AI_Labs,akashin/HSE_AI_Labs,akashin/HSE_AI_Labs,akashin/HSE_AI_Labs,akashin/HSE_AI_Labs,akashin/HSE_AI_Labs,akashin/HSE_AI_Labs
Lab_5/Source/PongGame/PongGame.Build.cs
Lab_5/Source/PongGame/PongGame.Build.cs
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; using System.IO; public class PongGame : ModuleRules { private string ModulePath { get { return ModuleDirectory; } } private string ThirdPartyPath { get { return Path.GetFullPath(...
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; using System.IO; public class PongGame : ModuleRules { private string ModulePath { get { return ModuleDirectory; } } private string ThirdPartyPath { get { return Path.GetFullPath(...
mit
C#
95bbff041c4f2f46110a64bc7a85a66ab458d3dd
Update IMongoRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/Mongo/IMongoRepository.cs
TIKSN.Core/Data/Mongo/IMongoRepository.cs
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.Mongo { public interface IMongoRepository<TDocument, TIdentity> : IRepository<TDocument>, IQueryRepository<TDocument, TIdentity>, IStreamRepository<TDocument> where TDocument : IEntity<TIdentity> where TIdenti...
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.Mongo { public interface IMongoRepository<TDocument, TIdentity> : IRepository<TDocument>, IQueryRepository<TDocument, TIdentity>, IStreamRepository<TDocument> where TDocument : IEntity<TIdentity> where TIdenti...
mit
C#
6accefe7f2dce49e161ae25a8c0a293c0dd7a4d8
Update StringULongConverter - use expression body property
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix.WebServer/StringULongConverter.cs
Modix.WebServer/StringULongConverter.cs
using System; using Newtonsoft.Json; namespace Modix.WebServer { public class StringULongConverter : JsonConverter { public override bool CanConvert(Type objectType) { return (objectType == typeof(ulong)); } public override void WriteJson(JsonWriter writer, object ...
using System; using Newtonsoft.Json; namespace Modix.WebServer { public class StringULongConverter : JsonConverter { public override bool CanConvert(Type objectType) { return (objectType == typeof(ulong)); } public override void WriteJson(JsonWriter writer, object ...
mit
C#
145b51895657e346c97fe816012d969fc1607d48
Fix NumberFormat error
eumario/Nez,prime31/Nez,prime31/Nez,ericmbernier/Nez,prime31/Nez,Blucky87/Nez
Nez.PipelineImporter/Tiled/TmxObject.cs
Nez.PipelineImporter/Tiled/TmxObject.cs
using System.Xml.Serialization; using Microsoft.Xna.Framework; using System.Collections.Generic; namespace Nez.TiledMaps { public class TmxObject { [XmlAttribute( DataType = "int", AttributeName = "gid" )] public int gid; [XmlAttribute( DataType = "string", AttributeName = "name" )] public string name; ...
using System.Xml.Serialization; using Microsoft.Xna.Framework; using System.Collections.Generic; namespace Nez.TiledMaps { public class TmxObject { [XmlAttribute( DataType = "int", AttributeName = "gid" )] public int gid; [XmlAttribute( DataType = "string", AttributeName = "name" )] public string name; ...
mit
C#
8aaeca9bdcb4751a8ec4ac6c5d1147c136330b69
Update CycleExactRunner to use clockspeed setting / 60fps
RupertAvery/sharp6800
Sharp6800/Threading/CycleExactRunner.cs
Sharp6800/Threading/CycleExactRunner.cs
using System.Threading; namespace Sharp6800.Trainer.Threads { public class CycleExactRunner : TrainerRunnerBase { ManualResetEventSlim manualResetEventSlim = new ManualResetEventSlim(); private int lastBreakPointPC = -1; public CycleExactRunner(Trainer trainer) : ...
using System.Threading; namespace Sharp6800.Trainer.Threads { /// <summary> /// Attempts to spread out instructions by executing one then sleeping for a quantum /// of time before executing the next instruction. Consumes more CPU asit does not alwyas /// yield /// </summary> public cl...
bsd-2-clause
C#
1eec57c803e70099c09d63149a6b85e3cc65e822
Bump assembly info for 1.3.0 release
NellyHaglund/SurveyMonkeyApi,bcemmett/SurveyMonkeyApi
SurveyMonkey/Properties/AssemblyInfo.cs
SurveyMonkey/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("Su...
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("Su...
mit
C#
e774293403cb94de04ae147475a113db7ab4d61a
fix AssemblyInfo.cs
greybax/DynDNSviaYandexAPI
YandexDynDNS/Properties/AssemblyInfo.cs
YandexDynDNS/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("YandexDynDNS")] [assembly: Assembl...
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("YandexDynDNS")] [assembly: Assembl...
mit
C#
29068f0584ec92aa0635da9b183b8475c94bf11c
Fix broken build
BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/Bloom...
src/BloomTests/TeamCollection/ProgressSpy.cs
src/BloomTests/TeamCollection/ProgressSpy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Bloom.web; using SIL.Progress; namespace BloomTests.TeamCollection { public class ProgressSpy : IWebSocketProgress { public List<Tuple<string, ProgressKind>> Messages =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Bloom.web; using SIL.Progress; namespace BloomTests.TeamCollection { public class ProgressSpy : IWebSocketProgress { public List<Tuple<string, ProgressKind>> Messages =...
mit
C#
13e267b2b40454afa9902e2c2627a2230d2a4edf
Add checks in product rating service
Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop
src/ZobShop.Services/ProductRatingService.cs
src/ZobShop.Services/ProductRatingService.cs
using System; using ZobShop.Data.Contracts; using ZobShop.Factories; using ZobShop.Models; using ZobShop.Services.Contracts; namespace ZobShop.Services { public class ProductRatingService : IProductRatingService { private readonly IRepository<User> userRepository; private readonly IRepository<...
using ZobShop.Data.Contracts; using ZobShop.Factories; using ZobShop.Models; using ZobShop.Services.Contracts; namespace ZobShop.Services { public class ProductRatingService : IProductRatingService { private readonly IRepository<User> userRepository; private readonly IRepository<ProductRating>...
mit
C#
ff5490aac1d846f11fa6a6206a0a775908899c52
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/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("storybrew editor")] [assembly: AssemblyDe...
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("storybrew editor")] [assembly: AssemblyDe...
mit
C#
fa3b6cb3d71ab1aa1fd0fc009bb397b2027e225a
bump 1.2
GangZhuo/kcptun-gui-windows
kcptun-gui/Controller/MainController.cs
kcptun-gui/Controller/MainController.cs
using System; using kcptun_gui.Model; namespace kcptun_gui.Controller { public class MainController { public const string Version = "1.2"; public ConfigurationController ConfigController { get; private set; } public KCPTunnelController KCPTunnelController { get; private set; } ...
using System; using kcptun_gui.Model; namespace kcptun_gui.Controller { public class MainController { public const string Version = "1.1.3"; public ConfigurationController ConfigController { get; private set; } public KCPTunnelController KCPTunnelController { get; private set; } ...
mit
C#
dedeef9adcdd97462c52be07adeb9aa960e6976c
Remove hint about the context menu from IShortcutKeysUIActionInterface.Shortcuts summary. This is now only true for the CombinedUIActionInterface implementation.
PenguinF/sandra-three
Eutherion/Win/UIActions/UIActionInterfaces.cs
Eutherion/Win/UIActions/UIActionInterfaces.cs
#region License /********************************************************************************* * UIActionInterfaces.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
#region License /********************************************************************************* * UIActionInterfaces.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
apache-2.0
C#
65097865ac4fb4fd6c9056b9e1d035631b245e7d
Support all particle num providers with m_flLiteralValue
SteamDatabase/ValveResourceFormat
GUI/Types/ParticleRenderer/INumberProvider.cs
GUI/Types/ParticleRenderer/INumberProvider.cs
using System; using ValveResourceFormat.Serialization; namespace GUI.Types.ParticleRenderer { public interface INumberProvider { double NextNumber(); } public class LiteralNumberProvider : INumberProvider { private readonly double value; public LiteralNumberProvider(double...
using System; using ValveResourceFormat.Serialization; namespace GUI.Types.ParticleRenderer { public interface INumberProvider { double NextNumber(); } public class LiteralNumberProvider : INumberProvider { private readonly double value; public LiteralNumberProvider(double...
mit
C#
4196b9af5adbe25e37081778f5768504a475b161
Improve translation when removing strings from names!
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
LINQToTTreeHelpers/LINQToTreeHelpers/Utils.cs
LINQToTTreeHelpers/LINQToTreeHelpers/Utils.cs
 namespace LINQToTreeHelpers { public static class Utils { /// <summary> /// Write out an object. Eventually, with ROOTNET improvements this will work better and perahps /// won't be needed! /// </summary> /// <param name="obj"></param> /// <param name=...
 namespace LINQToTreeHelpers { public static class Utils { /// <summary> /// Write out an object. Eventually, with ROOTNET improvements this will work better and perahps /// won't be needed! /// </summary> /// <param name="obj"></param> /// <param name=...
lgpl-2.1
C#
8496bcbfa32a3695a5343ec11a89f4d3edd5d30e
Format InstanceModel
carbon/Amazon
src/Amazon.Ec2/Helpers/InstanceModel.cs
src/Amazon.Ec2/Helpers/InstanceModel.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Reflection; using System.Runtime.Serialization; namespace Amazon.Ec2 { internal sealed class InstanceModel { private static readonly ConcurrentDictionary<Type, InstanceModel> models = new Concur...
#nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Reflection; using System.Runtime.Serialization; namespace Amazon.Ec2 { internal sealed class InstanceModel { private static readonly ConcurrentDictionary<Type, InstanceModel>...
mit
C#
d2f3bd68928230a36372169bf9e020881bb0bc33
Fix AssemblyInfo version
zamanak/Zamanak.WebService
Zamanak.WebService/Properties/AssemblyInfo.cs
Zamanak.WebService/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("Za...
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("Za...
mit
C#
c566b9cdd1e612878cb1694db58f3d465ac8e572
Fix Raven configuration.
alastairs/cgowebsite,alastairs/cgowebsite
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...
mit
C#
54f7f0346d47f531644ce7d0ab766aaf75b78ac1
Rework TagSystem to use HashCodes for faster lookup
rje/BetterTags
BetterTags/TagSystem.cs
BetterTags/TagSystem.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace BetterTags { public class TagSystem { public static Dictionary<int, List<GameObject>> m_taggedObjects = new Dictionary<int, List<GameObject>> (); public static void Clear () { m_taggedObjects.Clear (); } public ...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace BetterTags { public class TagSystem { public static Dictionary<string, List<GameObject>> m_taggedObjects = new Dictionary<string, List<GameObject>> (); public static void Clear () { m_taggedObjects.Clear (); } p...
mit
C#
d7180282611c23e1492251749cd78252f2f9fa08
make the eio dispatcher thread a background thread
jmptrader/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jackson...
src/Manos.IO/Manos.IO.Libev/EioContext.cs
src/Manos.IO/Manos.IO.Libev/EioContext.cs
using System; using Libev; using System.Threading; using System.Collections.Concurrent; using System.Runtime.InteropServices; namespace Manos.IO.Libev { class EioContext : IDisposable { static Thread eioHandlerThread; static Loop eioLoop; static EioContext () { eioLoop = new Loop (); manos_init (eioLo...
using System; using Libev; using System.Threading; using System.Collections.Concurrent; using System.Runtime.InteropServices; namespace Manos.IO.Libev { class EioContext : IDisposable { static Thread eioHandlerThread; static Loop eioLoop; static EioContext () { eioLoop = new Loop (); manos_init (eioLo...
mit
C#
de7251f2e59bc87436f3601c213f200ec10f9d05
upgrade C#
hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs
src/Reni/hw/Helper/ValueCacheExtension.cs
src/Reni/hw/Helper/ValueCacheExtension.cs
using System; using JetBrains.Annotations; // ReSharper disable CheckNamespace namespace hw.Helper { [PublicAPI] public static class ValueCacheExtension { [Obsolete("just use new! (Thanks C# 9.0)")] public static ValueCache<TValueType> NewValueCache<TValueType>(Func<TValueType> target) ...
using System; using JetBrains.Annotations; // ReSharper disable CheckNamespace namespace hw.Helper { [PublicAPI] public static class ValueCacheExtension { public static ValueCache<TValueType> NewValueCache<TValueType>(Func<TValueType> target) => new(target); public static TVal...
mit
C#
6b21c82fa41639b71d7371352120b4a839391e39
update tests to reflect new NullOrEmpty method names
ankurMalhotra/shouldly,MitjaBezensek/shouldly,ofirw/shouldly,MitjaBezensek/shouldly,MitjaBezensek/shouldly,AmadeusW/shouldly,MitjaBezensek/shouldly,MitjaBezensek/shouldly,JoeMighty/shouldly,KennyBu/shouldly,JakeGinnivan/shouldly,enkafan/shouldly,yannisgu/shouldly,chaitanyagurrapu/shouldly,MitjaBezensek/shouldly
src/Shouldly.Tests/ShouldBeStringTests.cs
src/Shouldly.Tests/ShouldBeStringTests.cs
using NUnit.Framework; namespace Shouldly.Tests { [TestFixture] public class ShouldBeStringTests { [Test] public void ShouldBeCloseTo_IsPrettyLoose() { "Fun with space and \"quotes\"".ShouldBeCloseTo("Fun with space and 'quotes'"); } [Test] ...
using NUnit.Framework; namespace Shouldly.Tests { [TestFixture] public class ShouldBeStringTests { [Test] public void ShouldBeCloseTo_IsPrettyLoose() { "Fun with space and \"quotes\"".ShouldBeCloseTo("Fun with space and 'quotes'"); } [Test] ...
bsd-3-clause
C#
4f3f80a3a4a8cbd533405855f6d6268ac6abe258
add system reference for flags attribute
vivmishra/core-setup,steveharter/core-setup,janvorli/core-setup,weshaggard/core-setup,joperezr/core-setup,vivmishra/core-setup,weshaggard/core-setup,chcosta/core-setup,joperezr/core-setup,ramarag/core-setup,wtgodbe/core-setup,vivmishra/core-setup,janvorli/core-setup,chcosta/core-setup,rakeshsinghranchi/core-setup,joper...
build_projects/dotnet-host-build/NugetUtil.cs
build_projects/dotnet-host-build/NugetUtil.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Microsoft.DotNet.Cli.Build.Framework; using NugetProgram = NuGet.CommandLine.XPlat.Program; namespace Microsoft.DotNet.Cli.Build { public static class NuGetUtil { [Flags] public en...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Microsoft.DotNet.Cli.Build.Framework; using NugetProgram = NuGet.CommandLine.XPlat.Program; namespace Microsoft.DotNet.Cli.Build { public static class NuGetUtil { [Flags] public enum NuGetInclud...
mit
C#
11ebfc813b6519fb718d441732034051676e0a1a
add audios
Jason-Zhao-Jie/MagicTower,Jason-Zhao-Jie/MagicTower,Jason-Zhao-Jie/MagicTower,Jason-Zhao-Jie/MagicTower
Assets/Script/Singleton/AudioController.cs
Assets/Script/Singleton/AudioController.cs
public class AudioController { public const int itemGetSound = 20; public const int stepSound = 56; public const int openDoorSound = 53; public static AudioController instance = null; public UnityEngine.AudioSource MusicSource { get { return musicSource; } set { musicSource = va...
public class AudioController { public const int stepSound = 56; public const int openDoorSound = 53; public static AudioController instance = null; public UnityEngine.AudioSource MusicSource { get { return musicSource; } set { musicSource = value; } } public UnityEngine.Aud...
bsd-3-clause
C#
34d4792c0e8280cc86bd58f6d86d594ac3e95dfb
Remove unused includes.
BeigeBadger/wt-wiki-scraper
ConsoleScraper/ConsoleScraper/Program.cs
ConsoleScraper/ConsoleScraper/Program.cs
using System; using System.Collections.Generic; using HtmlAgilityPack; using ConsoleScraper.Models; using System.Diagnostics; using System.Collections.Concurrent; namespace ConsoleScraper { class Program { /** Thread-safe collections **/ // Populated with the vehicle name as the key and the HTML content of the ...
using System; using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; using ConsoleScraper.Models; using System.Diagnostics; using System.Collections.Concurrent; using System.Threading.Tasks; namespace ConsoleScraper { class Program { /** Thread-safe collections **/ // Populated with the veh...
mit
C#
23e89a06eebbf4362dd6f8e50791a9e53508d091
combine else/if
ucdavis/CRP,ucdavis/CRP,ucdavis/CRP
CRP.Mvc/Views/Payments/Confirmation.cshtml
CRP.Mvc/Views/Payments/Confirmation.cshtml
@using Microsoft.Web.Mvc @model CRP.Controllers.ViewModels.PaymentConfirmationViewModel @{ ViewBag.Title = "Confirmation"; } <div class="boundary"> <h2>Registration Confirmation</h2> <p>You have successfully registered for the following event:</p> <div> <label>Item: </label> @Model.Tr...
@using Microsoft.Web.Mvc @model CRP.Controllers.ViewModels.PaymentConfirmationViewModel @{ ViewBag.Title = "Confirmation"; } <div class="boundary"> <h2>Registration Confirmation</h2> <p>You have successfully registered for the following event:</p> <div> <label>Item: </label> @Model.Tr...
mit
C#
0564e4186b6a9091d6ac5ab9e028cd022f8b3bab
Remove "Search" widget base URL warning
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/Search/ViewModel.cs
DesktopWidgets/Widgets/Search/ViewModel.cs
using System.Diagnostics; using System.Windows.Input; using DesktopWidgets.Classes; using DesktopWidgets.Helpers; using DesktopWidgets.ViewModelBase; using GalaSoft.MvvmLight.Command; namespace DesktopWidgets.Widgets.Search { public class ViewModel : WidgetViewModelBase { private string _searchText; ...
using System.Diagnostics; using System.Windows; using System.Windows.Input; using DesktopWidgets.Classes; using DesktopWidgets.Helpers; using DesktopWidgets.ViewModelBase; using GalaSoft.MvvmLight.Command; namespace DesktopWidgets.Widgets.Search { public class ViewModel : WidgetViewModelBase { private...
apache-2.0
C#
78bf228af6913c05dbf9468ee86dcb3e2820e250
Modify Invalidator Calculation
Glurmo/LiveSplit,Glurmo/LiveSplit,LiveSplit/LiveSplit,Glurmo/LiveSplit
LiveSplit/LiveSplit.Core/UI/Invalidator.cs
LiveSplit/LiveSplit.Core/UI/Invalidator.cs
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace LiveSplit.UI { public class Invalidator : IInvalidator { public Form Form { get; protected set; } public Matrix Transform { get; set; } protected const double Offset = 0.535; ...
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace LiveSplit.UI { public class Invalidator : IInvalidator { public Form Form { get; protected set; } public Matrix Transform { get; set; } protected const double Offset = 0.535; ...
mit
C#
41a4928e25bfc743fed721284465d46edfdfdc65
add example to write to the database
jgraber/MicroORM_examples,jgraber/MicroORM_examples,jgraber/MicroORM_examples
MicroORM_Dapper/MicroORM_Dapper/Program.cs
MicroORM_Dapper/MicroORM_Dapper/Program.cs
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using Dapper; namespace MicroORM_Dapper { class Program { static void Main(string[] args) { ReadData(); ...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using Dapper; namespace MicroORM_Dapper { class Program { static void Main(string[] args) { ReadData(); ...
apache-2.0
C#
9c6dffbb18f213d62d94f3d87a44cc313c1c39ea
Revert "The problem was that if you run the project you don't have a way to access the correct Weather's view, so I modified the route config and made it the default view."
robbakeruk/Weather,robbakeruk/Weather,robbakeruk/Weather
Weather/Weather/App_Start/RouteConfig.cs
Weather/Weather/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Weather { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathI...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Weather { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathI...
apache-2.0
C#
ca24ade887448281a829fcfd4be9526dd10d60f5
Add new version 1.2.4
qiniu/QSunSync,qiniu-lab/QSunSync,jemygraw/QSunSync,fengyhack/QSunSync
SunSync/SunSync/Properties/AssemblyInfo.cs
SunSync/SunSync/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
e9654503af62e2a3cf3978c2121cf859e7643821
Fix scrabble-score exercise. Closes #70
exercism/xcsharp,ErikSchierboom/xcsharp,GKotfis/csharp,exercism/xcsharp,GKotfis/csharp,robkeim/xcsharp,ErikSchierboom/xcsharp,robkeim/xcsharp
exercises/scrabble-score/ScrabbleScoreTest.cs
exercises/scrabble-score/ScrabbleScoreTest.cs
using NUnit.Framework; [TestFixture] public class ScrabbleScoreTest { [Test] public void Empty_word_scores_zero() { Assert.That(Scrabble.Score(""), Is.EqualTo(0)); } [Ignore("Remove to run test")] [Test] public void Whitespace_scores_zero() { Assert.That(Scrabble.Score(...
using NUnit.Framework; [TestFixture] public class ScrabbleScoreTest { [Test] public void Empty_word_scores_zero() { Assert.That(Scrabble.Score(""), Is.EqualTo(0)); } [Ignore("Remove to run test")] [Test] public void Whitespace_scores_zero() { Assert.That(Scrabble.Score(...
mit
C#
d7a0fc94bfc7d60febe02fcafe3fc6ff0d7b9de5
Make sure NONEXISTENT_CELLS is serialized into nonexistentCells
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/ObjectExclusion.cs
main/Smartsheet/Api/Models/ObjectExclusion.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
apache-2.0
C#
8cb0eb9b1251169e4433fe42948239cda76da607
Fix dynamic recompilation in intro test scenes
EVAST9919/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,UselessToucan/osu
osu.Game.Tests/Visual/Menus/IntroTestScene.cs
osu.Game.Tests/Visual/Menus/IntroTestScene.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; ...
mit
C#
9236bfac5ce7a2fab1b4a6ace4402d5c696bb7e4
Update FilingCategory.cs
kevbite/CompaniesHouse.NET,LiberisLabs/CompaniesHouse.NET
src/CompaniesHouse/Response/FilingCategory.cs
src/CompaniesHouse/Response/FilingCategory.cs
using System.Runtime.Serialization; namespace CompaniesHouse.Response { public enum FilingCategory { None = 0, [EnumMember(Value = "auditors")] Auditors, [EnumMember(Value = "accounts")] Accounts, [EnumMember(Value = "address")] Address, [Enum...
using System.Runtime.Serialization; namespace CompaniesHouse.Response { public enum FilingCategory { None = 0, [EnumMember(Value = "auditors")] Auditors, [EnumMember(Value = "accounts")] Accounts, [EnumMember(Value = "address")] Address, [Enum...
mit
C#
7fec8250c0e2929c535bd68df934fe36f5908e71
update .net maui podcast
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/TheXamarinPodcast.cs
src/Firehose.Web/Authors/TheXamarinPodcast.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class TheXamarinPodcast : IAmACommunityMember, IAmAPodcast { public string FirstName => "The .NET MAUI Podcast"; public string LastName => "Podcast"; public string...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class TheXamarinPodcast : IAmACommunityMember, IAmAPodcast { public string FirstName => "The Xamarin"; public string LastName => "Podcast"; public string StateOrRe...
mit
C#
d0a027c98da10d9d713f98bcd2df1307bd09cfb0
Fix count sql building
xin9le/DeclarativeSql
src/DeclarativeSql/Sql/Statements/Count.cs
src/DeclarativeSql/Sql/Statements/Count.cs
using System.Text; namespace DeclarativeSql.Sql.Statements { /// <summary> /// Represents count statement. /// </summary> /// <typeparam name="T"></typeparam> internal sealed class Count<T> : Statement<T>, ICount<T> { #region Constructors /// <summary> /// Creates ins...
using System.Text; namespace DeclarativeSql.Sql.Statements { /// <summary> /// Represents count statement. /// </summary> /// <typeparam name="T"></typeparam> internal sealed class Count<T> : Statement<T>, ICount<T> { #region Constructors /// <summary> /// Creates ins...
mit
C#
ed9ce8b7fe509527ded528a6ae6b0fc07f7b2d33
Revert "remove unused private setters"
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Agent/Entities/ListInfo.cs
src/FilterLists.Agent/Entities/ListInfo.cs
using System; namespace FilterLists.Agent.Entities { public class ListInfo { public int Id { get; private set; } public Uri ViewUrl { get; private set; } } }
using System; namespace FilterLists.Agent.Entities { public class ListInfo { public int Id { get; } public Uri ViewUrl { get; } } }
mit
C#
03c8481202a1c2173c21aa53b7b22e7907dd415b
Change to version number for 1.0 Release
DewJunkie/Log2Console
src/Log2Console/Properties/AssemblyInfo.cs
src/Log2Console/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: AssemblyTi...
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: AssemblyTi...
bsd-3-clause
C#
3dab11e243865fdbd843a9f0b3d66d4090387f0b
Bump version
jozefizso/FogBugz-ExtendedEvents,jozefizso/FogBugz-ExtendedEvents
FBExtendedEvents/Properties/AssemblyInfo.cs
FBExtendedEvents/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Extended Events")] [assembly: AssemblyDescription("Show events from external sources like Subversion, TeamCity and Jenkins.")] [assembly: AssemblyCompany("Jozef Izso")] [assembly: AssemblyPr...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Extended Events")] [assembly: AssemblyDescription("Show events from external sources like Subversion, TeamCity and Jenkins.")] [assembly: AssemblyCompany("Jozef Izso")] [assembly: AssemblyPr...
mit
C#
a61ff5dd3d3ac6c2ca8422f124f409f3f94f28f0
remove hack, return failing test to clean 'failing' state.
goblinfactory/gunit
Gunit/Gunit.Core/Internal/PropertyHelper.cs
Gunit/Gunit.Core/Internal/PropertyHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Gunit.Core.Internal { public static class PropertyHelper { public class CompareProperty { pu...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Gunit.Core.Internal { public static class PropertyHelper { public class CompareProperty { pu...
apache-2.0
C#
78cd130e8e1d6b9d260e65eb9c3ec101580c3371
test remove static url
kalinalazarova1/SharedWeekends,kalinalazarova1/SharedWeekends
SharedWeekends.MVC/App_Start/RouteConfig.cs
SharedWeekends.MVC/App_Start/RouteConfig.cs
namespace SharedWeekends.MVC { using System.Web.Mvc; using System.Web.Routing; public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "Defau...
namespace SharedWeekends.MVC { using System.Web.Mvc; using System.Web.Routing; public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "Defau...
mit
C#
80e6c0c75d98ecd9059dfa07ac7863bb91db4e4d
make sure benchmarks can be run everywhere
autofac/Autofac
bench/Autofac.Benchmarks/BenchmarkConfig.cs
bench/Autofac.Benchmarks/BenchmarkConfig.cs
using System; using System.IO; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Diagnosers; namespace Autofac.Benchmarks { internal class BenchmarkConfig : ManualConfig { private const string BenchmarkArtificatsFolder = "BenchmarkDotNet.Artifacts"; internal BenchmarkConfig() { ...
using System; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Diagnosers; namespace Autofac.Benchmarks { internal class BenchmarkConfig : ManualConfig { internal BenchmarkConfig() { Add(DefaultConfig.Instance); var rootFolder = AppContext.BaseDirectory.Substring(0,...
mit
C#
deeeaafda20ebd00d845c9f3e34148a74b006fc9
Destroy bullets on trigger event
ne1ro/desperation
Assets/Scripts/Bullet.cs
Assets/Scripts/Bullet.cs
using UnityEngine; using System.Collections; public class Bullet : MonoBehaviour { public int bulletSpeed = 715; void Start() { GetComponent<Rigidbody>().AddRelativeForce(Vector3.forward * bulletSpeed); } void OnTriggerEnter(Collider other) { Destroy(gameObject); } }
using UnityEngine; using System.Collections; public class Bullet : MonoBehaviour { public int bulletSpeed = 715; void Start () { GetComponent<Rigidbody>().AddRelativeForce(Vector3.forward * bulletSpeed); } }
mit
C#
43b34979c74cfefdfe46c7ea0c3d4f0bbb2add3e
Fix samples
NRules/NRules
samples/ClaimsAdjudication/ClaimsExpert.Service/Infrastructure/RulesEngineLogger.cs
samples/ClaimsAdjudication/ClaimsExpert.Service/Infrastructure/RulesEngineLogger.cs
using Common.Logging; using NRules.Diagnostics; namespace NRules.Samples.ClaimsExpert.Service.Infrastructure { internal class RulesEngineLogger { private static readonly ILog Log = LogManager.GetLogger<RulesEngineLogger>(); public RulesEngineLogger(ISessionFactory sessionFactory) { ...
using Common.Logging; using NRules.Diagnostics; namespace NRules.Samples.ClaimsExpert.Service.Infrastructure { internal class RulesEngineLogger { private static readonly ILog Log = LogManager.GetLogger<RulesEngineLogger>(); public RulesEngineLogger(ISessionFactory sessionFactory) { ...
mit
C#
e98b8c236eafa21e96f2add39d88971d18ebd97b
remove empty test method
kherr9/TransitSocial.ChicagoTransitAuthority
src/TransitSocial.ChicagoTransitAuthority.BusTracker.Tests/BusTrackerClientTests.cs
src/TransitSocial.ChicagoTransitAuthority.BusTracker.Tests/BusTrackerClientTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TransitSocial.ChicagoTransitAuthority.BusTracker.Tests { [TestClass] public class BusTrackerClientTests { } }
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TransitSocial.ChicagoTransitAuthority.BusTracker.Tests { [TestClass] public class BusTrackerClientTests { [TestMethod] public void TestMethod1() { } } }
mit
C#