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 |
|---|---|---|---|---|---|---|---|---|
a46daffdd09426d86ca578367039b965b5b59776 | Refactor EmployeeListViewModel | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.EmployeeList/ViewModels/EmployeeListViewModel.cs | R7.University.EmployeeList/ViewModels/EmployeeListViewModel.cs | //
// EmployeeListViewModel.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// 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 Softwa... | //
// EmployeeListViewModel.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// 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 Softwa... | agpl-3.0 | C# |
10d8ef44ede651d148370f63f9d04735018b0322 | add MutateSettings | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter.Tests/Highlightings/HighlightingsTestsBase.cs | AsyncConverter.Tests/Highlightings/HighlightingsTestsBase.cs | using System.IO;
using System.Linq;
using JetBrains.Annotations;
using JetBrains.Application.Settings;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace AsyncConverter.Tests.Highlightings
{
[TestFixture]
[TestNetFramework46]
pu... | using System.IO;
using System.Linq;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace AsyncConverter.Tests.Highlightings
{
[TestFixture]
[TestNetFramework46]
public abstract class HighlightingsTestsBase : CSharpHighlightingTest... | mit | C# |
0557d4ecdfa1aa57badb53cfa48c99fca9a90289 | Revert "Rename field." | Zakkgard/Moonfire | Moonfire/Core/Moonfire.Core/Networking/IncomingRealmPacket.cs | Moonfire/Core/Moonfire.Core/Networking/IncomingRealmPacket.cs | using Moonfire.Core.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonfire.Core.Networking
{
public class IncomingRealmPacket : IncomingPacket
{
public IncomingRealmPacket(byte[] packet, int length)
... | using Moonfire.Core.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonfire.Core.Networking
{
public class IncomingRealmPacket : IncomingPacket
{
public IncomingRealmPacket(byte[] packet, int length)
... | mit | C# |
020d59e52336c065bb8e3e26ebd50263e3a61943 | Update ShapeStyleDragAndDropListBox.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | Core2D.Wpf/Controls/Custom/Lists/ShapeStyleDragAndDropListBox.cs | Core2D.Wpf/Controls/Custom/Lists/ShapeStyleDragAndDropListBox.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.Collections.Immutable;
using System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | // 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 System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | mit | C# |
2d7718a9be85538c1a7562f41e7675059a195959 | refactor view | Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017 | PhotoArtSystem/Web/PhotoArtSystem.Web/Views/Home/Index.cshtml | PhotoArtSystem/Web/PhotoArtSystem.Web/Views/Home/Index.cshtml | @using PhotoArtSystem.Web.ViewModels.User
@model IEnumerable<UserHomePageViewModel>
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a hr... | @using PhotoArtSystem.Web.ViewModels.User
@model IEnumerable<UserHomePageViewModel>
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a hr... | mit | C# |
a1cdff0a06ee1a4bf6d2b2c75e927c296c0b14da | update conf var retrieve | WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy | webmarks.nancy/Bootstrapper.cs | webmarks.nancy/Bootstrapper.cs | using MongoDB.Driver;
using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
using System;
using System.Configuration;
using webmarks.nancy.Models;
namespace webmarks.nancy
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureConventions(NancyConventions nancyC... | using MongoDB.Driver;
using Nancy;
using Nancy.Conventions;
using Nancy.TinyIoc;
using System;
using System.Configuration;
using webmarks.nancy.Models;
namespace webmarks.nancy
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureConventions(NancyConventions nancyC... | mit | C# |
7f79cbc3de12a45ce7b3485a614df2a058ee89cc | fix build yo | ryancormack/HipsterOfTheDay | HipsterOfTheDay.Tests/ControllerTests/HomeControllerTests.cs | HipsterOfTheDay.Tests/ControllerTests/HomeControllerTests.cs | using FluentAssertions;
using HipsterOfTheDay.Features.Home;
using Machine.Specifications;
using System.Web.Mvc;
namespace HipsterOfTheDay.Tests.ControllerTests
{
public class HomeControllerTests
{
public class When_getting_the_home_page
{
public Because of = () =>
{
... | using FluentAssertions;
using HipsterOfTheDay.Features.Home;
using Machine.Specifications;
using System.Web.Mvc;
namespace HipsterOfTheDay.Tests.ControllerTests
{
public class HomeControllerTests
{
public class When_getting_the_home_page
{
public Because of = () =>
{
... | apache-2.0 | C# |
b32850a8042456c45871f4cc0e7b5b9d56641729 | fix possible `IndexOutOfRange` bug (#979) | TomPallister/Ocelot,geffzhang/Ocelot,geffzhang/Ocelot,TomPallister/Ocelot | src/Ocelot/Infrastructure/Claims/Parser/ClaimsParser.cs | src/Ocelot/Infrastructure/Claims/Parser/ClaimsParser.cs | namespace Ocelot.Infrastructure.Claims.Parser
{
using Microsoft.Extensions.Primitives;
using Responses;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
public class ClaimsParser : IClaimsParser
{
public Response<string> GetValue(IEnumera... | namespace Ocelot.Infrastructure.Claims.Parser
{
using Microsoft.Extensions.Primitives;
using Responses;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
public class ClaimsParser : IClaimsParser
{
public Response<string> GetValue(IEnumerab... | mit | C# |
e6e20da076444349a34d5a529830840374b24c8a | Update database consistency check report test to abstract report test | Kentico/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector | KenticoInspector.Reports.Tests/DatabaseConsistencyCheckTests.cs | KenticoInspector.Reports.Tests/DatabaseConsistencyCheckTests.cs | using System.Data;
using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Services.Interfaces;
using KenticoInspector.Reports.DatabaseConsistencyCheck;
using KenticoInspector.Reports.DatabaseConsistencyCheck.Models;
using KenticoInspector.Reports.Tests.Helpers;
using Moq;
using NUnit.Framework;
namespa... | using System.Data;
using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Services.Interfaces;
using KenticoInspector.Reports.DatabaseConsistencyCheck;
using KenticoInspector.Reports.DatabaseConsistencyCheck.Models;
using KenticoInspector.Reports.Tests.Helpers;
using Moq;
using NUnit.Framework;
namespa... | mit | C# |
de4e4ad4d3d8627e380f37c9d0af0d8443ec000f | Simplify logic. | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.InlineReviews/Tags/ReviewGlyphMouseProcessor.cs | src/GitHub.InlineReviews/Tags/ReviewGlyphMouseProcessor.cs | using System;
using System.Linq;
using System.Windows.Input;
using GitHub.InlineReviews.Peek;
using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;
namespace GitHub.InlineReviews.Tags
{
class Revi... | using System;
using System.Linq;
using System.Windows.Input;
using GitHub.InlineReviews.Peek;
using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;
namespace GitHub.InlineReviews.Tags
{
class Revi... | mit | C# |
76162baf6b22f5c452774093c2ec1a775d815680 | Update Framework.Runtime usings | hackathonvixion/ApplicationInsights-aspnet5,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,hackathonvixion/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspn... | test/Mvc6Framework45.FunctionalTests/Controllers/HomeController.cs | test/Mvc6Framework45.FunctionalTests/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.AspNet.Mvc;
using Microsoft.Dnx.Runtime;
namespace Mvc6Framework45.FunctionalTests.Controllers
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.AspNet.Mvc;
using Microsoft.Framework.Runtime;
namespace Mvc6Framework45.FunctionalTests.Controllers... | mit | C# |
5e338f8588a01f050d54a330c59cbb0672327a66 | Update IDocumentMetadataManager.cs | Ant-f/WorkingFilesList | Solution/WorkingFilesList.Core/Interface/IDocumentMetadataManager.cs | Solution/WorkingFilesList.Core/Interface/IDocumentMetadataManager.cs | // Working Files List
// Visual Studio extension tool window that shows a selectable list of files
// that are open in the editor
// Copyright © 2016 Anthony Fung
// 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 ... | // Working Files List
// Visual Studio extension tool window that shows a selectable list of files
// that are open in the editor
// Copyright © 2016 Anthony Fung
// 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 ... | apache-2.0 | C# |
9cc68aefb8b02c6d02225483a6b45f6ffff8ddab | Make more functions public. | TammiLion/TacoTinder | TacoTinder/Assets/Scripts/Player.cs | TacoTinder/Assets/Scripts/Player.cs | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
public float baseCooldown;
public float baseSpeed;
public God god;
public Vector2 direction; // Maybe this should be private?
// public Weapon weapon;
private float cooldownTimeStamp;
// Use this for initialization
void Start ... | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
public float baseCooldown;
public float baseSpeed;
public God god;
public Vector2 direction;
// public Weapon weapon;
private float cooldownTimeStamp;
// Use this for initialization
void Start () {
}
void Fire () {
// ... | apache-2.0 | C# |
c4dceb7bd59c834c0f00012520764c9ed85f6ee1 | Update Watchman.cs (#45) | BosslandGmbH/BuddyWing.DefaultCombat | trunk/DefaultCombat/Routines/Advanced/Sentinel/Watchman.cs | trunk/DefaultCombat/Routines/Advanced/Sentinel/Watchman.cs | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Watchman : RotationBase
{
public override string Name
{
get ... | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Watchman : RotationBase
{
public override string Name
{
get ... | apache-2.0 | C# |
50202d3e47835138d79519bf51278285e37f6b68 | Abort key handling if SDL2 passes us an unknown key | EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Input/Handlers/Keyboard/Sdl2KeyboardHandler.cs | osu.Framework/Input/Handlers/Keyboard/Sdl2KeyboardHandler.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.Input.StateChanges;
using osu.Framework.Input.States;
using osu.Framework.Platform;
using osu.Framework.Statistics;
using Veldrid;
using TKKey = osuTK... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Input.StateChanges;
using osu.Framework.Input.States;
using osu.Framework.Platform;
using osu.Framework.Statistics;
using Veldrid;
using TKKey = osuTK... | mit | C# |
edfe47fb0268fdadd0848595cdcc1c7f046a32ed | Rename button | johnneijzen/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,smoogipooo/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,2yangk23/osu,Neo... | osu.Game.Tests/Visual/UserInterface/TestSceneExpandingBar.cs | osu.Game.Tests/Visual/UserInterface/TestSceneExpandingBar.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.UserInterface;
using osuTK.Graphics;
... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.UserInterface;
using osuTK.Graphics;
... | mit | C# |
5df44150804f90d763e01648b88b31c833b8b46b | remove debug log | 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.Diagnostics;
using System.Threading.Tasks;
namespace BlueMonkey.ViewModels
{
public class LoginPageViewModel : BindableBase
{
private readonly INavigationServ... | using BlueMonkey.LoginService;
using Prism.Commands;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace BlueMonkey.ViewModels
{
public class LoginPageViewModel : BindableBase
{
private readonly INavigationServ... | mit | C# |
0f150576af0f161bec4c04640c2469067430202e | Add creating user to authentication context setup | tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server | src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs | src/Tgstation.Server.Host/Security/AuthenticationContextFactory.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class AuthenticationContextFactory : IAuthenticationContextFactory
{
/// <inheritdoc... | using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class AuthenticationContextFactory : IAuthenticationContextFactory
{
/// <inheritdoc... | agpl-3.0 | C# |
85e0f49cdf402cd990ad4797a939ece3d2707cf4 | Fix CompositeListOption not interpreting composite values by default | LouisTakePILLz/ArgumentParser | ArgumentParser/Factory/POSIXCompositeListOptionAttribute.cs | ArgumentParser/Factory/POSIXCompositeListOptionAttribute.cs | //-----------------------------------------------------------------------
// <copyright file="POSIXCompositeListOptionAttribute.cs" company="LouisTakePILLz">
// Copyright © 2015 LouisTakePILLz
// <author>LouisTakePILLz</author>
// </copyright>
//-----------------------------------------------------------------------
... | //-----------------------------------------------------------------------
// <copyright file="POSIXCompositeListOptionAttribute.cs" company="LouisTakePILLz">
// Copyright © 2015 LouisTakePILLz
// <author>LouisTakePILLz</author>
// </copyright>
//-----------------------------------------------------------------------
... | apache-2.0 | C# |
bab454068c8805bc302a375e9ae3a6536493ff50 | Fix formatting on queued sender | mattgwagner/CertiPay.Common | CertiPay.Common.Notifications/Notifications/QueuedSender.cs | CertiPay.Common.Notifications/Notifications/QueuedSender.cs | using CertiPay.Common.Logging;
using CertiPay.Common.WorkQueue;
using System.Threading;
using System.Threading.Tasks;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Sends notifications to the background worker queue for async processing and retries
/// </summary>
public partial class Queu... | using CertiPay.Common.Logging;
using CertiPay.Common.WorkQueue;
using System.Threading;
using System.Threading.Tasks;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Sends notifications to the background worker queue for async processing and retries
/// </summary>
public partial class Queu... | mit | C# |
8e01d04702da978856a94e60b761719bebb7217c | fix null warning in BooleanRequired | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.Helpers.Web/BooleanRequired.cs | src/JoinRpg.Helpers.Web/BooleanRequired.cs | using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace JoinRpg.Helpers.Web;
/// <summary>
/// Makes boolean fields required (i.e. checkbox must be checked)
/// </summary>
/// <remarks>
/// Includes [Required] attribute logic, therefore no sense to use both attri... | using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace JoinRpg.Helpers.Web;
/// <summary>
/// Makes boolean fields required (i.e. checkbox must be checked)
/// </summary>
/// <remarks>
/// Includes [Required] attribute logic, therefore no sense to use both attri... | mit | C# |
4cbbc024492c45c7501a6ecde05bb158e77d7322 | Change UpdateManager to actually call FixedUpdateMe and LateUpdateMe in their respective functions. | fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,krille90/unitystation,Nec... | UnityProject/Assets/Scripts/Managers/UpdateManager/UpdateManager.cs | UnityProject/Assets/Scripts/Managers/UpdateManager/UpdateManager.cs | using UnityEngine;
using UnityEngine.SceneManagement;
using System;
/// <summary>
/// Handles the update methods for in game objects
/// Handling the updates from a single point decreases cpu time
/// and increases performance
/// </summary>
public class UpdateManager : MonoBehaviour
{
private... | using UnityEngine;
using UnityEngine.SceneManagement;
using System;
/// <summary>
/// Handles the update methods for in game objects
/// Handling the updates from a single point decreases cpu time
/// and increases performance
/// </summary>
public class UpdateManager : MonoBehaviour
{
private... | agpl-3.0 | C# |
940fcdab9c1f00777d662d6f914bf9a58aa8b766 | fix #76 | modulexcite/LogSearchShipper,cityindex/LogSearchShipper | src/LogsearchShipper.Core/ConfigWatcher.cs | src/LogsearchShipper.Core/ConfigWatcher.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using log4net;
namespace LogSearchShipper.Core
{
class ConfigWatcher : IDisposable
{
public ConfigWatcher(string fullPath, ILog log)
{
_log = log;
Watcher = new FileSystemWatcher(Path.GetDirectoryName(fu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using log4net;
namespace LogSearchShipper.Core
{
class ConfigWatcher : IDisposable
{
public ConfigWatcher(string fullPath, ILog log)
{
_log = log;
Watcher = new FileSystemWatcher(Path.GetDirectoryName(fu... | apache-2.0 | C# |
a74a09ac93b11a5274c9e77c17df4a062ab68efe | refactor if to switch | LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db,MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db | Source/LinqToDB/Expressions/MappingExpressionsExtensions.cs | Source/LinqToDB/Expressions/MappingExpressionsExtensions.cs | using LinqToDB.Common;
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace LinqToDB.Extensions
{
static class MappingExpressionsExtensions
{
public static TExpression GetExpressionFromExpressionMember<TExpression>(this Type type, string memberName)
where TExpression : Expression
{... | using LinqToDB.Common;
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace LinqToDB.Extensions
{
static class MappingExpressionsExtensions
{
public static TExpression GetExpressionFromExpressionMember<TExpression>(this Type type, string memberName)
where TExpression : Expression
{... | mit | C# |
072fbe5f6648a77584804f93f91ff01285c5075e | Rename Control_DragAndDrop_UsingDragAndDropUsingScriptBehavior test to Control_DragAndDrop_UsingDomEvents | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata.Tests/ControlTests.cs | src/Atata.Tests/ControlTests.cs | using NUnit.Framework;
namespace Atata.Tests
{
public class ControlTests : UITestFixture
{
[Test]
public void Control_DragAndDrop_UsingDomEvents()
{
Go.To<DragAndDropPage>().
DropContainer.Items.Should.BeEmpty().
DragItems.Items.Sh... | using NUnit.Framework;
namespace Atata.Tests
{
public class ControlTests : UITestFixture
{
[Test]
public void Control_DragAndDrop_UsingDragAndDropUsingScriptBehavior()
{
Go.To<DragAndDropPage>().
DropContainer.Items.Should.BeEmpty().
... | apache-2.0 | C# |
9c0a797a773f602ceefddb37c808ed62d31f5c8d | Use the new API | spaccabit/fluentmigrator,eloekset/fluentmigrator,igitur/fluentmigrator,amroel/fluentmigrator,amroel/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,schambers/fluentmigrator,spaccabit/fluentmigrator,eloekset/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator,igitur/fluentmigrator,scham... | samples/FluentMigrator.Example.Migrator/Program.DependencyInjection.cs | samples/FluentMigrator.Example.Migrator/Program.DependencyInjection.cs | #region License
// Copyright (c) 2018, FluentMigrator Project
//
// 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 app... | #region License
// Copyright (c) 2018, FluentMigrator Project
//
// 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 app... | apache-2.0 | C# |
a492810715bfac6200ca526ada9e241977de9575 | Refactor Divide Integers Operation to use GetValujes and CloneWithValues | ajlopez/TensorSharp | Src/TensorSharp/Operations/DivideIntegerIntegerOperation.cs | Src/TensorSharp/Operations/DivideIntegerIntegerOperation.cs | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class DivideIntegerIntegerOperation : IBinaryOperation<int, int, int>
{
public Tensor<int> Evaluate(Tensor<int> tensor1, Tensor<int> tensor2)
... | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class DivideIntegerIntegerOperation : IBinaryOperation<int, int, int>
{
public Tensor<int> Evaluate(Tensor<int> tensor1, Tensor<int> tensor2)
... | mit | C# |
93bb56cd577d9586748a8f9ccb095f4a940d62ec | add hbs file extension registration, its (possibly) the most common handlebars file extension | csainty/Veil,csainty/Veil | Src/Veil.Handlebars/HandlebarsTemplateParserRegistration.cs | Src/Veil.Handlebars/HandlebarsTemplateParserRegistration.cs | using System;
using System.Collections.Generic;
using Veil.Parser;
namespace Veil.Handlebars
{
/// <summary>
/// Used to auto-register this parser. You should not need touch it.
/// </summary>
public class HandlebarsTemplateParserRegistration : ITemplateParserRegistration
{
public IEnumera... | using System;
using System.Collections.Generic;
using Veil.Parser;
namespace Veil.Handlebars
{
/// <summary>
/// Used to auto-register this parser. You should not need touch it.
/// </summary>
public class HandlebarsTemplateParserRegistration : ITemplateParserRegistration
{
public IEnumera... | mit | C# |
5ded548e809b60fff53bd7f8d6e2848b97b45bc0 | Make NextHopIpAddress an optional parameter. | AzureRT/azure-powershell,SarahRogers/azure-powershell,zhencui/azure-powershell,enavro/azure-powershell,rohmano/azure-powershell,jasper-schneider/azure-powershell,rohmano/azure-powershell,krkhan/azure-powershell,hovsepm/azure-powershell,PashaPash/azure-powershell,krkhan/azure-powershell,AzureRT/azure-powershell,nickhepp... | src/ServiceManagement/Network/Commands.Network/Routes/SetAzureRoute.cs | src/ServiceManagement/Network/Commands.Network/Routes/SetAzureRoute.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# |
2fc5004623e90dca345ccede6b57f3fd0afe60ae | Set max connections per server to 1024 by default. | MarinAtanasov/AppBrix,MarinAtanasov/AppBrix.NetCore | Modules/AppBrix.Web.Client/Configuration/WebClientConfig.cs | Modules/AppBrix.Web.Client/Configuration/WebClientConfig.cs | // Copyright (c) MarinAtanasov. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the project root for license information.
//
using AppBrix.Configuration;
using System;
using System.Linq;
using System.Threading;
namespace AppBrix.Web.Client.Configuration
{
public sealed class WebCli... | // Copyright (c) MarinAtanasov. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the project root for license information.
//
using AppBrix.Configuration;
using System;
using System.Linq;
using System.Threading;
namespace AppBrix.Web.Client.Configuration
{
public sealed class WebCli... | mit | C# |
b3510ed5816211c5cff964b70f4f3682e0fed2a6 | Fix (revert) the text in the information bar when the fleet is repairing. | yuyuvn/KanColleViewer,bllue78/KanColleViewer,SquallATF/KanColleViewer,the-best-flash/KanColleViewer,hazytint/KanColleViewer,twinkfrag/KanColleViewer,Cosmius/KanColleViewer,Yuubari/KanColleViewer,Grabacr07/KanColleViewer,KCV-Localisation/KanColleViewer,heartfelt-fancy/KanColleViewer,soap-DEIM/KanColleViewer,Astrologers/... | Grabacr07.KanColleViewer/ViewModels/Fleets/RepairingBarViewModel.cs | Grabacr07.KanColleViewer/ViewModels/Fleets/RepairingBarViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing.Text;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using Grabacr07.KanColleWrapper;
using Grabacr07.KanColleWrapper.Models;
using Livet;
using Livet.EventListene... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing.Text;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using Grabacr07.KanColleWrapper;
using Grabacr07.KanColleWrapper.Models;
using Livet;
using Livet.EventListene... | mit | C# |
0afee301e6210aef6d3c261ab93c3c77d1b125e5 | Update ModModeEvent.cs | Yonom/BotBits | BotBits/Packages/MessageHandler/Events/ModModeEvent.cs | BotBits/Packages/MessageHandler/Events/ModModeEvent.cs | using PlayerIOClient;
namespace BotBits.Events
{
/// <summary>
/// Occurs when moderator toggles moderator mode.
/// </summary>
/// <seealso cref="PlayerEvent{T}" />
[ReceiveEvent("mod")]
public sealed class ModModeEvent : PlayerEvent<ModModeEvent>
{
/// <summary>
/// ... | using PlayerIOClient;
namespace BotBits.Events
{
/// <summary>
/// Occurs when moderator toggles moderator mode.
/// </summary>
/// <seealso cref="PlayerEvent{T}" />
[ReceiveEvent("mod")]
public sealed class ModModeEvent : PlayerEvent<ModModeEvent>
{
/// <summary>
/// ... | mit | C# |
9bbd281837e664696f366490e5e850c9e9cf9d63 | fix XmlCommentsSchemaFilter not unescape | domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore | src/Swashbuckle.AspNetCore.SwaggerGen/XmlComments/XmlCommentsSchemaFilter.cs | src/Swashbuckle.AspNetCore.SwaggerGen/XmlComments/XmlCommentsSchemaFilter.cs | using System;
using System.Xml.XPath;
using Microsoft.OpenApi.Models;
namespace Swashbuckle.AspNetCore.SwaggerGen
{
public class XmlCommentsSchemaFilter : ISchemaFilter
{
private readonly XPathNavigator _xmlNavigator;
public XmlCommentsSchemaFilter(XPathDocument xmlDoc)
{
... | using System;
using System.Xml.XPath;
using Microsoft.OpenApi.Models;
namespace Swashbuckle.AspNetCore.SwaggerGen
{
public class XmlCommentsSchemaFilter : ISchemaFilter
{
private readonly XPathNavigator _xmlNavigator;
public XmlCommentsSchemaFilter(XPathDocument xmlDoc)
{
... | mit | C# |
951bf300064bd6d4ef1699ec390daecae38ecc68 | Update DoubleFetchHandler.cs | ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azur... | src/StackAdmin/Dns/Commands.Dns/Models/DoubleFetchHandler.cs | src/StackAdmin/Dns/Commands.Dns/Models/DoubleFetchHandler.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://w... | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Azure.Commands.Dns.Models
{
public class DoubleFetchHandler : DelegatingHandler, ICloneable
{
public object Clone() {
return new DoubleFetchHandler();
}
protected ... | apache-2.0 | C# |
13a708779ff853381364cdc35accd117f02216df | test for all issues being returned | nsrnnnnn/octokit.net,devkhan/octokit.net,chunkychode/octokit.net,octokit-net-test/octokit.net,adamralph/octokit.net,gdziadkiewicz/octokit.net,mminns/octokit.net,geek0r/octokit.net,brramos/octokit.net,takumikub/octokit.net,devkhan/octokit.net,alfhenrik/octokit.net,fake-organization/octokit.net,eriawan/octokit.net,mminns... | Octokit.Tests.Integration/Clients/SearchClientTests.cs | Octokit.Tests.Integration/Clients/SearchClientTests.cs | using System.Linq;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
using Xunit;
public class SearchClientTests
{
readonly IGitHubClient _gitHubClient;
public SearchClientTests()
{
_gitHubClient = new GitHubClient(new ProductHeaderValue("OctokitTests"))
{
... | using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
using Xunit;
public class SearchClientTests
{
readonly IGitHubClient _gitHubClient;
public SearchClientTests()
{
_gitHubClient = new GitHubClient(new ProductHeaderValue("OctokitTests"))
{
Credentials... | mit | C# |
14bb602cef7e4a71d3e899a7160c22c5fd5c0a4c | Enable default mapped span results for Razor. | mgoertz-msft/roslyn,tmat/roslyn,ErikSchierboom/roslyn,KirillOsenkov/roslyn,weltkante/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,tannergooding/roslyn,dotnet/roslyn,heejaechang/roslyn,physhi/roslyn,panopticoncentral/roslyn,sharwell/roslyn,panopticoncentral/roslyn,genlu/roslyn,tannergooding/roslyn,Kirill... | src/Tools/ExternalAccess/Razor/RazorSpanMappingServiceWrapper.cs | src/Tools/ExternalAccess/Razor/RazorSpanMappingServiceWrapper.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using S... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using S... | mit | C# |
c5b21bea43bede0d2b538b65a53dbf57261e1e07 | Fix script filter test on ES 1.4.0.Beta1 | robertlyson/elasticsearch-net,robertlyson/elasticsearch-net,gayancc/elasticsearch-net,SeanKilleen/elasticsearch-net,LeoYao/elasticsearch-net,UdiBen/elasticsearch-net,wawrzyn/elasticsearch-net,joehmchan/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,robrich/elasticsearch-net,junlapong/ela... | src/Tests/Nest.Tests.Integration/Search/Filter/ScriptFilterTests.cs | src/Tests/Nest.Tests.Integration/Search/Filter/ScriptFilterTests.cs | using System;
using System.Linq;
using NUnit.Framework;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Search.Filter
{
/// <summary>
/// Integrated tests of ScriptFilter with elasticsearch.
/// </summary>
[TestFixture]
public class ScriptFilterTests : IntegrationTes... | using System;
using System.Linq;
using NUnit.Framework;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
namespace Nest.Tests.Integration.Search.Filter
{
/// <summary>
/// Integrated tests of ScriptFilter with elasticsearch.
/// </summary>
[TestFixture]
public class ScriptFilterTests : IntegrationTes... | apache-2.0 | C# |
249f692a497b767bf41a75f32203ae7f2f61d64d | make AspectCoreProxyTypeFactory sealed | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common.Aspect.AspectCore/AspectCoreProxyTypeFactory.cs | src/WeihanLi.Common.Aspect.AspectCore/AspectCoreProxyTypeFactory.cs | using System;
namespace WeihanLi.Common.Aspect.AspectCore
{
internal sealed class AspectCoreProxyTypeFactory : IProxyTypeFactory
{
public Type CreateProxyType(Type serviceType)
{
if (null == serviceType)
{
throw new ArgumentNullException(nameof(serviceTy... | using System;
namespace WeihanLi.Common.Aspect.AspectCore
{
internal class AspectCoreProxyTypeFactory : IProxyTypeFactory
{
public Type CreateProxyType(Type serviceType)
{
if (null == serviceType)
{
throw new ArgumentNullException(nameof(serviceType));
... | mit | C# |
ffa38265ebad280dc9be07f46a6abb425b225336 | Add mediaStoreRoot to FileMediaStore | SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake | Snowflake.API/Information/MediaStore/FileMediaStore.cs | Snowflake.API/Information/MediaStore/FileMediaStore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Snowflake.Information.MediaStore
{
public class FileMediaStore : IMediaStore
{
private Dictionary<string, IMediaStoreSection> sections;
public IMediaSto... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Snowflake.Information.MediaStore
{
public class FileMediaStore : IMediaStore
{
private Dictionary<string, IMediaStoreSection> sections;
public IMediaSto... | mpl-2.0 | C# |
327e7b2c1400861626e26eae132f186f421ecbe2 | Select View from ContentTransition | Silphid/Silphid.Unity,Silphid/Silphid.Unity | Sources/Silphid.Showzup/Sources/Controls/TabControl.cs | Sources/Silphid.Showzup/Sources/Controls/TabControl.cs | using System;
using System.Linq;
using Silphid.Extensions;
using Silphid.Showzup.Navigation;
using UniRx;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Silphid.Showzup
{
public enum TabPlacement
{
Top = MoveDirection.Up,
Bottom = MoveDirection.Down,
Left = MoveDirection.... | using System;
using System.Linq;
using Silphid.Extensions;
using Silphid.Showzup.Navigation;
using UniRx;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Silphid.Showzup
{
public enum TabPlacement
{
Top = MoveDirection.Up,
Bottom = MoveDirection.Down,
Left = MoveDirection.... | mit | C# |
53c7ca414865cb97c3773fe3d65e906f1abcec58 | Set more specific return type to enable application/atom+xml response formatting. | Stift/NuGet.Lucene,googol/NuGet.Lucene,themotleyfool/NuGet.Lucene | source/NuGet.Lucene.Web/Controllers/PackagesODataController.cs | source/NuGet.Lucene.Web/Controllers/PackagesODataController.cs | using System.Linq;
using System.Net.Http;
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 Pac... | 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# |
c362005abee852775d4f7ae464b340bdc7505677 | update error messages in ReadonlyDbContext | HighwayFramework/Highway.Data,ericburcham/Highway.Data | src/Highway.Data.EntityFramework/Contexts/ReadonlyDbContext.cs | src/Highway.Data.EntityFramework/Contexts/ReadonlyDbContext.cs | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Validation;
using System.Threading;
using System.Threading.Tasks;
namespace Highway.Data
{
public abstract class ReadonlyDbContext : DbContext
{... | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Validation;
using System.Threading;
using System.Threading.Tasks;
namespace Highway.Data
{
public abstract class ReadonlyDbContext : DbContext
{... | mit | C# |
68b61c1ae7ab1fb64f9f4fd72e4d942ae71aa2e8 | Update InteractiveModuleBase to support latest Discord.Net | foxbot/Discord.Addons.InteractiveCommands,foxbot/Discord.Addons.InteractiveCommands | src/Discord.Addons.InteractiveCommands/InteractiveModuleBase.cs | src/Discord.Addons.InteractiveCommands/InteractiveModuleBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System.Threading;
namespace Discord.Addons.InteractiveCommands
{
public abstract class InteractiveModuleBase : InteractiveModuleBase<CommandContext... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System.Threading;
namespace Discord.Addons.InteractiveCommands
{
public class InteractiveModuleBase : ModuleBase
{
/// <summary>
... | isc | C# |
5141bf66eb56000e9585325c001e00841400348c | Add failing test case | ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu | osu.Game.Tests/Visual/Playlists/TestScenePlaylistsLoungeSubScreen.cs | osu.Game.Tests/Visual/Playlists/TestScenePlaylistsLoungeSubScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Screens;
using osu.Framework.Testing;
using osu.Game.Graphics.Containers;
using osu.Game.Screens.OnlinePlay.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Screens;
using osu.Framework.Testing;
using osu.Game.Graphics.Containers;
using osu.Game.Screens.OnlinePlay.... | mit | C# |
65005311e6a3eccb0051b907df1305222aefdb33 | remove some junk | jonnii/statr,jonnii/statr | src/Statr.Specifications/Storage/DataPointCacheSpecification.cs | src/Statr.Specifications/Storage/DataPointCacheSpecification.cs | using System;
using System.Collections.Generic;
using System.Reactive.Subjects;
using Machine.Fakes;
using Machine.Specifications;
using Statr.Routing;
using Statr.Storage;
namespace Statr.Specifications.Storage
{
public class DataPointCacheSpecification
{
[Subject(typeof(DataPointCache))]
pub... | using System;
using System.Collections.Generic;
using System.Reactive.Subjects;
using Machine.Fakes;
using Machine.Specifications;
using Statr.Routing;
using Statr.Storage;
namespace Statr.Specifications.Storage
{
public class DataPointCacheSpecification
{
[Subject(typeof(DataPointCache))]
pub... | apache-2.0 | C# |
1734861a9036e916dbbe5df615c03b23670db918 | Throw exception outside of catch | appharbor/appharbor-cli | src/AppHarbor/ApplicationConfiguration.cs | src/AppHarbor/ApplicationConfiguration.cs | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration : IApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecuto... | using System;
using System.IO;
using AppHarbor.Model;
namespace AppHarbor
{
public class ApplicationConfiguration : IApplicationConfiguration
{
private readonly IFileSystem _fileSystem;
private readonly IGitExecutor _gitExecutor;
public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecuto... | mit | C# |
fb3f64ecd9740a6a9e3720313d2d7e3b19f7ccbe | Update assembly info | vgrigoriu/FromString | src/FromString/Properties/AssemblyInfo.cs | src/FromString/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | mit | C# |
3d5eb0a092455da64905cc68da37f964ef0d26fb | Use net5-7 in Desktop.Tests | filipw/dotnet-script,filipw/dotnet-script | src/Dotnet.Script.Desktop.Tests/CompilationDepenencyTests.cs | src/Dotnet.Script.Desktop.Tests/CompilationDepenencyTests.cs | using System.IO;
using System.Linq;
using Dotnet.Script.DependencyModel.Compilation;
using Dotnet.Script.Shared.Tests;
using Xunit;
using Xunit.Abstractions;
namespace Dotnet.Script.Desktop.Tests
{
public class CompilationDependencyTests
{
public CompilationDependencyTests(ITestOutputHelper testOutputH... | using System.IO;
using System.Linq;
using Dotnet.Script.DependencyModel.Compilation;
using Dotnet.Script.Shared.Tests;
using Xunit;
using Xunit.Abstractions;
namespace Dotnet.Script.Desktop.Tests
{
public class CompilationDependencyTests
{
public CompilationDependencyTests(ITestOutputHelper testOutputH... | mit | C# |
2cae22b7c23dfdb13fdbd1a74b87c535e8961297 | Fix typo in UpdateFrequency.cs | AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css | src/AngleSharp.Css/Dom/UpdateFrequency.cs | src/AngleSharp.Css/Dom/UpdateFrequency.cs | namespace AngleSharp.Css.Dom
{
/// <summary>
/// Available device update frequencies.
/// </summary>
public enum UpdateFrequency : byte
{
/// <summary>
/// Once it has been rendered, the layout can no longer
/// be updated. Example: documents printed on paper.
/// </... | namespace AngleSharp.Css.Dom
{
/// <summary>
/// Available device update frequencies.
/// </summary>
public enum UpdateFrequency : byte
{
/// <summary>
/// Once it has been rendered, the layout can no longer
/// be updated. Example: documents printed on paper.
/// </... | mit | C# |
7329c8364e2a94aa99226edfa48fb4d40373d363 | Select new points | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.Core/Editor/Tools/PointTool.cs | src/Draw2D.Core/Editor/Tools/PointTool.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.Linq;
using Draw2D.Core.Shapes;
using Draw2D.Spatial;
namespace Draw2D.Core.Editor.Tools
{
public class PointTool : ToolBase
{
public... | // 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.Linq;
using Draw2D.Core.Shapes;
using Draw2D.Spatial;
namespace Draw2D.Core.Editor.Tools
{
public class PointTool : ToolBase
{
public... | mit | C# |
9f3ecab2c62e686f018fc5e89aa25820fcce610e | Remove unused using. | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Member/Index.cshtml | src/GiveCRM.Web/Views/Member/Index.cshtml | @{
ViewBag.Title = "Index";
}
<h2>Members Dashboard</h2>
<div id="actions">
<ul>
<li>@Html.ActionLink("Add New Member", "Add")</li>
<li>@Html.ActionLink("Import Excel Spreadsheet", "Index", "ExcelImport")</li>
</ul>
</div>
<div id="search">
@{ Html.RenderAction("Search"); }
</div>
<... | @using GiveCRM.Web.Models.Members
@{
ViewBag.Title = "Index";
}
<h2>Members Dashboard</h2>
<div id="actions">
<ul>
<li>@Html.ActionLink("Add New Member", "Add")</li>
<li>@Html.ActionLink("Import Excel Spreadsheet", "Index", "ExcelImport")</li>
</ul>
</div>
<div id="search">
@{ Html.R... | mit | C# |
52538dc7083f2063149c8f08a249921c3c429acc | Refactor `LatencyCursorContainer` to become a cursor container | peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu | osu.Game/Screens/Utility/SampleComponents/LatencyCursorContainer.cs | osu.Game/Screens/Utility/SampleComponents/LatencyCursorContainer.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.
#nullable enable
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Shapes;
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.
#nullable enable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Framework.... | mit | C# |
ad8aa65e8317ad22d8185226577a31e49e6c7416 | Correct basic client config test | modulexcite/lokad-cqrs | Framework/Lokad.Cqrs.Azure.Tests/BasicClientConfigurationTests.cs | Framework/Lokad.Cqrs.Azure.Tests/BasicClientConfigurationTests.cs | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Threading;
using Lokad.Cqrs.Build.Client;
using Lokad.Cqrs.Build.Engine;
using Lokad.Cqrs.Core.Dispatch.Events;
using Microsoft.WindowsAzure;
using NUnit.Framework;
using System.Linq;
namespace Lokad.Cqrs
{
... | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Threading;
using Lokad.Cqrs.Build.Client;
using Lokad.Cqrs.Build.Engine;
using Lokad.Cqrs.Core.Dispatch.Events;
using Microsoft.WindowsAzure;
using NUnit.Framework;
using System.Linq;
namespace Lokad.Cqrs
{
... | bsd-3-clause | C# |
c00f4511b4ece5e5cb420c4c79ec55b9fed0f3dd | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | jango2015/Autofac.Configuration,autofac/Autofac.Configuration | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
579a708b7195ee37aeb0cca6e638fbd2d65188ad | Reduce object creation during map (compiler created display class for lambda logging) | David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium | Neutronium.Core/Binding/GlueBuilder/GlueObjectBuilder.cs | Neutronium.Core/Binding/GlueBuilder/GlueObjectBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Neutronium.Core.Binding.GlueObject;
using Neutronium.Core.Binding.GlueObject.Factory;
using Neutronium.Core.Infra;
using Neutronium.Core.Infra.Reflection;
namespace Neutronium.Core.Binding.GlueBuilder
{
internal sealed class GlueObjectBuild... | using System;
using System.Collections.Generic;
using System.Linq;
using Neutronium.Core.Binding.GlueObject;
using Neutronium.Core.Binding.GlueObject.Factory;
using Neutronium.Core.Infra;
using Neutronium.Core.Infra.Reflection;
namespace Neutronium.Core.Binding.GlueBuilder
{
internal sealed class GlueObjectBuild... | mit | C# |
131677ced7f3b4607d50fe8456082774edabe94a | Simplify names | sharwell/StyleCop.Analyzers.Status,DotNetAnalyzers/StyleCopAnalyzers,pdelvo/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status | StyleCop.Analyzers.Status.Generator/CompilationFailedException.cs | StyleCop.Analyzers.Status.Generator/CompilationFailedException.cs | namespace StyleCop.Analyzers.Status.Generator
{
using System;
/// <summary>
/// An exception that gets thrown if the compilation failed.
/// </summary>
[Serializable]
public class CompilationFailedException : Exception
{
/// <summary>
/// Initializes a new instance of the <... | namespace StyleCop.Analyzers.Status.Generator
{
using System;
/// <summary>
/// An exception that gets thrown if the compilation failed.
/// </summary>
[Serializable]
public class CompilationFailedException : System.Exception
{
/// <summary>
/// Initializes a new instance o... | mit | C# |
cba8444a635c47cd5e647b4d65c21ca7c9e7209e | Stop testing for image shrinking, as we've disabled shrinking. | gmartin7/myBloomFork,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDeskt... | src/BloomTests/LowResImageProcessing/RuntimeImageProcessingTests.cs | src/BloomTests/LowResImageProcessing/RuntimeImageProcessingTests.cs | using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using Bloom;
using NUnit.Framework;
using Palaso.IO;
using Bloom.ImageProcessing;
namespace BloomTests.RuntimeImageProcessing
{
[TestFixture]
public class RuntimeImageProcessingTests
{
#if ShrinkLargeImages
[Test]
public void GetWideImage... | using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using Bloom;
using NUnit.Framework;
using Palaso.IO;
using Bloom.ImageProcessing;
namespace BloomTests.RuntimeImageProcessing
{
[TestFixture]
public class RuntimeImageProcessingTests
{
[Test]
public void GetWideImage_ReturnsShrunkImageWithC... | mit | C# |
89295bbdbb09a53e644b746a822dd615606358e1 | correct IAmVisualElement.Text() for text, ddl, check, radio | mvbalaw/FluentBrowserAutomation | src/FluentBrowserAutomation/Controls/Properties/IAmVisualElement.cs | src/FluentBrowserAutomation/Controls/Properties/IAmVisualElement.cs | using System;
using System.Linq;
using FluentBrowserAutomation.Accessors;
using FluentBrowserAutomation.Controls;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
//// ReSharper disable CheckNamespace
// ReSharper disable CheckNamespace
namespace FluentBrowserAutomation
// ReSharper restore CheckNamespace... | using System;
using FluentBrowserAutomation.Accessors;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
//// ReSharper disable CheckNamespace
// ReSharper disable CheckNamespace
namespace FluentBrowserAutomation
// ReSharper restore CheckNamespace
//// ReSharper restore CheckNamespace
{
public interface I... | mit | C# |
55fa223d7360f45d6c5c84d2cece175c8e851304 | Update ServiceCollectionExtensions.cs (#2137) | stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Bro... | src/OrchardCore/OrchardCore.Entities/ServiceCollectionExtensions.cs | src/OrchardCore/OrchardCore.Entities/ServiceCollectionExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OrchardCore.Entities.Scripting;
using OrchardCore.Scripting;
namespace OrchardCore.Entities
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddIdGenerati... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OrchardCore.Entities.Scripting;
using OrchardCore.Scripting;
namespace OrchardCore.Entities
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddIdGenerati... | bsd-3-clause | C# |
c5c75025c652b55db6dc1f660e5db43bcb918efd | Add Fsm variable for text/initials | missionpinball/unity-bcp-server | Assets/BCP/Scripts/PlayMaker/SendBCPInputHighScoreComplete.cs | Assets/BCP/Scripts/PlayMaker/SendBCPInputHighScoreComplete.cs | using UnityEngine;
using System;
using HutongGames.PlayMaker;
using TooltipAttribute = HutongGames.PlayMaker.TooltipAttribute;
using BCP.SimpleJSON;
/// <summary>
/// Custom PlayMaker action for MPF that sends a Trigger BCP command to MPF.
/// </summary>
[ActionCategory("BCP")]
[Tooltip("Sends 'text_input_high_score_... | using UnityEngine;
using System;
using HutongGames.PlayMaker;
using TooltipAttribute = HutongGames.PlayMaker.TooltipAttribute;
using BCP.SimpleJSON;
/// <summary>
/// Custom PlayMaker action for MPF that sends a Trigger BCP command to MPF.
/// </summary>
[ActionCategory("BCP")]
[Tooltip("Sends 'text_input_high_score_... | mit | C# |
939d6c6a78a8376fa0525d6f6236c6add47894e9 | Add comments | BYVoid/distribox | Distribox/Distribox.CommonLib/VersionSystem/FileSubversion.cs | Distribox/Distribox.CommonLib/VersionSystem/FileSubversion.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Distribox.CommonLib
{
/// <summary>
/// File subversion type.
/// </summary>
public enum FileSubversionType
{
Created, Changed, Renamed, Deleted
}
/// <summary>
/// File subversion.
/// </summary... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Distribox.CommonLib
{
public enum FileSubversionType
{
Created, Changed, Renamed, Deleted
}
public class FileSubversion
{
public string Name { get; set; }
public string SHA1 { get; se... | mit | C# |
95537838d81dd19b667611c129d8752b2c327caf | Add changing color of FPS Display based on FPS | fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,... | UnityProject/Assets/Scripts/DebugConsole/DebugConsole.cs | UnityProject/Assets/Scripts/DebugConsole/DebugConsole.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DebugConsole : MonoBehaviour
{
private static DebugConsole debugConsole;
public static DebugConsole Instance
{
get
{
if (debugConsole == null)
{
debugConsole = FindObjectOfType<DebugConso... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DebugConsole : MonoBehaviour
{
private static DebugConsole debugConsole;
public static DebugConsole Instance
{
get
{
if (debugConsole == null)
{
debugConsole = FindObjectOfType<DebugConso... | agpl-3.0 | C# |
885b571f59c4957488c0f57c959a893bb9e1c6ab | call update profile in view | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | XamarinApp/MyTrips/MyTrips.UWP/Views/ProfileView.xaml.cs | XamarinApp/MyTrips/MyTrips.UWP/Views/ProfileView.xaml.cs | using MyTrips.ViewModel;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace MyTrips.UWP.Views
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
... | using MyTrips.ViewModel;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace MyTrips.UWP.Views
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public seal... | mit | C# |
63381ff4f2a62335e851f266f84f8f422ec68e01 | change heading font weight | peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownHeading.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownHeading.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.Syntax;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Graphics.Containers.Markdown
{
publi... | // 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.Syntax;
using osu.Framework.Graphics.Containers.Markdown;
namespace osu.Game.Graphics.Containers.Markdown
{
public class OsuMarkdownHeading : MarkdownH... | mit | C# |
3676eac0b17d929f3a93ba43985a501b1d064096 | Update CloudSecureOptions.cs | A51UK/File-Repository | File-Repository/Enum/CloudSecureOptions.cs | File-Repository/Enum/CloudSecureOptions.cs | /*
* Copyright 2017 Craig Lee Mark Adams
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 agree... | /*
* Copyright 2017 Criag Lee Mark Adams
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 agree... | apache-2.0 | C# |
5e42aeb043f0f9c5f588cdc9f54a698e816c3ada | Update HalJsonMediaTypeFormatter for serialisation | aliencube/Aliencube.WebApi.Hal,aliencube/Aliencube.WebApi.Hal | src/Aliencube.WebApi.Hal/Formatters/HalJsonMediaTypeFormatter.cs | src/Aliencube.WebApi.Hal/Formatters/HalJsonMediaTypeFormatter.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Text;
using Aliencube.WebApi.Hal.Resources;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Aliencube.WebApi.Hal.Formatters
{
public class ... | using System;
using System.Net.Http.Formatting;
namespace Aliencube.WebApi.Hal.Formatters
{
public class HalJsonMediaTypeFormatter : BufferedMediaTypeFormatter
{
public override bool CanReadType(Type type)
{
throw new NotImplementedException();
}
public override bo... | mit | C# |
30c5c4e7b417045728b4089c61d7978da6fa89bf | Remove old points from back | petereichinger/unity-trail-advanced | Assets/Scripts/PointSource/AbstractPointSource.cs | Assets/Scripts/PointSource/AbstractPointSource.cs | using Nito;
using System.Collections;
using System.Net.NetworkInformation;
using UnityEngine;
namespace TrailAdvanced.PointSource {
public abstract class AbstractPointSource : MonoBehaviour {
public int maxPoints = 1000;
protected Deque<Vector3> points;
protected int minimumFreeCapacity = 10;
public Deque... | using Nito;
using System.Collections;
using System.Net.NetworkInformation;
using UnityEngine;
namespace TrailAdvanced.PointSource {
public abstract class AbstractPointSource : MonoBehaviour {
public int maxPoints = 1000;
protected Deque<Vector3> points;
protected int minimumFreeCapacity = 10;
public Deque... | mit | C# |
654c38a9d20b407a08213c829d4968723303a36e | Fix missing } | projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,... | SimpleWAWS/Code/SimpleSettings.cs | SimpleWAWS/Code/SimpleSettings.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Web;
using System.Web.Hosting;
namespace SimpleWAWS.Code
{
public static class SimpleSettings
{
private static string config(strin... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Web;
using System.Web.Hosting;
namespace SimpleWAWS.Code
{
public static class SimpleSettings
{
private static string config(strin... | apache-2.0 | C# |
3a2a79ebbe7d86800e2067eed8caec9aa0d17a6b | Refactor around parametersToTidy-tracking forgot to initialise the collection! | ProductiveRage/SqlProxyAndReplay | DataProviderInterface/Implementations/SqlProxy.cs | DataProviderInterface/Implementations/SqlProxy.cs | using System;
using System.Data;
using System.Data.SqlClient;
using ProductiveRage.SqlProxyAndReplay.DataProviderInterface.IDs;
using ProductiveRage.SqlProxyAndReplay.DataProviderInterface.Interfaces;
namespace ProductiveRage.SqlProxyAndReplay.DataProviderInterface.Implementations
{
public sealed partial class SqlPr... | using System;
using System.Data;
using System.Data.SqlClient;
using ProductiveRage.SqlProxyAndReplay.DataProviderInterface.IDs;
using ProductiveRage.SqlProxyAndReplay.DataProviderInterface.Interfaces;
namespace ProductiveRage.SqlProxyAndReplay.DataProviderInterface.Implementations
{
public sealed partial class SqlPr... | mit | C# |
187b628e72587c06c1626790ef8827f0de522e2c | handle null project paths in solution | KevinRansom/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,sharwell/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,shyamnamboodiripad/... | src/EditorFeatures/Core/EditorConfigSettings/Extensions/SolutionExtensions.cs | src/EditorFeatures/Core/EditorConfigSettings/Extensions/SolutionExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using Microsoft.CodeAnalysis.PooledObjects;
namespace Microso... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis.PooledObjects;... | mit | C# |
d8ceb75ee208d4947be7205531da1a5995518c87 | update model with userId | jamesmontemagno/app-coffeecups | CoffeeCups/Model/CupOfCoffee.cs | CoffeeCups/Model/CupOfCoffee.cs | using System;
using Humanizer;
namespace CoffeeCups
{
public class CupOfCoffee
{
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
[Newtonsoft.Json.JsonProperty("userId")]
public string UserId {get;set;}
... | using System;
using Humanizer;
namespace CoffeeCups
{
public class CupOfCoffee
{
/// <summary>
/// Gets or sets the user identifier.
/// </summary>
/// <value>The user identifier.</value>
public string UserId {get;set;}
[Newtonsoft.Json.JsonProperty("Id")]
... | mit | C# |
7c09df44e41adadc3ff6dd5bdaf310a58e3bf611 | Rename Cake's "Restore-NuGet-Packages" step to "Restore" | HangfireIO/Cronos | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
#addin "Cake.FileHelpers"
// Don't edit manually! Use `.\build.ps1 -ScriptArgs '--newVersion="*.*.*"'` command instead!
var version = "0.2.0";
var configuration = Argument("configuration", "Release");
var newVersion = Argument("newVersion", version);
var target = Argument("... | #tool "nuget:?package=xunit.runner.console"
#addin "Cake.FileHelpers"
// Don't edit manually! Use `.\build.ps1 -ScriptArgs '--newVersion="*.*.*"'` command instead!
var version = "0.2.0";
var configuration = Argument("configuration", "Release");
var newVersion = Argument("newVersion", version);
var target = Argument("... | mit | C# |
54738bb5d84bf30e4543e7bc761eaacf2fbc38e8 | Bump WebApi to 5.10.3 | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | mit | C# |
5cb48cccb6b13044bfbb24135942e11c3e56b2ba | Update Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAMeter.cs | GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA | Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAMeter.cs | Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAMeter.cs | //******************************************************************************************************
// RemoteXDAMeter.cs - Gbtc
//
// Copyright © 2019, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | //******************************************************************************************************
// AdditionalField.cs - Gbtc
//
// Copyright © 2019, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | mit | C# |
89dc7b344da0e735a2ffb3ad94f2e53f56633036 | add de/serilization into Entity | twoThirds/MDF24HourGame | 24hGame/24hGame/24hGame/BaseTypes/Entity.cs | 24hGame/24hGame/24hGame/BaseTypes/Entity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Serialization;
using System.Xml;
namespace _24hGame.BaseTypes
{
public class Entity
{
public void Serialize<Entity>(Entity data, string filePath)
{
XmlSerializer x... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _24hGame.BaseTypes
{
class Entity
{
static Entity()
{
random = new Random();
}
static Random random;
static Random Random
{
get
{
... | apache-2.0 | C# |
185e9da72cc4341aa4bf3bb92b50ec09a8910b10 | remove icon (marker) for non-favorite items | SunboX/windows-universal,scherke85/windows-universal,DecaTec/windows-universal,TheScientist/windows-universal,scherke/windows-universal,TheScientist/windows-universal,TheScientist/windows-universal,altima/windows-universal,SunboX/windows-universal,scherke85/windows-universal,DecaTec/windows-universal,altima/windows-uni... | NextcloudApp/Converter/FavoriteToIconConverter.cs | NextcloudApp/Converter/FavoriteToIconConverter.cs | using NextcloudClient.Types;
using System;
using Windows.UI.Xaml.Data;
namespace NextcloudApp.Converter
{
public class FavoriteToIconConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
var item = (ResourceInfo)valu... | using NextcloudClient.Types;
using System;
using Windows.UI.Xaml.Data;
namespace NextcloudApp.Converter
{
public class FavoriteToIconConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
var item = (ResourceInfo)valu... | mpl-2.0 | C# |
ab0e80e0b7275cac6e03c52af15720e54cbf43f4 | Remove duplicated code from StubListener. | fixie/fixie,bardoloi/fixie,Duohong/fixie,bardoloi/fixie,KevM/fixie,JakeGinnivan/fixie,EliotJones/fixie | src/Fixie.Tests/StubListener.cs | src/Fixie.Tests/StubListener.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Fixie.Results;
namespace Fixie.Tests
{
public class StubListener : Listener
{
readonly List<string> log = new List<string>();
public void AssemblyStarted(Assembly assembly)
... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Fixie.Results;
namespace Fixie.Tests
{
public class StubListener : Listener
{
readonly List<string> log = new List<string>();
public void AssemblyStarted(Assembly assembly)
{
... | mit | C# |
f12e0d6a0621d9472d46d2be1a79bac462d6959b | build 7.1.10 | agileharbor/channelAdvisorAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | bsd-3-clause | C# |
0f1907e16e7fc68a571ae3684643e921440c9dc0 | Update CompositeExceptionTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/CompositeExceptionTelemeter.cs | TIKSN.Core/Analytics/Telemetry/CompositeExceptionTelemeter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using TIKSN.Configuration;
namespace TIKSN.Analytics.Telemetry
{
public class CompositeExceptionTelemeter : IExceptionTelemeter
{
private readonly IPartialConfiguration<CommonTelemetryOptions> common... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using TIKSN.Configuration;
namespace TIKSN.Analytics.Telemetry
{
public class CompositeExceptionTelemeter : IExceptionTelemeter
{
private readonly IPartialConfiguration<CommonTelemetryOptions> common... | mit | C# |
b137317757189700a18dfe608b6f0ced84a1e76f | Update DriverFactory.cs | ThebeRising/myTestGit | Implementation/DriverFactory.cs | Implementation/DriverFactory.cs | using System;
using Gauge.CSharp.Lib.Attribute;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Chrome;
namespace Gauge.Example.Implementation
{
public class DriverFactory
{
public static IWebDriver Driver { get; private set; }
[BeforeSuit... | using System;
using Gauge.CSharp.Lib.Attribute;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.ChromeDriver;
namespace Gauge.Example.Implementation
{
public class DriverFactory
{
public static IWebDriver Driver { get; private set; }
[Befo... | apache-2.0 | C# |
a52976a839b682c4206f23662b7077e4d6366716 | Fix IAM use of unknown resource names | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet | apis/Google.Cloud.Iam.V1/Google.Cloud.Iam.V1/ResourceNames.cs | apis/Google.Cloud.Iam.V1/Google.Cloud.Iam.V1/ResourceNames.cs | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | apache-2.0 | C# |
aae63d8626d12c8f90c0fda9141eaea53dc61be5 | Reformat tests for IntegralTypeExtension. | muhbaasu/fx-sharp | src/FxSharp.Tests/Extensions/IntegralTypeExtensionsTests.cs | src/FxSharp.Tests/Extensions/IntegralTypeExtensionsTests.cs | using FxSharp.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FxSharp.Tests.Extensions
{
/// <summary>
/// Internal test enum.
/// </summary>
internal enum DaysInt
{
Sat = 0,
Sun = 1,
Mon = 2
}
[TestClass]
public class IntegralType... | using FxSharp.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FxSharp.Tests.Extensions
{
/// <summary>
/// Internal test enum.
/// </summary>
internal enum DaysInt
{
Sat = 0,
Sun = 1,
Mon = 2
}
[TestClass]
public class IntegralTypeExte... | apache-2.0 | C# |
d434a4d205cd0da5d0b91af75c1195119197ea6e | Fix new lines in AssemblyInfo.cs (#39084) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Security/Authentication/Certificate/src/AssemblyInfo.cs | src/Security/Authentication/Certificate/src/AssemblyInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Authentication.Test, PublicKey=002400000480000094000000060200000024000052534131000400... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Authentication.Test, PublicKey=002400000480000094000000060200000024000052534131000400... | apache-2.0 | C# |
09eaa0a9aa02439c53050d2fea9a95619ba1705d | Reduce the date size for the email subject | deeja/Pigeon | Pigeon.Zipper/Pipelines/SetEmailSubject.cs | Pigeon.Zipper/Pipelines/SetEmailSubject.cs | namespace Pigeon.Pipelines
{
using System;
using Sitecore.Diagnostics;
public class SetEmailSubject:PigeonPipelineProcessor
{
public override void Process(PigeonPipelineArgs args)
{
Assert.IsNotNull(args,"args != null");
args.Subject = $"[Pigeon] {System.Web.Ho... | namespace Pigeon.Pipelines
{
using System;
using Sitecore.Diagnostics;
public class SetEmailSubject:PigeonPipelineProcessor
{
public override void Process(PigeonPipelineArgs args)
{
Assert.IsNotNull(args,"args != null");
args.Subject = $"[Pigeon] {System.Web.Ho... | mit | C# |
af2b677c3623caba1aa8dc94fdc84d8c11e1b912 | Fix test, it was checking the wrong md5 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | src/tests/IntegrationTests/UnzipTaskTests.cs | src/tests/IntegrationTests/UnzipTaskTests.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using GitHub.Unity;
using Microsoft.Win32.SafeHandles;
using NSubstitute;
using NUnit.Framework;
using Rackspace.Threading;
namespace IntegrationTests
{
[TestFixture]
class UnzipTaskTests : BaseTaskManagerTest
{
... | using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using GitHub.Unity;
using Microsoft.Win32.SafeHandles;
using NSubstitute;
using NUnit.Framework;
using Rackspace.Threading;
namespace IntegrationTests
{
[TestFixture]
class UnzipTaskTests : BaseTaskManagerTest
{
... | mit | C# |
17277e2abedfb58aa5b09139326b59e4c7542f42 | Fix the broken NuGet build. | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Examples/Demos/Input/Scenes/PrimaryPointer/PrimaryPointerHandlerExample.cs | Assets/MixedRealityToolkit.Examples/Demos/Input/Scenes/PrimaryPointer/PrimaryPointerHandlerExample.cs | using Microsoft.MixedReality.Toolkit;
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
// Simple example script that subscribes to primary pointer changes and applies a cursor highlight to the current one.
public class PrimaryPointerHandl... | using System;
using Microsoft.MixedReality.Toolkit;
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine;
// Simple example script that subscribes to primary pointer changes and applies a cursor highlight to the current one.
public class PrimaryPointerHandlerExample : MonoBehaviour
{
public GameObject Cu... | mit | C# |
662a4d3e19daf05dd82b0c48488e6c1d19769e42 | fix check helmet | bzn/naxs | Assets/Scripts/PlayerData_SetViveDevice.cs | Assets/Scripts/PlayerData_SetViveDevice.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
public class PlayerData_SetViveDevice : MonoBehaviour {
public bool isValid { get; private set; }
private IEnumerator coroutine;
void OnEnable()
{
if (gameObject.name.Contains("Camera"))
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerData_SetViveDevice : MonoBehaviour {
void OnEnable()
{
if (gameObject.name.Contains("Camera"))
{
PlayerDataControl.instance.isHelmet = true;
}
else if(gameObje... | mit | C# |
6d667e2d78a0db0ca0ad8ce8ae92ade4b789beff | bump redoc | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Home/SwaggerDocs.cshtml | BTCPayServer/Views/Home/SwaggerDocs.cshtml | @inject BTCPayServer.Security.ContentSecurityPolicies csp
@{
Layout = null;
csp.Add("script-src", "https://cdn.jsdelivr.net");
csp.Add("worker-src", "blob:");
}
<!DOCTYPE html>
<html>
<head>
<title>BTCPay Server Greenfield API</title>
<!-- needed for adaptive design -->
<meta charset="utf-8" />
... | @inject BTCPayServer.Security.ContentSecurityPolicies csp
@{
Layout = null;
csp.Add("script-src", "https://cdn.jsdelivr.net");
csp.Add("worker-src", "blob: self");
}
<!DOCTYPE html>
<html>
<head>
<title>BTCPay Server Greenfield API</title>
<!-- needed for adaptive design -->
<meta charset="utf-8... | mit | C# |
ce94ca41ea8fe143e46c1f890bc042e4c4b7b129 | Create directory if it doesnt exist | onionhammer/WebApiProxy,onionhammer/WebApiProxy | WebApiProxy.Tasks/Models/Configuration.cs | WebApiProxy.Tasks/Models/Configuration.cs | using System.IO;
using System.Xml;
using System.Xml.Serialization;
using WebApiProxy.Core.Models;
namespace WebApiProxy.Tasks.Models
{
[XmlRoot("proxy")]
public class Configuration
{
public const string ConfigFileName = "WebApiProxy.config";
public const string CacheFile = "WebA... | using System.IO;
using System.Xml;
using System.Xml.Serialization;
using WebApiProxy.Core.Models;
namespace WebApiProxy.Tasks.Models
{
[XmlRoot("proxy")]
public class Configuration
{
public const string ConfigFileName = "WebApiProxy.config";
public const string CacheFile = "WebA... | mit | C# |
414439e028e895b9288a4b6728015a0426dafc1c | Fix getting stuck | H-POPS/Slingshot | CustomFlatRide/FlatRideScript/Slingshot.cs | CustomFlatRide/FlatRideScript/Slingshot.cs |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Slingshot : FlatRide
{
public bool getOut;
public SpringJoint UpperLeft;
public SpringJoint UpperRight;
public SpringJoint Bottom;
public float speedDown = .15f;
public float strenghtDown = 20;
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Slingshot : FlatRide
{
public bool getOut;
public SpringJoint UpperLeft;
public SpringJoint UpperRight;
public SpringJoint Bottom;
public float speedDown = .15f;
public float strenghtDown = 20;
p... | mit | C# |
c23ddfe1b6d6dee621f29406bb4491c4a6413020 | adjust code so that HasTable returns a boolean from the database indicating that the table exists (or not) | DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | bsd-3-clause | C# |
1df0528dbea365a39ff3a9f91b23b8fd97a97631 | Add GameToString test | ceddlyburge/canoe-polo-league-organiser-backend | CanoePoloLeagueOrganiserTests/GameTests.cs | CanoePoloLeagueOrganiserTests/GameTests.cs | using System;
using CanoePoloLeagueOrganiser;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CanoePoloLeagueOrganiserTests
{
public class GameTests
{
[Fact]
public void PlayingWithString()
{
var sut = new Game("Clapham", "Castle");
... | using System;
using CanoePoloLeagueOrganiser;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CanoePoloLeagueOrganiserTests
{
public class GameTests
{
[Fact]
public void PlayingWithString()
{
var sut = new Game("Clapham", "Castle");
... | mit | C# |
d0fa813a1169401c7f5741e814e730a7fe047a2d | Fix typo | Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module | GraphQL/Services/ContentItemTypeBuilder.cs | GraphQL/Services/ContentItemTypeBuilder.cs | using GraphQL.Types;
using OrchardCore.ContentManagement.GraphQL.Queries.Types;
using OrchardCore.ContentManagement.Metadata.Models;
using System.Linq;
namespace Lombiq.TrainingDemo.GraphQL.Services
{
// Services that implement IContentTypeBuilder extend the features of existing ContentItem type fields, in... | using GraphQL.Types;
using OrchardCore.ContentManagement.GraphQL.Queries.Types;
using OrchardCore.ContentManagement.Metadata.Models;
using System.Linq;
namespace Lombiq.TrainingDemo.GraphQL.Services
{
// Services that implement IContentTypeBuilder extend the features of existing ContentItem type fields, in... | bsd-3-clause | C# |
a218e40e6d777f73d63846fb7441e5492a55e441 | rename the test to clarify. | jwChung/Experimentalism,jwChung/Experimentalism | test/ExperimentUnitTest/AssemblyLevelTest.cs | test/ExperimentUnitTest/AssemblyLevelTest.cs | using System.Linq;
using Xunit;
namespace Jwc.Experiment
{
public class AssemblyLevelTest
{
[Fact]
public void SutReferencesOnlySpecifiedAssemblies()
{
var sut = typeof(TheoremAttribute).Assembly;
var specifiedAssemblies = new []
{
"m... | using System.Linq;
using Xunit;
namespace Jwc.Experiment
{
public class AssemblyLevelTest
{
[Fact]
public void SutOnlyReferencesSpecifiedAssemblies()
{
var sut = typeof(TheoremAttribute).Assembly;
var specifiedAssemblies = new []
{
"m... | mit | C# |
2d72a8c23b384d7b4b7a983b7314a83646860b5f | use Type.Assemlby instead of LoadFrom to get assembly. | jwChung/Experimentalism,jwChung/Experimentalism | test/ExperimentUnitTest/AssemblyLevelTest.cs | test/ExperimentUnitTest/AssemblyLevelTest.cs | using System.Linq;
using System.Reflection;
using Xunit;
namespace Jwc.Experiment
{
public class AssemblyLevelTest
{
[Fact]
public void SutOnlyReferencesSpecifiedAssemblies()
{
var sut = typeof(TheoremAttribute).Assembly;
var specifiedAssemblies = new []
... | using System.Linq;
using System.Reflection;
using Xunit;
namespace Jwc.Experiment
{
public class AssemblyLevelTest
{
[Fact]
public void SutOnlyReferencesSpecifiedAssemblies()
{
var sut = Assembly.LoadFrom("Jwc.Experiment.dll");
Assert.NotNull(sut);
v... | mit | C# |
adcfb92c6ef7a30eb1ab1332c3a5574b77fa8279 | Bump version. | JohanLarsson/Gu.Wpf.Geometry | Gu.Wpf.Geometry/Properties/AssemblyInfo.cs | Gu.Wpf.Geometry/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: AssemblyTitle("Gu.Wpf.Geometry")]
[assembly: AssemblyDescription("Geometries for WPF.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany(... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: AssemblyTitle("Gu.Wpf.Geometry")]
[assembly: AssemblyDescription("Geometries for WPF.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany(... | mit | C# |
2a4406cdae3bff53430d2dac034aa9bd0ed04c02 | Add Refund as paymentmethod so we can use it in SettlementPeriodRevenue. | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Payment/PaymentMethod.cs | Mollie.Api/Models/Payment/PaymentMethod.cs | using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Mollie.Api.Models.Payment {
[JsonConverter(typeof(StringEnumConverter))]
public enum PaymentMethod {
[EnumMember(Value = "ideal")] Ideal,
[EnumMember(Value = "creditcard")] CreditCard,
... | using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Mollie.Api.Models.Payment {
[JsonConverter(typeof(StringEnumConverter))]
public enum PaymentMethod {
[EnumMember(Value = "ideal")] Ideal,
[EnumMember(Value = "creditcard")] CreditCard,
... | mit | C# |
a15b231d5897f3936cda574c6244fba109f8f4ed | Add basic formatting support to GlobalStatisticsDisplay | EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Statistics/GlobalStatistic.cs | osu.Framework/Statistics/GlobalStatistic.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
namespace osu.Framework.Statistics
{
public class GlobalStatistic<T> : IGlobalStatistic
{
public string Group { get; }
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
namespace osu.Framework.Statistics
{
public class GlobalStatistic<T> : IGlobalStatistic
{
public string Group { get; }
... | mit | C# |
d99408e979baa50e01a22535757934f17990d641 | Fix SkinChanged events triggering after disposal (#5461) | ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,smoogipooo/osu,ZLima12/osu,ZLima12/osu,UselessToucan/osu,2yangk23/osu,peppy/osu-new,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,EVA... | osu.Game/Skinning/SkinReloadableDrawable.cs | osu.Game/Skinning/SkinReloadableDrawable.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Skinning
{
/// <summary>
/// A drawable which has a cal... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Skinning
{
/// <summary>
/// A drawable which has a ca... | mit | C# |
fe825029b472249f39d7afd1c6a899b7680be56a | Add basics to load compiled client app | ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,Kentico/KInspector,Kentico/KInspector | KenticoInspector.WebApplication/Startup.cs | KenticoInspector.WebApplication/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.