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 |
|---|---|---|---|---|---|---|---|---|
8bd26d687ab061756c500c0f35641cea970b422d | Add informational version attribute | TheAlmightyBob/oxyplot,svendu/oxyplot,BRER-TECH/oxyplot,GeertvanHorrik/oxyplot,lynxkor/oxyplot,as-zhuravlev/oxyplot_wpf_fork,lynxkor/oxyplot,Jofta/oxyplot,jeremyiverson/oxyplot,Mitch-Connor/oxyplot,HermanEldering/oxyplot,shoelzer/oxyplot,freudenthal/oxyplot,jeremyiverson/oxyplot,shoelzer/oxyplot,GeertvanHorrik/oxyplot,... | Source/GlobalAssemblyInfo.cs | Source/GlobalAssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// -------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// -------------------------------------------------------------------------... | mit | C# |
10712d1a01aabd3d3636f3f9f3fef6f22b6c34ae | Move SharpDX to next minor verison 2.5.1 | sharpdx/Toolkit,sharpdx/Toolkit,tomba/Toolkit | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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,... | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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,... | mit | C# |
11eb0156ea2fb54909ca65a8182b5dadc2d748e7 | Create subclass for Servicelevel for mapping JSON | goshippo/shippo-csharp-client | Shippo/Rate.cs | Shippo/Rate.cs | using System;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject(MemberSerialization.OptIn)]
public class Rate : ShippoId {
[JsonProperty(PropertyName = "object_created")]
public object ObjectCreated { get; set; }
[JsonProperty(PropertyName = "object_owner")]
public object ... | using System;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject(MemberSerialization.OptIn)]
public class Rate : ShippoId {
[JsonProperty(PropertyName = "object_created")]
public object ObjectCreated { get; set; }
[JsonProperty(PropertyName = "object_owner")]
public object ... | apache-2.0 | C# |
f345ede698fb8ac51480ff30f7b5a9ecb73eaddf | Remove reference to statistic manager from timerdecorator. | Hammerstad/Moya | Moya.Runner/Runners/TimerDecorator.cs | Moya.Runner/Runners/TimerDecorator.cs | namespace Moya.Runner.Runners
{
using System.Diagnostics;
using System.Reflection;
using Models;
public class TimerDecorator : ITestRunner
{
public ITestRunner DecoratedTestRunner { get; set; }
public TimerDecorator(ITestRunner testRunner)
{
DecoratedTe... | namespace Moya.Runner.Runners
{
using System.Diagnostics;
using System.Reflection;
using Models;
using Statistics;
public class TimerDecorator : ITestRunner
{
private readonly IDurationManager duration;
public ITestRunner DecoratedTestRunner { get; set; }
publ... | mit | C# |
5106d46206e937157bdaef95cc39c04f686cfea6 | Remove index page content. | razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum | Source/SvNaum.Web/Views/Home/Index.cshtml | Source/SvNaum.Web/Views/Home/Index.cshtml | @{
ViewBag.Title = "Начало";
}
| @{
ViewBag.Title = "Начало";
}
<img src="../../Images/XristosVoskreseGoldModifikated.png" alt="Христос Воскресе!" class="image" />
<img src="../../Images/xvoskrese.png" alt="червено яйце" class="image" />
<div class="text">Някакъв текст.</div> | mit | C# |
1c560e3c6aa4298dccbc80dcba3264095de781f0 | Update UsTrafficWithSensorWorker.cs | bitsecondal/raspitraffic-stem,bitsecondal/raspitraffic-stem,bitsecondal/raspitraffic-stem | Almostengr.TrafficPi.LampControl/Workers/UsTrafficWithSensorWorker.cs | Almostengr.TrafficPi.LampControl/Workers/UsTrafficWithSensorWorker.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Almostengr.TrafficPi.LampControl.Common;
using Almostengr.TrafficPi.LampControl.Services;
using Microsoft.Extensions.Logging;
namespace Almostengr.TrafficPi.LampControl.Workers
{
public class UsTrafficWithSensorWorker : BaseWorker
{
... | using System;
using System.Threading;
using System.Threading.Tasks;
using Almostengr.TrafficPi.LampControl.Common;
using Almostengr.TrafficPi.LampControl.Services;
using Microsoft.Extensions.Logging;
namespace Almostengr.TrafficPi.LampControl.Workers
{
public class UsTrafficWithSensorWorker : BaseWorker
{
... | mit | C# |
3954345be5c785cf6237096a40b067d1c7e1774b | Use owinContext.Request.CallCancelled in default page middleware | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | Foundation/Server/Foundation.Api/Middlewares/DefaultPageMiddleware.cs | Foundation/Server/Foundation.Api/Middlewares/DefaultPageMiddleware.cs | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Owin;
using Foundation.Api.Contracts;
using Foundation.Core.Contracts;
namespace Foundation.Api.Middlewares
{
public class DefaultPageMiddleware : OwinMiddleware
{
public DefaultPageMiddleware(OwinMiddleware next)
: base... | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Owin;
using Foundation.Api.Contracts;
using Foundation.Core.Contracts;
namespace Foundation.Api.Middlewares
{
public class DefaultPageMiddleware : OwinMiddleware
{
public DefaultPageMiddleware(OwinMiddleware next)
: base... | mit | C# |
81a5849c338e1be6ea909b439bbaca5e92785d1a | Add Content-Type when sending a batch. | smartystreets/smartystreets-dotnet-sdk | src/sdk/USZipCodeApi/Client.cs | src/sdk/USZipCodeApi/Client.cs | namespace SmartyStreets.USZipCodeApi
{
using System;
using System.Collections.Generic;
using System.IO;
public class Client : IUSZipCodeClient
{
private readonly ISender sender;
private readonly ISerializer serializer;
public Client(ISender sender, ISerializer serializer)
{
this.sender = sender;
t... | namespace SmartyStreets.USZipCodeApi
{
using System;
using System.Collections.Generic;
using System.IO;
public class Client : IUSZipCodeClient
{
private readonly ISender sender;
private readonly ISerializer serializer;
public Client(ISender sender, ISerializer serializer)
{
this.sender = sender;
t... | apache-2.0 | C# |
19ebf5ad7d8356b9f88716223d1c37759fcb41d6 | Bring back blob disposal checks | SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/Platform/Internal/UnmanagedBlob.cs | src/Avalonia.Base/Platform/Internal/UnmanagedBlob.cs | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
namespace Avalonia.Platform.Internal;
internal class UnmanagedBlob : IUnmanagedBlob
{
private IntPtr _address;
private readonly object _lock = new object();
#if ... | using System;
using System.Runtime.InteropServices;
namespace Avalonia.Platform.Internal;
internal class UnmanagedBlob : IUnmanagedBlob
{
private IntPtr _address;
private readonly object _lock = new object();
public UnmanagedBlob(int size)
{
try
{
if (size <= 0)
... | mit | C# |
116a85639b11b25f899952f7c7532ae0de1c8904 | add expired helper for datetime | chrisowhite/IdentityServer4,jbijlsma/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/I... | src/IdentityServer4/Extensions/DateTimeExtensions.cs | src/IdentityServer4/Extensions/DateTimeExtensions.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Diagnostics;
namespace IdentityServer4.Extensions
{
internal static class DateTimeExtensions
{
[D... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Diagnostics;
namespace IdentityServer4.Extensions
{
internal static class DateTimeExtensions
{
[D... | apache-2.0 | C# |
6be9403268fa273c8819401a96d88a19413a6bdd | add Resolve method to StaticResolver | coolkev/LewisTech.Utils | src/LewisTech.Utils/Infrastructure/StaticResolver.cs | src/LewisTech.Utils/Infrastructure/StaticResolver.cs | using System;
namespace LewisTech.Utils.Infrastructure
{
public static class StaticResolver
{
public static IServiceProvider Current { get; set; }
public static T Resolve<T>() where T : class
{
return Current.GetService<T>();
}
}
}
| using System;
namespace LewisTech.Utils.Infrastructure
{
public static class StaticResolver
{
public static IServiceProvider Current { get; set; }
}
}
| mit | C# |
44838de9da50e69143df8b280d3c877611a31409 | use OnStart/OnStop for setting up/tearing down view model bindings | bordoley/RxApp | RxApp.Example.Android/MainActivity.cs | RxApp.Example.Android/MainActivity.cs | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Android.App;
using Android.OS;
using Android.Widget;
using Toolbar = Android.Support.V7.Widget.Toolbar;
using RxApp;
using RxApp.Android;
namespace RxApp.Example
{
[Activity(Label = "MainActivity")]
public sealed ... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Android.App;
using Android.OS;
using Android.Widget;
using Toolbar = Android.Support.V7.Widget.Toolbar;
using RxApp;
using RxApp.Android;
namespace RxApp.Example
{
[Activity(Label = "MainActivity")]
public sealed ... | apache-2.0 | C# |
7aeb6536ff7e29b3bccd9161d23f0c288a45c711 | Fix Test | sboulema/CodeNav,sboulema/CodeNav | CodeNav.Tests/HelperTests/VisibilityHelperTests.cs | CodeNav.Tests/HelperTests/VisibilityHelperTests.cs | using CodeNav.Helpers;
using CodeNav.Mappers;
using CodeNav.Models;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
namespace CodeNav.Tests.HelperTests
{
[TestFixture]
public class VisibilityHelperTests
{
[TestCase(fa... | using CodeNav.Helpers;
using CodeNav.Mappers;
using CodeNav.Models;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
namespace CodeNav.Tests.HelperTests
{
[TestFixture]
public class VisibilityHelperTests
{
[TestCase(fa... | mit | C# |
e8c98bdc41a03ae22e3a7107f14d01eee8b29919 | Add MLC and SMC to education levels | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/MilitaryEducationLevel.cs | Battery-Commander.Web/Models/MilitaryEducationLevel.cs | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Web.Models
{
public enum MilitaryEducationLevel : byte
{
Unknown,
[Display(Name = "(AIT) Advanced Individual Training", ShortName = "AIT")]
AIT = 1,
[Display(Name = "(BLC) Basic Leader Course", ShortName ... | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Web.Models
{
public enum MilitaryEducationLevel : byte
{
Unknown,
[Display(Name = "(AIT) Advanced Individual Training", ShortName = "AIT")]
AIT = 1,
[Display(Name = "(BLC) Basic Leader Course", ShortName ... | mit | C# |
996c15610668fedb30df9dd4d885b648a6fb82dc | apply suggestions | UselessToucan/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu | osu.Game/Graphics/Backgrounds/BeatmapBackgroundWithStoryboard.cs | osu.Game/Graphics/Backgrounds/BeatmapBackgroundWithStoryboard.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.Containers;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Framework.Timing;
using osu.Game.Beatmap... | mit | C# |
33aaa2c5bdb1ce6d6788b7958961eea5bc9498bc | clean up | icarus-consulting/Yaapii.Atoms | src/Yaapii.Atoms/IO/Sha256DigestOf.cs | src/Yaapii.Atoms/IO/Sha256DigestOf.cs | // MIT License
//
// Copyright(c) 2017 ICARUS Consulting GmbH
//
// 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, cop... | // MIT License
//
// Copyright(c) 2017 ICARUS Consulting GmbH
//
// 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, cop... | mit | C# |
705978afaa24db4bc6c6b95393c45fd04fc95a57 | fix typo and spacing issue | danbarua/EasyNetQ,Ascendon/EasyNetQ,EIrwin/EasyNetQ,mleenhardt/EasyNetQ,lukasz-lysik/EasyNetQ,fpommerening/EasyNetQ,scratch-net/EasyNetQ,ar7z1/EasyNetQ,nicklv/EasyNetQ,fpommerening/EasyNetQ,maverix/EasyNetQ,zidad/EasyNetQ,scratch-net/EasyNetQ,Pliner/EasyNetQ,zidad/EasyNetQ,alexwiese/EasyNetQ,lukasz-lysik/EasyNetQ,china... | Source/EasyNetQ/TypeNameSerializer.cs | Source/EasyNetQ/TypeNameSerializer.cs | using System;
namespace EasyNetQ
{
public interface ITypeNameSerializer
{
string Serialize(Type type);
Type DeSerialize(string typeName);
}
public class TypeNameSerializer : ITypeNameSerializer
{
public Type DeSerialize(string typeName)
{
var nameParts =... | using System;
namespace EasyNetQ
{
public interface ITypeNameSerializer
{
string Serialize(Type type);
Type DeSerialize(string typeName);
}
public class TypeNameSerializer : ITypeNameSerializer
{
public Type DeSerialize(string typeName)
{
var nameParts =... | mit | C# |
22afa542a053b6780b555090362a614a2ce37808 | Add comment that `IModelViewManager::RemoveSectionView` doesn't work and link a forum question | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/ModelViewManagerExtensions.cs | SolidworksAddinFramework/ModelViewManagerExtensions.cs | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | using System;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class ModelViewManagerExtensions
{
public static IDisposable CreateSectionView(this IModelViewManager modelViewManager, Action<SectionViewData> config)
{
... | mit | C# |
e500d7fe77f04ab60255cef407829db2c8efdcd9 | Update hospital API tests | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.ConnectedCare.Sdk.Tests/HospitalApiTests.cs | SnapMD.ConnectedCare.Sdk.Tests/HospitalApiTests.cs | // Copyright 2015 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | // Copyright 2015 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | apache-2.0 | C# |
3735b759e5d58a11d02c772ea672352f12a5ee11 | Rename assembly to proper name | intercom/intercom-dotnet | src/Intercom/Properties/AssemblyInfo.cs | src/Intercom/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Intercom.Dotnet.Client")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Library")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[assembly... | apache-2.0 | C# |
f34bee3e2721b716d287ec922a354439b6792e7a | Fix Firebird bool type | MetSystem/fluentmigrator,alphamc/fluentmigrator,drmohundro/fluentmigrator,itn3000/fluentmigrator,fluentmigrator/fluentmigrator,swalters/fluentmigrator,dealproc/fluentmigrator,tohagan/fluentmigrator,mstancombe/fluentmig,tommarien/fluentmigrator,daniellee/fluentmigrator,wolfascu/fluentmigrator,drmohundro/fluentmigrator,m... | src/FluentMigrator.Runner/Generators/Firebird/FirebirdTypeMap.cs | src/FluentMigrator.Runner/Generators/Firebird/FirebirdTypeMap.cs | using System.Data;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.Firebird
{
internal class FirebirdTypeMap : TypeMapBase
{
private const int DecimalCapacity = 19;
private const int FirebirdMaxVarcharSize = 32765;
private const int FirebirdMaxCh... | using System.Data;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.Firebird
{
internal class FirebirdTypeMap : TypeMapBase
{
private const int DecimalCapacity = 19;
private const int FirebirdMaxVarcharSize = 32765;
private const int FirebirdMaxCh... | apache-2.0 | C# |
ebe84bf3bae7d602f79cb28a45112d40d8115405 | fix second test | DamianStanger/codingInterview,version99/codingInterview-1,DamianStanger/codingInterview | fizzBuzzInterview/ConsoleApp/Program.cs | fizzBuzzInterview/ConsoleApp/Program.cs | using System;
namespace ConsoleApp
{
public class Program
{
public static void Main(string[] args)
{
var target = int.Parse(args[0]);
var output = "";
for (int i = 1; i <= target; i++)
{
if (i%3==0)
{
... | using System;
namespace ConsoleApp
{
public class Program
{
public static void Main(string[] args)
{
var target = int.Parse(args[0]);
var output = "";
for (int i = 1; i <= target; i++)
{
output += string.Format("{0} ", i);
... | mit | C# |
f76e29bd06432bd3fb336fed572e434a6965620d | Fix logic. | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Exports.Reactive/Extensions/ConnectionManagerExtensions.cs | src/GitHub.Exports.Reactive/Extensions/ConnectionManagerExtensions.cs | using System;
using System.Threading.Tasks;
using GitHub.Factories;
using GitHub.Models;
using GitHub.Services;
namespace GitHub.Extensions
{
public static class ConnectionManagerExtensions
{
public static async Task<IModelService> GetModelService(
this IConnectionManager cm,
I... | using System;
using System.Threading.Tasks;
using GitHub.Factories;
using GitHub.Models;
using GitHub.Services;
namespace GitHub.Extensions
{
public static class ConnectionManagerExtensions
{
public static async Task<IModelService> GetModelService(
this IConnectionManager cm,
I... | mit | C# |
6126415bdfe0b71a1903e552e0a04e8d980be00c | Update DockerfileTemplate.cs | brthor/Dockerize.NET,brthor/Dockerize.NET | DockerfileTemplate.cs | DockerfileTemplate.cs | namespace Brthor.Dockerize
{
public static class DockerfileTemplate
{
public static string Generate(DockerizeConfiguration config, string outputBinaryName)
{
var addUser = config.Username == null
? ""
: $@"RUN groupadd -r {config.Username} && useradd... | namespace Brthor.Dockerize
{
public static class DockerfileTemplate
{
public static string Generate(DockerizeConfiguration config, string outputBinaryName)
{
var addUser = config.Username == null
? ""
: $@"RUN groupadd -r {config.Username} && useradd... | mit | C# |
9fdaf39272b228dc6333acb8e863bc8b72591cb4 | Drop internet explorer test | 2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano | test/GlobalSearch.cs | test/GlobalSearch.cs | using NUnit.Framework;
using OpenQA.Selenium;
using System.Linq;
using Vidyano.Test.Helpers;
namespace Vidyano.Test
{
[TestFixture("chrome")]
[TestFixture("safari")]
[TestFixture("firefox")]
[TestFixture("edge")]
[Parallelizable(ParallelScope.Fixtures)]
public class GlobalSearch: BrowserStackT... | using NUnit.Framework;
using OpenQA.Selenium;
using System.Linq;
using Vidyano.Test.Helpers;
namespace Vidyano.Test
{
[TestFixture("chrome")]
[TestFixture("safari")]
[TestFixture("firefox")]
[TestFixture("edge")]
[TestFixture("ie")]
[Parallelizable(ParallelScope.Fixtures)]
public class Glo... | mit | C# |
8f27eb3e1eede75591829b422df84f9dc8aa14f0 | Update Column.cs | accessrichard/sqleditor.net | SqlEditor/Models/Dojo/Dgrid/Column.cs | SqlEditor/Models/Dojo/Dgrid/Column.cs | namespace SqlEditor.Models.Dojo.Dgrid
{
/// <summary>
/// Represents a column in the client side dojo grid.
/// </summary>
public class Column
{
/// <summary>
/// Backing field for label property.
/// </summary>
private string label;
/// <summary>
/... | namespace SqlEditor.Models.Dojo.Dgrid
{
/// <summary>
/// Represents a column in the client side dojo grid.
/// </summary>
public class Column
{
/// <summary>
/// Backing field for label property.
/// </summary>
private string label;
/// <summary>
/... | mit | C# |
27321e57de3c2f54cadfa3488685ad47a70393b4 | Update AndConstraint.cs (#742) | jnyrup/fluentassertions,fluentassertions/fluentassertions,jnyrup/fluentassertions,dennisdoomen/fluentassertions,dennisdoomen/fluentassertions,fluentassertions/fluentassertions | Src/FluentAssertions/AndConstraint.cs | Src/FluentAssertions/AndConstraint.cs | using System.Diagnostics;
namespace FluentAssertions
{
[DebuggerNonUserCode]
public class AndConstraint<T>
{
public T And { get; }
/// <summary>
/// Initializes a new instance of the <see cref="T:System.Object"/> class.
/// </summary>
public AndConstraint(T parentCo... | using System.Diagnostics;
namespace FluentAssertions
{
[DebuggerNonUserCode]
public class AndConstraint<T>
{
private readonly T parentConstraint;
/// <summary>
/// Initializes a new instance of the <see cref="T:System.Object"/> class.
/// </summary>
public AndConstr... | apache-2.0 | C# |
02f33d06ec80536618e7c92a01f16cf90e985fc4 | Update ExchangeRate.cs | coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,coinapi/coinapi-sdk,... | csharp-ws/CoinAPI.WebSocket.V1/DataModels/ExchangeRate.cs | csharp-ws/CoinAPI.WebSocket.V1/DataModels/ExchangeRate.cs | using System;
namespace CoinAPI.WebSocket.V1.DataModels
{
public struct ExchangeRate
{
public DateTime time { get; set; }
public string asset_id_base { get; set; }
public string asset_id_quote { get; set; }
public decimal rate { get; set; }
}
}
| using System;
namespace CoinAPI.WebSocket.V1.DataModels
{
public struct ExchangeRate
{
public decimal? rate { get; set; }
public decimal? crossing_cost { get; set; }
public DateTime time { get; set; }
public string asset_id_base { get; set; }
public string asset_id_quot... | mit | C# |
069ffde59d7a9e4d060a0c97075a4e0481553992 | Update AssemblyVersion | mono/dbus-sharp-glib,mono/dbus-sharp-glib | glib/AssemblyInfo.cs | glib/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion("0.3.0")]
[assembly: AssemblyTitle ("NDesk.DBus.GLib")]
[assembly: AssemblyDescription ("GLib integration for NDesk.DBus, the D-Bus IPC library")]
[assembly: AssemblyCopyright ("Copyright (C) Alp Toker")]
[assembly: AssemblyComp... | using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus.GLib")]
[assembly: AssemblyDescription ("GLib integration for NDesk.DBus, the D-Bus IPC library")]
[assembly: AssemblyCopyright ("Copyright (C) Alp Toker")]
[assembly: Assembly... | mit | C# |
217d49f3fecd205818fea6ca299f761a3c31d522 | Add a Counter prop and make max recursion count const public | ilkerhalil/dnlib,kiootic/dnlib,jorik041/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib,yck1509/dnlib,0xd4d/dnlib,picrap/dnlib,modulexcite/dnlib | src/DotNet/RecursionCounter.cs | src/DotNet/RecursionCounter.cs | using System;
namespace dot10.DotNet {
struct RecursionCounter {
/// <summary>
/// Max recursion count. If this is reached, we won't continue, and will use a default value.
/// </summary>
public const int MAX_RECURSION_COUNT = 100;
int counter;
/// <summary>
/// Gets the recursion counter
/// </summ... | using System;
namespace dot10.DotNet {
struct RecursionCounter {
/// <summary>
/// Max recursion count. If this is reached, we won't continue, and will use a default value.
/// </summary>
const int MAX_RECURSION_COUNT = 100;
int counter;
/// <summary>
/// Increments <see cref="counter"/> if it's not t... | mit | C# |
5355cf9b0c44e788d5f6f26536dfb8b8cf0c0722 | Remove console warning for editor | suppayami/unity2d-tmx | src/Editor/TilemapInspector.cs | src/Editor/TilemapInspector.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace Symphony {
[CustomEditor (typeof(TileMap))]
public class TilemapInspector : Editor {
TileMap tilemap;
GUIStyle style;
public void OnEnable() {
tilemap = (TileMap) target;
}
... | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace Symphony {
[CustomEditor (typeof(TileMap))]
public class TilemapInspector : Editor {
TileMap tilemap;
GUIStyle style;
public void OnEnable() {
tilemap = (TileMap) target;
}
... | mit | C# |
2b6167641a831d224f54fe085cdb2d72cdf39967 | fix smoke target param | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | Tweek.ApiService.SmokeTests/TweekApiServiceFactory.cs | Tweek.ApiService.SmokeTests/TweekApiServiceFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestEase;
namespace Tweek.ApiService.SmokeTests
{
public static class TweekApiServiceFactory
{
public static ITweekApi GetTweekApiClient()
{
var targetBaseUrl =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestEase;
namespace Tweek.ApiService.SmokeTests
{
public static class TweekApiServiceFactory
{
public static ITweekApi GetTweekApiClient()
{
var targetBaseUrl =... | mit | C# |
072adaee53e4de23bd53f23b09be783d82705fd9 | Fix converter | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Converters/SearchIconConverter.cs | WalletWasabi.Fluent/Converters/SearchIconConverter.cs | using Avalonia;
using Avalonia.Data.Converters;
using System;
using System.Globalization;
using WalletWasabi.Fluent.ViewModels.Search;
namespace WalletWasabi.Fluent.Converters
{
public class SearchIconConverter : IValueConverter
{
public static readonly SearchIconConverter Instance = new SearchIconConverter();
... | using Avalonia;
using Avalonia.Data.Converters;
using System;
using System.Globalization;
using WalletWasabi.Fluent.ViewModels.NavBar;
namespace WalletWasabi.Fluent.Converters
{
public class SearchIconConverter : IValueConverter
{
public static readonly SearchIconConverter Instance = new SearchIconConverter();
... | mit | C# |
3a8bcc77c6c98e1ad359c26ff08276ce168a5b62 | Update DispatcherCountdownTimer | Kingloo/GB-Live | src/Common/DispatcherCountdownTimer.cs | src/Common/DispatcherCountdownTimer.cs | using System;
using System.Globalization;
using System.Text;
using System.Windows.Threading;
namespace GBLive.Common
{
public class DispatcherCountdownTimer
{
private readonly TimeSpan span;
private readonly Action tick;
private readonly DateTime created = DateTime.Now;
private DispatcherTimer? timer = null... | using System;
using System.Globalization;
using System.Text;
using System.Windows.Threading;
namespace GBLive.Common
{
public class DispatcherCountdownTimer
{
#region Fields
private readonly DateTime created = DateTime.Now;
private readonly Action tick;
private DispatcherTimer timer = new DispatcherTimer(Dis... | unlicense | C# |
81ef8fee52cb7c62c8a4c1c1e427d511415eb1ea | Add clear properties function. | kcotugno/OpenARLog | OpenARLog.Data/QSO.cs | OpenARLog.Data/QSO.cs | /*
* Copyright (C) 2015 kcotugno
* Distributed under the MIT software license, see the accompanying
* LICENSE file or http://www.opensource.org/licenses/MIT
*
* Author: kcotugno
* Date: 8/15/2015
*/
using System;
namespace OpenARLog.Data
{
public class QSO
{
public long ID { get... | /*
* Copyright (C) 2015 kcotugno
* Distributed under the MIT software license, see the accompanying
* LICENSE file or http://www.opensource.org/licenses/MIT
*
* Author: kcotugno
* Date: 8/15/2015
*/
using System;
namespace OpenARLog.Data
{
public class QSO
{
public long ID { get... | mit | C# |
7db230f0f1c6e7e27f0ed080d29a7a91463b75e4 | Define extension method over IDefinition | terrajobst/platform-compat | src/Terrajobst.Cci/MemberExtensions.cs | src/Terrajobst.Cci/MemberExtensions.cs | using Microsoft.Cci;
using Microsoft.Cci.Extensions;
namespace Terrajobst.Cci
{
public static class MemberExtensions
{
public static string GetNamespaceName(this IDefinition definition)
{
if (definition is ITypeDefinitionMember member)
return member.ContainingTypeDe... | using Microsoft.Cci;
using Microsoft.Cci.Extensions;
namespace Terrajobst.Cci
{
public static class MemberExtensions
{
public static string GetNamespaceName(this ITypeDefinitionMember member)
{
return member.ContainingTypeDefinition.GetNamespaceName();
}
public sta... | mit | C# |
f5efa627bda8e8fa3a54d3f21b66911e2a3a36a5 | Update version. | NForza/transit-csharp | src/Transit/Properties/AssemblyInfo.cs | src/Transit/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | apache-2.0 | C# |
93a05098d3ac54cd589d7a47874e8141b6e7100e | bring back Cyrillic, this seems to be working on .NET Core 2.0 | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Domain/StringExtensions.cs | src/Tugberk.Domain/StringExtensions.cs | using System;
using System.Text;
using System.Text.RegularExpressions;
namespace Tugberk.Domain
{
public static class StringExtensions
{
/// <remarks>
/// Does not allow leading or trailing hypens or whitespace.
/// </remarks>
public static readonly Regex SlugRegex = new Regex(@... | using System;
using System.Text;
using System.Text.RegularExpressions;
namespace Tugberk.Domain
{
public static class StringExtensions
{
/// <remarks>
/// Does not allow leading or trailing hypens or whitespace.
/// </remarks>
public static readonly Regex SlugRegex = new Regex(@... | agpl-3.0 | C# |
fdcb4a71ad341d38570a56aab76ef573e3815c01 | Fix incorrect array pool usage | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | osu.Framework/Graphics/Textures/ArrayPoolTextureUpload.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework.... | // 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.Buffers;
using osu.Framework.Graphics.Primitives;
using osuTK.Graphics.ES30;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework.... | mit | C# |
3ed646571680ac914ae6556b7f9f657dde56730d | Address comments | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/autobuilder/Semmle.Autobuild.CSharp/StandaloneBuildRule.cs | csharp/autobuilder/Semmle.Autobuild.CSharp/StandaloneBuildRule.cs | using Semmle.Autobuild.Shared;
namespace Semmle.Autobuild.CSharp
{
/// <summary>
/// Build using standalone extraction.
/// </summary>
class StandaloneBuildRule : IBuildRule
{
public BuildScript Analyse(Autobuilder builder, bool auto)
{
BuildScript GetCommand(string? so... | using Semmle.Autobuild.Shared;
namespace Semmle.Autobuild.CSharp
{
/// <summary>
/// Build using standalone extraction.
/// </summary>
class StandaloneBuildRule : IBuildRule
{
public BuildScript Analyse(Autobuilder builder, bool auto)
{
BuildScript GetCommand(string? so... | mit | C# |
19a46edb446cd14063ef7a038645cd9199bd6098 | Fix sample game. | EVAST9919/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,naoey/osu-framework,naoey/osu-framework,Nabile-Rahmani/osu-framework,Tom94/osu-framework,ppy/osu-framework,RedNesto/osu-framework,paparony03/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,NeoAdonis/osu-framework,RedNesto/osu-f... | SampleGame/Program.cs | SampleGame/Program.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Desktop;
using osu.Framework.OS;
namespace osu.Desktop
{
public static class Program
{
[STAThread]... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Desktop;
using osu.Framework.Framework;
namespace osu.Desktop
{
public static class Program
{
[STA... | mit | C# |
a061a031a566b49e567a8fed0967cbd3b0b13bb4 | reset to default persistent data on new stage load | ScopatGames/ShojiSplice | titleScripts/LoadScene.cs | titleScripts/LoadScene.cs | using UnityEngine;
using System.Collections;
public class LoadScene : MonoBehaviour {
public int sceneToLoad;
public bool resetDefaults;
private SceneFadeInOut sceneFadeInOut;
public void OnEnable () {
if (GameObject.FindGameObjectWithTag(Tags.gameController)){
sceneFadeInOut = GameObject.FindGameObjectWi... | using UnityEngine;
using System.Collections;
public class LoadScene : MonoBehaviour {
public int sceneToLoad;
private SceneFadeInOut sceneFadeInOut;
public void OnEnable () {
if (GameObject.FindGameObjectWithTag(Tags.gameController)){
sceneFadeInOut = GameObject.FindGameObjectWithTag (Tags.gameController).... | mit | C# |
715d36409d391160f3de72ea1ad76dd41f10ae30 | Raise serialization complete async, as it can take like 15 seconds | GuitarRich/Unicorn,kamsar/Unicorn,MacDennis76/Unicorn,PetersonDave/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn,MacDennis76/Unicorn,rmwatson5/Unicorn,PetersonDave/Unicorn,kamsar/Unicorn | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | using System.Linq;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Serialization;
using Sitecore.Diagnostics;
using Sitecore.Eventing;
using Sitecore.Jobs;
using Unicorn.Predicates;
namespace Unicorn.Pipelines.UnicornSyncEnd
{
public class SendSerializationCompleteEvent : IUnicornSyncEndProces... | using System.Linq;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Serialization;
using Sitecore.Diagnostics;
using Sitecore.Eventing;
using Unicorn.Predicates;
namespace Unicorn.Pipelines.UnicornSyncEnd
{
public class SendSerializationCompleteEvent : IUnicornSyncEndProcessor
{
public void ... | mit | C# |
2020e0045a7f578bc7ca1b08a3410960209c82d2 | Remove unwanted enter. | KevinDockx/HttpCacheHeaders | test/Marvin.Cache.Headers.Test/Extensions/AppBuilderExtensionsFacts.cs | test/Marvin.Cache.Headers.Test/Extensions/AppBuilderExtensionsFacts.cs | using System;
using Microsoft.AspNetCore.Builder;
using Moq;
using Xunit;
namespace Marvin.Cache.Headers.Test.Extensions
{
public class AppBuilderExtensionsFacts
{
[Fact(Skip = "The Verify throws an exception because UseMiddleware is an extension function as well and can't be mocked, need to find ")]
... | using System;
using Microsoft.AspNetCore.Builder;
using Moq;
using Xunit;
namespace Marvin.Cache.Headers.Test.Extensions
{
public class AppBuilderExtensionsFacts
{
[Fact(Skip = "The Verify throws an exception because UseMiddleware is an extension function as well and can't be mocked, need to find ")]
... | mit | C# |
b1a5197cc78d21b9a150a5f6ade59cb6be3a2684 | Check null for extension | JeremyAnsel/helix-toolkit,helix-toolkit/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,Iluvatar82/helix-toolkit | Source/HelixToolkit.SharpDX.SharedModel/Extensions/MaterialExtension.cs | Source/HelixToolkit.SharpDX.SharedModel/Extensions/MaterialExtension.cs | #if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX
#else
namespace HelixToolkit.UWP
#endif
{
using Model;
using System;
public static class MaterialExtension
{
public static PhongMaterial ConvertToPhongMaterial(this PhongMaterialCore core)
{
return core == null ? null : new... | #if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX
#else
namespace HelixToolkit.UWP
#endif
{
using Model;
using System;
public static class MaterialExtension
{
public static PhongMaterial ConvertToPhongMaterial(this PhongMaterialCore core)
{
return new PhongMaterial()
... | mit | C# |
3166c6944dedcfd90c48d160d70e475b39e405fa | Update Base.props | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Properties/AssemblyInfo.cs | src/Avalonia.Xaml.Interactions/Properties/AssemblyInfo.cs | using System.Runtime.CompilerServices;
using Avalonia.Metadata;
[assembly: InternalsVisibleTo("Avalonia.Xaml.Interactions.UnitTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001002940ed211918fcf63c506fad1d3f7f958b21ff8f06fd2089398296173f9ca93a69b9b380a828bf13fa80d1745beeb917ec3692f4d10e44b... | using System.Runtime.CompilerServices;
using Avalonia.Metadata;
[assembly: InternalsVisibleTo("Avalonia.Xaml.Interactions.UnitTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001002940ed211918fcf63c506fad1d3f7f958b21ff8f06fd2089398296173f9ca93a69b9b380a828bf13fa80d1745beeb917ec3692f4d10e44b... | mit | C# |
782ec5ecb88e58c2e5adac01a48277aa0f3b7221 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.40")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.39")] | mit | C# |
91e32dde73727e000c7121da6427425556f91bd1 | Update GraylogSink.cs | whir1/serilog-sinks-graylog | src/Serilog.Sinks.Graylog/GraylogSink.cs | src/Serilog.Sinks.Graylog/GraylogSink.cs | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Serilog.Core;
using Serilog.Debugging;
using Serilog.Events;
using Serilog.Sinks.Graylog.Core;
using Serilog.Sinks.Graylog.Core.Transport;
namespace Serilog.Sinks.Graylog
{
public class GraylogSink : ILogEventSink, IDisposable
{
... | using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Serilog.Core;
using Serilog.Debugging;
using Serilog.Events;
using Serilog.Sinks.Graylog.Core;
using Serilog.Sinks.Graylog.Core.Transport;
namespace Serilog.Sinks.Graylog
{
public class GraylogSink : ILogEventSink, IDisposable
{
... | mit | C# |
cf37b17b8d6d9deb2026fb1cfdafbb9c2e0ebf9c | Add detailed comments to FileFlags | JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop | src/WInterop/FileManagement/FileFlags.cs | src/WInterop/FileManagement/FileFlags.cs | // ------------------------
// WInterop Framework
// ------------------------
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace WInterop.FileManagement
{
[Flags]
public enum ... | // ------------------------
// WInterop Framework
// ------------------------
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace WInterop.FileManagement
{
[Flags]
public enum ... | mit | C# |
33029ba31876013edffdd2eb468ea8f0d653624d | fix typing caused by breakpoint | hybrasyl/server,hybrasyl/server,baughj/hybrasylserver,baughj/hybrasylserver,baughj/hybrasylserver,hybrasyl/server | hybrasyl/ControlService.cs | hybrasyl/ControlService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;
using Hybrasyl.Objects;
using StackExchange.Redis;
namespace Hybrasyl
{
[ServiceContract]
public i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;
using Hybrasyl.Objects;
using StackExchange.Redis;
namespace Hybrasyl
{
[ServiceContract]
public i... | agpl-3.0 | C# |
5ebeec2373664dc38084c521a41baa0a5833a840 | Rename acceptance test with proper underscores. | dupdob/Michonne,dupdob/Michonne,dupdob/Michonne | PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs | PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs | namespace PastaPricer.Tests.Acceptance
{
using NSubstitute;
using NUnit.Framework;
[TestFixture]
public class PastaPricerAcceptanceTests
{
[Test]
public void Should_Publish_Pasta_Price_Once_Started_And_MarketData_Is_Available()
{
// Mocks instantiation
... | namespace PastaPricer.Tests.Acceptance
{
using NSubstitute;
using NUnit.Framework;
[TestFixture]
public class PastaPricerAcceptanceTests
{
[Test]
public void Should_PublishPastaPriceOnceStartedAndMarketDataIsAvailable()
{
// Mocks instantiation
var p... | apache-2.0 | C# |
7d1476d62a126bc0e823a0b8418ff99465156361 | 修改版本号。 | RabbitTeam/WeiXinSDK | Rabbit.WeiXin/SDK/Rabbit.WeiXin/Properties/AssemblyInfo.cs | Rabbit.WeiXin/SDK/Rabbit.WeiXin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Rabbit.WeiXin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Rabbit.WeiXin")]
[assembly... | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Rabbit.WeiXin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Rabbit.WeiXin")]
[assembly... | apache-2.0 | C# |
57ebae31b9b23fc8ba9e861f74eb6fea7051fbe2 | Fix serialization attributes | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/XPack/MachineLearning/PutCalendarJob/PutCalendarJobResponse.cs | src/Nest/XPack/MachineLearning/PutCalendarJob/PutCalendarJobResponse.cs | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nest
{
/// <summary> The response from creating a calendar job. </summary>
public class PutCalendarJobResponse : ResponseBase
{
[DataMember(Name = "calendar_id")]
public string CalendarId { get; internal set; }
[DataMember(Name ... | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nest
{
/// <summary> The response from creating a calendar job. </summary>
public class PutCalendarJobResponse : ResponseBase
{
[DataMember(Name = "calendar_id")]
public string CalendarId { get; internal set; }
[DataMember(Name ... | apache-2.0 | C# |
4192c5f1c43a5df6e17faf22c16de2b42918fd9c | Set color back to red. | Horizon0156/Trackify | BookingHelper/Bootstrapper.cs | BookingHelper/Bootstrapper.cs | using AutoMapper;
using BookingHelper.DataModels;
using BookingHelper.UI;
using BookingHelper.ViewModels;
using Horizon.Framework.Xaml.Extensions;
using MahApps.Metro;
using SimpleInjector;
using System;
using System.Windows;
namespace BookingHelper
{
/// <summary>
/// Bootstrapper for the BookingHelper appli... | using AutoMapper;
using BookingHelper.DataModels;
using BookingHelper.UI;
using BookingHelper.ViewModels;
using Horizon.Framework.Xaml.Extensions;
using MahApps.Metro;
using SimpleInjector;
using System;
using System.Windows;
namespace BookingHelper
{
/// <summary>
/// Bootstrapper for the BookingHelper appli... | mit | C# |
4043d3ebcc300c52be0345fd57a2d1bde44820e3 | Test namespace fix | madelson/DistributedLock | DistributedLock.Tests/Tests/SqlServer/SqlConnectionOptionsBuilderTest.cs | DistributedLock.Tests/Tests/SqlServer/SqlConnectionOptionsBuilderTest.cs | using Medallion.Threading.SqlServer;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Medallion.Threading.Tests.SqlServer
{
public class SqlConnectionOptionsBuilderTest
{
[Test]
public void TestValidatesArguments()
{
var bu... | using Medallion.Threading.SqlServer;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Medallion.Threading.Tests.Tests.SqlServer
{
public class SqlConnectionOptionsBuilderTest
{
[Test]
public void TestValidatesArguments()
{
... | mit | C# |
379eef1426228b857b16b4038db36ac33b9eb815 | add properties to merchant dto | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/MerchantDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/MerchantDto.cs | using PS.Mothership.Core.Common.Template.Cust;
using PS.Mothership.Core.Common.Template.Gen;
using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
using PS.Mothership.Core.Common.Dto.Contact;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
[DataContract]
public class MerchantD... | using PS.Mothership.Core.Common.Template.Cust;
using PS.Mothership.Core.Common.Template.Gen;
using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
using PS.Mothership.Core.Common.Dto.Contact;
namespace PS.Mothership.Core.Common.Dto.Merchant
{
[DataContract]
public class MerchantD... | mit | C# |
9db06fafd0b615b648076d1d875a7ea6fbc98d2d | Fix code formatting | peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Overlays/Profile/Sections/Recent/OtherIcon.cs | osu.Game/Overlays/Profile/Sections/Recent/OtherIcon.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Overlays.Profile.Sections.Recent
{
p... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Overlays.Profile.Sections.Recent
{
p... | mit | C# |
7e43c94eda96bc439ec654d17c9e38f55f8e0aae | Check null exception | Silphid/Silphid.Unity,Silphid/Silphid.Unity | Sources/Silphid.Loadzup/Sources/Abstractions/Exceptions/HttpException.cs | Sources/Silphid.Loadzup/Sources/Abstractions/Exceptions/HttpException.cs | using System;
using System.Collections.Generic;
using System.Net;
using Silphid.Extensions;
using UnityEngine.Networking;
namespace Silphid.Loadzup
{
public class HttpException : LoadzupException
{
public Uri Uri { get; }
public HttpStatusCode StatusCode { get; }
public string Response... | using System;
using System.Collections.Generic;
using System.Net;
using Silphid.Extensions;
using UnityEngine.Networking;
namespace Silphid.Loadzup
{
public class HttpException : LoadzupException
{
public Uri Uri { get; }
public HttpStatusCode StatusCode { get; }
public string Response... | mit | C# |
fa368eb24de64ce6cb62a121904964eb1f7560fc | Fix ArrayOutOfBounds | Quickshot/DupImageLib,Quickshot/DupImage | DupImageLib/ImageMagickTransformer.cs | DupImageLib/ImageMagickTransformer.cs | using System.IO;
using ImageMagick;
namespace DupImageLib
{
/// <summary>
/// Implements IImageTransformer interface using Magick.NET for image transforms.
/// </summary>
public class ImageMagickTransformer : IImageTransformer
{
public byte[] TransformImage(Stream stream, int width, int he... | using System.IO;
using ImageMagick;
namespace DupImageLib
{
/// <summary>
/// Implements IImageTransformer interface using Magick.NET for image transforms.
/// </summary>
public class ImageMagickTransformer : IImageTransformer
{
public byte[] TransformImage(Stream stream, int width, int he... | unknown | C# |
b285a8ff4e2f2cb81adc071a0f929cfd47c92b18 | Fix #31 | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf/Views/Shared/_Confirm.cshtml | Gamedalf/Views/Shared/_Confirm.cshtml | @model String
<div class="col-md-12">
<div class="form-group text-right">
<a href="@Url.Action("Index")" class="btn btn-default">Back</a>
<input type="submit" value="@Model" class="btn btn-primary" />
</div>
</div>
| @model String
<div class="form-group text-right">
<a href="@Url.Action("Index")" class="btn btn-default">Back</a>
<input type="submit" value="@Model" class="btn btn-primary" />
</div>
| mit | C# |
2f31c6f23b2d6ab5b633c4e2ff26c49f35b1f162 | fix crash on import midi null off event | stakira/OpenUtau,stakira/OpenUtau | OpenUtau.Core/Formats/Midi.cs | OpenUtau.Core/Formats/Midi.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NAudio.Midi;
using OpenUtau.Core.Ustx;
namespace OpenUtau.Core.Formats
{
public static class Midi
{
static public List<UVoicePart> Load(string file, UProject project)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NAudio.Midi;
using OpenUtau.Core.Ustx;
namespace OpenUtau.Core.Formats
{
public static class Midi
{
static public List<UVoicePart> Load(string file, UProject project)
{
... | mit | C# |
5bee99175f8c32969d16b23ec59b0f6f4f2817f7 | Fix tests | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/UnitTests/GitHub.App/ViewModels/GistCreationViewModelTests.cs | src/UnitTests/GitHub.App/ViewModels/GistCreationViewModelTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GitHub.Factories;
using GitHub.Services;
using GitHub.ViewModels;
using NSubstitute;
using Octokit;
using UnitTests;
using Xunit;
using System.Reactive.Linq;
using GitHub.Models;
using ReactiveUI;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GitHub.Factories;
using GitHub.Services;
using GitHub.ViewModels;
using NSubstitute;
using Octokit;
using UnitTests;
using Xunit;
using System.Reactive.Linq;
using GitHub.Models;
public class Gist... | mit | C# |
d4510a9cf24ed3911102811b8650b70b541f497d | Add enumerated ports to the list of serial ports, this currently causes duplicates but meh. | rmcardle/LazerTagHost,afaucher/LazerTagHost,afaucher/LazerTagHost,rmcardle/LazerTagHost | LazerTagHostLibrary/LazerTagSerial.cs | LazerTagHostLibrary/LazerTagSerial.cs |
using System;
using System.Collections.Generic;
using System.IO.Ports;
namespace LazerTagHostLibrary
{
public class LazerTagSerial
{
public LazerTagSerial ()
{
}
static public List<string> GetSerialPorts()
{
List<string> result = new List<string>();
... |
using System;
using System.Collections.Generic;
namespace LazerTagHostLibrary
{
public class LazerTagSerial
{
public LazerTagSerial ()
{
}
static public List<string> GetSerialPorts()
{
List<string> result = new List<string>();
System.IO.Direc... | mit | C# |
524ad9fcc846a9c145354490cd4317ec99d63908 | remove debug | ifgx/rtm-phase2 | Assets/scripts/environment/mushroom.cs | Assets/scripts/environment/mushroom.cs | using UnityEngine;
using System.Collections;
public class mushroom : MonoBehaviour, AudioProcessor.AudioCallbacks {
private AudioProcessor processor;
private bool initialized = false;
Animator animator;
private int danceMove = Random.Range (0, 3);
// Use this for initialization
void Start () {
processor = F... | using UnityEngine;
using System.Collections;
public class mushroom : MonoBehaviour, AudioProcessor.AudioCallbacks {
private AudioProcessor processor;
private bool initialized = false;
Animator animator;
private int danceMove = Random.Range (0, 3);
// Use this for initialization
void Start () {
processor = F... | cc0-1.0 | C# |
2a65dfec3eef1179ca84beb40631cef14e2b513a | Update OData assembly version to 5.4.0.0 | chimpinano/WebApi,abkmr/WebApi,abkmr/WebApi,congysu/WebApi,LianwMS/WebApi,lungisam/WebApi,LianwMS/WebApi,scz2011/WebApi,chimpinano/WebApi,lewischeng-ms/WebApi,congysu/WebApi,yonglehou/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi,scz2011/WebApi | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | mit | C# |
e66982910f5c802e48036fe4a0e4f8b4d9e2913d | Fix "its"/"it's" distinction | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder | PathfinderAPI/Mission/GoalManager.cs | PathfinderAPI/Mission/GoalManager.cs | using System.Reflection;
using Hacknet.Mission;
using Pathfinder.Event;
using Pathfinder.Util;
namespace Pathfinder.Mission;
public static class GoalManager
{
private static readonly Dictionary<string, Type> CustomGoals = new Dictionary<string, Type>();
static GoalManager()
{
EventManager.onPlug... | using System.Reflection;
using Hacknet.Mission;
using Pathfinder.Event;
using Pathfinder.Util;
namespace Pathfinder.Mission;
public static class GoalManager
{
private static readonly Dictionary<string, Type> CustomGoals = new Dictionary<string, Type>();
static GoalManager()
{
EventManager.onPlug... | mit | C# |
ff3b2de8290fa19bb497c158fd6a1c7a86c8fdef | Check native registry view for Windows version | freenet/wintray,freenet/wintray | Browsers/Edge.cs | Browsers/Edge.cs | using System;
using System.IO;
using Microsoft.Win32;
namespace FreenetTray.Browsers {
class Edge: Browser {
private static string NTVersionRegistryKey = @"SOFTWARE\Microsoft\Windows NT\CurrentVersion";
public Edge() {
RegistryKey reg = null;
if (Environment.Is64BitOpera... | using System;
using System.IO;
using Microsoft.Win32;
namespace FreenetTray.Browsers {
class Edge: Browser {
private static string NTVersionRegistryKey = @"SOFTWARE\Microsoft\Windows NT\CurrentVersion";
public Edge() {
// for this key we want registry redirection enabled, so no regis... | mit | C# |
65b1929354eec5dd3c171312c1abbd9e792e25ca | update for new docker ip | Pondidum/RabbitHarness,Pondidum/RabbitHarness | RabbitHarness.Tests/TestBase.cs | RabbitHarness.Tests/TestBase.cs | using System;
using RabbitMQ.Client;
namespace RabbitHarness.Tests
{
public class TestBase : IDisposable
{
protected const string Host = "10.0.75.2";
protected readonly string QueueName;
protected readonly string ExchangeName;
protected ConnectionFactory Factory { get; }
public TestBase()
{
Factory ... | using System;
using RabbitMQ.Client;
namespace RabbitHarness.Tests
{
public class TestBase : IDisposable
{
protected const string Host = "192.168.99.100";
protected readonly string QueueName;
protected readonly string ExchangeName;
protected ConnectionFactory Factory { get; }
public TestBase()
{
Fac... | lgpl-2.1 | C# |
8ec210ff5d6c8c4584e69fb99ef30292ef977595 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.TaskCache/ValuesOut.cs | RegistryPlugin.TaskCache/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TaskCache
{
public class ValuesOut:IValueOut
{
public ValuesOut(int version, string keyName, DateTimeOffset createdOn, DateTimeOffset? lastStart, DateTimeOffset? lastStop, int taskState, int lastActionResult, string source, st... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TaskCache
{
public class ValuesOut:IValueOut
{
public ValuesOut(int version, string keyName, DateTimeOffset createdOn, DateTimeOffset? lastStart, DateTimeOffset? lastStop, int taskState, int lastActionResult, string source, st... | mit | C# |
773ec833666a5b8f71548c3e4a1d7ce969fe7cf7 | Change version in AssemblyInfo | ProgTrade/SharpMath | SharpMath/Properties/AssemblyInfo.cs | SharpMath/Properties/AssemblyInfo.cs | // Author: Dominic Beger (Trade/ProgTrade) 2016
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: Assemb... | // Author: Dominic Beger (Trade/ProgTrade) 2016
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: Assemb... | mit | C# |
d4793d7927b63a1286535dd4c20512b5cc178ee5 | Remove unused variable. | JohanLarsson/Gu.Localization | Gu.Localization.Tests/TranslatorTests.cs | Gu.Localization.Tests/TranslatorTests.cs | namespace Gu.Localization.Tests
{
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Gu.Localization;
using NUnit.Framework;
public class TranslatorTests
{
[TestCase("AllLanguages", "en", "English")]
[TestCase("AllLanguages", "sv", "Sve... | namespace Gu.Localization.Tests
{
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Gu.Localization;
using NUnit.Framework;
public class TranslatorTests
{
[TestCase("AllLanguages", "en", "English")]
[TestCase("AllLanguages", "sv", "Sve... | mit | C# |
2731d0d4fa4a256f0a7f6e31d943be070a632a68 | add license | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/EnumConverter/EnumConverter.cs | Unity/EnumConverter/EnumConverter.cs | /**
MIT License
Copyright (c) 2017 NDark
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, publish, distr... | /*
@file EnumConverter.cs
@author NDark
@date 20170220 file started.
*/
using UnityEngine;
public class EnumIntConverter<S>
{
protected System.Collections.Generic.Dictionary<int , S > m_Converter
= new System.Collections.Generic.Dictionary<int , S > () ;
public virtual void DoInitialize()
{
m_IsInitialized =... | mit | C# |
a62508fa3ef198d927e1b8ddef17305a0299fb49 | Implement UpdateTPPCam() | bartlomiejwolk/TPPCamera | TPPCamSetterComponent/TPPCamSetter.cs | TPPCamSetterComponent/TPPCamSetter.cs | using TPPCamera.TPPCamComponent;
using UnityEngine;
namespace TPPCamera.TPPCamSetterComponent {
// todo extract to file
public enum Properties {
CameraOffset = 0x0001,
LookAtPointOffset = 0x0002
}
public class TPPCamSetter : MonoBehaviour {
#region FIELDS
[Seriali... | using TPPCamera.TPPCamComponent;
using UnityEngine;
namespace TPPCamera.TPPCamSetterComponent {
// todo extract to file
public enum Properties {
CameraOffset = 0x0001,
LookAtPointOffset = 0x0002
}
public class TPPCamSetter : MonoBehaviour {
#region FIELDS
[Seriali... | mit | C# |
6b0842d0399f1f8e93ba9267195ea39d8fa69540 | Make boolean literals keywords | jagrem/slang,jagrem/slang,jagrem/slang | slang.Tests/Lexing/Literals/BooleanLiteralTests.cs | slang.Tests/Lexing/Literals/BooleanLiteralTests.cs | using NUnit.Framework;
using slang.Lexing;
using System;
using System.Linq;
using FluentAssertions;
using System.Collections.Generic;
using slang.Lexing.Tokens.Keywords;
namespace slang.Tests.Lexing.Literals
{
[TestFixture]
public class BooleanLiteralTests
{
[TestCaseSource("GetLiterals")]
... | using NUnit.Framework;
using slang.Lexing;
using System;
using System.Linq;
using FluentAssertions;
using System.Collections.Generic;
using slang.Lexing.Tokens.Literals;
namespace slang.Tests.Lexing.Literals
{
[TestFixture]
public class BooleanLiteralTests
{
[TestCaseSource("GetLiterals")]
... | mit | C# |
1cc155e026a3452102796d267f369be388c7fe67 | バージョン1.0ってほどできてもいないので0.1へ変更 | hidari/UstdCsv2Ju | UstdCsv2Ju/Properties/AssemblyInfo.cs | UstdCsv2Ju/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("UstdCsv2Ju")]
[assembly: AssemblyDescript... | 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("UstdCsv2Ju")]
[assembly: AssemblyDescript... | mit | C# |
1a16877a339a4fe6dda3bdaa4398754f04b6e0f7 | Debug only when test manager is connected | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn | src/OmniSharp.DotNetTest/Services/DebugTestService.cs | src/OmniSharp.DotNetTest/Services/DebugTestService.cs | using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.Extensions.Logging;
using OmniSharp.DotNetTest.Models;
using OmniSharp.Eventing;
using OmniSharp.Mef;
using OmniSharp.Services;
namespace OmniSharp.DotNetTest.Services
{
[Sha... | using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.Extensions.Logging;
using OmniSharp.DotNetTest.Models;
using OmniSharp.Eventing;
using OmniSharp.Mef;
using OmniSharp.Services;
namespace OmniSharp.DotNetTest.Services
{
[Shared]
[Omni... | mit | C# |
b6f171b15b2e66b6797665e4f620ecf1aa9fc6d5 | Update component name | eric-davis/JustSaying,Intelliflo/JustSaying,Intelliflo/JustSaying | JustEat.Simples.Messaging/Component.cs | JustEat.Simples.Messaging/Component.cs | namespace JustEat.Simples.NotificationStack.Messaging
{
public enum Component { BoxHandler, OrderEngine, OrderApi, FulfilmentApi, SmsSender, LegacyOrderView }
} | namespace JustEat.Simples.NotificationStack.Messaging
{
public enum Component { BoxHandler, OrderEngine, OrderApi, FulfilmentApi, SmsSender, OrderStatusChanger }
} | apache-2.0 | C# |
2e5bec422ad605848e57139b5c0cc4bc4a915486 | Simplify parameters. | sharpjs/PSql,sharpjs/PSql | PSql.Core/_Commands/ConnectSqlCommand.cs | PSql.Core/_Commands/ConnectSqlCommand.cs | using System.Data.SqlClient;
using System.Management.Automation;
namespace PSql
{
[Cmdlet(VerbsCommunications.Connect, "Sql")]
[OutputType(typeof(SqlConnection))]
public class ConnectSqlCommand : Cmdlet
{
// -Context
[Parameter(ValueFromPipeline = true)]
public SqlContext Conte... | using System.Data.SqlClient;
using System.Management.Automation;
namespace PSql
{
[Cmdlet(VerbsCommunications.Connect, "Sql", DefaultParameterSetName = BasicName)]
[OutputType(typeof(SqlConnection))]
public class ConnectSqlCommand : Cmdlet
{
private const string
BasicName = "Basi... | isc | C# |
53c2180a58478acd291d0b478f910a12e0c19b19 | Improve user question when node conflict is not auto-resolved | configit-open-source/csmerge | Project/Item.cs | Project/Item.cs | using System;
using System.Xml.Linq;
namespace Project {
public abstract class Item: IEquatable<Item>, IConflictableItem {
public abstract override int GetHashCode();
public virtual string Action { get { return GetType().Name; } }
public abstract string Key { get; }
public bool IsResolveOption { ge... | using System;
using System.Xml.Linq;
namespace Project {
public abstract class Item: IEquatable<Item>, IConflictableItem {
public abstract override int GetHashCode();
public virtual string Action { get { return GetType().Name; } }
public abstract string Key { get; }
public bool IsResolveOption { ge... | mit | C# |
03675d11b8e2962efafb4b8ff04a48d19cd37ce4 | test harness wip | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal.Jobs.TestHarness/Program.cs | src/SFA.DAS.EAS.Portal.Jobs.TestHarness/Program.cs | using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SFA.DAS.EAS.Portal.Jobs.TestHarness.Scenarios;
using SFA.DAS.EAS.Portal.Jobs.TestHarness.Startup;
using SFA.DAS.EAS.Portal.Startup;
namespace SFA.DAS.EAS.Portal.Jobs.TestHarness
{
public static ... | using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SFA.DAS.EAS.Portal.Jobs.TestHarness.Scenarios;
using SFA.DAS.EAS.Portal.Jobs.TestHarness.Startup;
using SFA.DAS.EAS.Portal.Startup;
namespace SFA.DAS.EAS.Portal.Jobs.TestHarness
{
public static ... | mit | C# |
9373d92c70cb201440c860517de3460c0b8f3368 | Update StructuredLoggerCheckerUtil.cs | CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,bartdesmet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn... | src/Tools/BuildBoss/StructuredLoggerCheckerUtil.cs | src/Tools/BuildBoss/StructuredLoggerCheckerUtil.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.IO;
using System.Linq;
using Microsoft.Build.Logging.StructuredLogger... | // 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.IO;
using System.Linq;
using Microsoft.Build.Logging.StructuredLogger... | mit | C# |
1179fbfea1fa716e55ee20eb2183ae9fe6f0d116 | Update version | akorb/SteamShutdown | SteamShutdown/Properties/AssemblyInfo.cs | SteamShutdown/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("SteamShutdown")]
[assembly: Assemb... | 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("SteamShutdown")]
[assembly: Assemb... | mit | C# |
5cf710bdf43cd9181026485f7c46fa3ff551f94a | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.12")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.11")] | mit | C# |
62afebbf368f2c07f264c0e588e063a2e61b1bef | Add extra datatypes | SteamDatabase/ValveResourceFormat | ValveResourceFormat/Resource/DataType.cs | ValveResourceFormat/Resource/DataType.cs | namespace ValveResourceFormat
{
public enum DataType
{
SubStructure = 1,
Enum = 2,
Extref = 3,
String4 = 4,
Byte = 11,
Sint = 12,
Ushort = 13,
Number = 14,
Flags = 15,
Int64 = 16,
Uint64 = 17,
Float = 18,
Ve... | using System;
namespace ValveResourceFormat
{
public enum DataType : short
{
SubStructure = 1,
Enum = 2,
Extref = 3,
String4 = 4,
Byte = 11,
Sint = 12,
Ushort = 13,
Number = 14,
Flags = 15,
Int64 = 16,
Uint64 = 17,
... | mit | C# |
3c8de530ed624fe211e370b8c989b688ae24fe15 | add serialization between byte-stream and AccountStore data object | kingsamchen/EasyKeeper | VaultMarshal.cs | VaultMarshal.cs | /*
@ Kingsley Chen
*/
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace EasyKeeper {
public static class VaultMarshal {
private const uint ProtoclVersion = 1U;
public static void Marshal(string pwd, AccountStore store, Stream ou... | /*
@ Kingsley Chen
*/
using System.IO;
namespace EasyKeeper {
public static class VaultMarshal {
public static void Marshal(string pwd, AccountStore store, Stream stream)
{}
public static AccountStore Unmarshal(Stream stream, string pwd)
{
return null;
}
... | mit | C# |
cf1113080053ba030cb38367be79313d1aff15a6 | add new verify_txt_key | feinoujc/Mandrill.net | src/Mandrill.net/Model/Senders/MandrillSenderDomain.cs | src/Mandrill.net/Model/Senders/MandrillSenderDomain.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
namespace Mandrill.Model
{
public class MandrillSenderDomain
{
public string Domain { get; set; }
[JsonConverter(typeof(IsoDateTimeConverter))]
public DateTime CreatedAt { get; set; }
[JsonConverter(typeof(I... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
namespace Mandrill.Model
{
public class MandrillSenderDomain
{
public string Domain { get; set; }
[JsonConverter(typeof(IsoDateTimeConverter))]
public DateTime CreatedAt { get; set; }
[JsonConverter(typeof(I... | mit | C# |
adb0d25f5b9af4d61873addb795ad3fc63c56438 | Remove dependencies on removed modules. (#1950) | stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Or... | src/OrchardCore.Modules/OrchardCore.OpenId/Manifest.cs | src/OrchardCore.Modules/OrchardCore.OpenId/Manifest.cs | using OrchardCore.Modules.Manifest;
using OrchardCore.OpenId;
[assembly: Module(
Name = "OpenID",
Author = "The Orchard Team",
Website = "http://orchardproject.net",
Version = "2.0.0"
)]
[assembly: Feature(
Id = OpenIdConstants.Features.Client,
Name = "OpenID Client",
Category = "OpenID Co... | using OrchardCore.Modules.Manifest;
using OrchardCore.OpenId;
[assembly: Module(
Name = "OpenID",
Author = "The Orchard Team",
Website = "http://orchardproject.net",
Version = "2.0.0"
)]
[assembly: Feature(
Id = OpenIdConstants.Features.Client,
Name = "OpenID Client",
Category = "OpenID Co... | bsd-3-clause | C# |
6f5507f40fc63f7b7d18dd4cdfde4abeb3447d2d | Tweak title screen animation timings | mikelovesrobots/daft-pong,mikelovesrobots/daft-pong | app/Assets/Scripts/TitleAnimation.cs | app/Assets/Scripts/TitleAnimation.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class TitleAnimation : MonoBehaviour {
private const float FADE_ANIMATION_TIME = 2f;
private const float MOVE_ANIMATION_TIME = 1f;
private const float FADE_IN_AMOUNT = 0.5f;
private const float FADE_OUT_AMOUNT = 0f;
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class TitleAnimation : MonoBehaviour {
private const float FADE_ANIMATION_TIME = 2f;
private const float MOVE_ANIMATION_TIME = 2f;
private const float FADE_IN_AMOUNT = 0.5f;
private const float FADE_OUT_AMOUNT = 0f;
... | mit | C# |
3122ab76ce63591560b02bddc24bf91542c49c41 | Use a fixed size buffer rather than marshalling | jherby2k/AudioWorks | AudioWorks/src/Extensions/AudioWorks.Extensions.Flac/StreamInfo.cs | AudioWorks/src/Extensions/AudioWorks.Extensions.Flac/StreamInfo.cs | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks 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 Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks 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 Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | agpl-3.0 | C# |
5b85f6f46fb8f65159264e2ea6f98a9dab6f4173 | Update sexy course | gdm-201516-prodev3/wdad3,gdm-201516-prodev3/wdad3,gdm-201516-prodev3/wdad3 | LibraryApp/App.Web/Views/LibraryItem/_LibraryItemsPagedList.cshtml | LibraryApp/App.Web/Views/LibraryItem/_LibraryItemsPagedList.cshtml | @model IPagedList<LibraryItem>
@using PagedList
@if (Model != null && Model.Count() > 0)
{
<section class="paged-content">
<ul>
@foreach(var libraryItem in Model)
{
<li class="libraryitem" data-id="@libraryItem.Id">
<h3>@libraryItem.Title</h3>
<div class="libraryitem__meta">
<span class="meta__a... | @model IPagedList<LibraryItem>
@using PagedList
@if (Model != null && Model.Count() > 0)
{
<section class="paged-content">
@foreach(var libraryItem in Model)
{
<h3>@libraryItem.Title</h3>
}
</section>
}
else
{
<div class="well well-sm">
Geen items gevonden!
</div>
} | apache-2.0 | C# |
6eabf29d3db2720795339f0ad36f1544338942a4 | Update SingletonCache.cs | hikalkan/samples,hikalkan/samples,hikalkan/samples,hikalkan/samples | SingletonVsStatic/SingletonVsStatic.SingletonLib/SingletonCache.cs | SingletonVsStatic/SingletonVsStatic.SingletonLib/SingletonCache.cs | using System;
using System.Collections.Generic;
namespace SingletonVsStatic.SingletonLib
{
public class SingletonCache
{
public static SingletonCache Instance { get; } = new SingletonCache();
private readonly IDictionary<string, object> _cacheDictionary;
protected internal Si... | using System;
using System.Collections.Generic;
namespace SingletonVsStatic.SingletonLib
{
public class SingletonCache
{
public static SingletonCache Instance { get; } = new SingletonCache();
private readonly IDictionary<string, object> _cacheDictionary;
internal SingletonCac... | mit | C# |
eb110e56c72b3529cf9a7f649f499499315482a7 | clean code a bit | MehdiK/Humanizer,hazzik/Humanizer | src/Humanizer/Localisation/NumberToWords/FrenchNumberToWordsConverter.cs | src/Humanizer/Localisation/NumberToWords/FrenchNumberToWordsConverter.cs | using System.Collections.Generic;
namespace Humanizer.Localisation.NumberToWords
{
internal class FrenchNumberToWordsConverter : FrenchNumberToWordsConverterBase
{
protected override void CollectPartsUnderAHundred(ICollection<string> parts, ref int number, GrammaticalGender gender, bool pluralize)
... | using System.Collections.Generic;
namespace Humanizer.Localisation.NumberToWords
{
internal class FrenchNumberToWordsConverter : FrenchNumberToWordsConverterBase
{
protected override void CollectPartsUnderAHundred(ICollection<string> parts, ref int number, GrammaticalGender gender, bool pluralize)
... | mit | C# |
48200745c00b7681536ee66c657fa4cfa04e1f1d | Improve generation of verification keys. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Verification/Common/VerificationKeyManager.cs | src/MitternachtBot/Modules/Verification/Common/VerificationKeyManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using Mitternacht.Common.Collections;
namespace Mitternacht.Modules.Verification.Common {
public class VerificationKeyManager {
private static readonly RandomNumberGenerator _random = RandomNumberGenerator.Create(... | using System;
using System.Collections.Generic;
using System.Linq;
using Mitternacht.Common.Collections;
namespace Mitternacht.Modules.Verification.Common {
public class VerificationKeyManager {
private static readonly Random _random = new Random();
private static readonly ConcurrentHashSet<VerificationKey> _veri... | mit | C# |
f96cb0d0421658bb1e6baf7e980f7af8d72f916c | fix Upgrade_20220822_StartAfter | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20220822_StartAfter.cs | Signum.Upgrade/Upgrades/Upgrade_20220822_StartAfter.cs | using System;
using System.IO;
using System.Net;
using System.Net.Http;
namespace Signum.Upgrade.Upgrades;
class Upgrade_20220822_StartAfter : CodeUpgradeBase
{
public override string Description => "Rename StartXXAfter methods";
public override void Execute(UpgradeContext uctx)
{
uctx.ChangeCode... | using System;
using System.IO;
using System.Net;
using System.Net.Http;
namespace Signum.Upgrade.Upgrades;
class Upgrade_20220822_StartAfter : CodeUpgradeBase
{
public override string Description => "Rename StartXXAfter methods";
public override void Execute(UpgradeContext uctx)
{
uctx.ChangeCode... | mit | C# |
ca0f923ff6451740a4653a44eb1ca4eff681b3c2 | use endpoint routing in sample as in readme | DigDes/SoapCore | samples/Server/Startup.cs | samples/Server/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.... | mit | C# |
ba1b30c03b89655553b7bc79f357af08da7e49b8 | Fix PackerCompatibilityOptions is not marked as Flags. | scopely/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,scopely/msgpack-cli | src/MsgPack/PackerCompatibilityOptions.cs | src/MsgPack/PackerCompatibilityOptions.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2013 FUJIWARA, Yusuke
//
// 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.apac... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2013 FUJIWARA, Yusuke
//
// 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.apac... | apache-2.0 | C# |
ed4be3a7a118ed814c90cbe9823569c2131d47e8 | Make Drawable inherit from Container: Fix for Winforms PixelLayoutHandler. | PowerOfCode/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Platform.Windows/Forms/PixelLayoutHandler.cs | Source/Eto.Platform.Windows/Forms/PixelLayoutHandler.cs | using System;
using SD = System.Drawing;
using SWF = System.Windows.Forms;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.Windows
{
public class PixelLayoutHandler : WindowsLayout<SWF.Control, PixelLayout>, IPixelLayout
{
public override SWF.Control Control {
get {
return Widget.Container != nul... | using System;
using SD = System.Drawing;
using SWF = System.Windows.Forms;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.Windows
{
public class PixelLayoutHandler : WindowsLayout<SWF.Control, PixelLayout>, IPixelLayout
{
public override SWF.Control Control {
get {
return Widget.Container != nul... | bsd-3-clause | C# |
a0f2e2e28ce385fd735d299902e25730690ed2ca | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
4156a9a66d62d2988a4e543519ba90e2d0d6ccbe | Allow event chaining. | eightyeight/vlrtt,eightyeight/vlrtt | modules/stateMachine/main.cs | modules/stateMachine/main.cs | function StateMachine::onEvent(%this, %event) {
// See if there's a transition callback ssociated with this event.
%script = "on" @ %event;
if(%this.isMethod(%script)) {
%this.call(%script);
}
// Figure out the new state to transition to.
%trans = %this.transition[%this.state, %event];
// I... | function StateMachine::onEvent(%this, %event) {
// See if there's a transition callback ssociated with this event.
%script = "on" @ %event;
if(%this.isMethod(%script)) {
%this.call(%script);
}
// Figure out the new state to transition to.
%trans = %this.transition[%this.state, %event];
// I... | mit | C# |
b7bf27f6a0882eef5e039c5beb428e69466b4fef | Fix labels on SSD | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Shared/DisplayTemplates/SSDStatusModel.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/SSDStatusModel.cshtml | @model Soldier.SSDStatusModel
@if (Model != null)
{
<div>
@switch (Model.Rank)
{
case Rank.E1:
case Rank.E2:
case Rank.E3:
case Rank.E4:
<span class="label label-default">SSD 1</span>
return;
case Rank.E5:... | @model Soldier.SSDStatusModel
@if (Model != null)
{
<div>
@switch (Model.Rank)
{
case Rank.E1:
case Rank.E2:
case Rank.E3:
case Rank.E4:
<span class="label">SSD 1</span>
return;
case Rank.E5:
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.