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 |
|---|---|---|---|---|---|---|---|---|
cb0b3650b82affcc7ea46a4c90cf0c5fb4368800 | Use a blockingUpdateTokenCount uint rather than a boolean to deal with nested BeginUpdate()-EndUpdate() pairs better. | PenguinF/sandra-three | Sandra.UI.WF/RichTextBox/UpdatableRichTextBox.cs | Sandra.UI.WF/RichTextBox/UpdatableRichTextBox.cs | /*********************************************************************************
* UpdatableRichTextBox.cs
*
* Copyright (c) 2004-2017 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... | /*********************************************************************************
* UpdatableRichTextBox.cs
*
* Copyright (c) 2004-2017 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... | apache-2.0 | C# |
a40b72a79bf1f52f49aca73116c10edb13477c12 | bump pause before running data tests to give db time to come online | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | tests/FilterLists.Data.Tests/SeedFilterListsDbContextTests.cs | tests/FilterLists.Data.Tests/SeedFilterListsDbContextTests.cs | using System.Threading;
using FilterLists.Data.Seed.Extensions;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace FilterLists.Data.Tests
{
public class SeedFilterListsDbContextTests
{
[Fact]
public async void SeedOrUpdateAsync_DoesNotThrowException()
{
//TODO: repl... | using System.Threading;
using FilterLists.Data.Seed.Extensions;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace FilterLists.Data.Tests
{
public class SeedFilterListsDbContextTests
{
[Fact]
public async void SeedOrUpdateAsync_DoesNotThrowException()
{
//TODO: repl... | mit | C# |
c27b4bb33a50f375f211f150bf2c607e63dc48a7 | Remove unused property. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Blockchain/BlockFilters/SyncInfo.cs | WalletWasabi/Blockchain/BlockFilters/SyncInfo.cs | using NBitcoin.RPC;
using System;
using WalletWasabi.Helpers;
namespace WalletWasabi.Blockchain.BlockFilters
{
public class SyncInfo
{
public SyncInfo(BlockchainInfo bcinfo)
{
Guard.NotNull(nameof(bcinfo), bcinfo);
BlockCount = (int)bcinfo.Blocks;
int headerCount = (int)bcinfo.Headers;
BlockchainInfo... | using NBitcoin.RPC;
using System;
using WalletWasabi.Helpers;
namespace WalletWasabi.Blockchain.BlockFilters
{
public class SyncInfo
{
public SyncInfo(BlockchainInfo bcinfo)
{
Guard.NotNull(nameof(bcinfo), bcinfo);
BlockCount = (int)bcinfo.Blocks;
int headerCount = (int)bcinfo.Headers;
BlockchainInfo... | mit | C# |
58266453419f965c3c104b18a3ac3060d83f0be5 | Update GetServiceDirectory() API to use EndpointConfig | Ontica/Empiria.Extended | WebApi/Controllers/ServiceDirectoryController.cs | WebApi/Controllers/ServiceDirectoryController.cs | /* Empiria Extensions Framework ******************************************************************************
* *
* Module : Empiria Web Api Component : Base controllers ... | /* Empiria Extensions Framework ******************************************************************************
* *
* Module : Empiria Web Api Component : Base controllers ... | agpl-3.0 | C# |
7c688b1e55f4bc48de70612f59301bdc54c8a382 | add a TODO | paladique/nodejstools,bossvn/nodejstools,paulvanbrenk/nodejstools,bossvn/nodejstools,necroscope/nodejstools,bowdenk7/nodejstools,munyirik/nodejstools,AustinHull/nodejstools,ahmad-farid/nodejstools,chanchaldabriya/nodejstools,np83/nodejstools,paulvanbrenk/nodejstools,paladique/nodejstools,kant2002/nodejstools,bossvn/nod... | Nodejs/Product/TestAdapter/TestFrameworks/FrameworkDiscover.cs | Nodejs/Product/TestAdapter/TestFrameworks/FrameworkDiscover.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If ... | apache-2.0 | C# |
39d361320bd1cd8e90a82df65e0460295cc9cdef | Update NumericLiteralTokenScanner.cs | Zebrina/PapyrusScriptEditorVSIX,Zebrina/PapyrusScriptEditorVSIX | PapyrusScriptEditorVSIX/Language/NumericLiteralTokenScanner.cs | PapyrusScriptEditorVSIX/Language/NumericLiteralTokenScanner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Text;
using Papyrus.Language.Components;
using Papyrus.Common.Extensions;
namespace Papyrus.Language {
public class NumericLiteralTokenScanner : TokenScannerModule {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Text;
using Papyrus.Language.Components;
using Papyrus.Common.Extensions;
namespace Papyrus.Language {
public class NumericLiteralTokenScanner : TokenScannerModule {
... | mit | C# |
5384e1883b02ff9f98f17fbf034c1fce42c53517 | test for the endpoint exception | MassTransit/MassTransit,jacobpovar/MassTransit,phatboyg/MassTransit,SanSYS/MassTransit,MassTransit/MassTransit,jacobpovar/MassTransit,SanSYS/MassTransit,phatboyg/MassTransit | Transports/MassTransit.Transports.Msmq.Tests/As_an_endpoint.cs | Transports/MassTransit.Transports.Msmq.Tests/As_an_endpoint.cs | namespace MassTransit.Transports.Msmq.Tests
{
using System;
using Configuration;
using Exceptions;
using MassTransit.Tests;
using NUnit.Framework;
[TestFixture]
public class When_endpoint_doesnt_exist
{
[Test]
[ExpectedException(typeof(EndpointException))]
... | namespace MassTransit.Transports.Msmq.Tests
{
using System;
using Exceptions;
using MassTransit.Tests;
using NUnit.Framework;
[TestFixture]
public class When_endpoint_doesnt_exist
{
[Test]
[ExpectedException(typeof(EndpointException))]
public void Should_... | apache-2.0 | C# |
37ac900b710c09452c62d8b198585c2d43a2add8 | test for the endpoint exception | ccellar/MassTransit,ccellar/MassTransit,lahma/MassTransit,jsmale/MassTransit,D3-LucaPiombino/MassTransit,abombss/MassTransit,petedavis/MassTransit,ccellar/MassTransit,vebin/MassTransit,abombss/MassTransit,lahma/MassTransit,ccellar/MassTransit,lahma/MassTransit,vebin/MassTransit,lahma/MassTransit,abombss/MassTransit,pet... | Transports/MassTransit.Transports.Msmq.Tests/As_an_endpoint.cs | Transports/MassTransit.Transports.Msmq.Tests/As_an_endpoint.cs | namespace MassTransit.Transports.Msmq.Tests
{
using System;
using Configuration;
using Exceptions;
using MassTransit.Tests;
using NUnit.Framework;
[TestFixture]
public class When_endpoint_doesnt_exist
{
[Test]
[ExpectedException(typeof(EndpointException))]
... | namespace MassTransit.Transports.Msmq.Tests
{
using System;
using Exceptions;
using MassTransit.Tests;
using NUnit.Framework;
[TestFixture]
public class When_endpoint_doesnt_exist
{
[Test]
[ExpectedException(typeof(EndpointException))]
public void Should_... | apache-2.0 | C# |
184e2443bc4c70f5c6b570e906d8841f49aeed19 | Add WTSQueryUserToken | jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke | src/WtsApi32.Desktop/WtsApi32.cs | src/WtsApi32.Desktop/WtsApi32.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 static Kernel32;
using System;
using System.Runtime.Inte... | // 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;
using System.Runtime.InteropServices;
/// <cont... | mit | C# |
a05fe1fc8c514a633d42c464a59a047978306117 | fix peverify order | Fody/Janitor | Tests/Verifier.cs | Tests/Verifier.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using NUnit.Framework;
public static class Verifier
{
static string exePath;
static Verifier()
{
var windowsSdk = Environment.ExpandEnvironmentVariables(@"%programfiles(x86)%\Microsof... | using System;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using NUnit.Framework;
public static class Verifier
{
public static void Verify(string beforeAssemblyPath, string afterAssemblyPath)
{
var before = Validate(beforeAssemblyPath);
var after = Validate(... | mit | C# |
78b02c183e32efd7099094c677d41bcf268852bc | Bump version | klesta490/BTDB,Bobris/BTDB,karasek/BTDB | 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... | mit | C# |
94603c16f49161c9ca6dbb069f1cc3190dd4263a | Update XElementToTreeView.cs | phusband/SharpExtensions | Resources/XElementToTreeView.cs | Resources/XElementToTreeView.cs | namespace SharpExtensions
{
public static class XElementToTreeView
{
public static void FromXElement(this TreeView T_View, XElement XElem , TreeNode ParentNode = null)
{
// Create temporarty node
var TempNode = new TreeNode(XElem.Name.LocalName);
// Determine if recursive loop or initial entry
... | namespace SharpExtensions
{
public static class XElementToTreeView
{
public static void FromXElement(this TreeView T_View, XElement XElem , TreeNode ParentNode = null)
{
// Create temporarty node
var TempNode = new TreeNode(XElem.Name.LocalName);
// Determine if recursive loop or initial entry
... | mit | C# |
8acd89809cafc6849b640eee68c9cc7836484714 | Make headers less obnoxious | awseward/restivus | src/Restivus/Serilog/SerilogExtensions.cs | src/Restivus/Serilog/SerilogExtensions.cs | using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Restivus.Serilog
{
public static class SerilogExtensions
{
public static LoggerConfiguration FilterRequestQ... | using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Restivus.Serilog
{
public static class SerilogExtensions
{
public static LoggerConfiguration FilterQueryParamsFromHttpRequestMessage(
... | mit | C# |
ca454c1fcb2c7cbf1d71f4a8b0e6560225807914 | Allow to specify font in the label constructor | k-t/SharpHaven | MonoHaven.Client/UI/Label.cs | MonoHaven.Client/UI/Label.cs | using System.Drawing;
using MonoHaven.Graphics;
namespace MonoHaven.UI
{
public class Label : Widget
{
private string text;
private readonly TextBlock textBlock;
public Label(Widget parent, SpriteFont font) : base(parent)
{
textBlock = new TextBlock(font);
textBlock.TextColor = Color.White;
SetSiz... | using System.Drawing;
using MonoHaven.Graphics;
namespace MonoHaven.UI
{
public class Label : Widget
{
private string text;
private readonly TextBlock textBlock;
public Label(Widget parent)
: base(parent)
{
textBlock = new TextBlock(Fonts.Default);
}
public string Text
{
get { return text; ... | mit | C# |
dd7d4a6a5014b981915aa6e9724ce4f3b094d746 | bump version to v1.1 | Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
| using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| unlicense | C# |
8c52789658c519fabdbd0644e932502b027d28c5 | Refactor process to remove FormatException from trace log | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Core/Addml/Processes/AnalyseFindMinMaxValues.cs | src/Arkivverket.Arkade/Core/Addml/Processes/AnalyseFindMinMaxValues.cs | using System;
using Arkivverket.Arkade.Tests;
namespace Arkivverket.Arkade.Core.Addml.Processes
{
public class AnalyseFindMinMaxValues : IAddmlProcess
{
public const string Name = "Analyse_FindMinMaxValues";
private readonly TestRun _testRun;
private int? _minValue;
private int... | using System;
using Arkivverket.Arkade.Tests;
namespace Arkivverket.Arkade.Core.Addml.Processes
{
public class AnalyseFindMinMaxValues : IAddmlProcess
{
public const string Name = "Analyse_FindMinMaxValues";
private readonly TestRun _testRun;
private int? _minValue;
private int... | agpl-3.0 | C# |
61ca3d9db9a1085b6a1c0568094d48ef77aa6469 | Fix styling for users download page | Orcomp/Orc.CheckForUpdates,Orcomp/Orc.CheckForUpdates,Orcomp/Orc.CheckForUpdates | src/samples/Orc.CheckForUpdate.BasicServer/Views/Releases/Index.cshtml | src/samples/Orc.CheckForUpdate.BasicServer/Views/Releases/Index.cshtml | @model Orc.CheckForUpdate.Web.Models.VersionsViewModel
@{
ViewBag.Title = "Index";
}
@section additionalstyles
{
@Styles.Render("~/Content/css/releases")
}
<h2>Releases</h2>
<div>
@{
Html.RenderPartial("ReleasesList", Model);
}
</div>
| @model Orc.CheckForUpdate.Web.Models.VersionsViewModel
@{
ViewBag.Title = "Index";
}
@section additionalstyles
{
@Styles.Render("~/Content/css/downloads")
}
<h2>Releases</h2>
<div>
@{
Html.RenderPartial("ReleasesList", Model);
}
</div>
| mit | C# |
ab64769c59fae2a0942ded9e9242c2b4ee81b908 | Fix compilation failure | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs | testapps/ApplicationWithCustomInputFiles/Controllers/HomeController.cs | using System;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.AspNetCore.Mvc.Razor.Compilation;
namespace ApplicationWithCustomInputFiles.Controllers
{
public class HomeController : Controller
{
public IAction... | using System;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.AspNetCore.Mvc.Razor.Compilation;
namespace ApplicationWithCustomInputFiles.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
... | apache-2.0 | C# |
680356c2348ace103f1ca565e1df718ce352b0dd | Add ShowException | AVPolyakov/SharpLayout | SharpLayout.Tests/Program.cs | SharpLayout.Tests/Program.cs | using System;
using System.Diagnostics;
using PdfSharp.Drawing;
namespace SharpLayout.Tests
{
static class Program
{
static void Main()
{
try
{
var document = new Document {
//CellsAreHighlighted = true,
//R1C1AreV... | using System;
using System.Diagnostics;
namespace SharpLayout.Tests
{
static class Program
{
static void Main()
{
var document = new Document {
//CellsAreHighlighted = true,
//R1C1AreVisible = true,
//ParagraphsAreHighlighted = true,
... | mit | C# |
3af940419038aa706675990ea7bc447ef0dcdd3b | Fix typo. | real-logic/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,PKRoma/simple-binary-encoding,real-logic/simple-binary-encoding,PKRoma/simple-binary-encoding,real-logic/simple-binary-encoding,real-log... | csharp/sbe-tests/Issue560Tests.cs | csharp/sbe-tests/Issue560Tests.cs | // Copyright (C) 2018 Bill Segall
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | // Copyright (C) 2018 Bill Segall
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | apache-2.0 | C# |
b6d3d99af1722eb2fa88f2c165c1139707298b5d | Set Client Provided Name when creating connection | simonbaas/EasyRabbitMQ,simonbaas/EasyRabbitMQ | src/EasyRabbitMQ/Infrastructure/ConnectionFactory.cs | src/EasyRabbitMQ/Infrastructure/ConnectionFactory.cs | using EasyRabbitMQ.Configuration;
using RabbitMQ.Client;
namespace EasyRabbitMQ.Infrastructure
{
internal class ConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
private const string ClientProvidedName = "EasyRabbitMQ";
public ConnectionFactory(I... | using EasyRabbitMQ.Configuration;
using RabbitMQ.Client;
namespace EasyRabbitMQ.Infrastructure
{
internal class ConnectionFactory : IConnectionFactory
{
private readonly IConfiguration _configuration;
public ConnectionFactory(IConfiguration configuration)
{
_configuration ... | apache-2.0 | C# |
b50ed7a4b3a7ec58ce5bc76e49be86321b9cde62 | fix nullability issue | acple/ParsecSharp | ParsecSharp/Data/Internal/Buffer.cs | ParsecSharp/Data/Internal/Buffer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ParsecSharp.Internal
{
public sealed class Buffer<TToken> : IReadOnlyList<TToken>
{
public static Buffer<TToken> Empty { get; } = new(Array.Empty<TToken>(), () => Empty!);
private readonly TT... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ParsecSharp.Internal
{
public sealed class Buffer<TToken> : IReadOnlyList<TToken>
{
public static Buffer<TToken> Empty { get; } = new(Array.Empty<TToken>(), () => Empty);
private readonly TTo... | mit | C# |
6e645551e71729b7e87dae5be7738834b974676b | Update Pixel.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/Pixel.cs | src/api/Pixel.cs | // Contributors:
// James Domingo, Green Code LLC
namespace Landis.SpatialModeling
{
/// <summary>
/// Base class for types of pixels.
/// <example>
/// </example>
/// </summary>
public abstract class Pixel
{
PixelBand[] bands;
/// <summary>
/// Set... | // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
bbc9f77cc8a688825633db84500d60a035e46f95 | clean up code | CupWorks/GGJ2016 | Game.Client/Program.cs | Game.Client/Program.cs | using System;
using System.IO;
namespace Game.Client
{
public class Program
{
private const int windowHeight = 30;
private const int windowWidth = 80;
private static void Main(string[] args)
{
var commandsFileStream = new FileStream("Commands.xml", FileMode.Open);
... | using System;
using System.IO;
namespace Game.Client
{
public class Program
{
private static void Main(string[] args)
{
var commandsFileStream = new FileStream("Commands.xml", FileMode.Open);
var storyStepsFileStream = new FileStream("StorySteps.xml", FileMode.Open);
... | mit | C# |
e4a3b0b79a35ccd25cd84864bd806ff7b2943087 | Fix weird english in test ignore comment | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework.Tests/Visual/Platform/TestSceneExecutionModes.cs | osu.Framework.Tests/Visual/Platform/TestSceneExecutionModes.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Fram... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Fram... | mit | C# |
b2c7921c12ee022323eaf366718ae15ed106601c | fix .net test | lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds | vds.net/tests/test_vds_embedded.net/ScenarioTests.cs | vds.net/tests/test_vds_embedded.net/ScenarioTests.cs | using System;
using Xunit;
using vds_embedded.net;
using System.IO;
namespace test_vds_embedded.net
{
public class ScenarioTests
{
[Fact]
public void ScenarionTests()
{
var api = new vds_api();
api.root_folder(Path.Combine(Directory.GetCurrentDirectory(), "server... | using System;
using Xunit;
using vds_embedded.net;
using System.IO;
namespace test_vds_embedded.net
{
public class ScenarioTests
{
[Fact]
public void ScenarionTests()
{
var api = new vds_api();
api.root_folder(Directory.GetCurrentDirectory());
api.ser... | mit | C# |
cf7e03e348c0128b7a2eda3e5dc2dfab620debb6 | Fix bad merge | ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/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 System.IO;
using Android.App;
using Android.Content;
using osu.Framework.Android.Graphics.Textures;
using osu.Frame... | // 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 Android.App;
using Android.Content;
using osu.Framework.Android.Graphics.Textures;
using osu.Framework.Android.Grap... | mit | C# |
fbee268a76813b78eedab7cb305986ad6decfab9 | Clarify IBindable xml-doc | EVAST9919/osu-framework,paparony03/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,default0/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,default0/osu-framework,peppy/osu-framework,Tom94/osu-framework,smoogipooo/osu-... | osu.Framework/Configuration/IBindable.cs | osu.Framework/Configuration/IBindable.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
namespace osu.Framework.Configuration
{
/// <summary>
/// An interface which can be bound to in order to watch for (and react to) value changes.... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Configuration
{
/// <summary>
/// Respresents a class which can be bound to in order to watch for (and react to) value c... | mit | C# |
bc152a0c2de02efae5f5bc890ae273863bffb219 | Bump version to 0.30.7 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
2e0532aeb7a3cc919b399ea6b7cb6adb1df69df0 | Remove extra paragraph | ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Primitives/IPolygon.cs | osu.Framework/Graphics/Primitives/IPolygon.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 osuTK;
namespace osu.Framework.Graphics.Primitives
{
public interface IPolygon
{
/// <summary>
/// The vertices for this pol... | // 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 osuTK;
namespace osu.Framework.Graphics.Primitives
{
public interface IPolygon
{
/// <summary>
/// The vertices for this pol... | mit | C# |
6a85906a425d37d33a7e916baeef10fb1afe87a9 | fix to small | autumn009/TanoCSharpSamples | Chap37/ConstantInterpolatedStrings/ConstantInterpolatedStrings/Program.cs | Chap37/ConstantInterpolatedStrings/ConstantInterpolatedStrings/Program.cs | using System;
const string a = "dream";
const string b = $"We have new {a}!";
Console.WriteLine(b);
| using System;
class Program
{
static void Main()
{
const string a = "dream";
const string b = $"We have new {a}!";
Console.WriteLine(b);
}
}
| mit | C# |
2955ff58af0be728ccce76b44387bfc6f985db6f | Update logging message. | sirarsalih/Hackathons,sirarsalih/Hackathons,sirarsalih/Hackathons | Faghelg-2015/signalr-server/SignalRServer/Views/Home/ImageCarousel.cshtml | Faghelg-2015/signalr-server/SignalRServer/Views/Home/ImageCarousel.cshtml |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<link href="~/Content/screen.css" rel="stylesheet" />
<script src="~/Scripts/lib.min.js"></scrip... |
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<link href="~/Content/screen.css" rel="stylesheet" />
<script src="~/Scripts/lib.min.js"></scrip... | mit | C# |
7b89068485dc846c8485e19b9f1e4a5f6128d0e3 | Add note about EmployeeID property using | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Employee/components/EmployeeSettings.cs | R7.University.Employee/components/EmployeeSettings.cs | using System;
using DotNetNuke.Entities.Modules;
using DotNetNuke.UI.Modules;
using DotNetNuke.Common.Utilities;
using R7.University;
namespace R7.University.Employee
{
/// <summary>
/// Provides strong typed access to settings used by module
/// </summary>
public partial class EmployeeSettings : Setti... | using System;
using DotNetNuke.Entities.Modules;
using DotNetNuke.UI.Modules;
using DotNetNuke.Common.Utilities;
using R7.University;
namespace R7.University.Employee
{
/// <summary>
/// Provides strong typed access to settings used by module
/// </summary>
public partial class EmployeeSettings : Setti... | agpl-3.0 | C# |
7f7ad46c678a9c72b4a443d7ee1627cb6e2c50d8 | Update ClassesToStringConverter.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | samples/BehaviorsTestApplication/Converters/ClassesToStringConverter.cs | samples/BehaviorsTestApplication/Converters/ClassesToStringConverter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data.Converters;
namespace BehaviorsTestApplication.Converters;
public class ClassesToStringConverter : IMultiValueConverter
{
public static ClassesToStringConverter Instance = new(... | using System;
using System.Collections.Generic;
using System.Globalization;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data.Converters;
namespace BehaviorsTestApplication.Converters;
public class ClassesToStringConverter : IMultiValueConverter
{
public static ClassesToStringConverter Instance = new(... | mit | C# |
494cfee5bee542c9e32c5beafff1d223faf9d638 | Remove broken Sequence | sharper-library/Sharper.C.Chain | Sharper.C.Chain.Testing/Testing/ChainTestingModule.cs | Sharper.C.Chain.Testing/Testing/ChainTestingModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using FsCheck;
using Fuchu;
namespace Sharper.C.Testing
{
using static Data.ChainModule;
using static SystemArbitraryModule;
public static class ChainTestingModule
{
public static Test WithoutOverflow<A>(this string label, Func<Chain<A>> f)
=... | using System;
using System.Collections.Generic;
using System.Linq;
using FsCheck;
using Fuchu;
namespace Sharper.C.Testing
{
using static Data.ChainModule;
using static Data.EnumerableModule;
using static SystemArbitraryModule;
public static class ChainTestingModule
{
public static Test WithoutOverflow<A>(this s... | mit | C# |
41be9b3f8f08dd691a38ab1ff50872d126fe9f2e | Add asserts to the test scene | ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game.Tests/Visual/UserInterface/TestScenePageSelector.cs | osu.Game.Tests/Visual/UserInterface/TestScenePageSelector.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.Game.Graphics.UserInterface;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.UserInterface
{
... | // 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.Game.Graphics.UserInterface;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.UserInterface
{
... | mit | C# |
200592114f9e20d0f2ede64a70135f50f0319e00 | Make protected variables private | peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownLinkText.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownLinkText.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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Mark... | // 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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Mark... | mit | C# |
45b58341b67c86dad12d46267215527ba3d1dee2 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p>
<p>The laboratory is located in Hoagland Hall with a Sample Receiving area in nearby Hoagland ... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: June 29, 2021<br /><br />
<strong>Please Note Holiday Closure Information:</strong><br /><br />
The Lab will ... | mit | C# |
cca9e2e87d2f456c29b5e5bad518a137c541a1bd | Remove annoying unnecessary logging | knexer/TimeLoopIncremental | Assets/Scripts/Grid/GridOutput.cs | Assets/Scripts/Grid/GridOutput.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(GridPositionComponent))]
[RequireComponent(typeof(ResourceSink))]
public class GridOutput : MonoBehaviour {
private ResourceStorage ItemDestination;
private ResourceSink ItemSource;
// Use this for initia... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(GridPositionComponent))]
[RequireComponent(typeof(ResourceSink))]
public class GridOutput : MonoBehaviour {
private ResourceStorage ItemDestination;
private ResourceSink ItemSource;
// Use this for initia... | mit | C# |
73bc2733143b2f7d27ab04dd6fdc2da571c603e4 | Remove Utilities.GetRelativePieceValue | ProgramFOX/Chess.NET | ChessDotNet/Utilities.cs | ChessDotNet/Utilities.cs | using System;
namespace ChessDotNet
{
public static class Utilities
{
public static void ThrowIfNull(object value, string parameterName)
{
if (value == null)
{
throw new ArgumentNullException(parameterName);
}
}
public static... | using System;
namespace ChessDotNet
{
public static class Utilities
{
public static void ThrowIfNull(object value, string parameterName)
{
if (value == null)
{
throw new ArgumentNullException(parameterName);
}
}
public static... | mit | C# |
2a7c2921cd12d16190d3bb7f8d9cc358fa4dce9a | Split out message printing into PrintMessage() | mono/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,openmedicus/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp | src/Monitor.cs | src/Monitor.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main (string[] args)
{
string addr = Addr... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main (string[] args)
{
string addr = Addr... | mit | C# |
9bc50936435663f8d27091e65bf886cb1f6a3c2f | Remove unused constructor. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Socks5/Models/Messages/VersionMethodRequest.cs | WalletWasabi/Tor/Socks5/Models/Messages/VersionMethodRequest.cs | using System;
using System.Linq;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor.Socks5.Models.Messages
{
public class VersionMethodRequest : ByteArr... | using System;
using System.Linq;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor.Socks5.Models.Messages
{
public class VersionMethodRequest : ByteArr... | mit | C# |
4524e790f28fd176682bc1986122336fc71217fc | Test all node types | turtle-box-games/leaf-csharp | Leaf/Leaf.Tests/ContainerTests.cs | Leaf/Leaf.Tests/ContainerTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Leaf.Nodes;
using NUnit.Framework;
namespace Leaf.Tests
{
[TestFixture(TestOf = typeof(Container))]
public class ContainerTests
{
[Test(Description = "Verify that the constructor throws an exception when the root node is null... | using Leaf.Nodes;
using NUnit.Framework;
namespace Leaf.Tests
{
[TestFixture(TestOf = typeof(Container))]
public class ContainerTests
{
[Test(Description = "Verify that the constructor throws an exception when the root node is null.")]
public void NullRootTest()
{
Asser... | mit | C# |
b8f21bee0313c747bc7482dc313a7ea87f6d7bf6 | Update warning code for obsolete property in #pragma. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Server.KestrelTests/KestrelServerOptionsTests.cs | test/Microsoft.AspNetCore.Server.KestrelTests/KestrelServerOptionsTests.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 System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Server.Kestrel;
using Xunit;
namespace Microsoft.AspNetCore.Server... | // 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 System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Server.Kestrel;
using Xunit;
namespace Microsoft.AspNetCore.Server... | apache-2.0 | C# |
89cd8ed597c12947447183f8e08a395b99409d88 | Correct tabs to spaces in test. | eylvisaker/AgateLib | AgateLib.Tests/UnitTests/UserInterface/DataModel/ConfigFacetReadingTests.cs | AgateLib.Tests/UnitTests/UserInterface/DataModel/ConfigFacetReadingTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AgateLib.DisplayLib.BitmapFont;
using AgateLib.IO;
using AgateLib.UserInterface;
using AgateLib.UserInterface.DataModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using M... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AgateLib.DisplayLib.BitmapFont;
using AgateLib.IO;
using AgateLib.UserInterface;
using AgateLib.UserInterface.DataModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using M... | mit | C# |
1402a920f6a97807c65c3167681e59f7f7e41f94 | Fix - forgot to commit version change to 0.2.1. | VictorZakharov/pinwin | PinWin/Properties/AssemblyInfo.cs | PinWin/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("Pi... | 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("Pi... | mit | C# |
91152d3a65dcdbc989602c57379bbb5462a95303 | Add additional tests to delegate call data flow | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/test/library-tests/dataflow/delegates/DelegateFlow.cs | csharp/ql/test/library-tests/dataflow/delegates/DelegateFlow.cs | using System;
class DelegateFlow
{
void M1(int i) { }
static void M2(Action<int> a)
{
a(0);
a = _ => { };
a(1);
}
void M3()
{
M2(_ => { });
M2(M1);
}
void M4(Action<int> a)
{
M2(a);
}
void M5()
{
M4(_ => { });
... | using System;
class DelegateFlow
{
void M1(int i) { }
void M2(Action<int> a)
{
a(0);
a = _ => { };
a(0);
}
void M3()
{
M2(_ => { });
M2(M1);
}
void M4(Action<int> a)
{
M2(a);
}
void M5()
{
M4(_ => { });
... | mit | C# |
4de9e71e6b3d9bbdb32334a9091027d196674dbf | Update ApplicationConstants.cs | tjscience/RoboSharp,tjscience/RoboSharp | RoboSharp/ApplicationConstants.cs | RoboSharp/ApplicationConstants.cs | using System.Collections.Generic;
namespace RoboSharp
{
internal class ApplicationConstants
{
internal static Dictionary<string, string> ErrorCodes = new Dictionary<string, string>()
{
{ "ERROR 33 (0x00000021)", "The process cannot access the file because another process has locked... | using System.Collections.Generic;
namespace RoboSharp
{
internal class ApplicationConstants
{
internal static Dictionary<string, string> ErrorCodes = new Dictionary<string, string>()
{
{ "ERROR 32 (0x00000020)", "The process cannot access the file because it is being used by anothe... | mit | C# |
d293c4053cb3f451ab07445a9dfc816df4a4f3ce | Add class XML comment | CamTechConsultants/CvsntGitImporter | RepositoryConsistencyException.cs | RepositoryConsistencyException.cs | /*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Runtime.Serialization;
namespace CvsGitConverter
{
/// <summary>
/// Thrown when the CVS repository is inconsistent.
/// </summary>
class Repos... | /*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Runtime.Serialization;
namespace CvsGitConverter
{
/// <summary>
///
/// </summary>
class RepositoryConsistencyException : Exception
{
///... | mit | C# |
f3f5df0bb2683fb1f01fc27496164891c5728e22 | Add using block | EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Tom94/osu-framework,s... | osu.Framework.Tests/Exceptions/TestAddRemoveExceptions.cs | osu.Framework.Tests/Exceptions/TestAddRemoveExceptions.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 System;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
namespace osu... | // 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 System;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
namespace osu... | mit | C# |
b1c6eda80ded4ba239b9ecef40bbae3edf38eb47 | Reset Y postiions of TabItems before performing layout. | ppy/osu-framework,DrabWeb/osu-framework,default0/osu-framework,smoogipooo/osu-framework,RedNesto/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,naoey/osu-fram... | osu.Framework/Graphics/Containers/TabFillFlowContainer.cs | osu.Framework/Graphics/Containers/TabFillFlowContainer.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 System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics.UserInterface.Tab;
using OpenTK;
namespace osu.Frame... | // 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 System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics.UserInterface.Tab;
using OpenTK;
namespace osu.Frame... | mit | C# |
d602072ee3ddb834899295a7c664b6f170d73175 | Use SingleOrDefault where feasible | smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.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.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rul... | // 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.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rul... | mit | C# |
85a3027f1ba4107bee90ee3d2c7492d93b1546f4 | Add failing test | UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu | osu.Game.Tests/Visual/Online/TestSceneAccountCreationOverlay.cs | osu.Game.Tests/Visual/Online/TestSceneAccountCreationOverlay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Contai... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | mit | C# |
77b25e7e91e0312f4c6f6ff482847b055efa2937 | initialize command scheduler db | jonsequitur/Alluvial | Alluvial.ForItsCqrs.Tests/DatabaseSetup.cs | Alluvial.ForItsCqrs.Tests/DatabaseSetup.cs | using System.Data.Entity;
using Microsoft.Its.Domain.Sql;
using Microsoft.Its.Domain.Sql.CommandScheduler;
namespace Alluvial.Streams.ItsDomainSql.Tests
{
public static class DatabaseSetup
{
private static bool databasesInitialized;
private static readonly object lockObj = new object()... | using Microsoft.Its.Domain.Sql;
using Microsoft.Its.Domain.Sql.CommandScheduler;
namespace Alluvial.Streams.ItsDomainSql.Tests
{
public static class DatabaseSetup
{
private static bool databasesInitialized;
private static readonly object lockObj = new object();
public static ... | mit | C# |
d3b416dfd53ac6af5906e203788416a92fbf3116 | Fix eval type display | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/Evaluation.cs | Battery-Commander.Web/Models/Evaluation.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class Evaluation
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
publi... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class Evaluation
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
publi... | mit | C# |
a5a1e01c2ac4fd68931e4ebf7cb7ba0c5c7848d3 | Check if credit card payment received | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/Payments/Confirmation.cshtml | CRP.Mvc/Views/Payments/Confirmation.cshtml | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | mit | C# |
ed26e371605bef12c04c9c3490e7b3465377652c | use Location of assembly instead of CodeBase | haithemaraissia/FAKE,MiloszKrajewski/FAKE,neoeinstein/FAKE,leflings/FAKE,ilkerde/FAKE,dmorgan3405/FAKE,tpetricek/FAKE,ctaggart/FAKE,mat-mcloughlin/FAKE,darrelmiller/FAKE,naveensrinivasan/FAKE,beeker/FAKE,ovu/FAKE,ArturDorochowicz/FAKE,warnergodfrey/FAKE,warnergodfrey/FAKE,yonglehou/FAKE,ovu/FAKE,wooga/FAKE,philipcpresl... | src/test/Test.FAKECore/MSBuild/LoggerSpecs.cs | src/test/Test.FAKECore/MSBuild/LoggerSpecs.cs | using System.IO;
using Fake;
using Machine.Specifications;
namespace Test.FAKECore.MSBuild
{
public class when_using_a_logger
{
It should_find_the_error_logger =
() => MSBuildHelper.ErrorLoggerName.ShouldEqual("Fake.MsBuildLogger+ErrorLogger");
It should_find_the_teamcity_logger =... | using System.IO;
using Fake;
using Machine.Specifications;
namespace Test.FAKECore.MSBuild
{
public class when_using_a_logger
{
It should_build_the_logger_from_filepath_with_hash = () =>
MSBuildHelper.buildErrorLoggerParam("file:///C:/Test#/asd")
.ShouldEqual(
... | apache-2.0 | C# |
3dc15bd52054ecb6150807ae740e75171bd78bcc | Enable NRT | sharwell/roslyn,dotnet/roslyn,weltkante/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,dotnet/roslyn,diryboy/roslyn,KevinRansom/roslyn,sharwell/roslyn,weltkante/roslyn,sharwell/roslyn,KevinRansom/roslyn,mavasani/roslyn,shyamnamboodiripad/rosly... | src/Analyzers/CSharp/Analyzers/OrderModifiers/CSharpOrderModifiersHelper.cs | src/Analyzers/CSharp/Analyzers/OrderModifiers/CSharpOrderModifiersHelper.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.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.CodeAnalysis.OrderModifier... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using Microsoft.CodeAnalysis.OrderModifiers;
namespace Micros... | mit | C# |
b8960219b4ee4d4481ddb88a14edc1ab468b407b | Fix Stylecop failure - long line | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Mvc.Core/Formatters/DefaultOutputFormattersProvider.cs | src/Microsoft.AspNet.Mvc.Core/Formatters/DefaultOutputFormattersProvider.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Mvc.OptionDescriptors;
using Microsoft.Framework.DependencyInje... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Mvc.OptionDescriptors;
using Microsoft.Framework.DependencyInje... | apache-2.0 | C# |
8fc4ba8202d1488daa89abc2a4ef2c3e33b63245 | Remove test code. | modulexcite/msgpack-cli,msgpack/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,undeadlabs/msgpack-cli | test/NUnitLiteRunner/Program.cs | test/NUnitLiteRunner/Program.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2015 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.or... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2015 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.or... | apache-2.0 | C# |
875121b1bbdeab8b2385df4c0578990471114ad2 | Handle null values | ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework | osu.Framework/Statistics/GlobalStatistic.cs | osu.Framework/Statistics/GlobalStatistic.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.
namespace osu.Framework.Statistics
{
public class GlobalStatistic<T> : IGlobalStatistic
{
public string Group { get; }
public string Name { 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.
namespace osu.Framework.Statistics
{
public class GlobalStatistic<T> : IGlobalStatistic
{
public string Group { get; }
public string Name { get; ... | mit | C# |
e8ef518438ae6497bf797a1ffd75eda963f40af2 | Fix bug with inserting new item | JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,JasonBock/csla,JasonBock/csla,rockfordlhotka/csla | Samples/MvcExample/MvcExample/Controllers/PersonController.cs | Samples/MvcExample/MvcExample/Controllers/PersonController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Csla;
using BusinessLibrary;
namespace CslaMvcExample.Controllers
{
public class PersonController : Csla.Web.Mvc.Controller
{
// GET: Person
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Csla;
using BusinessLibrary;
namespace CslaMvcExample.Controllers
{
public class PersonController : Csla.Web.Mvc.Controller
{
// GET: Person
... | mit | C# |
ac1a9260857109a3e0a91eeb6d09edefc3df8635 | fix implementation of convertback. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Converters/LurkingWifeModeStringConverter.cs | WalletWasabi.Gui/Converters/LurkingWifeModeStringConverter.cs | using Avalonia;
using Avalonia.Data.Converters;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace WalletWasabi.Gui.Converters
{
public class LurkingWifeModeStringConverter : IValueConverter
{
public object Convert(object value, Type targetTy... | using Avalonia;
using Avalonia.Data.Converters;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace WalletWasabi.Gui.Converters
{
public class LurkingWifeModeStringConverter : IValueConverter
{
public object Convert(object value, Type targetTy... | mit | C# |
6d5c7030dadbea3b129fd2154b1c1e7905c1e3f8 | Update ProtectingSpecificCellsinaWorksheet.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.... | Examples/CSharp/Worksheets/Security/ProtectingSpecificCellsinaWorksheet.cs | Examples/CSharp/Worksheets/Security/ProtectingSpecificCellsinaWorksheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class ProtectingSpecificCellsinaWorksheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security
{
public class ProtectingSpecificCellsinaWorksheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.Ge... | mit | C# |
6c885f122068453560af9d7a7593009646afa525 | Fix Guid Id | bubavanhalen/XamarinMediaManager,mike-rowley/XamarinMediaManager,modplug/XamarinMediaManager,martijn00/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager | MediaManager/Plugin.MediaManager.Abstractions/Implementations/MediaFile.cs | MediaManager/Plugin.MediaManager.Abstractions/Implementations/MediaFile.cs | using System;
using System.ComponentModel;
using Plugin.MediaManager.Abstractions.EventArguments;
namespace Plugin.MediaManager.Abstractions.Implementations
{
public class MediaFile : IMediaFile
{
public MediaFile() : this(String.Empty, MediaFileType.Other)
{
}
public MediaFil... | using System;
using System.ComponentModel;
using Plugin.MediaManager.Abstractions.EventArguments;
namespace Plugin.MediaManager.Abstractions.Implementations
{
public class MediaFile : IMediaFile
{
public MediaFile() : this(String.Empty, MediaFileType.Other)
{
}
public MediaFil... | mit | C# |
f274edeafa1a9e2d442caf48f6fec748e51c7541 | Test Cases | jefking/King.B-Trak | King.BTrak.Unit.Test/SqlDataWriterTests.cs | King.BTrak.Unit.Test/SqlDataWriterTests.cs | namespace King.BTrak.Unit.Test
{
using King.Data.Sql.Reflection;
using King.Mapper.Data;
using NSubstitute;
using NUnit.Framework;
using System;
[TestFixture]
public class SqlDataWriterTests
{
[Test]
public void Constructor()
{
var reader = Substitut... | namespace King.BTrak.Unit.Test
{
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[TestFixture]
public class SqlDataWriterTests
{
}
} | mit | C# |
e76cea5a8bd1cded0bf589ee69182bf8e8e7b192 | add better issue handling to PodMetadataProvider | IUMDPI/IUMediaHelperApps | Packager/Providers/IPodMetadataProvider.cs | Packager/Providers/IPodMetadataProvider.cs | using System;
using System.Net;
using System.Threading.Tasks;
using Packager.Deserializers;
using Packager.Models;
using Packager.Models.PodMetadataModels;
using RestSharp;
namespace Packager.Providers
{
public interface IPodMetadataProvider
{
Task<ConsolidatedPodMetadata> Get(string barcode);
}
... | using System.Threading.Tasks;
using Packager.Deserializers;
using Packager.Models;
using Packager.Models.PodMetadataModels;
using RestSharp;
namespace Packager.Providers
{
public interface IPodMetadataProvider
{
Task<ConsolidatedPodMetadata> Get(string barcode);
}
internal class PodMetadataPr... | apache-2.0 | C# |
671b3d01ff83d9550fcf1b65cfcccdf5d352181d | Fix OsuClickableContainer's local content geting overwritten | EVAST9919/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,Nabile-Rahmani/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,Frontear/osuKyzer,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,DrabWeb/osu,peppy/osu-new,DrabWeb/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,NeoA... | osu.Game/Graphics/Containers/OsuClickableContainer.cs | osu.Game/Graphics/Containers/OsuClickableContainer.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
namespace osu.Gam... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Graphics.Containers
{
p... | mit | C# |
8264b50cca27b3a72f1426cb91b7402df0ffef5d | Remove unused field | cake-build/cake,cake-build/cake,patriksvensson/cake,devlead/cake,patriksvensson/cake,devlead/cake,gep13/cake,gep13/cake | src/Cake.Common/Tools/DotNet/SDKCheck/DotNetSDKChecker.cs | src/Cake.Common/Tools/DotNet/SDKCheck/DotNetSDKChecker.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 Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Common.Tools.DotNet.SDKCheck
{
//... | // 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 Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Common.Tools.DotNet.SDKCheck
{
//... | mit | C# |
b7fc350b4ddaffa17933262b9c25dd7c2cf11141 | refactor code | Structed/claimini,Structed/claimini | src/Claimini.Api/Repository/Pdf/BackgroundEventHandler.cs | src/Claimini.Api/Repository/Pdf/BackgroundEventHandler.cs | // <copyright file="Invoice.cs" company="Johannes Ebner">
// Copyright (c) Johannes Ebner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root or https://spdx.org/licenses/MIT.html for full license information.
// </copyright>
using iText.Kernel.Events;
using iText.Kernel.Geom;... | // <copyright file="Invoice.cs" company="Johannes Ebner">
// Copyright (c) Johannes Ebner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root or https://spdx.org/licenses/MIT.html for full license information.
// </copyright>
using iText.Kernel.Events;
using iText.Kernel.Geom;... | mit | C# |
be78dae5de677053b8c58398b9ecf3d5d7b5ba65 | Update IScriptBuilder interface | Ackara/Daterpillar | src/Daterpillar.Core/TextTransformation/IScriptBuilder.cs | src/Daterpillar.Core/TextTransformation/IScriptBuilder.cs | namespace Gigobyte.Daterpillar.TextTransformation
{
public interface IScriptBuilder
{
string GetContent();
void Append(string text);
void AppendLine(string text);
void Create(Table table);
void Create(Column column);
void Create(Index index);
void C... | namespace Gigobyte.Daterpillar.TextTransformation
{
public interface IScriptBuilder
{
void Append(string text);
void AppendLine(string text);
void Create(Table table);
void Create(Index index);
void Create(ForeignKey foreignKey);
void Drop(Table tabl... | mit | C# |
b7d6559e570e367f3a5bfc186abad1207c0b3464 | Disable command debugging for now, and clean up. | MrJoy/UnityGit | ShellHelpers.cs | ShellHelpers.cs | //define DEBUG_COMMANDS
using System.Diagnostics;
public class ShellHelpers {
public static Process StartProcess(string filename, string arguments) {
#if DEBUG_COMMANDS
UnityEngine.Debug.Log("Running: " + filename + " " + arguments);
#endif
Process p = new Process();
p.StartInfo.Arguments = arguments;
... | #define DEBUG_COMMANDS
//using UnityEditor;
//using UnityEngine;
//using System.Collections;
using System.Diagnostics;
public class ShellHelpers {
public static Process StartProcess(string filename, string arguments) {
#if DEBUG_COMMANDS
UnityEngine.Debug.Log("Running: " + filename + " " + arguments);
#endif
... | mit | C# |
650c65a9a8a55a708b17ea588ae3385bcfc21734 | Remove default title | demyanenko/hutel,demyanenko/hutel,demyanenko/hutel | server/Views/Shared/_Layout.cshtml | server/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="~/dist/vendor.css" asp-append-version="true" />
<environment names="Staging,Production">
<link rel="stylesheet" hre... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - dotnet_react</title>
<link rel="stylesheet" href="~/dist/vendor.css" asp-append-version="true" />
<environment names="S... | apache-2.0 | C# |
3b4556c44a7c9416e8437c0b9eec78197726c4e1 | Fix for #3, error message incorrectly refers to profile instead of to do list | skwan/WebApp-GroupClaims-DotNet,AzureADSamples/WebApp-GroupClaims-DotNet,wvdd007/WebApp-GroupClaims-DotNet,Azure-Samples/active-directory-dotnet-webapp-groupclaims,Azure-Samples/active-directory-dotnet-webapp-webapi-openidconnect,Azure-Samples/active-directory-dotnet-webapp-webapi-openidconnect,AzureADSamples/WebApp-We... | TodoListWebApp/Views/TodoList/Index.cshtml | TodoListWebApp/Views/TodoList/Index.cshtml | @model IEnumerable<TodoListWebApp.Models.TodoItem>
@{
ViewBag.Title = "To Do List";
}
<h3>Add an Item</h3>
@if (ViewBag.ErrorMessage == null)
{
<form name="input" action="TodoList" method="post">
New Item: <input type="text" name="item">
<input type="submit" value="Submit">
</form>
}
<t... | @model IEnumerable<TodoListWebApp.Models.TodoItem>
@{
ViewBag.Title = "To Do List";
}
<h3>Add an Item</h3>
@if (ViewBag.ErrorMessage == null)
{
<form name="input" action="TodoList" method="post">
New Item: <input type="text" name="item">
<input type="submit" value="Submit">
</form>
}
<t... | apache-2.0 | C# |
f255b45b176faa4b468765fcf14587dff662f52f | Update ValuesController.cs | cayodonatti/TopGearApi | TopGearApi/Controllers/ValuesController.cs | TopGearApi/Controllers/ValuesController.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace TopGearApi.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
namespace TopGearApi.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable... | mit | C# |
bdfa15927b4ac5c55d28ca2fbb147075fccefb35 | Fix namespace in NameAggregationReflectionVisitor | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | test/DotvvmAcademy.Validation.CSharp.Tests/NameAggregationReflectionVisitor.cs | test/DotvvmAcademy.Validation.CSharp.Tests/NameAggregationReflectionVisitor.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace DotvvmAcademy.Validation.CSharp.Tests
{
public class NameAggregationReflectionVisitor : ReflectionVisitor
{
public List<string> FullNames { get; set; } = new List<string>();
public override void VisitAssembly(A... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace DotvvmAcademy.Validation.Tests
{
public class NameAggregationReflectionVisitor : ReflectionVisitor
{
public List<string> FullNames { get; set; } = new List<string>();
public override void VisitAssembly(Assembly... | apache-2.0 | C# |
1ccf20fd5db51857ccb30b393ec0df90a78976e7 | Remove Console.Read | gregsochanik/7d-feedmunch | src/FeedMuncher/Program.cs | src/FeedMuncher/Program.cs | using FeedMuncher.IOC.StructureMap;
namespace FeedMuncher
{
class Program
{
static void Main(string[] args)
{
Bootstrap.ConfigureDependencies();
var feedMunchConfig = FeedMunch.Configure.FromConsoleArgs(args);
FeedMunch.Download
.WithConfig(feedMunchConfig)
.Invoke();
}
}... | using System;
using FeedMuncher.IOC.StructureMap;
namespace FeedMuncher
{
class Program
{
static void Main(string[] args)
{
Bootstrap.ConfigureDependencies();
var feedMunchConfig = FeedMunch.Configure.FromConsoleArgs(args);
FeedMunch.Download
.WithConfig(feedMunchConfig)
.Invok... | mit | C# |
40ee51846cb59d04c194642c3770e18cf5f07e87 | Add allocations column (#1422) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Server.Kestrel.Performance/configs/CoreConfig.cs | test/Microsoft.AspNetCore.Server.Kestrel.Performance/configs/CoreConfig.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 BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Valid... | // 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 BenchmarkDotNet.Configs;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Validators;
namespace Microsoft.AspNet... | apache-2.0 | C# |
224e9694a4e3b7fec22d907f6bfdba4985220178 | Set OperationId via annotations in test project | domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy | test/WebSites/Basic/Controllers/SwaggerAnnotationsController.cs | test/WebSites/Basic/Controllers/SwaggerAnnotationsController.cs | using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using Basic.Swagger;
namespace Basic.Controllers
{
[SwaggerTag("Manipulate Carts to your heart's content", "http://www.tempuri.org")]
public class SwaggerAnnotationsController
{
[HttpPost("/carts")]
[SwaggerResponse(... | using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;
using Basic.Swagger;
namespace Basic.Controllers
{
[SwaggerTag("Manipulate Carts to your heart's content", "http://www.tempuri.org")]
public class SwaggerAnnotationsController
{
[HttpPost("/carts")]
[SwaggerResponse(... | mit | C# |
ae1a0c3094bafb0d77db5e9465e4c86465721d2e | Update ZoomBorderTests.cs | wieslawsoltes/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,PanAndZoom/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs | using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomBorderTests
{
[Fact(Skip = "The CI tests are failing.")]
public void ZoomBorder_Ctor()
{
var target = new ZoomBorder();
Assert.NotNull(target);
Assert.Equal(ButtonName.M... | using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomBorderTests
{
[Fact]
public void ZoomBorder_Ctor()
{
var target = new ZoomBorder();
Assert.NotNull(target);
Assert.Equal(ButtonName.Middle, target.PanButton);
... | mit | C# |
970e1b39c1aa8ecd745a550d04a0c6f1efcd0e78 | 更新版本号到4.1,发布nuget程序集 | xiaobudian/osharp | src/VersionAssemblyInfo.cs | src/VersionAssemblyInfo.cs |
// 程序集的版本信息由下面四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
using System.Reflection;
[assembly: AssemblyVersion("4.0")]
[assembly: AssemblyFileVersion("4.1")]
[assembly: AssemblyInformationalVersion("4.1")... |
// 程序集的版本信息由下面四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
using System.Reflection;
[assembly: AssemblyVersion("4.0")]
[assembly: AssemblyFileVersion("4.0.30")]
[assembly: AssemblyInformationalVersion("4.... | apache-2.0 | C# |
6f813cf8f472b1f25faf7e389ff6088d2ccc67b2 | Patch from Rduerden to use the correct value on timer repeats. | jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jackson... | src/Manos/Libev/TimerWatcher.cs | src/Manos/Libev/TimerWatcher.cs | using System;
using System.Runtime.InteropServices;
namespace Libev {
public class TimerWatcher : Watcher {
private TimerWatcherCallback callback;
private UnmanagedTimerWatcher unmanaged_watcher;
private static IntPtr unmanaged_callback_ptr;
private static UnmanagedWatcherCallback unmanaged_callback;... | using System;
using System.Runtime.InteropServices;
namespace Libev {
public class TimerWatcher : Watcher {
private TimerWatcherCallback callback;
private UnmanagedTimerWatcher unmanaged_watcher;
private static IntPtr unmanaged_callback_ptr;
private static UnmanagedWatcherCallback unmanaged_callback;... | mit | C# |
2be8afabc25ed562259fb9550cae539d0484efe6 | 修改 class SeedData. | NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie | src/MvcMovie/Models/SeedData.cs | src/MvcMovie/Models/SeedData.cs | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Linq;
namespace MvcMovie.Models
{
public static class SeedData
{
public static void Initialize(IServiceProvider serviceProvider)
{
var context = serviceProvider.GetService<ApplicationDbContext>();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MvcMovie.Models
{
public class SeedData
{
}
}
| apache-2.0 | C# |
266bf621847a5b6fb9fb7da7968a97fccd9821b6 | Use OnAttachedToVisualTree and OnDetachedFromVisualTree | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/BindTagToVisualRootDataContextBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/BindTagToVisualRootDataContextBehavior.cs | using System;
using Avalonia.Controls;
using Avalonia.VisualTree;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Binds AssociatedObject object Tag property to root visual DataContext.
/// </summary>
public class BindTagToVisualRootDataContextBehavior : Behavior<Cont... | using System;
using Avalonia.Controls;
using Avalonia.VisualTree;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Binds AssociatedObject object Tag property to root visual DataContext.
/// </summary>
public class BindTagToVisualRootDataContextBehavior : Behavior<Cont... | mit | C# |
98aa44b2f6fe9cbfbd3f7f9a8a90a94d609dfb5b | Update LocalizedString.shared.cs (#1071) | FormsCommunityToolkit/FormsCommunityToolkit | src/CommunityToolkit/Xamarin.CommunityToolkit/Helpers/LocalizedString.shared.cs | src/CommunityToolkit/Xamarin.CommunityToolkit/Helpers/LocalizedString.shared.cs | using System;
using Xamarin.CommunityToolkit.ObjectModel;
using Xamarin.Forms.Internals;
namespace Xamarin.CommunityToolkit.Helpers
{
#if !NETSTANDARD1_0
public class LocalizedString : ObservableObject
{
readonly Func<string> generator;
public LocalizedString(Func<string> generator)
: this(LocalizationResou... | using System;
using Xamarin.CommunityToolkit.ObjectModel;
using Xamarin.Forms.Internals;
namespace Xamarin.CommunityToolkit.Helpers
{
#if !NETSTANDARD1_0
public class LocalizedString : ObservableObject
{
readonly Func<string> generator;
public LocalizedString(Func<string> generator)
: this(LocalizationResou... | mit | C# |
dd0a986141ab2c84f1a1219be64808fe84f66e0f | Set nuget package version to 2.0.0 | Jericho/CakeMail.RestClient | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | mit | C# |
758c5337e96bcb98021f7cbf7bc2fca0297c1943 | Update Commit class | pfjason/GitLab-dot-NET | Types/Commit.cs | Types/Commit.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using unirest_net.http;
using System.Web;
namespace GitLab
{
public partial class GitLab
{
public partial class Project
{
/// <s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using unirest_net.http;
using System.Web;
namespace GitLab
{
public partial class GitLab
{
public partial class Project
{
public... | mit | C# |
03f02732a72661c7128367e8a5e16df1d2fd3194 | add serialization between byte-stream and AccountStore data object | kingsamchen/EasyKeeper | VaultMarshal.cs | VaultMarshal.cs | /*
@ Kingsley Chen
*/
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace EasyKeeper {
public static class VaultMarshal {
private const uint ProtoclVersion = 1U;
public static void Marshal(string pwd, AccountStore store, Stream ou... | /*
@ Kingsley Chen
*/
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace EasyKeeper {
public static class VaultMarshal {
private const uint ProtoclVersion = 1U;
public static void Marshal(string pwd, AccountStore store, Stream ou... | mit | C# |
1484c923eca8ff492d21751b6ab305eed8755795 | Switch direct handling by a asyncrhonous dispatching in core sample | Vtek/Bartender | samples/CoreApplication/Program.cs | samples/CoreApplication/Program.cs | using System;
using System.Threading.Tasks;
using Bartender;
using ConsoleApplication.Registries;
using CoreApplication.Domain.Personne.Create;
using CoreApplication.Domain.Personne.Read;
using StructureMap;
namespace ConsoleApplication
{
public class Program
{
static IContainer Container { get; set; ... | using System;
using System.Threading.Tasks;
using Bartender;
using ConsoleApplication.Registries;
using CoreApplication.Domain.Personne.Create;
using CoreApplication.Domain.Personne.Read;
using StructureMap;
namespace ConsoleApplication
{
public class Program
{
static IContainer Container { get; set; ... | mit | C# |
b8b8e1d02de635f79633a6db5eb2c3320c88437f | Change to avoid modifying the database on publish. | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | MobileApp/smarttripsService/App_Start/Startup.MobileApp.cs | MobileApp/smarttripsService/App_Start/Startup.MobileApp.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Entity;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using Microsoft.Azure.Mobile.Server.Authentication;
using Microsoft.Azure.Mobile.Server.Config;
using MyTrips.DataObjects;
using smarttripsService.Models;
us... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Entity;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using Microsoft.Azure.Mobile.Server.Authentication;
using Microsoft.Azure.Mobile.Server.Config;
using MyTrips.DataObjects;
using smarttripsService.Models;
us... | mit | C# |
cbe1cc1bc8d0da0a4dac3cc644d9df3bc94941da | refactor common setup in uuid gatherer test | ft-/opensim-optimizations-wip-tests,ft-/arribasim-dev-tests,ft-/arribasim-dev-tests,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,M-O-S-E-S/opensim,OpenSimian/opensimulator,M-O-S-E-S/opensim,QuillLittlefeather/opensim-1,N3X15/VoxelSim,rryk/omp-server,AlphaStaxLLC/taiga,justinccdev/opensim,allquixotic/opensim-autobackup,OpenSimi... | OpenSim/Region/Framework/Scenes/Tests/UuidGathererTests.cs | OpenSim/Region/Framework/Scenes/Tests/UuidGathererTests.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | bsd-3-clause | C# |
3aacfd1c5e339f811c31a3970c9b2e3e0b0a5ac2 | Rename and make the PastaPricer first acceptance test more readable. | dupdob/Michonne,dupdob/Michonne,dupdob/Michonne | PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs | PastaPricer.Tests/Acceptance/PastaPricerAcceptanceTests.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PastaPricerAcceptanceTests.cs" company="No lock... no deadlock" product="Michonne">
// Copyright 2014 Cyrille DUPUYDAUBY (@Cyrdup), Thomas PIERRAIN (@tpierrain)
// License... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PastaPricerAcceptanceTests.cs" company="No lock... no deadlock" product="Michonne">
// Copyright 2014 Cyrille DUPUYDAUBY (@Cyrdup), Thomas PIERRAIN (@tpierrain)
// License... | apache-2.0 | C# |
4777417f9b9546cebe7513e42fefdeccaed6f378 | Add Easter monday to Lithuania | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Nager.Date/PublicHolidays/LithuaniaProvider.cs | Nager.Date/PublicHolidays/LithuaniaProvider.cs | using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class LithuaniaProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Lithuania
//https://en.wikipedia.org/w... | using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class LithuaniaProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Lithuania
//https://en.wikipedia.org/w... | mit | C# |
44986c4c4bbcd53de56af53f8576f47846050d82 | Update location of stakepool API (#312) | decred/Paymetheus,jrick/Paymetheus | Paymetheus.StakePoolIntegration/PoolListApi.cs | Paymetheus.StakePoolIntegration/PoolListApi.cs | // Copyright (c) 2016 The Decred developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace Paymetheus.StakePoo... | // Copyright (c) 2016 The Decred developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace Paymetheus.StakePoo... | isc | C# |
5d80d5908183c42c62a84edfe2d26bfafa2a2752 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.LastVisitedPidlMRU/ValuesOut.cs | RegistryPlugin.LastVisitedPidlMRU/ValuesOut.cs | using System;
using System.IO;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.LastVisitedPidlMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string ext, string absolutePath, string details, string valueName, int mruPosition,
DateTimeOffset? openedOn)
{
... | using System;
using System.IO;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.LastVisitedPidlMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string ext, string absolutePath, string details, string valueName, int mruPosition,
DateTimeOffset? openedOn)
{
... | mit | C# |
9a736daec74f96fecd168044cc370833cb985e80 | Add another unit test for an MSBuild project (currently failing) | OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn | tests/OmniSharp.MSBuild.Tests/ProjectFileInfoTests.cs | tests/OmniSharp.MSBuild.Tests/ProjectFileInfoTests.cs | using System.IO;
using Microsoft.Extensions.Logging;
using OmniSharp.MSBuild.ProjectFile;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.MSBuild.Tests
{
public class ProjectFileInfoTests
{
private readonly TestAssets _testAssets;
private readonly ILogger _logger;... | using System.IO;
using Microsoft.Extensions.Logging;
using OmniSharp.MSBuild.ProjectFile;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.MSBuild.Tests
{
public class ProjectFileInfoTests
{
private readonly TestAssets _testAssets;
private readonly ILogger _logger;... | mit | C# |
380058a4bd80ff92687eb1a823c25bc247ac9b93 | Fix merge conflict (with + refactoring) | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/extractor/Semmle.Extraction.CSharp/Entities/Expressions/WithExpression.cs | csharp/extractor/Semmle.Extraction.CSharp/Entities/Expressions/WithExpression.cs | using Microsoft.CodeAnalysis.CSharp.Syntax;
using Semmle.Extraction.Kinds;
using System.IO;
namespace Semmle.Extraction.CSharp.Entities.Expressions
{
internal class WithExpression : Expression<WithExpressionSyntax>
{
private WithExpression(ExpressionNodeInfo info) : base(info.SetKind(ExprKind.WITH)) { ... | using Microsoft.CodeAnalysis.CSharp.Syntax;
using Semmle.Extraction.Kinds;
using System.IO;
namespace Semmle.Extraction.CSharp.Entities.Expressions
{
internal class WithExpression : Expression<WithExpressionSyntax>
{
private WithExpression(ExpressionNodeInfo info) : base(info.SetKind(ExprKind.WITH)) { ... | mit | C# |
ea54a9c9988aa6f05da16f36aa5835acb74c4466 | Use FileOptions.DeleteOnClose instead of complex disposal pattern. | jherby2k/AudioWorks | AudioWorks/src/AudioWorks.Extensions/TempFileStream.cs | AudioWorks/src/AudioWorks.Extensions/TempFileStream.cs | using System.IO;
using JetBrains.Annotations;
namespace AudioWorks.Extensions
{
/// <summary>
/// Wraps a temporary file. Suitable as a <see cref="MemoryStream"/> replacement for large data sets.
/// </summary>
/// <seealso cref="Stream" />
public sealed class TempFileStream : Stream
{
... | using System;
using System.IO;
namespace AudioWorks.Extensions
{
/// <summary>
/// Wraps a temporary file. Suitable as a <see cref="MemoryStream"/> replacement for large data sets.
/// </summary>
/// <seealso cref="Stream" />
public sealed class TempFileStream : Stream
{
readonly FileS... | agpl-3.0 | C# |
7ad927bdaf61fee797c1ba347f6cce119ee978d8 | Use CreateSingleTickTimer in TweetScreenshotManager | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Notification/Screenshot/TweetScreenshotManager.cs | Core/Notification/Screenshot/TweetScreenshotManager.cs | using System;
using System.Drawing;
using System.Windows.Forms;
using TweetDck.Core.Controls;
using TweetDck.Core.Utils;
namespace TweetDck.Core.Notification.Screenshot{
sealed class TweetScreenshotManager : IDisposable{
private readonly FormBrowser browser;
private readonly FormNotificationScreen... | using System;
using System.Drawing;
using System.Windows.Forms;
using TweetDck.Core.Controls;
namespace TweetDck.Core.Notification.Screenshot{
sealed class TweetScreenshotManager : IDisposable{
private readonly FormBrowser browser;
private readonly FormNotificationScreenshotable screenshot;
... | mit | C# |
71d63776543fa1b21fa0181f50926b7251a8f585 | Update InsertPictureCellReference.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-as... | Examples/CSharp/Articles/InsertPictureCellReference.cs | Examples/CSharp/Articles/InsertPictureCellReference.cs | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Drawing;
namespace Aspose.Cells.Examples.Articles
{
public class InsertPictureCellReference
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cell... | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Drawing;
namespace Aspose.Cells.Examples.Articles
{
public class InsertPictureCellReference
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.