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 |
|---|---|---|---|---|---|---|---|---|
960fa34aa9a74a653c81e4eea2635d4ff0d2bc0a | Update BypassUserCmd.cs | MartLegion/L2dotNET,Elfocrash/L2dotNET | src/L2dotNET.Game/network/clientpackets/BypassUserCmd.cs | src/L2dotNET.Game/network/clientpackets/BypassUserCmd.cs | using System;
using L2dotNET.Game.controllers;
using L2dotNET.Game.model.player.partials;
using L2dotNET.Game.network.l2send;
using L2dotNET.Game.tables;
using L2dotNET.Game.world;
using L2dotNET.Game.geo;
namespace L2dotNET.Game.network.l2recv
{
class BypassUserCmd : GameServerNetworkRequest
{
public... | using System;
using L2dotNET.Game.controllers;
using L2dotNET.Game.model.player.partials;
using L2dotNET.Game.network.l2send;
using L2dotNET.Game.tables;
using L2dotNET.Game.world;
using L2dotNET.Game.geo;
namespace L2dotNET.Game.network.l2recv
{
class BypassUserCmd : GameServerNetworkRequest
{
public... | mpl-2.0 | C# |
50287dea334c6eee0f60e1ca867bdac46d8e2b4a | Switch back to implicit operators for conversions to and from CodeStyleOption and CodeStyleOption2 respectively. These are needed to prevent InvalidCastException when user invokes `optionSet.WithChangedOption(..., new CodeStyleOption<bool>(...))` and any of our internal code base tries to fetch the option value with `o... | panopticoncentral/roslyn,eriawan/roslyn,stephentoub/roslyn,gafter/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,ErikSchierboom/roslyn,tmat/roslyn,KirillOsenkov/roslyn,bartdesmet/roslyn,heejaechang/roslyn,sharwell/roslyn,AmadeusW/roslyn,KirillOsenkov/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,davkean/roslyn,ae... | src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.cs | src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.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.
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal partial class CodeStyleOption2<T>
{
public st... | // 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.
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal partial class CodeStyleOption2<T>
{
public st... | mit | C# |
c5ebc272938af9cfa0f37601ae1f42408e7a2afd | Improve physic ignore by tags | insthync/unity-utilities | Assets/UnityUtilities/Scripts/Misc/PhysicsIgnoreByTags.cs | Assets/UnityUtilities/Scripts/Misc/PhysicsIgnoreByTags.cs | using UnityEngine;
public class PhysicsIgnoreByTags : MonoBehaviour
{
public string[] ignoreCollisionTags;
protected Collider physicCollider;
public virtual Collider PhysicCollider
{
get
{
if (physicCollider == null)
physicCollider = GetComponent<Collider>(... | using UnityEngine;
public class PhysicsIgnoreByTags : MonoBehaviour
{
public string[] ignoreCollisionTags;
protected Collider physicCollider;
public virtual Collider PhysicCollider
{
get
{
if (physicCollider == null)
physicCollider = GetComponent<Collider>(... | mit | C# |
6d5af0271e17a01e0d7670074f836c13855fa2e1 | Update CopyNamedRanges.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-sha... | Examples/CSharp/Data/AddOn/NamedRanges/CopyNamedRanges.cs | Examples/CSharp/Data/AddOn/NamedRanges/CopyNamedRanges.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class CopyNamedRanges
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = A... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class CopyNamedRanges
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Uti... | mit | C# |
9b60da1bb1df8019cc97d51c08bae43260f07035 | use comparable class to repair test | icarus-consulting/Yaapii.Atoms | tests/Yaapii.Atoms.Tests/Collection/MappedTest.cs | tests/Yaapii.Atoms.Tests/Collection/MappedTest.cs | // MIT License
//
// Copyright(c) 2019 ICARUS Consulting GmbH
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, co... | // MIT License
//
// Copyright(c) 2019 ICARUS Consulting GmbH
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, co... | mit | C# |
0334077bcd6bb79b378fe3fc5bd91c73223b2494 | Add option for only 1 hop propagation | Everspace/Plantain | UnityProject/Assets/Plantain/Trigger/TriggerPropagator.cs | UnityProject/Assets/Plantain/Trigger/TriggerPropagator.cs | using Plantain;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("Plantain/Trigger/Propagator")]
public class TriggerPropagator : Trigger {
/// <summary>
/// Prevent a trigger from hopping any further than the targeted objects.
/// </summary>
public bool preventPropigation = false... | using Plantain;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("Plantain/Trigger/Propagator")]
public class TriggerPropagator : Trigger {
/// <summary>
/// A list of GameObjects that will have the current GameObject's triggers passed on to.
/// </summary>
public List<GameObject>... | mit | C# |
19b53677882e78c9837344be1389082c223f7e10 | Add `With()` method | smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/HostConfig.cs | osu.Framework/HostConfig.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework
{
/// <summary>
/// Various configuration properties for a <see cref="Host"/>.
/// </summary>
public class HostConfig
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Framework
{
/// <summary>
/// Various configuration properties for a <see cref="Host"/>.
/// </summary>
public class HostConfig
{
... | mit | C# |
831d2755c2a6a76a0f5bd4dd35c4e068d40c1bbd | Add catch for UnauthorizedAccessException to ReplaceWithUserInteraction | chrisvire/libpalaso,glasseyes/libpalaso,mccarthyrb/libpalaso,darcywong00/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,tombogle/libpalaso,chrisvire/libpalaso,glasseyes/libpalaso,hatton/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,ddaspit/libpalaso,marksvc/libpalaso,tombogle/libpalaso,sillsdev/libpalaso,tombogle/... | Palaso/IO/FileUtils.cs | Palaso/IO/FileUtils.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Palaso.Reporting;
namespace Palaso.IO
{
public class FileUtils
{
public static void GrepFile(string inputPath, string pattern, string replaceWith)
{
Reg... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Palaso.Reporting;
namespace Palaso.IO
{
public class FileUtils
{
public static void GrepFile(string inputPath, string pattern, string replaceWith)
{
Reg... | mit | C# |
bf9c5343b3a08f8ebc74de36321f389369987d61 | enable count, filter, expand... | ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7 | API/BooksODataService/BooksODataService/Startup.cs | API/BooksODataService/BooksODataService/Startup.cs | using BooksODataService.Models;
using BooksODataService.Services;
using Microsoft.AspNet.OData.Builder;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Config... | using BooksODataService.Models;
using BooksODataService.Services;
using Microsoft.AspNet.OData.Builder;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensi... | mit | C# |
66a3e71f47a4f52f835616c9191e0254cf2c67e3 | remove infinitely recursive construction | RavuAlHemio/PrinterHealth,RavuAlHemio/PrinterHealth | PrinterHealthWebService/PrinterHealthWebService.cs | PrinterHealthWebService/PrinterHealthWebService.cs | using DasMulli.Win32.ServiceUtils;
using PrinterHealth;
using PrinterHealth.Config;
using PrinterHealthWeb;
using RavuAlHemio.CentralizedLog;
namespace PrinterHealthWebService
{
public partial class PrinterHealthWebService : IWin32Service
{
private PrinterHealthConfig _config;
private HealthMo... | using DasMulli.Win32.ServiceUtils;
using PrinterHealth;
using PrinterHealth.Config;
using PrinterHealthWeb;
using RavuAlHemio.CentralizedLog;
namespace PrinterHealthWebService
{
public partial class PrinterHealthWebService : IWin32Service
{
private PrinterHealthConfig _config;
private HealthMo... | cc0-1.0 | C# |
c443ad145aadb065b08a5daab61d9665f884b267 | use max instead of last | Jaxwood/euler | Euler.Console/Program.cs | Euler.Console/Program.cs | using Euler.Lib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler.Console
{
class Program
{
static void Main(string[] args)
{
var nat = new NaturalNumberCalculator();
System.Console.Write... | using Euler.Lib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler.Console
{
class Program
{
static void Main(string[] args)
{
var nat = new NaturalNumberCalculator();
System.Console.Write... | mit | C# |
d7d2179c7bbed90917ecc2ca5f94b5823dfd6aba | Update Excercise02_01 from Mosh | Arnonthawajjana/MoshTrainingCSharp | Excercise02_1/Program.cs | Excercise02_1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Excercise02_1
{
class Program
{
static void Main(string[] args)
{
//initail variable
var likeListName = new List<string>();
var inpu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Excercise02_1
{
class Program
{
static void Main(string[] args)
{
//initail variable
var likeListName = new List<string>();
var inpu... | mit | C# |
3909639ce1b0c17b66707208592a0d7c991645b6 | allow tests to pass when objects are leaking due to being GCed after Python runtime is shut down | pythonnet/pythonnet,QuantConnect/pythonnet,pythonnet/pythonnet,pythonnet/pythonnet,QuantConnect/pythonnet,QuantConnect/pythonnet | src/embed_tests/GlobalTestsSetup.cs | src/embed_tests/GlobalTestsSetup.cs | using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
// As the SetUpFixture, the OneTimeTearDown of this class is executed after
// all tests have run.
[SetUpFixture]
public partial class GlobalTestsSetup
{
[OneTimeSetUp]
public void GlobalSetup()
{... | using NUnit.Framework;
using Python.Runtime;
namespace Python.EmbeddingTest
{
// As the SetUpFixture, the OneTimeTearDown of this class is executed after
// all tests have run.
[SetUpFixture]
public partial class GlobalTestsSetup
{
[OneTimeTearDown]
public void FinalCleanup()
... | mit | C# |
495997ce89432ed72996de6c3e3da06120daee91 | Add ref | CyrusNajmabadi/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,dotnet/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,jasonmalinowski/rosl... | src/EditorFeatures/Core/SpellCheck/Class1.cs | src/EditorFeatures/Core/SpellCheck/Class1.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Text.SpellChecker;
... | // 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.Text;
namespace Microsoft.CodeAnalysis.SpellCheck
{
... | mit | C# |
45ff28f83baae57d8a8ae4fc2f6c4f9f9ff04b2f | add autolink constructor | peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipooo/osu,ppy/osu,ppy/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownLinkText.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownLinkText.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Mark... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Mark... | mit | C# |
01b001ebc4125b7ca8ec390e4a19bf6695ec0784 | Update version to 3.2.1 | EtienneLamoureux/TQVaultAE | src/TQVaultAE.GUI/Properties/AssemblyInfo.cs | src/TQVaultAE.GUI/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using Syste... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using Syste... | mit | C# |
aa584ce453e3c71e735b9c30660f3b4fc1f5728e | Add `Reconnect` method | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscConnection.cs | src/PcscDotNet/PcscConnection.cs | using System;
namespace PcscDotNet
{
public class PcscConnection : IDisposable
{
public PcscContext Context { get; private set; }
public SCardHandle Handle { get; private set; }
public bool IsConnect => Handle.HasValue;
public bool IsDisposed { get; private set; } = false;
... | using System;
namespace PcscDotNet
{
public class PcscConnection : IDisposable
{
public PcscContext Context { get; private set; }
public SCardHandle Handle { get; private set; }
public bool IsConnect => Handle.HasValue;
public bool IsDisposed { get; private set; } = false;
... | mit | C# |
df0494a8bee823611b67250335d1e5b23d7053c0 | Add GetFlags test through AdminLogic file [#136389281] | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | revashare-svc-webapi/revashare-svc-webapi.Tests/FlagTests.cs | using revashare_svc_webapi.Logic;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace revashare_svc_webapi.Tests
{
public cla... | using revashare_svc_webapi.Logic.RevaShareServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace revashare_svc_webapi.Tests
{
public class FlagTests
{
[Fact]
public void test_GetFlags()
{
Rev... | mit | C# |
82ef85569bffe30e64a00414ddb8465348d645d5 | Fix nullref when querying IsInSeason before request completion | UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ppy/osu | osu.Game/Graphics/Backgrounds/SeasonalBackgroundLoader.cs | osu.Game/Graphics/Backgrounds/SeasonalBackgroundLoader.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using... | mit | C# |
e15d21475146134fb48510c0402390d2bc3e607c | Implement ConvertTo(), etc., in UuidTypeConverter; refactoring as appropriate. | brendanjbaker/Bakery | src/Bakery/UuidTypeConverter.cs | src/Bakery/UuidTypeConverter.cs | namespace Bakery
{
using System;
using System.ComponentModel;
using System.Globalization;
public class UuidTypeConverter
: TypeConverter
{
public override Boolean CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return
sourceType == typeof(String) ||
sourceType == t... | namespace Bakery
{
using System;
using System.ComponentModel;
using System.Globalization;
public class UuidTypeConverter
: TypeConverter
{
public override Boolean CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return sourceType == typeof(String);
}
public override O... | mit | C# |
32c0dcb20dd8b483423648ae51735a58a96b1d21 | Add Database initializer to Global | uheerme/core,uheerme/core,uheerme/core | Samesound/Global.asax.cs | Samesound/Global.asax.cs | using Samesound.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Samesound
{
public class WebApiApplication : System.Web.HttpApplicati... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Samesound
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Star... | mit | C# |
0fc13c3d21e49324359e1c999581df0c21381b78 | Fix logout form input button | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf/Views/Shared/_Title.cshtml | Gamedalf/Views/Shared/_Title.cshtml | @using Microsoft.AspNet.Identity
@using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
}
<div class="row">
<div class="col-md-6">
<h1>
@ViewBag.Title
<small>
@Vie... | @using Microsoft.AspNet.Identity
<div class="row">
<div class="col-md-6">
<h1>
@ViewBag.Title
<small>
@ViewBag.Lead
</small>
</h1>
</div>
<div class="col-md-6">
<ul class="nav nav-pills pull-right">
@i... | mit | C# |
8dd15777dfcaf158e5e58f6b8d245f90611f4fb1 | bump version to 6.1.3.14830 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
e71f1c7e11b52f90db158335fc292430aa6fd63c | remove junk | smiggleworth/Stripe.Client | src/Stripe.Client.Sdk.Tests/Models/StripeResponseTests.cs | src/Stripe.Client.Sdk.Tests/Models/StripeResponseTests.cs | using System.IO;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Stripe.Client.Sdk.Models;
namespace Stripe.Client.Sdk.Tests.Models
{
[TestClass]
public class StripeResponseTests
{
[TestMethod]
public void StripeResponse_Success()
... | using System.IO;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Stripe.Client.Sdk.Models;
namespace Stripe.Client.Sdk.Tests.Models
{
[TestClass]
public class StripeResponseTests
{
[TestMethod]
public void StripeResponse_Success()
... | apache-2.0 | C# |
8fd577416dc1ac757d41c50360364d59d8be3496 | Revert "Trigger new build" | Teleopti/Stardust | Manager/ManagerTest/DatabaseTest.cs | Manager/ManagerTest/DatabaseTest.cs | using ManagerTest.Database;
using NUnit.Framework;
namespace ManagerTest
{
public class DatabaseTest
{
private DatabaseHelper _databaseHelper;
[TestFixtureSetUp]
public void BaseTestTestFixtureSetup()
{
_databaseHelper = new DatabaseHelper();
_databaseHelper.Create();
}
[SetUp]
public void... | using ManagerTest.Database;
using NUnit.Framework;
namespace ManagerTest
{
public class DatabaseTest
{
private DatabaseHelper _databaseHelper;
[TestFixtureSetUp]
public void BaseTestTestFixtureSetup()
{
_databaseHelper = new DatabaseHelper();
_databaseHelper.Create();
}
[SetUp]
public void Bas... | mit | C# |
32f91c9fea78dcc86ac74c013fd8b1ae3c7af172 | Update StatInfo.cs | NinjaVault/NinjaHive,NinjaVault/NinjaHive | NinjaHive.Contract/DTOs/StatInfo.cs | NinjaHive.Contract/DTOs/StatInfo.cs | using System;
using System.ComponentModel.DataAnnotations;
using NinjaHive.Core.Validations;
namespace NinjaHive.Contract.DTOs
{
public class StatInfo
{
[NonEmptyGuid]
public Guid Id { get; set; }
public int Health { get; set; }
public int Magic { get; set; }
public in... | using System;
using System.ComponentModel.DataAnnotations;
using NinjaHive.Core.Validations;
namespace NinjaHive.Contract.DTOs
{
public class StatInfo
{
[NonEmptyGuid]
public Guid Id { get; set; }
public int Health { get; set; }
public int Magic { get; set; }
public in... | apache-2.0 | C# |
c76433f0d23f40be4a57e07d4e3ad6ddd77f2370 | Rename Sbyte to SByteField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/SBytes.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/SBytes.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public sbyte SByteField(sbyte value)
{
return SByteField(string.Empty, value);
}
public sbyte SByteField(string label, sbyte value)
{
return SByteField(label, value, null);
}
public sbyte SByteField(string l... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public sbyte SByte(sbyte value)
{
return SByte(string.Empty, value);
}
public sbyte SByte(string label, sbyte value)
{
return SByte(label, value, null);
}
public sbyte SByte(string label, string tooltip, sby... | mit | C# |
3e2df62110e79e227c222626cbb6e3b288083e29 | Throw a generic exception (need to wrap this?) from Twilio | mattgwagner/CertiPay.Common | CertiPay.Common.Notifications/Notifications/ISMSService.cs | CertiPay.Common.Notifications/Notifications/ISMSService.cs | using CertiPay.Common.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background proce... | using CertiPay.Common.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background proce... | mit | C# |
50dad41edb62765060cd39d98db0a01e03dd2851 | Correct code adjustment | DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework | DragonSpark.Application/Entities/Diagnostics/RetryCodes.cs | DragonSpark.Application/Entities/Diagnostics/RetryCodes.cs | using DragonSpark.Model.Selection.Conditions;
using System.Linq;
namespace DragonSpark.Application.Entities.Diagnostics;
sealed class RetryCodes : Condition<int>
{
public static RetryCodes Default { get; } = new();
RetryCodes() : base(new[] { -2, 10060 }.Contains) {}
} | using DragonSpark.Model.Selection.Conditions;
using System.Linq;
namespace DragonSpark.Application.Entities.Diagnostics;
sealed class RetryCodes : Condition<int>
{
public static RetryCodes Default { get; } = new();
RetryCodes() : base(new[] { 2, 10060 }.Contains) {}
} | mit | C# |
a6f1a04cceed3124f897c338df7641c746fec0a0 | Fix BattlePreview Popup | kyoryo/test | Grabacr07.KanColleViewer/Views/BattlePreviewsPopUp.xaml.cs | Grabacr07.KanColleViewer/Views/BattlePreviewsPopUp.xaml.cs |
namespace Grabacr07.KanColleViewer.Views
{
/// <summary>
/// BattlePreview.xaml에 대한 상호 작용 논리
/// </summary>
public partial class BattlePreviewsPopUp
{
public BattlePreviewsPopUp()
{
this.InitializeComponent();
MainWindow.Current.Closed += (sender, args) => this.Close();
}
}
}
|
namespace Grabacr07.KanColleViewer.Views
{
/// <summary>
/// BattlePreview.xaml에 대한 상호 작용 논리
/// </summary>
public partial class BattlePreviewsPopUp
{
public BattlePreviewsPopUp()
{
InitializeComponent();
}
}
}
| mit | C# |
9644b546035a0e949aceb3ed3445487764453512 | Fix assembly signing | tp7/WOptiPNG | WOptiPng/Properties/AssemblyInfo.cs | WOptiPng/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# |
fd8a35d36add89a349dcff183e66984a2e5dacf2 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.0.16 | windygu/winforms,AdamsLair/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
b1e784e8c74acb92f94705735fc4041eb8496b73 | Set version info | jmedrano87/nasa-apod-pcl | apod_api/Properties/AssemblyInfo.cs | apod_api/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("na... | 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("na... | mit | C# |
ab5757cfac133cb59090a0999271b0cdbdf6fd74 | Remove some unnecessary code | neror/UnityForiOSDevs | CubesAndStuff/Assets/Scripts/MartianCraft/Common/PlaceOnObjectBelow.cs | CubesAndStuff/Assets/Scripts/MartianCraft/Common/PlaceOnObjectBelow.cs | using UnityEngine;
using System.Collections;
namespace MartianCraft.Common
{
[RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(Collider))]
public class PlaceOnObjectBelow : MCBehaviour
{
public LayerMask surfaceLayers = 1; // LayerMask == 1 is the "Default" layer
public bool resetOnEnable = fals... | using UnityEngine;
using System.Collections;
namespace MartianCraft.Common
{
[RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(Collider))]
public class PlaceOnObjectBelow : MCBehaviour
{
public LayerMask surfaceLayers = 1; // LayerMask == 1 is the "Default" layer
public bool resetOnEnable = fals... | mit | C# |
73fa923e07529135f3d2be355233c31f8222cefa | Make tcpSocketManager writes async to avoid blocking everything else | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | plugins/TcpSocketDataSender/TcpSocketManager.cs | plugins/TcpSocketDataSender/TcpSocketManager.cs | using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace TcpSocketDataSender
{
public class TcpSocketManager : IDisposable
{
private TcpClient _tcpClient;
BinaryWriter _writer = null;
public int ServerPo... | using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace TcpSocketDataSender
{
public class TcpSocketManager : IDisposable
{
private TcpClient _tcpClient;
BinaryWriter _writer = null;
public int ServerPort = 7839;
public string ServerIp = "127.0.0.1... | mit | C# |
bb838443b335046688ec477a542005c230b3fe65 | add readonly to injection filed | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey/ViewModels/LoginPageViewModel.cs | client/BlueMonkey/BlueMonkey/ViewModels/LoginPageViewModel.cs | using BlueMonkey.LoginService;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services;
using System;
using System.Threading.Tasks;
namespace BlueMonkey.ViewModels
{
public class LoginPageViewModel : BindableBase
{
private readonly INavigationService _navigationService;
... | using BlueMonkey.LoginService;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services;
using System;
using System.Threading.Tasks;
namespace BlueMonkey.ViewModels
{
public class LoginPageViewModel : BindableBase
{
private INavigationService _navigationService;
pri... | mit | C# |
a705cd053764d998afdb53a0de5f4db9cf89d4cc | Remove unused refs from UserController | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Api/Controllers/UserController.cs | src/SFA.DAS.EmployerUsers.Api/Controllers/UserController.cs | using System.Threading.Tasks;
using System.Web.Http;
using SFA.DAS.EmployerUsers.Api.Orchestrators;
namespace SFA.DAS.EmployerUsers.Api.Controllers
{
[RoutePrefix("api/users")]
public class UserController : ApiController
{
private readonly UserOrchestrator _orchestrator;
public UserContro... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using SFA.DAS.EmployerUsers.Api.Orchestrators;
namespace SFA.DAS.EmployerUsers.Api.Controllers
{
[RoutePrefix("api/users")]
public class UserControll... | mit | C# |
76c63c39da323dfb6d2669b9ad09106d497d4245 | Use pattern switch | jcouv/roslyn,KirillOsenkov/roslyn,Hosch250/roslyn,abock/roslyn,jamesqo/roslyn,MichalStrehovsky/roslyn,paulvanbrenk/roslyn,TyOverby/roslyn,tmat/roslyn,TyOverby/roslyn,jmarolf/roslyn,mmitche/roslyn,AnthonyDGreen/roslyn,mattscheffer/roslyn,swaroop-sridhar/roslyn,robinsedlaczek/roslyn,jmarolf/roslyn,physhi/roslyn,tvand7093... | src/Workspaces/CSharp/Portable/Editing/CSharpImportAdder.cs | src/Workspaces/CSharp/Portable/Editing/CSharpImportAdder.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.Composition;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.Host.Mef;
namespace... | // 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.Composition;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.Host.Mef;
namespace... | mit | C# |
bc33c734a0cb393a84f2de0155007c40f68119e1 | Enable undocumented methods but mark them Obsolete | tmds/Tmds.DBus | DBus.cs | DBus.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
/*
//what's this for?
public class DBusException : ApplicationException
{
}
*/
#if U... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
/*
//what's this for?
public class DBusException : ApplicationException
{
}
*/
#if U... | mit | C# |
36e045300b0cfa7f17ad9c4fc0f0e76f41e3fd5b | Update Main class for compatibility Pre-Alpha 5. | ParkitectNexus/CustomScenery | Main.cs | Main.cs | using UnityEngine;
namespace Custom_Scenery
{
public class Main : IMod
{
private GameObject _go;
public void onEnabled()
{
_go = new GameObject();
_go.AddComponent<SceneryLoader>();
_go.GetComponent<SceneryLoader>().Path = Path;
_go.G... | using UnityEngine;
namespace Custom_Scenery
{
class Main : IMod
{
private GameObject _go;
public void onEnabled()
{
_go = new GameObject();
_go.AddComponent<SceneryLoader>();
_go.GetComponent<SceneryLoader>().Path = Path;
_go.GetCompo... | mit | C# |
cbaad4eb56bf69a733b15c46f0332ec8b78f82cc | Adjust accuracy display to match stable | NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu | osu.Game/Skinning/LegacyAccuracyCounter.cs | osu.Game/Skinning/LegacyAccuracyCounter.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.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play;
using o... | // 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.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play;
using o... | mit | C# |
ae99b2b701e87411012a53764e393e117187532b | Fix for SonarQube Vulnerability Minor, | hubo0831/NLog,ie-zero/NLog,sean-gilliam/NLog,304NotModified/NLog,nazim9214/NLog,luigiberrettini/NLog,snakefoot/NLog,BrutalCode/NLog,nazim9214/NLog,NLog/NLog,UgurAldanmaz/NLog,ie-zero/NLog,luigiberrettini/NLog,BrutalCode/NLog,hubo0831/NLog,UgurAldanmaz/NLog | src/NLog/Internal/ArrayHelper.cs | src/NLog/Internal/ArrayHelper.cs | //
// Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of ... | //
// Copyright (c) 2004-2016 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of ... | bsd-3-clause | C# |
65eb8d29a2fb79cd0bb192be1a4b751a6bcf9641 | Add message to exit in debug mode | chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/vlc-rtsp | src/Program.cs | src/Program.cs | using System;
using System.IO;
using System.Linq;
namespace Cams
{
class Program
{
static void Main(string[] args)
{
string rawDir = Path.Combine(Settings.Path, "raw");
string processedDir = Path.Combine(Settings.Path, "processed");
var cameras = Directory.GetDirectories(rawDir).Select(BuildCamera);
... | using System;
using System.IO;
using System.Linq;
namespace Cams
{
class Program
{
static void Main(string[] args)
{
string rawDir = Path.Combine(Settings.Path, "raw");
string processedDir = Path.Combine(Settings.Path, "processed");
var cameras = Directory.GetDirectories(rawDir).Select(BuildCamera);
... | mit | C# |
95c67a594bbb693d1a5eccdba22ae2dcf425eeaa | Fix tests | NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | // 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.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | mit | C# |
8bee1d4369582155fb6ae01d42f8d0e470542399 | update samples | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP | samples/Sample.RabbitMQ.MySql/Controllers/ValuesController.cs | samples/Sample.RabbitMQ.MySql/Controllers/ValuesController.cs | using System;
using System.Threading.Tasks;
using DotNetCore.CAP;
using Microsoft.AspNetCore.Mvc;
namespace Sample.RabbitMQ.MySql.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
private readonly AppDbContext _dbContext;
private readonly ICapPublisher ... | using System;
using System.Threading.Tasks;
using DotNetCore.CAP;
using Microsoft.AspNetCore.Mvc;
namespace Sample.RabbitMQ.MySql.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
private readonly AppDbContext _dbContext;
private readonly ICapPublisher ... | mit | C# |
de3e3744ab9472e7b8082cded789dde42aee5d46 | Update ExportingDataFromWorksheets.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,ma... | Examples/CSharp/Data/Handling/ExportingDataFromWorksheets.cs | Examples/CSharp/Data/Handling/ExportingDataFromWorksheets.cs | using System.IO;
using Aspose.Cells;
using System.Data;
namespace Aspose.Cells.Examples.Data.Handling
{
public class ExportingDataFromWorksheets
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = A... | using System.IO;
using Aspose.Cells;
using System.Data;
namespace Aspose.Cells.Examples.Data.Handling
{
public class ExportingDataFromWorksheets
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Uti... | mit | C# |
389bbe7cb8884ee08fdac42bcbea0accbd4f5f62 | bump version | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | configuration/SharedAssemblyInfo.cs | configuration/SharedAssemblyInfo.cs | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0-beta5")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCop... | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0-beta4")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCop... | mit | C# |
369062172e84fea052f0e585f49d79a336d227ca | Add the correct middleware name | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | src/Bugsnag.AspNet.Core/BugsnagStartupFilter.cs | src/Bugsnag.AspNet.Core/BugsnagStartupFilter.cs | using System;
using System.Diagnostics;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DiagnosticAdapter;
namespace Bugsnag.AspNet.Core
{
/// <summary>
/// A stratup filter to ensure... | using System;
using System.Diagnostics;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DiagnosticAdapter;
namespace Bugsnag.AspNet.Core
{
/// <summary>
/// A stratup filter to ensure... | mit | C# |
f38d8b4dc541b02878b62f6dbb8f642b366b9186 | Fix code analysis error | spritely/Foundations.WebApi | Foundations.WebApi/Config/JwtBearerAuthenticationSettings.cs | Foundations.WebApi/Config/JwtBearerAuthenticationSettings.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="JwtBearerAuthenticationSettings.cs">
// Copyright (c) 2016. All rights reserved. Licensed under the MIT license. See LICENSE file in
// the project root for full license i... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="JwtBearerAuthenticationSettings.cs">
// Copyright (c) 2016. All rights reserved. Licensed under the MIT license. See LICENSE file in
// the project root for full license i... | mit | C# |
e57dbc4a59344bbaf2ac22ae3a296cb68d482394 | Add missed file | DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Abstractions/Models/v2/BlockStructureRequest.cs | src/OmniSharp.Abstractions/Models/v2/BlockStructureRequest.cs | using OmniSharp.Mef;
namespace OmniSharp.Models.v2
{
[OmniSharpEndpoint(OmniSharpEndpoints.V2.BlockStructure, typeof(BlockStructureRequest), typeof(BlockStructureResponse))]
public class BlockStructureRequest : Request
{
}
}
| using OmniSharp.Mef;
namespace OmniSharp.Models.v2
{
[OmniSharpEndpoint(OmniSharpEndpoints.BlockStructure, typeof(BlockStructureRequest), typeof(BlockStructureResponse))]
public class BlockStructureRequest : Request
{
}
}
| mit | C# |
b16fbd85e12a073946b73c06aa5b7acca0ab878c | Bump version to 0.2.0 | akatakritos/PygmentSharp | src/PygmentSharp/PygmentSharp.Core/Properties/AssemblyInfo.cs | src/PygmentSharp/PygmentSharp.Core/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: AssemblyTit... | 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: AssemblyTit... | mit | C# |
82ef70f1258c9d3ef05437664b408b0825394492 | Fix demo | alexvictoor/BrowserLog,alexvictoor/BrowserLog,alexvictoor/BrowserLog | BrowserLog.Demo/Program.cs | BrowserLog.Demo/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using log4net;
using log4net.Config;
namespace BrowserLog.Demo
{
class Program
{
static void Main(string[] args)
{
XmlConfigu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using log4net;
using log4net.Config;
namespace BrowserLog.Demo
{
class Program
{
static void Main(string[] args)
{
XmlConfigu... | apache-2.0 | C# |
cf3d76795b6987f85af7f362fc5c25d370591ed1 | Set Initial Hero Gold | Shkembe-Chorba-Team/JustWars,Shkembe-Chorba-Team/JustWars,Shkembe-Chorba-Team/JustWars | Source/JustWars.Web/Models/ApplicationUser.cs | Source/JustWars.Web/Models/ApplicationUser.cs | namespace JustWars.Web.Models
{
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel; // Yo... | namespace JustWars.Web.Models
{
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
// You can add User data for the user by adding more properties to your User class, p... | mit | C# |
7a8de54185f2ea3e7b357f0483096bd6bf8c8695 | Update AssemblyInfo | EamonNerbonne/ZlibWithDictionary | ZlibWithDictionary/Properties/AssemblyInfo.cs | ZlibWithDictionary/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("Zl... | 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("Zl... | apache-2.0 | C# |
242322b6f4382f6d16fc1b833ff52a7d303bb16a | Fix for full-screen images on Windows | pleonex/deblocus,pleonex/deblocus | Deblocus/Views/ImageViewDialog.cs | Deblocus/Views/ImageViewDialog.cs | //
// ImageViewDialog.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
/... | //
// ImageViewDialog.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
/... | agpl-3.0 | C# |
91f16f2f18da2a1e171f862a5432fe33bf10caac | Allow compiler to set assembly version. | bgrainger/GitHubFeeds | src/GitHubFeeds/Properties/AssemblyInfo.cs | src/GitHubFeeds/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("GitHubFeeds")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Bradley Grainger")]
[assembly: AssemblyProduct("GitHubFeeds")]
[assembly: AssemblyCopyright("Copyright 2... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("GitHubFeeds")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Bradley Grainger")]
[assembly: AssemblyProduct("GitHubFeeds")]
[assembly: AssemblyCopyright("Copyright 2... | mit | C# |
df32ca039e354d6cfe7170b08417999732312538 | Update library version. | yurko7/math-expression | math-expression/Properties/AssemblyInfo.cs | math-expression/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("ma... | 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("ma... | mit | C# |
2e350355c109dad73d3e8f318c27e9cb3b77beea | Change signature value from seconds to milliseconds. | rkttu/Log4net-with-Caller-Info | Log4netWithCallerInfo/ClouDeveloper.Log4net.CallerInfo/CallerInfoLog.cs | Log4netWithCallerInfo/ClouDeveloper.Log4net.CallerInfo/CallerInfoLog.cs | using log4net;
using System;
namespace ClouDeveloper.Log4net.CallerInfo
{
/// <summary>
/// CallerInfoLog
/// </summary>
public sealed partial class CallerInfoLog
{
/// <summary>
/// Initializes a new instance of the <see cref="CallerInfoLog" /> class.
/// </summary>
... | using log4net;
using System;
namespace ClouDeveloper.Log4net.CallerInfo
{
/// <summary>
/// CallerInfoLog
/// </summary>
public sealed partial class CallerInfoLog
{
/// <summary>
/// Initializes a new instance of the <see cref="CallerInfoLog" /> class.
/// </summary>
... | apache-2.0 | C# |
e80be59765ba077fa9b365ab3894b56980b6720b | enable trailer downloads by default | heksesang/Emby.Plugins,MediaBrowser/Emby.Plugins,SvenVandenbrande/Emby.Plugins,heksesang/Emby.Plugins,SvenVandenbrande/Emby.Plugins,MediaBrowser/Emby.Plugins,heksesang/Emby.Plugins,lalmanzar/MediaBrowser.Plugins,lalmanzar/MediaBrowser.Plugins,Pengwyns/Emby.Plugins,SvenVandenbrande/Emby.Plugins,Pengwyns/Emby.Plugins,ham... | MediaBrowser.Plugins.LocalTrailers/Configuration/PluginConfiguration.cs | MediaBrowser.Plugins.LocalTrailers/Configuration/PluginConfiguration.cs | using MediaBrowser.Model.Plugins;
namespace MediaBrowser.Plugins.LocalTrailers.Configuration
{
/// <summary>
/// Class PluginConfiguration
/// </summary>
public class PluginConfiguration : BasePluginConfiguration
{
/// <summary>
/// Gets or sets a value indicating whether [enable l... | using MediaBrowser.Model.Plugins;
namespace MediaBrowser.Plugins.LocalTrailers.Configuration
{
/// <summary>
/// Class PluginConfiguration
/// </summary>
public class PluginConfiguration : BasePluginConfiguration
{
/// <summary>
/// Gets or sets a value indicating whether [enable l... | mit | C# |
0ee41a57c0cf1f247a88327189bf8fc937d72f80 | add ape support, make extension matching case-insensitive | jasonracey/ConvertToMp3,jasonracey/ConvertToMp3 | ConvertToMp3/FileFinder.cs | ConvertToMp3/FileFinder.cs | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace ConvertToMp3
{
public static class FileFinder
{
private static readonly List<string> Extensions = new List<string> { ".ape", ".flac", ".mp4" };
public static IEnumerable<string> GetSupportedFiles(str... | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace ConvertToMp3
{
public static class FileFinder
{
private static readonly List<string> Extensions = new List<string> { ".flac", ".mp4" };
public static IEnumerable<string> GetSupportedFiles(string path... | mit | C# |
bdbf733ea3eef86498146604a5a0fd3a22e99d15 | Update /Home/Callback.cshtml | aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Callback.cshtml | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Callback.cshtml | @using Aliencube.ReCaptcha.Wrapper.Mvc
@using Aliencube.ReCaptcha.Wrapper.Mvc.Parameters
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeReCaptchaViewModel
@{
ViewBag.Title = "Callback";
var callback = "onLoadCallback";
var elementId = "recaptcha";
}
<h2>@ViewBag.Title</h2>
@if (!IsPost)
{
usin... | @using Aliencube.ReCaptcha.Wrapper.Mvc
@using Aliencube.ReCaptcha.Wrapper.Mvc.Parameters
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeBasicViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="... | mit | C# |
f5e1c0584ee73c8ce34df955a3a5937f1e692629 | Return now submits quick poll | JDawes-ScottLogic/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,J... | VotingApplication/VotingApplication.Web/Views/Routes/BasicCreate.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/BasicCreate.cshtml | <div ng-controller="CreateBasicPageController">
<div>
<h2>Regular Poller?</h2>
Register for more config options. It's free!
</div>
<form name="quickPollForm" ng-submit="createPoll(pollQuestion)">
<div id="question-block">
Your Question <br />
<input id="ques... | <div ng-controller="CreateBasicPageController">
<div>
<h2>Regular Poller?</h2>
Register for more config options. It's free!
</div>
<form name="quickPollForm">
<div id="question-block">
Your Question <br />
<input id="question" placeholder="E.g. Where should ... | apache-2.0 | C# |
1c9fd452f82f53017d8e919f486010d9d080fe90 | Enable retry on failure for MySql | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Database/MySqlDatabaseContext.cs | src/Tgstation.Server.Host/Database/MySqlDatabaseContext.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MySql.Data.MySqlClient;
using Pomelo.EntityFrameworkCore.MySql.Infrastructure;
using System;
using Tgstation.Server.Host.Configuration;
namespace Tgstation.Server.Host.Database
{
/// <summary>
/// <see... | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using MySql.Data.MySqlClient;
using Pomelo.EntityFrameworkCore.MySql.Infrastructure;
using System;
using Tgstation.Server.Host.Configuration;
namespace Tgstation.Server.Host.Database
{
/// <summary>
/// <see... | agpl-3.0 | C# |
21a076e92d617274dab12540e4422e01bcb69688 | Trim whitespace | ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Containers/SafeAreaTargetContainer.cs | osu.Framework/Graphics/Containers/SafeAreaTargetContainer.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.Bindables;
using osu.Framework.Platform;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A <... | // 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.Bindables;
using osu.Framework.Platform;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A <... | mit | C# |
e6bef21ba23ac2f05347be1beee0dc5382529e2c | Update ConnectionFacts.cs | Trulioo/sdk-csharp-v1 | test/Trulioo.Client.V1.Tests/ConnectionFacts.cs | test/Trulioo.Client.V1.Tests/ConnectionFacts.cs | namespace Trulioo.Client.V1.Tests
{
using Xunit;
public class Connection_Facts
{
[Fact(Skip = "Calls API")]
public async void SayHello_Success()
{
//Arrange
using (var client = Common.Basefact.GetTruliooClient())
{
var response =... | namespace Trulioo.Client.V1.Tests
{
using Xunit;
public class Connection_Facts
{
[Fact]
public async void SayHello_Success()
{
//Arrange
using (var client = Common.Basefact.GetTruliooClient())
{
var response = await client.Connec... | apache-2.0 | C# |
af8ac60e8839a1314b0c8985a7ba4af265a5c2e3 | Disable diff. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Core.Tests/Extensions/GremlinQueryExtensions.cs | ExRam.Gremlinq.Core.Tests/Extensions/GremlinQueryExtensions.cs | using System.Threading.Tasks;
using Verify;
using VerifyXunit;
namespace ExRam.Gremlinq.Core.Tests
{
public static class GremlinQueryExtensions
{
private static readonly VerifySettings Settings = new VerifySettings();
static GremlinQueryExtensions()
{
Settings.UseExtension... | using System.Threading.Tasks;
using Verify;
using VerifyXunit;
namespace ExRam.Gremlinq.Core.Tests
{
public static class GremlinQueryExtensions
{
private static readonly VerifySettings Settings = new VerifySettings();
static GremlinQueryExtensions()
{
Settings.UseExtension... | mit | C# |
0b9bad46ee6b1beccb3dfd80de537a37386aa83b | Add count override to Tag methods | danielmundim/InstaSharp,theShiva/InstaSharp,theShiva/InstaSharp,crashdavis23/InstaSharp,InstaSharp/InstaSharp,crashdavis23/InstaSharp,3nGercog/InstaSharp,danielmundim/InstaSharp,3nGercog/InstaSharp | Endpoints/Tags/Unauthenticated.cs | Endpoints/Tags/Unauthenticated.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InstaSharp.Model.Responses;
namespace InstaSharp.Endpoints.Tags {
public class Unauthenticated : InstagramAPI {
public Unauthenticated(InstagramConfig config) : base(config, "/tags/") { }
public TagRespon... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InstaSharp.Model.Responses;
namespace InstaSharp.Endpoints.Tags {
public class Unauthenticated : InstagramAPI {
public Unauthenticated(InstagramConfig config) : base(config, "/tags/") { }
public TagRespon... | apache-2.0 | C# |
ad8dca9e4451494c9cd9d036a429be57faf3706b | update test for state<T> rather than Type | Pondidum/Finite,Pondidum/Finite | Finite.Tests/StateMachineTests.cs | Finite.Tests/StateMachineTests.cs | using System;
using System.CodeDom;
using System.Linq;
using System.Security.Policy;
using Finite.InstanceCreators;
using Finite.StateProviders;
using Finite.Tests.TestData;
using Shouldly;
using Xunit;
namespace Finite.Tests
{
public class StateMachineTests
{
private readonly StateMachine<TestArgs> _machine;
... | using System;
using System.CodeDom;
using System.Linq;
using System.Security.Policy;
using Finite.InstanceCreators;
using Finite.StateProviders;
using Finite.Tests.TestData;
using Shouldly;
using Xunit;
namespace Finite.Tests
{
public class StateMachineTests
{
private readonly StateMachine<TestArgs> _machine;
... | lgpl-2.1 | C# |
3fbaaa740bd63834652e2fb957cede1923bf1329 | Format ServerSideEncryptionKey | carbon/Amazon | src/Amazon.S3/Models/ServerSideEncryptionKey.cs | src/Amazon.S3/Models/ServerSideEncryptionKey.cs | using System;
using System.Security.Cryptography;
namespace Amazon.S3
{
internal readonly struct ServerSideEncryptionKey
{
public ServerSideEncryptionKey(byte[] key, string algorithm = "AES256")
{
if (key.Length != 32)
{
throw new ArgumentExce... | using System;
using System.Security.Cryptography;
namespace Amazon.S3
{
internal readonly struct ServerSideEncryptionKey
{
public ServerSideEncryptionKey(byte[] key, string algorithm = "AES256")
{
if (key is null)
throw new ArgumentNullException(nameof(key... | mit | C# |
b4c19201d6171aca43342f2a7e8c067a8914b82c | Change write directory | JoshuaBrockschmidt/blockland_script_playerarchiver | config.cs | config.cs | // This is the filepath of the file raw data will be written to
$PLYRARCH::rawArchiveFile = "config/client/playerArchive/player_archive_raw.txt";
// This is the filepath of the file organized data will be written to
$PLYRARCH::archiveFile = "config/client/playerArchive/player_archive.txt";
| // This is the filepath of the file raw data will be written to
$PLYRARCH::rawArchiveFile = $PLYRARCH::directory @ "/player_archive_raw.txt";
// This is the filepath of the file organized data will be written to
$PLYRARCH::archiveFile = $PLYRARCH::directory @ "/player_archive.txt";
| unlicense | C# |
9e9303a398a09668cae0c603389b9abdc9d65d0b | Add UserVoice widget to global footer. | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Shared/_GlobFooter.cshtml | src/GiveCRM.Web/Views/Shared/_GlobFooter.cshtml | @using GiveCRM.Web.Infrastructure
@if (ConfigurationSettings.IsUserVoiceIntegrationEnabled)
{
<script type="text/javascript">
var uvOptions = { };
(function() {
var uv = document.createElement('script');
uv.type = 'text/javascript';
uv.async = true;
... | | mit | C# |
fb25114eae8536cf0b79892a0be2e925ce97f5c8 | Use expression body | RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates | Source/ApiTemplate/Source/ApiTemplate/ViewModels/PageResult.cs | Source/ApiTemplate/Source/ApiTemplate/ViewModels/PageResult.cs | namespace ApiTemplate.ViewModels
{
using System.Collections.Generic;
#if (Swagger)
using ApiTemplate.ViewModelSchemaFilters;
using Swashbuckle.AspNetCore.Annotations;
[SwaggerSchemaFilter(typeof(PageResultCarSchemaFilter))]
#endif
public class PageResult<T>
where T : class
{
pub... | namespace ApiTemplate.ViewModels
{
using System.Collections.Generic;
#if (Swagger)
using ApiTemplate.ViewModelSchemaFilters;
using Swashbuckle.AspNetCore.Annotations;
[SwaggerSchemaFilter(typeof(PageResultCarSchemaFilter))]
#endif
public class PageResult<T>
where T : class
{
pub... | mit | C# |
62cdd453d600c0db503bf9cbdb9f749ac60e04ce | Fix Log Out link so it works everywhere. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/Views/Shared/_LoginPartial.cshtml | src/CGO.Web/Views/Shared/_LoginPartial.cshtml | @if (Request.IsAuthenticated) {
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-user" style="color: #f2105c"></i> @Session["DisplayName"]<span class="caret"></span></a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Profile", "Profile", "User")</li>
<li class="divide... | @if (Request.IsAuthenticated) {
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-user" style="color: #f2105c"></i> @Session["DisplayName"]<span class="caret"></span></a>
<ul class="dropdown-menu">
<li>@Html.ActionLink("Profile", "Profile", "User")</li>
<li class="divide... | mit | C# |
c38e5e70a2ec24f98b7fce73491f09e9744b5031 | Update Cohort.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Portal.Client/Types/Cohort.cs | src/SFA.DAS.EAS.Portal.Client/Types/Cohort.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SFA.DAS.EAS.Portal.Client.Types
{
public class Cohort
{
public Cohort()
{
Apprenticeships = new List<Apprenticeship>();
}
[JsonProperty("id")]
public string Id { get; set; }
[JsonProp... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SFA.DAS.EAS.Portal.Client.Types
{
public class Cohort
{
public Cohort()
{
Apprenticeships = new List<Apprenticeship>();
}
[JsonProperty("id")]
public string Id { get; set; }
[JsonProp... | mit | C# |
bef536ac0592a2fdddf8038225729f26db960667 | change to json | loqu8/GrooveApi | src/GrooveApi/IGrooveApi.cs | src/GrooveApi/IGrooveApi.cs | using GrooveApi.Models;
using Refit;
using System.Threading.Tasks;
namespace GrooveApi
{
public interface IGrooveApi
{
[Post("/tickets")]
[Headers("Authorization: Bearer")]
Task<Ticket> CreateTicket([Body] TicketRequest ticket);
}
} | using GrooveApi.Models;
using Refit;
using System.Threading.Tasks;
namespace GrooveApi
{
public interface IGrooveApi
{
[Post("/tickets")]
[Headers("Authorization: Bearer")]
Task<Ticket> CreateTicket([Body(BodySerializationMethod.UrlEncoded)] TicketRequest ticket);
}
} | apache-2.0 | C# |
02c64602b2e0b8ad09be86c248737e23cd3231c4 | kill vso logging | tomgilder/OkHttpClient,tomgilder/OkHttpClient | build.cake | build.cake | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////////////////////////////////////////////////... | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////////////////////////////////////////////////... | mit | C# |
516fa426c9c188095576d2e24e21481b96d32108 | build packages added | Code-Inside/Sloader | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////... | #tool "nuget:?package=xunit.runner.console"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////... | mit | C# |
b4ab56b0faba30cf3e299505d142f62f49e6cc85 | create MongoClient based on complete MongoClientSettings (#25) | diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB | src/IdentityServer4.MongoDB/DbContexts/MongoDBContextBase.cs | src/IdentityServer4.MongoDB/DbContexts/MongoDBContextBase.cs | using IdentityServer4.MongoDB.Configuration;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
namespace IdentityServer4.MongoDB.DbContexts
{
public class MongoDBContextBase : IDisposable
{
private readonly IMongoClient _client;
public MongoDBContextBase(IOptions<MongoDB... | using IdentityServer4.MongoDB.Configuration;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
namespace IdentityServer4.MongoDB.DbContexts
{
public class MongoDBContextBase : IDisposable
{
private readonly IMongoClient _client;
public MongoDBContextBase(IOptions<MongoDB... | apache-2.0 | C# |
c0410df3433f0ca7df7e864b02ec7ed992a48a8d | Refactor Expose parse operator to deriving tests. Use [SetUp] attribute to recreate parser for every test. | kimgr/fitsharp,deftom/fitsharp,kimgr/fitsharp,deftom/fitsharp,deftom/fitsharp,kimgr/fitsharp | source/fitSharpTest/NUnit/Fit/ParseOperatorTest.cs | source/fitSharpTest/NUnit/Fit/ParseOperatorTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using fitSharp.Machine.Engine;
using fitSharp.Machine.Model;
using NUnit.Framework;
using fitSharp.Samples.Fit;
using fitSharp.Fit.Operators;
namespace fitSharp.Test.NUnit.Fit {
public class ParseOperatorTest<ParseOperatorType>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using fitSharp.Machine.Engine;
using fitSharp.Machine.Model;
using NUnit.Framework;
using fitSharp.Samples.Fit;
using fitSharp.Fit.Operators;
namespace fitSharp.Test.NUnit.Fit {
public class ParseOperatorTest<ParseOperatorType>
... | epl-1.0 | C# |
3a996729d2063d4e7eef807f752505d573b9f98a | Fix the logic in FileChecksumCondition for the case where the file doesn't exist | vbjay/NAppUpdate,johnrossell/NAppUpdate,synhershko/NAppUpdate,group6tech/NAppUpdate2,miguel-misstipsi/NAppUpdate2,jinlook/NAppUpdate,lexruster/NAppUpdate,halotron/NAppUpdate | src/NAppUpdate.Framework/Conditions/FileChecksumCondition.cs | src/NAppUpdate.Framework/Conditions/FileChecksumCondition.cs | using System;
using System.IO;
using NAppUpdate.Framework.Common;
using NAppUpdate.Framework.Tasks;
namespace NAppUpdate.Framework.Conditions
{
[Serializable]
public class FileChecksumCondition : IUpdateCondition
{
[NauField("localPath",
"The local path of the file to check. If not set bu... | using System;
using System.IO;
using NAppUpdate.Framework.Common;
using NAppUpdate.Framework.Tasks;
namespace NAppUpdate.Framework.Conditions
{
[Serializable]
public class FileChecksumCondition : IUpdateCondition
{
[NauField("localPath",
"The local path of the file to check. If not set bu... | apache-2.0 | C# |
49d5d502ed43e4cf8c2440e9ee83b8226cb0a6b0 | Update markup | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.Web/Views/Transfers/Index.cshtml | src/SFA.DAS.EmployerFinance.Web/Views/Transfers/Index.cshtml | @model OrchestratorResponse<TransfersIndexViewModel>
@{
ViewBag.PageID = "transfers";
ViewBag.Section = "finance";
ViewBag.Title = "Transfers";
ViewBag.AnalyticsData.Vpv = $"/finance/transfers";
ViewBag.ZenDeskLabel = "eas-finance";
}
<h1 class="heading-xlarge">Transfers</h1>
<div class="govuk-gr... | @model OrchestratorResponse<TransfersIndexViewModel>
@{
ViewBag.PageID = "transfers";
ViewBag.Section = "finance";
ViewBag.Title = "Manage Transfers";
ViewBag.AnalyticsData.Vpv = $"/finance/transfers";
ViewBag.ZenDeskLabel = "eas-finance";
}
<h1 class="heading-xlarge">Manage Transfers</h1>
<div ... | mit | C# |
6857bd8bcd754dbb9e095a163dddf2b404ac737b | Handle names in commands PlayerParser | ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp | src/SampSharp.Entities/SAMP/Commands/Parsers/PlayerParser.cs | src/SampSharp.Entities/SAMP/Commands/Parsers/PlayerParser.cs | // SampSharp
// Copyright 2020 Tim Potze
//
// 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 o... | // SampSharp
// Copyright 2020 Tim Potze
//
// 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 o... | apache-2.0 | C# |
5fecc55bc46b9fc9edaf08f6cb7c8e15c52f3fb3 | add more complex scenario for Linq | Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode | DebuggingScenarios/Controllers/WeatherForecastController.cs | DebuggingScenarios/Controllers/WeatherForecastController.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace DebuggingScenarios.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastCont... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace DebuggingScenarios.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
... | mit | C# |
44facbfdcee93b9cdc28e1287356d5d38b3d7924 | fix the AtomFeed test wrong data path | muratoflu/splunk-sdk-csharp-pcl,splunk/splunk-sdk-csharp-pcl,muratoflu/splunk-sdk-csharp-pcl | test/unit-tests/TestAtomFeed.cs | test/unit-tests/TestAtomFeed.cs | /*
* Copyright 2014 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright 2014 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | C# |
285f8b1bc4596052e0ed37ac867b9859ce731249 | Add implementation details to SQLiteSchema Aggregator | Ackara/Daterpillar | src/Daterpillar.NET/Data/SQLiteSchemaAggregator.cs | src/Daterpillar.NET/Data/SQLiteSchemaAggregator.cs | using System;
using System.Data;
using Gigobyte.Daterpillar.Transformation;
using System.Text.RegularExpressions;
namespace Gigobyte.Daterpillar.Data
{
public class SQLiteSchemaAggregator : SchemaAggregatorBase
{
public SQLiteSchemaAggregator(IDbConnection connection) : base(connection)
{
... | using System;
using System.Data;
namespace Gigobyte.Daterpillar.Data
{
public class SQLiteSchemaAggregator : SchemaAggregatorBase
{
public SQLiteSchemaAggregator(IDbConnection connection) : base(connection)
{
}
protected override string GetColumnInfoQuery(string tableName)
... | mit | C# |
6a2ffb2176a662c8e9e3e8f6f2b92673b7fb6ad6 | Update CompressPackage.cs | lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino | tools/LuminoBuild/Tasks/CompressPackage.cs | tools/LuminoBuild/Tasks/CompressPackage.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace LuminoBuild.Tasks
{
class CompressPackage : BuildTask
{
public override string CommandName => "CompressPackage";
public override string Description => "CompressPackage";
public override void Build(... | using System;
using System.Collections.Generic;
using System.IO;
namespace LuminoBuild.Tasks
{
class CompressPackage : BuildTask
{
public override string CommandName => "CompressPackage";
public override string Description => "CompressPackage";
public override void Build(... | mit | C# |
3ae374c4cc405eb2668a91ed2bd257022be10f7e | Fix last remaining critical issue in sonar | psistats/windows-client,psistats/windows-client,psistats/windows-client | PsistatsApp/Program.cs | PsistatsApp/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Forms;
namespace Psistats.App
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Forms;
namespace Psistats.App
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | mit | C# |
dd63c8aa47b7a61da77bf59abe790579a09403a5 | make sure we don't crash due to missing items | liam-middlebrook/Navier-Boats | Navier-Boats/Navier-Boats/Navier-Boats/Engine/Inventory/ItemManager.cs | Navier-Boats/Navier-Boats/Navier-Boats/Engine/Inventory/ItemManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using Microsoft.Xna.Framework.Graphics;
using Navier_Boats.Engine.Entities;
namespace Navier_Boats.Engine.Inventory
{
public class ItemManager
{
private static ItemManager inst... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using Microsoft.Xna.Framework.Graphics;
using Navier_Boats.Engine.Entities;
namespace Navier_Boats.Engine.Inventory
{
public class ItemManager
{
private static ItemManager inst... | apache-2.0 | C# |
8d62d53fdb8e6c16f5361c9e7cea83cf3837fa2f | Replace hard coded string with field in utf8string tests where the value is irrelevant | benaadams/corefxlab,adamsitnik/corefxlab,ericstj/corefxlab,VSadov/corefxlab,VSadov/corefxlab,Vedin/corefxlab,Vedin/corefxlab,VSadov/corefxlab,Vedin/corefxlab,ericstj/corefxlab,weshaggard/corefxlab,nguerrera/corefxlab,hanblee/corefxlab,ericstj/corefxlab,whoisj/corefxlab,stephentoub/corefxlab,stephentoub/corefxlab,benaad... | src/System.Text.Utf8/tests/TypeConstraintsTests.cs | src/System.Text.Utf8/tests/TypeConstraintsTests.cs | using System.Reflection;
using Xunit;
namespace System.Text.Utf8.Tests
{
public class TypeConstraintsTests
{
private Utf8String _anyUtf8String;
public TypeConstraintsTests()
{
_anyUtf8String = "anyString"u8;
}
[Fact]
public void Utf8StringIsAStruct... | using System.Reflection;
using Xunit;
namespace System.Text.Utf8.Tests
{
public class TypeConstraintsTests
{
[Fact]
public void Utf8StringIsAStruct()
{
var utf8String = "anyString"u8;
Assert.True(utf8String.GetType().GetTypeInfo().IsValueType);
}
... | mit | C# |
e120f99fde27fb315de66395358a7781bc6f1d3f | Clean up token time processing slightly | tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Security/TokenFactory.cs | src/Tgstation.Server.Host/Security/TokenFactory.cs | using Microsoft.IdentityModel.Tokens;
using System;
using System.Globalization;
using System.IdentityModel.Tokens.Jwt;
using System.Reflection;
using System.Security.Claims;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class TokenFactory : ITokenFactory
{
... | using Microsoft.IdentityModel.Tokens;
using System;
using System.Globalization;
using System.IdentityModel.Tokens.Jwt;
using System.Reflection;
using System.Security.Claims;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class TokenFactory : ITokenFactory
{
... | agpl-3.0 | C# |
abb93d568b6bae511796808af15d658bc8dd0662 | Update AssemblyInfo.cs | mika76/mamesaver | Mamesaver/Properties/AssemblyInfo.cs | Mamesaver/Properties/AssemblyInfo.cs | /**
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attribu... | /**
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attribu... | mit | C# |
b6016775f7bb367bcf075bb9a8c4d3788d525a6d | add Bluetooth UUID helper | yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples | Simple.Common/Text/IdConverter.cs | Simple.Common/Text/IdConverter.cs | namespace Simple.Common.Text
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
public static class IdConverter
{
public static UInt64 ToLong(String id)
{
var bytes = Convert.FromBase64String(id);
... | namespace Simple.Common.Text
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public static class IdConverter
{
public static UInt64 ToLong(String id)
{
var bytes = Convert.FromBase64String(id);
Array.Reverse(bytes)... | apache-2.0 | C# |
8d5d04214f1ac915b49c2f2858fbb915b83dfef9 | Add create for shipment method for Parcel | goshippo/shippo-csharp-client | Shippo/Parcel.cs | Shippo/Parcel.cs | using System;
using Newtonsoft.Json;
namespace Shippo
{
[JsonObject (MemberSerialization.OptIn)]
public class Parcel : ShippoId
{
[JsonProperty (PropertyName = "object_state")]
public string ObjectState;
[JsonProperty (PropertyName = "object_created")]
public DateTime? Obj... | using System;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject (MemberSerialization.OptIn)]
public class Parcel : ShippoId {
[JsonProperty (PropertyName = "object_state")]
public string ObjectState;
[JsonProperty (PropertyName = "object_created")]
public DateTime? ObjectC... | apache-2.0 | C# |
6fb8e47896dc047e10eb43d4231f6d72346f8f69 | Implement GetHashCode in Label | Charcoals/PivotalTracker.NET,Charcoals/PivotalTracker.NET | PivotalTrackerDotNet/Domain/Label.cs | PivotalTrackerDotNet/Domain/Label.cs | namespace PivotalTrackerDotNet.Domain
{
public class Label
{
public int? ProjectId { get; set; }
public string Name { get; set; }
public string Kind { get; set; }
public int? Id { get; set; }
public static implicit operator Label(string name)
{
return... | namespace PivotalTrackerDotNet.Domain
{
public class Label
{
public int? ProjectID { get; set; }
public string Name { get; set; }
public string Kind { get; set; }
public int? ID { get; set; }
public static implicit operator Label(string name)
{
return... | mit | C# |
a512f491abe847a6a3a62aa3ca8b9dcbbdaf7b00 | Update MainMenu.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/MainMenu.cs | Real_Game/Assets/Scripts/MainMenu.cs | using UnityEngine;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;
public class MainMenu : MonoBehaviour
{
public GUISkin skin;
public Rect title;
public Rect version;
public Rect playButton;
public Rect quitButton;
public GameManager manager;
// Mostly only used to read th... | using UnityEngine;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;
public class MainMenu : MonoBehaviour
{
public GUISkin skin;
public Rect title;
public Rect version;
public Rect playButton;
public Rect quitButton;
public GameManager manager;
// Mostly only used to read th... | mit | C# |
0ac7ab30b99d25fb0cecd596f65b69c8d1c8dab9 | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | autofac/Autofac.SignalR | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.SignalR")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.SignalR")]
[assembly: AssemblyDescription("")]
| mit | C# |
3ec5d3094d059d1c11a4e273f25cda392ef06d8a | Change application version | muntashir/Pingo | Properties/AssemblyInfo.cs | 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# |
425ffc49d2cd4751c59da57f52fab708b11a241e | Use fullpath for Plan in Apply command | erikvanbrakel/Cake.Terraform,erikvanbrakel/Cake.Terraform | src/Cake.Terraform/TerraformApplyRunner.cs | src/Cake.Terraform/TerraformApplyRunner.cs | using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Terraform
{
public class TerraformApplyRunner : TerraformRunner<TerraformApplySettings>
{
public TerraformApplyRunner(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator too... | using Cake.Core;
using Cake.Core.IO;
using Cake.Core.Tooling;
namespace Cake.Terraform
{
public class TerraformApplyRunner : TerraformRunner<TerraformApplySettings>
{
public TerraformApplyRunner(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator too... | mit | C# |
c3512a91e6143c1899ab3e681135566119181380 | Fix cell position calculation | setchi/FancyScrollView | Assets/FancyScrollView/Sources/Runtime/ScrollRect/FancyScrollRectCell.cs | Assets/FancyScrollView/Sources/Runtime/ScrollRect/FancyScrollRectCell.cs | using UnityEngine;
namespace FancyScrollView
{
public abstract class FancyScrollRectCell<TItemData, TContext>
: FancyScrollViewCell<TItemData, TContext> where TContext : class, IFancyScrollRectContext, new()
{
public override void UpdatePosition(float position)
{
var cellIn... | using UnityEngine;
namespace FancyScrollView
{
public abstract class FancyScrollRectCell<TItemData, TContext>
: FancyScrollViewCell<TItemData, TContext> where TContext : class, IFancyScrollRectContext, new()
{
public override void UpdatePosition(float position)
{
var viewpo... | mit | C# |
96e8a3b69b8e1e862ef87ee9bc646a49b64b0713 | Update unittest ParserTest | lury-lang/lury-parser,lury-lang/lury-parser | UnitTest/ParserTest.cs | UnitTest/ParserTest.cs | using System;
using Lury.Compiling.Lexer;
using Lury.Compiling.Parser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest
{
[TestClass]
public class ParserTest
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void ConstructorTestError()
... | using System;
using Lury.Compiling.Lexer;
using Lury.Compiling.Parser;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest
{
[TestClass]
public class ParserTest
{
[TestMethod]
public void IsFinishedTest()
{
var lexer = new Lexer("", @"");
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.