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 |
|---|---|---|---|---|---|---|---|---|
4483c3727fbb67f33c4b9c565a1f0161652fabad | Fix `ThreadsHandler` to use singular pipeline thread | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices/Services/DebugAdapter/Handlers/ThreadsHandler.cs | src/PowerShellEditorServices/Services/DebugAdapter/Handlers/ThreadsHandler.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.DebugAdapter.Protocol.Models;
using OmniSharp.Extensions.DebugAdapter.Protocol.R... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.DebugAdapter.Protocol.Models;
using OmniSharp.Extensions.DebugAdapter.Protocol.R... | mit | C# |
bb03d68d7461bbd26d81abebf3b546c2b4782e2c | increment version for nuget. | patHyatt/XmppBot-for-HipChat | XmppBot.Common/Properties/AssemblyInfo.cs | XmppBot.Common/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("Xm... | 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("Xm... | mit | C# |
ca68751fdcd1c3b0a01ead44e776600f0127e05b | Update test to match expectation | peppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Editing/TestSceneTimelineZoom.cs | osu.Game.Tests/Visual/Editing/TestSceneTimelineZoom.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.Graphics;
using osu.Framework.Utils;
namespace osu.Game.Tests.Visual.Editing
{
public class TestSceneTimelineZoom : Timeli... | // 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.Graphics;
using osu.Framework.Utils;
namespace osu.Game.Tests.Visual.Editing
{
public class TestSceneTimelineZoom : Timeli... | mit | C# |
34f34f4bece85b281212ac7f5de527bc65667ef7 | reset PlayerMovement to fix merge conflict | lucasrumney94/JDPolterGhost,lucasrumney94/JDPolterGhost | JDPolterGhost/Assets/Scripts/Player/PlayerMovement.cs | JDPolterGhost/Assets/Scripts/Player/PlayerMovement.cs | using UnityEngine;
using System.Collections;
/// <summary>
/// This script should be attached to the player, and handles all the forces applied.
/// </summary>
[RequireComponent(typeof(Rigidbody))]
public class PlayerMovement : MonoBehaviour
{
public static GameObject player;
public GameObject playerCamera;
... | using UnityEngine;
using System.Collections;
/// <summary>
/// This script should be attached to the player, and handles all the forces applied.
/// </summary>
[RequireComponent(typeof(Rigidbody))]
public class PlayerMovement : MonoBehaviour
{
public static GameObject player;
public float speed = 5.0f;
<<<<<<... | mit | C# |
53baabcda59782111c115a560cba9eca030d626f | fix code analysis suppression | chunkychode/octokit.net,thedillonb/octokit.net,gdziadkiewicz/octokit.net,SamTheDev/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,dampir/octokit.net,octokit-net-test-org/octokit.net,M-Zuber/octokit.net,ivandrofly/octokit.net,shiftkey-tester/octokit.net,TattsGroup/octokit.net,M-Zuber/octokit.net,hahmed/octokit.ne... | Octokit/Models/Response/Enterprise/AdminStatsPulls.cs | Octokit/Models/Response/Enterprise/AdminStatsPulls.cs | using System.Diagnostics.CodeAnalysis;
namespace Octokit
{
public class AdminStatsPulls
{
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "unmergeable")]
public AdminStatsPulls(int totalPulls, int mergedPulls, int mergeablePulls, int unmergeablePu... | using System.Diagnostics.CodeAnalysis;
namespace Octokit
{
public class AdminStatsPulls
{
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "unmergeablePulls")]
public AdminStatsPulls(int totalPulls, int mergedPulls, int mergeablePulls, int unmergea... | mit | C# |
80459039f9d74b4d08cef1120ce421c6a66823a5 | Fix automapper cast | affecto/dotnet-IdentityManagement | IdentityManagement.ApplicationServices/Mapping/RoleMapper.cs | IdentityManagement.ApplicationServices/Mapping/RoleMapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Affecto.IdentityManagement.ApplicationServices.Model;
using Affecto.IdentityManagement.Interfaces.Model;
using Affecto.Mapping.AutoMapper;
using AutoMapper;
namespace Affecto.IdentityManagement.ApplicationServices.Mapping
{
internal class Ro... | using System.Collections.Generic;
using System.Linq;
using Affecto.IdentityManagement.ApplicationServices.Model;
using Affecto.IdentityManagement.Interfaces.Model;
using Affecto.Mapping.AutoMapper;
using AutoMapper;
namespace Affecto.IdentityManagement.ApplicationServices.Mapping
{
internal class RoleMapper : One... | mit | C# |
bfc757295ae6e040681db2ecbd7f357f5ebec758 | Fix build breaking bug | MatthiWare/UpdateLib | UpdateLib/UpdateLib.Generator/Data/ListViewGenItem.cs | UpdateLib/UpdateLib.Generator/Data/ListViewGenItem.cs | /* UpdateLib - .Net auto update library
* Copyright (C) 2016 - MatthiWare (Matthias Beerens)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, ... | /* UpdateLib - .Net auto update library
* Copyright (C) 2016 - MatthiWare (Matthias Beerens)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, ... | agpl-3.0 | C# |
0d06b698fdb595f5ed009ea07b5acf5bea8a8da9 | Fix GetPixelSection test to get the pixel using the image, not the offscreen bitmap, as the offscreen bitmap does not (always) contain the entire image. Fixes #193, #190 | bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto | Source/Eto.Test/Eto.Test/Sections/Drawing/GetPixelSection.cs | Source/Eto.Test/Eto.Test/Sections/Drawing/GetPixelSection.cs | using System;
using System.Collections.Generic;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Drawing
{
public class GetPixelSection : Panel
{
public GetPixelSection()
{
var location = new Point(100, 100);
var image = TestIcons.Textures();
var drawable = new Drawable();
var drawabl... | using System;
using System.Collections.Generic;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Drawing
{
public class GetPixelSection : Panel
{
public GetPixelSection()
{
var location = new Point(100, 100);
var image = TestIcons.Textures();
var drawable = new Drawable();
var drawabl... | bsd-3-clause | C# |
d2b039e51a6314692ad200586d8493b4d9479c7a | Add mockability comment | DimensionDataCBUSydney/jab | jab/jab/Http/HttpClientFactory.cs | jab/jab/Http/HttpClientFactory.cs | using System;
using System.Net.Http;
using Jab.Interfaces;
namespace Jab.Http
{
/// <summary>
/// Extension methods for <see cref="JabTestConfiguration"/>.
/// </summary>
public static class JabHttpClientFactory
{
// TODO: How do we mock this? Should we make it a non extension method and d... | using System;
using System.Net.Http;
using Jab.Interfaces;
namespace Jab.Http
{
/// <summary>
/// Extension methods for <see cref="JabTestConfiguration"/>.
/// </summary>
public static class JabHttpClientFactory
{
/// <summary>
/// Construct an <see cref="HttpClient"/> for the cur... | apache-2.0 | C# |
ddf726d0854c9b89f39d12968f83519d55aeb57b | Fix PublicKey (#1174) | SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource/sonar-msbuild-runner | src/SonarScanner.MSBuild.PreProcessor/Properties/InternalsVisibleTo.cs | src/SonarScanner.MSBuild.PreProcessor/Properties/InternalsVisibleTo.cs | /*
* SonarScanner for .NET
* Copyright (C) 2016-2022 SonarSource SA
* mailto: info AT sonarsource DOT com
*
* This program 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
* version 3 of ... | /*
* SonarScanner for .NET
* Copyright (C) 2016-2022 SonarSource SA
* mailto: info AT sonarsource DOT com
*
* This program 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
* version 3 of ... | mit | C# |
c08d49df8a90f00a875604fa31c8f766e6065f8b | fix PalletisationStation for transport-only roles | maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp | Models/SelfOrganizingPillProduction/Modeling/PalletisationStation.cs | Models/SelfOrganizingPillProduction/Modeling/PalletisationStation.cs | using SafetySharp.Modeling;
namespace SafetySharp.CaseStudies.SelfOrganizingPillProduction.Modeling
{
/// <summary>
/// A production station that removes containers from the conveyor belt, closes, labels and stores them on pallets.
/// </summary>
public class PalletisationStation : Station
{
... | using SafetySharp.Modeling;
namespace SafetySharp.CaseStudies.SelfOrganizingPillProduction.Modeling
{
/// <summary>
/// A production station that removes containers from the conveyor belt, closes, labels and stores them on pallets.
/// </summary>
public class PalletisationStation : Station
{
... | mit | C# |
19bf2020492fb6cc0a8145cf68754f175b784f52 | Update AtataSettings | atata-framework/atata-sample-app-tests | src/AtataSampleApp.UITests.Components/AtataSettings.cs | src/AtataSampleApp.UITests.Components/AtataSettings.cs | using Atata;
[assembly: Culture("en-us")]
[assembly: VerifyTitleSettings(Format = "{0} - Atata Sample App")]
// You can, for example, configure trigger to take screenshots before any click.
//[assembly: Screenshot(On = TriggerEvents.BeforeClick, AppliesTo = TriggerScope.Children)]
| using Atata;
[assembly: Culture("en-us")]
[assembly: VerifyTitleSettings(Format = "{0} - Atata Sample App")]
[assembly: Screenshot(On = TriggerEvents.BeforeClick, AppliesTo = TriggerScope.Children)]
| apache-2.0 | C# |
bb6ffdfd52423765a63eb7aa19d90b4f94f4b5b1 | Fix the problem that the web request is displayed twice when -Verbosity is set to detailed. | oliver-feng/nuget,GearedToWar/NuGet2,pratikkagda/nuget,mono/nuget,oliver-feng/nuget,mrward/nuget,OneGet/nuget,mrward/nuget,akrisiun/NuGet,oliver-feng/nuget,jmezach/NuGet2,pratikkagda/nuget,mrward/NuGet.V2,chocolatey/nuget-chocolatey,RichiCoder1/nuget-chocolatey,xoofx/NuGet,pratikkagda/nuget,antiufo/NuGet2,antiufo/NuGet... | src/CommandLine/Common/CommandLineRepositoryFactory.cs | src/CommandLine/Common/CommandLineRepositoryFactory.cs |
using System.Windows;
namespace NuGet.Common
{
public class CommandLineRepositoryFactory : PackageRepositoryFactory, IWeakEventListener
{
public static readonly string UserAgent = "NuGet Command Line";
private readonly IConsole _console;
public CommandLineRepositoryFactor... |
namespace NuGet.Common
{
public class CommandLineRepositoryFactory : PackageRepositoryFactory
{
public static readonly string UserAgent = "NuGet Command Line";
private readonly IConsole _console;
public CommandLineRepositoryFactory(IConsole console)
{
_... | apache-2.0 | C# |
9ba869c74409dcb0d2a60a29de5b89709b8b8d6c | Fix admin ObjectsTab error (#11272) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/Administration/UI/Tabs/ObjectsTab/ObjectsTab.xaml.cs | Content.Client/Administration/UI/Tabs/ObjectsTab/ObjectsTab.xaml.cs | using System.Linq;
using Content.Client.Station;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
namespace Content.Client.Administration.UI.Tabs.ObjectsTab;
[GenerateTypedNameReferences]
public sealed partial cla... | using System.Linq;
using Content.Client.Station;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
namespace Content.Client.Administration.UI.Tabs.ObjectsTab;
[GenerateTypedNameReferences]
public sealed partial cl... | mit | C# |
b2f5d197103992dc6808c7fec2a4b2d70adec9f7 | update code after change of namespace. | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET | src/Narvalo.Common/Collections/NameValueCollection$.cs | src/Narvalo.Common/Collections/NameValueCollection$.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Collections
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using Narvalo;
using Narvalo.Applicative;
... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Collections
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using Narvalo;
using Narvalo.Applicative;
... | bsd-2-clause | C# |
c76b8f73e61cd34ff62c1748821ef070987b7869 | Revert "LoginTest is completed" | oleksandrp1/SeleniumTasks | SeleniumTasksProject1.1/SeleniumTasksProject1.1/InternetExplorer.cs | SeleniumTasksProject1.1/SeleniumTasksProject1.1/InternetExplorer.cs | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class InternetExplorer
... | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class InternetExplorer
... | apache-2.0 | C# |
1220f2718bb545d5ff2ec06dd496b89877417f01 | Use bitwise operator (review by Clive) | mjac/dependency-injection-kata-series,jcrang/dependency-injection-kata-series | src/DependencyInjection.Console/OddEvenPatternGenerator.cs | src/DependencyInjection.Console/OddEvenPatternGenerator.cs | namespace DependencyInjection.Console
{
internal class OddEvenPatternGenerator : IPatternGenerator
{
public Pattern Generate(int width, int height)
{
var generate = new Pattern(width, height);
var squares = generate.Squares;
for (var i = 0; i < squares.GetLe... | namespace DependencyInjection.Console
{
internal class OddEvenPatternGenerator : IPatternGenerator
{
public Pattern Generate(int width, int height)
{
var generate = new Pattern(width, height);
var squares = generate.Squares;
for (var i = 0; i < squares.GetLe... | mit | C# |
10c832959e19c8aa31536dba5c545802c713d05d | Add description and copyright | jackawatts/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration,jackawatts/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration | src/IonFar.SharePoint.Migration/Properties/AssemblyInfo.cs | src/IonFar.SharePoint.Migration/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("Io... | 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("Io... | mit | C# |
d463d9722ebc3be486fc61ee543ee5f87053976e | Remove whitespace | vflorusso/nether,ankodu/nether,krist00fer/nether,navalev/nether,stuartleeks/nether,brentstineman/nether,stuartleeks/nether,MicrosoftDX/nether,ankodu/nether,brentstineman/nether,brentstineman/nether,navalev/nether,navalev/nether,stuartleeks/nether,vflorusso/nether,vflorusso/nether,brentstineman/nether,ankodu/nether,nava... | src/Nether.Data/PlayerManagement/IPlayerManagementStore.cs | src/Nether.Data/PlayerManagement/IPlayerManagementStore.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Nether.Data.PlayerManagement
{
public interface IPlayer... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Nether.Data.PlayerManagement
{
public interface IPlayer... | mit | C# |
0d1111c8f3283de9c0409754ac23aef375c1264d | Make QuartzOptions properties public for real | sean-gilliam/quartznet,quartznet/quartznet,sean-gilliam/quartznet,quartznet/quartznet,sean-gilliam/quartznet,quartznet/quartznet,sean-gilliam/quartznet,quartznet/quartznet,quartznet/quartznet,sean-gilliam/quartznet | src/Quartz.Extensions.DependencyInjection/QuartzOptions.cs | src/Quartz.Extensions.DependencyInjection/QuartzOptions.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using Quartz.Impl;
namespace Quartz
{
public class QuartzOptions : NameValueCollection
{
internal readonly List<IJobDetail> jobDetails = new List<IJobDetail>();
internal readonly List<ITrigger> triggers = new... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using Quartz.Impl;
namespace Quartz
{
public class QuartzOptions : NameValueCollection
{
internal readonly List<IJobDetail> jobDetails = new List<IJobDetail>();
internal readonly List<ITrigger> triggers = new... | apache-2.0 | C# |
df6a755c3653a4c473c9031eea52198158cdf304 | Update player loader screen mouse disable text to use localised version | peppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu | osu.Game/Screens/Play/PlayerSettings/InputSettings.cs | osu.Game/Screens/Play/PlayerSettings/InputSettings.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
using osu.Game.Localisation;
namespace osu.Game.Screens.Play.PlayerSettings
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Screens.Play.PlayerSettings
{
public class InputSetti... | mit | C# |
4ae9797f4a1b814d9ff7b08d23b37fdc60592364 | Add comment. | mattwar/roslyn,jamesqo/roslyn,jkotas/roslyn,shyamnamboodiripad/roslyn,AlekseyTs/roslyn,mmitche/roslyn,physhi/roslyn,tvand7093/roslyn,srivatsn/roslyn,panopticoncentral/roslyn,mattscheffer/roslyn,heejaechang/roslyn,mattscheffer/roslyn,cston/roslyn,sharwell/roslyn,tannergooding/roslyn,robinsedlaczek/roslyn,Hosch250/roslyn... | src/Features/Core/Portable/DesignerAttributes/DesignerAttributeDocumentData.cs | src/Features/Core/Portable/DesignerAttributes/DesignerAttributeDocumentData.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.CodeAnalysis.DesignerAttributes
{
/// <summary>
/// Marshalling type to pass designer attribute data to/from the O... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.CodeAnalysis.DesignerAttributes
{
/// <summary>
/// Marshalling type to pass designer attribute data to/from the O... | mit | C# |
c31ed55a0efaaeb73164ec100e527cb96354c289 | Remove unecessary code | zhenlan/corefx,Ermiar/corefx,Jiayili1/corefx,Jiayili1/corefx,Ermiar/corefx,axelheer/corefx,Jiayili1/corefx,ViktorHofer/corefx,BrennanConroy/corefx,ravimeda/corefx,ViktorHofer/corefx,wtgodbe/corefx,Jiayili1/corefx,axelheer/corefx,wtgodbe/corefx,Ermiar/corefx,ericstj/corefx,axelheer/corefx,BrennanConroy/corefx,Jiayili1/c... | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.cs | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.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.Runtime.CompilerServices;
using Xunit;
[assembly: TypeForwardedTo(typeof(string))]
[ass... | // 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.IO;
using System.Linq;
using System.Reflection;
using ... | mit | C# |
0539fbc3ea440f4d71f81f0508a4ff4b871124df | implement suttering like TG does it | krille90/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Resources/ScriptableObjects/Speech/CustomMods/Stuttering.cs | UnityProject/Assets/Resources/ScriptableObjects/Speech/CustomMods/Stuttering.cs | using System.Text.RegularExpressions;
using UnityEngine;
[CreateAssetMenu(fileName = "CustomSpeechModifierCode", menuName = "ScriptableObjects/SpeechModifiers/CustomCode")]
public class Stuttering : CustomSpeechModifier
{
private static string Stutter(Match m)
{
string x = m.ToString();
string stutter = "";
... | using System.Text.RegularExpressions;
using UnityEngine;
[CreateAssetMenu(fileName = "CustomSpeechModifierCode", menuName = "ScriptableObjects/SpeechModifiers/CustomCode")]
public class Stuttering : CustomSpeechModifier
{
private static string Stutter(Match m)
{
string x = m.ToString();
string stutter = "";
... | agpl-3.0 | C# |
6d0f8d90ffa15eafed122984cd397590a08af1bf | Increment version | R-Smith/vmPing | vmPing/Properties/AssemblyInfo.cs | vmPing/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 ... | mit | C# |
5aeef0383c7749408afd08484d56759e5fb81be4 | Bump dll version | Nicholas-Westby/Archetype,kjac/Archetype,kipusoep/Archetype,kgiszewski/Archetype,tomfulton/Archetype,imulus/Archetype,kjac/Archetype,kgiszewski/Archetype,kgiszewski/Archetype,Nicholas-Westby/Archetype,kipusoep/Archetype,imulus/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,kipusoep/Archetype,tomfulton/Archetype,tom... | app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs | app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0")]
[assembly: AssemblyFileVersion("1.0-beta")] | using System.Reflection;
[assembly: AssemblyVersion("0.6")]
[assembly: AssemblyFileVersion("0.6-beta")] | mit | C# |
f06af4da99a86f54aab4c9a9c61a3049b4050a3e | Update automatic reservations flag to match what has been implemented | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Reservations.Api.Types/ReservationAllocationStatusResult.cs | src/SFA.DAS.Reservations.Api.Types/ReservationAllocationStatusResult.cs | namespace SFA.DAS.Reservations.Api.Types
{
public class ReservationAllocationStatusResult
{
public bool CanAutoCreateReservations { get; set; }
}
} | using System.Collections.Generic;
using System.Linq;
namespace SFA.DAS.Reservations.Api.Types
{
public class ReservationAllocationStatusResult
{
public bool AutoReservations { get; set; }
}
} | mit | C# |
039c51ae332b9f6146df36fd40ce48d2071cc7e4 | Print out the response as a string when the exception is not JSON | projectkudu/kudu,puneet-gupta/kudu,juoni/kudu,uQr/kudu,shanselman/kudu,bbauya/kudu,MavenRain/kudu,dev-enthusiast/kudu,barnyp/kudu,shibayan/kudu,MavenRain/kudu,uQr/kudu,kali786516/kudu,projectkudu/kudu,EricSten-MSFT/kudu,shibayan/kudu,duncansmart/kudu,badescuga/kudu,shrimpy/kudu,uQr/kudu,chrisrpatterson/kudu,sitereactor... | Kudu.Client/Infrastructure/HttpResponseMessageExtensions.cs | Kudu.Client/Infrastructure/HttpResponseMessageExtensions.cs | using System;
using System.Net;
using System.Net.Http;
namespace Kudu.Client
{
public static class HttpResponseMessageExtensions
{
/// <summary>
/// Determines if the HttpResponse is successful, throws otherwise.
/// </summary>
public static HttpResponseMessage EnsureSuccessful... | using System;
using System.Net;
using System.Net.Http;
namespace Kudu.Client
{
public static class HttpResponseMessageExtensions
{
/// <summary>
/// Determines if the HttpResponse is successful, throws otherwise.
/// </summary>
public static HttpResponseMessage EnsureSuccessful... | apache-2.0 | C# |
03b053e93f801d82c27b6b1637690d1e13c710a8 | Use MediaUrl instead. | gjulianm/Ocell | Ocell.UI/Ocell.Phone7/Helpers/ValueConverters/TextToMediaConverter.cs | Ocell.UI/Ocell.Phone7/Helpers/ValueConverters/TextToMediaConverter.cs | using Ocell.Library;
using System;
using System.Linq;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using TweetSharp;
namespace Ocell
{
public class TextToMediaConverter : IValueConverter
{
private static MediaLinkParser parser = new MediaLinkParser();
public object Convert(o... | using Ocell.Library;
using System;
using System.Linq;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using TweetSharp;
namespace Ocell
{
public class TextToMediaConverter : IValueConverter
{
private static MediaLinkParser parser = new MediaLinkParser();
public object Convert(o... | mpl-2.0 | C# |
b49b517b415cb2ba8ca878d73ed368559b0080e4 | Add Environment path tracing | Tuesdaysgreen/AzureSiteReplicator,Tuesdaysgreen/AzureSiteReplicator,Tuesdaysgreen/AzureSiteReplicator,projectkudu/AzureSiteReplicator,projectkudu/AzureSiteReplicator,projectkudu/AzureSiteReplicator | AzureSiteReplicator/Environment.cs | AzureSiteReplicator/Environment.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
namespace AzureSiteReplicator
{
public class Environment
{
public static Environment Instance = new Environment();
public Environment()
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
namespace AzureSiteReplicator
{
public class Environment
{
public static Environment Instance = new Environment();
public Environment()
{
string ... | apache-2.0 | C# |
3601a9825ae70abcf1cc6cc345c65dab2fd9db27 | Make sure to expand out exceptions. | wasabii/Cogito,wasabii/Cogito | Cogito.Core/ExceptionExtensions.cs | Cogito.Core/ExceptionExtensions.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
namespace Cogito
{
public static class ExceptionExtensions
{
/// <summary>
/// Traces the exception to the default trace source as an error.
/// </summary>
/// <param name="self"></param>
... | using System;
using System.Diagnostics.Contracts;
namespace Cogito
{
public static class ExceptionExtensions
{
/// <summary>
/// Traces the exception to the default trace source as an error.
/// </summary>
/// <param name="self"></param>
public static void Trace(this ... | mit | C# |
036be86ba0114d9185a91a1eefd985bbd8532eb5 | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | mit | C# |
4af1f3fe52ec41224bd10de912344c98870134fc | 修复单元测试升级CO2NET之后的代码 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen.Tests/Containers/SessionContainerTests.cs | src/Senparc.Weixin.WxOpen.Tests/Containers/SessionContainerTests.cs | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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# |
07b8cfc15783b802d6dc8e2931f4fbac9d20550c | Make the two extra ByRef value-type equality comparer methods static | NickStrupat/Equality | Equality/StructEqualityComparer.cs | Equality/StructEqualityComparer.cs | using System;
using System.Collections.Generic;
namespace Equality {
public struct StructEqualityComparer<T> : IEqualityComparer<T> where T : struct {
public static StructEqualityComparer<T> Default = new StructEqualityComparer<T>();
public Boolean Equals(T x, T y) => Struct.Equals(ref x, ref y);
public Int32 ... | using System;
using System.Collections.Generic;
namespace Equality {
public struct StructEqualityComparer<T> : IEqualityComparer<T> where T : struct {
public static StructEqualityComparer<T> Default = new StructEqualityComparer<T>();
public Boolean Equals(T x, T y) => Struct.Equals(ref x, ref y);
public Int32 ... | mit | C# |
05251a5e38f779e6467091cae97f658599280756 | remove empty overrides | MichaelRumpler/GestureSample | GestureSample/GestureSample/App.cs | GestureSample/GestureSample/App.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GestureSample.Views;
using Xamarin.Forms;
namespace GestureSample
{
public class App : Application
{
public static NavigationPage MainNavigation;
public App()
{
var samplePages = new[] {
"ContentPage",
"L... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GestureSample.Views;
using Xamarin.Forms;
namespace GestureSample
{
public class App : Application
{
public static NavigationPage MainNavigation;
public App()
{
var samplePages = new[] {
"ContentPage",
"L... | mit | C# |
8978fc81989c50c90ba0d46ef9ad204ad4f97940 | Add inspect-able value | dasMulli/dotnet-win32-service | src/DasMulli.Win32.ServiceUtils/ServiceFailureActionsFlag.cs | src/DasMulli.Win32.ServiceUtils/ServiceFailureActionsFlag.cs | using System.Runtime.InteropServices;
namespace DasMulli.Win32.ServiceUtils
{
[StructLayout(LayoutKind.Sequential)]
internal struct ServiceFailureActionsFlag
{
private bool _fFailureActionsOnNonCrashFailures;
/// <summary>
/// Initializes a new instance of the <see cref="ServiceFa... | using System.Runtime.InteropServices;
namespace DasMulli.Win32.ServiceUtils
{
[StructLayout(LayoutKind.Sequential)]
internal struct ServiceFailureActionsFlag
{
private bool _fFailureActionsOnNonCrashFailures;
/// <summary>
/// Initializes a new instance of the <see cref="ServiceFa... | mit | C# |
4f460c866672f418fbeed53bc092736236662978 | update assembly information and version number | heupel/hyperjs,quameleon/hyperjs | HyperJS/Properties/AssemblyInfo.cs | HyperJS/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("Hy... | 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("JS... | mit | C# |
52c7ed99607028bef24a0f13073638866e09931f | Add ability to change the flie extension of API download requests | 2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,ZLima12/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu... | osu.Game/Online/API/APIDownloadRequest.cs | osu.Game/Online/API/APIDownloadRequest.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.IO;
using osu.Framework.IO.Network;
namespace osu.Game.Online.API
{
public abstract class APIDownloadRequest : APIRequest
{
private string ... | // 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.IO;
using osu.Framework.IO.Network;
namespace osu.Game.Online.API
{
public abstract class APIDownloadRequest : APIRequest
{
private string ... | mit | C# |
8322a7ed6a2797bc8c537ed3cefb2e78ada1a963 | Improve reliability of test by using semaphores | ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class AudioCollectionManage... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class AudioCollectionManage... | mit | C# |
44d8f5a19fc7eeb3cd8e185eb06967491a7a2eb3 | Fix XOR OTP used twice #93 | DanGould/NTumbleBit,NTumbleBit/NTumbleBit | NTumbleBit/PuzzlePromise/XORKey.cs | NTumbleBit/PuzzlePromise/XORKey.cs | using NBitcoin;
using NTumbleBit.BouncyCastle.Crypto.Digests;
using NTumbleBit.BouncyCastle.Crypto.Generators;
using NTumbleBit.BouncyCastle.Crypto.Parameters;
using NTumbleBit.BouncyCastle.Math;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTumbleBit.Puzz... | using NBitcoin;
using NTumbleBit.BouncyCastle.Math;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTumbleBit.PuzzlePromise
{
public class XORKey
{
public XORKey(PuzzleSolution puzzleSolution) : this(puzzleSolution._Value)
{
}
public XORKey(RsaPub... | mit | C# |
874352afc7df2598cf767436a43078ab98fc8980 | Update SmsController.cs | TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets | quickstart/csharp/sms/receive-sms-core/SmsController.cs | quickstart/csharp/sms/receive-sms-core/SmsController.cs | // Code sample for ASP.NET Core on .NET Core
// From command prompt, run:
// dotnet add package Twilio.AspNet.Core
using Twilio.AspNet.Common;
using Twilio.AspNet.Core;
using Twilio.TwiML;
namespace TwilioReceive.Controllers
{
public class SmsController : TwilioController
{
public TwiMLResult Index(Sm... | // Code sample for ASP.NET Core on .NET Core
// From command prompt, run:
// dotnet add package Twilio.AspNet.Core
using Twilio.AspNet.Common;
using Twilio.AspNet.Core;
using Twilio.TwiML;
namespace YourNewWebProject.Controllers
{
public class SmsController : TwilioController
{
public TwiMLResult Inde... | mit | C# |
05481f8443027b87ccc77b1ffa4680f1394b6993 | Add missing copyright header to CustomEffect.cs | Microsoft/real-time-filter-demo | RealtimeFilterDemo/CustomEffect.cs | RealtimeFilterDemo/CustomEffect.cs | /*
* Copyright © 2013 Nokia Corporation. All rights reserved.
* Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation.
* Other product and company names mentioned herein may be trademarks
* or trade names of their respective owners.
* See LICENSE.TXT for license information.
*/
usin... | using Nokia.Graphics.Imaging;
namespace RealtimeFilterDemo
{
public class CustomEffect : CustomEffectBase
{
public CustomEffect(IImageProvider source) : base(source)
{
}
protected override void OnProcess(PixelRegion sourcePixelRegion, PixelRegion targetPixelRegion)
{
... | mit | C# |
68b7d739658bb1e8097901b249730fd1dbc58d3d | Fix phone number storage | Branimir123/FMI-IoT-Teamwork,Branimir123/FMI-IoT-Teamwork | SmartHive/SmartHive.Models/User.cs | SmartHive/SmartHive.Models/User.cs | using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
namespace SmartHive.Models
{
public class User : IdentityUser
{
private ICollection<Hive> Hives;
public User() : base... | using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
namespace SmartHive.Models
{
public class User : IdentityUser
{
private ICollection<Hive> Hives;
public User() : base... | mit | C# |
84e2d820d7faad4b8a950e9adcc9f76d02245d6e | Remove Assembly mapped Content. | tainicom/Aether | Source/MonoGame/AetherContextMG.cs | Source/MonoGame/AetherContextMG.cs | using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using tainicom.Aether.Engine;
using System.IO;
using System.Reflection;
using System;
using System.Collections.Generic;
namespace tainicom.Aether.MonoGame
{
public class AetherContextMG: AetherContext
{
private GraphicsDevi... | using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using tainicom.Aether.Engine;
using System.IO;
using System.Reflection;
using System;
using System.Collections.Generic;
namespace tainicom.Aether.MonoGame
{
public class AetherContextMG: AetherContext
{
private GraphicsDevi... | apache-2.0 | C# |
fba9428efb8627ae077889b2f170e232b0bdba47 | Make node root path variable and add debugger display | Krusen/Additio.Sitecore.DependencyConfigReader | src/Additio.Configuration/Node.cs | src/Additio.Configuration/Node.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Additio.Configuration
{
[DebuggerDisplay("{RelativePath}")]
public class Node
{
private string Root { get; }
public Node(string root)
{
if (!root.EndsWith("\\"))
root +=... | using System;
using System.Collections.Generic;
namespace Additio.Configuration
{
public class Node
{
public const string IncludeFolderPath = @"App_Config\Include";
public string FilePath { get; set; }
public string RelativePath => FilePath.Remove(0, FilePath.IndexOf(IncludeFolderPat... | unlicense | C# |
9d4a212c2d424eb7903c45c238bc53b33e395b33 | Remove extraneous code | mstrother/BmpListener | src/BmpListener/Bgp/Capability.cs | src/BmpListener/Bgp/Capability.cs | using System;
namespace BmpListener.Bgp
{
public abstract class Capability
{
protected Capability(byte[] data, int offset)
{
CapabilityType = (CapabilityCode)data[offset];
CapabilityLength = data[offset + 1];
}
public CapabilityCode CapabilityTy... | using System;
namespace BmpListener.Bgp
{
public abstract class Capability
{
protected Capability(byte[] data, int offset)
{
CapabilityType = (CapabilityCode)data[offset];
CapabilityLength = data[offset + 1];
}
public CapabilityCode CapabilityTy... | mit | C# |
20e98da7b2bfa5af0c7245675dc4fe6049b74052 | Update XShapes.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Collections/XShapes.cs | src/Core2D/Collections/XShapes.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Shape;
namespace Core2D.Collections
{
/// <summary>
/// Observable... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Shape;
namespace Core2D.Collections
{
/// <summary>
/// Observable <see cref="Ba... | mit | C# |
973edba0f93eeefc17b100bc377d45023bacc998 | Add a few helpers for MonoMac on the desktop to ExportAttribute | mono/maccore,cwensley/maccore,jorik041/maccore,beni55/maccore | src/Foundation/ExportAttribute.cs | src/Foundation/ExportAttribute.cs | //
// ExportAttribetu.cs: The Export attribetu
//
// Authors:
// Geoff Norton
//
// Copyright 2009, Novell, Inc.
// Copyright 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... | //
// ExportAttribetu.cs: The Export attribetu
//
// Authors:
// Geoff Norton
//
// Copyright 2009, Novell, Inc.
// Copyright 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... | apache-2.0 | C# |
e3bdaafd46bf53d3cd9339a0abbc74a49c4d5288 | Replace SerialPort construction with factory invocation | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Control/ATHelper.cs | SupportManager.Control/ATHelper.cs | using System;
using System.IO.Ports;
using MYCroes.ATCommands;
using MYCroes.ATCommands.Forwarding;
namespace SupportManager.Control
{
public class ATHelper : IDisposable
{
private readonly SerialPort serialPort;
public ATHelper(string portConnectionString)
{
serialPort = S... | using System;
using System.IO.Ports;
using MYCroes.ATCommands;
using MYCroes.ATCommands.Forwarding;
namespace SupportManager.Control
{
public class ATHelper : IDisposable
{
private readonly SerialPort serialPort;
public ATHelper(string port)
{
serialPort = new SerialPort(po... | mit | C# |
da30931d9e6e5aa8f18fc90da1f9ea7ec58dc1e7 | include total record count | Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore | src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs | src/JsonApiDotNetCore/Configuration/JsonApiOptions.cs | namespace JsonApiDotNetCore.Configuration
{
public class JsonApiOptions
{
public string Namespace { get; set; }
public int DefaultPageSize { get; set; }
public bool IncludeTotalRecordCount { get; set; }
}
}
| namespace JsonApiDotNetCore.Configuration
{
public class JsonApiOptions
{
public string Namespace { get; set; }
public int DefaultPageSize { get; set; }
}
}
| mit | C# |
636d1dfe1c2124a1d6cc87bdba51f23c045f84df | Throw exception when USB device not found | huysentruitw/win-beacon | src/WinBeacon.Stack/Transports/LibUsb/LibUsbDevice.cs | src/WinBeacon.Stack/Transports/LibUsb/LibUsbDevice.cs | /*
* Copyright 2015 Huysentruit Wouter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2015 Huysentruit Wouter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | mit | C# |
44bd2f92bba1cacb3fb7abade75379a22756654b | fix typo for activity attribute. | kenakamu/UCWA2.0-CS | UCWASDK/UCWASDK/Models/Presence.cs | UCWASDK/UCWASDK/Models/Presence.cs | using Microsoft.Skype.UCWA.Enums;
using Microsoft.Skype.UCWA.Services;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace Microsoft.Skype.UCWA.Models
{
/// <summary>
/// Represents the user's availability and activity.
/// presence is updated when the user's availability or activity changes.T... | using Microsoft.Skype.UCWA.Enums;
using Microsoft.Skype.UCWA.Services;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace Microsoft.Skype.UCWA.Models
{
/// <summary>
/// Represents the user's availability and activity.
/// presence is updated when the user's availability or activity changes.T... | mit | C# |
0adea1b77bc0aa992d66023de7d586aa917e49aa | Update regex to account for Windows and *nix style line breads ( CR/LF and LF ) | rdennis/cassette.mapfile,rdennis/cassette.mapfile,rdennis/cassette.mapfile,rdennis/cassette.mapfile | src/Albatross.Cassette.MapFile/MapFileRewriter.cs | src/Albatross.Cassette.MapFile/MapFileRewriter.cs | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Cassette;
namespace Albatross.Cassette.MapFile
{
public class MapFileRewriter : IMapFileRewriter
{
private static readonly Regex sourceMapReplacement = new Regex(@"^(/[/|\*]# sourceMappingURL=)(.+\.map)\s*?(\*... | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Cassette;
namespace Albatross.Cassette.MapFile
{
public class MapFileRewriter : IMapFileRewriter
{
private static readonly Regex sourceMapReplacement = new Regex(@"^(/[/|\*]# sourceMappingURL=)(.+\.map)\s*( \*... | mit | C# |
e8f0a191bc45fbe7c949338b6227af5f7ed8bece | Fix test | gafter/roslyn,stephentoub/roslyn,robinsedlaczek/roslyn,amcasey/roslyn,AmadeusW/roslyn,pdelvo/roslyn,robinsedlaczek/roslyn,jkotas/roslyn,xasx/roslyn,khyperia/roslyn,mmitche/roslyn,dotnet/roslyn,mgoertz-msft/roslyn,jkotas/roslyn,tvand7093/roslyn,orthoxerox/roslyn,jcouv/roslyn,aelij/roslyn,ErikSchierboom/roslyn,KirillOsen... | src/Compilers/Server/VBCSCompiler/VBCSCompiler.cs | src/Compilers/Server/VBCSCompiler/VBCSCompiler.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CommandLine;
using System;
using System.Collections.Specialized;
using System.Configuration;
using System.IO;
namespace Microso... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CommandLine;
using System;
using System.Collections.Specialized;
using System.Configuration;
using System.IO;
namespace Microso... | mit | C# |
f3027a3e4b194123ead21f441c51d21170a2a16b | REVERT of SqlClientBatchingBatcher changes after r4279 | nhibernate/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate... | src/NHibernate/AdoNet/SqlClientBatchingBatcher.cs | src/NHibernate/AdoNet/SqlClientBatchingBatcher.cs | using System.Data;
using System.Text;
using NHibernate.AdoNet.Util;
namespace NHibernate.AdoNet
{
/// <summary>
/// Summary description for SqlClientBatchingBatcher.
/// </summary>
internal class SqlClientBatchingBatcher : AbstractBatcher
{
private int batchSize;
private int totalExpectedRowsAffec... | using System.Data;
using System.Text;
using NHibernate.AdoNet.Util;
namespace NHibernate.AdoNet
{
/// <summary>
/// Summary description for SqlClientBatchingBatcher.
/// </summary>
internal class SqlClientBatchingBatcher : AbstractBatcher
{
private int batchSize;
private int totalExpectedRowsAffec... | lgpl-2.1 | C# |
8840fcc056ebf54ce93707ca3caf43fa1e139f0d | Update Program.cs | nanoframework/nf-Visual-Studio-extension | source/CSharp.BlankApplication/Program.cs | source/CSharp.BlankApplication/Program.cs | using System;
using System.Threading;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
Thread.Sleep(1000); // Temporary dirty fix to enable correct debugging session
// Insert your code below this line
// The main() method has to end w... | using System;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
// Insert your code below this line
// The main() method has to end with this infinite loop.
// Do not use the NETMF style : Thread.Sleep(Timeout.Infinite)
while (true)
... | mit | C# |
e0fd6a723b7d17b0f9f97fb33e609f5329c869b9 | Update FilterStateVisibilityConverter.cs | paulvanbrenk/nodejstools,Microsoft/nodejstools,Microsoft/nodejstools,kant2002/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,Microsoft/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,paulvanbrenk/nodejstools,kant2002/nodejstools,kant2002/nodejstools,Microsoft/nodejstools,lukedgr... | Nodejs/Product/Nodejs/NpmUI/FilterStateVisibilityConverter.cs | Nodejs/Product/Nodejs/NpmUI/FilterStateVisibilityConverter.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Microsoft.NodejsTools.NpmUI
{
public sealed class F... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Microsoft.NodejsTools.NpmUI
{
public sealed class F... | apache-2.0 | C# |
e0d28e06d2ed4654550293cb9b31182364a34985 | Put some more complicated xml docs around this. | darrencauthon/AutoMoq,darrencauthon/AutoMoq,darrencauthon/AutoMoq | src/AutoMoq/Helpers/AutoMoqTestFixture.cs | src/AutoMoq/Helpers/AutoMoqTestFixture.cs | using Moq;
namespace AutoMoq.Helpers
{
/// <summary>
/// An auto moq base class that you can use to get AutoMoq setup built-in.
///
/// [TestFixture]
/// public class LoginGetTests : AutoMoqTestFixture<MyClassToTest>
/// {
/// [SetUp]
/// public void Setup()
///... | using Moq;
namespace AutoMoq.Helpers
{
public class AutoMoqTestFixture<T> where T : class
{
private T subject;
/// <summary>
/// The current AutoMoqer
/// </summary>
public AutoMoqer Mocker { get; private set; } = new AutoMoqer();
/// <summary... | mit | C# |
041e627950d2a89c3bad7c2499f89dce240d7fc9 | Revise EnterText to restore original behaviour. (#111) | Bumblebee/Bumblebee,Bumblebee/Bumblebee,chrisblock/Bumblebee,toddmeinershagen/Bumblebee,toddmeinershagen/Bumblebee,chrisblock/Bumblebee | src/Bumblebee/Implementation/TextField.cs | src/Bumblebee/Implementation/TextField.cs | using Bumblebee.Interfaces;
using OpenQA.Selenium;
namespace Bumblebee.Implementation
{
public class TextField : Element, ITextField
{
public TextField(IBlock parent, By by) : base(parent, by)
{
}
public TextField(IBlock parent, IWebElement tag) : base(parent, tag)
{
}
public TResult Press<TResult>... | using Bumblebee.Interfaces;
using OpenQA.Selenium;
namespace Bumblebee.Implementation
{
public class TextField : Element, ITextField
{
public TextField(IBlock parent, By by) : base(parent, by)
{
}
public TextField(IBlock parent, IWebElement tag) : base(parent, tag)
{
}
public TResult Press<TResult>... | mit | C# |
02265ad686625583982e19142bcd4f82ae31955b | Enable mania's basic conversion testcase | peppy/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,ppy/osu,Nabile-Rahmani/osu,UselessToucan/osu,ZLima12/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu-new,smoogipoo/osu,Frontear/osuKyzer,pp... | osu.Game.Rulesets.Mania/Tests/ManiaBeatmapConversionTest.cs | osu.Game.Rulesets.Mania/Tests/ManiaBeatmapConversionTest.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.MathUtils;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Bea... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.MathUtils;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Bea... | mit | C# |
9116775d3ccdf54b577b1c2a8c51ca7ee46334d7 | remove unused extension method | ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnet... | src/Abp.Zero.EntityFramework/EntityHistory/Extensions/DbEntityEntryExtensions.cs | src/Abp.Zero.EntityFramework/EntityHistory/Extensions/DbEntityEntryExtensions.cs | using System;
using System.Data.Entity;
using System.Data.Entity.Core.Objects;
using System.Data.Entity.Infrastructure;
using System.Reflection;
using Abp.Domain.Entities;
using Abp.Extensions;
namespace Abp.EntityHistory.Extensions
{
internal static class DbEntityEntryExtensions
{
internal static Type... | using System;
using System.Data.Entity;
using System.Data.Entity.Core.Objects;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Reflection;
using Abp.Auditing;
using Abp.Domain.Entities;
using Abp.Extensions;
namespace Abp.EntityHistory.Extensions
{
internal static class DbEntityEntryExtens... | mit | C# |
094d4d6bb6486daa305d33422138d587ac638e86 | update autofac sample | AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework | extras/sample/AspectCore.Extensions.Autofac.Sample/Program.cs | extras/sample/AspectCore.Extensions.Autofac.Sample/Program.cs | using System;
using AspectCore.Configuration;
using AspectCore.Injector;
using Autofac;
namespace AspectCore.Extensions.Autofac.Sample
{
class Program
{
static void Main(string[] args)
{
var serviceContaniner = new ServiceContainer();
serviceContaniner.AddType<ITaskServ... | using System;
using AspectCore.Configuration;
using AspectCore.Injector;
using Autofac;
namespace AspectCore.Extensions.Autofac.Sample
{
class Program
{
static void Main(string[] args)
{
var serviceContaniner = new ServiceContainer();
serviceContaniner.AddType<ITaskServ... | mit | C# |
f619632b1da853d596bd24c3ffd5dabc13b42063 | Change comments header | Minesweeper-6-Team-Project-Telerik/Minesweeper-6 | src2/ConsoleMinesweeper.Test/Properties/AssemblyInfo.cs | src2/ConsoleMinesweeper.Test/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Telerik Academy">
// Teamwork Project "Minesweeper-6"
// </copyright>
// <summary>
// AssemblyInfo.cs
// </summary>
// -------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="">
//
// </copyright>
// <summary>
// AssemblyInfo.cs
// </summary>
// -----------------------------------------------------------------------------... | mit | C# |
b1af8a258a38ce66e0ddee1231b917f8efd29499 | Remove YAML handling code | faint32/snowflake-1,SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1 | Snowflake/Emulator/Configuration/ConfigurationProfile.cs | Snowflake/Emulator/Configuration/ConfigurationProfile.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Extensions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SharpYaml.Serialization;
using Snowflake.Emulator.Configuration;
namespace Snowflake.Emulator.Configuration
{
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Extensions;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SharpYaml.Serialization;
using Snowflake.Emulator.Configuration;
namespace Snowflake.Emulator.Configuration
{
publ... | mpl-2.0 | C# |
61bc0351a6cb706ba9b64c1b25b52c2f907c45c0 | Add installer_patcher get controller method | Endlessages/EndlessAges.LauncherService | src/EndlessAges.LauncherService/Controllers/ContentManager.cs | src/EndlessAges.LauncherService/Controllers/ContentManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EndlessAges.LauncherService.Controllers
{
/// <summary>
/// Emulated controller ContentManager.aspx from the Endless Ages backend.
/// </summary>
[Route("Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EndlessAges.LauncherService.Controllers
{
/// <summary>
/// Emulated controller ContentManager.aspx from the Endless Ages backend.
/// </summary>
[Route("Con... | mit | C# |
f117a00ce104a7146cc366e0ffa7785b0b0caeed | Fix piping issue with Get-AzureRmDnsZone (#4213) | hungmai-msft/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,atpham256/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,AzureAutomationTeam/azure-powershell,atpham256/azure-powershell... | src/ResourceManager/Dns/Commands.Dns/Zones/GetAzureDnsZone.cs | src/ResourceManager/Dns/Commands.Dns/Zones/GetAzureDnsZone.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
5c0f6629145bada67410299acdce52a1b464618f | Add tests. | gafter/roslyn,dotnet/roslyn,genlu/roslyn,sharwell/roslyn,diryboy/roslyn,DustinCampbell/roslyn,VSadov/roslyn,genlu/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,davkean/roslyn,jasonmalinowski/roslyn,xasx/roslyn,mgoertz-msft/roslyn,swaroop-sridhar/roslyn,abock/roslyn,weltkante/roslyn,heejaechang/roslyn,eriawan/roslyn,wvdd... | src/EditorFeatures/CSharpTest/UseCompoundAssignment/UseCompoundAssignmentTests.cs | src/EditorFeatures/CSharpTest/UseCompoundAssignment/UseCompoundAssignmentTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.UseCompoundAss... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.UseCompoundAss... | mit | C# |
a5cb3b66fbab88c01e85ae4987f24f202c5b5c74 | Update to v2.0.2.0 | wbish/jsondiffpatch.net | Src/JsonDiffPatchDotNet/Properties/AssemblyInfo.cs | Src/JsonDiffPatchDotNet/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("JsonDiffPatch.Net")]
[assembly: AssemblyD... | 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("JsonDiffPatch.Net")]
[assembly: AssemblyD... | mit | C# |
0a86023a695e2f6ef2ffaaa1d6b6b80475c44b32 | Update ShellCommandParameterAttribute.cs | tiksn/TIKSN-Framework | TIKSN.Core/Shell/ShellCommandParameterAttribute.cs | TIKSN.Core/Shell/ShellCommandParameterAttribute.cs | using System;
namespace TIKSN.Shell
{
[AttributeUsage(AttributeTargets.Property)]
public sealed class ShellCommandParameterAttribute : ShellAttributeBase
{
public ShellCommandParameterAttribute(int nameKey) : base(nameKey)
{
}
public ShellCommandParameterAttribute(string n... | using System;
namespace TIKSN.Shell
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public sealed class ShellCommandParameterAttribute : ShellAttributeBase
{
public ShellCommandParameterAttribute(int nameKey) : base(nameKey)
{
}
public ShellCommandPara... | mit | C# |
e4780abdfddf1642ff454e2fcad4e882adbe58e7 | Split out `base` call from `switch` statement | smoogipooo/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.cs | osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Markdig.Extensions.Yaml;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containers.Markdo... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Markdig.Extensions.Yaml;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containers.Markdo... | mit | C# |
1df45dd0f5020adc98beeeb741eb85eff12a870b | Improve the example code | defmys/Unity3D-Raven-CS | Assets/Unity3D-Raven-CS/Example/example.cs | Assets/Unity3D-Raven-CS/Example/example.cs | using UnityEngine;
using System.Collections.Generic;
using System;
public class example : MonoBehaviour {
private Unity3DRavenCS.Unity3DRavenCS m_client;
private Dictionary<string, string> m_tags = null;
void Start()
{
// Create a raven client with DSN uri.
m_client = new Unity3DRaven... | using UnityEngine;
using System.Collections;
using System;
public class example : MonoBehaviour {
private Unity3DRavenCS.Unity3DRavenCS client;
// Use this for initialization
void Start () {
Application.stackTraceLogType = StackTraceLogType.ScriptOnly;
client = new Unity3DRavenCS.Unity3DRavenCS ("http://ab02b... | mit | C# |
a2e94bb61f300d6f70e2025ecd84a493011804d6 | Update version | Yonom/CupCake | CupCake/Properties/AssemblyInfo.cs | CupCake/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("CupCake")]
[assembly: AssemblyDescriptio... | 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("CupCake")]
[assembly: AssemblyDescriptio... | mit | C# |
b4a23462bf9488e19e3dad2544eab32a9c540ae4 | add exception in BaseResponse | ChiiAyano/Mikaboshi.Locapos | Mikaboshi.Locapos/Response/BaseResponse.cs | Mikaboshi.Locapos/Response/BaseResponse.cs | using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace Mikaboshi.Locapos.Response
{
/// <summary>
/// Locapos からの、特別な情報を持たない、ベースとなるレスポンスを格納するクラスです。
/// </summary>
public class BaseResponse
{
protected HttpResponseMessage ResponseMessage { get; privat... | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace Mikaboshi.Locapos.Response
{
/// <summary>
/// Locapos からの、特別な情報を持たない、ベースとなるレスポンスを格納するクラスです。
/// </summary>
public class BaseResponse
{
protected HttpResponseMessage ResponseMessage { get; private set; }
... | mit | C# |
1e2c8ad362a8771225d055ef6a38e002428bec02 | Update sample | MarcBruins/TTGSnackbar-Xamarin-iOS | Sample/TTGSnackbarSample/ViewController.cs | Sample/TTGSnackbarSample/ViewController.cs | using System;
using System.Threading.Tasks;
using SnackBarTTG.Source;
using UIKit;
namespace TTGSnackbarSample
{
public partial class ViewController : UIViewController
{
protected ViewController(IntPtr handle) : base(handle)
{
// Note: this .ctor should not contain any initialization logic.
}
public ove... | using System;
using System.Threading.Tasks;
using SnackBarTTG.Source;
using UIKit;
namespace TTGSnackbarSample
{
public partial class ViewController : UIViewController
{
protected ViewController(IntPtr handle) : base(handle)
{
// Note: this .ctor should not contain any initialization logic.
}
public ove... | mit | C# |
180beb6518692b6693946954b621ddcae53216fd | Update ResourceConverterExtenstions.cs | eoin55/HoneyBear.HalClient | Src/HoneyBear.HalClient/Models/ResourceConverterExtenstions.cs | Src/HoneyBear.HalClient/Models/ResourceConverterExtenstions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace HoneyBear.HalClient.Models
{
/// <summary>
/// Contains a set of IResource extensions.
/// </summary>
public static class ResourceConverterExtenstions
{
inte... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace HoneyBear.HalClient.Models
{
/// <summary>
/// Contains a set of IResource extensions.
/// </summary>
public static class ResourceConverterExtenstions
{
inte... | mit | C# |
3e6a1454248c4763dece4a14722da82bd8ddbff8 | remove comments only | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Mappings/AccountMappings.cs | src/SFA.DAS.EmployerAccounts/Mappings/AccountMappings.cs | using AutoMapper;
using SFA.DAS.Authorization;
using SFA.DAS.EmployerAccounts.Api.Types;
using SFA.DAS.EmployerAccounts.Dtos;
using SFA.DAS.EmployerAccounts.Models.Account;
namespace SFA.DAS.EmployerAccounts.Mappings
{
public class AccountMappings : Profile
{
public AccountMappings()
{
... | using AutoMapper;
using SFA.DAS.Authorization;
using SFA.DAS.EmployerAccounts.Api.Types;
using SFA.DAS.EmployerAccounts.Dtos;
using SFA.DAS.EmployerAccounts.Models.Account;
namespace SFA.DAS.EmployerAccounts.Mappings
{
public class AccountMappings : Profile
{
public AccountMappings()
{
... | mit | C# |
be9d6bcad9892fc6f4a6dc41b8375f2faa8884a0 | Add ignore attribute to test which for some reason fails when it is run together with other tests | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk.Tests/Helpers/UrlHelperExtensionTest.cs | Zk.Tests/Helpers/UrlHelperExtensionTest.cs | using NUnit.Framework;
using System.Web.Mvc;
using System.Web.Routing;
using Zk.Helpers;
namespace Zk.Tests
{
[Ignore]
[TestFixture]
public class UrlHelperExtensionTest
{
[Test]
public void UrlHelper_CreatePartialViewName()
{
// ARRANGE
var httpContext... | using NUnit.Framework;
using System.Web.Mvc;
using System.Web.Routing;
using Zk.Helpers;
namespace Zk.Tests
{
[TestFixture]
public class UrlHelperExtensionTest
{
[Test]
public void UrlHelper_CreatePartialViewName()
{
// ARRANGE
var httpContext = MvcMockHel... | mit | C# |
c5f9b5e6971da9611b599991858e9c4dd23ee008 | Bump version to 1.3.2 | mwilliamson/dotnet-mammoth | Mammoth/Properties/AssemblyInfo.cs | Mammoth/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Mammoth")]
[assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")]
[as... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Mammoth")]
[assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")]
[as... | bsd-2-clause | C# |
01b706b0a1bcb194f7a70af59681bb690b8b651d | Update ElmahIoApplicationEventHandler.cs | elmahio/elmah.io.umbraco | elmah.io.umbraco/ElmahIoApplicationEventHandler.cs | elmah.io.umbraco/ElmahIoApplicationEventHandler.cs | using System.Web;
using Umbraco.Core;
using Umbraco.Web.Routing;
namespace Elmah.Io.Umbraco
{
public class ElmahIoApplicationEventHandler : ApplicationEventHandler
{
protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
... | using System.Web;
using Umbraco.Core;
using Umbraco.Web.Routing;
namespace Elmah.Io.Umbraco
{
public class ElmahIoApplicationEventHandler : ApplicationEventHandler
{
protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{
... | apache-2.0 | C# |
a149e5c5f8d07ecbbb80f93e9bf4344e6bcf7b94 | add GetVolsByDepartureDateDepartureCityArrivalCity | guillaume-chs/EMN-dotnet,guillaume-chs/EMN-dotnet,guillaume-chs/EMN-dotnet,guillaume-chs/EMN-dotnet | PKG-vols-hotels/DALVols/DALVols.cs | PKG-vols-hotels/DALVols/DALVols.cs | using static ResaVoyages.DAL.DALGeneric.DALGeneric;
using System.Data;
using System.Data.SqlClient;
namespace ResaVoyages.DAL.DALVols
{
public class DALVols
{
public const string SERVER_NAME = "PAUL\\SQLEXPRESS";
public const string BD_NAME = "VOLS";
public const string TABLE_NAME = "V... | using static ResaVoyages.DAL.DALGeneric.DALGeneric;
using System.Data;
using System.Data.SqlClient;
namespace ResaVoyages.DAL.DALVols
{
public class DALVols
{
public const string SERVER_NAME = "PAUL\\SQLEXPRESS";
public const string BD_NAME = "VOLS";
public const string TABLE_NAME = "V... | mit | C# |
94d102865da88e8f938cd93712d4ff3783ace6f8 | Remove unused code | florentbr/SeleniumBasic,florentbr/SeleniumBasic,florentbr/SeleniumBasic,florentbr/SeleniumBasic | Selenium/Internal/RunningObject.cs | Selenium/Internal/RunningObject.cs | using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace Selenium.Internal {
class RunningObject : IDisposable {
/// <summary>
/// Register a COM instance in the running table
/// </summary>
/// <param name="name">Regitered name... | using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace Selenium.Internal {
class RunningObject : IDisposable {
/// <summary>
/// Register a COM instance in the running table
/// </summary>
/// <param name="name">Regitered name... | bsd-3-clause | C# |
6723098b721b8e37d09c109ff02a5757017a7c29 | Bump client-server versions to 2.1.0.0 | zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder | Zbu.ModelsBuilder/Compatibility.cs | Zbu.ModelsBuilder/Compatibility.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Zbu.ModelsBuilder
{
public class Compatibility
{
/// <summary>
/// Gets ModelsBuilder version.
/// </summary>
public static rea... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Zbu.ModelsBuilder
{
public class Compatibility
{
/// <summary>
/// Gets ModelsBuilder version.
/// </summary>
public static rea... | mit | C# |
7d4e46e81f745e6213d4d92fab9a606e728de09b | Test für top-level-Gremlinq config. | ExRam/ExRam.Gremlinq | test/ExRam.Gremlinq.Core.AspNet.Tests/GremlinqConfigurationSectionTests.cs | test/ExRam.Gremlinq.Core.AspNet.Tests/GremlinqConfigurationSectionTests.cs | using System.Collections.Generic;
using FluentAssertions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace ExRam.Gremlinq.Core.AspNet.Tests
{
public class GremlinqConfigurationSectionTests
{
private readonly IGremlinqConfigurationSection ... | using FluentAssertions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace ExRam.Gremlinq.Core.AspNet.Tests
{
public class GremlinqConfigurationSectionTests
{
private readonly IGremlinqConfigurationSection _section;
public Gremlinq... | mit | C# |
1b7e31b03fbcc506472921a4e2d8f5bcaa0a0a91 | increase version | tinohager/Nager.AmazonProductAdvertising,tinohager/Nager.AmazonProductAdvertising | Nager.AmazonProductAdvertising/Properties/AssemblyInfo.cs | Nager.AmazonProductAdvertising/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("Nag... | 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("Nag... | mit | C# |
bcb98a4d7762fb3ec6d7953ddb77aa7a27f88010 | Tweak GroupBox preferred sizing (again) | PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1 | Source/Eto.Platform.Mac/Forms/Controls/GroupBoxHandler.cs | Source/Eto.Platform.Mac/Forms/Controls/GroupBoxHandler.cs | using System;
using Eto.Forms;
using MonoMac.AppKit;
using SD = System.Drawing;
using Eto.Drawing;
using Eto.Platform.Mac.Drawing;
namespace Eto.Platform.Mac.Forms.Controls
{
public class GroupBoxHandler : MacContainer<NSBox, GroupBox>, IGroupBox
{
Font font;
public class EtoBox : NSBox, IMacControl
{
publ... | using System;
using Eto.Forms;
using MonoMac.AppKit;
using SD = System.Drawing;
using Eto.Drawing;
using Eto.Platform.Mac.Drawing;
namespace Eto.Platform.Mac.Forms.Controls
{
public class GroupBoxHandler : MacContainer<NSBox, GroupBox>, IGroupBox
{
Font font;
public class EtoBox : NSBox, IMacControl
{
publ... | bsd-3-clause | C# |
06d0d6723a69e61963c1d57ba244fdff05fc1ddd | Add support for IEnumerable in android adapters | Julien-Mialon/StormXamarin,snipervld/StormXamarin,snipervld/StormXamarin,Julien-Mialon/StormXamarin,snipervld/StormXamarin,Julien-Mialon/StormXamarin | StormXamarin/Storm.Mvvm.Android.Shared/BindableAdapter.cs | StormXamarin/Storm.Mvvm.Android.Shared/BindableAdapter.cs | using System;
using System.Collections;
using System.Collections.Specialized;
using System.Linq;
using Android.Views;
using Android.Widget;
using Storm.Mvvm.Interfaces;
namespace Storm.Mvvm
{
public class BindableAdapter : BaseAdapter<object>, IMvvmAdapter, ISearchableAdapter
{
private ITemplateSelector _template... | using System.Collections;
using System.Collections.Specialized;
using Android.Views;
using Android.Widget;
using Storm.Mvvm.Interfaces;
namespace Storm.Mvvm
{
public class BindableAdapter : BaseAdapter<object>, IMvvmAdapter, ISearchableAdapter
{
private ITemplateSelector _templateSelector;
private IList _collec... | mit | C# |
3efb97e307b38d9d5f1868133958855ee461e05b | Use MirroringPackageRepository to auto-mirror packages in OData lookup. | googol/NuGet.Lucene,Stift/NuGet.Lucene,themotleyfool/NuGet.Lucene | source/NuGet.Lucene.Web/Controllers/PackagesODataController.cs | source/NuGet.Lucene.Web/Controllers/PackagesODataController.cs | using System.Linq;
using System.Web.Http;
using System.Web.Http.OData;
using NuGet.Lucene.Web.Models;
using NuGet.Lucene.Web.Util;
namespace NuGet.Lucene.Web.Controllers
{
/// <summary>
/// OData provider for Lucene based NuGet package repository.
/// </summary>
public class PackagesODataController : ... | using System.Linq;
using System.Web.Http;
using System.Web.Http.OData;
using NuGet.Lucene.Web.Models;
using NuGet.Lucene.Web.Util;
namespace NuGet.Lucene.Web.Controllers
{
/// <summary>
/// OData provider for Lucene based NuGet package repository.
/// </summary>
public class PackagesODataController : ... | apache-2.0 | C# |
e7608f4b1256b0d33b6c3135de9b36a0e1af1874 | Update BasketController.cs | productinfo/eShopOnContainers,albertodall/eShopOnContainers,TypeW/eShopOnContainers,TypeW/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,albertodall/eShopOnContainers,TypeW/eShopOnContainers,andrelmp/eShopOnContainers,skynode... | src/Services/Basket/Basket.API/Controllers/BasketController.cs | src/Services/Basket/Basket.API/Controllers/BasketController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.Services.Basket.API.Model;
using Microsoft.AspNetCore.Authorization;
namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
{
[Route("/"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.Services.Basket.API.Model;
using Microsoft.AspNetCore.Authorization;
namespace Microsoft.eShopOnContainers.Services.Basket.API.Controllers
{
//TODO NOT... | mit | C# |
df48ee1f63ecf71b25e9ef824aa3a4af831d1ee2 | Update CameraEffectControlScript.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Camera/CameraEffectControlScript.cs | UnityProject/Assets/Scripts/Camera/CameraEffectControlScript.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CameraEffects
{
public class CameraEffectControlScript : MonoBehaviour
{
public DrunkCamera drunkCamera;
public GlitchEffect glitchEffect;
public NightVisionCamera nightVisionCamera;
public void ToggleDrunkEffectSta... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CameraEffects
{
public class CameraEffectControlScript : MonoBehaviour
{
public DrunkCamera drunkCamera;
public GlitchEffect glitchEffect;
public NightVisionCamera nightVisionCamera;
public void ChangeDrunkState()
... | agpl-3.0 | C# |
4928e5fefacaa1ca80bcda66eb78a3926c104c6a | Add quotes when searching with an order ID in BO. | ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLOrderListPageController.cs | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLOrderListPageController.cs | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Text.RegularExpressions;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Controllers.SurfaceControllers.Page
{
public class ChalmersILLOrderListPageCo... | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Controllers.SurfaceControllers.Page
{
public class ChalmersILLOrderListPageController : RenderMvcController
{
... | mit | C# |
a8c8eb6b85bdee6cfdcdc1d2e3899e074b2be658 | Fix spelling | abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins | UIExension/WordCloudUIExtension/CloudControl/TextAnalyses/Blacklist/CommonBlacklist.cs | UIExension/WordCloudUIExtension/CloudControl/TextAnalyses/Blacklist/CommonBlacklist.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace Gma.CodeCloud.Controls.TextAnalyses.Blacklist
{
public class CommonBlacklist : IBlacklist
{
private readonly HashSet<string> m_ExcludedWordsHashSet;
public CommonBlacklist() : this(new string[] {})
{
}
... | using System;
using System.Collections.Generic;
using System.IO;
namespace Gma.CodeCloud.Controls.TextAnalyses.Blacklist
{
public class CommonBlacklist : IBlacklist
{
private readonly HashSet<string> m_ExcludedWordsHashSet;
public CommonBlacklist() : this(new string[] {})
{
}
... | epl-1.0 | C# |
03d07ad80384d7e30f2c8f4ec81fe8701401f4c8 | Add [Fact] attribute to a test that was missing it, regaining coverage. | LHCGreg/mal-api,LHCGreg/mal-api | MalApi.IntegrationTests/GetRecentOnlineUsersTest.cs | MalApi.IntegrationTests/GetRecentOnlineUsersTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace MalApi.IntegrationTests
{
public class GetRecentOnlineUsersTest
{
[Fact]
public void GetRecentOnlineUsers()
{
using (MyAnimeListApi api = new MyAnimeListApi())
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace MalApi.IntegrationTests
{
public class GetRecentOnlineUsersTest
{
public void GetRecentOnlineUsers()
{
using (MyAnimeListApi api = new MyAnimeListApi())
{
... | apache-2.0 | C# |
97525abb2ab11ceafe10b17c907860eb22232ecb | fix ScopedOption NotImplementedException | AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/Abstractions | src/ScopedContext/src/AspectCore.Extensions.ScopedContext/ScopedInterceptorAttribute.cs | src/ScopedContext/src/AspectCore.Extensions.ScopedContext/ScopedInterceptorAttribute.cs | using System;
using AspectCore.Abstractions;
namespace AspectCore.Extensions.ScopedContext
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
[NonAspect]
public abstract class ScopedInterceptorAttribute : InterceptorA... | using System;
using AspectCore.Abstractions;
namespace AspectCore.Extensions.ScopedContext
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
[NonAspect]
public abstract class ScopedInterceptorAttribute : InterceptorA... | mit | C# |
ce3ed8473a1318d205e599e0551b824741a263a1 | fix defer: true by default | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Framework/ResourceManagement/ScriptResource.cs | src/DotVVM.Framework/ResourceManagement/ScriptResource.cs | #nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.ResourceManagement
{
/// <summary>
/// Reference to a javascript file.
/// </summary>
public class ScriptResource : LinkResourc... | #nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.ResourceManagement
{
/// <summary>
/// Reference to a javascript file.
/// </summary>
public class ScriptResource : LinkResourc... | apache-2.0 | C# |
435202db616c617bf2bdbb6cb7fbe81a3ebcc069 | Fix the long initializer test case that was failing | shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,weltkante/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,mavasani/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,KevinRans... | src/EditorFeatures/CSharpTest/Wrapping/InitializerExpressionWrappingTests.cs | src/EditorFeatures/CSharpTest/Wrapping/InitializerExpressionWrappingTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CSharp.Wrapping;
using Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions;
using Microsoft.CodeAnalysis.Test.Utilities;
using ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CSharp.Wrapping;
using Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions;
using Microsoft.CodeAnalysis.Test.Utilities;
using ... | mit | C# |
dc5ef02e6d474ca1582cfd4a93f2da8196dce3a9 | Fix typo in `OnCrashOnly` documentation | Topshelf/Topshelf | src/Topshelf/Configuration/ServiceRecoveryConfigurator.cs | src/Topshelf/Configuration/ServiceRecoveryConfigurator.cs | // Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | // Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | apache-2.0 | C# |
635b4b315d30728d2aaae6718f592d9f7a397581 | fix spelling mistake | WilliamsJason/WindowsDevicePortalWrapper-1,davidkline-ms/WindowsDevicePortalWrapper,c-don/WindowsDevicePortalWrapper,hpsin/WindowsDevicePortalWrapper | WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/Core/AppFileExplorer.cs | WindowsDevicePortalWrapper/WindowsDevicePortalWrapper/Core/AppFileExplorer.cs | //----------------------------------------------------------------------------------------------
// <copyright file="AppFileExplorer.cs" company="Microsoft Corporation">
// Licensed under the MIT License. See LICENSE.TXT in the project root license information.
// </copyright>
//-----------------------------------... | //----------------------------------------------------------------------------------------------
// <copyright file="AppFileExplorer.cs" company="Microsoft Corporation">
// Licensed under the MIT License. See LICENSE.TXT in the project root license information.
// </copyright>
//-----------------------------------... | mit | C# |
3aaa3f4a2141ab3952538963a93a704656687d6c | replace version in RoundRobinAddressRouterShould.cs | lvermeulen/Equalizer | test/Equalizer.Nanophone.Tests/RoundRobinAddressRouterShould.cs | test/Equalizer.Nanophone.Tests/RoundRobinAddressRouterShould.cs | using System;
using System.Collections.Generic;
using Nanophone.Core;
using Xunit;
namespace Equalizer.Nanophone.Tests
{
public class RoundRobinAddressRouterShould
{
[Fact]
public void WrapAround()
{
var oneDotOne = new RegistryInformation("1", 1234, "some version");
... | using System;
using System.Collections.Generic;
using Nanophone.Core;
using Xunit;
namespace Equalizer.Nanophone.Tests
{
public class RoundRobinAddressRouterShould
{
[Fact]
public void WrapAround()
{
var oneDotOne = new RegistryInformation("1", 1234, "v2.7");
va... | mit | C# |
8cbf657c48acd8f0241918f5bfcd0c74519603fb | update searchUI test | grenade/NuGetGallery_download-count-patch,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,skbkontur/NuGetGallery,gren... | tests/NuGetGallery.FunctionalTests.Fluent/SearchUITest.cs | tests/NuGetGallery.FunctionalTests.Fluent/SearchUITest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NuGetGallery.FunctionTests.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAutomation;
namespace NuGetGallery.Fu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NuGetGallery.FunctionTests.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FluentAutomation;
namespace NuGetGallery.Fu... | apache-2.0 | C# |
57558ccbe93e171741f83bd73de7bc299dc44fb2 | Refactor NumberOfClassificationSystemsTest | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Test/Tests/Noark5/NumberOfClassificationSystemsTest.cs | src/Arkivverket.Arkade.Test/Tests/Noark5/NumberOfClassificationSystemsTest.cs | using System;
using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using Arkivverket.Arkade.Tests.Noark5;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Tests.Noark5
{
public class NumberOfClassificationSystemsTest : IDisposable
{
private Stream _archi... | using System;
using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Tests;
using Arkivverket.Arkade.Tests.Noark5;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Tests.Noark5
{
public class NumberOfClassificationSystemsTest : IDisposable
{
private Stream _archi... | agpl-3.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.