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 |
|---|---|---|---|---|---|---|---|---|
e57d9d091c5453eb27b6a8a1ad4ac27861401683 | Add scope and break operation | lury-lang/lury-ir | LuryIR/Compiling/IR/Operation.cs | LuryIR/Compiling/IR/Operation.cs | //
// Operation.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to dea... | //
// Operation.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to dea... | mit | C# |
5ca7862c91245c4633c68d4f6a690fb54d185e3e | Fix hash code to use a tuple. | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | src/StructuredLogViewer.Core/ProjectImport.cs | src/StructuredLogViewer.Core/ProjectImport.cs | using System;
namespace StructuredLogViewer
{
public struct ProjectImport : IEquatable<ProjectImport>
{
public ProjectImport(string importedProject, int line, int column)
{
ProjectPath = importedProject;
Line = line;
Column = column;
}
... | using System;
namespace StructuredLogViewer
{
public struct ProjectImport : IEquatable<ProjectImport>
{
public ProjectImport(string importedProject, int line, int column)
{
ProjectPath = importedProject;
Line = line;
Column = column;
}
... | mit | C# |
7d26c47ef3c6000a9fe4dafa585fefe135ce093c | Improve test name and assertion | jagrem/slang,jagrem/slang,jagrem/slang | tests/Compiler/Clr.Tests/Compilation/CSharp/CSharpAssemblyGeneratorTests.cs | tests/Compiler/Clr.Tests/Compilation/CSharp/CSharpAssemblyGeneratorTests.cs | using System.Reflection;
using FluentAssertions;
using slang.Compiler.Clr.Compilation.Core.Builders;
using slang.Compiler.Clr.Compilation.CSharp;
using Xunit;
namespace Clr.Tests.Compilation.CSharp
{
public class CSharpAssemblyGeneratorTests
{
[Fact]
public void Given_a_defined_module_When_com... | using slang.Compiler.Clr.Compilation.Core.Builders;
using slang.Compiler.Clr.Compilation.CSharp;
using Xunit;
namespace Clr.Tests.Compilation.CSharp
{
public class CSharpAssemblyGeneratorTests
{
[Fact]
public void Given_a_defined_module_When_compiled_Then_a_CLR_class_is_created()
{
... | mit | C# |
19db35501e156ceaaf45f65bb4360dc4d859a68f | Fix incorrect end date usage in timeshift ready button | NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu | osu.Game/Screens/Multi/Timeshift/TimeshiftReadyButton.cs | osu.Game/Screens/Multi/Timeshift/TimeshiftReadyButton.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.Bindables;
using osu.Game.Graphics;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi.Comp... | // 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.Bindables;
using osu.Game.Graphics;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.Multi.Comp... | mit | C# |
8cd2db6cd4acdb7d3b8f4ad1186ca51fb4b03d47 | improve assertion for event senders | mastersign/Mastersign.Tasks | src/LibraryTests/Monitoring/EventHistory.cs | src/LibraryTests/Monitoring/EventHistory.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mastersign.Tasks.Test.Monitors
{
public class EventHistory : ICollection<EventRecord>, ICollection
{
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mastersign.Tasks.Test.Monitors
{
public class EventHistory : ICollection<EventRecord>, ICollection
{
... | mit | C# |
951e68207046a9d83a91fdb9ca35f1b597c4abf8 | remove constant | piotrpMSFT/cli-old,nguerrera/cli,livarcocc/cli-1,livarcocc/cli-1,mylibero/cli,AbhitejJohn/cli,EdwardBlair/cli,krwq/cli,borgdylan/dotnet-cli,anurse/Cli,mylibero/cli,Faizan2304/cli,danquirk/cli,johnbeisner/cli,piotrpMSFT/cli-old,jaredpar/cli,piotrpMSFT/cli-old,jonsequitur/cli,MichaelSimons/cli,MichaelSimons/cli,nguerrera... | src/Microsoft.DotNet.Cli.Utils/Constants.cs | src/Microsoft.DotNet.Cli.Utils/Constants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace Microsoft.DotNet.Cli.Utils
{
internal static class Constants
{
public static readonly string ExeSuffix = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace Microsoft.DotNet.Cli.Utils
{
internal static class Constants
{
public static readonly string ExeSuffix = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ... | mit | C# |
ce4304667d1bf19ba265cbbd7a9e7c87f6dbfaf2 | Fix wrong logic of channel join | gyrosworkshop/Wukong,gyrosworkshop/Wukong | src/Wukong/Controllers/ChannelController.cs | src/Wukong/Controllers/ChannelController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Options;
using System.Security.Claims;
using Wukong.Services;
using Wukong.Models;
using Wukong.Options;
using Microsoft.Extensions.Logging;
namespace Wukong.Controllers
{
[Authori... | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Options;
using System.Security.Claims;
using Wukong.Services;
using Wukong.Models;
using Wukong.Options;
using Microsoft.Extensions.Logging;
namespace Wukong.Controllers
{
[Authori... | mit | C# |
dd7441434d6bb20b277f71627175a9136b8cb889 | Fix lifestyles of job to dispose after each execution | prinzo/Attack-Of-The-Fines-TA15,prinzo/Attack-Of-The-Fines-TA15,prinzo/Attack-Of-The-Fines-TA15 | FineBot/FineBot.Workers/DI/WorkerInstaller.cs | FineBot/FineBot.Workers/DI/WorkerInstaller.cs | using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace FineBot.Workers.DI
{
public class WorkerInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.... | using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace FineBot.Workers.DI
{
public class WorkerInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.... | mit | C# |
72e2797aa10e571ef1b70cefb123829a8378b658 | Disable unit test parallelization | hudl/Mjolnir | Hudl.Mjolnir.Tests/Properties/AssemblyInfo.cs | Hudl.Mjolnir.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hu... | apache-2.0 | C# |
e83d32c1c063118ef6fe9bf0131e231b22636a56 | Delete duplicate CoreFX tests (dotnet/coreclr#20532) | shimingsg/corefx,mmitche/corefx,ptoonen/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,wtgodbe/corefx,BrennanConroy/corefx,shimingsg/corefx,ericstj/corefx,mmitche/corefx,ptoonen/corefx,ptoonen/corefx,wtgodbe/corefx,mmitche/corefx,ericstj/corefx,mmitche/corefx,mmitche/corefx,Br... | src/Common/src/CoreLib/System/AttributeUsageAttribute.cs | src/Common/src/CoreLib/System/AttributeUsageAttribute.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.
/*============================================================
**
**
**
** Purpose: The class denotes how to specify... | // 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.
/*============================================================
**
**
**
** Purpose: The class denotes how to specify... | mit | C# |
85f4b700f3c4939b55ba37560d57532ced0d5e54 | Add missing throw from DatabaseContextFactory.UseContext() | Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Core/DatabaseContextFactory.cs | src/Tgstation.Server.Host/Core/DatabaseContextFactory.cs | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class DatabaseContextFactory : IDatabaseContextFactory
{
/// <summary>
/// The <see cref="IServiceScopeFactory"/> for ... | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class DatabaseContextFactory : IDatabaseContextFactory
{
/// <summary>
/// The <see cref="IServiceScopeFactory"/> for ... | agpl-3.0 | C# |
2419c591c4e2a35a7891f84afc9cafbc17731bf4 | Simplify code. | jamesqo/roslyn,aelij/roslyn,paulvanbrenk/roslyn,sharwell/roslyn,sharwell/roslyn,agocke/roslyn,reaction1989/roslyn,jcouv/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,reaction1989/roslyn,KevinRansom/roslyn,dpoeschl/roslyn,OmarTawfik/roslyn,tannergooding/roslyn,jmarolf/roslyn,KevinRansom/roslyn,dotnet/ros... | src/Workspaces/Core/Portable/VirtualChars/VirtualChar.cs | src/Workspaces/Core/Portable/VirtualChars/VirtualChar.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Virt... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Virt... | mit | C# |
3c01e6122301b3ef6e39773d23c5e28c1224c617 | Make the testcase a bit more interested and avoid fix warnings. | lnu/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,nkreipke/nhibernate-core,ManufacturingIntel... | src/NHibernate.Test/NHSpecificTest/NH3641/TestFixture.cs | src/NHibernate.Test/NHSpecificTest/NH3641/TestFixture.cs | using System.Linq;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH3641
{
public class TestFixture : BugTestCase
{
protected override void OnSetUp()
{
using (var session = OpenSession())
using (var tx = session.BeginTr... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH3641
{
public class TestFixture : BugTestCase
{
protected override void ... | lgpl-2.1 | C# |
88f00fcdffc2f7f41c1377ce51e23469eff23d33 | Update TextAlignmentVertical.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-sh... | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/TextAlignmentVertical.cs | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/TextAlignmentVertical.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class TextAlignmentVertical
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = ... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class TextAlignmentVertical
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Ut... | mit | C# |
c8650ccc7f8016a861272fd2577e8ddb084e0235 | use direct returns | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/SqlPersistence/SynchronizedStorage/StorageAdapter.cs | src/SqlPersistence/SynchronizedStorage/StorageAdapter.cs | using System;
using System.Data.Common;
using System.Data.SqlClient;
using System.Threading.Tasks;
using System.Transactions;
using NServiceBus;
using NServiceBus.Extensibility;
using NServiceBus.Outbox;
using NServiceBus.Persistence;
using NServiceBus.Transport;
class StorageAdapter : ISynchronizedStorageAdapter
{
... | using System;
using System.Data.Common;
using System.Data.SqlClient;
using System.Threading.Tasks;
using System.Transactions;
using NServiceBus;
using NServiceBus.Extensibility;
using NServiceBus.Outbox;
using NServiceBus.Persistence;
using NServiceBus.Transport;
class StorageAdapter : ISynchronizedStorageAdapter
{
... | mit | C# |
a33d8ed413600b23ea06b0ca8dd269bc3f7237a8 | update ChangeCultureTest to pass in any culture :trollface: | thorgeirk11/code-cracker,modulexcite/code-cracker,code-cracker/code-cracker,kindermannhubert/code-cracker,thomaslevesque/code-cracker,dlsteuer/code-cracker,ElemarJR/code-cracker,baks/code-cracker,jwooley/code-cracker,jhancock93/code-cracker,robsonalves/code-cracker,GuilhermeSa/code-cracker,carloscds/code-cracker,dmgand... | test/CSharp/CodeCracker.Test/ChangeCultureTests.cs | test/CSharp/CodeCracker.Test/ChangeCultureTests.cs | #pragma warning disable CC0022 //todo: remove this pragma as soon as CC0022 is fixed (issue #319)
using FluentAssertions;
using Xunit;
namespace CodeCracker.Test.CSharp
{
public class ChangeCultureTests
{
[Fact]
public void ChangesCulture()
{
using (new ChangeCulture("en-US... | #pragma warning disable CC0022 //todo: remove this pragma as soon as CC0022 is fixed (issue #319)
using FluentAssertions;
using Xunit;
namespace CodeCracker.Test.CSharp
{
public class ChangeCultureTests
{
[Fact]
public void ChangesCulture()
{
2.5.ToString().Should().Be("2.5... | apache-2.0 | C# |
74f1f31b4a6089634119f425e3a83e4c85926cef | Delete PayRent in District.cs | iwelina-popova/Blackcurrant-team | MonopolyGame/MonopolyGame/Model/Classes/District.cs | MonopolyGame/MonopolyGame/Model/Classes/District.cs | namespace MonopolyGame.Model.Classes
{
using System;
using System.Linq;
using System.Collections.Generic;
public class District
{
public List<StreetTile> Section { get; set; }
public District()
{
this.Section = new List<StreetTile>();
}
public ... | namespace MonopolyGame.Model.Classes
{
using System;
using System.Linq;
using System.Collections.Generic;
public class District
{
public List<StreetTile> Section { get; set; }
public District()
{
this.Section = new List<StreetTile>();
}
public ... | mit | C# |
076a045ca94c8d74abef0f2aa7593e21144d6368 | Change delay. | vebin/Foundatio,Bartmax/Foundatio,FoundatioFx/Foundatio,wgraham17/Foundatio,exceptionless/Foundatio | src/Core/Tests/Jobs/WithLockingJob.cs | src/Core/Tests/Jobs/WithLockingJob.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Foundatio.Caching;
using Foundatio.Extensions;
using Foundatio.Jobs;
using Foundatio.Lock;
using Xunit;
namespace Foundatio.Tests.Jobs {
public class WithLockingJob : JobBase {
private readonly ILockProvider _locker = new CacheLockP... | using System;
using System.Threading;
using System.Threading.Tasks;
using Foundatio.Caching;
using Foundatio.Extensions;
using Foundatio.Jobs;
using Foundatio.Lock;
using Xunit;
namespace Foundatio.Tests.Jobs {
public class WithLockingJob : JobBase {
private readonly ILockProvider _locker = new CacheLockP... | apache-2.0 | C# |
ade9623f8ec04a764ba9e7816e39f38e9096bbfb | Fix - Cancellazione squadra quando torna in sede | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneStatoSquadra/SetStatoSquadra.cs | src/backend/SO115App.Persistence.MongoDB/GestioneStatoSquadra/SetStatoSquadra.cs | //-----------------------------------------------------------------------
// <copyright file="SetStatoSquadra.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public Lice... | //-----------------------------------------------------------------------
// <copyright file="SetStatoSquadra.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public Lice... | agpl-3.0 | C# |
4f8e912f063b08ed8be5afb2a513d8c804092685 | Fix `APINotification` parsing failing | peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game/Online/API/Requests/Responses/APINotification.cs | osu.Game/Online/API/Requests/Responses/APINotification.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 Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace osu.Game.Online.API.Requests.Responses
{
[JsonObject(MemberSerialization.OptIn)]
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 System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Online.API.Requests.Responses
{
[JsonObject(MemberSerialization.OptIn)]
... | mit | C# |
3b599f94776e3b937bddc866c0ce13e826168d7a | add HasInterestInMma to ListAgencies | CodeForCharlotte/Mentor,CodeForCharlotte/Mentor | src/Mentor/Views/Agency/ListAgencies.cshtml | src/Mentor/Views/Agency/ListAgencies.cshtml | @model List<Agency>
@{
ViewBag._Title = "List Agencies";
}
<h1 class="page-header">@ViewBag._Title</h1>
<div class="form-group">
<form method="POST" enctype="multipart/form-data" action="@Url.Action("ImportAgencies")">
@Html.ActionLink("Add Agency", "EditAgency", null, new { @class = "btn btn-pr... | @model List<Agency>
@{
ViewBag._Title = "List Agencies";
}
<h1 class="page-header">@ViewBag._Title</h1>
<div class="form-group">
<form method="POST" enctype="multipart/form-data" action="@Url.Action("ImportAgencies")">
@Html.ActionLink("Add Agency", "EditAgency", null, new { @class = "btn btn-pr... | mit | C# |
4a0b7acae6daa5a2d049dc0aa268e49b40441791 | Change the title | chuckeles/Udpit | MainForm.Designer.cs | MainForm.Designer.cs | namespace Udpit {
partial class MainForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resource... | namespace Udpit {
partial class MainForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resource... | mit | C# |
a1a9877e772b029626544f184e60aef541b00a6d | Update version. | LogosBible/Leeroy | src/Leeroy/Properties/AssemblyInfo.cs | src/Leeroy/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Leeroy Build Service")]
[assembly: AssemblyDescription("Updates a build git repo when submodules change.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Leeroy")]
[assembly: As... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Leeroy Build Service")]
[assembly: AssemblyDescription("Updates a build git repo when submodules change.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Leeroy")]
[assembly: As... | mit | C# |
e2404c13987e4c70f57016cdbd8ad8b1aacc8514 | Update Security Manager to include Parameters | JoeBurns27/FactoryByReflection | src/Security/Interfaces/ISecurityManager.cs | src/Security/Interfaces/ISecurityManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Jebur27.Security.Interfaces
{
public interface ISecurityManager
{
string UserName { get; set; }
int UserSecurityLevel { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Jebur27.Security.Interfaces
{
public interface ISecurityManager
{
}
}
| mit | C# |
d116a3263d71d2a1783165eaa017c9e63fe8fc47 | Use BigInteger.Zero instead of implicit conversion | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle048.cs | src/ProjectEuler/Puzzles/Puzzle048.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Globalization;
using System.Linq;
using System.Numeri... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Globalization;
using System.Linq;
using System.Numeri... | apache-2.0 | C# |
2354163900f89a8df4f2fbff4387ddbab1a6bbd5 | Change icon for audio settings | 2yangk23/osu,johnneijzen/osu,DrabWeb/osu,2yangk23/osu,EVAST9919/osu,naoey/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,ZLima12/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,DrabWeb/osu,Nabile-Rahmani/osu,peppy/osu,ppy/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,... | osu.Game/Overlays/Settings/Sections/AudioSection.cs | osu.Game/Overlays/Settings/Sections/AudioSection.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Overlays.Settings.Sections.Audio;
namespace osu.Game.Overlays.Settings.Sections
{
pu... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Overlays.Settings.Sections.Audio;
namespace osu.Game.Overlays.Settings.Sections
{
pu... | mit | C# |
f3ff814d277836077a535c2cc67981737718b9f2 | bump version to 4.0 | romansp/MiniProfiler.Elasticsearch | src/MiniProfiler.Elasticsearch/Properties/AssemblyInfo.cs | src/MiniProfiler.Elasticsearch/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("MiniProfiler.Elasticsearch")]
[assembly: AssemblyDescription("Elasticsearch extensions for StackExchange.Profiling - http://miniprofiler.com")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("roman... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("MiniProfiler.Elasticsearch")]
[assembly: AssemblyDescription("Elasticsearch extensions for StackExchange.Profiling - http://miniprofiler.com")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("roman... | mit | C# |
5de063c12cb2cba735571a4014cb0c7762d18337 | Simplify deprecated test. | rob-somerville/riak-dotnet-client,basho/riak-dotnet-client,basho/riak-dotnet-client,rob-somerville/riak-dotnet-client | src/RiakClientTests.Live/DataTypes/BasicMapFlagDtTests.cs | src/RiakClientTests.Live/DataTypes/BasicMapFlagDtTests.cs | // <copyright file="BasicMapFlagDtTests.cs" company="Basho Technologies, Inc.">
// Copyright 2015 - Basho Technologies
//
// This file is provided to you 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... | // <copyright file="BasicMapFlagDtTests.cs" company="Basho Technologies, Inc.">
// Copyright 2015 - Basho Technologies
//
// This file is provided to you 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... | apache-2.0 | C# |
bd3bb063251a19a9da38bf7b1f2752c7be321d73 | Fix mismatched use of MEF 1 and 2 | brettfo/roslyn,mgoertz-msft/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,genlu/roslyn,sharwell/roslyn,nguerrera/roslyn,stephentoub/roslyn,bartdesmet/roslyn,agocke/roslyn,stephentoub/roslyn,tannergooding/roslyn,wvdd007/roslyn,jmarolf/roslyn,ErikSchierboom/roslyn,davkean/roslyn,weltkante/roslyn,eriawan/roslyn,weltkant... | src/EditorFeatures/Core.Wpf/Tags/DefaultImageMonikerService.cs | src/EditorFeatures/Core.Wpf/Tags/DefaultImageMonikerService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Editor.Wpf;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.Imaging.Inter... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Editor.Wpf;
using Microsoft.VisualStudio.Imaging;
using Microsoft.... | mit | C# |
45d51e4c6759aff14c23346d0b4e894aceb8d544 | Add closing message to sample console runner | nspec/NSpec.VsAdapter,BrainCrumbz/NSpec.VsAdapter | src/NSpec.VsAdapter/Test/Samples/AdHocConsoleRunner/Program.cs | src/NSpec.VsAdapter/Test/Samples/AdHocConsoleRunner/Program.cs | using NSpec;
using NSpec.Domain;
using NSpec.Domain.Formatters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AdHocConsoleRunner
{
class Program
{
static void Main(string[] args)
{
var assemblies = new Assembly[]
... | using NSpec;
using NSpec.Domain;
using NSpec.Domain.Formatters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AdHocConsoleRunner
{
class Program
{
static void Main(string[] args)
{
var assemblies = new Assembly[]
... | mit | C# |
b3d1a8400b7a4f716d3c397253dcabe258774730 | Fix TestConnectionSettings | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Tests.Core/Client/Settings/TestConnectionSettings.cs | src/Tests/Tests.Core/Client/Settings/TestConnectionSettings.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Elasticsearch.Net;
using Nest;
using Tests.Configuration;
using Tests.Core.Client.Serializers;
using Tests.Core.Extensions;
using Tests.Core.Xunit;
namespace Tests.Core.Client.Settings
{
public class TestConnectionSett... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Elasticsearch.Net;
using Nest;
using Tests.Configuration;
using Tests.Core.Client.Serializers;
using Tests.Core.Extensions;
using Tests.Core.Xunit;
namespace Tests.Core.Client.Settings
{
public class TestConnectionSett... | apache-2.0 | C# |
25bbfe765f920f92d07865927cae2ea92b7b9bfb | Add comment to class | cPetru/nunit-params,Therzok/nunit,elbaloo/nunit,ArsenShnurkov/nunit,mikkelbu/nunit,dicko2/nunit,modulexcite/nunit,jhamm/nunit,jnm2/nunit,michal-franc/nunit,JustinRChou/nunit,pflugs30/nunit,mikkelbu/nunit,nunit/nunit,akoeplinger/nunit,dicko2/nunit,pcalin/nunit,pflugs30/nunit,nivanov1984/nunit,agray/nunit,michal-franc/nu... | src/framework/NUnit/Framework/Api/DefaultTestAssemblyRunner.cs | src/framework/NUnit/Framework/Api/DefaultTestAssemblyRunner.cs | using System;
using System.Collections;
using System.Threading;
namespace NUnit.Framework.Api
{
/// <summary>
/// Default implementation of ITestAssemblyRunner
/// </summary>
public class DefaultTestAssemblyRunner : ITestAssemblyRunner
{
private ITestAssemblyBuilder builder;
privat... | using System;
using System.Collections;
using System.Threading;
namespace NUnit.Framework.Api
{
public class DefaultTestAssemblyRunner : ITestAssemblyRunner
{
private ITestAssemblyBuilder builder;
private NUnit.Core.TestSuite suite;
private int runnerID;
private Thread runThrea... | mit | C# |
3859e4a5833e2c9a61e80a08b0669a4523648356 | make wait duration configurable | fschwiet/SizSelCsZzz,fschwiet/SizSelCsZzz | SizSelCsZzz/BrowserExtensions.cs | SizSelCsZzz/BrowserExtensions.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
namespace SizSelCsZzz
{
public static class BrowserExtensions
{
public static int MaxWaitMS = 5000;
public static IWebElement WaitForElement(this IWebDri... | using System;
using System.Linq;
using System.Text.RegularExpressions;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
namespace SizSelCsZzz
{
public static class BrowserExtensions
{
public static IWebElement WaitForElement(this IWebDriver browser, By condition)
{
... | mit | C# |
f31ba1bc677db0eb4a7b61c5d1cf011b5cc661c3 | Add null check to Customer.getTokenCustomerID Fixes #8 | eWAYPayment/eway-rapid-net | eWAY.Rapid/Internals/Models/Customer.cs | eWAY.Rapid/Internals/Models/Customer.cs | namespace eWAY.Rapid.Internals.Models
{
internal class Customer
{
public long? TokenCustomerID { get;set; }
public string Reference { get;set; }
public string Title { get;set; }
public string FirstName { get;set; }
public string LastName { get;set; }
public string... | namespace eWAY.Rapid.Internals.Models
{
internal class Customer
{
public long? TokenCustomerID { get;set; }
public string Reference { get;set; }
public string Title { get;set; }
public string FirstName { get;set; }
public string LastName { get;set; }
public string... | mit | C# |
1842f2c756b035f4661d5c5331ac0ebe325ccebc | Add wrapper for environment variables. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/EnvironmentInfo.Others.cs | source/Nuke.Core/EnvironmentInfo.Others.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
#if NETCORE
using System.IO;
#endif
namespace Nuke.Core
{
public static partial class Envi... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
#if NETCORE
using System.IO;
#endif
namespace Nuke.Core
{
public static partial class EnvironmentInfo
{
public static string NewLine => En... | mit | C# |
e0edccc111238b5326453080bffb006785158852 | Set custom notes properly | DMagic1/KSP_Contract_Window | Source/ContractsWindow/PanelInterfaces/parameterUIObject.cs | Source/ContractsWindow/PanelInterfaces/parameterUIObject.cs | using System;
using System.Collections.Generic;
using UnityEngine;
using ContractParser;
using ContractsWindow.Unity.Interfaces;
using ContractsWindow.Unity.Unity;
using ContractsWindow.Unity;
namespace ContractsWindow.PanelInterfaces
{
public class parameterUIObject : IParameterSection
{
private parameterContain... | using System;
using System.Collections.Generic;
using UnityEngine;
using ContractParser;
using ContractsWindow.Unity.Interfaces;
using ContractsWindow.Unity.Unity;
using ContractsWindow.Unity;
namespace ContractsWindow.PanelInterfaces
{
public class parameterUIObject : IParameterSection
{
private parameterContain... | mit | C# |
3a88bf20303235b1f88af58acb98df82fbea5671 | remove trace | pleroy/Principia,Norgg/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia,Norgg/Principia,pleroy/Principia,pleroy/Principia,mockingbirdnest/Principia,Norgg/Principia,eggrobin/Principia,eggrobin/Principia,pleroy/Principia,eggrobin/Principia,Norgg/Principia | ksp_plugin_adapter/optional_marshaler.cs | ksp_plugin_adapter/optional_marshaler.cs | using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace principia {
namespace ksp_plugin_adapter {
public class OptionalMarshaler<T> : ICustomMarshaler where T : struct {
// In addition to implementing the |ICustomMarshaler| interface, custom
// marshalers must implement a stati... | using System;
using System.Globalization;
using System.Runtime.InteropServices;
namespace principia {
namespace ksp_plugin_adapter {
public class OptionalMarshaler<T> : ICustomMarshaler where T : struct {
// In addition to implementing the |ICustomMarshaler| interface, custom
// marshalers must implement a stati... | mit | C# |
af8bfb7c475de12db3d43cb46fce71595954ce5a | update my blog post filter (code has some none PowerShell entries), and my lat/log) | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/KieranJacobsen.cs | src/Firehose.Web/Authors/KieranJacobsen.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KieranJacobsen : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Kieran";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KieranJacobsen : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Kieran";
... | mit | C# |
f0c8702f7ed6685f0fa8311f86eb68427b74ce13 | Remove use of LazyRef | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Identity/EntityFrameworkCore/test/EF.Test/Utilities/ScratchDatabaseFixture.cs | src/Identity/EntityFrameworkCore/test/EF.Test/Utilities/ScratchDatabaseFixture.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.Utilities;
using Microsoft.EntityFrameworkCore.Internal;
namespace Microsoft... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.Utilities;
using Microsoft.EntityFrameworkCore.Internal;
namespace Microsoft... | apache-2.0 | C# |
7f4269b995e44acd73adbda44ce239cf2d3c2344 | Simplify expressino | KirillOsenkov/roslyn,ErikSchierboom/roslyn,CyrusNajmabadi/roslyn,ErikSchierboom/roslyn,tmat/roslyn,mgoertz-msft/roslyn,jmarolf/roslyn,weltkante/roslyn,tmat/roslyn,panopticoncentral/roslyn,jmarolf/roslyn,reaction1989/roslyn,AlekseyTs/roslyn,dotnet/roslyn,davkean/roslyn,aelij/roslyn,weltkante/roslyn,stephentoub/roslyn,ge... | src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationPropertyInfo.cs | src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationPropertyInfo.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.Runtime.CompilerServices;
namespace Microsoft.CodeAnalysis.CodeGeneration
{
internal class CodeGe... | // 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.Runtime.CompilerServices;
namespace Microsoft.CodeAnalysis.CodeGeneration
{
internal class CodeGe... | mit | C# |
4be5ef181efe515edc2b2a78e9712d8794534c87 | Add missing property "self" | Aux/NTwitch,Aux/NTwitch | src/NTwitch.Core/API/Common/TwitchLinks.cs | src/NTwitch.Core/API/Common/TwitchLinks.cs | using Newtonsoft.Json;
namespace NTwitch
{
public class TwitchLinks
{
public string Channel { get; }
public string Users { get; }
public string User { get; }
public string Channels { get; }
public string Chat { get; }
public string Streams { get; }
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch
{
public class TwitchLinks
{
public string Channel { get; }
public string Users { get; }
public string User { get; }
public string Channels { get; }
public... | mit | C# |
ee3162ad71b9609e47a28e4dc1da3c511c01c7be | Fix return | adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress | src/SharpCompress/IO/NonDisposingStream.cs | src/SharpCompress/IO/NonDisposingStream.cs | using System;
using System.IO;
namespace SharpCompress.IO
{
public class NonDisposingStream : Stream
{
public NonDisposingStream(Stream stream, bool throwOnDispose = false)
{
Stream = stream;
ThrowOnDispose = throwOnDispose;
}
public bool ThrowOnDispose... | using System;
using System.IO;
namespace SharpCompress.IO
{
public class NonDisposingStream : Stream
{
public NonDisposingStream(Stream stream, bool throwOnDispose = false)
{
Stream = stream;
ThrowOnDispose = throwOnDispose;
}
public bool ThrowOnDispose... | mit | C# |
534047da60f0accc203447118608bef757f4bf8d | Update sideCamera.cs | lukaspj/sspt,lukaspj/sspt,lukaspj/sspt | modules/cameras/sideCamera.cs | modules/cameras/sideCamera.cs | new ScriptObject(SideCamera);
function SideCamera::init(%this, %client, %group) {
// Create a camera for the client.
%c = new Camera() {
datablock = Observer;
};
// Add to SimGroup if one is given.
if(isObject(%group)) {
%group.add(%c);
}
// Cameras are not ghosted (sent across the n... | new ScriptObject(SideCamera);
function SideCamera::init(%this, %client, %group) {
// Create a camera for the client.
%c = new Camera() {
datablock = Observer;
};
// Add to SimGroup if one is given.
if(isObject(%group)) {
%group.add(%c);
}
// Cameras are not ghosted (sent across the n... | mit | C# |
eab3a788a121b2c593de555461bd5123626776a6 | fix acceptance test for BauTask rename | aarondandy/bau,bau-build/bau,bau-build/bau,huoxudong125/bau,aarondandy/bau,huoxudong125/bau,modulexcite/bau,adamralph/bau,bau-build/bau,huoxudong125/bau,eatdrinksleepcode/bau,modulexcite/bau,eatdrinksleepcode/bau,adamralph/bau,modulexcite/bau,eatdrinksleepcode/bau,adamralph/bau,aarondandy/bau,aarondandy/bau,huoxudong12... | src/test/Bau.Test.Acceptance/InlineTasks.cs | src/test/Bau.Test.Acceptance/InlineTasks.cs | // <copyright file="InlineTasks.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (baubuildch@gmail.com)
// </copyright>
namespace Bau.Test.Acceptance
{
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using Bau.Test.Acceptance.Support... | // <copyright file="InlineTasks.cs" company="Bau contributors">
// Copyright (c) Bau contributors. (baubuildch@gmail.com)
// </copyright>
namespace Bau.Test.Acceptance
{
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using Bau.Test.Acceptance.Support... | mit | C# |
d10f6e043aa05d0cbf8b11c268cee38d47f24e41 | Replace npmcdn.com with unpkg.com | Isdas/buldringno,Isdas/buldringno,Isdas/buldringno,Isdas/buldringno | src/buldringno/Views/Shared/_Layout.cshtml | src/buldringno/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@ViewBag.Title</title>
@*<base href="/">*@
<link href="~/lib/css/bootstrap.css" rel="stylesheet" />
<link ... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@ViewBag.Title</title>
@*<base href="/">*@
<link href="~/lib/css/bootstrap.css" rel="stylesheet" />
<link ... | mit | C# |
e78382d649176de977e966444847e3f71ffcb2e1 | Add ConsoleWhriteLine on Area and Perimeter Methods | ivayloivanof/OOP.CSharp,ivayloivanof/OOP.CSharp | 04.EncapsulationAndPolymorphism/EncapsulationAndPolimophism/Shapes/Program.cs | 04.EncapsulationAndPolymorphism/EncapsulationAndPolimophism/Shapes/Program.cs | using System;
using Shapes.Class;
namespace Shapes
{
using Interfaces;
class Program
{
static void Main()
{
IShape circle = new Circle(4);
Console.WriteLine("circle area: " + circle.CalculateArea());
Console.WriteLine("circle perimeter: " + circle.Calcul... | using System;
using Shapes.Class;
namespace Shapes
{
using Interfaces;
class Program
{
static void Main()
{
IShape circle = new Circle(4);
Console.WriteLine(circle.CalculateArea());
circle.CalculatePerimeter();
IShape triangle = new Triangle(... | cc0-1.0 | C# |
c2b8b79a6ee7892a768e93e60042682169f3a466 | Fix ObjectRepresentation.IsType | daveh551/Highway.Data,daveh551/Highway.Data,daveh551/Highway.Data,daveh551/Highway.Data | Highway/src/Highway.Data/Contexts/TypeRepresentations/ObjectRepresentation.cs | Highway/src/Highway.Data/Contexts/TypeRepresentations/ObjectRepresentation.cs |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Highway.Data.Contexts.TypeRepresentations
{
internal class ObjectRepresentation
{
public ObjectRepresentation()
{
Parents = new Dictionary<object, Accessor>();
}
internal object Entity {... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Highway.Data.Contexts.TypeRepresentations
{
internal class ObjectRepresentation
{
public ObjectRepresentation()
{
Parents = new Dictionary<object, Accessor>();
}
internal object Entity {... | mit | C# |
875fcb67ffe3bf3df14b1afc32bbfe36926fe16b | Test coverage for mapping from nested object-value dictionaries to nested simple type enumerables | agileobjects/AgileMapper | AgileMapper.UnitTests/WhenMappingFromDictionaryMembers.cs | AgileMapper.UnitTests/WhenMappingFromDictionaryMembers.cs | namespace AgileObjects.AgileMapper.UnitTests
{
using System;
using System.Collections.Generic;
using Shouldly;
using TestClasses;
using Xunit;
public class WhenMappingFromDictionaryMembers
{
[Fact]
public void ShouldPopulateANestedStringFromANestedObjectEntry()
{
... | namespace AgileObjects.AgileMapper.UnitTests
{
using System.Collections.Generic;
using Shouldly;
using TestClasses;
using Xunit;
public class WhenMappingFromDictionaryMembers
{
[Fact]
public void ShouldPopulateANestedStringFromANestedObjectEntry()
{
var sour... | mit | C# |
274967e8759fa1cc7d9f65165201c99eb09911e1 | Handle null correctly and syntax cleanup | jherby2k/AudioWorks | AudioWorks/src/AudioWorks.Extensibility/RuntimeChecker.cs | AudioWorks/src/AudioWorks.Extensibility/RuntimeChecker.cs | /* Copyright © 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | /* Copyright © 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | agpl-3.0 | C# |
5caaa50e2cd3698efde1313070a2ba8724ed1f66 | Enable to override the default setting | DotNetKit/DotNetKit.Wpf.AutoCompleteComboBox | DotNetKit.Wpf.AutoCompleteComboBox/Windows/Controls/AutoCompleteComboBoxSetting.cs | DotNetKit.Wpf.AutoCompleteComboBox/Windows/Controls/AutoCompleteComboBoxSetting.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetKit.Windows.Controls
{
/// <summary>
/// Represents an object to configure <see cref="AutoCompleteComboBox"/>.
/// </summary>
public class AutoCompleteComboBoxSetting
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetKit.Windows.Controls
{
/// <summary>
/// Represents an object to configure <see cref="AutoCompleteComboBox"/>.
/// </summary>
public class AutoCompleteComboBoxSetting
... | mit | C# |
05a597e045f5267726315fb78e8a10661356245a | Tweak so it'll send for any non-ignored units | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private static IList<Add... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private static IList<Add... | mit | C# |
0c3ae5d1b54577021a1656cba2dfaa8ee8fb1056 | Fix image previews not available - #610 | braegelno5/Bonobo-Git-Server,kfarnung/Bonobo-Git-Server,RedX2501/Bonobo-Git-Server,crowar/Bonobo-Git-Server,lkho/Bonobo-Git-Server,forgetz/Bonobo-Git-Server,lkho/Bonobo-Git-Server,kfarnung/Bonobo-Git-Server,gencer/Bonobo-Git-Server,forgetz/Bonobo-Git-Server,igoryok-zp/Bonobo-Git-Server,forgetz/Bonobo-Git-Server,gencer/... | Bonobo.Git.Server/Views/Repository/Blob.cshtml | Bonobo.Git.Server/Views/Repository/Blob.cshtml | @using Bonobo.Git.Server.Extensions
@model RepositoryTreeDetailModel
@{
Layout = "~/Views/Repository/_RepositoryLayout.cshtml";
ViewBag.Title = Resources.Repository_Tree_Title;
}
@if (Model != null)
{
@Html.Partial("_BranchSwitcher")
@Html.Partial("_AddressBar")
<div class="blob">
@{
... | @using Bonobo.Git.Server.Extensions
@model RepositoryTreeDetailModel
@{
Layout = "~/Views/Repository/_RepositoryLayout.cshtml";
ViewBag.Title = Resources.Repository_Tree_Title;
}
@if (Model != null)
{
@Html.Partial("_BranchSwitcher")
@Html.Partial("_AddressBar")
<div class="blob">
@{
... | mit | C# |
fefc3f20c27c7419c1a560c91784d4b631ec7022 | allow UseJsonApiWithAutofac to take ILifetimeScope | SphtKr/JSONAPI.NET,JSONAPIdotNET/JSONAPI.NET,danshapir/JSONAPI.NET,SathishN/JSONAPI.NET | JSONAPI.Autofac/HttpConfigurationExtensions.cs | JSONAPI.Autofac/HttpConfigurationExtensions.cs | using System.Web.Http;
using Autofac;
using Autofac.Integration.WebApi;
using JSONAPI.Core;
namespace JSONAPI.Autofac
{
public static class HttpConfigurationExtensions
{
public static void UseJsonApiWithAutofac(this HttpConfiguration httpConfig, ILifetimeScope applicationLifetimeScope)
{
... | using System.Web.Http;
using Autofac;
using Autofac.Integration.WebApi;
using JSONAPI.Core;
namespace JSONAPI.Autofac
{
public static class HttpConfigurationExtensions
{
public static void UseJsonApiWithAutofac(this HttpConfiguration httpConfig, IContainer applicationContainer)
{
v... | mit | C# |
6a9ca74c72a5ec47e906ee876e20272e9c8530d6 | improve fix for asp.net core 502 error | zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,303248153/ZKWeb,zkweb-framework/ZKWeb | ZKWeb/ZKWeb.Hosting.AspNetCore/CoreHttpResponseWrapper.cs | ZKWeb/ZKWeb.Hosting.AspNetCore/CoreHttpResponseWrapper.cs | using System.IO;
using Microsoft.AspNetCore.Http;
using ZKWebStandard.Web;
using System;
namespace ZKWeb.Hosting.AspNetCore {
/// <summary>
/// Http response wrapper for Asp.Net Core
/// </summary>
internal class CoreHttpResponseWrapper : IHttpResponse {
/// <summary>
/// Parent http context
///... | using System.IO;
using Microsoft.AspNetCore.Http;
using ZKWebStandard.Web;
using System;
namespace ZKWeb.Hosting.AspNetCore {
/// <summary>
/// Http response wrapper for Asp.Net Core
/// </summary>
internal class CoreHttpResponseWrapper : IHttpResponse {
/// <summary>
/// Parent http context
///... | mit | C# |
5f6d83963062513ec4bd9027a580d40d72aa0f8a | Make as an obsolete class. | andyshao/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,jtm789/CMS,Kooboo/CMS,Kooboo/CMS,jtm789/CMS,lingxyd/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,jtm789/CMS,andyshao/CMS,techwareone/Kooboo-CMS,Kooboo/CMS,andyshao/CMS | Kooboo.CMS/Kooboo/ApplicationInitialization.cs | Kooboo.CMS/Kooboo/ApplicationInitialization.cs | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
namespace Kooboo
{
/// <summary>
///
/// </summary>
[Obsolete]
public static clas... | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
namespace Kooboo
{
/// <summary>
///
/// </summary>
public static class ApplicationIn... | bsd-3-clause | C# |
1e2fd356650b517eed581dd675f7b146bf964d4a | add new site header | csyntax/BlogSystem | Source/BlogSystem.Web/Views/Shared/_Header.cshtml | Source/BlogSystem.Web/Views/Shared/_Header.cshtml | <header id="site-header">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse" aria-expanded="false">
... | <header>
<div class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
... | mit | C# |
805b2851ba654226bcabf2cc9ecf7fed9b2ee3ba | Add Attributes for DataGridView | techphernalia/MyPersonalAccounts | MyPersonalAccountsModel/Inventory/StockUnit.cs | MyPersonalAccountsModel/Inventory/StockUnit.cs | using System.ComponentModel;
namespace com.techphernalia.MyPersonalAccounts.Model.Inventory
{
/// <summary>
/// Unit for Inventory Items
/// </summary>
public class StockUnit
{
/// <summary>
/// Unique Identifier of Unit
/// </summary>
[Browsable(false)]
pub... | namespace com.techphernalia.MyPersonalAccounts.Model.Inventory
{
/// <summary>
/// Unit for Inventory Items
/// </summary>
public class StockUnit
{
/// <summary>
/// Unique Identifier of Unit
/// </summary>
public int StockUnitId { get; set; }
/// <summary>
... | mit | C# |
4a95b70bae0c961054c2cfbb521cd8003f3e0516 | make QueueSettings constructor public | poxet/Influx-Capacitor,poxet/influxdb-collector | Tharga.Influx-Capacitor/Entities/QueueSettings.cs | Tharga.Influx-Capacitor/Entities/QueueSettings.cs | using Tharga.InfluxCapacitor.Interface;
namespace Tharga.InfluxCapacitor.Entities
{
public class QueueSettings : IQueueSettings
{
public QueueSettings(int flushSecondsInterval = 30, bool dropOnFail = false, int maxQueueSize = 20000)
{
FlushSecondsInterval = flushSecondsInterval;
... | using Tharga.InfluxCapacitor.Interface;
namespace Tharga.InfluxCapacitor.Entities
{
public class QueueSettings : IQueueSettings
{
internal QueueSettings(int flushSecondsInterval, bool dropOnFail, int maxQueueSize)
{
FlushSecondsInterval = flushSecondsInterval;
DropOnFail... | mit | C# |
1cf14a99d4c902001bfdfedd984c35c19d0886c0 | Add missing banner. | drewnoakes/dasher | Dasher.Tests/TestUtils.cs | Dasher.Tests/TestUtils.cs | #region License
//
// Dasher
//
// Copyright 2015 Drew Noakes
//
// 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
//
// Unl... | using System;
namespace Dasher.Tests
{
internal static class TestUtils
{
internal static void CleanUpForPerfTest()
{
GC.Collect(2, GCCollectionMode.Forced);
GC.WaitForFullGCComplete(1000);
GC.WaitForPendingFinalizers();
}
}
} | apache-2.0 | C# |
6cd65661d06faa9bca1d80be02356445441d514d | Implement `ArrayLiteralAst.ToString()` | WimObiwan/Pash,sillvan/Pash,mrward/Pash,WimObiwan/Pash,Jaykul/Pash,JayBazuzi/Pash,ForNeVeR/Pash,ForNeVeR/Pash,Jaykul/Pash,mrward/Pash,sburnicki/Pash,Jaykul/Pash,JayBazuzi/Pash,ForNeVeR/Pash,ForNeVeR/Pash,sburnicki/Pash,JayBazuzi/Pash,JayBazuzi/Pash,Jaykul/Pash,sburnicki/Pash,WimObiwan/Pash,mrward/Pash,sillvan/Pash,WimO... | Source/System.Management/Automation/Language/ArrayLiteralAst.cs | Source/System.Management/Automation/Language/ArrayLiteralAst.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Management.Automation;
namespace System.Management.Automation.Language
{
public class ArrayLiteralAs... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Management.Automation;
namespace System.Management.Automation.Language
{
public class ArrayLiteralAst : ExpressionAst
... | bsd-3-clause | C# |
eabb1556b3ff626874eb2893310d414e9f8afdf9 | Fix Watch ExternalAccess | diryboy/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,dotnet/roslyn,KevinRansom/roslyn,physhi/roslyn,sharwell/roslyn,wvdd007/roslyn,wvdd007/roslyn,diryboy/roslyn,mavasani/roslyn,diryboy/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,mavasani/ros... | src/Tools/ExternalAccess/DotNetWatch/DotNetWatchEditAndContinueWorkspaceService.cs | src/Tools/ExternalAccess/DotNetWatch/DotNetWatchEditAndContinueWorkspaceService.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.Immutable;
using System.Composition;
using System.Threading;
using System.Th... | // 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.Immutable;
using System.Composition;
using System.Threading;
using System.Th... | mit | C# |
83147922f407922f180a0edde8562e6a572003b8 | Remove gun debug logging. | space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/GameObjects/Components/Weapons/Ranged/ClientRangedWeaponComponent.cs | Content.Client/GameObjects/Components/Weapons/Ranged/ClientRangedWeaponComponent.cs | using System;
using Content.Shared.GameObjects.Components.Weapons.Ranged;
using SS14.Shared.Interfaces.Timing;
using SS14.Shared.IoC;
using SS14.Shared.Log;
using SS14.Shared.Map;
namespace Content.Client.GameObjects.Components.Weapons.Ranged
{
public sealed class ClientRangedWeaponComponent : SharedRangedWeaponCo... | using System;
using Content.Shared.GameObjects.Components.Weapons.Ranged;
using SS14.Shared.Interfaces.Timing;
using SS14.Shared.IoC;
using SS14.Shared.Log;
using SS14.Shared.Map;
namespace Content.Client.GameObjects.Components.Weapons.Ranged
{
public sealed class ClientRangedWeaponComponent : SharedRangedWeaponCo... | mit | C# |
d27021d688b0c99b5707a0df0626e4df476d0a78 | Correct Display name | NJWolf/SportsStore | SportsStore.Domain/Entities/ShippingDetails.cs | SportsStore.Domain/Entities/ShippingDetails.cs | using System.ComponentModel.DataAnnotations;
namespace SportsStore.Domain.Entities
{
public class ShippingDetails
{
[Required(ErrorMessage ="Please enter name")]
public string Name { get; set; }
[Required(ErrorMessage ="Please enter address")]
[Display(Name="Line 1")]
... | using System.ComponentModel.DataAnnotations;
namespace SportsStore.Domain.Entities
{
public class ShippingDetails
{
[Required(ErrorMessage ="Please enter name")]
public string Name { get; set; }
[Required(ErrorMessage ="Please enter address")]
public string Line1 { get; set; }... | apache-2.0 | C# |
1d82c43f3446fbab07ee997d7bc2d7a1b4e3d850 | Address feedback. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Extensions/SystemNetExtensions.cs | WalletWasabi/Extensions/SystemNetExtensions.cs | using System.Diagnostics.CodeAnalysis;
namespace System.Net
{
public static class SystemNetExtensions
{
/// <summary>
/// Tries to get port from <paramref name="endPoint"/> which must be either <see cref="DnsEndPoint"/> or <see cref="IPEndPoint"/>.
/// </summary>
/// <returns><c>true</c> when port can be ret... | using System.Diagnostics.CodeAnalysis;
namespace System.Net
{
public static class SystemNetExtensions
{
/// <summary>
/// Tries to get port from <paramref name="endPoint"/> which must be either <see cref="DnsEndPoint"/> or <see cref="IPEndPoint"/>.
/// </summary>
/// <returns><c>true</c> when port can be ret... | mit | C# |
34c7f6e764aa8880acfe228edbfde44a7ef3f861 | Update to return null if XR isn't initialized | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Providers/XRSDK/LoaderHelpers.cs | Assets/MRTK/Providers/XRSDK/LoaderHelpers.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if XR_MANAGEMENT_ENABLED
using UnityEngine.XR.Management;
#endif
namespace Microsoft.MixedReality.Toolkit.XRSDK
{
public static class LoaderHelpers
{
/// <summary>
/// Checks if the active loader has a specific name. U... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if XR_MANAGEMENT_ENABLED
using UnityEngine.XR.Management;
#endif
namespace Microsoft.MixedReality.Toolkit.XRSDK
{
public static class LoaderHelpers
{
/// <summary>
/// Checks if the active loader has a specific name. U... | mit | C# |
b3f537b82fe92f3008ca07944763b1a04e66fe52 | Refactor PlayerMovement | setchi/kagaribi,setchi/kagaribi | Assets/Scripts/Main/Player/PlayerMovement.cs | Assets/Scripts/Main/Player/PlayerMovement.cs | using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections;
using UniRx;
using UniRx.Triggers;
public class PlayerMovement : MonoBehaviour {
[SerializeField] GameObject operationTarget;
[SerializeField] float moveSpeed = 1;
void Awake() {
var touchDownStream = this.UpdateAsObservable()
.... | using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections;
using UniRx;
using UniRx.Triggers;
public class PlayerMovement : MonoBehaviour {
[SerializeField] GameObject operationTarget;
[SerializeField] float moveSpeed = 1;
void Awake() {
var touchDownStream = this.UpdateAsObservable()
.... | mit | C# |
97430790869d926c787eafb93f08763fb5c94a68 | Make the text areas bigger on suta edit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/SUTA/Edit.cshtml | Battery-Commander.Web/Views/SUTA/Edit.cshtml | @model BatteryCommander.Web.Commands.UpdateSUTARequest
@using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.Disp... | @model BatteryCommander.Web.Commands.UpdateSUTARequest
@using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.Disp... | mit | C# |
ee2b341660e33e9cee439199b0cb027f6fba057a | Fix a different error on unit create | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/Reports/Stat.cs | Battery-Commander.Web/Models/Reports/Stat.cs | using System;
using System.ComponentModel.DataAnnotations;
using static BatteryCommander.Web.Models.Soldier;
namespace BatteryCommander.Web.Models.Reports
{
public class Stat
{
public int Assigned { get; set; }
public int Passed { get; set; }
public int Failed { get; set; }
... | using System;
using System.ComponentModel.DataAnnotations;
using static BatteryCommander.Web.Models.Soldier;
namespace BatteryCommander.Web.Models.Reports
{
public class Stat
{
public int Assigned { get; set; }
public int Passed { get; set; }
public int Failed { get; set; }
... | mit | C# |
1bfe44523e7de11475e7be53abe7d0bf9fbf51ca | Add test | sakapon/KLibrary-Labs | CoreLab/UnitTest/Linq/RecursiveHelperTest.cs | CoreLab/UnitTest/Linq/RecursiveHelperTest.cs | using System;
using System.IO;
using System.Linq;
using KLibrary.Labs;
using KLibrary.Labs.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest.Linq
{
[TestClass]
public class RecursiveHelperTest
{
[TestMethod]
public void EnumerateRecursively_Seq()
{
... | using System;
using System.IO;
using System.Linq;
using KLibrary.Labs;
using KLibrary.Labs.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest.Linq
{
[TestClass]
public class RecursiveHelperTest
{
[TestMethod]
public void EnumerateRecursively_Seq()
{
... | mit | C# |
7e83be56b8d4dd5f7f758aae3e92a4146a9203fb | Add ClosingBehavior. | cube-soft/Cube.Core,cube-soft/Cube.Core | Libraries/Sources/Behaviors/CloseBehavior.cs | Libraries/Sources/Behaviors/CloseBehavior.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | apache-2.0 | C# |
0e25b14858db3a9d347bef440712fedfce9004cb | Make repositoryContent readonly | fffej/octokit.net,rlugojr/octokit.net,gdziadkiewicz/octokit.net,cH40z-Lord/octokit.net,ChrisMissal/octokit.net,gdziadkiewicz/octokit.net,shiftkey/octokit.net,octokit-net-test-org/octokit.net,dampir/octokit.net,naveensrinivasan/octokit.net,forki/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,hahmed/octokit.net,th... | Octokit/Models/Response/RepositoryContent.cs | Octokit/Models/Response/RepositoryContent.cs | using System;
using System.Diagnostics;
using Octokit.Internal;
namespace Octokit
{
/// <summary>
/// Represents a piece of content in the repository. This could be a submodule, a symlink, a directory, or a file.
/// Look at the Type property to figure out which one it is.
/// </summary>
[DebuggerD... | using System;
using System.Diagnostics;
using Octokit.Internal;
namespace Octokit
{
/// <summary>
/// Represents a piece of content in the repository. This could be a submodule, a symlink, a directory, or a file.
/// Look at the Type property to figure out which one it is.
/// </summary>
[DebuggerD... | mit | C# |
1029efae792508c8722ba65354eabf68f9c16c3c | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.TrustedDocuments/ValuesOut.cs | RegistryPlugin.TrustedDocuments/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TrustedDocuments
{
public class ValuesOut:IValueOut
{
public ValuesOut(string valueName, DateTimeOffset tstamp, string fileName,string username)
{
EventType = valueName;
Timestamp = tstamp;
... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.TrustedDocuments
{
public class ValuesOut:IValueOut
{
public ValuesOut(string valueName, DateTimeOffset tstamp, string fileName,string username)
{
EventType = valueName;
Timestamp = tstamp;
... | mit | C# |
b0896c45a661e05f224dfab580839564827eea3a | Add missing NotNull annotation | ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework | osu.Framework/Graphics/Containers/GridContainerContent.cs | osu.Framework/Graphics/Containers/GridContainerContent.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 JetBrains.Annotations;
using osu.Framework.Lists;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A wrapper that provides access to the <s... | // 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.Lists;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A wrapper that provides access to the <see cref="GridContainer.Conten... | mit | C# |
460edc4cd9718d7796fd4addf9060be04c764363 | maintain selected items between each showing of dialog | mgj/MvvmCross-Plugins,mgj/MvvmCross-Plugins | Playground.Core/ViewModels/FirstViewModel.cs | Playground.Core/ViewModels/FirstViewModel.cs | using artm.MvxPlugins.Dialog.Services;
using MvvmCross.Core.ViewModels;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Playground.Core.ViewModels
{
public class FirstViewModel
: MvxViewModel
{
private readonly string[] _allItems = new string[] { "a", "b... | using artm.MvxPlugins.Dialog.Services;
using MvvmCross.Core.ViewModels;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Playground.Core.ViewModels
{
public class FirstViewModel
: MvxViewModel
{
public FirstViewModel(IDialogService dialog)
{
... | apache-2.0 | C# |
77a1a260a16bca38d8e1c066b7b3978a9f3af234 | Fix the server list update | DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17 | Proto/Assets/Scripts/UI/OnActivateRefresh.cs | Proto/Assets/Scripts/UI/OnActivateRefresh.cs | using UnityEngine;
public class OnActivateRefresh : MonoBehaviour
{
private ServerUI _serverUi;
private void Start()
{
_serverUi = FindObjectOfType<ServerUI>();
_serverUi.GetServerList();
}
private void OnEnable()
{
if(_serverUi)_serverUi.GetServerList();
}
} | using UnityEngine;
public class OnActivateRefresh : MonoBehaviour
{
private ServerUI _serverUi;
private void Start()
{
_serverUi = FindObjectOfType<ServerUI>();
}
private void OnEnable()
{
_serverUi.GetServerList();
}
} | mit | C# |
6a9b4035055323c92e6c8dde0327fb96208184e3 | make BackupFolder class public | Willster419/RelhaxModpack,Willster419/RelhaxModpack,Willster419/RelicModManager | RelicModManager/UIComponents/BackupFolder.cs | RelicModManager/UIComponents/BackupFolder.cs | using System;
using System.Collections.Generic;
namespace RelhaxModpack
{
public class BackupFolder
{
public string TopfolderName { get; set; } = "";
public List<string> FullnameList { get; set; }
public UInt64 FilesSize { get; set; } = 0;
public UInt64 FilesSizeOnDisk { get; s... | using System;
using System.Collections.Generic;
namespace RelhaxModpack
{
class BackupFolder
{
public string TopfolderName { get; set; } = "";
public List<string> FullnameList { get; set; }
public UInt64 FilesSize { get; set; } = 0;
public UInt64 FilesSizeOnDisk { get; set; } =... | apache-2.0 | C# |
c5f6606818a6ea2bfe7f4afa211cdfe7a228f77e | Update EmailService.cs | Branimir123/FMI-IoT-Teamwork,Branimir123/FMI-IoT-Teamwork | SmartHive/SmartHive.Services/EmailService.cs | SmartHive/SmartHive.Services/EmailService.cs | using System.Net.Mail;
using System.Text;
using System.Net;
using System.Threading.Tasks;
using SmartHive.Services.Contracts;
namespace SmartHive.Services
{
public class EmailService : IEmailService
{
private readonly string companyEmail = "smarthivebg@gmail.com";
private readonly string passwo... | using System.Net.Mail;
using System.Text;
using System.Net;
using System.Threading.Tasks;
namespace SmartHive.Services
{
public class EmailService : IEmailService
{
private readonly string companyEmail = "smarthivebg@gmail.com";
private readonly string password = "123456smart";
public a... | mit | C# |
ffddacdf838c86b61f5b1c91f942fdcfd403ab88 | update connection strings for deprecation | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.Search.Soe/Properties/AssemblyInfo.cs | WebAPI.Search.Soe/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using ESRI.ArcGIS.SOESupport;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WebAPI.Sear... | using System.Reflection;
using System.Runtime.InteropServices;
using ESRI.ArcGIS.SOESupport;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WebAPI.Sear... | mit | C# |
8313949904d684663aa728ae0a9c47d05f87f7e4 | stop walking animation on dialoque start | Hyunkell/LD32 | Assets/StartDialog.cs | Assets/StartDialog.cs | using UnityEngine;
using System.Collections;
public class StartDialog : MonoBehaviour {
void OnTriggerEnter2D(Collider2D other){
var gameObject = other.gameObject;
gameObject.GetComponent<Movement> ().enabled = false;
gameObject.GetComponentInChildren<Animator>().Play("MainCharacterIdle");
var ... | using UnityEngine;
using System.Collections;
public class StartDialog : MonoBehaviour {
void OnTriggerEnter2D(Collider2D other){
var gameObject = other.gameObject;
gameObject.GetComponent<Movement> ().enabled = false;
var dialogue = GetComponent<Dialogue>();
dialogue.BeginDialogue();
}
// Us... | mit | C# |
2227b054732e410b179450f407d1d6e14d81ecd8 | swap public ip address with internal public ip | ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Network/Commands.Network/AzureFirewall/SetAzureFirewallCommand.cs | src/ResourceManager/Network/Commands.Network/AzureFirewall/SetAzureFirewallCommand.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# |
f1a1757fd2b5665a153f4c847f9a5d5b5dc07f21 | Fix test break | ErikEJ/EntityFramework7.SqlServerCompact,ErikEJ/EntityFramework.SqlServerCompact | test/EntityFramework.SqlServerCompact.FunctionalTests/FunkyDataQuerySqlCeFixture.cs | test/EntityFramework.SqlServerCompact.FunctionalTests/FunkyDataQuerySqlCeFixture.cs | using Microsoft.EntityFrameworkCore.Specification.Tests;
using Microsoft.EntityFrameworkCore.Specification.Tests.TestModels.FunkyDataModel;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore.Specification.Tests.Utilities;
namespace Microsoft.EntityF... | using System;
using Microsoft.EntityFrameworkCore.Specification.Tests;
using Microsoft.EntityFrameworkCore.Specification.Tests.TestModels.FunkyDataModel;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Microsoft.EntityFrameworkCore.SqlCe.FunctionalTests
{
public class... | apache-2.0 | C# |
706a73911294613836b52ce0dd3a07309d060cda | Add context menu to select the script of a scriptable object | bitcake/bitstrap | Assets/BitStrap/Plugins/Inspector/Editor/ContextMenus/ScriptableObjectContextMenu.cs | Assets/BitStrap/Plugins/Inspector/Editor/ContextMenus/ScriptableObjectContextMenu.cs | using UnityEditor;
using UnityEngine;
namespace BitStrap
{
public class ScriptableObjectContextMenu
{
[MenuItem("CONTEXT/ScriptableObject/Select Script", false, 10)]
public static void SelectScriptabelObjectScript(MenuCommand menuCommand)
{
var serializedObject = new SerializedObject(menuCommand.context);
... | using UnityEditor;
namespace BitStrap
{
public class ScriptableObjectContextMenu
{
[MenuItem("CONTEXT/ScriptableObject/Select in Project View")]
public static void SelectScriptabelObject(MenuCommand menuCommand)
{
EditorGUIUtility.PingObject(menuCommand.context);
}
}
} | mit | C# |
b8f63e5b1a27ee63d60d9698b0b544c060d2eefb | Add None enum member to flags | json-api-dotnet/JsonApiDotNetCore | test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitionExtensibilityPoints.cs | test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitionExtensibilityPoints.cs | using System;
using JsonApiDotNetCore.Resources;
namespace JsonApiDotNetCoreTests.IntegrationTests
{
/// <summary>
/// Lists the various extensibility points on <see cref="IResourceDefinition{TResource,TId}" />.
/// </summary>
[Flags]
public enum ResourceDefinitionExtensibilityPoints
{
... | using System;
using JsonApiDotNetCore.Resources;
namespace JsonApiDotNetCoreTests.IntegrationTests
{
/// <summary>
/// Lists the various extensibility points on <see cref="IResourceDefinition{TResource,TId}" />.
/// </summary>
[Flags]
public enum ResourceDefinitionExtensibilityPoints
{
... | mit | C# |
26da01e8b3e9fda5dcf29ab5cd4cd1d49699ff91 | Allow 'data-folder' and 'data-directory' config options | bizcad/LeanJJN,StefanoRaggi/Lean,bizcad/Lean,mabeale/Lean,dpavlenkov/Lean,QuantConnect/Lean,dpavlenkov/Lean,AnshulYADAV007/Lean,JKarathiya/Lean,AlexCatarino/Lean,QuantConnect/Lean,devalkeralia/Lean,dpavlenkov/Lean,tomhunter-gh/Lean,bizcad/Lean,Obawoba/Lean,kaffeebrauer/Lean,JKarathiya/Lean,squideyes/Lean,Obawoba/Lean,y... | Common/Constants.cs | Common/Constants.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | apache-2.0 | C# |
28805c89c1383c0953d0b27f7143f519dbb8c72e | support line mapping in find usages | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Roslyn.CSharp/Helpers/LocationExtensions.cs | src/OmniSharp.Roslyn.CSharp/Helpers/LocationExtensions.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using OmniSharp.Models;
namespace OmniSharp.Helpers
{
public static class LocationExtensions
{
public static QuickFix GetQuickFix(this Location location, OmniSharpWorkspace workspace)
{
if ... | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using OmniSharp.Models;
namespace OmniSharp.Helpers
{
public static class LocationExtensions
{
public static QuickFix GetQuickFix(this Location location, OmniSharpWorkspace workspace)
{
if ... | mit | C# |
84dbd0882a0428e8bac5cd9b2f607c027617d07c | Add a null check. | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | src/StructuredLogViewer/SourceFiles/SourceFileResolver.cs | src/StructuredLogViewer/SourceFiles/SourceFileResolver.cs | using System.Collections.Generic;
namespace StructuredLogViewer
{
public class SourceFileResolver : ISourceFileResolver
{
private readonly IEnumerable<ISourceFileResolver> resolvers = new[]
{
new LocalSourceFileResolver()
};
public string GetSourceFileTe... | using System.Collections.Generic;
namespace StructuredLogViewer
{
public class SourceFileResolver : ISourceFileResolver
{
private readonly IEnumerable<ISourceFileResolver> resolvers = new[]
{
new LocalSourceFileResolver()
};
public string GetSourceFileTe... | mit | C# |
df9de7a8ddee1986df712deb138c7d4238f41bed | Remove null check that is not required anymore | UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu | osu.Game.Rulesets.Catch/Skinning/Default/CatchHitObjectPiece.cs | osu.Game.Rulesets.Catch/Skinning/Default/CatchHitObjectPiece.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets... | mit | C# |
4bd9692dad155fc9da56b95f9707544199fc04a9 | Make querying successors and predeccors fail explicitly | beardgame/utilities | src/Graphs/AdjacencyListDirectedGraph.cs | src/Graphs/AdjacencyListDirectedGraph.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Bearded.Utilities.Graphs
{
class AdjacencyListDirectedGraph<T> : IDirectedGraph<T> where T : IEquatable<T>
{
private readonly ImmutableList<T> elements;
private readonly ImmutableDictionary<T, Immutab... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Bearded.Utilities.Graphs
{
class AdjacencyListDirectedGraph<T> : IDirectedGraph<T> where T : IEquatable<T>
{
private readonly ImmutableList<T> elements;
private readonly ImmutableDictionary<T, Immutab... | mit | C# |
f90eae109a8a7706915f59e3ac2f46913ce625b3 | fix condition | serenabenny/Caliburn.Micro,Caliburn-Micro/Caliburn.Micro | src/Caliburn.Micro.Core/DefaultCloseStrategy.cs | src/Caliburn.Micro.Core/DefaultCloseStrategy.cs | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Caliburn.Micro
{
/// <summary>
/// Used to gather the results from multiple child elements which may or may not prevent closing.
/// </summary>
/// <typeparam name="T">The type of child element.</typepara... | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Caliburn.Micro
{
/// <summary>
/// Used to gather the results from multiple child elements which may or may not prevent closing.
/// </summary>
/// <typeparam name="T">The type of child element.</typepara... | mit | C# |
951a52a578611cd603917ebb695df293a5377810 | Update SettingSuperScriptEffect.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.... | Examples/CSharp/Formatting/DealingWithFontSettings/SettingSuperScriptEffect.cs | Examples/CSharp/Formatting/DealingWithFontSettings/SettingSuperScriptEffect.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings
{
public class SettingSuperScriptEffect
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = As... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings
{
public class SettingSuperScriptEffect
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Util... | mit | C# |
9e0d47f8ee03df36010714487afb0b555fd7a7b7 | Update StaticDirectoryContent.cs | cgourlay/Nancy,khellang/Nancy,vladlopes/Nancy,xt0rted/Nancy,Crisfole/Nancy,murador/Nancy,VQComms/Nancy,sroylance/Nancy,thecodejunkie/Nancy,jeff-pang/Nancy,jongleur1983/Nancy,Worthaboutapig/Nancy,jonathanfoster/Nancy,albertjan/Nancy,NancyFx/Nancy,thecodejunkie/Nancy,albertjan/Nancy,wtilton/Nancy,tparnell8/Nancy,anton-go... | src/Nancy/Conventions/StaticDirectoryContent.cs | src/Nancy/Conventions/StaticDirectoryContent.cs | namespace Nancy.Conventions
{
/// <summary>
/// Nancy static directory convention helper
/// </summary>
public class StaticDirectoryContent
{
private readonly NancyConventions conventions;
/// <summary>
/// Creates a new instance of StaticDirectoryContent
... | namespace Nancy.Conventions
{
/// <summary>
/// Nancy static directory convention helper
/// </summary>
public class StaticDirectoryContent
{
NancyConventions conventions;
/// <summary>
/// Creates a new instance of StaticDirectoryContent
/// </summary>
... | mit | C# |
120fa0def062ddf5980071971c21589a9a64fa3d | fix console log time format | xakep139/nuclear-river,xakep139/nuclear-river,2gis/nuclear-river,2gis/nuclear-river-validation-rules,2gis/nuclear-river | StateInitialization/StateInitialization.Core/Actors/SequentialPipelineActor.cs | StateInitialization/StateInitialization.Core/Actors/SequentialPipelineActor.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NuClear.Replication.Core;
using NuClear.Replication.Core.Actors;
namespace NuClear.StateInitialization.Core.Actors
{
internal sealed class SequentialPipelineActor : IActor
{
private readonly IReadOnlyCo... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NuClear.Replication.Core;
using NuClear.Replication.Core.Actors;
namespace NuClear.StateInitialization.Core.Actors
{
internal sealed class SequentialPipelineActor : IActor
{
private readonly IReadOnlyCo... | mpl-2.0 | C# |
4916d91e057297ea04bef7b0f289dafa2a91ed0b | Fix for #108 - Entity properties are tracked and don't need to call DbSet<>.Update(entity) | JasonGT/NorthwindTraders,JasonGT/NorthwindTraders,JasonGT/NorthwindTraders,JasonGT/NorthwindTraders | Northwind.Application/Customers/Commands/UpdateCustomer/UpdateCustomerCommandHandler.cs | Northwind.Application/Customers/Commands/UpdateCustomer/UpdateCustomerCommandHandler.cs | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Northwind.Application.Exceptions;
using Northwind.Application.Interfaces;
using Northwind.Domain.Entities;
namespace Northwind.Application.Customers.Commands.UpdateCustomer
{
public class UpdateCustomer... | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Northwind.Application.Exceptions;
using Northwind.Application.Interfaces;
using Northwind.Domain.Entities;
namespace Northwind.Application.Customers.Commands.UpdateCustomer
{
public class UpdateCustomer... | mit | C# |
af617d559f27fab1687e356260d65e312ef8a4b7 | Fix type name in exception message for HasUniqueDomainSignature | alphacloud/Sharp-Architecture,ysdiong/Sharp-Architecture,chenkaibin/Sharp-Architecture | Solutions/SharpArch.NHibernate/NHibernateValidator/HasUniqueDomainSignatureAttribute.cs | Solutions/SharpArch.NHibernate/NHibernateValidator/HasUniqueDomainSignatureAttribute.cs | namespace SharpArch.NHibernate.NHibernateValidator
{
using System.ComponentModel.DataAnnotations;
using SharpArch.Domain;
using SharpArch.Domain.DomainModel;
using SharpArch.Domain.PersistenceSupport;
/// <summary>
/// Provides a class level validator for determining if the entity has a u... | namespace SharpArch.NHibernate.NHibernateValidator
{
using System.ComponentModel.DataAnnotations;
using SharpArch.Domain;
using SharpArch.Domain.DomainModel;
using SharpArch.Domain.PersistenceSupport;
/// <summary>
/// Provides a class level validator for determining if the entity has a u... | bsd-3-clause | C# |
5f0a8a361dfbb41d052a3f964b4407a470e58099 | fix array type conversion | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/ValueConversion/CsvValueConverter.cs | src/Stronk/ValueConversion/CsvValueConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Stronk.ValueConversion
{
public class CsvValueConverter : IValueConverter
{
public bool CanMap(Type target)
{
if (target == typeof(string))
return false;
if (IsIEnumerable(target))
return true;
return GetGenericInter... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Stronk.ValueConversion
{
public class CsvValueConverter : IValueConverter
{
public bool CanMap(Type target)
{
if (target == typeof(string))
return false;
if (IsIEnumerable(target))
return true;
return GetGenericInter... | lgpl-2.1 | C# |
6ce813ea1de55714fe790c32a3c9e4291f7058f7 | Fix "broken" User tests | awseward/Bugsnag.NET,awseward/Bugsnag.NET | Bugsnag.NET.Tests/Request/UserTests.cs | Bugsnag.NET.Tests/Request/UserTests.cs | using Bugsnag.NET.Request;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bugsnag.Common;
namespace Bugsnag.NET.Tests.Request
{
class UserTests
{
static Guid _guidId = Guid.Parse("72eae7d5-b3c9-43fd-8fa6-... | using Bugsnag.NET.Request;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bugsnag.Common;
namespace Bugsnag.NET.Tests.Request
{
class UserTests
{
static Guid _guidId = Guid.NewGuid();
static strin... | mit | C# |
b6a0b278c8f7e237b548319e4b7f9c05fd546d7f | Fix dependency context bugs | karajas/core-setup,rakeshsinghranchi/core-setup,joperezr/core-setup,gkhanna79/core-setup,janvorli/core-setup,MichaelSimons/core-setup,weshaggard/core-setup,cakine/core-setup,ericstj/core-setup,ramarag/core-setup,steveharter/core-setup,ericstj/core-setup,gkhanna79/core-setup,schellap/core-setup,steveharter/core-setup,Mi... | CompilationLibrary.cs | CompilationLibrary.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace Microsoft.Extensions.DependencyModel
{
p... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
namespace Microsoft.Extensions.DependencyModel
{
p... | mit | C# |
0195d654cacb2e496ce7cc2b3c3b3991111eabb3 | Increase the precision of speed multiplier to match osu-stable | peppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu | osu.Game/Beatmaps/ControlPoints/DifficultyControlPoint.cs | osu.Game/Beatmaps/ControlPoints/DifficultyControlPoint.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;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Beatmaps.ControlPoints
{
public class DifficultyControlPoint : Contr... | // 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;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Beatmaps.ControlPoints
{
public class DifficultyControlPoint : Contr... | mit | C# |
0ff9ed3342be95d43ff737a979114e532b95e000 | Update InputListener.cs | ghandhikus/Xna-Basic-Input-Detection | Code/InputControlling/InputListener.cs | Code/InputControlling/InputListener.cs | #region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
#endregion
namespace MapEditor
{
class InputListener
{
virtual public void Down(GameTime gameTime) { }
virtual public void Up(GameTime gameTime) { }
... | #region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
#endregion
namespace Game
{
class InputListener
{
virtual public void Down() { }
virtual public void Up() { }
virtual public void Click() { }
... | apache-2.0 | C# |
94dd2d4e228fc821b6f44c0cc0465834abe76bd4 | Fix typos in the tests | cloudfoundry/IronFrame,cloudfoundry-incubator/IronFrame,cloudfoundry/IronFrame,cloudfoundry-incubator/IronFrame,stefanschneider/IronFrame,stefanschneider/IronFrame | IronFrame.Test/FirewallRuleSpecTest.cs | IronFrame.Test/FirewallRuleSpecTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace IronFrame
{
public class FirewallRuleSpecTest
{
[Fact]
public void TestRemoteAddresses()
{
var firewallRuleSpec = new FirewallRuleSpec... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace IronFrame
{
public class FirewallRuleSpecTest
{
[Fact]
public void TestRemoteAddresses()
{
var firewallRuleSpec = new FirewallRuleSpec... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.