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
0b6a0a9c083384cdb911544488ba71569baea374
Update GelfAmqpAppender.cs
jjchiw/gelf4net,jjchiw/gelf4net
src/Gelf4net/Appender/GelfAmqpAppender.cs
src/Gelf4net/Appender/GelfAmqpAppender.cs
using log4net.Appender; using log4net.Util; using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace gelf4net.Appender { public class GelfAmqpAppender : AppenderSkeleton { public GelfAmqpAppender() { ...
using log4net.Appender; using log4net.Util; using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace gelf4net.Appender { public class GelfAmqpAppender : AppenderSkeleton { public GelfAmqpAppender() { ...
mit
C#
3fe13b9088341f6c0ab2c1c51b6bd61fd947940e
Remove the TODO
jkotas/cli,gkhanna79/cli,blackdwarf/cli,jkotas/cli,gkhanna79/cli,gkhanna79/cli,jkotas/cli,stuartleeks/dotnet-cli,borgdylan/dotnet-cli,blackdwarf/cli,borgdylan/dotnet-cli,gkhanna79/cli,borgdylan/dotnet-cli,borgdylan/dotnet-cli,stuartleeks/dotnet-cli,stuartleeks/dotnet-cli,blackdwarf/cli,stuartleeks/dotnet-cli,blackdwarf...
src/Microsoft.DotNet.Tools.Mcg/Program.cs
src/Microsoft.DotNet.Tools.Mcg/Program.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Text; using Microsoft.DotNet.Cli.Utils; using System.CommandLine; ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Text; using Microsoft.DotNet.Cli.Utils; using System.CommandLine; ...
mit
C#
b7993a8dcc14533ffdf091b949f67521c1ac28af
Update Program.cs
venky76v/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) { // code was changed in github Console.WriteLine("Some code changed in github as ...
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) { } } }
mit
C#
0691aadcffe3d315455b0530657402b4fa6b55dc
Bump Version to 2.0 for SemVer
mstum/Simplexcel,amyvmiwei/Simplexcel,mstum/Simplexcel
src/Simplexcel/Properties/AssemblyInfo.cs
src/Simplexcel/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("Si...
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("Si...
mit
C#
6d6134e78f2813a237228e9315d3cd87daf5a807
Update comments
Minesweeper-6-Team-Project-Telerik/Minesweeper-6
src2/ConsoleMinesweeper/Program.cs
src2/ConsoleMinesweeper/Program.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Program.cs" company="Telerik Academy"> // Teamwork Project "Minesweeper-6" // </copyright> // <summary> // The entry point of the program. // </summary> // --------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Program.cs" company=""> // // </copyright> // <summary> // The program. // </summary> // -------------------------------------------------------------------------------------...
mit
C#
0dbda70841b319feb30e7e51feb94fab59f131d9
Update TestExample.cs
QuantConnect/pythonnet,AlexCatarino/pythonnet,pythonnet/pythonnet,yagweb/pythonnet,AlexCatarino/pythonnet,pythonnet/pythonnet,AlexCatarino/pythonnet,pythonnet/pythonnet,QuantConnect/pythonnet,QuantConnect/pythonnet,AlexCatarino/pythonnet,yagweb/pythonnet,yagweb/pythonnet,yagweb/pythonnet
src/embed_tests/TestExample.cs
src/embed_tests/TestExample.cs
using System; using System.Collections.Generic; using NUnit.Framework; using Python.Runtime; namespace Python.EmbeddingTest { public class TestExample { [OneTimeSetUp] public void SetUp() { PythonEngine.Initialize(); } [OneTimeTearDown] public void D...
using System; using System.Collections.Generic; using NUnit.Framework; using Python.Runtime; namespace Python.EmbeddingTest { public class TestExample { [OneTimeSetUp] public void SetUp() { PythonEngine.Initialize(); } [OneTimeTearDown] public void D...
mit
C#
5cf3c18f89f2d38d0fe07170cc055f10f2742533
Refactor obj to target in ISerializationConverter
dudzon/Glimpse,Glimpse/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,paynecrl97/Glimpse,SusanaL/Glimpse,paynecrl97/Glimpse,gabrielweyer/Glimpse,gabrielweyer/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,gabrielweyer/Glimpse,elkingtonmcb/Glimpse,flcdrg/Glimpse,SusanaL/Glimpse,SusanaL/Glimpse,elkingtonmcb/Glimpse,rho24/Glimpse,rho2...
source/Glimpse.Core/Extensibility/ISerializationConverter.cs
source/Glimpse.Core/Extensibility/ISerializationConverter.cs
using System; using System.Collections.Generic; namespace Glimpse.Core.Extensibility { /// <summary> /// Definition for a converter that will provide a custom object /// representation for the supported types. /// </summary> public interface ISerializationConverter { /// <summary> ...
using System; using System.Collections.Generic; namespace Glimpse.Core.Extensibility { /// <summary> /// Definition for a converter that will provide a custom object /// representation for the supported types. /// </summary> public interface ISerializationConverter { /// <summary> ...
apache-2.0
C#
7f902496f8fd6a93ff7d66cfdf006edfd70d187e
Work around broken mime-type detection.
nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,NguyenMatthieu/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,Sanva/f-spot,dkoeb/f-spot,dkoeb/f-spot,mono/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,Yetangitu/f-spot,GNOME/f-spot,mono/f-spot,mono/f-...
src/Utils/Metadata.cs
src/Utils/Metadata.cs
using Hyena; using TagLib; using System; using GLib; namespace FSpot.Utils { public static class Metadata { public static TagLib.Image.File Parse (SafeUri uri) { // Detect mime-type var gfile = FileFactory.NewForUri (uri); var info = gfile.QueryInfo ("standar...
using Hyena; using TagLib; using System; using GLib; namespace FSpot.Utils { public static class Metadata { public static TagLib.Image.File Parse (SafeUri uri) { // Detect mime-type var gfile = FileFactory.NewForUri (uri); var info = gfile.QueryInfo ("standar...
mit
C#
470242cbb600a4975b8e8fe578229618fe81181c
update PackageResolver abstract class
tsolarin/dotnet-globals,tsolarin/dotnet-globals
src/DotNet.Executor.Core/PackageResolvers/PackageResolver.cs
src/DotNet.Executor.Core/PackageResolvers/PackageResolver.cs
namespace DotNet.Executor.Core.PackageResolvers { using System; using System.IO; abstract class PackageResolver { protected DirectoryInfo PackagesFolder { get; set; } protected DirectoryInfo PackageFolder { get; set; } protected string Source { get; set; } abstract prot...
namespace DotNet.Executor.Core.PackageResolvers { using System.IO; abstract class PackageResolver { protected DirectoryInfo PackagesFolder { get; set; } protected string Source { get; set; } abstract protected Package Resolve(); protected PackageResolver(DirectoryInfo pack...
mit
C#
d0cabaddfa6d0188fd34e85a2bfc194cc6f0b336
Remove unnecessary cast
mysticfall/Alensia
Assets/Alensia/Core/Camera/CameraManager.cs
Assets/Alensia/Core/Camera/CameraManager.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Alensia.Core.Actor; using Alensia.Core.Common; using UnityEngine.Assertions; namespace Alensia.Core.Camera { public class CameraManager : ICameraManager { private ICameraMode _mode; ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Alensia.Core.Actor; using Alensia.Core.Common; using UnityEngine.Assertions; namespace Alensia.Core.Camera { public class CameraManager : ICameraManager { private ICameraMode _mode; ...
apache-2.0
C#
60563be691fd08d15abc3ba41c7524c12e1af48c
Revert "Constant update"
MediaBrowser/ImageMagickSharp
ImageMagickSharp/Global/Constants.cs
ImageMagickSharp/Global/Constants.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace ImageMagickSharp { internal class Constants { #region [Constants] /// <summary> The wand calling convention. </summary> internal const CallingC...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace ImageMagickSharp { internal class Constants { #region [Constants] /// <summary> The wand calling convention. </summary> internal const CallingC...
mit
C#
9fbc32ecea224cd153ef0eff91bfc1cc759e4584
Fix addatmos from griduid artifact
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/Atmos/Commands/AddAtmosCommand.cs
Content.Server/Atmos/Commands/AddAtmosCommand.cs
using Content.Server.Administration; using Content.Server.Atmos.Components; using Content.Shared.Administration; using Robust.Shared.Console; namespace Content.Server.Atmos.Commands { [AdminCommand(AdminFlags.Debug)] public sealed class AddAtmosCommand : IConsoleCommand { [Dependency] private reado...
using Content.Server.Administration; using Content.Server.Atmos.Components; using Content.Shared.Administration; using Robust.Shared.Console; namespace Content.Server.Atmos.Commands { [AdminCommand(AdminFlags.Debug)] public sealed class AddAtmosCommand : IConsoleCommand { [Dependency] private reado...
mit
C#
3a2fa69992ce67204eb14e20a746e023217b6127
Fix testGame waiting
EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.cs
osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.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 System.Threading.Tasks; using osu.Framework.Platform; namespace osu.Framework.Tests.IO { /// <summary> /// Ad headless host for tes...
// 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 System.Threading.Tasks; using osu.Framework.Platform; namespace osu.Framework.Tests.IO { /// <summary> /// Ad headless host for tes...
mit
C#
32c6a1f0b6cbef8aff27160c5182235047af8e5b
Use HTTPS for jonathanpeppers.com (#379)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/JonPeppers.cs
src/Firehose.Web/Authors/JonPeppers.cs
using System; using System.Collections.Generic; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class JonPeppers : IAmAXamarinMVP, IFilterMyBlogPosts { public string FirstName => "Jon"; public string LastName => "Peppers"; public...
using System; using System.Collections.Generic; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class JonPeppers : IAmAXamarinMVP, IFilterMyBlogPosts { public string FirstName => "Jon"; public string LastName => "Peppers"; public...
mit
C#
d9bf511808d18cff8a850d9b9c4db724385055e1
Change ip debug (problem seems to be with totallength)
neowutran/TeraDamageMeter,radasuka/ShinraMeter,Seyuna/ShinraMeter,neowutran/ShinraMeter
NetworkSniffer/Packets/IpPacket.cs
NetworkSniffer/Packets/IpPacket.cs
// Copyright (c) CodesInChaos // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace NetworkSniffer.Packets { public enum IpProtocol : byte { Tcp = 6, Udp = 17 } public struct Ip4Packet { public readon...
// Copyright (c) CodesInChaos // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace NetworkSniffer.Packets { public enum IpProtocol : byte { Tcp = 6, Udp = 17 } public struct Ip4Packet { public readon...
mit
C#
df375dc410156093ef0f92af22f3ff323add07a1
change equality to equator
yanggujun/commonsfornet,yanggujun/commonsfornet
src/Commons.Collections/Functor/Functors.cs
src/Commons.Collections/Functor/Functors.cs
// Copyright CommonsForNET. Author: Gujun Yang. email: gujun.yang@gmail.com // 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 ...
// Copyright CommonsForNET. Author: Gujun Yang. email: gujun.yang@gmail.com // 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 ...
apache-2.0
C#
5f6050593a4ae1c14d563c040b7b0199b1e50c06
Add multiple response handling for diferente score levels
iperoyg/faqtemplatebot
FaqTemplate.Bot/PlainTextMessageReceiver.cs
FaqTemplate.Bot/PlainTextMessageReceiver.cs
using System; using System.Threading; using System.Threading.Tasks; using Lime.Protocol; using Takenet.MessagingHub.Client; using Takenet.MessagingHub.Client.Listener; using Takenet.MessagingHub.Client.Sender; using System.Diagnostics; using FaqTemplate.Core.Services; using FaqTemplate.Core.Domain; namespace FaqTempla...
using System; using System.Threading; using System.Threading.Tasks; using Lime.Protocol; using Takenet.MessagingHub.Client; using Takenet.MessagingHub.Client.Listener; using Takenet.MessagingHub.Client.Sender; using System.Diagnostics; using FaqTemplate.Core.Services; using FaqTemplate.Core.Domain; namespace FaqTempla...
mit
C#
f2a02993391ff0ad3cd69d7e334f0f54920ea6ef
Test added
YossiCohen/MA-SIB,YossiCohen/MA-SIB
GridTest/UntouchedAroundTheGoalHeuristic.cs
GridTest/UntouchedAroundTheGoalHeuristic.cs
 using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Grid.Domain; namespace GridTest { [TestClass] public class UntouchedAroundTheGoalHeuristicTest { private static World _basicWorld; private static World _basicWorld2; private static World _basi...
 using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Grid.Domain; namespace GridTest { [TestClass] public class UntouchedAroundTheGoalHeuristicTest { private static World _basicWorld; private static World _basicWorld2; [ClassInitialize] ...
mit
C#
2c549a70d90b9a8d598ebd033670f2d5de522305
Fix warning.
JohanLarsson/Gu.Wpf.ToolTips
Gu.Wpf.ToolTips.UiTests/Images/TestImage.cs
Gu.Wpf.ToolTips.UiTests/Images/TestImage.cs
namespace Gu.Wpf.ToolTips.UiTests { using System.Drawing; using System.IO; using Gu.Wpf.UiAutomation; using NUnit.Framework; public static class TestImage { internal static readonly string Current = GetCurrent(); [Script] public static void Rename() { ...
namespace Gu.Wpf.ToolTips.UiTests { using System.Drawing; using System.IO; using Gu.Wpf.UiAutomation; using NUnit.Framework; public static class TestImage { internal static readonly string Current = GetCurrent(); [Script] public static void Rename() { ...
mit
C#
94f01f571b631b806b0a381a01fef8ee497c373e
Bump version to 1.0.0-alpha1
HangfireIO/Hangfire.Autofac,mattyway/Hangfire.Autofac
HangFire.Autofac/Properties/AssemblyInfo.cs
HangFire.Autofac/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("HangFire.Autofac")] [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("HangFire.Autofac")] [assembly: AssemblyDe...
mit
C#
ade46a0e4a2ea607fcbeafb8560723b7696f07d6
Make that 1.2.1...
kamsar/MicroCHAP
src/MicroCHAP.Tests/ChapServerTests.cs
src/MicroCHAP.Tests/ChapServerTests.cs
using System.Collections.Generic; using System.Threading; using FluentAssertions; using MicroCHAP.Server; using NSubstitute; using Xunit; namespace MicroCHAP.Tests { public class ChapServerTests { [Fact] public void GetChallengeToken_ShouldReturnUniqueChallenges() { var service = CreateTestServer(); va...
using System.Collections.Generic; using System.Threading; using FluentAssertions; using MicroCHAP.Server; using NSubstitute; using Xunit; namespace MicroCHAP.Tests { public class ChapServerTests { [Fact] public void GetChallengeToken_ShouldReturnUniqueChallenges() { var service = CreateTestServer(); va...
mit
C#
b9183da92a492ac2924f7b689bf14e0446d815a5
Add CreatedDate to IRCMessage
Fredi/NetIRC
src/NetIRC/Messages/IRCMessage.cs
src/NetIRC/Messages/IRCMessage.cs
using System; using System.Linq; using System.Text; namespace NetIRC.Messages { public abstract class IRCMessage { /// <summary> /// When this IRC message was created /// </summary> public DateTime CreatedDate { get; } = DateTime.Now; public override string ToString() ...
using System.Linq; using System.Text; namespace NetIRC.Messages { public abstract class IRCMessage { public override string ToString() { var clientMessage = this as IClientMessage; if (clientMessage is null) { return base.ToString(); ...
mit
C#
46d06f9d28bbd9b9af9e92c415210f5e3a59521d
Bump version
kamil-mrzyglod/Oxygenize
Oxygenize/Properties/AssemblyInfo.cs
Oxygenize/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("Ox...
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("Ox...
mit
C#
2825ac43a96df7526669d13ee553e0cf4bbc252e
Rename parameter for consistency
khellang/Scrutor
src/Scrutor/DecorationStrategy.cs
src/Scrutor/DecorationStrategy.cs
using System; using Microsoft.Extensions.DependencyInjection; namespace Scrutor; public abstract class DecorationStrategy { protected DecorationStrategy(Type serviceType) { ServiceType = serviceType; } public Type ServiceType { get; } public abstract bool CanDecorate(Type service...
using System; using Microsoft.Extensions.DependencyInjection; namespace Scrutor; public abstract class DecorationStrategy { protected DecorationStrategy(Type serviceType) { ServiceType = serviceType; } public Type ServiceType { get; } public abstract bool CanDecorate(Type service...
mit
C#
5025df896ce56d32cb3d96730191ea5128e7ccf1
Fix a bug.
Grabacr07/VirtualDesktop
source/VirtualDesktop/Interop/ComInterfaceWrapperBase.cs
source/VirtualDesktop/Interop/ComInterfaceWrapperBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace WindowsDesktop.Interop { public abstract class ComInterfaceWrapperBase { private readonly Dictionary<string, MethodInfo> _methods = new...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; namespace WindowsDesktop.Interop { public abstract class ComInterfaceWrapperBase { private readonly Dictionary<string, MethodInfo> _methods = new Dictionary<string, MethodInfo>(); ...
mit
C#
416c594fa3a7858e2a69ba1fcc66556a04837d8c
set next alpha version
xxMUROxx/MahApps.Metro,chuuddo/MahApps.Metro,Jack109/MahApps.Metro,MahApps/MahApps.Metro,Danghor/MahApps.Metro,p76984275/MahApps.Metro,psinl/MahApps.Metro,pfattisc/MahApps.Metro,batzen/MahApps.Metro,Evangelink/MahApps.Metro,jumulr/MahApps.Metro,ye4241/MahApps.Metro
MahApps.Metro/Properties/AssemblyInfo.cs
MahApps.Metro/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyCopyright("Copyright © MahApps.Metro 2011-2015")] [assembly: ComVisible(false)] [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDic...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyCopyright("Copyright © MahApps.Metro 2011-2015")] [assembly: ComVisible(false)] [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDic...
mit
C#
00bd4f4ba230bd1c4a561e9a9c40e6665b0c49ad
Fix exceptions
twilio/twilio-csharp
Twilio/Exceptions/RestException.cs
Twilio/Exceptions/RestException.cs
using System.Runtime.Serialization; using Newtonsoft.Json; namespace Twilio.Exceptions { [JsonObject(MemberSerialization.OptIn)] public class RestException : TwilioException { [JsonProperty("code")] public int Code { get; private set; } [JsonProperty("status")] public int Status { get; private...
using System; using Newtonsoft.Json; namespace Twilio.Exceptions { public class RestException : TwilioException { [JsonProperty("code")] public int Code { get; } [JsonProperty("status")] public int Status { get; } [JsonProperty("message")] public override string Message { get; } [Jso...
mit
C#
0b5f3c00bf2fdac0c6e833155a917dc56251a38e
Revert "Fix WaveOverlayContainer always being present"
ppy/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,naoey/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,ZLima12/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,DrabWeb/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu,johnneijzen/osu,smoogipoo/o...
osu.Game/Overlays/WaveOverlayContainer.cs
osu.Game/Overlays/WaveOverlayContainer.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 osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osu.Game.Graphics.Containers; namespace osu.Game.Overlays { public abstract class Wave...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osu.Game.Graphics.Containers; namespace osu.Game.Overlays { public abstract class Wave...
mit
C#
9539ce95e8a72a6ca9ef0cde6861db7f3cb709d8
fix problem with not virtual method in entity
Eskat0n/Wotstat,Eskat0n/Wotstat,Eskat0n/Wotstat
sources/Domain.Model/Entities/DynamicData.cs
sources/Domain.Model/Entities/DynamicData.cs
namespace Domain.Model.Entities { using ByndyuSoft.Infrastructure.Domain; using JetBrains.Annotations; public class DynamicData : IEntity { [UsedImplicitly] public DynamicData() { } public DynamicData(int playerId, Period period) { ...
namespace Domain.Model.Entities { using ByndyuSoft.Infrastructure.Domain; using JetBrains.Annotations; public class DynamicData : IEntity { [UsedImplicitly] public DynamicData() { } public DynamicData(int playerId, Period period) { ...
mit
C#
287bc752b52f316da3433a0dfc13b29babae1fb6
clean up the event store after the test has completed
D3-LucaPiombino/NEventStore,gael-ltd/NEventStore,adamfur/NEventStore,AGiorgetti/NEventStore,NEventStore/NEventStore,chris-evans/NEventStore,nerdamigo/NEventStore,jamiegaines/NEventStore,marcoaoteixeira/NEventStore,paritoshmmmec/NEventStore,deltatre-webplu/NEventStore
src/NEventStore.Tests/DefaultSerializationWireupTests.cs
src/NEventStore.Tests/DefaultSerializationWireupTests.cs
namespace NEventStore { using NEventStore.Persistence.AcceptanceTests; using NEventStore.Persistence.AcceptanceTests.BDD; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using Xunit.Should; public class DefaultSerializationWireupTests { public class when_...
namespace NEventStore { using NEventStore.Persistence.AcceptanceTests; using NEventStore.Persistence.AcceptanceTests.BDD; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using Xunit.Should; public class DefaultSerializationWireupTests { public class when_...
mit
C#
578efc16c53605b3338eee05bbc17b74777ac82e
fix random piece generator
vivibau/CanastaCSharpOld,vivibau/CanastaCSharpOld,vivibau/CanastaCSharpOld
Client/Canasta/PieceGenerator.cs
Client/Canasta/PieceGenerator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Canasta { class PieceGenerator { List<int> m_pieces; public PieceGenerator() { m_pieces = new List<int>(); List<int> x = new List<int>(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Canasta { class PieceGenerator { List<int> m_pieces; public PieceGenerator() { m_pieces = new List<int>(); List<int> x = new List<int>(); ...
mit
C#
f6a8d31f425bb974de250ee841874ec78170727e
Remove CompactOnMemoryPressure (dotnet/extensions#1056)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Caching/Memory/src/MemoryCacheOptions.cs
src/Caching/Memory/src/MemoryCacheOptions.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; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Options; namespace Microsoft.Extensions.Caching.Memory { public class...
// 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; using Microsoft.Extensions.Internal; using Microsoft.Extensions.Options; namespace Microsoft.Extensions.Caching.Memory { public class...
apache-2.0
C#
979a7284ce2b9983653c7aee2647ed76fbcfbdc0
Move 'Empty Website' template to Default language
projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,davideb...
SimpleWAWS/Models/WebsiteTemplate.cs
SimpleWAWS/Models/WebsiteTemplate.cs
using System; using System.Collections.Generic; using System.EnterpriseServices.Internal; using System.Linq; using System.Runtime.Serialization; using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace SimpleWAWS.Models { public class WebsiteTemplate : BaseTemplate { [JsonP...
using System; using System.Collections.Generic; using System.EnterpriseServices.Internal; using System.Linq; using System.Runtime.Serialization; using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace SimpleWAWS.Models { public class WebsiteTemplate : BaseTemplate { [JsonP...
apache-2.0
C#
1ad592547df5d84e12a8b61e3c92c829aa797343
Update CoreXamlSchemaContext.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Serializer.Xaml/CoreXamlSchemaContext.cs
src/Serializer.Xaml/CoreXamlSchemaContext.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 Portable.Xaml; using Portable.Xaml.ComponentModel; using System; using System.Collections.Generic; namespace Serializer.Xaml { internal class CoreXamlSc...
// 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 Portable.Xaml; using Portable.Xaml.ComponentModel; using System; using System.Collections.Generic; namespace Serializer.Xaml { internal class CoreXamlSc...
mit
C#
64ca14b710bbf87cfb03484e344fe8d5c4da50ec
Remove unused using
mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard
src/Okanshi.Dashboard/OkanshiServer.cs
src/Okanshi.Dashboard/OkanshiServer.cs
namespace Okanshi.Dashboard { public class OkanshiServer { public OkanshiServer() { RefreshRate = 10; } public OkanshiServer(string name, string url, long refreshRate) { Name = name; RefreshRate = refreshRate; Url = url; } public string Name { get; set; } public string Url ...
using System; namespace Okanshi.Dashboard { public class OkanshiServer { public OkanshiServer() { RefreshRate = 10; } public OkanshiServer(string name, string url, long refreshRate) { Name = name; RefreshRate = refreshRate; Url = url; } public string Name { get; set; } publi...
mit
C#
1caa7347be2974ebeaf59446ed012b286f935740
fix class summary
kreeben/resin,kreeben/resin
src/Sir.Store/ProducerConsumerQueue.cs
src/Sir.Store/ProducerConsumerQueue.cs
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace Sir.Store { /// <summary> /// Enque items and run a single consumer thread. /// </summary> /// <typeparam name="T"></typeparam> public class ProducerConsumerQueue<T> : IDisposable whe...
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace Sir.Store { /// <summary> /// Enques items and runs a single consumer thread. /// </summary> /// <typeparam name="T"></typeparam> public class ProducerConsumerQueue<T> : IDisposable w...
mit
C#
e27bd15f080242857e4c62d854628c24df235de9
Fix minor issue with unix time calculation.
TelegramBots/telegram.bot,MrRoundRobin/telegram.bot,AndyDingo/telegram.bot
src/Telegram.Bot/Helpers/Extensions.cs
src/Telegram.Bot/Helpers/Extensions.cs
using System; namespace Telegram.Bot.Helpers { /// <summary> /// Extension Methods /// </summary> public static class Extensions { private static readonly DateTime UnixStart = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); /// <summary> /// Convert a long into a Dat...
using System; namespace Telegram.Bot.Helpers { /// <summary> /// Extension Methods /// </summary> public static class Extensions { private static readonly DateTime UnixStart = new DateTime(1970, 1, 1); /// <summary> /// Convert a long into a DateTime /// </summary...
mit
C#
9ec4ed0e0c508531fdcaf03eda27c76a1334742a
Update file version to 0.8.1.0.
breezechen/DiscUtils,breezechen/DiscUtils,quamotion/discutils,drebrez/DiscUtils
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTit...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTit...
mit
C#
4634daaf336a8d741dc6712008cc803c2f91c83e
modify the description
xyting/NPOI.Extension
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NP...
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("NP...
apache-2.0
C#
d35436a03eea8911eb51a778e0748d442e8b8d4d
Make error message clearer
zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos
source/Cosmos.Build.Builder/Dependencies/ProperRepoNameDependency.cs
source/Cosmos.Build.Builder/Dependencies/ProperRepoNameDependency.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace Cosmos.Build.Builder.Dependencies { internal class ProperRepoNameDependency : IDependency { public string Name =>...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; namespace Cosmos.Build.Builder.Dependencies { internal class ProperRepoNameDependency : IDependency { public string Name =>...
bsd-3-clause
C#
79886e53561661999f34165056ecef96913609ba
Update GrantHubSiteRights.cs
kilasuit/PnP-PowerShell,OfficeDev/PnP-PowerShell
Commands/Admin/GrantHubSiteRights.cs
Commands/Admin/GrantHubSiteRights.cs
#if !ONPREMISES using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using SharePointPnP.PowerShell.CmdletHelpAttributes; using SharePointPnP.PowerShell.Commands.Base; using SharePointPnP.PowerShell.Commands.Base.PipeBinds; using System; using System.Management.Automation; namesp...
#if !ONPREMISES using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using SharePointPnP.PowerShell.CmdletHelpAttributes; using SharePointPnP.PowerShell.Commands.Base; using SharePointPnP.PowerShell.Commands.Base.PipeBinds; using System; using System.Management.Automation; namesp...
mit
C#
97e3ef7c5e3f115d5859ba170381cb736512df1e
Update HomePage.xaml.cs
thehunte199/mAppQuiz
mAppQuiz/mAppQuiz/ContentPages/HomePage.xaml.cs
mAppQuiz/mAppQuiz/ContentPages/HomePage.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace mAppQuiz { public partial class HomePage : ContentPage { public HomePage() { InitializeComponent(); } async void ViewClasses(object sender, E...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace mAppQuiz { public partial class HomePage : ContentPage { public HomePage() { InitializeComponent(); } async void ViewClasses(object sender, E...
mit
C#
cfb42037cff74a3db3dbcf80cb176003f428c7ae
Refactor request string logic to avoid linq usage
smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu
osu.Game/Online/API/Requests/GetUsersRequest.cs
osu.Game/Online/API/Requests/GetUsersRequest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; namespace osu.Game.Online.API.Requests { public class GetUsersRequest : APIRequest<GetUsersResponse> { private readonly int[] userIds; ...
// 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.Linq; namespace osu.Game.Online.API.Requests { public class GetUsersRequest : APIRequest<GetUsersResponse> { private readonly ...
mit
C#
8fdca1ec737a747efe79c3ff16dad3217762c4b2
Build fix
blebougge/Catel
src/Catel.Extensions.Controls/Catel.Extensions.Controls.Shared/ExtensionsControlsModule.cs
src/Catel.Extensions.Controls/Catel.Extensions.Controls.Shared/ExtensionsControlsModule.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExtensionsControlsModule.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Catel development team. All rights reserved. // </copyright> // ---------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExtensionsControlsModule.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Catel development team. All rights reserved. // </copyright> // ---------------------...
mit
C#
ec7cb2e7f326ac7404cfe4278d9ff32e5e886a7e
Fix #403 : Order the content types by display name.
xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,jtkech/Orchard2,lukaskabrt/Orchard2,lukaskabrt/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,jtkech/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,yiji/Orchard2,jtkech/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2...
src/Orchard.Cms.Web/Modules/Orchard.ContentTypes/ViewModels/SelectContentTypesViewModel.cs
src/Orchard.Cms.Web/Modules/Orchard.ContentTypes/ViewModels/SelectContentTypesViewModel.cs
using System.Linq; using Orchard.ContentManagement.Metadata.Models; using Orchard.ContentManagement.MetaData; namespace Orchard.ContentTypes.ViewModels { public class SelectContentTypesViewModel { public string HtmlName { get; set; } public ContentTypeSelection[] ContentTypeSelections { get; s...
using System.Linq; using Orchard.ContentManagement.Metadata.Models; using Orchard.ContentManagement.MetaData; namespace Orchard.ContentTypes.ViewModels { public class SelectContentTypesViewModel { public string HtmlName { get; set; } public ContentTypeSelection[] ContentTypeSelections { get; s...
bsd-3-clause
C#
9abd0dc16414d9bdeeec898d79bed3c4010258f3
Remove unused RoleProvider setting from authentication configuration
crowar/Bonobo-Git-Server,Ollienator/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,Acute-sales-ltd/Bonobo-Git-Server,lkho/Bonobo-Git-Server,Acute-sales-ltd/Bonobo-Git-Server,NipponSysits/IIS.Git-Connector,NipponSysits/IIS.Git-Connector,willdean/Bonobo-Git-Server,Ollienator/Bonobo-Git-Server,forgetz/Bonobo-Git-Server,br...
Bonobo.Git.Server/Configuration/AuthenticationSettings.cs
Bonobo.Git.Server/Configuration/AuthenticationSettings.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; namespace Bonobo.Git.Server.Configuration { public class AuthenticationSettings { public static string MembershipService { get; private set; } static AuthenticationSettings() ...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; namespace Bonobo.Git.Server.Configuration { public class AuthenticationSettings { public static string MembershipService { get; private set; } public static string RoleProvider { ge...
mit
C#
a27c502ebaae34ef6355942caaaaeff44fa08c01
Update tests for new url resolution behavior
Durwella/UrlShortening,Durwella/UrlShortening
Durwella.UrlShortening.Tests/WebClientUrlUnwrapperTest.cs
Durwella.UrlShortening.Tests/WebClientUrlUnwrapperTest.cs
using System.Net; using FluentAssertions; using NUnit.Framework; namespace Durwella.UrlShortening.Tests { public class WebClientUrlUnwrapperTest { [Test] public void ShouldGetResourceLocation() { var wrappedUrl = "http://goo.gl/mSkqOi"; var subject = new WebClie...
using System.Net; using FluentAssertions; using NUnit.Framework; namespace Durwella.UrlShortening.Tests { public class WebClientUrlUnwrapperTest { [Test] public void ShouldGetResourceLocation() { var wrappedUrl = "http://goo.gl/mSkqOi"; var subject = new WebClie...
mit
C#
786a45f1e81f8363bf5e8b72f499eb17a6b2fc7b
Deploy client
paralin/D2Moddin
ClientCommon/Version.cs
ClientCommon/Version.cs
namespace ClientCommon { public class Version { public const string ClientVersion = "2.6.1"; } }
namespace ClientCommon { public class Version { public const string ClientVersion = "2.6.0"; } }
apache-2.0
C#
0ca1d6d349c4406d9737548ef6e15aca883e855d
Fix two failing tests
ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge
src/LfMerge.Tests/Actions/ReceiveActionTests.cs
src/LfMerge.Tests/Actions/ReceiveActionTests.cs
// Copyright (c) 2015 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using NUnit.Framework; using LfMerge.Actions; using System.IO; namespace LfMerge.Tests.Actions { [TestFixture] public class ReceiveActionTests { private TestEnvironment _e...
// Copyright (c) 2015 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using NUnit.Framework; using LfMerge.Actions; using System.IO; namespace LfMerge.Tests.Actions { [TestFixture] public class ReceiveActionTests { private TestEnvironment _e...
mit
C#
950cb254e5a7c6aadd3ae7853c33c1e3dd1a44cd
Bump version to 1.0.1
Ky7m/Roslyn.Utilities
src/Roslyn.Utilities/Properties/AssemblyInfo.cs
src/Roslyn.Utilities/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Roslyn.Utilities")] [assembly: AssemblyProduct("Roslyn.Utilities")] [assembly: AssemblyVersion("1.0.1")] [assembly: AssemblyFileVersion("1.0.1")] [assembly: InternalsVisibleTo("Roslyn.Utilities.Tests")]
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Roslyn.Utilities")] [assembly: AssemblyProduct("Roslyn.Utilities")] [assembly: AssemblyVersion("1.0.0")] [assembly: AssemblyFileVersion("1.0.0")] [assembly: InternalsVisibleTo("Roslyn.Utilities.Tests")]
apache-2.0
C#
38e336fa9f7a3f730771a958f7ccde61a22bbedd
Use 8192u as lowestBufferSize; Remove tests for LocalMaxChunkCount and MaxMessageSize
convertersystems/opc-ua-client
UaClient.UnitTests/UnitTests/UaApplicationOptionsTests.cs
UaClient.UnitTests/UnitTests/UaApplicationOptionsTests.cs
using FluentAssertions; using System; using System.Collections.Generic; using System.Text; using Workstation.ServiceModel.Ua; using Xunit; namespace Workstation.UaClient.UnitTests { public class UaApplicationOptionsTests { [Fact] public void UaTcpTransportChannelOptionsDefaults() { ...
using FluentAssertions; using System; using System.Collections.Generic; using System.Text; using Workstation.ServiceModel.Ua; using Xunit; namespace Workstation.UaClient.UnitTests { public class UaApplicationOptionsTests { [Fact] public void UaTcpTransportChannelOptionsDefaults() { ...
mit
C#
3bb73b40d42a3800d9f26535b2c6e9dc5b419aed
fix backwards biginteger json serializer check
halforbit/data-stores
Halforbit.DataStores/FileStores/Serialization/Json/Implementation/BigIntegerJsonConverter.cs
Halforbit.DataStores/FileStores/Serialization/Json/Implementation/BigIntegerJsonConverter.cs
using Newtonsoft.Json; using System; using System.Numerics; namespace Halforbit.DataStores.FileStores.Serialization.Json.Implementation { public class BigIntegerJsonConverter : JsonConverter { public override bool CanRead => true; public override bool CanConvert(Type objectType) { ...
using Newtonsoft.Json; using System; using System.Numerics; namespace Halforbit.DataStores.FileStores.Serialization.Json.Implementation { public class BigIntegerJsonConverter : JsonConverter { public override bool CanRead => true; public override bool CanConvert(Type objectType) { ...
mit
C#
d40dc2237fbdfd2825e5f3ce0078f14782f51485
Test 3
bioepic-blake/RPG
RPG3/SkeletonWorrior.cs
RPG3/SkeletonWorrior.cs
using System; namespace RPG3 { public class SkeletonWorrior : enermy { public string weaponName { get; set; } public SkeletonWorrior(string name, string WeaponS) : base(name) { weaponName = WeaponS; } public override int _DamageSet() { _weaponDamage += 9; return _weaponDamage; } pu...
using System; namespace RPG3 { public class SkeletonWorrior : enermy { public string weaponName { get; set; } public SkeletonWorrior(string name, string WeaponS) : base(name) { weaponName = WeaponS; } public void Ignore() { } public override int _DamageSet() { _weaponDamage += 9; r...
mit
C#
d22da5f0abbb0a20d2edd2ff478d5aafe6dda2eb
enable limited opening on R14 drawings
IxMilia/BCad,IxMilia/BCad
BCad.FileHandlers/DwgFileHandler.cs
BCad.FileHandlers/DwgFileHandler.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using BCad.Collections; using BCad.Dwg; using BCad.Entities; namespace BCad.FileHandlers { [ExportFileHandler(DwgFileHandler.DisplayName, true, true, DwgFileHandler.FileExtension)] public class DwgFileHandler : IFileHandler ...
using System; using System.Collections.Generic; using System.IO; using BCad.Dwg; namespace BCad.FileHandlers { [ExportFileHandler(DwgFileHandler.DisplayName, true, true, DwgFileHandler.FileExtension)] public class DwgFileHandler : IFileHandler { public const string DisplayName = "DWG Files (" + Fi...
apache-2.0
C#
7c7d51c5ee35f53ceca67e024194b19b601dd8bf
Fix path guide utilisateur
Lan-Manager/lama,Tri125/lama
Lama/UI/Win/GuideUtilisateur.xaml.cs
Lama/UI/Win/GuideUtilisateur.xaml.cs
using MahApps.Metro.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using...
using MahApps.Metro.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using...
mit
C#
2c030b3166c32b718ca23da35e1d16b027e1f54f
fix null entry assembly usage in integration test
yonglehou/NsqSharp,judwhite/NsqSharp
NsqSharp/Bus/Utils/WindowsService.cs
NsqSharp/Bus/Utils/WindowsService.cs
using System; using System.Diagnostics; using System.Reflection; using System.ServiceProcess; using System.Threading; using System.Web.Hosting; using NsqSharp.Bus.Configuration; namespace NsqSharp.Bus.Utils { internal class WindowsService : ServiceBase, IRegisteredObject { private readonly BusConfigur...
using System; using System.Diagnostics; using System.Reflection; using System.ServiceProcess; using System.Threading; using System.Web.Hosting; using NsqSharp.Bus.Configuration; namespace NsqSharp.Bus.Utils { internal class WindowsService : ServiceBase, IRegisteredObject { private readonly BusConfigur...
mit
C#
8d83456231ef11af4fe61a1a39e77c96257ce1ab
stop server after start
OlegKleyman/IntegrationFtpServer
tests/integration/Omego.SimpleFtp.Tests.Integration/FtpServerTests.cs
tests/integration/Omego.SimpleFtp.Tests.Integration/FtpServerTests.cs
namespace Omego.SimpleFtp.Tests.Integration { using System.IO; using System.IO.Abstractions; using NUnit.Framework; [TestFixture] public class FtpServerTests { private readonly string ftpHomeDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); [OneTimeSetUp...
namespace Omego.SimpleFtp.Tests.Integration { using System.IO; using System.IO.Abstractions; using NUnit.Framework; [TestFixture] public class FtpServerTests { private readonly string ftpHomeDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); [OneTimeSetUp...
unlicense
C#
ee6996392a6d245c64ad199e76bb928bd932643c
Bump version
kamil-mrzyglod/Oxygenize
Oxygenize/Properties/AssemblyInfo.cs
Oxygenize/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("Ox...
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("Ox...
mit
C#
cd67b635a2cc989c7890b1eeba208e4ef559ffae
Make ContractQuotes factory method internal
smarkets/IronSmarkets
IronSmarkets/Data/ContractQuotes.cs
IronSmarkets/Data/ContractQuotes.cs
// Copyright (c) 2011 Smarkets Limited // // 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, merge, pu...
// Copyright (c) 2011 Smarkets Limited // // 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, merge, pu...
mit
C#
b2e4e1e62ceec3842c0c8c0e90e4fd58d2294d42
Add filedirectory null check
deeja/Pigeon
Pigeon.Zipper/Pipelines/FindLogs.cs
Pigeon.Zipper/Pipelines/FindLogs.cs
namespace Pigeon.Zipper.Pipelines { using Sitecore.Diagnostics; using Sitecore.Pipelines; public class FindLogs: PigeonPipelineProcessor { public override void Process(PigeonPipelineArgs args) { Assert.IsNotNull(args, "args != null"); Assert.IsNotNull(args.FileD...
namespace Pigeon.Zipper.Pipelines { using Sitecore.Diagnostics; using Sitecore.Pipelines; public class FindLogs: PigeonPipelineProcessor { public override void Process(PigeonPipelineArgs args) { Assert.IsNotNull(args, "args != null"); FileFinder finder = new Fil...
mit
C#
fb6e76a3bd4ab042852294d51c768d0d6c5b01be
Update home page text
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Home/Index.cshtml
BatteryCommander.Web/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>Battery Commander</h1> <p class="lead">Battery Commander is a simple web application for managing a training event and battle roster for small units/teams.</p> </div> <div class="row"> <div class="col-md-4"> <h2>Soldiers</h2> ...
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p> </div> ...
mit
C#
5ce16a943705bb87227728ef07730c5b23460088
Update AssemblyInfo
phillipsj/Cake.XdtTransform
Cake.XdtTransform/Properties/AssemblyInfo.cs
Cake.XdtTransform/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("Ca...
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("Ca...
mit
C#
d028119cf799e0f7007850b3a811613696b158bd
Fix potential fullscreen checking error
danielchalmers/DesktopWidgets
DesktopWidgets/Helpers/FullScreenHelper.cs
DesktopWidgets/Helpers/FullScreenHelper.cs
using System.Linq; using System.Windows; using System.Windows.Forms; using DesktopWidgets.Classes; namespace DesktopWidgets.Helpers { internal static class FullScreenHelper { private static bool DoesMonitorHaveFullscreenApp(Screen screen) => Win32Helper.GetForegroundApp() .IsFullScreen(scr...
using System.Linq; using System.Windows; using System.Windows.Forms; using DesktopWidgets.Classes; namespace DesktopWidgets.Helpers { internal static class FullScreenHelper { private static bool DoesMonitorHaveFullscreenApp(Screen screen) => Win32Helper.GetForegroundApp() .IsFullScreen(scr...
apache-2.0
C#
b223f66033a120c91c933f557bf9b9ac0f0a9be7
Update IConsoleService.cs
tiksn/TIKSN-Framework
TIKSN.Core/Shell/IConsoleService.cs
TIKSN.Core/Shell/IConsoleService.cs
using System; using System.Collections.Generic; using System.Security; using System.Threading; namespace TIKSN.Shell { public interface IConsoleService { string ReadLine(string promptMessage, ConsoleColor promptForegroundColor); SecureString ReadPasswordLine(string promptMessage, ConsoleColor...
using System; using System.Collections.Generic; using System.Security; using System.Threading; namespace TIKSN.Shell { public interface IConsoleService { string ReadLine(string promptMessage, ConsoleColor promptForegroundColor); SecureString ReadPasswordLine(string promptMessage, ConsoleColor...
mit
C#
c0cab96b88698ed294cbe8133c061654ed396b58
Bump v1.0.22
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
apache-2.0
C#
d339fae39d46e16751cbf946ba09ba1751cd72d9
Rename test appropriately
RossLieberman/NEST,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,cstlaurent/elasticsearch-net,TheFireCookie/elasticsearch-net,KodrAus/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,cstlaurent/elasticsearch-net,UdiBen/elasticsearch-net,KodrAus/e...
src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsForceNode.cs
src/Tests/ClientConcepts/ConnectionPooling/RequestOverrides/RespectsForceNode.cs
using System; using System.Threading.Tasks; using Elasticsearch.Net; using Tests.Framework; using static Elasticsearch.Net.AuditEvent; namespace Tests.ClientConcepts.ConnectionPooling.RequestOverrides { public class RespectsForceNode { /** == Forcing nodes * Sometimes you might want to fire a single ...
using System; using System.Threading.Tasks; using Elasticsearch.Net; using Tests.Framework; using static Elasticsearch.Net.AuditEvent; namespace Tests.ClientConcepts.ConnectionPooling.RequestOverrides { public class RespectsForceNode { /** == Forcing nodes * Sometimes you might want to fire a single ...
apache-2.0
C#
d25c47be2212bc630c5917d9f3fce09fe5d51345
Update Extensions.cs
dkapellusch/W-Maze-Application
W_Maze_Gui/W_Maze_Gui/Extensions.cs
W_Maze_Gui/W_Maze_Gui/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace W_Maze_Gui { static class Extensions { public static byte[] ToBytes(this string message) { return Encoding.UTF8.GetBy...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace W_Maze_Gui { static class Extensions { public static byte[] ToBytes(this string message) { return Encoding.UTF8.GetBy...
mit
C#
d8461b900aa5db745e11de8eb97e21dee14bd991
Build and publish nuget package
RockFramework/Rock.Encryption
Rock.Encryption/Properties/AssemblyInfo.cs
Rock.Encryption/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("Ro...
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("Ro...
mit
C#
9dd4ef129e1e0769ec87308b10ede3dadb53f074
add analytics to heartbeat smoke tests
AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud
src/server/Adaptive.ReactiveTrader.Server.IntegrationTests/HeartbeatSmokeTests.cs
src/server/Adaptive.ReactiveTrader.Server.IntegrationTests/HeartbeatSmokeTests.cs
using System; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using Adaptive.ReactiveTrader.Common; using Xunit; namespace Adaptive.ReactiveTrader.Server.IntegrationTests { public class HeartbeatSmokeTests { private readonly TestBroker _broker; public HeartbeatSmokeTests() ...
using System; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using Adaptive.ReactiveTrader.Common; using Xunit; namespace Adaptive.ReactiveTrader.Server.IntegrationTests { public class HeartbeatSmokeTests { private readonly TestBroker _broker; public HeartbeatSmokeTests() ...
apache-2.0
C#
b270e4ae22bee7005c1a9d26f6d5309a82b4ff67
Revert "Fix mono compilation error"
k-t/SharpHaven
SharpHaven.Common/Resources/ResourceRef.cs
SharpHaven.Common/Resources/ResourceRef.cs
using System; namespace SharpHaven.Resources { public struct ResourceRef { public ResourceRef(string name, ushort version) { if (name == null) throw new ArgumentNullException(nameof(name)); Name = name; Version = version; } public string Name { get; } public ushort Version { get; } publ...
using System; namespace SharpHaven.Resources { public struct ResourceRef { public ResourceRef(string name, ushort version) { if (name == null) throw new ArgumentNullException(nameof(name)); this.Name = name; this.Version = version; } public string Name { get; } public ushort Version { get;...
mit
C#
a22dc7beb69c9fb58d284770773266134ed9edfc
Revise bullet spacing
mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterC...
Utilities/MarkdigAgg/AggParagraphRenderer.cs
Utilities/MarkdigAgg/AggParagraphRenderer.cs
// Copyright (c) 2016-2017 Nicolas Musset. All rights reserved. // This file is licensed under the MIT license. // See the LICENSE.md file in the project root for more information. using Markdig.Syntax; using MatterHackers.Agg; using MatterHackers.Agg.UI; namespace Markdig.Renderers.Agg { public class AutoFit : GuiW...
// Copyright (c) 2016-2017 Nicolas Musset. All rights reserved. // This file is licensed under the MIT license. // See the LICENSE.md file in the project root for more information. using Markdig.Syntax; using MatterHackers.Agg.UI; namespace Markdig.Renderers.Agg { public class AutoFit : GuiWidget { public AutoFit...
bsd-2-clause
C#
94bfad0783177d0eec05dc02796e33b1a29dbe56
Add comment for R# additional file layout pattern
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Unity/CSharp/Psi/CodeStyle/AdditionalFileLayoutPatternProvider.cs
resharper/resharper-unity/src/Unity/CSharp/Psi/CodeStyle/AdditionalFileLayoutPatternProvider.cs
using System; using JetBrains.Application; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.CSharp.FileLayout; using JetBrains.ReSharper.Plugins.Unity.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.CodeStyle; using JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.MemberReordering; using...
using System; using JetBrains.Application; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.CSharp.FileLayout; using JetBrains.ReSharper.Plugins.Unity.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.CodeStyle; using JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.MemberReordering; using...
apache-2.0
C#
fba8da5ef6027dc7ee2544c0d4cda864da87977b
Adjust namespace
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/Generic/PlayRequirements/InputRequirement.cs
Assets/Scripts/HarryPotterUnity/Cards/Generic/PlayRequirements/InputRequirement.cs
using HarryPotterUnity.Cards.Generic.Interfaces; using HarryPotterUnity.Game; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.Cards.Generic.PlayRequirements { [UsedImplicitly] public class InputRequirement : MonoBehaviour, ICardPlayRequirement { private GenericCard _card...
using HarryPotterUnity.Cards.Generic.Interfaces; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.Cards.Generic.PlayRequirements { [UsedImplicitly] public class InputRequirement : MonoBehaviour, ICardPlayRequirement { private GenericCard _cardInfo; [SerializeFiel...
mit
C#
390a8aee55f0986771d694333792ce6826d72c3b
Add todo reminder
mattgwagner/alert-roster
alert-roster.web/Models/SMSSender.cs
alert-roster.web/Models/SMSSender.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using Twilio; namespace alert_roster.web.Models { public class SMSSender { public static String PhoneNumber = ConfigurationManager.AppSettings["Twilio.PhoneNumber"]; public static ...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using Twilio; namespace alert_roster.web.Models { public class SMSSender { public static String PhoneNumber = ConfigurationManager.AppSettings["Twilio.PhoneNumber"]; public static ...
mit
C#
479b4788020b55293e09862cbb2b12be39483c22
Update Router.cs
phonicmouse/SharpPaste,phonicmouse/SharpPaste
Routers/Router.cs
Routers/Router.cs
/* * Created by SharpDevelop. * User: Phonic Mouse * Date: 01/08/2016 * Time: 19:36 */ using System; using System.Linq; using System.Text; using LiteDB; using MlkPwgen; using Nancy; using Newtonsoft.Json; namespace SharpPaste { public class Router : NancyModule { public Router() { Get["/"] = _ => View["...
/* * Created by SharpDevelop. * User: Phonic Mouse * Date: 01/08/2016 * Time: 19:36 */ using System; using System.Linq; using System.Text; using LiteDB; using MlkPwgen; using Nancy; using Newtonsoft.Json; namespace SharpPaste { public class Router : NancyModule { public Router() { Get["/"] = _ => View["...
mit
C#
541c3f7415a1fc3e55337cdf63c08f6b9091907f
Fix encoding fallback
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/IO/TextTasks.cs
source/Nuke.Common/IO/TextTasks.cs
// Copyright Matthias Koch, Sebastian Karasek 2018. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using JetBrains.Annotations; namespace Nuke.Common.IO { [Public...
// Copyright Matthias Koch, Sebastian Karasek 2018. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using JetBrains.Annotations; namespace Nuke.Common.IO { [Public...
mit
C#
002de80c30b2f65eb842e8089382ac74cf2e1964
Add xmldoc to ISkin
2yangk23/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,peppy/osu-new,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu...
osu.Game/Skinning/ISkin.cs
osu.Game/Skinning/ISkin.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 JetBrains.Annotations; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Textures; using o...
// 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.Audio.Sample; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Textures; using osu.Game.Audio; namespace osu...
mit
C#
647aa345f7547f66c19cf7ece10cba5e08d17218
Remove test that is checked by analyzer.
JohanLarsson/Gu.Wpf.Geometry
Gu.Wpf.Geometry.Tests/NamespacesTests.cs
Gu.Wpf.Geometry.Tests/NamespacesTests.cs
namespace Gu.Wpf.Geometry.Tests { using System; using System.Linq; using System.Reflection; using System.Windows.Markup; using NUnit.Framework; public class NamespacesTests { private const string Uri = "http://gu.se/Geometry"; private readonly Assembly assembly; p...
namespace Gu.Wpf.Geometry.Tests { using System; using System.Linq; using System.Reflection; using System.Windows.Markup; using NUnit.Framework; public class NamespacesTests { private const string Uri = "http://gu.se/Geometry"; private readonly Assembly assembly; p...
mit
C#
a65905bf1ccef23646ed9af883e813f94d9a8a88
Use nameof for argumentnullexception
FoundatioFx/Foundatio
src/Foundatio/Messaging/Message.cs
src/Foundatio/Messaging/Message.cs
using System; using System.Collections.Generic; using System.Diagnostics; namespace Foundatio.Messaging { public interface IMessage { string Type { get; } Type ClrType { get; } byte[] Data { get; } object GetBody(); IReadOnlyDictionary<string, string> Properties { get; } ...
using System; using System.Collections.Generic; using System.Diagnostics; namespace Foundatio.Messaging { public interface IMessage { string Type { get; } Type ClrType { get; } byte[] Data { get; } object GetBody(); IReadOnlyDictionary<string, string> Properties { get; } ...
apache-2.0
C#
91877bfb7726ddf58068f5cd07ed51e7e84a67b4
Clean up
nikeee/HolzShots
src/HolzShots.Core/Net/UploadUI.cs
src/HolzShots.Core/Net/UploadUI.cs
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace HolzShots.Net { public sealed class UploadUI : IDisposable { private readonly IUploadPayload _payload; private readonly Uploader _uploader; private readonly ITransferProgressReporter?...
#nullable enable using System; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Threading; using System.Threading.Tasks; using HolzShots.Drawing; namespace HolzShots.Net { public sealed class UploadUI : IDisposable { private readonly IUploadPay...
agpl-3.0
C#
5ae6bcc007509571161c01bdf3247d78ddc71c65
Use decimal.Parse for consistency.
mysql-net/MySqlConnector,mysql-net/MySqlConnector
src/MySqlConnector/MySqlDecimal.cs
src/MySqlConnector/MySqlDecimal.cs
using System.Globalization; using System.Text.RegularExpressions; using MySqlConnector.Utilities; namespace MySqlConnector; public readonly struct MySqlDecimal { public decimal Value => decimal.Parse(m_value, CultureInfo.InvariantCulture); public double ToDouble() => double.Parse(m_value, CultureInfo.InvariantCult...
using System.Globalization; using System.Text.RegularExpressions; using MySqlConnector.Utilities; namespace MySqlConnector; public readonly struct MySqlDecimal { public decimal Value => Convert.ToDecimal(m_value, CultureInfo.InvariantCulture); public double ToDouble() => double.Parse(m_value, CultureInfo.Invariant...
mit
C#
dd884bc5a635e00ebe6cf43f05444045cd1c7319
remove unused code
minhhungit/DatabaseMigrateExt
Src/DatabaseMigrateExt/MigrationUtils.cs
Src/DatabaseMigrateExt/MigrationUtils.cs
using FluentMigrator; using System.Reflection; namespace DatabaseMigrateExt { public static class Utils { public static void ExecuteSqlStructure(this Migration migration, string scriptFileName) { var appContext = (MigrateDatabaseItem)migration.ApplicationContext; var e...
using FluentMigrator; using System.Reflection; namespace DatabaseMigrateExt { public static class Utils { public static void ExecuteSqlStructure(this Migration migration, string scriptFileName) { var appContext = (MigrateDatabaseItem)migration.ApplicationContext; var a...
mit
C#
8706c77440af09eb0a20cf61824806a478d2b556
Add damage attribute to melee attacker
Endure-Game/Endure
Assets/Scripts/MeleeAttacker.cs
Assets/Scripts/MeleeAttacker.cs
using UnityEngine; using System.Collections; public class MeleeAttacker : MonoBehaviour { public int damage = 3; private GameObject weapon; private float elapsed; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (this.weapon != null) { this.ela...
using UnityEngine; using System.Collections; public class MeleeAttacker : MonoBehaviour { private GameObject weapon; private float elapsed; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (this.weapon != null) { this.elapsed += Time.deltaTime; ...
mit
C#
04cd68f97029ccac9ede8b8a5c0d3dd99b5e62de
Hide status pill when status is none
EVAST9919/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,naoey/osu,naoey/osu,smoogipoo/osu,ZLima12/osu,johnne...
osu.Game/Beatmaps/Drawables/BeatmapSetOnlineStatusPill.cs
osu.Game/Beatmaps/Drawables/BeatmapSetOnlineStatusPill.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 osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics.Sprites; using OpenTK.Graphics; nam...
// 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; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics.Sprites; using OpenTK....
mit
C#
1c074ff0182c90f56b370d37f7511c942bedeaea
add `BlockMarkdownImage`
peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu
osu.Game/Overlays/Wiki/Markdown/WikiMarkdownImageBlock.cs
osu.Game/Overlays/Wiki/Markdown/WikiMarkdownImageBlock.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 Markdig.Syntax.Inlines; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containe...
// 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 Markdig.Syntax.Inlines; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containe...
mit
C#
0b6395c0e3910b5761649b0d63800cfe727308cf
Clean file
aloisdg/edx-csharp
edX/Module2/Program.cs
edX/Module2/Program.cs
using System; namespace Module2 { class Program { static void Main() { Print1(); Console.ReadLine(); } static void Print1() { for (var i = 0; i < 8; i++) for (var j = 0; j < 4; j++) Console.Write((i % 2 == 0 ? "XO" : "OX") + (j == 3 ? Environment.NewLine : String.Empty)); } s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Module2 { class Program { static void Main() { Print1(); Console.ReadLine(); } static void Print1() { for (var i = 0; i < 8; i++) for (var j = 0; j < 4; j++) Con...
mit
C#
5d3e2c2966da22cd03d81eb8f962f84784a27e0a
Update EvgenyFedorov.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/EvgenyFedorov.cs
src/Firehose.Web/Authors/EvgenyFedorov.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 EvgenyFedorov : IAmACommunityMember { public string FirstName => "Evgeny"; public string L...
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 EvgenyFedorov : IAmACommunityMember { public string FirstName => "Evgeny"; public string L...
mit
C#
74cbf9f91972fc26244bb008cf20fee432999bfd
Make test file path OS-agnostic
GMSGDataExchange/omf_csharp
OMF/Program.cs
OMF/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace OMF { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] stati...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace OMF { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] stati...
mit
C#
8f3b3d23e7eed318f2abbcab45e2f86e4c96553b
Update tests for TraktMovieCheckinPostResponse
henrikfroehling/TraktApiSharp
Source/Tests/TraktApiSharp.Tests/Objects/Post/Checkins/Responses/TraktMovieCheckinPostResponseTests.cs
Source/Tests/TraktApiSharp.Tests/Objects/Post/Checkins/Responses/TraktMovieCheckinPostResponseTests.cs
namespace TraktApiSharp.Tests.Objects.Post.Checkins.Responses { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using System; using TraktApiSharp.Objects.Post.Checkins.Responses; using Utils; [TestClass] public class TraktMovieCheckinP...
namespace TraktApiSharp.Tests.Objects.Post.Checkins.Responses { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using System; using TraktApiSharp.Objects.Post.Checkins.Responses; using Utils; [TestClass] public class TraktMovieCheckinP...
mit
C#
e55def9be56a66b52b4fbe6f41d41b22c181e446
Add validation of ValueType
AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Abstractions
src/Reflection/src/AspectCore.Extensions.Reflection/Factories/PropertyReflector.Factory.cs
src/Reflection/src/AspectCore.Extensions.Reflection/Factories/PropertyReflector.Factory.cs
using System; using System.Reflection; namespace AspectCore.Extensions.Reflection { public partial class PropertyReflector { internal static PropertyReflector Create(PropertyInfo reflectionInfo, CallOptions callOption) { if (reflectionInfo == null) { thr...
using System; using System.Reflection; namespace AspectCore.Extensions.Reflection { public partial class PropertyReflector { internal static PropertyReflector Create(PropertyInfo reflectionInfo, CallOptions callOption) { if (reflectionInfo == null) { thr...
mit
C#
74361c6e8867e5df5451342017b41037088c2bcd
fix local text prefix for entitydialog
TukekeSoft/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,TukekeSoft/Serenity,linpiero/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,linpiero/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/S...
CodeGenerator/Views/EntityScriptDialog.cshtml
CodeGenerator/Views/EntityScriptDialog.cshtml
@{ var dotModule = Model.Module == null ? "" : ("." + Model.Module); var moduleDot = Model.Module == null ? "" : (Model.Module + "."); var moduleSlash = Model.Module == null ? "" : (Model.Module + "/"); } namespace @(Model.RootNamespace)@(dotModule) { using jQueryApi; using Serenity; u...
@{ var dotModule = Model.Module == null ? "" : ("." + Model.Module); var moduleDot = Model.Module == null ? "" : (Model.Module + "."); var moduleSlash = Model.Module == null ? "" : (Model.Module + "/"); } namespace @(Model.RootNamespace)@(dotModule) { using jQueryApi; using Serenity; u...
mit
C#
fd73ca27168e2acb84bb90a341820694e2198625
Add error handling code to the Preloader.
ciniml/TpiProgrammer
FtdiBinding/Native/Preloader.cs
FtdiBinding/Native/Preloader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace FtdiBinding.Native { class Preloader { private const uint LOAD_WITH_ALTERED_SEARCH_PATH = 0x00000008u; [DllImport("kernel32",SetL...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace FtdiBinding.Native { class Preloader { private const uint LOAD_WITH_ALTERED_SEARCH_PATH = 0x00000008u; [DllImport("kernel32",SetL...
mit
C#
3fc05989f3cfc90a8ffebdc44717ff2d3ae76efd
Implement IInfrastructure` on CapEFDbTransaction (#868)
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.SqlServer/IDbContextTransaction.CAP.cs
src/DotNetCore.CAP.SqlServer/IDbContextTransaction.CAP.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Data.Common; using System.Threading; using System.Threading.Tasks; using DotNetCore.CAP; using Microsoft.EntityFrameworkCore.Infrastruct...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using DotNetCore.CAP; // ReSharper disable once CheckNamespace namespace Microsoft.EntityFrame...
mit
C#
0ed5a00961102af08bf09be22596926f5d393032
remove non-required call.
grokys/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,Avalonia...
src/Web/Avalonia.Web.Blazor/BlazorSkiaGpuRenderSession.cs
src/Web/Avalonia.Web.Blazor/BlazorSkiaGpuRenderSession.cs
using Avalonia.Skia; using SkiaSharp; namespace Avalonia.Web.Blazor { internal class BlazorSkiaGpuRenderSession : ISkiaGpuRenderSession { private readonly SKSurface _surface; public BlazorSkiaGpuRenderSession(BlazorSkiaSurface blazorSkiaSurface, GRBackendRenderTarget renderTarget) { ...
using Avalonia.Skia; using SkiaSharp; namespace Avalonia.Web.Blazor { internal class BlazorSkiaGpuRenderSession : ISkiaGpuRenderSession { private readonly SKSurface _surface; public BlazorSkiaGpuRenderSession(BlazorSkiaSurface blazorSkiaSurface, GRBackendRenderTarget renderTarget) { ...
mit
C#
90dc33e716e0473fa2487cb8831788b62d7a774f
change result type to channelId
weedoit/aerogear-cordova-push,matzew/aerogear-pushplugin-cordova,matzew/aerogear-pushplugin-cordova,edewit/aerogear-pushplugin-cordova,danielpassos/aerogear-cordova-push,weedoit/aerogear-cordova-push,weedoit/aerogear-cordova-push,PaoloMessina/aerogear-cordova-push,danielpassos/aerogear-cordova-push,PaoloMessina/aerogea...
src/wp8/shared/Registration.cs
src/wp8/shared/Registration.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AeroGear.Push { public abstract class Registration { public event EventHandler<PushReceivedEvent> PushReceivedEvent; public async Task<string> Register(PushConfig pushConfig) { Installa...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AeroGear.Push { public abstract class Registration { public event EventHandler<PushReceivedEvent> PushReceivedEvent; public async Task Register(PushConfig pushConfig) { Installation ins...
apache-2.0
C#
4ec4bc03a32069e83e339d7338b9851c46b5fd82
fix compilation
MiloszKrajewski/FAKE,MiloszKrajewski/FAKE,MiloszKrajewski/FAKE,MiloszKrajewski/FAKE
src/test/Test.FAKECore/FileHandling/CopyRecursiveSpecs.cs
src/test/Test.FAKECore/FileHandling/CopyRecursiveSpecs.cs
using System; using Fake; using Fake.IO; using Machine.Specifications; using Test.FAKECore.FileHandling; using IOPath = System.IO.Path; using IOFile = System.IO.File; namespace Test.FAKECore.FileHandling { public class CopyRecursiveSpecs { private static readonly string DestinationDir = IOPath.Combine(TestData.Tes...
using System; using Fake; using Machine.Specifications; using Test.FAKECore.FileHandling; using IOPath = System.IO.Path; using IOFile = System.IO.File; namespace Test.FAKECore.FileHandling { public class CopyRecursiveSpecs { private static readonly string DestinationDir = IOPath.Combine(TestData.TestDir, "destinat...
apache-2.0
C#
4cc5f754a22b4b6b8529a2754ed7bbfb7a354ef1
Bump version number for 5.0.0
csf-dev/CSF.Core,csf-dev/CSF.Core
Common/CommonAssemblyInfo.cs
Common/CommonAssemblyInfo.cs
// // CommonAssemblyInfo.cs // // Author: // Craig Fowler <craig@csf-dev.com> // // Copyright (c) 2015 CSF Software Limited // // 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...
// // CommonAssemblyInfo.cs // // Author: // Craig Fowler <craig@csf-dev.com> // // Copyright (c) 2015 CSF Software Limited // // 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...
mit
C#
e2c646003a51eb90c957d8b2f5961f2c21b94804
Remove empty comment
davidrynn/monotouch-samples,peteryule/monotouch-samples,kingyond/monotouch-samples,hongnguyenpro/monotouch-samples,sakthivelnagarajan/monotouch-samples,xamarin/monotouch-samples,albertoms/monotouch-samples,albertoms/monotouch-samples,andypaul/monotouch-samples,andypaul/monotouch-samples,iFreedive/monotouch-samples,YOTO...
CoreAnimation/AppDelegate.cs
CoreAnimation/AppDelegate.cs
using System; using MonoTouch.UIKit; using MonoTouch.Foundation; namespace Example_CoreAnimation { [Register("AppDelegate")] public class AppDelegate : UIApplicationDelegate { #region declarations and properties protected UIWindow window; protected Screens.iPad.Home.MainSplitView splitView; #end...
using System; using MonoTouch.UIKit; using MonoTouch.Foundation; namespace Example_CoreAnimation { [Register("AppDelegate")] public class AppDelegate : UIApplicationDelegate { #region declarations and properties protected UIWindow window; protected Screens.iPad.Home.MainSplitView splitView; #end...
mit
C#
1d4bf8cd07b572ef8802609502939b144dcbafa3
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p> <p>The laboratory is located in Hoagland Hall with a Sample Receiving area in nearby Hoagland ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Updated: January 11, 2021<br /><br /> A modest rate increase will be implemented on February 1, 2021. </div> <p class=...
mit
C#
2c8e3b37c536e61ecc427bcfb6f888d816cfb824
Bump Version
UniqProject/BDInfo
BDInfo/Properties/AssemblyInfo.cs
BDInfo/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...
lgpl-2.1
C#