commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
3ce1952af4bb0ed39ad1fed660431a77c34950cb | CefSharp.Example/CefExample.cs | CefSharp.Example/CefExample.cs | using System;
using System.Linq;
namespace CefSharp.Example
{
public static class CefExample
{
public const string DefaultUrl = "custom://cefsharp/BindingTest.html";
// Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work.
private const bool debu... | using System;
using System.Linq;
namespace CefSharp.Example
{
public static class CefExample
{
public const string DefaultUrl = "custom://cefsharp/BindingTest.html";
// Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work.
private const bool debu... | Add environment check to determine architecture | Add environment check to determine architecture
| C# | bsd-3-clause | windygu/CefSharp,VioletLife/CefSharp,illfang/CefSharp,AJDev77/CefSharp,illfang/CefSharp,rover886/CefSharp,ruisebastiao/CefSharp,jamespearce2006/CefSharp,joshvera/CefSharp,haozhouxu/CefSharp,wangzheng888520/CefSharp,rover886/CefSharp,rlmcneary2/CefSharp,zhangjingpu/CefSharp,rlmcneary2/CefSharp,wangzheng888520/CefSharp,I... |
d45b438bb0ceb8e20d8bf5d2f8d505e37f70f6fd | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | using System.Reflection;
#if DEBUG
[assembly: AssemblyProduct("Ensure.That (Debug)")]
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyProduct("Ensure.That (Release)")]
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyDescription("Yet another guard clause project.")... | using System.Reflection;
#if DEBUG
[assembly: AssemblyProduct("Ensure.That (Debug)")]
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyProduct("Ensure.That (Release)")]
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyDescription("Yet another guard clause project.")... | Include version to get e.g ReSharper happy. | Include version to get e.g ReSharper happy.
| C# | mit | danielwertheim/Ensure.That,danielwertheim/Ensure.That |
0b9a9a5101d6c25abdce11b41bf3143a3928afda | UnitTests/ExtensionsFixture.cs | UnitTests/ExtensionsFixture.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Moq.Tests
{
public class ExtensionsFixture
{
[Fact]
public void IsMockeableReturnsFalseForValueType()
{
Assert.False(typeof(int).IsMockeable());
}
// [Fact]
// pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Moq.Tests
{
public class ExtensionsFixture
{
#region Public Methods
[Fact]
public void IsMockeableReturnsFalseForValueType()
{
Assert.False(t... | Fix poorly written test (sorry). | Fix poorly written test (sorry).
- test was using obsolete methods, leading to a failed build in Release mode, because of the unit test was failing.
| C# | bsd-3-clause | RobSiklos/moq4,kulkarnisachin07/moq4,LeonidLevin/moq4,iskiselev/moq4,AhmedAssaf/moq4,HelloKitty/moq4,Moq/moq4,ocoanet/moq4,chkpnt/moq4,jeremymeng/moq4,JohanLarsson/moq4,AhmedAssaf/moq4,ramanraghur/moq4,kolomanschaft/moq4,breyed/moq4,madcapsoftware/moq4,cgourlay/moq4 |
0899829e0d433cc71dc4c34e2c977ca361c27b02 | src/Dotnet.Script.Core/ScriptDownloader.cs | src/Dotnet.Script.Core/ScriptDownloader.cs | using System;
using System.IO;
using System.IO.Compression;
using System.Net.Http;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
using (HttpClient client = new HttpClient())
... | using System;
using System.IO;
using System.IO.Compression;
using System.Net.Http;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
using (HttpClient client = new HttpClient())
... | Support remote scripts with empty/null Content Type | Support remote scripts with empty/null Content Type
| C# | mit | filipw/dotnet-script,filipw/dotnet-script |
4dd90d1584a1b82fbecd6a7c0e4afbbca06a4e7c | src/Firehose.Web/Authors/MartijnVanDijk.cs | src/Firehose.Web/Authors/MartijnVanDijk.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MartijnVanDijk : IAmAMicrosoftMVP, IAmAXamarinMVP
{
public IEnumerable<Uri> FeedUris
{
get { yield return new Uri("https://medium.com/feed/@martijn00"); ... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MartijnVanDijk : IAmAMicrosoftMVP, IAmAXamarinMVP
{
public IEnumerable<Uri> FeedUris
{
get { yield return new Uri("https://medium.com/feed/@martijn00"); ... | Add bio and Github profile | Add bio and Github profile | C# | mit | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin |
9abec8ae101be7d50e3c33ca999a128a7d4cad98 | src/MassTransit/Internals/Mapping/NullableValueObjectMapper.cs | src/MassTransit/Internals/Mapping/NullableValueObjectMapper.cs | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | Use a type converter to try and convert values | Use a type converter to try and convert values
| C# | apache-2.0 | jsmale/MassTransit |
40feeac06b804af4571404cb4696333906abb568 | osu.Framework/Platform/Linux/SDL2/SDL2Clipboard.cs | osu.Framework/Platform/Linux/SDL2/SDL2Clipboard.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.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.SDL2
{
public class SDL2Clipboard : Clipboard
{
private const ... | // 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 SDL2;
namespace osu.Framework.Platform.Linux.SDL2
{
public class SDL2Clipboard : Clipboard
{
public override string GetText() => SDL.SDL_GetClipboa... | Remove no longer required SDL2 P/Invokes in Linux clipboard | Remove no longer required SDL2 P/Invokes in Linux clipboard
| C# | mit | ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework |
fc0f01e957a169fd9b7b73c912cb73e3e0c74d13 | src/IdentityServer3.Contrib.AzureKeyVaultTokenSigningService/AzureKeyVaultPublicKeyProvider.cs | src/IdentityServer3.Contrib.AzureKeyVaultTokenSigningService/AzureKeyVaultPublicKeyProvider.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using IdentityServer.Contrib.JsonWebKeyAdapter;
using Microsoft.Azure.KeyVault;
using Microsoft.Extensions.OptionsModel;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Microsoft.IdentityModel.Protocols;
namespace IdentityServe... | using System.Collections.Generic;
using System.Threading.Tasks;
using IdentityServer.Contrib.JsonWebKeyAdapter;
using Microsoft.Azure.KeyVault;
using Microsoft.Extensions.OptionsModel;
using Microsoft.IdentityModel.Protocols;
namespace IdentityServer3.Contrib.AzureKeyVaultTokenSigningService
{
public class AzureK... | Tidy up some unused usings | Tidy up some unused usings
| C# | mit | MattCotterellNZ/IdentityServer3.Contrib.AzureKeyVaultTokenSigningService,MattCotterellNZ/IdentityServer.Contrib.AzureKeyVaultTokenSigningService |
e38e06c3d9ae7c0b0cd03c34f92997dade01c5ff | src/Workspaces/Remote/Core/Storage/RemotePersistentStorageLocationService.cs | src/Workspaces/Remote/Core/Storage/RemotePersistentStorageLocationService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.Co... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Composition;
using System.IO;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
names... | Store OOP server persistence database in a different file. | Store OOP server persistence database in a different file.
| C# | mit | brettfo/roslyn,Giftednewt/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,a-ctor/roslyn,jasonmalinowski/roslyn,AnthonyDGreen/roslyn,mattscheffer/roslyn,tmeschter/roslyn,mmitche/roslyn,amcasey/roslyn,xoofx/roslyn,a-ctor/roslyn,CaptainHayashi/roslyn,tannergooding/roslyn,AnthonyDGreen/roslyn,agocke/roslyn,AnthonyDGreen/rosl... |
137ecaef3ade46ef7fba5df70691e2c3e7df4399 | SH.Site/Views/Partials/_Disqus.cshtml | SH.Site/Views/Partials/_Disqus.cshtml | @inherits UmbracoViewPage<IMaster>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '@Umbraco.NiceUrlWithDomain(Model.Id)';
this.page.identifier = '@Model.Id';
this.page.title = '@Model.SeoMetadata.Title';
};
(function () {
var d = d... | @inherits UmbracoViewPage<IPublishedContent>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '@Umbraco.NiceUrlWithDomain(Model.Id)';
this.page.identifier = '@Model.Id';
this.page.title = '@Model.Name';
};
(function () {
var d = docu... | Update Disqus partial to use node name for the page title configuration variable | Update Disqus partial to use node name for the page title configuration variable
| C# | mit | stvnhrlnd/SH,stvnhrlnd/SH,stvnhrlnd/SH |
263d76421554042e5029d2e3b14b7fea473349ee | src/Microsoft.AspNetCore.WebSockets.Protocol/Properties/AssemblyInfo.cs | src/Microsoft.AspNetCore.WebSockets.Protocol/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.
[asse... | // 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.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle... | Fix assembly metadata to fix package verifier warnings | Fix assembly metadata to fix package verifier warnings
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
a06d6fb59c6c7e923b2e83dc32d1f1ff001f6eb2 | TAUtil/Gaf/Structures/GafFrameData.cs | TAUtil/Gaf/Structures/GafFrameData.cs | namespace TAUtil.Gaf.Structures
{
using System.IO;
public struct GafFrameData
{
public ushort Width;
public ushort Height;
public ushort XPos;
public ushort YPos;
public char Unknown1;
public bool Compressed;
public ushort FramePointers;
... | namespace TAUtil.Gaf.Structures
{
using System.IO;
public struct GafFrameData
{
public ushort Width;
public ushort Height;
public ushort XPos;
public ushort YPos;
public byte Unknown1;
public bool Compressed;
public ushort FramePointers;
... | Change char to byte in gaf frame header | Change char to byte in gaf frame header
| C# | mit | MHeasell/Mappy,MHeasell/Mappy |
222f319651020382c26ad358af0d17882938e81a | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
4777b1bf4a588f2e46c25045ea323b57657f8803 | Opserver/Views/SQL/Instance.Selector.cshtml | Opserver/Views/SQL/Instance.Selector.cshtml | @using StackExchange.Opserver.Data.SQL
@{
Layout = null;
var clusters = SQLModule.Clusters;
var standalone = SQLModule.StandaloneInstances;
}
@helper RenderInstances(IEnumerable<SQLInstance> instances)
{
foreach (var i in instances)
{
var props = i.ServerProperties.SafeData(true);
<... | @using StackExchange.Opserver.Data.SQL
@{
Layout = null;
var clusters = SQLModule.Clusters;
var standalone = SQLModule.StandaloneInstances;
}
@helper RenderInstances(IEnumerable<SQLInstance> instances, bool showVersion)
{
foreach (var i in instances)
{
var props = i.ServerProperties.SafeDat... | Add version to SQL instance selector screen | Add version to SQL instance selector screen
This selector now doubles as a dashboard for checking versions across
your infrastructure.
| C# | mit | GABeech/Opserver,GABeech/Opserver,opserver/Opserver,mqbk/Opserver,opserver/Opserver,manesiotise/Opserver,opserver/Opserver,manesiotise/Opserver,mqbk/Opserver,manesiotise/Opserver |
8a2e86c7ecbe5269c816f7206f58322a367e9a39 | src/NCrypt/NCrypt+NCryptCreatePersistedKeyFlags.cs | src/NCrypt/NCrypt+NCryptCreatePersistedKeyFlags.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="NCryp... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="NCryp... | Add values for a couple of enum values | Add values for a couple of enum values
| C# | mit | fearthecowboy/pinvoke,jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke |
f511b00bd4a803265036079fe170d18a717709ad | MessageBird/Objects/Recipient.cs | MessageBird/Objects/Recipient.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace MessageBird.Objects
{
public class Recipient
{
public enum RecipientStatus { Scheduled, Sent, Buffered, Delivered, DeliveryFailed };
[JsonProperty("recipient")]
public long Msisdn {get; set;}
[Js... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace MessageBird.Objects
{
public class Recipient
{
public enum RecipientStatus
{
// Message status
[EnumMember(Value = "scheduled")]
Scheduled,
... | Fix incorrect serialization of recipient status | Fix incorrect serialization of recipient status
| C# | isc | messagebird/csharp-rest-api |
e737a4deefe7f6a70144f991a6efe5850c7dee18 | src/Run/Interop.cs | src/Run/Interop.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
namespace Microsoft.DotNet.Execute
{
internal class Interop
{
publi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
namespace Microsoft.DotNet.Execute
{
internal class Interop
{
publi... | Improve parsing /etc/os-release, handle more cases. | Improve parsing /etc/os-release, handle more cases.
| C# | mit | joperezr/buildtools,alexperovich/buildtools,ericstj/buildtools,ChadNedzlek/buildtools,JeremyKuhne/buildtools,tarekgh/buildtools,karajas/buildtools,crummel/dotnet_buildtools,mmitche/buildtools,nguerrera/buildtools,weshaggard/buildtools,ianhays/buildtools,ChadNedzlek/buildtools,MattGal/buildtools,ericstj/buildtools,dotne... |
0c3682c5222a7f5fbd471b653928d6ee8eb402d2 | src/VisualStudio/IntegrationTest/TestUtilities/Common/ProjectUtilities.cs | src/VisualStudio/IntegrationTest/TestUtilities/Common/ProjectUtilities.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.Common.ProjectUtils
{
public abstract class Identity
{
public string Name { get; p... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.Common.ProjectUtils
{
public abstract class Identity
{
public st... | Set default relative path for Project Identity in Integration tests | Set default relative path for Project Identity in Integration tests
| C# | apache-2.0 | aelij/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,jcouv/roslyn,cston/roslyn,eriawan/roslyn,CaptainHayashi/roslyn,tmeschter/roslyn,dotnet/roslyn,tmat/roslyn,reaction1989/roslyn,agocke/roslyn,mavasani/roslyn,aelij/roslyn,MichalStrehovsky/roslyn,dpoeschl/roslyn,KevinRansom/roslyn,mmitche/roslyn,orthoxerox/roslyn,lorcanm... |
7d7a3bab0e86251710f0825c602719805f742f9b | osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.cs | osu.Game.Rulesets.Catch/Replays/CatchReplayFrame.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.Game.Beatmaps;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.Replays.Legacy;
using osu.Game.Rulesets.Replays.Types;
namespace osu.Game.Rule... | // 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.Game.Beatmaps;
using osu.Game.Rulesets.Catch.UI;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.Replays.Legacy;
using osu.Game.Rulesets.Replay... | Fix catch legacy replay positions not being relative to playfield size | Fix catch legacy replay positions not being relative to playfield size
| C# | mit | johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,Frontear/osuKyzer,peppy/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,naoey/osu,peppy/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,Useles... |
008efa081659d98d41da29b2a5304a60bc216d9a | Searching/ISearchService.cs | Searching/ISearchService.cs | #region
using System.Net;
using Tabster.Core.Data.Processing;
using Tabster.Core.Types;
#endregion
namespace Tabster.Core.Searching
{
/// <summary>
/// Tab service which enables searching.
/// </summary>
public interface ISearchService
{
/// <summary>
/// Serv... | #region
using System.Net;
using Tabster.Core.Data.Processing;
using Tabster.Core.Types;
#endregion
namespace Tabster.Core.Searching
{
/// <summary>
/// Tab service which enables searching.
/// </summary>
public interface ISearchService
{
/// <summary>
/// Serv... | Add setter to Proxy property. | Add setter to Proxy property.
| C# | apache-2.0 | GetTabster/Tabster.Core |
2467322501a2f7f03d98510f8ba7d83095cc1ebf | BTDB/Properties/AssemblyInfo.cs | BTDB/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("BTD... | 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("BTD... | Bump it even more to follow semver | Bump it even more to follow semver
| C# | mit | karasek/BTDB,klesta490/BTDB,Bobris/BTDB |
a51b3e2b5ae0e0f9c30847a12ed84c002a310dd6 | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | Upgrade version from 5.5.0 to 5.5.1 | Upgrade version from 5.5.0 to 5.5.1
| C# | mit | lungisam/WebApi,chimpinano/WebApi,scz2011/WebApi,yonglehou/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,chimpinano/WebApi,LianwMS/WebApi,scz2011/WebApi,yonglehou/WebApi,lewischeng-ms/WebApi,congysu/WebApi,congysu/WebApi,abkmr/WebApi,abkmr/WebApi,LianwMS/WebApi |
c12f88a48c2a0a861e0646f8b663fe152989abbc | XtabFileOpener/TableContainer/SpreadsheetTableContainer/ExcelTableContainer/ExcelTable.cs | XtabFileOpener/TableContainer/SpreadsheetTableContainer/ExcelTableContainer/ExcelTable.cs | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Office.Interop.Excel;
namespace XtabFileOpener.TableContainer.SpreadsheetTableContainer.ExcelTableContainer
{
/// <summary>
/// Implementation of Table, that manages an Excel table
/// </summary>
internal... | using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Office.Interop.Excel;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("XtabFileOpenerTest")]
namespace XtabFileOpener.TableContainer.SpreadsheetTableContainer.ExcelTableContainer
{
/// ... | Convert DateTime objects to ISO format that is understood by DBUnit. DateTime objects are returned by Excel if cell is formatted for date display. | Convert DateTime objects to ISO format that is understood by DBUnit. DateTime objects are returned by Excel if cell is formatted for date display.
| C# | apache-2.0 | TNG/xtab-opener |
5273595dc6f9ee28eb20b4c6b8bd51dcc88d05f0 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.NHibernate")]
[assembly: AssemblyDescription("Autofac Integration for NHibernate")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.NHibernate")]
[assembly: ComVisible(false)]
| Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.Extras.NHibernate |
3a31cd95015bc147b57e956e80a8b3537757f752 | Example1/Program.cs | Example1/Program.cs | using System;
using System.Threading;
namespace Example1
{
public class Program
{
public static void Main (string [] args)
{
using (var streamer = new AudioStreamer ("ws://agektmr.node-ninja.com:3000/socket"))
//using (var streamer = new AudioStreamer ("ws://localhost:3000/socket"))
{
... | using System;
using System.Threading;
namespace Example1
{
public class Program
{
public static void Main (string [] args)
{
using (var streamer = new AudioStreamer ("ws://agektmr.node-ninja.com:3000/socket"))
//using (var streamer = new AudioStreamer ("ws://localhost:3000/socket"))
{
... | Fix a few for Example1 | Fix a few for Example1
| C# | mit | TabbedOut/websocket-sharp,pjc0247/websocket-sharp-unity,Liryna/websocket-sharp,microdee/websocket-sharp,zq513705971/WebSocketApp,prepare/websocket-sharp,zq513705971/WebSocketApp,jogibear9988/websocket-sharp,zhangwei900808/websocket-sharp,2Toad/websocket-sharp,zq513705971/WebSocketApp,sta/websocket-sharp,sinha-abhishek/... |
d0016b4e1afcb3ab1df011ca4b63b3388cb7e680 | Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ServiceDecorator/NewtonsoftObjectToJsonTest.cs | Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ServiceDecorator/NewtonsoftObjectToJsonTest.cs | using System;
using NUnit.Framework;
namespace Google.Apis.Tools.CodeGen.Tests
{
[TestFixture()]
public class NewtonsoftObjectToJsonTest
{
[Test()]
public void TestCase ()
{
Assert.Fail("Not tested yet");
}
}
}
| /*
Copyright 2010 Google 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 agreed to in writing, so... | Correct the namespace and add copyright message. | Correct the namespace and add copyright message.
| C# | apache-2.0 | googleapis/google-api-dotnet-client,maha-khedr/google-api-dotnet-client,sqt-android/google-api-dotnet-client,eydjey/google-api-dotnet-client,liuqiaosz/google-api-dotnet-client,amit-learning/google-api-dotnet-client,joesoc/google-api-dotnet-client,shumaojie/google-api-dotnet-client,eshangin/google-api-dotnet-client,ajma... |
2571549fdb42adf894bd11632aa9c16a4a47d36e | Source/XenkoToolkit.Samples/XenkoToolkit.Samples.Game/Core/NavigationButtonHandler.cs | Source/XenkoToolkit.Samples/XenkoToolkit.Samples.Game/Core/NavigationButtonHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SiliconStudio.Core.Mathematics;
using SiliconStudio.Xenko.Input;
using SiliconStudio.Xenko.Engine;
using SiliconStudio.Xenko.UI.Controls;
using XenkoToolkit.Samples.Core;
namespace XenkoToolkit.Sa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SiliconStudio.Core.Mathematics;
using SiliconStudio.Xenko.Input;
using SiliconStudio.Xenko.Engine;
using SiliconStudio.Xenko.UI.Controls;
using XenkoToolkit.Samples.Core;
namespace XenkoToolkit.Sa... | Remove button handler on Cancel. | Remove button handler on Cancel.
| C# | mit | dfkeenan/XenkoToolkit,dfkeenan/XenkoToolkit |
f199e1027987bd1208dc71cbdd99bc1a445d5249 | src/SparkPost.Tests/UserAgentTests.cs | src/SparkPost.Tests/UserAgentTests.cs | using System;
using Xunit;
namespace SparkPost.Tests
{
public partial class ClientTests
{
public partial class UserAgentTests
{
private readonly Client.Settings settings;
public UserAgentTests()
{
settings = new Client.Settings();
... | using System;
using Xunit;
namespace SparkPost.Tests
{
public partial class ClientTests
{
public partial class UserAgentTests
{
private readonly Client.Settings settings;
public UserAgentTests()
{
settings = new Client.Settings();
... | Make agent test less brittle | Make agent test less brittle
| C# | apache-2.0 | darrencauthon/csharp-sparkpost,darrencauthon/csharp-sparkpost |
c5a8b429835a82f4e331471d8fe7158ff65b39ec | src/Tools/RPCGen.Tests/RPCGenTests.cs | src/Tools/RPCGen.Tests/RPCGenTests.cs | using Flood.Tools.RPCGen;
using NUnit.Framework;
using System;
using System.IO;
using System.Reflection;
namespace RPCGen.Tests
{
[TestFixture]
class RPCGenTests
{
[Test]
public void MainTest()
{
string genDirectory = Path.Combine("..", "..", "gen", "RPCGen.Tests");
... | using NUnit.Framework;
using System;
using System.IO;
namespace RPCGen.Tests
{
[TestFixture]
class RPCGenTests
{
[Test]
public void MainTest()
{
string genDirectory = Path.Combine("..", "..", "gen", "RPCGen.Tests");
Directory.CreateDirectory(genDirectory);... | Refactor assembly name in MainTests. | Refactor assembly name in MainTests.
| C# | bsd-2-clause | FloodProject/flood,FloodProject/flood,FloodProject/flood |
a1b9a4dc91aa75c4bd67eb931b4e58beec82e810 | app/views/bs_accordion.cshtml | app/views/bs_accordion.cshtml | @inherits Umbraco.Web.Mvc.UmbracoViewPage<dynamic>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" @AccordionHelper() href="#collapse-@Model.UniqueId">@Model.Header </a>
</h4>
</div>
<div id="collapse-@Model.Unique... | @inherits Umbraco.Web.Mvc.UmbracoViewPage<dynamic>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" @AccordionHelper() href="#collapse-@Model.UniqueId">@Model.Header </a>
</h4>
</div>
<div id="collapse-@Model.Unique... | Set accordion panels to be default collapsed | Set accordion panels to be default collapsed
| C# | mit | mmichaels01/umbraco-bootstrap-accordion-editor,mmichaels01/umbraco-bootstrap-accordion-editor,mmichaels01/umbraco-bootstrap-accordion-editor |
553169098369f48158835c55168863041f898dec | ValueUtilsTest/SampleClass.cs | ValueUtilsTest/SampleClass.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtilsTest {
class SampleClass {
public SampleEnum AnEnum;
public string AutoPropWithPrivateBackingField { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtilsTest {
struct CustomStruct {
public int Bla;
}
class SampleClass {
public SampleEnum AnEnum;
public int? NullableField;
pub... | Add tricky cases to test class: - nullable primitives - non-nullable custom structs - nullable structs | Add tricky cases to test class:
- nullable primitives
- non-nullable custom structs
- nullable structs
| C# | apache-2.0 | EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils |
5de6f908b2ab2642428e9cc84ecc0e7990201616 | source/XSharp.Launch/RuntimeHelper.cs | source/XSharp.Launch/RuntimeHelper.cs | #if NETCOREAPP2_1
using System.Runtime.InteropServices;
#endif
namespace XSharp.Launch
{
internal static class RuntimeHelper
{
public static bool IsWindows
{
get
{
#if NETCOREAPP2_1
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
#elif NET471... | #if NETCOREAPP2_0
using System.Runtime.InteropServices;
#endif
namespace XSharp.Launch
{
internal static class RuntimeHelper
{
public static bool IsWindows
{
get
{
#if NETCOREAPP2_0
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
#elif NET472... | Update conditional code blocks with new versions | Update conditional code blocks with new versions
| C# | bsd-3-clause | CosmosOS/XSharp,CosmosOS/XSharp,CosmosOS/XSharp |
b6ea350bd20879fcf9e96f20d6ec0175d50bff94 | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserFollowUserRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserFollowUserRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Post.Users.R... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Post.Users.R... | Add test for authorization requirement in TraktUserFollowUserRequest | Add test for authorization requirement in TraktUserFollowUserRequest
| C# | mit | henrikfroehling/TraktApiSharp |
005a9f9411cf877621a640c1181d6d7523555529 | src/Protractor/JavaScriptBy.cs | src/Protractor/JavaScriptBy.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using OpenQA.Selenium;
namespace Protractor
{
internal class JavaScriptBy : By
{
private string script;
private object[] args;
public JavaScriptBy(string script, params object[] args)
... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using OpenQA.Selenium;
using OpenQA.Selenium.Internal;
namespace Protractor
{
internal class JavaScriptBy : By
{
private string script;
private object[] args;
public JavaScriptBy(strin... | Fix NgBy when used with IWebElement | Fix NgBy when used with IWebElement
| C# | mit | sergueik/protractor-net,JonWang0/protractor-net,bbaia/protractor-net |
9a7a2cffc2e2d8b001804c68d0425e03c3ee1b52 | app/Desktop/Arguments.cs | app/Desktop/Arguments.cs | using System;
using DHT.Utils.Logging;
namespace DHT.Desktop {
sealed class Arguments {
private static readonly Log Log = Log.ForType<Arguments>();
public static Arguments Empty => new(Array.Empty<string>());
public string? DatabaseFile { get; }
public ushort? ServerPort { get; }
public string? ServerToke... | using System;
using DHT.Utils.Logging;
namespace DHT.Desktop {
sealed class Arguments {
private static readonly Log Log = Log.ForType<Arguments>();
public static Arguments Empty => new(Array.Empty<string>());
public string? DatabaseFile { get; }
public ushort? ServerPort { get; }
public string? ServerToke... | Allow database file path to be passed as the first command line argument to the app | Allow database file path to be passed as the first command line argument to the app
This adds support for directly opening files with the DHT app, for ex. in Windows Explorer by using "Open With", or by associating the ".dht" extension with the app.
| C# | mit | chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker |
f7049c22acd1054e3b7c919635ad93b36316198e | src/xp.cert/commands/Update_MacOSX.cs | src/xp.cert/commands/Update_MacOSX.cs | using System;
using System.IO;
using System.Diagnostics;
using Xp.Cert;
namespace Xp.Cert.Commands
{
public partial class Update : Command
{
const string SECURITY_EXECUTABLE = "/usr/bin/security";
const string SECURITY_ARGUMENTS = "find-certificate -a -p";
const string SECURITY_KEYCHAI... | using System;
using System.IO;
using System.Diagnostics;
using Xp.Cert;
namespace Xp.Cert.Commands
{
public partial class Update : Command
{
const string SECURITY_EXECUTABLE = "/usr/bin/security";
const string SECURITY_ARGUMENTS = "find-certificate -a -p";
const string SECURITY_KEYCHAI... | Add a newline to Mac OS X output | Add a newline to Mac OS X output
| C# | bsd-3-clause | xp-runners/cert |
71c856282bdec06c9879c0ac23187a9172ff3c8a | AndHUD/XHUD.cs | AndHUD/XHUD.cs | using System;
using Android.App;
using AndroidHUD;
namespace XHUD
{
public enum MaskType
{
// None = 1,
Clear,
Black,
// Gradient
}
public static class HUD
{
public static Activity MyActivity;
public static void Show(string message, int progress = -1, MaskType maskType = MaskType.Black)
{
AndHU... | using System;
using Android.App;
using AndroidHUD;
namespace XHUD
{
public enum MaskType
{
// None = 1,
Clear,
Black,
// Gradient
}
public static class HUD
{
public static Activity MyActivity;
public static void Show(string message, int progress = -1, MaskType maskType = MaskType.Black)
{
AndHU... | Format change to match other methods; | Format change to match other methods; | C# | apache-2.0 | Redth/AndHUD,Redth/AndHUD,skela/AndHUD |
0c52ffefe7d8fccd1f1c0b75b703be525e2dfdb6 | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostPlayedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostPlayedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostPlayedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostPlayedMovie>, Trak... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostPlayedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostPl... | Add filter property to most played movies request. | Add filter property to most played movies request.
| C# | mit | henrikfroehling/TraktApiSharp |
6e9e923abba8a8d96452c731b490c20048037a24 | GoldenAnvil.Utility.Windows/CommonConverters.cs | GoldenAnvil.Utility.Windows/CommonConverters.cs | using System;
using System.Globalization;
using System.Windows.Data;
namespace GoldenAnvil.Utility.Windows
{
public static class CommonConverters
{
public static readonly IValueConverter BooleanNot = new BooleanNotConverter();
private sealed class BooleanNotConverter : IValueConverter
{
public object Conv... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace GoldenAnvil.Utility.Windows
{
public static class CommonConverters
{
public static readonly IValueConverter BooleanNot = new BooleanNotConverter();
public static readonly IValueConverter BooleanToVisibility = n... | Add BooleanToVisibility, IsEqual, and IsEqualToVisbility converters | Add BooleanToVisibility, IsEqual, and IsEqualToVisbility converters
| C# | mit | SaberSnail/GoldenAnvil.Utility |
62c7ab7d5053e8571af9d2c4fb929726d1b58e68 | OpenVASManager.cs | OpenVASManager.cs | using System;
using System.Xml;
using System.Xml.Linq;
namespace openvassharp
{
public class OpenVASManager : IDisposable
{
private OpenVASSession _session;
public OpenVASManager ()
{
_session = null;
}
public OpenVASManager(OpenVASSession session)
{
if (session != null)
_session = session;
... | using System;
using System.Xml;
using System.Xml.Linq;
namespace openvassharp
{
public class OpenVASManager : IDisposable
{
private OpenVASSession _session;
public OpenVASManager(OpenVASSession session)
{
if (session != null)
_session = session;
}
public XDocument GetVersion() {
return _session... | Remove un-needed ctor and other methods | Remove un-needed ctor and other methods | C# | bsd-3-clause | VolatileMindsLLC/openvas-sharp |
4e3e09d4188722777d36a7859911cf0b10b00b85 | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserUnfollowUserRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserUnfollowUserRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Delete;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
[TestClass]
public class TraktUserUnfollow... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Delete;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Requests;
[TestClass]
... | Add test for authorization requirement in TraktUserUnfollowUserRequest | Add test for authorization requirement in TraktUserUnfollowUserRequest
| C# | mit | henrikfroehling/TraktApiSharp |
bc11b838cd1abd3064fd0565ca6fd3143670f001 | src/Fixie/ReflectionExtensions.cs | src/Fixie/ReflectionExtensions.cs | namespace Fixie
{
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
public static class ReflectionExtensions
{
public static string TypeName(this object o)
{
return o?.GetType().FullName;
}
public stati... | namespace Fixie
{
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
public static class ReflectionExtensions
{
public static string TypeName(this object o)
{
return o?.GetType().FullName;
}
public stati... | Remove calls to GetTypeInfo() now that they are no longer necessary for our minimum netcoreapp version of 2.0. | Remove calls to GetTypeInfo() now that they are no longer necessary for our minimum netcoreapp version of 2.0.
| C# | mit | fixie/fixie |
a716481f945bce7800e3e7d24504d1709f82af0e | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | Fix take until exception error. | [liuxia] Fix take until exception error.
| C# | mit | AxeDotNet/AxePractice.CSharpViaTest |
c4183bf0736e2083cf65ed7d69a329a4335b0ebe | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Identity/IdentityRegistrar.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Identity/IdentityRegistrar.cs | using AbpCompanyName.AbpProjectName.Authorization;
using AbpCompanyName.AbpProjectName.Authorization.Roles;
using AbpCompanyName.AbpProjectName.Authorization.Users;
using AbpCompanyName.AbpProjectName.Editions;
using AbpCompanyName.AbpProjectName.MultiTenancy;
using Microsoft.AspNetCore.Identity;
using Microsoft.Exten... | using AbpCompanyName.AbpProjectName.Authorization;
using AbpCompanyName.AbpProjectName.Authorization.Roles;
using AbpCompanyName.AbpProjectName.Authorization.Users;
using AbpCompanyName.AbpProjectName.Editions;
using AbpCompanyName.AbpProjectName.MultiTenancy;
using Microsoft.AspNetCore.Identity;
using Microsoft.Exten... | Add PermissionChecker for Identity registration. | Add PermissionChecker for Identity registration.
| C# | mit | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template |
f7e11873472235822e5136daa5994cfdda692156 | src/WriteStdout.cs | src/WriteStdout.cs | using System;
namespace kgrep {
public class WriteStdout : IHandleOutput {
public void Write(string line) {
if (line.EndsWith("\n"))
Console.Write(line);
else
Console.Write(line);
}
public string Close() {
... | using System;
namespace kgrep {
public class WriteStdout : IHandleOutput {
public void Write(string line) {
Console.WriteLine(line);
}
public string Close() {
return "";
}
}
}
| Use newline when writing to stdout. | Use newline when writing to stdout.
The unit tests do not test stdout. Need a regression suite to test stdout to catch these conditions.
| C# | mit | kcummings/kgrep,kcummings/kgrep |
5d92cbd9a65676cadb5c1f234f50c13b77f7b3cf | RestRPC.Framework/Messages/Outputs/WebReturn.cs | RestRPC.Framework/Messages/Outputs/WebReturn.cs | using Newtonsoft.Json;
using RestRPC.Framework.Messages.Inputs;
namespace RestRPC.Framework.Messages.Outputs
{
/// <summary>
/// This message is sent to server as a response to a request
/// </summary>
class WebReturn : WebOutput
{
const char HEADER_RETURN = 'r';
[JsonConstructor]... | using Newtonsoft.Json;
using RestRPC.Framework.Messages.Inputs;
namespace RestRPC.Framework.Messages.Outputs
{
/// <summary>
/// This message is sent to server as a response to a request
/// </summary>
class WebReturn : WebOutput
{
const char HEADER_RETURN = 'r';
[JsonConstructor]... | Return a single value in procedure return message | Return a single value in procedure return message
| C# | mit | LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC |
d752c11837cbff987d9e3b993645fa208f40e5a1 | Alexa.NET/Response/Reprompt.cs | Alexa.NET/Response/Reprompt.cs | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class Reprompt
{
public Reprompt()
{
}
public Reprompt(string text)
{
OutputSpeech = new PlainTextOutputSpeech {Text = text};
}
public Reprompt(Ssml.Speech speech)
{
... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class Reprompt
{
public Reprompt()
{
}
public Reprompt(string text)
{
OutputSpeech = new PlainTextOutputSpeech {Text = text};
}
public Reprompt(S... | Add directives to reprompt object | Add directives to reprompt object
| C# | mit | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet |
645615f9730ab5d27f1759ea1f095b1963cc16bf | CouchTrafficClient/QueryBase.cs | CouchTrafficClient/QueryBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.Dynamic;
namespace CouchTrafficClient
{
class QueryException : Exception
{
}
class QueryBase
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using Newtonsoft.Json;
using System.Windows.Forms;
using System.Dynamic;
namespace CouchTrafficClient
{
class QueryException : Exception
{
}
class QueryBase
{
... | Add support for optional list of keys to limit view queries | Add support for optional list of keys to limit view queries
| C# | apache-2.0 | stacybird/CS510CouchDB,stacybird/CS510CouchDB,stacybird/CS510CouchDB |
58d471a20ea1aa645a66dbcafaad5287cc932d0d | src/Glimpse.Common/Broker/DefaultMessageConverter.cs | src/Glimpse.Common/Broker/DefaultMessageConverter.cs | using Newtonsoft.Json;
using System;
using System.Globalization;
using System.IO;
using System.Text;
namespace Glimpse
{
public class DefaultMessageConverter : IMessageConverter
{
private readonly JsonSerializer _jsonSerializer;
public DefaultMessageConverter(JsonSerializer jsonSerializer)
... | using Newtonsoft.Json;
using System;
using System.Globalization;
using System.IO;
using System.Text;
namespace Glimpse
{
public class DefaultMessageConverter : IMessageConverter
{
private readonly JsonSerializer _jsonSerializer;
public DefaultMessageConverter(JsonSerializer jsonSerializer)
... | Remove unneeded property carry over for jsonwritter | Remove unneeded property carry over for jsonwritter
| C# | mit | Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototyp... |
386818b87093aef876ff37077d7594d0238d77b2 | Scripting/Script/Application.cs | Scripting/Script/Application.cs | using System.Windows.Forms;
namespace IronAHK.Scripting
{
partial class Script
{
public static void Init()
{
Application.EnableVisualStyles();
}
public static void Run()
{
Application.Run();
}
}
}
| using System;
using System.Windows.Forms;
namespace IronAHK.Scripting
{
partial class Script
{
public static void Init()
{
if (Environment.OSVersion.Platform == PlatformID.Unix)
Environment.SetEnvironmentVariable("MONO_VISUAL_STYLES", "gtkplus");
Applic... | Enable GTK theming on Mono. | Enable GTK theming on Mono.
| C# | bsd-2-clause | yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,polyethene/IronAHK |
54ea5b5eefa896a91df29f32f693b7873c3fbf35 | src/Storage/Atom.cs | src/Storage/Atom.cs | using System;
namespace Scheme.Storage
{
internal abstract class Atom : Object
{
public static Atom Parse(string input)
{
double number;
bool isNumber = Double.TryParse(input, out number);
if (isNumber)
return new Number(number);
... | using System;
namespace Scheme.Storage
{
internal abstract class Atom : Object
{
public static Atom Parse(string input)
{
double number;
bool isNumber = Double.TryParse(input, out number);
if (isNumber)
return new Number(number);
... | Fix a bug with parsing. | Fix a bug with parsing.
| C# | apache-2.0 | phamhathanh/scheme-net,phamhathanh/scheme |
f5c27d99a4f3a3d9255a7cebe554703a2612dff4 | osu.Game/IPC/BeatmapImporter.cs | osu.Game/IPC/BeatmapImporter.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Diagnostics;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.IPC
{
public class Beat... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Diagnostics;
using System.Threading.Tasks;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game... | Add error handling to import process (resolves await warning). | Add error handling to import process (resolves await warning).
| C# | mit | naoey/osu,UselessToucan/osu,2yangk23/osu,peppy/osu,peppy/osu,NeoAdonis/osu,RedNesto/osu,ppy/osu,smoogipoo/osu,tacchinotacchi/osu,ZLima12/osu,naoey/osu,Frontear/osuKyzer,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,DrabWeb/osu,2yangk23/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu-new,Nabile-Rahmani/osu,nyaamara/osu,... |
8d488a5dae7934c822351940a12befc7ffa0f548 | Mos6510/Register.cs | Mos6510/Register.cs | using System;
using System.Collections;
namespace Mos6510
{
public class Register
{
public Register(int numberOfBits)
{
bits = new BitArray(numberOfBits);
}
public int Length
{
get { return bits.Length; }
}
public int GetValue()
{
return ToInt();
}
publi... | using System;
using System.Collections;
namespace Mos6510
{
public class Register
{
private BitArray bits;
public Register(int numberOfBits)
{
bits = new BitArray(numberOfBits);
}
public int Length
{
get { return bits.Length; }
}
public int GetValue()
{
retu... | Move the private member to the top of the class | Move the private member to the top of the class
| C# | mit | joshpeterson/mos,joshpeterson/mos,joshpeterson/mos |
d811a70f4b42cb638a6cc6be169acfb0f99275f9 | osu.Game/Screens/Edit/PromptForSaveDialog.cs | osu.Game/Screens/Edit/PromptForSaveDialog.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Sprites;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Screens.Edit
{
public class PromptForSaveDialog : PopupDialog
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Sprites;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Screens.Edit
{
public class PromptForSaveDialog : PopupDialog
... | Change button types on editor exit dialog to match purpose | Change button types on editor exit dialog to match purpose
Addresses https://github.com/ppy/osu/discussions/17363.
| C# | mit | ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu |
d64a0e8aaa39aaa6099a71d9fc5160b9486d1953 | src/Orchard.Web/Modules/Orchard.MultiTenancy/Extensions/UrlHelperExtensions.cs | src/Orchard.Web/Modules/Orchard.MultiTenancy/Extensions/UrlHelperExtensions.cs | using System.Web.Mvc;
using Orchard.Environment.Configuration;
namespace Orchard.MultiTenancy.Extensions {
public static class UrlHelperExtensions {
public static string Tenant(this UrlHelper urlHelper, ShellSettings tenantShellSettings) {
//info: (heskew) might not keep the port inserti... | using System.Web.Mvc;
using Orchard.Environment.Configuration;
namespace Orchard.MultiTenancy.Extensions {
public static class UrlHelperExtensions {
public static string Tenant(this UrlHelper urlHelper, ShellSettings tenantShellSettings) {
//info: (heskew) might not keep the port/vdir in... | Add "ApplicationPath" in tenant URL | Add "ApplicationPath" in tenant URL
--HG--
branch : dev
| C# | bsd-3-clause | salarvand/orchard,xiaobudian/Orchard,bedegaming-aleksej/Orchard,openbizgit/Orchard,m2cms/Orchard,salarvand/orchard,bigfont/orchard-cms-modules-and-themes,phillipsj/Orchard,omidnasri/Orchard,fassetar/Orchard,JRKelso/Orchard,OrchardCMS/Orchard-Harvest-Website,dburriss/Orchard,enspiral-dev-academy/Orchard,LaserSrl/Orchard... |
86b1f21f8d5bca1e5d340433e42d49fdf85d9e54 | Kudu.SignalR/Hubs/Deployment.cs | Kudu.SignalR/Hubs/Deployment.cs | using System.Collections.Generic;
using System.Linq;
using Kudu.Core.Deployment;
using Kudu.SignalR.ViewModels;
using SignalR.Hubs;
namespace Kudu.SignalR.Hubs
{
public class Deployment : Hub
{
private readonly IDeploymentManager _deploymentManager;
public Deployment(IDeploymentManager deploy... | using System.Collections.Generic;
using System.Linq;
using Kudu.Core.Deployment;
using Kudu.SignalR.ViewModels;
using SignalR.Hubs;
namespace Kudu.SignalR.Hubs
{
public class Deployment : Hub
{
private readonly IDeploymentManager _deploymentManager;
public Deployment(IDeploymentManager deploy... | Order the list of deployments by start time. | Order the list of deployments by start time.
| C# | apache-2.0 | uQr/kudu,badescuga/kudu,barnyp/kudu,mauricionr/kudu,juvchan/kudu,badescuga/kudu,barnyp/kudu,EricSten-MSFT/kudu,mauricionr/kudu,shibayan/kudu,oliver-feng/kudu,shrimpy/kudu,projectkudu/kudu,shibayan/kudu,puneet-gupta/kudu,oliver-feng/kudu,juoni/kudu,puneet-gupta/kudu,shrimpy/kudu,YOTOV-LIMITED/kudu,mauricionr/kudu,kenego... |
b000d25657f5020c63503cad9042fe73de2e80f2 | HearthDb.EnumsGenerator/Program.cs | HearthDb.EnumsGenerator/Program.cs | using System;
using System.Linq;
using System.Net;
using System.IO;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.MSBuild;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace HearthDb.EnumsGenerator
{
internal class Program
{
private const stri... | using System;
using System.Linq;
using System.Net;
using System.IO;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.MSBuild;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace HearthDb.EnumsGenerator
{
internal class Program
{
private const stri... | Add random param to enums url | Add random param to enums url
| C# | mit | HearthSim/HearthDb |
5296bc73791120900f0e3a26c67391868b2f523a | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
[assembly: AssemblyVersion("2.10.7.0")]
[assembly: AssemblyFileVersion("2.10.7.0")]
[assembly: AssemblyInformationalVersion("2.10.7")]
| using System.Reflection;
[assembly: AssemblyVersion("2.11.0.0")]
[assembly: AssemblyFileVersion("2.11.0.0")]
[assembly: AssemblyInformationalVersion("2.11.0")]
| Update version number to 2.11.0. | Update version number to 2.11.0.
Add ability to disable SQLite logging through the 'disableSqliteLogging' app setting.
| C# | mit | Faithlife/System.Data.SQLite,Faithlife/System.Data.SQLite |
dc807bc67dc49ce7d1f4345d4d67eff0c16573d6 | Messaging/Plugin.Messaging.iOSUnified/PhoneCallTask.cs | Messaging/Plugin.Messaging.iOSUnified/PhoneCallTask.cs | using System;
#if __UNIFIED__
using Foundation;
using UIKit;
#else
using MonoTouch.Foundation;
using MonoTouch.UIKit;
#endif
namespace Plugin.Messaging
{
internal class PhoneCallTask : IPhoneCallTask
{
public PhoneCallTask()
{
}
#region IPhoneCallTask Members
public bo... | using System;
#if __UNIFIED__
using Foundation;
using UIKit;
using CoreTelephony;
#else
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.CoreTelephony;
#endif
namespace Plugin.Messaging
{
internal class PhoneCallTask : IPhoneCallTask
{
public PhoneCallTask()
{
}
... | Improve CanMakePhoneCall on iOS to check support of url and link to a carrier | Improve CanMakePhoneCall on iOS to check support of url and link to a carrier
| C# | mit | cjlotz/Xamarin.Plugins,cjlotz/Xamarin.Plugins,BSVN/Xamarin.Plugins,BSVN/Xamarin.Plugins |
03a2aacfc7dc4230e6bd0c0a64ac7b7e4569242d | Kudu.Web/Infrastructure/ApplicationExtensions.cs | Kudu.Web/Infrastructure/ApplicationExtensions.cs | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml.Linq;
using Kudu.Client.Deployment;
using Kudu.Client.Infrastructure;
using Kudu.Client.SourceControl;
using Kudu.Core.SourceControl;
using Kudu.Web.Models;
namespace Kudu.Web.Infrastructure
{
public static class ApplicationEx... | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml.Linq;
using Kudu.Client.Deployment;
using Kudu.Client.Infrastructure;
using Kudu.Client.SourceControl;
using Kudu.Core.SourceControl;
using Kudu.Web.Models;
namespace Kudu.Web.Infrastructure
{
public static class ApplicationEx... | Fix a few service paths in portal | Fix a few service paths in portal
| C# | apache-2.0 | duncansmart/kudu,juvchan/kudu,barnyp/kudu,shrimpy/kudu,shrimpy/kudu,shanselman/kudu,juoni/kudu,shibayan/kudu,chrisrpatterson/kudu,barnyp/kudu,bbauya/kudu,uQr/kudu,EricSten-MSFT/kudu,oliver-feng/kudu,oliver-feng/kudu,sitereactor/kudu,YOTOV-LIMITED/kudu,puneet-gupta/kudu,shibayan/kudu,dev-enthusiast/kudu,kali786516/kudu,... |
2a14ba93d8b97510a1a32bb231d33bce3d4d8652 | Linking/Form1.cs | Linking/Form1.cs | using System;
using System.Drawing;
using System.Windows.Forms;
using Linking.Controls;
using Linking.Core;
using Linking.Core.Blocks;
namespace Linking
{
public partial class Form1 : Form
{
public Form1()
{
//이것도 커밋해 보시지!!
InitializeComponent();
Board board... | using System;
using System.Drawing;
using System.Windows.Forms;
using Linking.Controls;
using Linking.Core;
using Linking.Core.Blocks;
namespace Linking
{
public partial class Form1 : Form
{
public Form1()
{
//이것도 커밋해 보시지!!
InitializeComponent();
Board board... | Remove useless code in blockcontrol test | Remove useless code in blockcontrol test
| C# | mit | phillyai/Linking-VPL |
d71e2267c2adc5bb59af3ac7c14b2325fe9d92fa | Mvc.JQuery.Datatables/TypeExtensions.cs | Mvc.JQuery.Datatables/TypeExtensions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
public static class TypeExtensions
{
public static IEnumerable<PropertyInfo> GetSortedProperties(this Type t)
{
return from pi in t.GetProperties()
le... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
namespace Mvc.JQuery.Datatables
{
public static class TypeExtensions
{
public static IEnumerable<PropertyInfo> GetSortedProperties(this Type t)
{
... | Add namespace and fix DisplayAttribute.Order evaluation to avoid exception when Order is not set. | Add namespace and fix DisplayAttribute.Order evaluation to avoid exception
when Order is not set.
| C# | mit | Sohra/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,Sohra/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,seguemark/mvc.jquery.datatables |
288a6b9b8d301bded0a14f4238a9bd82f47f044f | PixelPet/CLI/Commands/PadPalettesCmd.cs | PixelPet/CLI/Commands/PadPalettesCmd.cs | using LibPixelPet;
using System;
namespace PixelPet.CLI.Commands {
internal class PadPalettesCmd : CliCommand {
public PadPalettesCmd()
: base("Pad-Palettes",
new Parameter(true, new ParameterValue("width", "0"))
) { }
public override void Run(Workbench workbench, ILogger logger) {
int width = Find... | using LibPixelPet;
using System;
namespace PixelPet.CLI.Commands {
internal class PadPalettesCmd : CliCommand {
public PadPalettesCmd()
: base("Pad-Palettes",
new Parameter(true, new ParameterValue("width", "0")),
new Parameter("color", "c", false, new ParameterValue("value", "0"))
) { }
public ov... | Add parameter specifying color to pad with. | Pad-Palettes: Add parameter specifying color to pad with.
| C# | mit | Prof9/PixelPet |
12637321950c4eec9ced71f271d4d927f42e43e8 | Deploy/Program.cs | Deploy/Program.cs | using System;
using System.Diagnostics;
[assembly: CLSCompliant(true)]
namespace IronAHK.Setup
{
static partial class Program
{
static void Main(string[] args)
{
TransformDocs();
PackageZip();
AppBundle();
BuildMsi();
}
[Condit... | using System;
using System.Diagnostics;
[assembly: CLSCompliant(true)]
namespace IronAHK.Setup
{
static partial class Program
{
static void Main(string[] args)
{
TransformDocs();
PackageZip();
AppBundle();
if (Environment.OSVersion.Platform == ... | Build MSI only on Windows. | Build MSI only on Windows.
| C# | bsd-2-clause | michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,polyethene/IronAHK,polyethene/IronAHK,yatsek/IronAHK,polyethene/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK |
23c7fd9409424939a24f3bfeda93d127d872d198 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
| C# | mit | autofac/Autofac.Extras.CommonServiceLocator |
4e88456fd6d9af5ed6d0047b3ce92967ed62ea5b | cardio/cardio/Ext/ButtonExt.cs | cardio/cardio/Ext/ButtonExt.cs | using System;
using System.Windows.Controls;
using static System.Reactive.Linq.Observable;
namespace cardio.Ext
{
/// <summary>
/// Represents Button Extension
/// </summary>
static class ButtonExt
{
/// <summary>
/// Disables the button
/// </summary>
/// <param na... | using System;
using System.Windows.Controls;
using static System.Reactive.Linq.Observable;
using static System.Diagnostics.Contracts.Contract;
namespace cardio.Ext
{
/// <summary>
/// Represents Button Extension
/// </summary>
static class ButtonExt
{
/// <summary>
/// Disables the... | Add Code Contracts in ButonExt | Add Code Contracts in ButonExt
The three methods here has added code contracts:
- Disable
- Enable
- StreamButtonClick
| C# | mit | ronnelreposo/cardiotocography |
4668fe4e2e6c0d79f8aab34c36af46fac59f86b8 | TeamCityBuildChanges/Program.cs | TeamCityBuildChanges/Program.cs | using System;
using System.Collections.Generic;
using ManyConsole;
namespace TeamCityBuildChanges
{
class Program
{
static int Main(string[] args)
{
var commands = GetCommands();
return ConsoleCommandDispatcher.DispatchCommand(commands, args, Console.Out);
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using ManyConsole;
namespace TeamCityBuildChanges
{
class Program
{
static int Main(string[] args)
{
var commands = GetCommands();
return ConsoleCommandDispatcher.DispatchCommand(commands, args, Console.... | Fix for base command being shown as command on command line. | Fix for base command being shown as command on command line.
| C# | mit | TicketSolutionsPtyLtd/TeamCityBuildChanges,BenPhegan/TeamCityBuildChanges |
0d612efb38c83ecd71b89c83b10003947966e768 | Tests/DisplayTests/FullScreen.cs | Tests/DisplayTests/FullScreen.cs | using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class HelloWorldProgram : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
... | using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class FullscreenTest : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
{... | Correct full screen test class name. | Correct full screen test class name. | C# | mit | eylvisaker/AgateLib |
23bad1be56b37247dec5cda367627186152d0d39 | PluginLoader/Plugins.cs | PluginLoader/Plugins.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace PluginLoader
{
public static class Plugins<T> where T : class
{
/// <summary>
/// Loads interface plugins from the specified location.
/// </summary>
/// <param name="path">Load ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace PluginLoader
{
public static class Plugins<T> where T : class
{
/// <summary>
/// Loads interface plugins from the specified location.
/// </summary>
/// <param name="path">Load ... | Add possibility to customize plugin search pattern | Add possibility to customize plugin search pattern
This changes the generic plugin load method in a way that now instead of hard coding plugin search file pattern the search pattern is now optional argument for the method.
The default is still "if_*.dll" but now the caller can change that if needed.
| C# | mit | tparviainen/oscilloscope |
5e785212abcf0ab12a277fe598f27ef56f597ba0 | ClrSpy/Jobs/DumpMemoryJob.cs | ClrSpy/Jobs/DumpMemoryJob.cs | using System.IO;
using ClrSpy.CliSupport;
using ClrSpy.Debugger;
using Microsoft.Diagnostics.Runtime.Interop;
namespace ClrSpy.Jobs
{
public class DumpMemoryJob : IDebugJob
{
private readonly DebugRunningProcess target;
public int Pid => target.Process.Pid;
public string D... | using System.IO;
using ClrSpy.CliSupport;
using ClrSpy.Debugger;
using Microsoft.Diagnostics.Runtime.Interop;
namespace ClrSpy.Jobs
{
public class DumpMemoryJob : IDebugJob
{
private readonly DebugRunningProcess target;
public int Pid => target.Process.Pid;
public string D... | Include symbols, etc in the memory dump | Include symbols, etc in the memory dump
| C# | unlicense | alex-davidson/clrspy |
a0233fd29b7edeac07e4f7d0ec948354b2f07332 | Battery-Commander.Web/Views/Soldiers/List.cshtml | Battery-Commander.Web/Views/Soldiers/List.cshtml | @model IEnumerable<Soldier>
<h2>Soldiers @Html.ActionLink("Add New", "New", "Soldiers", null, new { @class = "btn btn-default" })</h2>
<table class="table table-striped">
<thead>
<tr>
<th></th>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Rank)</th>
<th>@Html.Displ... | @model IEnumerable<Soldier>
<h2>Soldiers @Html.ActionLink("Add New", "New", "Soldiers", null, new { @class = "btn btn-default" })</h2>
<table class="table table-striped">
<thead>
<tr>
<th></th>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().FirstName)</th>
<th>@Html.... | Change list display for soldiers | Change list display for soldiers
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
84d520349a34016317e45cc9f61bb791e9de4f43 | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
using System.Globalization;
namespace MessageBird.Json.Converters
{
public class RFC3339DateTimeConverter : JsonConverter
{
private const string format = "Y-m-d\\TH:i:sP";
public override void WriteJson(JsonWriter writer, object... | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
using System.Globalization;
namespace MessageBird.Json.Converters
{
public class RFC3339DateTimeConverter : JsonConverter
{
// XXX: Format should be "yyyy-MM-dd'T'THH:mm:ssK".
// However, due to bug the endpoint expects the curr... | Use expected, but incorrect, truncated RFC3339 format | Use expected, but incorrect, truncated RFC3339 format
The endpoint expects a truncated RFC3339 date & time format.
When this is fixed, change back to RFC3339 format.
| C# | isc | messagebird/csharp-rest-api |
234b3b0a63dce8d08671d17452ce008cb676d1ae | Assets/Scripts/HUD_Manager.cs | Assets/Scripts/HUD_Manager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUD_Manager : MonoBehaviour
{
// The names of the GUI objects we're editing
public string amountXPElementName;
public string playerHealthElementName;
public string equippedWeaponIconElemen... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUD_Manager : MonoBehaviour
{
// The names of the GUI objects we're editing
public string amountXPElementName;
public string playerHealthElementName;
public string equippedWeaponIconElemen... | Fix XP text not displaying | Fix XP text not displaying
| C# | mit | jamioflan/LD38 |
80fdefef2a0283b2d36954f4266e4aaa3133e702 | ConsoleProgressBar/Program.cs | ConsoleProgressBar/Program.cs | using System;
using System.Threading;
namespace ConsoleProgressBar
{
/// <summary>
/// Simple program with sample usage of ConsoleProgressBar.
/// </summary>
class Program
{
public static void Main(string[] args)
{
using (var progressBar = new ConsoleProgressBar(totalUn... | using System;
using System.Threading;
namespace ConsoleProgressBar
{
/// <summary>
/// Simple program with sample usage of ConsoleProgressBar.
/// </summary>
class Program
{
public static void Main(string[] args)
{
using (var progressBar = new ConsoleProgressBar(totalUn... | Adjust sample to fit on default Windows cmd console. | Adjust sample to fit on default Windows cmd console.
| C# | mit | cmarcusreid/cs-console-progress |
250bed5d62c82a7d7c30140918d82d4a30f134e9 | KryptPadWebApp/Email/EmailHelper.cs | KryptPadWebApp/Email/EmailHelper.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Web;
namespace KryptPadWebApp.Email
{
public class EmailHelper
{
/// <summary>
/// Sends an email
/// </sum... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Web;
namespace KryptPadWebApp.Email
{
public class EmailHelper
{
/// <summary>
/// Sends an email
/// </sum... | Update to send mail function | Update to send mail function
| C# | mit | KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite |
402267bf8efd9fd525eda96bb123c9aa185d9b5a | CefSharp.MinimalExample.Wpf/App.xaml.cs | CefSharp.MinimalExample.Wpf/App.xaml.cs | using System;
using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class App : Application
{
public App()
{
//Perform dependency check to make sure all relevant resources are in our output directory.
var settings = new CefSettings();
... | using System;
using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class App : Application
{
public App()
{
//Perform dependency check to make sure all relevant resources are in our output directory.
var settings = new CefSettings();
... | Remove call to EnableInternalPdfViewerOffScreen as it's been removed as Chromium no longer supports disabling of surfaces | Remove call to EnableInternalPdfViewerOffScreen as it's been removed as Chromium no longer supports disabling of surfaces
| C# | mit | cefsharp/CefSharp.MinimalExample |
e49d82e2290b3427df3f134ceb6db430955b5a73 | SPAD.Interfaces/Configuration/IProfileOptionsProvider.cs | SPAD.Interfaces/Configuration/IProfileOptionsProvider.cs | using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SPAD.neXt.Interfaces.Configuration
{
public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider
{ ... | using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SPAD.neXt.Interfaces.Configuration
{
public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider
{ ... | Add option for groupname to group options by groups | Add option for groupname to group options by groups
| C# | mit | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt |
49fc2d9af406e5f3c6e44cb5e3c0d68840bce3d8 | Database.Migrations/Migrator.cs | Database.Migrations/Migrator.cs | using System;
using FluentMigrator.Runner;
using FluentMigrator.Runner.Announcers;
using FluentMigrator.Runner.Initialization;
using FluentMigrator.Runner.Processors.SqlServer;
namespace BroadbandStats.Database.Migrations
{
public sealed class Migrator
{
private readonly string connectionString;
... | using System;
using BroadbandStats.Database.Migrations.Migrations;
using FluentMigrator.Runner;
using FluentMigrator.Runner.Announcers;
using FluentMigrator.Runner.Initialization;
using FluentMigrator.Runner.Processors.SqlServer;
namespace BroadbandStats.Database.Migrations
{
public sealed class Migrator
{
... | Fix the namespace following an earlier rename | Fix the namespace following an earlier rename
| C# | mit | adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats |
146bb4a8b32e0e4eff491febac2122ec4c9dfe76 | Plugins/ITabsterPlugin.cs | Plugins/ITabsterPlugin.cs | namespace Tabster.Core.Plugins
{
public interface ITabsterPlugin
{
string Name { get; }
string Description { get; }
string Author { get; }
string Version { get; }
string[] PluginClasses { get; }
}
}
| using System;
namespace Tabster.Core.Plugins
{
public interface ITabsterPlugin
{
string Name { get; }
string Description { get; }
string Author { get; }
string Version { get; }
Type[] Types { get; }
}
}
| Use types instead of fully qualified names. | Use types instead of fully qualified names.
| C# | apache-2.0 | GetTabster/Tabster.Core |
4edfd8153dfade6e8fcdf18e4b93d6fae18707ec | Common/Data/OnionState.cs | Common/Data/OnionState.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Data
{
public class OnionState
{
public bool Enabled { get; set; } = true;
public bool CustomWorldSize { get; set; } = false;
public int Width { get; set... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Data
{
public class OnionState
{
public bool Enabled { get; set; } = true;
public bool CustomWorldSize { get; set; } = false;
public int Width { get; set... | Change default world size to compensate for use of chunks | Change default world size to compensate for use of chunks
| C# | mit | fistak/MaterialColor |
e86f46099d2d26c81bea033ad4db8ed506a8bb3c | CefSharp/IRequest.cs | CefSharp/IRequest.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Specialized;
namespace CefSharp
{
public interface IRequest
{
string Url { get; set; }
string Me... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Specialized;
namespace CefSharp
{
public interface IRequest
{
string Url { get; set; }
string Me... | Add xml comment to TransitionType | Add xml comment to TransitionType
| C# | bsd-3-clause | wangzheng888520/CefSharp,dga711/CefSharp,rlmcneary2/CefSharp,gregmartinhtc/CefSharp,twxstar/CefSharp,battewr/CefSharp,AJDev77/CefSharp,NumbersInternational/CefSharp,ITGlobal/CefSharp,battewr/CefSharp,rover886/CefSharp,rover886/CefSharp,gregmartinhtc/CefSharp,rover886/CefSharp,Haraguroicha/CefSharp,jamespearce2006/CefSh... |
58dbc63c6e85fecf9f13aea709e1397bd790161b | osu.Game.Rulesets.Catch/Mods/CatchModHardRock.cs | osu.Game.Rulesets.Catch/Mods/CatchModHardRock.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.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModHardRock : ModHardRock
{
public override double Sc... | // 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.MathUtils;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Mods;
using System;
namespace osu.Game.Rulesets.Catch.Mods
{
... | Add HardRock position mangling for CatchTheBeat | Add HardRock position mangling for CatchTheBeat
| C# | mit | NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,DrabWeb/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,ZLima12/osu,peppy/osu,peppy/osu,DrabWeb/osu,Nabile-Rahmani/osu,naoey/osu,2yangk23/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,naoey/o... |
73026d1332bd46711a1f30ade51476855ce19d10 | RavenDBBlogConsole/Program.cs | RavenDBBlogConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Raven.Client.Document;
namespace RavenDBBlogConsole
{
class Program
{
static void Main(string[] args)
{
var docStore = new DocumentStore()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Raven.Client.Document;
namespace RavenDBBlogConsole
{
class Program
{
static void Main(string[] args)
{
var docStore = new DocumentStore()
... | Add object with collection properties | Add object with collection properties
| C# | mit | bmsullivan/RavenDBBlogConsole |
f8f0535532eb8e18083f68160c8ee3b45d9a27c1 | BmpListener/Bmp/BMPInitiation.cs | BmpListener/Bmp/BMPInitiation.cs | using System;
namespace BmpListener.Bmp
{
public class BmpInitiation : BmpMessage
{
public BmpInitiation(BmpHeader bmpHeader)
: base(bmpHeader)
{ }
}
} | using System;
namespace BmpListener.Bmp
{
public class BmpInitiation : BmpMessage
{
public BmpInitiation(BmpHeader bmpHeader)
: base(bmpHeader)
{
BmpVersion = BmpHeader.Version;
}
public int BmpVersion { get; }
}
} | Add BMP version to initiation message | Add BMP version to initiation message
| C# | mit | mstrother/BmpListener |
b89f71d2de8366172f190f46951a36cdca38e06a | Source/TimesheetParser/MainViewModel.cs | Source/TimesheetParser/MainViewModel.cs | using System.Windows.Input;
using Microsoft.Practices.Prism.Commands;
namespace TimesheetParser
{
class MainViewModel
{
public ICommand CopyCommand { get; set; }
public MainViewModel()
{
CopyCommand = new DelegateCommand<string>(CopyCommand_Executed);
}
vo... | using System.Windows;
using System.Windows.Input;
using Microsoft.Practices.Prism.Commands;
namespace TimesheetParser
{
class MainViewModel
{
public ICommand CopyCommand { get; set; }
public MainViewModel()
{
CopyCommand = new DelegateCommand<string>(CopyCommand_Executed);... | Implement text copying to Clipboard. | Implement text copying to Clipboard.
| C# | mit | dermeister0/TimesheetParser,dermeister0/TimesheetParser |
9c6939b886a5c621ceb63fcf9d4333d8dd055ba0 | WebApplication/Views/Sites/Index.cshtml | WebApplication/Views/Sites/Index.cshtml | @using DataAccess
@using Localization
@using WebApplication.Helpers
@using WebGrease
@model IEnumerable<DataAccess.Site>
@{
ViewBag.Title = Resources.LabelSitesList;
}
@Html.Partial("_PageTitlePartial")
<table class="table">
<tr>
<th></th>
<th>
@Html.DisplayNameFor(model => model.Na... | @using DataAccess
@using Localization
@using WebApplication.Helpers
@using WebGrease
@model IEnumerable<DataAccess.Site>
@{
ViewBag.Title = Resources.LabelSitesList;
}
@Html.Partial("_PageTitlePartial")
<table class="table">
<tr>
<th></th>
<th>
@Html.DisplayNameFor(model => model.Na... | Hide the site report on really small screens. | Hide the site report on really small screens.
| C# | mit | blackradley/nesscliffe,blackradley/nesscliffe,blackradley/nesscliffe |
372b44969157835b8acf25dd8b098f23ffce6a44 | WolfyBot.Core/IRCMessage.cs | WolfyBot.Core/IRCMessage.cs | //
// Copyright 2014 luke
//
// 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... | //
// Copyright 2014 luke
//
// 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... | Implement basic IRC Message without parsing IRC format yet | Implement basic IRC Message without parsing IRC
format yet | C# | apache-2.0 | Luke-Wolf/wolfybot |
d77256c6ba3258fa08435a798b974dd2523c936e | Tool/Support/DaemonEventLoop.cs | Tool/Support/DaemonEventLoop.cs | using System.Linq;
using OdjfsScraper.Database;
namespace OdjfsScraper.Tool.Support
{
public class DaemonEventLoop
{
private readonly Entities _ctx;
public DaemonEventLoop(Entities ctx)
{
_ctx = ctx;
UpdateCounts();
CurrentStep = 0;
IsRun... | using System.Linq;
using OdjfsScraper.Database;
namespace OdjfsScraper.Tool.Support
{
public class DaemonEventLoop
{
private readonly Entities _ctx;
public DaemonEventLoop(Entities ctx)
{
_ctx = ctx;
UpdateCounts();
CurrentStep = -1;
IsRu... | Fix daemon event loop bugs | Fix daemon event loop bugs
| C# | mit | SmartRoutes/OdjfsScraper |
2e5a40eddf839b6ce4cfbca727db92828e504562 | osu.Android/OsuGameActivity.cs | osu.Android/OsuGameActivity.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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | // 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 Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Ac... | Add an IntentFilter to handle osu! files. | Add an IntentFilter to handle osu! files.
| C# | mit | smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu |
7e816677ae812add67236baedfcff9fc0da265b2 | ActorTestingFramework/RandomScheduler.cs | ActorTestingFramework/RandomScheduler.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace ActorTestingFramework
{
public class RandomScheduler : IScheduler
{
private readonly Random rand;
public RandomScheduler(int seed)
{
rand = new Random(seed);
}
private static bool... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ActorTestingFramework
{
public class RandomScheduler : IScheduler
{
private readonly Random rand;
public RandomScheduler(int seed)
{
rand = new Random(seed);
}
private static bool... | Change how yield works: treat more op types as "progress". | Change how yield works: treat more op types as "progress".
| C# | mit | paulthomson/adara-actors |
987f6f8924ac9938bd620723890a9b21942faf22 | Source/SerializableTypesValueProvider.cs | Source/SerializableTypesValueProvider.cs | using System.Reflection;
#if !NETCORE
using System.Runtime.Serialization;
#endif
namespace Moq
{
/// <summary>
/// A <see cref="IDefaultValueProvider"/> that returns an empty default value
/// for serializable types that do not implement <see cref="ISerializable"/> properly,
/// and returns the value provided b... | using System.Reflection;
#if !NETCORE
using System.Runtime.Serialization;
#endif
namespace Moq
{
#if !NETCORE
/// <summary>
/// A <see cref="IDefaultValueProvider"/> that returns an empty default value
/// for serializable types that do not implement <see cref="ISerializable"/> properly,
/// and returns the val... | Fix an issue where ISerializable is not available on .NET Core | Fix an issue where ISerializable is not available on .NET Core
It's unfortunate that conditional compilation directives cannnot
contain just part of a Xml Doc comment.
| C# | bsd-3-clause | Moq/moq4,ocoanet/moq4 |
9bfb2d9f865f10b308ce85d2efc2d34ec4d3390b | src/Resonance.Windows/Program.cs | src/Resonance.Windows/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.WindowsServices;
using Resonance.Common.Web;
using System.Diagnostics;
using System.Linq;
namespace Resonance.Windows
{
public class Program
{
public static void Main(string[] args)
{
var isService = !(Debugger.... | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.WindowsServices;
using Resonance.Common.Web;
using System.Diagnostics;
using System.Linq;
namespace Resonance.Windows
{
public class Program
{
public static void Main(string[] args)
{
System.IO.Directory.SetCurr... | Fix execution of windows app | Fix execution of windows app
| C# | apache-2.0 | archrival/Resonance |
e278ab67bd7ce8cd2cd4f5bde9520ea82545d8dc | src/Core/SupurlativeOptions.cs | src/Core/SupurlativeOptions.cs | using System;
using System.Collections.Generic;
namespace RimDev.Supurlative
{
public class SupurlativeOptions
{
public static readonly SupurlativeOptions Defaults =
new SupurlativeOptions();
public UriKind UriKind { get; set; }
public string PropertyNameSeperator { get; s... | using System;
using System.Collections.Generic;
namespace RimDev.Supurlative
{
public class SupurlativeOptions
{
public static SupurlativeOptions Defaults
{
get
{
return new SupurlativeOptions();
}
}
public UriKind UriKind { ... | Fix issue of singleton causing false-positives during running of full test-suite | Fix issue of singleton causing false-positives during running of full test-suite
Commit 0de2fbaf70a6617a00243c26871cda53bafb3101 introduced a `DummyFormatter` which is intended to throw an exception during invoking of the formatter.
Related tests capture this exception.
However, since most tests use the `SupurlativeO... | C# | mit | kendaleiv/Supurlative,ritterim/Supurlative,billboga/Supurlative |
732d2a7d75c2b35977c0056c4b34ef26678766ae | src/GifWin/Data/GifWinDatabaseHelper.cs | src/GifWin/Data/GifWinDatabaseHelper.cs | using Microsoft.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GifWin.Data
{
class GifWinDatabaseHelper : IDisposable
{
GifWinContext db;
public GifWinDatabaseHelper()
{
db = new Gi... | using Microsoft.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GifWin.Data
{
class GifWinDatabaseHelper : IDisposable
{
GifWinContext db;
public GifWinDatabaseHelper()
{
db = new Gi... | Add way to record usage, fix LoadAllGifsAsync | Add way to record usage, fix LoadAllGifsAsync
Avoid some of the overhead of calling .ToArrayAsync() by
calling LoadAsync.
| C# | mit | bojanrajkovic/GifWin |
6fff253d07e459f72b41f4e3dcd0597c54472597 | src/Activities/SyncActivity.cs | src/Activities/SyncActivity.cs | using System;
using System.Threading.Tasks;
namespace MicroFlow
{
public abstract class SyncActivity<TResult> : Activity<TResult>
{
public sealed override Task<TResult> Execute()
{
var tcs = new TaskCompletionSource<TResult>();
try
{
TResult result = ExecuteActivity();
tc... | using System;
using System.Threading.Tasks;
namespace MicroFlow
{
public abstract class SyncActivity<TResult> : Activity<TResult>
{
public sealed override Task<TResult> Execute()
{
try
{
TResult result = ExecuteActivity();
return TaskHelper.FromResult(result);
}
catc... | Use `TaskHelper` instead of TCS | Use `TaskHelper` instead of TCS
| C# | mit | akarpov89/MicroFlow |
7394b3593f50d852439f0f61467c0ed07c818639 | Akavache.Mobile/Registrations.cs | Akavache.Mobile/Registrations.cs | using Newtonsoft.Json;
using ReactiveUI.Mobile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Akavache.Mobile
{
public class Registrations : IWantsToRegisterStuff
{
public void Register(Action<Func<object>, Type, string> r... | using Newtonsoft.Json;
using ReactiveUI.Mobile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#if UIKIT
using MonoTouch.Foundation;
using ReactiveUI.Mobile;
#endif
#if APPKIT
using MonoMac.Foundation;
#endif
#if ANDROID
using Android.App;
#endif
... | Bring back setting the app name based on the package info | Bring back setting the app name based on the package info
| C# | mit | gimsum/Akavache,MathieuDSTP/MyAkavache,shana/Akavache,bbqchickenrobot/Akavache,PureWeen/Akavache,akavache/Akavache,mms-/Akavache,jcomtois/Akavache,MarcMagnin/Akavache,Loke155/Akavache,ghuntley/AkavacheSandpit,shiftkey/Akavache,christer155/Akavache,kmjonmastro/Akavache,martijn00/Akavache,shana/Akavache |
da369d96c93948d0561a16440a1054a97511db6f | src/HtmlLogger/Model/LogCategory.cs | src/HtmlLogger/Model/LogCategory.cs | namespace HtmlLogger.Model
{
public enum LogCategory
{
Info,
Error
}
} | namespace HtmlLogger.Model
{
public enum LogCategory
{
Info,
Warning,
Error
}
} | Add Warning value to the enumeration. | Add Warning value to the enumeration.
| C# | mit | Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger,Binjaaa/BasicHtmlLogger |
16ed3248093e58c2159e7d9c353ff3398db45208 | LibPhoneNumber.Contrib/Properties/AssemblyInfo.cs | LibPhoneNumber.Contrib/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("Li... | 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("Li... | Update the assembly version for LibPhoneNumber.Contrib since we added a new extension method. | Update the assembly version for LibPhoneNumber.Contrib since we added a new extension method.
| C# | mit | Smartrak/Smartrak.Library |
a28c7d89c4d77cbe4dab7ea18bf191255c0c7612 | Backend/Mono/Nonagon.Modular/DataModuleInterface.cs | Backend/Mono/Nonagon.Modular/DataModuleInterface.cs | using ServiceStack.OrmLite;
namespace Nonagon.Modular
{
/// <summary>
/// Data module interface base class.
/// </summary>
public abstract class DataModuleInterface : ModuleInterface, IDataModuleInterface
{
/// <summary>
/// Gets or sets the db connection factory.
/// </summary>
/// <value>The db connecti... | using ServiceStack.OrmLite;
namespace Nonagon.Modular
{
/// <summary>
/// Data module interface base class.
/// </summary>
public abstract class DataModuleInterface : ModuleInterface, IDataModuleInterface
{
/// <summary>
/// Gets or sets the db connection factory.
/// </summary>
/// <value>The db connecti... | Fix code as suggested by compiler. | Fix code as suggested by compiler.
| C# | bsd-3-clause | Nonagon-x/Nonagon.Modular |
f17bb5b571f97e83ce95481128e49753e2409107 | src/dotnet-setversion/Options.cs | src/dotnet-setversion/Options.cs | using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
namespace dotnet_setversion
{
public class Options
{
[Option('r', "recursive", Default = false, HelpText =
"Recursively search the current directory for csproj files and apply the given version to all files found.... | using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
namespace dotnet_setversion
{
public class Options
{
[Option('r', "recursive", Default = false, HelpText =
"Recursively search the current directory for csproj files and apply the given version to all files found.... | Update alias in usage examples | Update alias in usage examples
Renamed alias from "dotnet setversion" to just "setversion" to reflect that this tool is a global .NET Core tool. | C# | mit | TAGC/dotnet-setversion |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.