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
d65394d3791f0541253d5a6ecb9e9631c31cee7c
Test fix
Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5
test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/AspNetCoreEnvironmentTelemetryInitializerTests.cs
test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/AspNetCoreEnvironmentTelemetryInitializerTests.cs
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.TelemetryInitializers { using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNetCore.Hosting.Internal; using Xunit; public class AspNetCoreEnvironmentTele...
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.TelemetryInitializers { using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNetCore.Hosting.Internal; using Xunit; public class AspNetCoreEnvironmentTele...
mit
C#
e2316bb6343edc1f381009c7d3c4413dc29510a7
remove some problems
olebg/Movie-Theater-Project
MovieTheater/MovieTheater.Framework/Core/Providers/JsonReader.cs
MovieTheater/MovieTheater.Framework/Core/Providers/JsonReader.cs
using MovieTheater.Framework.Core.Providers.Contracts; using System.IO; namespace MovieTheater.Framework.Core.Providers { public class JsonReader : IReader { public JsonReader(IReader reader, IWriter writer) { this.Reader = reader; this.Writer = writer; } ...
using MovieTheater.Framework.Core.Contracts; using System.IO; namespace MovieTheater.Framework.Core.Providers { public class JsonReader : IReader { public JsonReader(IReader reader, IWriter writer) { this.Reader = reader; this.Writer = writer; } public ...
mit
C#
8ec78688b80e8d1c92cc71a61a442e5c5c17c974
Add empty actionParameters check (#148)
qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox
Wox.Core/Plugin/QueryBuilder.cs
Wox.Core/Plugin/QueryBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using Wox.Plugin; namespace Wox.Core.Plugin { public static class QueryBuilder { public static Query Build(string text, Dictionary<string, PluginPair> nonGlobalPlugins) { // replace multiple white spaces with one wh...
using System; using System.Collections.Generic; using System.Linq; using Wox.Plugin; namespace Wox.Core.Plugin { public static class QueryBuilder { public static Query Build(string text, Dictionary<string, PluginPair> nonGlobalPlugins) { // replace multiple white spaces with one wh...
mit
C#
719b2424e0f90e1cd5f2a5c5a936d34f6b347d35
Add json serialization for runtime configuration.
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
src/AsmResolver.DotNet/Config/Json/RuntimeConfiguration.cs
src/AsmResolver.DotNet/Config/Json/RuntimeConfiguration.cs
using System.IO; using System.Text.Json; namespace AsmResolver.DotNet.Config.Json { /// <summary> /// Represents the root object of a runtime configuration, stored in a *.runtimeconfig.json file. /// </summary> public class RuntimeConfiguration { private static readonly JsonSerializerOption...
using System.IO; using System.Text.Json; namespace AsmResolver.DotNet.Config.Json { /// <summary> /// Represents the root object of a runtime configuration, stored in a *.runtimeconfig.json file. /// </summary> public class RuntimeConfiguration { private static readonly JsonSerializerOption...
mit
C#
7531411597ebdeca92ccc67e7964c5c134acf862
Fix syntax error
coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore
src/MiningCore/Persistence/Model/Projections/MinerStats.cs
src/MiningCore/Persistence/Model/Projections/MinerStats.cs
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.com) 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, including without limi...
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.com) 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, including without limi...
mit
C#
dd9a142e899030c6a53d0fd0275af6a57efd34f6
Fix `TestSceneEditorSummaryTimeline` not displaying actual beatmap content
ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu
osu.Game.Tests/Visual/Editing/TestSceneEditorSummaryTimeline.cs
osu.Game.Tests/Visual/Editing/TestSceneEditorSummaryTimeline.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu.Bea...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu.Beatmaps; using osu.Game.Scr...
mit
C#
ae1933db62507025b9fd09b8f1b824a6fcbb3fd7
refactor GetBusyStatus
joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net
src/JoinRpg.WebPortal.Models/Characters/BusyStatusExtensions.cs
src/JoinRpg.WebPortal.Models/Characters/BusyStatusExtensions.cs
using System.Linq; using JoinRpg.Data.Interfaces; using JoinRpg.DataModel; using JoinRpg.PrimitiveTypes; namespace JoinRpg.Web.Models.Characters { public static class BusyStatusExtensions { public static CharacterBusyStatusView GetBusyStatus(this Character character) { var character...
using System.Linq; using JoinRpg.Data.Interfaces; using JoinRpg.DataModel; namespace JoinRpg.Web.Models.Characters { public static class BusyStatusExtensions { public static CharacterBusyStatusView GetBusyStatus(this Character character) { if (character.ApprovedClaim != null) ...
mit
C#
97863cba3731e5eeebbe7ecdb650228dc52968be
fix minor introduced issue w/ admin landing
ucdavis/Badges,ucdavis/Badges
Badges/Areas/Admin/Controllers/LandingController.cs
Badges/Areas/Admin/Controllers/LandingController.cs
using System.Web.Mvc; using Badges.Core.Domain; using Badges.Controllers; using Badges.Core.Repositories; namespace Badges.Areas.Admin.Controllers { [Authorize(Roles=RoleNames.Administrator)] public class LandingController : ApplicationController { //Admin/Landing public Landing...
using System.Web.Mvc; using Badges.Core.Domain; namespace Badges.Areas.Admin.Controllers { [Authorize(Roles=RoleNames.Administrator)] public class LandingController : Controller { //Admin/Landing public ActionResult Index() { return View(); } } ...
mpl-2.0
C#
c1c83cd20a216bfb9501b4baea655f2af95f7b86
Update version file with version number.
PaulTrampert/PTrampert.MongoDb.Configuration
Version.cs
Version.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
mit
C#
48c9f0d646fe66fef49a011a28a27d3952a52bb1
Fix server lobby music exception. Audio resources aren't shipped with the server, so the check is essentially useless.
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/GameTicking/GameTicker.LobbyMusic.cs
Content.Server/GameTicking/GameTicker.LobbyMusic.cs
using Content.Shared.Audio; using Robust.Shared.Random; using Robust.Shared.Utility; using Robust.Shared.ViewVariables; namespace Content.Server.GameTicking { public partial class GameTicker { private const string LobbyMusicCollection = "LobbyMusic"; [ViewVariables] private bool _lobby...
using Content.Shared.Audio; using Robust.Shared.ContentPack; using Robust.Shared.IoC; using Robust.Shared.Log; using Robust.Shared.Random; using Robust.Shared.Utility; using Robust.Shared.ViewVariables; namespace Content.Server.GameTicking { public partial class GameTicker { [Dependency] private readon...
mit
C#
bbbeed8dd30bd3ed2dfd091b51ecf33a49b0a760
Delete unused static field (#21965)
zhenlan/corefx,Jiayili1/corefx,the-dwyer/corefx,mmitche/corefx,Jiayili1/corefx,tijoytom/corefx,tijoytom/corefx,ViktorHofer/corefx,twsouthwick/corefx,nchikanov/corefx,jlin177/corefx,fgreinacher/corefx,shimingsg/corefx,JosephTremoulet/corefx,MaggieTsang/corefx,mmitche/corefx,mazong1123/corefx,DnlHarvey/corefx,the-dwyer/c...
src/Common/src/Interop/Windows/kernel32/Interop.SafeCreateFile.cs
src/Common/src/Interop/Windows/kernel32/Interop.SafeCreateFile.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 Microsoft.Win32.SafeHandles; using System; using System.IO; internal partial class Interop { internal par...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Win32.SafeHandles; using System; using System.IO; internal partial class Interop { internal par...
mit
C#
2a609dba85dcf3d8583b845589b1c9239580155a
Use InvariantCulture:
SuperJMN/Avalonia,susloparovdenis/Perspex,danwalmsley/Perspex,jkoritzinsky/Avalonia,tshcherban/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,kekekeks/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,susloparovdenis/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,punker76/Perspex,AvaloniaUI/Avalonia,jazzay/Perspex,...
src/Markup/Perspex.Markup.Xaml/Converters/TimeSpanTypeConverter.cs
src/Markup/Perspex.Markup.Xaml/Converters/TimeSpanTypeConverter.cs
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Globalization; using OmniXaml.TypeConversion; using Perspex.Media; namespace Perspex.Markup.Xaml.Converters { public class...
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Globalization; using OmniXaml.TypeConversion; using Perspex.Media; namespace Perspex.Markup.Xaml.Converters { public class...
mit
C#
9d53460315a044d82e5ba94c3a614a81b60d9b9b
Fix regression & enable ClearInitLocals in System.Text.RegularExpressions (#27146)
ruben-ayrapetyan/coreclr,mmitche/coreclr,ruben-ayrapetyan/coreclr,wtgodbe/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr,mmitche/coreclr,ruben-ayrapetyan/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,ruben-ayrapetyan/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,ruben-ayrapetyan/core...
src/mscorlib/shared/System/Collections/Generic/ValueListBuilder.cs
src/mscorlib/shared/System/Collections/Generic/ValueListBuilder.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.Buffers; using System.Diagnostics; using System.Runtime.CompilerServices; namespace System.Collection...
// 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.Buffers; using System.Diagnostics; using System.Runtime.CompilerServices; namespace System.Collection...
mit
C#
f75038e51e7083f12fb0f64684f90ae406186e99
Teste Alteração
kaiosilveira/CashFlow,kaiosilveira/CashFlow,kaiosilveira/CashFlow
CashFlow/CashFlow.DataAccess/Factories/ConnectionFactory.cs
CashFlow/CashFlow.DataAccess/Factories/ConnectionFactory.cs
using CashFlow.Domain.Model.Enumerators; using CashFlow.NetFramework.Providers; using System.Data; using System.Data.SqlClient; namespace CashFlow.DataAccess.Factories { public class ConnectionFactory { public IDbConnection GetConnection(ConnectionStrings connectionString) { var co...
using CashFlow.Domain.Model.Enumerators; using CashFlow.NetFramework.Providers; using System.Data; using System.Data.SqlClient; namespace CashFlow.DataAccess.Factories { public class ConnectionFactory { public IDbConnection GetConnection(ConnectionStrings connectionString) { var co...
mit
C#
6a50831311e1ae8746534b7f990189a4e837af9f
remove exception
charlenni/Mapsui,charlenni/Mapsui
Mapsui.Nts/Extensions/CoordinateExtensions.cs
Mapsui.Nts/Extensions/CoordinateExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using NetTopologySuite.Geometries; namespace Mapsui.Nts.Extensions { public static class CoordinateExtensions { public static MPoint ToMPoint(this Coordinate coordinate) { return new MPoint(coordinate.X, coordinate....
using System; using System.Collections.Generic; using System.Linq; using NetTopologySuite.Geometries; namespace Mapsui.Nts.Extensions { public static class CoordinateExtensions { public static MPoint ToMPoint(this Coordinate coordinate) { return new MPoint(coordinate.X, coordinate....
mit
C#
2edc818fca3c676c9bb209c315272981db98b14b
add jsonp
zhouyongtao/webapi-learning,zhouyongtao/webapi-learning,zhouyongtao/webapi-learning
webapi-learning/Global.asax.cs
webapi-learning/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using WebApiContrib.Formatting.Jsonp; namespace webapi_learning { public class WebApiApplication : System.Web.HttpApplication ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace webapi_learning { public class WebApiApplication : System.Web.HttpApplication { protected void Applicatio...
mit
C#
e3ff25a3eebeb5de0f7c1d852e0636a1e7014aee
Fix Stackoverflow.
bchavez/SharpFlame,bchavez/SharpFlame
source/Eto.Gl.Gtk/GtkGlSurfaceHandler.cs
source/Eto.Gl.Gtk/GtkGlSurfaceHandler.cs
using Eto.Drawing; using Eto.Platform.GtkSharp; namespace Eto.Gl.Gtk { public class GtkGlSurfaceHandler : GtkControl<GLDrawingArea, GLSurface>, IGLSurfacePlatformHandler { public override GLDrawingArea CreateControl() { var c = new GLDrawingArea(); c.Initialize...
using Eto.Drawing; using Eto.Platform.GtkSharp; namespace Eto.Gl.Gtk { public class GtkGlSurfaceHandler : GtkControl<GLDrawingArea, GLSurface>, IGLSurfacePlatformHandler { public override GLDrawingArea CreateControl() { var c = new GLDrawingArea(); c.Initialize...
mit
C#
1451b2743ebf3fd77a42ce93d498e4915eecf075
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.SignalR
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Integration.SignalR")] [assembly: ComVisible(false)] [assembly: CLSCompliant(false)]
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Integration.SignalR")] [assembly: AssemblyDescription("Autofac ASP.NET SignalR Integration")] [assembly: ComVisible(false)] [assembly: CLSCompliant(false)]
mit
C#
c8fbbd37b3ff1023478d9f989ffbdf4d16ae7d64
adjust assembly version to follow the module version
sachatrauwaen/openform,sachatrauwaen/openform,sachatrauwaen/openform
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("OpenForm")] [assembly: AssemblyDescriptio...
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("OpenForm")] [assembly: AssemblyDescriptio...
mit
C#
34d8e200a453c5019372670a52cb09dcd1a7bf53
Adjust osu!mania scroll speed defaults to be more sane (#6062)
smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,NeoAdonis/osu,2y...
osu.Game.Rulesets.Mania/Configuration/ManiaRulesetConfigManager.cs
osu.Game.Rulesets.Mania/Configuration/ManiaRulesetConfigManager.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Configuration.Tracking; using osu.Game.Configuration; using osu.Game.Rulesets.Configuration; using osu.Game.Rulesets.Mania.UI; namespace osu.Game.Ru...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Configuration.Tracking; using osu.Game.Configuration; using osu.Game.Rulesets.Configuration; using osu.Game.Rulesets.Mania.UI; namespace osu.Game.Ru...
mit
C#
fcd5c736d91b78c830f69d8a162d7d353787bd78
send using the fake mailtrap smtp
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Core/Services/MailService.cs
Anlab.Core/Services/MailService.cs
using System.Threading.Tasks; using Anlab.Core.Data; using Anlab.Core.Domain; using MailKit.Net.Smtp; using MimeKit; namespace Anlab.Core.Services { public interface IMailService { Task EnqueueMessageAsync(MailMessage message); void SendMessage(MailMessage mailMessage); } public class ...
using System.Threading.Tasks; using Anlab.Core.Data; using Anlab.Core.Domain; using MailKit.Net.Smtp; using MimeKit; namespace Anlab.Core.Services { public interface IMailService { Task EnqueueMessageAsync(MailMessage message); void SendMessage(MailMessage mailMessage); } public class ...
mit
C#
4464a36daf79031ba27123b5044a96134191f8a3
Update Cláudio Silva
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/ClaudioSilva.cs
src/Firehose.Web/Authors/ClaudioSilva.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 ClaudioSilva : IAmAMicrosoftMVP { public string FirstName => "Cláudio"; public string Last...
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 ClaudioSilva : IAmAMicrosoftMVP { public string FirstName => "Cláudio"; public string Last...
mit
C#
842e060d883e27ffb115b5923689bb7e10ac5f55
Update assembly version.
LogosBible/LogosGit
src/Logos.Git/Properties/AssemblyInfo.cs
src/Logos.Git/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Logos.Git")] [assembly: AssemblyDescription("Utility code for working with local git repos and the GitHub web API.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Logos Bible Software")] [assemb...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Logos.Git")] [assembly: AssemblyDescription("Utility code for working with local git repos and the GitHub web API.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Logos Bible Software")] [assemb...
mit
C#
23da1cbd1f519d4f57251958f7a8dd270656ad04
Correct proxy type in `InterfaceProxy.Invocation`
Moq/moq4
src/Moq/ProxyFactories/InterfaceProxy.cs
src/Moq/ProxyFactories/InterfaceProxy.cs
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; namespace Moq.Internals { /// <summary>Do not use. (Moq requi...
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.ComponentModel; using System.Diagnostics; using System.Reflection; namespace Moq.Internals { /// <summary>Do not use. (Moq requi...
bsd-3-clause
C#
a2e4891ee658ce8148e6554918a133e857acfb44
Fix test brittleness.
lnu/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,ngbrown/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,Manufac...
src/NHibernate.Test/Linq/LoggingTests.cs
src/NHibernate.Test/Linq/LoggingTests.cs
using System.Linq; using NHibernate.Cfg; using NHibernate.DomainModel.Northwind.Entities; using NUnit.Framework; namespace NHibernate.Test.Linq { [TestFixture] public class LoggingTests : LinqTestCase { [Test] public void PageBetweenProjections() { using (var spy = new LogSpy("NHibernate.Linq")) { v...
using System.Linq; using NHibernate.Cfg; using NHibernate.DomainModel.Northwind.Entities; using NUnit.Framework; namespace NHibernate.Test.Linq { [TestFixture] public class LoggingTests : LinqTestCase { [Test] public void PageBetweenProjections() { using (var spy = new LogSpy("NHibernate.Linq")) { v...
lgpl-2.1
C#
0e7b62b1a0e35b06b5b658d3b80db14cd392f83f
add repo
mzrimsek/scheduler,mzrimsek/scheduler,mzrimsek/scheduler
Controllers/SchedulerController.cs
Controllers/SchedulerController.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using scheduler.Interfaces; using scheduler.Mappers; using scheduler.Models; using scheduler.Models.SchedulerViewModels; namespace scheduler.Controllers { public class SchedulerCon...
using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using scheduler.Interfaces; using scheduler.Mappers; using scheduler.Models; using scheduler.Models.SchedulerViewModels; namespace scheduler.Controllers { public class SchedulerCon...
mit
C#
a8b804aaaa3e8bff74b5f3f7f06cdf4b77862874
Update VehicleType.cs
ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp
src/SampSharp.GameMode/SAMP/Commands/ParameterTypes/VehicleType.cs
src/SampSharp.GameMode/SAMP/Commands/ParameterTypes/VehicleType.cs
// SampSharp // Copyright 2017 Tim Potze // // 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 applicable law or...
// SampSharp // Copyright 2017 Tim Potze // // 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 applicable law or...
apache-2.0
C#
0fd333d92af4f596d96f11db453c6c95b7117850
Use steamcmd script instead of command line arguments to allow for spaces in install path
Limmek/Factorio-Server-Launcher
FactorioServerLuancher/Download.cs
FactorioServerLuancher/Download.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Security.Permissions; using Newtonsoft.Json.Linq; using System.Net; using System.Diagnostics; namespace FactorioServerLauncher { class Downl...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Security.Permissions; using Newtonsoft.Json.Linq; using System.Net; using System.Diagnostics; namespace FactorioServerLauncher { class Downl...
mit
C#
d9ca293da6801bb896b1dcabc99d5be314169b0f
Use dotnet-bot instead of vslsnap GitHub account for GithubMergeTool
CyrusNajmabadi/roslyn,amcasey/roslyn,diryboy/roslyn,heejaechang/roslyn,aelij/roslyn,heejaechang/roslyn,jasonmalinowski/roslyn,srivatsn/roslyn,robinsedlaczek/roslyn,lorcanmooney/roslyn,genlu/roslyn,CaptainHayashi/roslyn,mmitche/roslyn,AmadeusW/roslyn,pdelvo/roslyn,mattwar/roslyn,panopticoncentral/roslyn,pdelvo/roslyn,br...
src/Tools/Github/GithubMergeTool/run.csx
src/Tools/Github/GithubMergeTool/run.csx
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #r "GithubMergeTool.dll" #load "auth.csx" using System; using System.Net; using System.Threading.Tasks; private static string DotnetBotGithubAuthToken = n...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #r "GithubMergeTool.dll" #load "auth.csx" using System; using System.Net; using System.Threading.Tasks; private static string VslsnapGithubAuthToken = nul...
mit
C#
236124496d208c9bcf554ee36ead97170f5705ce
add missing accent colour in control tab item
NeoAdonis/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,ppy/osu
osu.Game/Overlays/BreadcrumbControlOverlayHeader.cs
osu.Game/Overlays/BreadcrumbControlOverlayHeader.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics.UserInterface; namespace osu.Game.Over...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics.UserInterface; namespace osu.Game.Over...
mit
C#
f415d227eaae38e1bdd6a694916ec8784d98623b
Add sub execution tasks
defrancea/Fadm
Core/Fadm/Core/ExecutionResult.cs
Core/Fadm/Core/ExecutionResult.cs
/* * Copyright (c) 2015, Fadm. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *...
/* * Copyright (c) 2015, Fadm. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *...
lgpl-2.1
C#
eb3b266372b37f9a60fda8f8216cba6bff7e4447
Fix test event ordering to correctly test fail case
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework
osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs
osu.Framework.Tests/Audio/AudioCollectionManagerTest.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.Threading; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { [TestFixture] public class AudioCollectionManage...
// 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.Threading; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { [TestFixture] public class AudioCollectionManage...
mit
C#
90fecbc9c7435ff5c2f3077b8fdebb96ff3d6c52
Add test showing all mod icons for reference
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs
osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu....
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Linq; using NUnit.Framework; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu.Mods; using osu.Game.Rulesets.UI; namespace osu.Gam...
mit
C#
f77ad8cf3907327834db7d12c129511f70c5b819
Remove unused using
UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu
osu.Game/Screens/Ranking/ScorePanelTrackingContainer.cs
osu.Game/Screens/Ranking/ScorePanelTrackingContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.Containers; namespace osu.Game.Screens.Ranking { /// <summary> /// A <see cref="CompositeDrawable"/> which tracks the ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Screens.Ranking { /// <summary> /// A <see cref="Composit...
mit
C#
e17f8750aeff93dfcf1fe39fc926512a49435cca
Bump nuget version to 1.3.0.
FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.3.0.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("1.2.1.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
1a610d34868fa8db6b2e78f046bf71289ce9f3f1
Enable dynamically adding and removing navigation list items at runtime.
grantcolley/wpfcontrols
DevelopmentInProgress.WPFControls/NavigationPanel/NavigationList.cs
DevelopmentInProgress.WPFControls/NavigationPanel/NavigationList.cs
//----------------------------------------------------------------------- // <copyright file="NavigationList.cs" company="Development In Progress Ltd"> // Copyright © 2012. All rights reserved. // </copyright> // <author>Grant Colley</author> //----------------------------------------------------------------------...
//----------------------------------------------------------------------- // <copyright file="NavigationList.cs" company="Development In Progress Ltd"> // Copyright © 2012. All rights reserved. // </copyright> // <author>Grant Colley</author> //----------------------------------------------------------------------...
apache-2.0
C#
46354f2880415b40c04eef44b537a2b3f7ecc450
Update Zip.cs
tsubaki/UnityZip,tsubaki/UnityZip,tsubaki/UnityZip
Assets/Plugins/Zip.cs
Assets/Plugins/Zip.cs
using UnityEngine; using System.Collections; using System; using System.Runtime.InteropServices; using Ionic.Zip; using System.Text; using System.IO; public class ZipUtil { #if UNITY_IPHONE [DllImport("__Internal")] private static extern void unzip (string zipFilePath, string location); [DllImport("__Internal")] ...
using UnityEngine; using System.Collections; using System; using System.Runtime.InteropServices; using Ionic.Zip; using System.Text; using System.IO; public class ZipUtil { #if UNITY_IPHONE [DllImport("__Internal")] private static extern void unzip (string zipFilePath, string location); [DllImport("__Internal")] ...
mit
C#
c7a43cc3c45d81c6852e6a84b3dfadd76fba1598
Fix build.cake
Redth/Cake.Android.Adb
build.cake
build.cake
var sln = "./Cake.Android.Adb.sln"; var nuspec = "./Cake.Android.Adb.nuspec"; var target = Argument ("target", "libs"); var NUGET_VERSION = Argument("nugetversion", "0.9999"); var SDK_URL_BASE = "https://dl.google.com/android/repository/tools_r{0}-{1}.zip"; var SDK_VERSION = "25.2.3"; Task ("externals") .WithCrite...
var sln = "./Cake.Android.SdkManager.sln"; var nuspec = "./Cake.Android.SdkManager.nuspec"; var target = Argument ("target", "libs"); var NUGET_VERSION = Argument("nugetversion", "0.9999"); var SDK_URL_BASE = "https://dl.google.com/android/repository/tools_r{0}-{1}.zip"; var SDK_VERSION = "25.2.3"; Task ("externals...
mit
C#
654e6e3349a6bc6b0accec98147875c13ddd7c81
Bump version to 0.15
whampson/cascara,whampson/bft-spec
Src/WHampson.Cascara/Properties/AssemblyInfo.cs
Src/WHampson.Cascara/Properties/AssemblyInfo.cs
#region License /* Copyright (c) 2017 Wes Hampson * * 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, including without limitation the rights * to use, copy, modify, ...
#region License /* Copyright (c) 2017 Wes Hampson * * 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, including without limitation the rights * to use, copy, modify, ...
mit
C#
9db9caec7f1a7cb2007ca66aea3e79e8ffdd1508
Add Metafield.Type, deprecate Metafield.ValueType
nozzlegear/ShopifySharp,clement911/ShopifySharp
ShopifySharp/Entities/MetaField.cs
ShopifySharp/Entities/MetaField.cs
using Newtonsoft.Json; using System; namespace ShopifySharp { public class MetaField : ShopifyObject { /// <summary> /// The date and time when the metafield was created. /// </summary> [JsonProperty("created_at")] public DateTimeOffset? CreatedAt { get; set; } ...
using Newtonsoft.Json; using System; namespace ShopifySharp { public class MetaField : ShopifyObject { /// <summary> /// The date and time when the metafield was created. /// </summary> [JsonProperty("created_at")] public DateTimeOffset? CreatedAt { get; set; } ...
mit
C#
e8b5ecd3ee63dd4932a9ac049e967becf3ea12cc
Add constructor to CatalogAttributeDefinitionDto
ZEISS-PiWeb/PiWeb-Api
src/Api.Rest.Dtos/Data/CatalogAttributeDefinitionDto.cs
src/Api.Rest.Dtos/Data/CatalogAttributeDefinitionDto.cs
#region copyright /* * * * * * * * * * * * * * * * * * * * * * * * * */ /* Carl Zeiss IMT (IZfM Dresden) */ /* Softwaresystem PiWeb */ /* (c) Carl Zeiss 2015 */ /* * * * * * * * * * * * * * * * * * * * * * * * * */ #endregion namespa...
#region copyright /* * * * * * * * * * * * * * * * * * * * * * * * * */ /* Carl Zeiss IMT (IZfM Dresden) */ /* Softwaresystem PiWeb */ /* (c) Carl Zeiss 2015 */ /* * * * * * * * * * * * * * * * * * * * * * * * * */ #endregion namespa...
bsd-3-clause
C#
7df865ec87704855d268d1e305fdb36fa665e6bb
Fix condition
mdsol/mauth-client-dotnet
src/Medidata.MAuth.Core/HttpRequestMessageExtensions.cs
src/Medidata.MAuth.Core/HttpRequestMessageExtensions.cs
using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; namespace Medidata.MAuth.Core { internal static class HttpRequestMessageExtensions { public async static Task<byte[]> GetRequestContentAsBytesAsync(this HttpRequestMessage request) { return request....
using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; namespace Medidata.MAuth.Core { internal static class HttpRequestMessageExtensions { public async static Task<byte[]> GetRequestContentAsBytesAsync(this HttpRequestMessage request) { return request....
mit
C#
d51b29b77abf7725b36909a8a38bed215ce5b22d
bump version
Fody/Caseless
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Caseless")] [assembly: AssemblyProduct("Caseless")] [assembly: AssemblyVersion("1.7.1")] [assembly: AssemblyFileVersion("1.7.1")]
using System.Reflection; [assembly: AssemblyTitle("Caseless")] [assembly: AssemblyProduct("Caseless")] [assembly: AssemblyVersion("1.7.0")] [assembly: AssemblyFileVersion("1.7.0")]
mit
C#
b24a0a434221adc3e5a67a095a698a4955e720d7
Verify that an ApplicationConfigurationException is thrown if no configuration file exists
appharbor/appharbor-cli
src/AppHarbor.Tests/ApplicationConfigurationTest.cs
src/AppHarbor.Tests/ApplicationConfigurationTest.cs
using System.IO; using System.Text; using Moq; using Xunit; namespace AppHarbor.Tests { public class ApplicationConfigurationTest { public static string ConfigurationFile = Path.GetFullPath(".appharbor"); [Fact] public void ShouldReturnApplicationIdIfConfigurationFileExists() { var fileSystem = new Mock...
using System.IO; using System.Text; using Moq; using Xunit; namespace AppHarbor.Tests { public class ApplicationConfigurationTest { [Fact] public void ShouldReturnApplicationIdIfConfigurationFileExists() { var fileSystem = new Mock<IFileSystem>(); var applicationName = "bar"; var configurationFile =...
mit
C#
231a3cac5a8b8670bceacb7a1afb1a13327e74e1
move HancContext to new app layer
thewizster/hanc,thewizster/hanc
AspNetAPI/Data/DbInitializer.cs
AspNetAPI/Data/DbInitializer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Hanc.Common.Data; namespace Hanc.AspNetAPI.Models { public class DbInitializer { /// <summary> /// Ensures...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Hanc.AspNetAPI.Data; namespace Hanc.AspNetAPI.Models { public class DbInitializer { /// <summary> /// Ensu...
mit
C#
9865f3387f647abb61e89e5893169fea2ce189e7
Update namespace of AuthorizeAgent
zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prot...
src/Glimpse.Server.Web/Framework/IAuthorizeAgent.cs
src/Glimpse.Server.Web/Framework/IAuthorizeAgent.cs
using Microsoft.AspNet.Http; namespace Glimpse.Server.Web { public interface IAuthorizeAgent { bool AllowAgent(HttpContext context); } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Http; namespace Glimpse.Server.Web.Framework { public interface IAuthorizeAgent { bool AllowAgent(HttpContext context); } }
mit
C#
51cb32b23f4007037b11a2222009b56fdfbaf423
Exclude string from data fields
AndMu/Wikiled.Arff
src/Wikiled.Arff/Extensions/ArffDataSetExtension.cs
src/Wikiled.Arff/Extensions/ArffDataSetExtension.cs
using System; using System.Collections.Generic; using System.Linq; using Wikiled.Arff.Logic; using Wikiled.Arff.Logic.Headers; namespace Wikiled.Arff.Extensions { public static class ArffDataSetExtension { public static IEnumerable<(int? Y, double[] X)> GetData(this IArffDataSet dataSet) { ...
using System; using System.Collections.Generic; using System.Linq; using Wikiled.Arff.Logic; using Wikiled.Arff.Logic.Headers; namespace Wikiled.Arff.Extensions { public static class ArffDataSetExtension { public static IEnumerable<(int? Y, double[] X)> GetData(this IArffDataSet dataSet) { ...
mit
C#
67b19b12a65337dd92f633a68f74744bcef41b0c
Update ServiceModel class template
mlruzic/visual-studio-scaffolding
Scaffolder/Resources/Templates/Models/_ServiceModelName_.cs
Scaffolder/Resources/Templates/Models/_ServiceModelName_.cs
namespace $ModuleNamespace$.Models { using Se.Core.Models; using ShoutEm.Common.Cloning; public class $ServiceModelName$ : ModelBase<long>, IShallowCloneable<$ServiceModelName$> { $rest(TableColumns): {col | public $col.DotNetType$ $col.Name$ { get; set; \}}; separator="\n\n"$ ...
namespace $ModuleNamespace$.Models { using Se.Core.Models; using ShoutEm.Common.Cloning; public class $ServiceModelName$ : ModelBase<long>, IShallowCloneable<$ServiceModelName$> { $TableColumns: {col | public $col.DotNetType$ $col.Name$ { get; set; \}}; separator="\n\n"$ publ...
mit
C#
efd5df46a0f5b973bd91debd153c0f7936ee31a7
improve notification helper api
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Helpers/NotificationHelpers.cs
WalletWasabi.Gui/Helpers/NotificationHelpers.cs
using Avalonia.Controls.Notifications; using Splat; using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Gui.Helpers { public static class NotificationHelpers { public static INotificationManager GetNotificationManager() { return Locator.Current.GetService<INotificationMan...
using Avalonia.Controls.Notifications; using Splat; using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Gui.Helpers { public static class NotificationHelpers { public static INotificationManager GetNotificationManager() { return Locator.Current.GetService<INotificationMan...
mit
C#
354804c3fc4c72636848af330374ca3ec17be26d
Add document representation code
peterblazejewicz/m101DotNet-vNext,peterblazejewicz/m101DotNet-vNext
M101DotNet/Program.cs
M101DotNet/Program.cs
using System; using System.Threading.Tasks; using MongoDB.Driver; using MongoDB.Bson; namespace M101DotNet { public class Program { public static void Main(string[] args) { MainAsync(args).Wait(); Console.WriteLine(); Console.WriteLine("Press Enter"); ...
using System; using System.Threading.Tasks; using MongoDB.Driver; namespace M101DotNet { public class Program { public static void Main(string[] args) { MainAsync(args).Wait(); Console.WriteLine(); Console.WriteLine("Press Enter"); Console.Read...
mit
C#
8d0843b2d2cc0aeb5944ecf184600774fa598170
Make published_at nullable
plangrid/plangrid-api-net
PlanGrid.Api/Sheet.cs
PlanGrid.Api/Sheet.cs
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace PlanGrid.Api { public class Sheet { [JsonProperty("uid")] public string Uid { get; set; } [JsonProperty("name")] public string Name { get; set; } [JsonProperty("version...
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace PlanGrid.Api { public class Sheet { [JsonProperty("uid")] public string Uid { get; set; } [JsonProperty("name")] public string Name { get; set; } [JsonProperty("version...
mit
C#
a7dcabfb282c3ba51d1994c70e9e20985fb5288f
Update version
DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Resources; // WARNING this file is shared accross multiple projects [assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")] [assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2017")] [assembly: AssemblyCompany("CodePlex Foundation")] [assembly: AssemblyVersi...
using System.Reflection; using System.Resources; // WARNING this file is shared accross multiple projects [assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")] [assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2017")] [assembly: AssemblyCompany("CodePlex Foundation")] [assembly: AssemblyVersi...
bsd-3-clause
C#
9f6f0ae289660c8f3658237114b6de1efb5206d3
Refactor and improve the if-statement.
BerniceChua/Unity-Procedural-Cave-Generation-Tutorial
Assets/_Scripts/Detect2DOr3D.cs
Assets/_Scripts/Detect2DOr3D.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [System.Serializable] public class ToggleEvent : UnityEvent<bool> { } public class Detect2DOr3D : MonoBehaviour { public GameObject m_caveMesh; public GameObject m_mainCamera; public GameObject m_fpsC...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [System.Serializable] public class ToggleEvent : UnityEvent<bool> { } public class Detect2DOr3D : MonoBehaviour { public GameObject m_caveMesh; public GameObject m_mainCamera; public GameObject m_fpsC...
mit
C#
a44ca61e831ef63d176d4b0fc85c7dba22fd9947
remove base class from fields
Axosoft/AxosoftAPI.NET
AxosoftAPI.NET/Models/Fields.cs
AxosoftAPI.NET/Models/Fields.cs
using System; using Newtonsoft.Json; namespace AxosoftAPI.NET.Models { public class Fields { [JsonProperty("field")] public string Field { get; set; } [JsonProperty("type")] public string Type { get; set; } [JsonProperty("label")] public string Label { get; set; } [JsonProperty("info")] public st...
using System; using Newtonsoft.Json; namespace AxosoftAPI.NET.Models { public class Fields : BaseModel { [JsonProperty("field")] public string Field { get; set; } [JsonProperty("type")] public string Type { get; set; } [JsonProperty("label")] public string Label { get; set; } [JsonProperty("info")]...
mit
C#
211232fabf9a94cdd41bc33cdd2624fcf5231d58
Update Program.cs
ThomasKV/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { // This remark was inserted using GitHub // Another remark inserted using GitHub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { // This remark was inserted using GitHub // Another remark inserted using GitHub...
mit
C#
6c82bce8cd9a1c58e518be8c90d04aff97965030
fix null set
titanium007/Windows-User-Action-Hook,titanium007/EventHook,justcoding121/Windows-User-Action-Hook
EventHook/Helpers/AsyncQueue.cs
EventHook/Helpers/AsyncQueue.cs
using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace EventHook.Helpers { /// <summary> /// A concurrent queue facilitating async dequeue with minimal locking /// Assumes single/multi-threaded producer and a single-threaded consumer /// </summary> ///...
using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace EventHook.Helpers { /// <summary> /// A concurrent queue facilitating async dequeue with minimal locking /// Assumes single/multi-threaded producer and a single-threaded consumer /// </summary> ///...
mit
C#
e67fc8f8f3ae4e185402cc39157abf292afb39f7
Print to BattleNet log
Goz3rr/UnityHook,synap5e/UnityHook
HookRegistry/BackendSwitcher.cs
HookRegistry/BackendSwitcher.cs
using System; using System.Reflection; namespace Hooks { [RuntimeHookAttribute] public class BackendSwitcher { public BackendSwitcher() { HookRegistry.Register (OnCall); } object OnCall(string typeName, string methodName, object thisObj, params object[] args) { if (typeName != "BattleNet" || methodN...
using System; using System.Reflection; namespace Hooks { [RuntimeHookAttribute] public class BackendSwitcher { public BackendSwitcher() { HookRegistry.Register (OnCall); } object OnCall(string typeName, string methodName, object thisObj, params object[] args) { if (typeName != "BattleNet" || methodN...
mit
C#
1f7def97df318bcb3f4cfe8487b0c4227878cdee
Fix typo
gmich/Results
Gmich.Results.Tests/ResultTests.cs
Gmich.Results.Tests/ResultTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Gmich.Results.Tests { [TestClass] public class ResultTests { private Result SuccessfulResult => Result.Ok(); private Result FailedResult => Result.FailWith(State.Error, "Failed Result"); [TestMethod] ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Gmich.Results.Tests { [TestClass] public class ResultTests { private Result SuccessfulResult => Result.Ok(); private Result FailedResult => Result.FailWith(State.Error, "Failed Result"); [TestMethod] ...
mit
C#
8bf207eb545a4b6ca29c955c2e9d6e50a99addff
Test IsNearExpiracy while converted ToLocalTime
createitpt/Create.CSP.GitHub.Reporting,createitpt/Create.CSP.GitHub.Reporting,createitpt/Create.CSP.GitHub.Reporting
Job/Entities/AuthorizationToken.cs
Job/Entities/AuthorizationToken.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Create.CSP.GitHub.Reporting.Entities { public class AuthorizationToken { /// <summary> /// Captures when the token expires /// </summary> public DateTim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Create.CSP.GitHub.Reporting.Entities { public class AuthorizationToken { /// <summary> /// Captures when the token expires /// </summary> public DateTim...
mit
C#
e11fc783b6f12666f6a05689f7975071def336d5
Update SpaceHolder.cs
NikIvRu/NectarineProject
Mall/SpaceHolder/SpaceHolder.cs
Mall/SpaceHolder/SpaceHolder.cs
namespace Mall.Staff { using System; using System.Collections.Generic; public class SpaceHolder { //Fields private decimal bankBalance; private string owner; private string companyName; //Constructors public SpaceHolder(string companyName, string own...
namespace Mall.Staff { using System; public class SpaceHolder { //Fields //Constructors //Enums //Interfaces //Properties //Methods } }
mit
C#
10be4fc4b02194024f0b21b901b20a2fed149f16
Update RuleUpdater.cs
win120a/ACClassRoomUtil,win120a/ACClassRoomUtil
ProcessBlockUtil/RuleUpdater.cs
ProcessBlockUtil/RuleUpdater.cs
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) 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 applicable law ...
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) 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 applicable law ...
apache-2.0
C#
135854049ac037d9d16bd23cbf2946058ef02c6e
Update RuleUpdater.cs
win120a/ACClassRoomUtil,win120a/ACClassRoomUtil
ProcessBlockUtil/RuleUpdater.cs
ProcessBlockUtil/RuleUpdater.cs
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) 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 applicable law ...
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) 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 applicable law ...
apache-2.0
C#
33994eb032fae9c630ff07ac03d2d40f57b726d6
Fix for not using the Instance commandline argument. If the argument is specified then this will be used before the command is dispatched.
Particular/Topshelf,Particular/Topshelf,Particular/Topshelf,Particular/Topshelf
src/Topshelf/TopshelfDispatcher.cs
src/Topshelf/TopshelfDispatcher.cs
// Copyright 2007-2010 The Apache Software Foundation. // // 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 req...
// Copyright 2007-2010 The Apache Software Foundation. // // 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 req...
apache-2.0
C#
fd0e4c5bb74fd9b3fec1ddd95ec276d91d34b2a4
remove unneeded method.
bordoley/RxApp
RxApp.Android/AndroidInterfaces.cs
RxApp.Android/AndroidInterfaces.cs
using Android.App; using Android.Content; using Android.Views; namespace RxApp.Android { public interface IAndroidApplication { Context ApplicationContext { get; } void OnCreate(); void OnTerminate(); } public interface IActivity { Application Application { ge...
using Android.App; using Android.Content; using Android.Views; namespace RxApp.Android { public interface IAndroidApplication { Context ApplicationContext { get; } void OnCreate(); void OnTerminate(); } public interface IActivity { Application Application { ge...
apache-2.0
C#
43b1ac3c08de8acb0cedac8eaf06bba1a613d3cf
set enum key for CustomFieldType
rolembergfilho/Serenity,TukekeSoft/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,linpiero/Serenity,TukekeSoft/Serenity,dfaruque/Serenity,linpiero/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,linpiero/Serenity,WasimAhmad/Ser...
Serenity.Data.Entity/CustomFields/CustomFieldType.cs
Serenity.Data.Entity/CustomFields/CustomFieldType.cs
using Serenity.ComponentModel; using System.ComponentModel; namespace Serenity.Data { [EnumKey("CustomFieldType")] public enum CustomFieldType { [Description("Metin (String)")] String = 1, [Description("Tamsayı (Int32)")] Int32 = 2, [Description("Tamsayı...
using System.ComponentModel; namespace Serenity.Data { public enum CustomFieldType { [Description("Metin (String)")] String = 1, [Description("Tamsayı (Int32)")] Int32 = 2, [Description("Tamsayı (Int64)")] Int64 = 3, [Description("Ondalıklı S...
mit
C#
81d8a6a8948c6879d8225334f3a3c12d320cd5e6
Remove unneeded test case,
adamchester/AutoFixture,hackle/AutoFixture,adamchester/AutoFixture,AutoFixture/AutoFixture,hackle/AutoFixture,zvirja/AutoFixture,dcastro/AutoFixture,sbrockway/AutoFixture,sergeyshushlyapin/AutoFixture,sbrockway/AutoFixture,Pvlerick/AutoFixture,sean-gilliam/AutoFixture,sergeyshushlyapin/AutoFixture,dcastro/AutoFixture
Src/AutoFixtureUnitTest/Utf8EncodingGeneratorTest.cs
Src/AutoFixtureUnitTest/Utf8EncodingGeneratorTest.cs
using Ploeh.AutoFixture; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixtureUnitTest.Kernel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace Ploeh.AutoFixtureUnitTest { public class Utf8EncodingGeneratorTest { [Fact] public void ...
using Ploeh.AutoFixture; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixtureUnitTest.Kernel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace Ploeh.AutoFixtureUnitTest { public class Utf8EncodingGeneratorTest { [Fact] public void ...
mit
C#
8eb03beb80cf3859a52d763fcb6a486ae46cfd87
Fix whitespace linting issue.
RehanSaeed/Schema.NET
Source/Schema.NET/Thing.Partial.cs
Source/Schema.NET/Thing.Partial.cs
namespace Schema.NET { using System.Collections.Generic; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; public partial class Thing : JsonLdObject { private const string ContextPropertyJson = "\"@context\":\"http://schema.org\","; /// <summary> ...
namespace Schema.NET { using System.Collections.Generic; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; public partial class Thing : JsonLdObject { private const string ContextPropertyJson = "\"@context\":\"http://schema.org\","; /// <summa...
mit
C#
408defff7d685494271bd1dfae87fe7b86792aed
Add shared project for models for client-server communication.
robinsedlaczek/ModelR
WaveDev.ModelR.Server/ModelRHub.cs
WaveDev.ModelR.Server/ModelRHub.cs
using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using System.Collections.Generic; using System; using System.Globalization; using WaveDev.ModelR.Shared.Models; namespace WaveDev.ModelR.Server { public class ModelRHub : Hub { #region Private Fields private IList<SceneInfoModel> _...
using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using System.Collections.Generic; using WaveDev.ModelR.Models; using System; using System.Globalization; namespace WaveDev.ModelR.Server { public class ModelRHub : Hub { #region Private Fields private IList<SceneInfoModel> _scenes;...
mit
C#
2cda4ebd4a8522883cbdfb5856d1d4f49a6130ec
Increment assembly version
gibachan/XmlDict
XmlDict/Properties/AssemblyInfo.cs
XmlDict/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("Xm...
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("Xm...
mit
C#
331502558707bdb13c10e864c5f90e96633396e3
Clear out UnixFD
tmds/Tmds.DBus
src/Tmds.DBus/UnixFd.cs
src/Tmds.DBus/UnixFd.cs
// Copyright 2016 Tom Deseyn <tom.deseyn@gmail.com> // This software is made available under the MIT License // See COPYING for details namespace Tmds.DBus { // This is a placeholder type for DBus UNIX_FD ('h') type. // The UNIX_FD type is not supported by Tmds.DBus. public struct UnixFd {} }
// Copyright 2016 Tom Deseyn <tom.deseyn@gmail.com> // This software is made available under the MIT License // See COPYING for details namespace Tmds.DBus { public struct UnixFd { public UnixFd(uint value) { Value = value; } public uint Value { get; set; } } }
mit
C#
cad47368acf5d254629b96ec89e4b21fc85bd236
Bump to 1.5
JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm,i3at/ArchiSteamFarm,KlappPc/ArchiSteamFarm,KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,JustArchi/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,i3at/ArchiSteamFarm
ArchiSteamFarm/Properties/AssemblyInfo.cs
ArchiSteamFarm/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("Ar...
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("Ar...
apache-2.0
C#
2550541d311c418bc3a635ccf1c223d29f21809c
Make vision and locomotion required on humanoids
mysticfall/Alensia
Assets/Alensia/Core/Character/Humanoid.cs
Assets/Alensia/Core/Character/Humanoid.cs
using Alensia.Core.Locomotion; using Alensia.Core.Sensor; using UnityEngine; using UnityEngine.Assertions; using Zenject; namespace Alensia.Core.Character { public class Humanoid : Character<IBinocularVision, ILeggedLocomotion>, IHumanoid { public override Transform Head { get; } public overr...
using Alensia.Core.Locomotion; using Alensia.Core.Sensor; using UnityEngine; using UnityEngine.Assertions; using Zenject; namespace Alensia.Core.Character { public class Humanoid : Character<IBinocularVision, ILeggedLocomotion>, IHumanoid { public override Transform Head { get; } public overr...
apache-2.0
C#
8361d40397fbc65e36e0163b47098391b514eea1
Update version for package publish.
digibaraka/BotBuilder,yakumo/BotBuilder,jockorob/BotBuilder,jockorob/BotBuilder,Clairety/ConnectMe,msft-shahins/BotBuilder,jockorob/BotBuilder,Clairety/ConnectMe,stevengum97/BotBuilder,Clairety/ConnectMe,mmatkow/BotBuilder,navaei/BotBuilder,navaei/BotBuilder,xiangyan99/BotBuilder,mmatkow/BotBuilder,dr-em/BotBuilder,mma...
CSharp/Library/Properties/AssemblyInfo.cs
CSharp/Library/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...
mit
C#
458adf8cdbf5c9ec1e2edef916b05ca769a10f86
Bump version to 1.1.0
kidaa/DissDlcToolkit,adriangl/DissDlcToolkit
DissDlcToolkit/Properties/AssemblyInfo.cs
DissDlcToolkit/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos atributos para modificar la información // asociada con un ensamblado. [assembly: AssemblyTitle(...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos atributos para modificar la información // asociada con un ensamblado. [assembly: AssemblyTitle(...
apache-2.0
C#
e9ebc5b389930ab851bf573ee3e7aa7044a0ddcf
Handle Tcl errors
undees/irule,undees/irule
lib/irule.cs
lib/irule.cs
// The code is new, but the idea is from http://wiki.tcl.tk/9563 using System; using System.Runtime.InteropServices; namespace Irule { public class TclInterp : IDisposable { [DllImport("tcl8.4")] protected static extern IntPtr Tcl_CreateInterp(); [DllImport("tcl8.4")] protecte...
// The code is new, but the idea is from http://wiki.tcl.tk/9563 using System; using System.Runtime.InteropServices; namespace Irule { public class TclInterp : IDisposable { [DllImport("tcl8.4")] protected static extern IntPtr Tcl_CreateInterp(); [DllImport("tcl8.4")] protecte...
mit
C#
f2138905be445b06c06f335ac1c145ea120a76d5
Add code task
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon/Components/EpsilonUrlHelper.cs
R7.Epsilon/Components/EpsilonUrlHelper.cs
// // EpsilonUrlHelper.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Found...
// // EpsilonUrlHelper.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Found...
agpl-3.0
C#
e1d206a05b1ee74688bfe8d4ec1dc78add4d7b97
Use one based numbering for Material label
unlimitedbacon/MatterControl,tellingmachine/MatterControl,MatterHackers/MatterControl,larsbrubaker/MatterControl,rytz/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,MatterHackers/MatterControl,MatterHackers/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterCont...
SlicerConfiguration/SettingsControlBar.cs
SlicerConfiguration/SettingsControlBar.cs
/* Copyright (c) 2014, Kevin Pope All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* Copyright (c) 2014, Kevin Pope All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
bsd-2-clause
C#
fa8559dee7ff915b2caf3b1b7ced788cb18b4a8f
Change foreign key annotation.
dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs,dimitardanailov/TwitterBackupBackendAndAngularjs
TwitterWebApplicationEntities/Follower.cs
TwitterWebApplicationEntities/Follower.cs
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace TwitterWebApplicationEntities { public class Follower : BaseModel { [Key] public int FollowerID { get; set; } // Foreign Key [Required] [MaxLength(128, ErrorMessa...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace TwitterWebApplicationEntities { public class Follower : BaseModel { [Key] public int FollowerID { get; set; } // Foreign Key [Required] [MaxLength(128, ErrorMessa...
mit
C#
29b4c750a0cd0d49f827380fd0256c9b83177b1c
set version to 0.1
dimaaan/pgEdit
PgEdit/Properties/AssemblyInfo.cs
PgEdit/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("Pg...
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("Pg...
mit
C#
f84b3369693ff9231ed48431b78d0f657ca9a81c
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
autofac/Autofac.Web
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
mit
C#
16fcf5d41a1353dcca8c2c74fd5f41ebcf350b8e
work on admin screens
Jetski5822/NGM.Forum
Views/Parts.Threads.Post.ListAdmin.cshtml
Views/Parts.Threads.Post.ListAdmin.cshtml
@using Orchard.Core.Contents.ViewModels; @using Orchard.Utility.Extensions; @if (Model.ContentItems.Items.Count > 0) { using (Html.BeginFormAntiForgeryPost(Url.Action("List", "Admin", new { area = "Contents", id = "" }))) { <fieldset class="bulk-actions"> <label for="publishActions">@T("Ac...
@using Orchard.Core.Contents.ViewModels; @using Orchard.Utility.Extensions; @if (Model.ContentItems.Items.Count > 0) { <fieldset class="contentItems bulk-items"> @Display(Model.ContentItems) </fieldset> } else { <div class="info message">@T("There are no posts for this thread.")</div> }
bsd-3-clause
C#
efa2c1082d42831cfbd93958faba51eb37b1e09b
optimize assembly qualified name handling
rogeralsing/Wire,Horusiath/Hyperion,cpx/Wire,rogeralsing/Wire,akkadotnet/Hyperion,AsynkronIT/Wire,akkadotnet/Hyperion,Horusiath/Hyperion
Wire/ValueSerializers/ObjectSerializer.cs
Wire/ValueSerializers/ObjectSerializer.cs
using System; using System.Collections.Concurrent; using System.IO; using System.Text; namespace Wire.ValueSerializers { public class ObjectSerializer : ValueSerializer { public Type Type { get; } public Action<Stream, object, SerializerSession> Writer { get; } public Func<Stream, Seri...
using System; using System.Collections.Concurrent; using System.IO; using System.Text; namespace Wire.ValueSerializers { public class ObjectSerializer : ValueSerializer { private static readonly ConcurrentDictionary<Type, byte[]> AssemblyQualifiedNames = new ConcurrentDictionary<Type, byte[...
apache-2.0
C#
8b6e4693a0a007b0b38a7a93f034e86c1445cfd8
Add toggle play by keyboard input
setchi/NotesEditor,setchi/NoteEditor
Assets/Scripts/UI/TogglePlayPresenter.cs
Assets/Scripts/UI/TogglePlayPresenter.cs
using UniRx; using UniRx.Triggers; using UnityEngine; using UnityEngine.UI; public class TogglePlayPresenter : MonoBehaviour { [SerializeField] Button togglePlayButton; [SerializeField] Sprite iconPlay; [SerializeField] Sprite iconPause; NotesEditorModel model; void Awake() { ...
using UniRx; using UnityEngine; using UnityEngine.UI; public class TogglePlayPresenter : MonoBehaviour { [SerializeField] Button togglePlayButton; [SerializeField] Sprite iconPlay; [SerializeField] Sprite iconPause; NotesEditorModel model; void Awake() { model = NotesEdit...
mit
C#
8eb7717ac80f8bcff3a2a6a87cd38584dccdca0e
Remove unsafe block
rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary
CSGL.Vulkan/Vulkan/ImageView.cs
CSGL.Vulkan/Vulkan/ImageView.cs
using System; namespace CSGL.Vulkan { public class ImageViewCreateInfo { public Image image; public VkImageViewType viewType; public VkFormat format; public VkComponentMapping components; public VkImageSubresourceRange subresourceRange; public ImageViewCreateInfo(I...
using System; namespace CSGL.Vulkan { public class ImageViewCreateInfo { public Image image; public VkImageViewType viewType; public VkFormat format; public VkComponentMapping components; public VkImageSubresourceRange subresourceRange; public ImageViewCreateInfo(I...
mit
C#
a32874236778eedd2c0556aad1d0cd0529900828
Implement Dispose pattern
vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary
CSGL.Vulkan/Vulkan/Semaphore.cs
CSGL.Vulkan/Vulkan/Semaphore.cs
using System; namespace CSGL.Vulkan { public class Semaphore : IDisposable, INative<VkSemaphore> { VkSemaphore semaphore; bool disposed = false; public Device Device { get; private set; } public VkSemaphore Native { get { return semaphore; ...
using System; namespace CSGL.Vulkan { public class Semaphore : IDisposable, INative<VkSemaphore> { VkSemaphore semaphore; bool disposed = false; public Device Device { get; private set; } public VkSemaphore Native { get { return semaphore; ...
mit
C#
a49ba744aa1a02d4e4987cecdbade7c12f8f7e9b
Reduce Revision check calls via interface
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Http.Features/FeatureReferences.cs
src/Microsoft.AspNetCore.Http.Features/FeatureReferences.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Http.Features { public struct FeatureReferences<TCache> { public FeatureReferences(IFeatur...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Http.Features { public struct FeatureReferences<TCache> { public FeatureReferences(IFeatur...
apache-2.0
C#
fa59b894677ad8a733c4fe5da7c9e2e413b65789
Include 'error#context' as the context in the MVC test
TheNeatCompany/RollbarSharp,mteinum/RollbarSharp2,TheNeatCompany/RollbarSharp,jmblab/RollbarSharp,mroach/RollbarSharp,mteinum/RollbarSharp2
src/RollbarSharp.Mvc4Test/App_Start/FilterConfig.cs
src/RollbarSharp.Mvc4Test/App_Start/FilterConfig.cs
using System.IO; using System.Web.Mvc; namespace RollbarSharp.Mvc4Test { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new RollbarExceptionFilter()); filters.Add(new HandleErrorAttribute()); ...
using System.IO; using System.Web.Mvc; namespace RollbarSharp.Mvc4Test { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new RollbarExceptionFilter()); filters.Add(new HandleErrorAttribute()); ...
apache-2.0
C#
1a83df7d6dbbc6e390c81b4fb0d0655f2d9e11d2
Remove obsolete TS method
mavasani/roslyn,mavasani/roslyn,dotnet/roslyn,dotnet/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn
src/VisualStudio/Core/Def/ProjectSystem/DocumentProvider.cs
src/VisualStudio/Core/Def/ProjectSystem/DocumentProvider.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. #nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
mit
C#
ef82cc68d8179cbcf4f30223cf12464b2ac179eb
fix selezione preaccoppiato
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Models/Classi/Composizione/PreAccoppiato.cs
src/backend/SO115App.Models/Classi/Composizione/PreAccoppiato.cs
//----------------------------------------------------------------------- // <copyright file="PreAccoppiati.cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licens...
//----------------------------------------------------------------------- // <copyright file="PreAccoppiati.cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public Licens...
agpl-3.0
C#
a51bc056dba89f72361522cc1aa608838ddec1e1
Fix incorrect [AssemblyTitle]
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
2015/day-04/AdventOfCode.Day4/Properties/AssemblyInfo.cs
2015/day-04/AdventOfCode.Day4/Properties/AssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="https://github.com/martincostello/adventofcode"> // Martin Costello (c) 2015 // </copyright> // <license> // See license.txt in the project root for ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="https://github.com/martincostello/adventofcode"> // Martin Costello (c) 2015 // </copyright> // <license> // See license.txt in the project root for ...
apache-2.0
C#
b1d6a340c75daae2595b8692f4030d247cca0c1e
Fix import order
MHeasell/Mappy,MHeasell/Mappy
Mappy/IO/FeatureRenderLoader.cs
Mappy/IO/FeatureRenderLoader.cs
namespace Mappy.IO { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Mappy.Data; using Mappy.Util; using TAUtil._3do; using TAUtil.Hpi; public class FeatureRenderLoader : AbstractHpiLoader<KeyValuePair<string, Offset...
namespace Mappy.IO { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Mappy.Data; using Mappy.Util; using TAUtil.Hpi; using TAUtil._3do; public class FeatureRenderLoader : AbstractHpiLoader<KeyValuePair<string, Offset...
mit
C#
1f92334c683e31eee9ab76a2ef6ebb500c858417
add AsString extension
RobinHerbots/NCDO,RobinHerbots/NCDO
src/NCDO/Extensions/JsonValueExtensions.cs
src/NCDO/Extensions/JsonValueExtensions.cs
using System.Json; namespace NCDO.Extensions { public static class JsonValueExtensions { public static string AsString(this JsonValue jsonValue) { return jsonValue is JsonPrimitive jsonPrimitiveValue && jsonPrimitiveValue.JsonType == JsonType.String ? (string) jsonVa...
using System.Json; namespace NCDO.Extensions { public static class JsonValueExtensions { public static JsonValue Get(this JsonValue jsonValue, string key) { return jsonValue.ContainsKey(key) ? jsonValue[key] : new JsonPrimitive((string)null); } internal static void ...
mit
C#
c945265b332b86b9864553edc8e8fb292e22b768
Fix invalid tree state in case node is removed and inserted again in the different sub-tree
k-t/SharpHaven
MonoHaven.Lib/Utils/TreeNode.cs
MonoHaven.Lib/Utils/TreeNode.cs
using System.Collections.Generic; using System.Linq; namespace MonoHaven.Utils { public class TreeNode<T> where T : TreeNode<T> { private T parent; private T prev; private T next; private T firstChild; private T lastChild; public T Parent { get { return parent; } } public T Next { get { ...
using System.Collections.Generic; using System.Linq; namespace MonoHaven.Utils { public class TreeNode<T> where T : TreeNode<T> { private T parent; private T prev; private T next; private T firstChild; private T lastChild; public T Parent { get { return parent; } } public T Next { get { ...
mit
C#
3cc156b0b9cbf85c0d6c956b556dd352f4604f58
Remove unused `Unavailable` connection state
pusher-community/pusher-websocket-dotnet
PusherClient/ConnectionState.cs
PusherClient/ConnectionState.cs
namespace PusherClient { public enum ConnectionState { Initialized, Connecting, Connected, Disconnected, WaitingToReconnect } }
namespace PusherClient { public enum ConnectionState { Initialized, Connecting, Connected, Unavailable, Disconnected, WaitingToReconnect } }
mit
C#
fc2d2d18a69ebdf31215da00849a82fea1f383fd
Fix Mac build.
l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto
Source/Eto.Platform.Mac/Forms/Actions/MacButtonAction.cs
Source/Eto.Platform.Mac/Forms/Actions/MacButtonAction.cs
using System; using Eto.Forms; using MonoMac.AppKit; using MonoMac.ObjCRuntime; namespace Eto.Platform.Mac.Forms.Actions { public class MacButtonAction : ButtonAction { public Selector Selector { get; set; } public MacButtonAction(string id, string text, string selector) : base(id, text) { this.Select...
using System; using Eto.Forms; using MonoMac.AppKit; using MonoMac.ObjCRuntime; namespace Eto.Platform.Mac.Forms.Actions { public class MacButtonAction : ButtonAction { public Selector Selector { get; set; } public MacButtonAction(string id, string text, string selector) : base(id, text) { this.Select...
bsd-3-clause
C#
9fcd75b15c371906972393b6540e4384acb28483
Update BigAppliances.cs
jkanchelov/Telerik-OOP-Team-StarFruit
TeamworkStarFruit/CatalogueLib/Products/BigAppliances.cs
TeamworkStarFruit/CatalogueLib/Products/BigAppliances.cs
namespace CatalogueLib { using System.Text; using CatalogueLib.Products.Enumerations; public abstract class BigAppliances : Product { public BigAppliances() { } public BigAppliances(int ID, decimal price, bool isAvailable, Brand brand, string Color, string CountryOfOr...
namespace CatalogueLib { using CatalogueLib.Products.Enumerations; public abstract class BigAppliances : Product { public BigAppliances() { } public BigAppliances(int ID, decimal price, bool isAvailable, Brand brand, string Color, string CountryOfOrigin) : bas...
mit
C#
39ca3ee965e85a280499aae16368fa16da568513
add xml comment to javascripttext property
ObjectivityLtd/Test.Automation,ObjectivityBSS/Test.Automation
Objectivity.Test.Automation.Common/WebElements/JavaScriptAlert.cs
Objectivity.Test.Automation.Common/WebElements/JavaScriptAlert.cs
/* The MIT License (MIT) Copyright (c) 2015 Objectivity Bespoke Software Specialists 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, including without limitation the ...
/* The MIT License (MIT) Copyright (c) 2015 Objectivity Bespoke Software Specialists 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, including without limitation the ...
mit
C#
22e4c4e2de308ce60c0e73014efb7e5fc0279ea2
add Register.RegisterDomainCache()
jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK
src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/Register.cs
src/Senparc.Weixin.Cache/Senparc.Weixin.Cache.Memcached/Register.cs
#if NETCOREAPP2_0 || NETCOREAPP2_1 using Microsoft.AspNetCore.Builder; #endif namespace Senparc.Weixin.Cache.Memcached { public static class Register { #if NETCOREAPP2_0 || NETCOREAPP2_1 /// <summary> /// 注册 Senparc.Weixin.Cache.Memcached /// </summary> /// <param name="app"></par...
#if !NET45 using Microsoft.AspNetCore.Builder; namespace Senparc.Weixin.Cache.Memcached { public static class Register { /// <summary> /// 注册 Senparc.Weixin.Cache.Memcached /// </summary> /// <param name="app"></param> public static IApplicationBuilder UseSenparcWeixinC...
apache-2.0
C#
1f449a88888080a196d6a575007d523f810ee64c
Stop showing acres of script when the template doesn't compile
awhewell/sql-script-generator
SqlScriptGenerator/Generator.cs
SqlScriptGenerator/Generator.cs
// Copyright © 2017 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, this l...
// Copyright © 2017 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, this l...
bsd-3-clause
C#
9aa9edde0ac11c4250a60b7aaedd07a794332e8f
fix for test finishing early sometimes and failing
Pondidum/Ledger,Pondidum/Ledger
Ledger.Tests/Stores/ProjectionStoreDecoratorTests.cs
Ledger.Tests/Stores/ProjectionStoreDecoratorTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Ledger.Acceptance.TestDomain; using Ledger.Acceptance.TestDomain.Events; using Ledger.Stores; using Shouldly; using Xunit; namespace Ledger.Tests.Stores { public class ProjectionStoreDecoratorTests { [Fact] public v...
using System; using System.Collections.Generic; using System.Linq; using Ledger.Acceptance.TestDomain; using Ledger.Acceptance.TestDomain.Events; using Ledger.Stores; using Shouldly; using Xunit; namespace Ledger.Tests.Stores { public class ProjectionStoreDecoratorTests { [Fact] public void When_colleting_all_e...
lgpl-2.1
C#