commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
3ed0ac75e8d8c7692f1b5b0d92e007d94649ae3e | Resolve matching type in try catch scope | appharbor/appharbor-cli | src/AppHarbor/CommandDispatcher.cs | src/AppHarbor/CommandDispatcher.cs | using System;
using System.Linq;
using Castle.MicroKernel;
namespace AppHarbor
{
public class CommandDispatcher
{
private readonly IAliasMatcher _aliasMatcher;
private readonly ITypeNameMatcher _typeNameMatcher;
private readonly IKernel _kernel;
public CommandDispatcher(IAliasMatcher aliasMatcher, ITypeNam... | using System;
using System.Linq;
using Castle.MicroKernel;
namespace AppHarbor
{
public class CommandDispatcher
{
private readonly IAliasMatcher _aliasMatcher;
private readonly ITypeNameMatcher _typeNameMatcher;
private readonly IKernel _kernel;
public CommandDispatcher(IAliasMatcher aliasMatcher, ITypeNam... | mit | C# |
03364877280761784faf679fc4818623326a90ec | Add correct defaults to domain subscriber | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET.GetEventStore/Feature.cs | src/Aggregates.NET.GetEventStore/Feature.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aggregates.Contracts;
using Aggregates.Extensions;
using EventStore.ClientAPI;
using Newtonsoft.Json;
using NServiceBus;
using NServiceBus.Features;
using NServiceBus.Logging;
using NServiceBus.Mes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aggregates.Contracts;
using Aggregates.Extensions;
using EventStore.ClientAPI;
using Newtonsoft.Json;
using NServiceBus;
using NServiceBus.Features;
using NServiceBus.Logging;
using NServiceBus.Mes... | mit | C# |
aea8c3a6920f0a72f29784011e27552aa1383526 | Update AccountIndexer.cs | EventDay/dsl,EventDay/dsl | src/Demo/Indexing/Account/AccountIndexer.cs | src/Demo/Indexing/Account/AccountIndexer.cs | // Copyright (C) 2015 EventDay, Inc
using Akka.Actor;
using Akka.Event;
using Demo.Indexing.Account.Entities;
using Demo.Indexing.Account.Messages;
using Demo.Messages;
namespace Demo.Indexing.Account
{
public class AccountIndexer : ReceiveActor
{
public AccountIndexer()
{
IActorR... | // Copyright (C) 2015 EventDay, Inc
using Akka.Actor;
using Akka.Event;
using Demo.Indexing.Account.Entities;
using Demo.Indexing.Account.Messages;
using Demo.Messages;
namespace Demo.Indexing.Account
{
public class AccountIndexer : ReceiveActor
{
public AccountIndexer()
{
IActorR... | mit | C# |
ed32a8234169d4fa1657d26951dfe9239ef09a10 | Fix typo in header | arfbtwn/banshee,babycaseny/banshee,lamalex/Banshee,ixfalia/banshee,stsundermann/banshee,allquixotic/banshee-gst-sharp-work,ixfalia/banshee,Dynalon/banshee-osx,ixfalia/banshee,GNOME/banshee,stsundermann/banshee,GNOME/banshee,directhex/banshee-hacks,ixfalia/banshee,Dynalon/banshee-osx,allquixotic/banshee-gst-sharp-work,m... | src/Libraries/Hyena/Hyena.Metrics/Sample.cs | src/Libraries/Hyena/Hyena.Metrics/Sample.cs | //
// Sample.cs
//
// Author:
// Gabriel Burt <gabriel.burt@gmail.com>
//
// Copyright (c) 2010 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inclu... | //
// Metric.cs
//
// Author:
// Gabriel Burt <gabriel.burt@gmail.com>
//
// Copyright (c) 2010 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, inclu... | mit | C# |
a598e88b519e91e44f242d0366daccb60f5ea6ed | Add missing assignment | dbarowy/Depends | Depends/Progress.cs | Depends/Progress.cs | using System;
using System.Threading;
namespace Depends
{
public delegate void ProgressBarIncrementer();
public delegate void ProgressBarReset();
public class Progress
{
private volatile bool _cancelled = false;
private long _total = 0;
private ProgressBarIncrementer _progBarI... | using System;
using System.Threading;
namespace Depends
{
public delegate void ProgressBarIncrementer();
public delegate void ProgressBarReset();
public class Progress
{
private volatile bool _cancelled = false;
private long _total = 0;
private ProgressBarIncrementer _progBarI... | bsd-2-clause | C# |
1cce99f94233c1b5e914faa669e430e2b4e992c0 | Fix player's ship | CalinoursIncorporated/8INF830 | Assets/Scripts/PlayerMovement.cs | Assets/Scripts/PlayerMovement.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float MainThrust = 5.0f;
public float AuxThrust = 2.5f;
public float Torque = 2.5f;
public bool isYawInverted = false;
public bool isPitchInverted = true;
public ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float MainThrust = 5.0f;
public float AuxThrust = 2.5f;
public float Torque = 2.5f;
public bool isYawInverted = false;
public bool isPitchInverted = true;
public ... | apache-2.0 | C# |
7da43f4b834b478eccd5c6d45ac2e87eda3f972f | Remove double quotes from web response | fredatgithub/GetQuote | GetQuote/Program.cs | GetQuote/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using HtmlAgilityPack;
namespace GetQuote
{
internal class Program
{
private static void Main()
{
// Create a request for the URL.
WebRequest request = WebRequest.Create(
"http://www.... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using HtmlAgilityPack;
namespace GetQuote
{
internal class Program
{
private static void Main()
{
// Create a request for the URL.
WebRequest request = WebRequest.Create(
"http://www.... | mit | C# |
4bed158936a285ff0b2360d1153cbef6f83291ab | update methods | cube-soft/Cube.Core,cube-soft/Cube.Core,cube-soft/Cube.Forms,cube-soft/Cube.Forms | Libraries/Views/IControl.cs | Libraries/Views/IControl.cs | /* ------------------------------------------------------------------------- */
///
/// Copyright (c) 2010 CubeSoft, 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
///
/// ht... | /* ------------------------------------------------------------------------- */
///
/// Copyright (c) 2010 CubeSoft, 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
///
/// ht... | apache-2.0 | C# |
94a002500f2e14d14a4856370fb96d047d7cba61 | bump version | SimonCropp/NServiceBus.Serilog | NServiceBus.Serilog/AssemblyInfo.cs | NServiceBus.Serilog/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("NServiceBus.Serilog")]
[assembly: AssemblyProduct("NServiceBus.Serilog")]
[assembly: AssemblyVersion("1.3.0")]
[assembly: AssemblyFileVersion("1.3.0")]
| using System.Reflection;
[assembly: AssemblyTitle("NServiceBus.Serilog")]
[assembly: AssemblyProduct("NServiceBus.Serilog")]
[assembly: AssemblyVersion("1.2.0")]
[assembly: AssemblyFileVersion("1.2.0")]
| mit | C# |
6cb0ac7301ef6058111fc71babbc123636051246 | Build fix | DarkWanderer/DW.Lua,DarkWanderer/LuaParser | LuaCodeEditor/EditorForm.cs | LuaCodeEditor/EditorForm.cs | using System;
using System.IO;
using System.Windows.Forms;
using DW.Lua.Editor.Properties;
using DW.Lua.Parsers;
using DW.Lua.Syntax;
namespace DW.Lua.Editor
{
public partial class EditorForm : Form
{
public EditorForm()
{
InitializeComponent();
}
private void rich... | using System;
using System.IO;
using System.Windows.Forms;
using DW.Lua.Parsers;
using DW.Lua.Syntax;
namespace DW.Lua.Editor
{
public partial class EditorForm : Form
{
public EditorForm()
{
InitializeComponent();
}
private void richTextBox1_TextChanged(object send... | mit | C# |
df15b4140a5460f5579a1ffcf59d71db77f2fd33 | Add watson information. | AmadeusW/roslyn,stephentoub/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,gafter/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,panopticoncentral/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,tmat/roslyn,dotnet/roslyn,jmarolf/roslyn,diryboy/roslyn,weltkante/roslyn,step... | src/EditorFeatures/Core.Wpf/Suggestions/SuggestedActionWithNestedActions.cs | src/EditorFeatures/Core.Wpf/Suggestions/SuggestedActionWithNestedActions.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.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Thread... | mit | C# |
57832543098bb509e7626dccf0c538d09252e640 | Fix KugelmatikProxy | henrik1235/Kugelmatik,henrik1235/Kugelmatik,henrik1235/Kugelmatik | KugelmatikProxy/MainForm.cs | KugelmatikProxy/MainForm.cs | using KugelmatikLibrary;
using System;
using System.ComponentModel;
using System.Net;
using System.Windows.Forms;
namespace KugelmatikProxy
{
public partial class MainForm : Form
{
private ClusterProxy cluster;
public MainForm()
{
InitializeComponent();
cluste... | using KugelmatikLibrary;
using System;
using System.ComponentModel;
using System.Net;
using System.Windows.Forms;
namespace KugelmatikProxy
{
public partial class MainForm : Form
{
private ClusterProxy cluster;
public MainForm()
{
InitializeComponent();
cluste... | mit | C# |
338d6cfe4ea441857bbf9e79ffa9ab7fb22fe4c0 | Add xml-doc to GridTestCase | ppy/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,default0/osu-framework,paparony03/osu-framework,naoey/osu-framework,ppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,naoey... | osu.Framework.Testing/GridTestCase.cs | osu.Framework.Testing/GridTestCase.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using System.Linq;
namespace osu.Framework.Testing
{
/// <... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using System.Linq;
namespace osu.Framework.Testing
{
publi... | mit | C# |
9774d9b317cdb0cd215bafb3aba783bcc0173620 | Update Snippets.cs | toddams/RazorLight,toddams/RazorLight | tests/RazorLight.Tests/Snippets/Snippets.cs | tests/RazorLight.Tests/Snippets/Snippets.cs | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.TestHost;
using RazorLight;
using Xunit;
public class Snippets
{
public class ViewModel
{
public string Name { get; set; }
}
[Fact]
public async Task Simple()
{
#region Simple
var engine = new RazorLightEngineBuilder()
// required... | using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.TestHost;
using RazorLight;
using Xunit;
public class Snippets
{
public class ViewModel
{
public string Name { get; set; }
}
[Fact]
public async Task Simple()
{
#region Simple
var engine = new RazorLightEngineBuilder()
// required... | apache-2.0 | C# |
08f187816ab89bccaad0ef3b2ad9afe00b7fe1fa | Update Form1.cs | ARMmaster17/SwatSim | SwatSim/SwatSimGUI/Form1.cs | SwatSim/SwatSimGUI/Form1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SwatSimGUI
{
public partial class Form1 : Form
{
public Form1()
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SwatSimGUI
{
public partial class Form1 : Form
{
public Form1()
{
... | mit | C# |
dc7f32736d6d2c045ff712dc4f004d6c1cf36bfd | Test readback: not implemented yet for the OptimizedTrie. It does show that the trie is faster than the list implementation. | koen-lee/compact-tree-challenge,koen-lee/compact-tree-challenge,koen-lee/compact-tree-challenge | Trie/TrieComparisonTests.cs | Trie/TrieComparisonTests.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace Trie
{
[TestFixture]
public class TrieComparisonTests
{
private KeyValuePair<string, long>[] _testdata;
[TestFixtureSetUp]
public void Gene... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NUnit.Framework;
namespace Trie
{
[TestFixture]
public class TrieComparisonTests
{
[Test]
public void CompareTries()
{
var testdata = GetTestData().Take(32... | mit | C# |
fb91289432f70d6a26f7a3c1fe77041ce3c5549a | Improve Logging | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Program.cs | WalletWasabi.Gui/Program.cs | using Avalonia;
using Avalonia.Threading;
using System;
using AvalonStudio.Extensibility.Theme;
using AvalonStudio.Shell;
using WalletWasabi.Logging;
using System.IO;
namespace WalletWasabi.Gui
{
internal class Program
{
private static void Main(string[] args)
{
try
{
Logger.SetFilePath(Path.Combine(G... | using Avalonia;
using Avalonia.Threading;
using System;
using AvalonStudio.Extensibility.Theme;
using AvalonStudio.Shell;
using WalletWasabi.Logging;
using System.IO;
namespace WalletWasabi.Gui
{
internal class Program
{
private static void Main(string[] args)
{
Logger.SetFilePath(Path.Combine(Global.DataDir... | mit | C# |
ae666d1753c604ea25ec31aa259dbbd354f7ce9b | Fix warning due to unused variable | mrward/monodevelop-nuget-extensions,mrward/monodevelop-nuget-extensions | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement/MonoPclCommandLine.cs | src/MonoDevelop.PackageManagement.Extensions/MonoDevelop.PackageManagement/MonoPclCommandLine.cs | //
// MonoPclCommandLine.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the S... | //
// MonoPclCommandLine.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the S... | mit | C# |
ab2152889c326e11fb9d9925f30e7c53d7b553ca | Fix rendering of workflow modal dialogs. (#10025) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/BindModelStateTask.Fields.Thumbnail.cshtml | src/OrchardCore.Modules/OrchardCore.Forms/Views/Items/BindModelStateTask.Fields.Thumbnail.cshtml | <h4 class="card-title"><i class="fa fa-clone" aria-hidden="true"></i>@T["Bind Form to Model State"]</h4>
<p>@T["Binds submitted form fields to the model state."]</p>
| <h4 class="card-title"><i class="fa fa-clone aria-hidden="true"i>@T["Bind Form to Model State"]</h4>
<p>@T["Binds submitted form fields to the model state."]</p>
| bsd-3-clause | C# |
769a548b8f216a312e1571320681c98475d93dd3 | Allow to set an inner exception in a DomainException | biarne-a/Zebus,Abc-Arbitrage/Zebus | src/Abc.Zebus/DomainException.cs | src/Abc.Zebus/DomainException.cs | using System;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Abc.Zebus.Util.Extensions;
namespace Abc.Zebus
{
public class DomainException : Exception
{
public int ErrorCode { get; private set; }
public DomainException(Exception i... | using System;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Abc.Zebus.Util.Extensions;
namespace Abc.Zebus
{
public class DomainException : Exception
{
public int ErrorCode { get; private set; }
public DomainException(int errorCo... | mit | C# |
54b669fb65a84f6db5e851b174c592632a22fcc3 | Make GetAndIncrement more threadsafety. | maxim-s/NBench,maxim-s/NBench,petabridge/NBench,petabridge/NBench | src/NBench/Util/AtomicCounter.cs | src/NBench/Util/AtomicCounter.cs | // Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
using System.Threading;
namespace NBench.Util
{
/// <summary>
/// Atomic counter class used for incrementing and decrementin... | // Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
using System.Threading;
namespace NBench.Util
{
/// <summary>
/// Atomic counter class used for incrementing and decrementin... | apache-2.0 | C# |
01cd976975819280214ca7578e0d2157ca31959f | Remove property from ProductTestObjetBuilder that is left over from move of building with constructor feature to TestObjectBuilder class. | tdpreece/TestObjectBuilderCsharp | TestObjectBuilderTests/ConcreteTestObjectBuilders/ProductTestObjectBuilder.cs | TestObjectBuilderTests/ConcreteTestObjectBuilders/ProductTestObjectBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestObjectBuilder;
namespace TestObjectBuilderTests
{
public class ProductTestObjectBuilder : TestObjBuilder<Product>
{
public ProductTestObjectBuilder()
{
this.FirstDependency = new DummyDe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestObjectBuilder;
namespace TestObjectBuilderTests
{
public class ProductTestObjectBuilder : TestObjBuilder<Product>
{
public ProductTestObjectBuilder()
{
this.FirstDependency = new DummyDe... | mit | C# |
1fd16088d2085715b46064b6d84e802210ade1a8 | Add ToString to StringifiedExpression to simplify debugging. | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode | ExpressionToCodeLib/StringifiedExpression.cs | ExpressionToCodeLib/StringifiedExpression.cs | using System;
using System.Linq.Expressions;
namespace ExpressionToCodeLib
{
struct StringifiedExpression
{
//a node cannot have children and text. If it has neither, it is considered empty.
public readonly string Text;
readonly StringifiedExpression[] children;
stat... | using System;
using System.Linq.Expressions;
namespace ExpressionToCodeLib
{
struct StringifiedExpression
{
//a node cannot have children and text. If it has neither, it is considered empty.
public readonly string Text;
readonly StringifiedExpression[] children;
stat... | apache-2.0 | C# |
a64cf34d861bc166f38c3580c8c4de0c4c2c9c15 | Fix system web detection logic. | meebey/JabbR,mzdv/JabbR,yadyn/JabbR,lukehoban/JabbR,e10/JabbR,M-Zuber/JabbR,yadyn/JabbR,fuzeman/vox,JabbR/JabbR,yadyn/JabbR,AAPT/jean0226case1322,SonOfSam/JabbR,lukehoban/JabbR,JabbR/JabbR,LookLikeAPro/JabbR,18098924759/JabbR,meebey/JabbR,ajayanandgit/JabbR,18098924759/JabbR,huanglitest/JabbRTest2,borisyankov/JabbR,Loo... | JabbR/Infrastructure/AppBuilderExtensions.cs | JabbR/Infrastructure/AppBuilderExtensions.cs | using System;
using System.Collections.Generic;
using Owin;
namespace JabbR.Infrastructure
{
public static class AppBuilderExtensions
{
private static readonly string SystemWebHostName = "System.Web 4.5, Microsoft.Owin.Host.SystemWeb 1.0.0.0";
public static bool IsRunningUnderSystemWeb(this I... | using System;
using System.Collections.Generic;
using Owin;
namespace JabbR.Infrastructure
{
public static class AppBuilderExtensions
{
private static readonly string SystemWebHostName = "System.Web 4.5, Microsoft.Owin.Host.SystemWeb 1.0.0.0";
public static bool IsRunningUnderSystemWeb(this I... | mit | C# |
69b1a0e39e1c680f09ee9364893b5ab68757e3e7 | fix toasts when running .net4.0 or higher | mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient,mindthegab/SFE-Minuet-DesktopClient | minuet/symphony/Paragon.Plugins.Notifications/WindowInteropHelperUtilities.cs | minuet/symphony/Paragon.Plugins.Notifications/WindowInteropHelperUtilities.cs | using System;
using System.Reflection;
using System.Windows;
using System.Windows.Interop;
namespace Paragon.Plugins.Notifications
{
public static class WindowInteropHelperUtilities
{
public static IntPtr EnsureHandle(this WindowInteropHelper helper)
{
if (helper == null... | using System;
using System.Reflection;
using System.Windows;
using System.Windows.Interop;
namespace Paragon.Plugins.Notifications
{
public static class WindowInteropHelperUtilities
{
public static IntPtr EnsureHandle(this WindowInteropHelper helper)
{
if (helper == null... | apache-2.0 | C# |
dbd04c81a67758871f9dd40d138229e0c173e0b7 | Tweak to test | taylorjg/Monads | MonadLibTests/MonadAgnosticFunctionsTests.cs | MonadLibTests/MonadAgnosticFunctionsTests.cs | using System;
using MonadLib;
using NUnit.Framework;
namespace MonadLibTests
{
[TestFixture]
internal class MonadAgnosticFunctionsTests
{
private enum Context
{
Home,
Mobile,
Business
}
private Tuple<Context, string>[] _phoneBook;
... | using System;
using MonadLib;
using NUnit.Framework;
namespace MonadLibTests
{
[TestFixture]
class MonadAgnosticFunctionsTests
{
private Tuple<Context, string>[] _phoneBook;
private enum Context
{
Home,
Mobile,
Business
}
[SetUp... | mit | C# |
5f122dc54582cd78d8fb0df665c25cd41f058220 | Update GameTree.cs | yishn/GTPWrapper | GTPWrapper/Sgf/GameTree.cs | GTPWrapper/Sgf/GameTree.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Diagnostics;
using GTPWrapper.DataTypes;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF game tree.
/// </summary>
public class GameTree : ListTree<No... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Diagnostics;
using GTPWrapper.DataTypes;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF game tree.
/// </summary>
public class GameTree : ListTree<No... | mit | C# |
a2d6c64029a51efd2702febdd58e2010cf2c1641 | Load jQuery-ui after bootstrap to get dialog close icon rendered | jeremycook/PickupMailViewer,jeremycook/PickupMailViewer | PickupMailViewer/Views/Shared/_Layout.cshtml | PickupMailViewer/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
<script type="text/javascript">
var baseUrl = "@Url.Content("~")";
</script>
@Styles.Render("~/Content/css")
@Styles.Render("~/... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
<script type="text/javascript">
var baseUrl = "@Url.Content("~")";
</script>
@Styles.Render("~/Content/css")
@Styles.Render("~/... | mit | C# |
d848b810da8fbc39ad234465d83907711946e8f5 | Fix VisualTests crashing on first startup due to incorrect configuration | EVAST9919/osu-framework,EVAST9919/osu-framework,default0/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,ppy/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,peppy/osu-framework,default0/osu-framework,ppy/osu-framework,DrabWeb/os... | osu.Framework/Testing/TestBrowserConfig.cs | osu.Framework/Testing/TestBrowserConfig.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Framework.Testing
{
internal class TestBrowserConfig : IniConfigMan... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Framework.Testing
{
internal class TestBrowserConfig : IniConfigMan... | mit | C# |
16feadbd7aa289e46d2c70a5e3a659bd32cb197d | fix crash in WillMoveToWindow | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | bindings/iOS/UrhoSurface.cs | bindings/iOS/UrhoSurface.cs | using System;
using System.Runtime.InteropServices;
using CoreGraphics;
using UIKit;
namespace Urho.iOS
{
public class UrhoSurface : UIView
{
[DllImport("mono-urho", CallingConvention = CallingConvention.Cdecl)]
static extern void SDL_SetExternalViewPlaceholder(IntPtr viewPtr, IntPtr windowPtr);
public UrhoS... | using System;
using System.Runtime.InteropServices;
using UIKit;
namespace Urho.iOS
{
public class UrhoSurface : UIView
{
[DllImport("mono-urho", CallingConvention = CallingConvention.Cdecl)]
static extern void SDL_SetExternalViewPlaceholder(IntPtr viewPtr, IntPtr windowPtr);
public override void WillMoveToW... | mit | C# |
54a2de85ca31442c5435b72638e5122aac51c8d4 | Update ConvertingToXPS.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,ma... | Examples/CSharp/Files/Utility/ConvertingToXPS.cs | Examples/CSharp/Files/Utility/ConvertingToXPS.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Utility
{
public class ConvertingToXPS
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetD... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Files.Utility
{
public class ConvertingToXPS
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection... | mit | C# |
3f24624845f5e157b5d8ed0f801c89b76bdf4900 | Edit in Home/Index | CloversInc/ProductManager,CloversInc/Restaurant,CloversInc/Restaurant,CloversInc/ProductManager,CloversInc/ProductManager,CloversInc/Restaurant | ProductManager.Web/Controllers/HomeController.cs | ProductManager.Web/Controllers/HomeController.cs | namespace ProductManager.Web.Controllers
{
using System.Collections.Generic;
using System.Web.Mvc;
using ProductManager.ViewModels;
using Services.Interfaces;
public class HomeController : Controller
{
private IProductService productService;
public HomeController(IProductServi... | using System.Web.Mvc;
namespace ProductManager.Web.Controllers
{
using Services.Interfaces;
public class HomeController : Controller
{
private IProductService productService;
public HomeController(IProductService productService)
{
this.productService = productService;... | mit | C# |
b6594058519fe2b6ac41f11b3802fac36abc8792 | Add constructor to Queue that consumes an IEnumerable | x335/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs | WootzJs.Runtime/Collections/Generic/Queue.cs | WootzJs.Runtime/Collections/Generic/Queue.cs | using System.Runtime.WootzJs;
namespace System.Collections.Generic
{
public class Queue<T> : IEnumerable<T>, ICollection
{
private JsArray storage = new JsArray();
public Queue()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="T:System.Colle... | using System.Runtime.WootzJs;
namespace System.Collections.Generic
{
public class Queue<T> : IEnumerable<T>, ICollection
{
private JsArray storage = new JsArray();
public void Enqueue(T item)
{
storage.push(item.As<JsObject>());
}
public T Dequeue()
... | mit | C# |
9a7e314aebe1c6f4fd0f36925f838acf58df0a04 | Increase version number. | Roland-Schneider/TfsZipShelveset | TfZip/Properties/AssemblyInfo.cs | TfZip/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("Tf... | 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("Tf... | bsd-3-clause | C# |
3ce0450d7b4c9a69f983c27efd333de119a02e36 | Make sure we test across more than two lines. | jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/... | src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs | src/Mango/Mango.Tests/Mango.Server/HttpHeadersTest.cs |
using System;
using System.IO;
using NUnit.Framework;
namespace Mango.Server.Tests
{
[TestFixture()]
public class HttpHeadersTest
{
[Test()]
public void TestMultilineParse ()
{
//
// multiline values are acceptable if the next
// line starts with spaces
//
string header = @"HeaderName: So... |
using System;
using System.IO;
using NUnit.Framework;
namespace Mango.Server.Tests
{
[TestFixture()]
public class HttpHeadersTest
{
[Test()]
public void TestMultilineParse ()
{
//
// multiline values are acceptable if the next
// line starts with spaces
//
string header = @"HeaderName: So... | mit | C# |
386633a5a5caccfb1cb8660a82fbb697510b083c | add PlayerPrefs.Save after DeleteAll() | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/EditorTools/EditorTools.cs | Unity/EditorTools/EditorTools.cs | /**
MIT License
Copyright (c) 2017 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | /**
MIT License
Copyright (c) 2017 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | mit | C# |
4adc693cb52c3b70175721ed9c474cde46409f96 | Add an UseRouter that takes Action<IRouteBuilder> | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Routing/BuilderExtensions.cs | src/Microsoft.AspNetCore.Routing/BuilderExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.Extensions.DependencyInjection;
namespac... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.Extensions.DependencyInjection;
namespac... | apache-2.0 | C# |
28c8598fd86e53f437dd012a025d82d8bcf1c0a0 | Determine upper limit | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle041.cs | src/ProjectEuler/Puzzles/Puzzle041.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System.Linq;
/// <summary>
/// A class representing the solution to <c>https:... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
/// <summary>
/// A class representing the solution to <c>https://projecteuler.net/probl... | apache-2.0 | C# |
48daced835c5538f45149809cf62dbb4c737fefa | Fix failing GetFieldMapping api tests | RossLieberman/NEST,RossLieberman/NEST,UdiBen/elasticsearch-net,cstlaurent/elasticsearch-net,RossLieberman/NEST,UdiBen/elasticsearch-net,adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,UdiBen/elasticsearch-net,CSGOpenSource/elasticsearch-net,azubanov/elasticsearch-net,CSGOpenSou... | src/Tests/Indices/MappingManagement/GetFieldMapping/GetFieldMappingApiTests.cs | src/Tests/Indices/MappingManagement/GetFieldMapping/GetFieldMappingApiTests.cs | using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using Xunit;
namespace Tests.Indices.MappingManagement.GetFieldMapping
{
[Collection(IntegrationContext.ReadOnly)]
public class GetFieldMappingApiTests
: ApiInteg... | using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using Xunit;
namespace Tests.Indices.MappingManagement.GetFieldMapping
{
[Collection(IntegrationContext.Indexing)]
public class GetFieldMappingApiTests
: ApiInteg... | apache-2.0 | C# |
d2f232a3d677b59fcd23b2ebdf4b8d5cf6908f9f | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
9058f8a66bbadbfcad93893733e5e4eef3da992a | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
73faf294e1899394963f1b22dfc1a58c3be06f66 | Change URL of initialization in integration tests | mikehancock/CypherNetCore | src/CypherTwo.Tests/IntegrationTests.cs | src/CypherTwo.Tests/IntegrationTests.cs | namespace CypherTwo.Tests
{
using System;
using System.Net.Http;
using CypherTwo.Core;
using NUnit.Framework;
[TestFixture]
public class IntegrationTests
{
private INeoClient neoClient;
private ISendRestCommandsToNeo neoApi;
private IJsonHttpClientWrapper httpCl... | namespace CypherTwo.Tests
{
using System;
using System.Net.Http;
using CypherTwo.Core;
using NUnit.Framework;
[TestFixture]
public class IntegrationTests
{
private INeoClient neoClient;
private ISendRestCommandsToNeo neoApi;
private IJsonHttpClientWrapper httpCl... | mit | C# |
0e2c743f99d1d21b63e4883eecd4c98a00f0d9d3 | Update version | valdisiljuconoks/EPiBootstrapArea,valdisiljuconoks/EPiBootstrapArea,valdisiljuconoks/EPiBootstrapArea | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EPiBootstrapArea")]
[assembly: AssemblyDescription("Bootstrap aware EPiServer Content Area renderer")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Valdis Iljuconoks (Te... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EPiBootstrapArea")]
[assembly: AssemblyDescription("Bootstrap aware EPiServer Content Area renderer")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Valdis Iljuconoks (Te... | mit | C# |
1ca83740285907192002dca79b29ea7a90a367d8 | Fix UseAzureAppServices_RegisterLogger test | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/AppServicesWebHostBuilderExtensionsTest.cs | test/Microsoft.AspNetCore.AzureAppServicesIntegration.Tests/AppServicesWebHostBuilderExtensionsTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
namespace Microsoft.AspNetCore.Hosting.Azure.AppServices.Tests
{
public c... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
namespace Microsoft.AspNetCore.Hosting.Azure.AppServices.Tests
{
public c... | apache-2.0 | C# |
0b7d4d58a0a3d91005e8a358d458b306de993707 | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
9af5ad54972c1286381ebac128038535b60570a8 | Prepare for 0.2 release. | neitsa/PrepareLanding,neitsa/PrepareLanding | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PrepareLanding")]
[assembly: AssemblyDesc... | 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("Pr... | mit | C# |
6a8ed3b2bcdb16772cf59bea7449625d152990ee | Bump version | TETYYS/VCTRNR | Properties/AssemblyInfo.cs | 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("VCT... | 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("VCT... | mit | C# |
c0dde9674c132c546b3ad9de3c630ac597d1bbdd | Update FileVersion number | TechieGuy12/PlexServerAutoUpdater | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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: Assembl... | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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: Assembl... | mit | C# |
9d0aefcc43fde8ea303f8b3e370f076b8bb2a3db | Fix Object reference not set to an instance of an object. | pekspro/Template10,pekspro/Template10,callummoffat/Template10,SimoneBWS/Template10,liptonbeer/Template10,GFlisch/Template10,AparnaChinya/Template10,teamneusta/Template10,artfuldev/Template10,Viachaslau-Zinkevich/Template10,Windows-XAML/Template10,SimoneBWS/Template10,MichaelPetrinolis/Template10,kenshinthebattosai/Temp... | Samples/Search/App.xaml.cs | Samples/Search/App.xaml.cs | using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
namespace Template10.Samples.SearchSample
{
sealed partial class App : Template10.Common.BootStrapper
{
public App()
{
InitializeComponent();
}
public override Task OnIn... | using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
namespace Template10.Samples.SearchSample
{
sealed partial class App : Template10.Common.BootStrapper
{
public App()
{
InitializeComponent();
}
public override Task OnIn... | apache-2.0 | C# |
b5e1ecbda6f5181abca69fb143ad2b2480d11f20 | fix potential error when parsing, if value is not recognized, keep the current value | Elders/VSE-FormatDocumentOnSave | src/Elders.VSE-FormatDocumentOnSave/Configurations/EditorConfigConfiguration.cs | src/Elders.VSE-FormatDocumentOnSave/Configurations/EditorConfigConfiguration.cs | using EditorConfig.Core;
using System.Collections.Generic;
using System.Linq;
namespace Elders.VSE_FormatDocumentOnSave.Configurations
{
public sealed class EditorConfigConfiguration : IConfiguration
{
private readonly bool enable = true;
private readonly string allowed = ".*";
private... | using EditorConfig.Core;
using System.Collections.Generic;
using System.Linq;
namespace Elders.VSE_FormatDocumentOnSave.Configurations
{
public sealed class EditorConfigConfiguration : IConfiguration
{
private readonly bool enable = true;
private readonly string allowed = ".*";
private... | apache-2.0 | C# |
77cdfe9cb1832f1349db82f0684001c409860366 | fix tabbing | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache/Infrastructure/Spark/SparkResponseFactory.cs | NuCache/Infrastructure/Spark/SparkResponseFactory.cs | using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
namespace NuCache.Infrastructure.Spark
{
public class SparkResponseFactory
{
private readonly SparkEngine _engine;
public SparkResponseFactory(SparkEngine engine)
{
_engine = engine;
}
public HttpResponseMessage F... | using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
namespace NuCache.Infrastructure.Spark
{
public class SparkResponseFactory
{
private readonly SparkEngine _engine;
public SparkResponseFactory(SparkEngine engine)
{
_engine = engine;
}
public HttpResponseMessage F... | lgpl-2.1 | C# |
29def0150a514ac1e49c7c155b904dc675a19ac4 | Update NUnitSettings of Atata.Bootstrap.Tests project | atata-framework/atata-bootstrap,atata-framework/atata-bootstrap | src/Atata.Bootstrap.Tests/NUnitSettings.cs | src/Atata.Bootstrap.Tests/NUnitSettings.cs | using NUnit.Framework;
[assembly: LevelOfParallelism(4)]
[assembly: Parallelizable(ParallelScope.Children)]
| using NUnit.Framework;
[assembly: LevelOfParallelism(4)]
[assembly: Parallelizable(ParallelScope.Fixtures)]
| apache-2.0 | C# |
5968f2166d16d1c755190c8a1cbf6675264c89b5 | Fix Trigger_VerifyH1_6 test | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata.Tests/VerifyHeadingTests.cs | src/Atata.Tests/VerifyHeadingTests.cs | using System.Linq;
using NUnit.Framework;
namespace Atata.Tests
{
public class VerifyHeadingTests : UITestFixture
{
[TestCase(TestName = "Trigger_VerifyH1-6")]
public void Trigger_VerifyH1_6()
{
Go.To<HeadingPage>();
string[] logMessages = LogEntries.Select(x =... | using System.Linq;
using NUnit.Framework;
namespace Atata.Tests
{
public class VerifyHeadingTests : UITestFixture
{
[TestCase(TestName = "Trigger_VerifyH1-6")]
public void Trigger_VerifyH1_6()
{
Go.To<HeadingPage>();
string[] logMessages = LogEntries.Select(x =... | apache-2.0 | C# |
6e3b342f282b3b5f0fe9a2f05619a83f185edfc2 | Switch over agent to using Agent bus | zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavk... | src/Glimpse.Agent.Web/AgentRuntime.cs | src/Glimpse.Agent.Web/AgentRuntime.cs | using Glimpse.Web;
using System;
namespace Glimpse.Agent.Web
{
public class AgentRuntime : IRequestRuntime
{
private readonly IMessageAgentBus _messageBus;
public AgentRuntime(IMessageAgentBus messageBus)
{
_messageBus = messageBus;
}
public void Begin(ICo... | using Glimpse.Web;
using System;
namespace Glimpse.Agent.Web
{
public class AgentRuntime : IRequestRuntime
{
private readonly IMessagePublisher _messagePublisher;
public AgentRuntime(IMessagePublisher messagePublisher)
{
_messagePublisher = messagePublisher;
}
... | mit | C# |
9d7da0a3311275375d3dd5da20478f8fd4f0814c | fix benchmark which was misleading (poor x86 Jit NaN performance) | mathnet/mathnet-numerics,shaia/mathnet-numerics,shaia/mathnet-numerics,shaia/mathnet-numerics,mathnet/mathnet-numerics,mathnet/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics | src/Benchmark/Transforms/FFT.cs | src/Benchmark/Transforms/FFT.cs | using System.Numerics;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using MathNet.Numerics;
using MathNet.Numerics.IntegralTransforms;
namespace Benchmark.Transforms
{
[Config(typeof(Config))]
public class FFT
{
cl... | using System.Numerics;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Jobs;
using MathNet.Numerics;
using MathNet.Numerics.IntegralTransforms;
namespace Benchmark.Transforms
{
[Config(typeof(Config))]
public class FFT
{
cl... | mit | C# |
f15135851246804d7de829865aa59fa3f4532dab | Use positive statement and let it return as soon as possible | wangkanai/Detection | src/TagHelpers/PreferenceTagHelper.cs | src/TagHelpers/PreferenceTagHelper.cs | using System;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Wangkanai.Detection.Models;
using Wangkanai.Detection.Services;
namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
[HtmlTargetElement(ElementName, Attributes = OnlyAttributeName, TagStructure = TagStructure.... | using System;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Wangkanai.Detection.Models;
using Wangkanai.Detection.Services;
namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
[HtmlTargetElement(ElementName, Attributes = OnlyAttributeName, TagStructure = TagStructure.... | apache-2.0 | C# |
cdf862613270f973b7702ff28de9702149c0ea61 | Fix version | Fredi/NetIRC | src/NetIRC/Ctcp/CtcpCommands.cs | src/NetIRC/Ctcp/CtcpCommands.cs | using NetIRC.Messages;
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace NetIRC.Ctcp
{
public static class CtcpCommands
{
internal const string CtcpDelimiter = "\x01";
public const string ACTION = nameof(ACTION);
public const string CLIENTINFO = nameof(CL... | using NetIRC.Messages;
using System;
using System.Threading.Tasks;
namespace NetIRC.Ctcp
{
public static class CtcpCommands
{
internal const string CtcpDelimiter = "\x01";
public const string ACTION = nameof(ACTION);
public const string CLIENTINFO = nameof(CLIENTINFO);
publi... | mit | C# |
a47b6526a2b7810d51adb2cc2f6d035b8e6d5cad | Fix CI issues. | smoogipoo/osu,peppy/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,ZLima12/osu,Nabile-Rahmani/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipooo/osu,DrabWeb/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,naoey/osu,naoey/osu,naoey/osu,Damnae/osu,UselessToucan/osu,ppy/o... | osu.Game/Rulesets/RulesetInfo.cs | osu.Game/Rulesets/RulesetInfo.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;
using SQLite.Net.Attributes;
namespace osu.Game.Rulesets
{
public class RulesetInfo : IEquatable<RulesetInfo>
{
[PrimaryKey, Aut... | // 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;
using SQLite.Net.Attributes;
namespace osu.Game.Rulesets
{
public class RulesetInfo : IEquatable<RulesetInfo>
{
[PrimaryKey, Aut... | mit | C# |
15a9044ed834970e05629fcf62063a0baa5682c8 | Add key and value variant types to VariantSeries | Spreads/Spreads | src/Spreads/Series/VariantSeries.cs | src/Spreads/Series/VariantSeries.cs | using Spreads.DataTypes;
// ReSharper disable once CheckNamespace
namespace Spreads {
public class VariantSeries<TKey, TValue> : ConvertSeries<TKey, TValue, Variant, Variant, VariantSeries<TKey, TValue>> {
public VariantSeries() {
}
public VariantSeries(IReadOnlySeries<TKey, TValue> in... | using Spreads.DataTypes;
// ReSharper disable once CheckNamespace
namespace Spreads {
public class VariantSeries<TKey, TValue> : ConvertSeries<TKey, TValue, Variant, Variant, VariantSeries<TKey, TValue>> {
public VariantSeries() {
}
public VariantSeries(IReadOnlySeries<TKey, TValue> in... | mpl-2.0 | C# |
d78a2c8eb53558928eac79f1876d5ce772296636 | Put auto focus on search too | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Lab/Search.cshtml | Anlab.Mvc/Views/Lab/Search.cshtml | @{
ViewBag.Title = "Search";
}
<div class="col">
<form asp-controller="Lab" asp-action="Search">
<div>
<div class="form-group">
<label class="control-label">Search By Id, Request Num, or Share Identifier</label>
<div>
<input id... | @{
ViewBag.Title = "Search";
}
<div class="col">
<form asp-controller="Lab" asp-action="Search">
<div>
<div class="form-group">
<label class="control-label">Search By Id, Request Num, or Share Identifier</label>
<div>
<input id... | mit | C# |
37bf904b95ca983c64805b4613ffab187aa2c264 | Fix android host incorrectly accepting exit requests | ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework | osu.Framework.Android/AndroidGameHost.cs | osu.Framework.Android/AndroidGameHost.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Android.Graphics.Textures;
using osu.Framework.Android.Input;
using osu.Framework.Graphics.Textures;
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Android.Graphics.Textures;
using osu.Framework.Android.Input;
using osu.Framework.Graphics.Textures;
... | mit | C# |
b1db3dd834eedf8852c67f71ef6512b84a44050d | Add assert and simplify assignment | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Input/TouchEventManager.cs | osu.Framework/Input/TouchEventManager.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Diagnostics;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Input.States;
using osuTK... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Diagnostics;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Input.States;
using osuTK... | mit | C# |
91980f5a1991f3bda4da9d86059606286a0f1005 | Initialize dictionary in RelabelingFunction | lou1306/CIV,lou1306/CIV | CIV/Helpers/RelabelingFunction.cs | CIV/Helpers/RelabelingFunction.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace CIV.Helpers
{
public class RelabelingFunction : ICollection<KeyValuePair<string, string>>
{
IDictionary<string, string> dict = new Dictionary<string, string>();
public int Count => dict.Count;
public ... | using System;
using System.Collections;
using System.Collections.Generic;
namespace CIV.Helpers
{
public class RelabelingFunction : ICollection<KeyValuePair<string, string>>
{
IDictionary<string, string> dict;
public int Count => dict.Count;
public bool IsReadOnly => dict.IsReadOnly;... | mit | C# |
c1c19243cd28af8ec11664af84dcfdb69bea4799 | Change FirstOrDefault back to First | ZLima12/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,Useless... | osu.Game/Scoring/ScoreManager.cs | osu.Game/Scoring/ScoreManager.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using osu.Framework.Logging;
using ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using osu.Framework.Logging;
using ... | mit | C# |
d9920d3d087f244d109f01ae410faa4c0b42f6f6 | make the ComboBox more versatile | NattyNarwhal/Colours | Colours/Controls/ColorComboBox.cs | Colours/Controls/ColorComboBox.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Colours
{
public class ColorComboBox : ComboBox
{
public ColorComboBox()
{
DropDownStyle = ComboBoxStyle.D... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Colours
{
public class ColorComboBox : ComboBox
{
public ColorComboBox()
{
DrawMode = DrawMode.OwnerDrawFi... | mit | C# |
73a27fc1671545504c7e5af61ad3b7ccc2378740 | add database migration | D4N3-777/Din_Website,D4N3-777/Din_Website,D4N3-777/Din_Website | src/Din.Data/DbInitializer.cs | src/Din.Data/DbInitializer.cs |
using Microsoft.EntityFrameworkCore;
namespace Din.Data
{
public static class DbInitializer
{
public static void Initialize(DinContext context)
{
context.Database.Migrate();
context.Database.EnsureCreated();
context.SaveChanges();
}
}
}
|
namespace Din.Data
{
public static class DbInitializer
{
public static void Initialize(DinContext context)
{
context.Database.EnsureCreated();
context.SaveChanges();
}
}
}
| apache-2.0 | C# |
b58884271cb0df9260a93f4f046353a041db0d54 | Update AssemblyInfo for NuGet builds | logankp/Deliverance | Deliverance/Properties/AssemblyInfo.cs | Deliverance/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... | mit | C# |
de413418c7404f7c34fcb75ef16a6fac942ae5ee | Remove redundant prefix | peppy/osu,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Online/API/Requests/GetUserRankingsRequest.cs | osu.Game/Online/API/Requests/GetUserRankingsRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.IO.Network;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRankingsRequest : GetRankingsRequest<GetUsersR... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.IO.Network;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRankingsRequest : GetRankingsRequest<GetUsersR... | mit | C# |
dbefc0c860caff2cdb1b95c0ae76e7769382436d | Add unit test for reading a project definition. | Timboski/solution-edit | SolutionParserTest/ProjectTest.cs | SolutionParserTest/ProjectTest.cs | using System;
using Xunit;
using SolutionEdit;
using System.IO;
namespace SolutionParserTest
{
public class ProjectTest
{
[Fact]
public void CreateNewDirectoryProject()
{
// Arrange.
var directoryName = "Test";
// Act.
var directoryProjec... | using System;
using Xunit;
using SolutionEdit;
namespace SolutionParserTest
{
public class ProjectTest
{
[Fact]
public void CreateNewDirectoryProject()
{
// Arrange.
var directoryName = "Test";
// Act.
var directoryProject = Project.NewDi... | mit | C# |
cdbed2492c636191845db36bc8c86d3f7c6c71f8 | Update product name in Assembly | nagyistoce/TinCan.NET,RusticiSoftware/TinCan.NET,limey98/TinCan.NET,brianjmiller/TinCan.NET | TinCan/Properties/AssemblyInfo.cs | TinCan/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("Ti... | 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("Ti... | apache-2.0 | C# |
9ec1102f79e2510e2690c6a6e038baf2366be675 | make access | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/Constants.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/Constants.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class Constants
{
#region App Config Values
// Test Settings
... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class Constants
{
#region App Config Values
// Test Settings
... | apache-2.0 | C# |
8546f690a3a0198e3574f4e23caa5b80715097c6 | Update IShapeRendererState.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/Model/Renderer/IShapeRendererState.cs | src/Core2D/Model/Renderer/IShapeRendererState.cs | using Core2D.Shapes;
using Core2D.Style;
namespace Core2D.Renderer
{
/// <summary>
/// Defines shape renderer state contract.
/// </summary>
public interface IShapeRendererState : IObservableObject, ISelection
{
/// <summary>
/// The X coordinate of current pan position.
//... | using Core2D.Shapes;
using Core2D.Style;
namespace Core2D.Renderer
{
/// <summary>
/// Defines shape renderer state contract.
/// </summary>
public interface IShapeRendererState : IObservableObject, ISelection
{
/// <summary>
/// The X coordinate of current pan position.
//... | mit | C# |
6eb09e728f8e84d129ba8ce9360684b542114d56 | Update RoboCopyExitCodes.cs | tjscience/RoboSharp,tjscience/RoboSharp | RoboSharp/Results/RoboCopyExitCodes.cs | RoboSharp/Results/RoboCopyExitCodes.cs | using System;
namespace RoboSharp.Results
{
/// <summary>
/// RoboCopy Exit Codes
/// </summary>
/// <remarks><see href="https://ss64.com/nt/robocopy-exit.html"/></remarks>
[Flags]
public enum RoboCopyExitCodes
{
/// <summary>No Files Copied, No Errors Occured</summary>
NoE... | using System;
namespace RoboSharp.Results
{
/// <summary>
/// RoboCopy Exit Codes
/// </summary>
/// <remarks><see href="https://ss64.com/nt/robocopy-exit.html"/></remarks>
[Flags]
public enum RoboCopyExitCodes
{
/// <summary>No Files Copied, No Errors Occured</summary>
NoE... | mit | C# |
c658480331e87a4cbb3a68fbe8d485063915aa7c | Initialize SettingSchema with a set of properties. | PenguinF/sandra-three | Sandra.UI.WF/Settings/SettingSchema.cs | Sandra.UI.WF/Settings/SettingSchema.cs | /*********************************************************************************
* SettingSchema.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy... | /*********************************************************************************
* SettingSchema.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy... | apache-2.0 | C# |
85769f41da35c00b275e8dc6aedc7ee63064778a | change version number | takenet/lime-csharp | src/Lime.Client.TestConsole/Properties/AssemblyInfo.cs | src/Lime.Client.TestConsole/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
709b4691ee1dfb85f093d08bf8d2d5312f5f7804 | Add newlines to ToString of MetadataGenerationError | cityindex-attic/RESTful-Webservice-Schema,cityindex-attic/RESTful-Webservice-Schema,cityindex-attic/RESTful-Webservice-Schema | src/MetadataGeneration.Core/MetadataGenerationError.cs | src/MetadataGeneration.Core/MetadataGenerationError.cs | using System;
using MetadataGeneration.Core.JsonSchemaDTO;
namespace MetadataGeneration.Core
{
public enum MetadataType
{
JsonSchema,
SMD
} ;
public class MetadataGenerationError
{
public MetadataGenerationError(MetadataType metadataType, Type type, string errorReason, str... | using System;
using MetadataGeneration.Core.JsonSchemaDTO;
namespace MetadataGeneration.Core
{
public enum MetadataType
{
JsonSchema,
SMD
} ;
public class MetadataGenerationError
{
public MetadataGenerationError(MetadataType metadataType, Type type, string errorReason, str... | apache-2.0 | C# |
2283075459c1c07820f497a109c78db00968ff7e | Change the feature define to be more uniform. | FloodProject/flood,FloodProject/flood,FloodProject/flood | src/ServerManaged/Server.cs | src/ServerManaged/Server.cs | using Flood.RPC.Server;
using Flood.RPC.Transport;
namespace Flood.Server
{
public abstract class Server
{
public IDatabaseManager Database { get; set; }
public TSimpleServer RPCServer { get; set; }
public TServerSocket Socket { get; set; }
protected Server()
{
#if US... | using Flood.RPC.Server;
using Flood.RPC.Transport;
namespace Flood.Server
{
public abstract class Server
{
public IDatabaseManager Database { get; set; }
public TSimpleServer RPCServer { get; set; }
public TServerSocket Socket { get; set; }
protected Server()
{
#if RA... | bsd-2-clause | C# |
7a44ddb36baeafdab1fae0637571fab793ad145a | Update incorrect xmldoc | ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Extensions/TimeDisplayExtensions.cs | osu.Game/Extensions/TimeDisplayExtensions.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.Localisation;
namespace osu.Game.Extensions
{
public static class TimeDisplayExtensions
{
/// <summary>
/// Get... | // 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.Localisation;
namespace osu.Game.Extensions
{
public static class TimeDisplayExtensions
{
/// <summary>
/// Get... | mit | C# |
d6112fe0fb2e0c2cfe18ce5f64ee1f33ac0edcce | Update Bs4SideNav | joeaudette/cloudscribe.Web.Navigation,joeaudette/cloudscribe.Web.Navigation | src/cloudscribe.Web.Navigation/Views/Shared/Components/Navigation/Bs4SideNav.cshtml | src/cloudscribe.Web.Navigation/Views/Shared/Components/Navigation/Bs4SideNav.cshtml | @using cloudscribe.Web.Navigation
@using System.Text
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@model NavigationViewModel
@if (Model.HasVisibleChildren(Model.StartingNode))
{
<ul class="nav nav-pills flex-column" id="side-menu">
@foreach (var node in Model.StartingNode.Children)
{
... | @using cloudscribe.Web.Navigation
@using System.Text
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@model NavigationViewModel
@if (Model.HasVisibleChildren(Model.StartingNode))
{
<ul class="nav nav-pills flex-column" id="side-menu">
@foreach (var node in Model.StartingNode.Children)
{
... | apache-2.0 | C# |
0fd47d533f0558c4ce6d2e8cd80acc659bfcc060 | Add BucketId to IEventStream | jamiegaines/NEventStore,deltatre-webplu/NEventStore,D3-LucaPiombino/NEventStore,adamfur/NEventStore,AGiorgetti/NEventStore,marcoaoteixeira/NEventStore,paritoshmmmec/NEventStore,NEventStore/NEventStore,nerdamigo/NEventStore | src/NEventStore/IEventStream.cs | src/NEventStore/IEventStream.cs | namespace NEventStore
{
using System;
using System.Collections.Generic;
using NEventStore.Persistence;
/// <summary>
/// Indicates the ability to track a series of events and commit them to durable storage.
/// </summary>
/// <remarks>
/// Instances of this class are single thre... | namespace NEventStore
{
using System;
using System.Collections.Generic;
using NEventStore.Persistence;
/// <summary>
/// Indicates the ability to track a series of events and commit them to durable storage.
/// </summary>
/// <remarks>
/// Instances of this class are single thre... | mit | C# |
ede185a73d0ea45fa8478c872ee3019189a8b97d | Update src/Nest/Enums/TextQueryType.cs | KodrAus/elasticsearch-net,junlapong/elasticsearch-net,gayancc/elasticsearch-net,Grastveit/NEST,junlapong/elasticsearch-net,robrich/elasticsearch-net,tkirill/elasticsearch-net,TheFireCookie/elasticsearch-net,SeanKilleen/elasticsearch-net,gayancc/elasticsearch-net,tkirill/elasticsearch-net,junlapong/elasticsearch-net,ada... | src/Nest/Enums/TextQueryType.cs | src/Nest/Enums/TextQueryType.cs | // ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
namespace Nest
{
public enum TextQueryType
{
BOOLEAN,
PHRASE,
PHRASE_PREFIX
}
}
// ReSharper restore CheckNamespace
// ReSharper restore InconsistentNaming | // ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
namespace Nest
{
public enum TextQueryType
{
BOOLEAN,
PHASE,
PHASE_PREFIX
}
}
// ReSharper restore CheckNamespace
// ReSharper restore InconsistentNaming | apache-2.0 | C# |
b2f6159ecb65360bc07348729e65d1affd81b832 | drop analytics implementation | RadicalFx/radical | src/Radical/AnalyticsService.cs | src/Radical/AnalyticsService.cs | using System;
using System.Collections.Generic;
namespace Radical
{
namespace ComponentModel
{
public interface IAnalyticsServices
{
Boolean IsEnabled { get; set; }
void TrackUserActionAsync(Analytics.AnalyticsEvent action);
}
}
namespace Analytics
... | using System;
using System.Security.Principal;
using System.Threading;
namespace Radical
{
namespace ComponentModel
{
public interface IAnalyticsServices
{
Boolean IsEnabled { get; set; }
void TrackUserActionAsync(Analytics.AnalyticsEvent action);
}
}
n... | mit | C# |
69e6d365c4730c4a31b1a4c6940b7e650fd6a245 | Remove condition from approvaltestconfig | Simution/NServiceBus.Recoverability.RetrySuccessNotification | src/Tests/ApprovalTestConfig.cs | src/Tests/ApprovalTestConfig.cs | using ApprovalTests.Reporters;
[assembly: UseReporter(typeof(DiffReporter), typeof(AllFailingTestsClipboardReporter))] | using ApprovalTests.Reporters;
#if(DEBUG)
[assembly: UseReporter(typeof(DiffReporter), typeof(AllFailingTestsClipboardReporter))]
#else
[assembly: UseReporter(typeof(DiffReporter))]
#endif | mit | C# |
14b04c640ba1fd37ec62556b5d76041eff2aa074 | Decrease execution time for large iterations. Issue: #448 | rexm/Handlebars.Net,rexm/Handlebars.Net | source/Handlebars/Runtime/BoxedValues.cs | source/Handlebars/Runtime/BoxedValues.cs | using System.Collections.Generic;
using System.Runtime.CompilerServices;
using HandlebarsDotNet.Collections;
namespace HandlebarsDotNet.Runtime
{
/// <summary>
/// Provides cache for frequently used struct values to avoid unnecessary boxing.
/// <para>Overuse may lead to memory leaks! Do not store one-tim... | using System.Collections.Generic;
using System.Runtime.CompilerServices;
using HandlebarsDotNet.Collections;
namespace HandlebarsDotNet.Runtime
{
/// <summary>
/// Provides cache for frequently used struct values to avoid unnecessary boxing.
/// <para>Overuse may lead to memory leaks! Do not store one-tim... | mit | C# |
f88c510ee4f4914f84b97a023c26f10496f4dfd7 | Update comments | meutley/ISTS | src/Api/Controllers/StudiosController.cs | src/Api/Controllers/StudiosController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ISTS.Api.Model;
using ISTS.Application.Studios;
namespace ISTS.Api.Controllers
{
[Route("api/[controller]")]
public class StudiosController : Controller
{
private... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ISTS.Api.Model;
using ISTS.Application.Studios;
namespace ISTS.Api.Controllers
{
[Route("api/[controller]")]
public class StudiosController : Controller
{
private... | mit | C# |
aaf03139a3e835aa3ca2b4e9c5bd0bfbeefea412 | set Chloe.PostgreSQL.DatabaseType="PostgreSQL". | shuxinqin/Chloe | src/Chloe.PostgreSQL/DatabaseProvider.cs | src/Chloe.PostgreSQL/DatabaseProvider.cs | using Chloe.Core.Visitors;
using Chloe.Infrastructure;
using Chloe.Query;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace Chloe.PostgreSQL
{
class DatabaseProvider : IDatabaseProvider
{
IDbConnectionFactory _dbConnectionFactory;
... | using Chloe.Core.Visitors;
using Chloe.Infrastructure;
using Chloe.Query;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace Chloe.PostgreSQL
{
class DatabaseProvider : IDatabaseProvider
{
IDbConnectionFactory _dbConnectionFactory;
... | mit | C# |
deaaf26ddbc4c33d9a938982566f5f6dad97834f | Bump version to 0.12 | jamesfoster/DeepEqual | src/DeepEqual/Properties/AssemblyInfo.cs | src/DeepEqual/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... | mit | C# |
c5c3d8e4e0e5180c1a00974e911de77858c3d779 | Update assembly | PiezPiedPy/Kerbalism,PiezPiedPy/Kerbalism,PiezPiedPy/Kerbalism | src/Kerbalism/Properties/AssemblyInfo.cs | src/Kerbalism/Properties/AssemblyInfo.cs | #region Using directives
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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( "Kerbal... | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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: Assembly... | unlicense | C# |
fbd04d181f47a7822767e4166cd2facf8e1fb8b2 | Add null check | mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard | src/Okanshi.Dashboard/GetHealthChecks.cs | src/Okanshi.Dashboard/GetHealthChecks.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public interface IGetHealthChecks
{
IEnumerable<HealthCheck> Execute(string instanceName);
}
public class GetHeal... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public interface IGetHealthChecks
{
IEnumerable<HealthCheck> Execute(string instanceName);
}
public class GetHeal... | mit | C# |
cd97a7ffcb948d5a6e21f3c3fc6ef0d4737b0424 | Fix attribute values for MSAL extension config of gnome keyring (#15944) | AsrOneSdk/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,markcowl/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,ayeletsh... | sdk/identity/Azure.Identity/src/Constants.cs | sdk/identity/Azure.Identity/src/Constants.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
namespace Azure.Identity
{
internal class Constants
{
public const string OrganizationsTenantId = "organizations";
public const str... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
namespace Azure.Identity
{
internal class Constants
{
public const string OrganizationsTenantId = "organizations";
public const str... | mit | C# |
fb26eec66597ba1639401b3045db7ae7c9812a8b | Change Record.Data to byte[] | carbon/Amazon | src/Amazon.Kinesis.Firehose/Models/Record.cs | src/Amazon.Kinesis.Firehose/Models/Record.cs | using System;
namespace Amazon.Kinesis.Firehose
{
public readonly struct Record
{
public const int MaxSize = 1_000_000; // 1,000 KB
public Record(byte[] data)
{
if (data is null)
{
throw new ArgumentNullException(nameof(data));
... | using System;
namespace Amazon.Kinesis.Firehose
{
public readonly struct Record
{
public const int MaxSize = 1_000_000; // 1,000 KB
public Record(byte[] data)
{
if (data == null)
{
throw new ArgumentNullException(nameof(data));
... | mit | C# |
8457c05b9a19dcc7e23cb94b8390c9c5b26d4ce2 | Fix the new diff tool configurations to account for the "approved" file not existing. | JoeMighty/shouldly | src/Shouldly/Configuration/KnownDiffTools.cs | src/Shouldly/Configuration/KnownDiffTools.cs | #if ShouldMatchApproved
using System.IO;
using JetBrains.Annotations;
namespace Shouldly.Configuration
{
public class KnownDiffTools
{
[UsedImplicitly]
public readonly DiffTool KDiff3 = new DiffTool("KDiff3", @"KDiff3\kdiff3.exe", KDiffArgs);
[UsedImplicitly]
public readonly Dif... | #if ShouldMatchApproved
using JetBrains.Annotations;
namespace Shouldly.Configuration
{
public class KnownDiffTools
{
[UsedImplicitly]
public readonly DiffTool KDiff3 = new DiffTool("KDiff3", @"KDiff3\kdiff3.exe", KDiffArgs);
[UsedImplicitly]
public readonly DiffTool BeyondCompa... | bsd-3-clause | C# |
5e689722fa7e7191e7a2aabe9008ffd15f7abd1b | Add the standard copyright header into UTF8Marshaler.cs | shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg | trunk/src/bindings/UTF8Marshaler.cs | trunk/src/bindings/UTF8Marshaler.cs | /**
* tapcfg - A cross-platform configuration utility for TAP driver
* Copyright (C) 2008 Juho Vähä-Herttua
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* versio... |
using System;
using System.Text;
using System.Collections;
using System.Runtime.InteropServices;
namespace TAP {
public class UTF8Marshaler : ICustomMarshaler {
static UTF8Marshaler marshaler = new UTF8Marshaler();
private Hashtable allocated = new Hashtable();
public static ICustomMarshaler GetInstance(stri... | lgpl-2.1 | C# |
8009b99fc55137accbb7bce0e7c848628c7dd58b | add experimental codes to edit file | hakomikan/CommandUtility | CommandInterfaceTest/Utility/ProjectConstructorTests.cs | CommandInterfaceTest/Utility/ProjectConstructorTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using CommandInterface.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandInterface;
using System.IO;
using TestUtility;
using System.Diagnostics;
using CommandInterface... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using CommandInterface.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandInterface;
using System.IO;
using TestUtility;
using System.Diagnostics;
using CommandInterface... | bsd-2-clause | C# |
bd5270a4c7f6198c91e43277656840ade94c9716 | Include regular console reporting even when running under TeamCity, so that users see appropriate test details whether looking at the captured build output or the test report. | fixie/fixie | src/Fixie/Internal/EntryPoint.cs | src/Fixie/Internal/EntryPoint.cs | namespace Fixie.Internal
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Reports;
using static System.Console;
using static System.Environment;
using static Maybe;
public class EntryPoint
{
... | namespace Fixie.Internal
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Reports;
using static System.Console;
using static System.Environment;
using static Maybe;
public class EntryPoint
{
... | mit | C# |
18cd981490699d7b54111d245130a0bfce1b38d4 | Enable CORS | Wabyon/MarkN | src/MarkN.Server/Bootstrapper.cs | src/MarkN.Server/Bootstrapper.cs | using Nancy;
using Nancy.Bootstrapper;
using Nancy.TinyIoc;
namespace MarkN
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void RequestStartup(TinyIoCContainer container, IPipelines pipelines, NancyContext context)
{
//CORS Enable
pipelines.... | using Nancy;
namespace MarkN
{
public class Bootstrapper : DefaultNancyBootstrapper
{
}
} | mit | C# |
30a9e353dc7f492adb096d2ad8d790f896c9cb88 | Add missing character in namespace | appharbor/appharbor-cli | src/AppHarbor/TypeNameMatcher.cs | src/AppHarbor/TypeNameMatcher.cs | namespace AppHarbor
{
public class TypeNameMatcher
{
}
}
| amespace AppHarbor
{
public class TypeNameMatcher
{
}
}
| mit | C# |
f12053f5fb3c67274463407dbff41b1a3602ed40 | Add call to Evolve and change log msg | lecaillon/Evolve | src/Evolve/MsBuild/EvolveBoot.cs | src/Evolve/MsBuild/EvolveBoot.cs | #if NET
using System;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Evolve.MsBuild
{
[LoadInSeparateAppDomain]
[Serializable]
public class EvolveBoot : AppDomainIsolatedTask
{
public string TargetPath { get; set; }
public string TargetDir... | #if NET
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Evolve.MsBuild
{
public class EvolveBoot : Task
{
public string TargetPath { get; set; }
public override bool Execute()
{
Log.LogMessage(MessageImportance.High, "");
Log.LogMes... | mit | C# |
5ba266ba2e8451bdd3976affae4817a65a1716be | Extend the available constructors on ParseException to avoid a binary-breaking change | datalust/superpower,datalust/superpower | src/Superpower/ParseException.cs | src/Superpower/ParseException.cs | // Copyright 2016 Datalust, Superpower Contributors, Sprache Contributors
//
// 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 2016 Datalust, Superpower Contributors, Sprache Contributors
//
// 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
//
//... | apache-2.0 | C# |
3b29583a43da76ee6b0952ed0483c569cc180d2d | Update TestBase.cs | SimonCropp/NServiceBus.Serilog | src/Tests/TestConfig/TestBase.cs | src/Tests/TestConfig/TestBase.cs | using Xunit.Abstractions;
using ObjectApproval;
public class TestBase:
XunitApprovalBase
{
public TestBase(ITestOutputHelper output, [CallerFilePath] string sourceFilePath = "") :
base(output, sourceFilePath)
{
}
static TestBase()
{
SerializerBuilder.ExtraSettings = settings =... | using Xunit.Abstractions;
using ObjectApproval;
public class TestBase:
XunitApprovalBase
{
public TestBase(ITestOutputHelper output) :
base(output)
{
}
static TestBase()
{
SerializerBuilder.ExtraSettings = settings =>
{
settings.Converters.Add(new LogEventP... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.