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 |
|---|---|---|---|---|---|---|---|---|
1848cd39b81bc1321652a7110a108bcf360a8ee3 | allow multiple index | Ackara/Daterpillar | src/Daterpillar/Modeling/Attributes/IndexAttribute.cs | src/Daterpillar/Modeling/Attributes/IndexAttribute.cs | using System;
namespace Acklann.Daterpillar.Modeling.Attributes
{
/// <summary>
/// Indicates that a public field or property represents a SQL index. This class cannot be inherited.
/// </summary>
/// <seealso cref="Attribute" />
[AttributeUsage((AttributeTargets.Property | AttributeTargets.Field)... | using System;
namespace Acklann.Daterpillar.Modeling.Attributes
{
/// <summary>
/// Indicates that a public field or property represents a SQL index. This class cannot be inherited.
/// </summary>
/// <seealso cref="Attribute" />
[AttributeUsage((AttributeTargets.Property | AttributeTargets.Field)... | mit | C# |
1afeae00581d64eb870694697a98ae0e5ec7673d | fix registered office mapping | crackalak/CompaniesHouse | CompaniesHouse/Models/RegisteredOfficeAddress.cs | CompaniesHouse/Models/RegisteredOfficeAddress.cs | using RestSharp.Deserializers;
using System;
using System.Runtime.InteropServices;
namespace CompaniesHouse.Models
{
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[Guid("AB452CBA-8ED3-461C-86F3-F7B1A70E3C40")]
public class RegisteredOfficeAddress : IRegisteredOfficeAddress
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace CompaniesHouse.Models
{
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[Guid("AB452CBA-8ED3-461C-86F3-F7B1A70E3C40")]
public... | unlicense | C# |
42c79520d112e307ac320ffc686baaae20870d48 | Fix for using Length before GetPosition. | y-a-r-g/unity-curvee | Curve.cs | Curve.cs | using UnityEngine;
public abstract class Curve : ICurve {
protected abstract Vector3 GetPositionImpl(float u);
protected abstract float LengthImpl { get; }
public static readonly Vector3 DefaultUpVector = Vector3.up;
protected bool Invalid { get; private set; }
private float _length;
public float Length { ... | using UnityEngine;
public abstract class Curve : ICurve {
protected abstract Vector3 GetPositionImpl(float u);
protected abstract float LengthImpl { get; }
public static readonly Vector3 DefaultUpVector = Vector3.up;
protected bool Invalid { get; private set; }
public float Length { get; private set; }
pro... | apache-2.0 | C# |
c165ba17501626561297a80fe1b05b2400ce8014 | use AnyCPU for S390x, fixes #1711 (#1996) | PerfDotNet/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet | src/BenchmarkDotNet/Extensions/ConfigurationExtensions.cs | src/BenchmarkDotNet/Extensions/ConfigurationExtensions.cs | using BenchmarkDotNet.Environments;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Extensions
{
public static class ConfigurationExtensions
{
[PublicAPI]
public static string ToConfig(this Platform platform)
{
switch (platform)
{
case Pla... | using BenchmarkDotNet.Environments;
using JetBrains.Annotations;
namespace BenchmarkDotNet.Extensions
{
public static class ConfigurationExtensions
{
[PublicAPI]
public static string ToConfig(this Platform platform)
{
switch (platform)
{
case Pla... | mit | C# |
d2709f6022262bbe2ed7d630b3cfe395423fcd75 | remove extra condition | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs | src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs | using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace GitHub.VisualStudio
{
[Export(typeof(IActiveDocumentSnapshot))]
[PartCreationPolicy(CreationPolicy.NonS... | using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace GitHub.VisualStudio
{
[Export(typeof(IActiveDocumentSnapshot))]
[PartCreationPolicy(CreationPolicy.NonS... | mit | C# |
4e399627ec987be1cba783b9b703e2897a0886a3 | add domain descriptions | LagoVista/DeviceAdmin | src/LagoVista.IoT.DeviceAdmin/Models/DeviceAdminDomain.cs | src/LagoVista.IoT.DeviceAdmin/Models/DeviceAdminDomain.cs | using LagoVista.Core.Attributes;
using LagoVista.Core.Models.UIMetaData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[DomainDescriptor]
public class DeviceAdminDomainMetaData
{
//[DomainDescription(Na... | using LagoVista.Core.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[DomainDescriptor]
public class DeviceAdminDomain
{
//[DomainDescription(Name: "Device Admin", Description: "Models for wor... | mit | C# |
99922620236787d2e12657f13083c3aae36efc58 | Add methods | sakapon/Samples-2017 | DrawingSample/BitmapScaleConsole/BitmapHelper.cs | DrawingSample/BitmapScaleConsole/BitmapHelper.cs | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
namespace BitmapScaleConsole
{
public static class BitmapHelper
{
public static Bitmap GetScreenBitmap(int x, int y, int width, int height)
{
var bitmap = ... | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace BitmapScaleConsole
{
public static class BitmapHelper
{
public static Bitmap GetScreenBitmap(int x, int y, int width, int height)
{
var bitmap = new Bitmap(width, height);
using (... | mit | C# |
63257491da6c222b00f0fc4c2257c1ba7c5a1515 | Add ICanBeDisabled to IBindableCollection<T> | ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework... | osu.Framework/Configuration/IBindableCollection.cs | osu.Framework/Configuration/IBindableCollection.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
namespace osu.Framework.Configuration
{
/// <summary>
/// An readonly interface which can be bound to... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Collections.Generic;
namespace osu.Framework.Configuration
{
/// <summary>
/// An readonly interface which can be bound to... | mit | C# |
52f4c84fa51d9651c245018a0855e04d39673d26 | Return NotFound on invalid team ID's | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Web/Areas/Teams/BaseController.cs | SupportManager.Web/Areas/Teams/BaseController.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Areas.Teams
{
[Area("Teams")]
[Authorize]
public abstract class BaseController : Controller
{
p... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Areas.Teams
{
[Area("Teams")]
[Authorize]
public abstract class BaseController : Controller
{
p... | mit | C# |
814d4550ad96e7e54bf8045171d12db613d3d8ae | Fix ifdef | MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthikna... | src/Package/Impl/ProjectSystem/ProjectTreeModifier.cs | src/Package/Impl/ProjectSystem/ProjectTreeModifier.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if VS14
using System.ComponentModel.Composition;
using System.IO;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.ProjectSystem.Designers;
using M... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if VS14
using System.ComponentModel.Composition;
using System.IO;
using System.Windows.Forms;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.Imag... | mit | C# |
c6af78e9aabac57d770c4d9df090ecd7110c18c2 | update assembly info for pre3 | dansiegel/Prism.Plugin.Popups,dansiegel/Prism.Plugin.Popups | src/Prism.Plugin.Popups.Shared/AssemblyInfo-Shared.cs | src/Prism.Plugin.Popups.Shared/AssemblyInfo-Shared.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "AvantiPoint, LLC" )]
[assembly: AssemblyCopyright( "Copyright © Dan Siegel 2017" )]
[assembly: NeutralResourcesLanguage( "en" )]
[assembly: AssemblyVersion( "1.1.0.0" )]
[assembly: AssemblyFileVersion( "1.1.0.0" )]
[assembly: AssemblyInfor... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "AvantiPoint, LLC" )]
[assembly: AssemblyCopyright( "Copyright © Dan Siegel 2016" )]
[assembly: NeutralResourcesLanguage( "en" )]
[assembly: AssemblyVersion( "1.1.0.0" )]
[assembly: AssemblyFileVersion( "1.1.0.0" )]
[assembly: AssemblyInfor... | mit | C# |
87b1d6ee1ab6ca3fbd4a3327a7b89e819a0b59d4 | Fix verbose | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | Server/System/BackupSystem.cs | Server/System/BackupSystem.cs | using Server.Context;
using Server.Log;
using Server.Settings;
using System.Threading;
using System.Threading.Tasks;
namespace Server.System
{
public class BackupSystem
{
public static async void PerformBackups(CancellationToken token)
{
while (ServerContext.ServerRunning)
... | using Server.Context;
using Server.Log;
using Server.Settings;
using System.Threading;
using System.Threading.Tasks;
namespace Server.System
{
public class BackupSystem
{
public static async void PerformBackups(CancellationToken token)
{
LunaLog.Debug("Performing backups to files..... | mit | C# |
5ff8ef1f354242463817c2eb6355878879792d18 | Fix resizing oddities | robmikh/netcore-game | src/Game.cs | src/Game.cs | using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace netcoregame
{
class Game : GameWindow
{
public Game(int width, int height) : base(width, height)
{
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
_... | using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace netcoregame
{
class Game : GameWindow
{
public Game(int width, int height) : base(width, height)
{
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
_texture = Tex... | mit | C# |
ef43bd99802605d33c0acd8d79068fb4b68eee3a | 修正增量Injection下,将来lua重写C#代码,可能会导致老版本的客户端报错的BUG | topameng/tolua | Assets/ToLua/Injection/LuaInjectionStation.cs | Assets/ToLua/Injection/LuaInjectionStation.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace LuaInterface
{
[Flags]
public enum InjectType
{
None = 0,
After = 1,
Before = 1 << 1,
Replace = 1 << 2,
ReplaceWithPreInvokeBase = 1 << 3,
ReplaceWithPostInvokeBase = 1 << 4
... | using System;
using System.Collections;
using System.Collections.Generic;
namespace LuaInterface
{
[Flags]
public enum InjectType
{
None = 0,
After = 1,
Before = 1 << 1,
Replace = 1 << 2,
ReplaceWithPreInvokeBase = 1 << 3,
ReplaceWithPostInvokeBase = 1 << 4
... | mit | C# |
8dc0a83caf0d345caec4240f49f11c45479ce32c | Add global exception handling | peasy/Peasy.NET,peasy/Samples,ahanusa/Peasy.NET,peasy/Samples,ahanusa/facile.net,peasy/Samples | Orders.com.WPF/App.xaml.cs | Orders.com.WPF/App.xaml.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Orders.com.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Orders.com.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... | mit | C# |
0ad522376a01e045658b7364a5b4f2c417270100 | Add exception code | sakapon/KLibrary-Labs | CoreLab/Core/Collections/LimitedCollection.cs | CoreLab/Core/Collections/LimitedCollection.cs | using System;
using System.Collections.ObjectModel;
namespace KLibrary.Labs.Collections
{
public class LimitedCollection<T> : Collection<T>
{
public int? MaxCount { get; private set; }
public bool IsFull
{
get { return Count == MaxCount; }
}
public T First... | using System;
using System.Collections.ObjectModel;
namespace KLibrary.Labs.Collections
{
public class LimitedCollection<T> : Collection<T>
{
public int? MaxCount { get; private set; }
public bool IsFull
{
get { return Count == MaxCount; }
}
public T First... | mit | C# |
bac25d5a29695c3c8a7677c78311724dc4c0c951 | remove unused extension method | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped/Vector3Extensions.cs | DynamixelServo.Quadruped/Vector3Extensions.cs | using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
float len = vector.Length();
return new Vector3(vector.X / len, vector.Y / len, vector.Z / len);
}
pu... | using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
float len = vector.Length();
return new Vector3(vector.X / len, vector.Y / len, vector.Z / len);
}
pu... | apache-2.0 | C# |
46018b46cc5f6d69fa70f1f01c1b1d4610efc4c7 | Update version to 1.4.0 | anonymousthing/ListenMoeClient | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Listen.moe Client")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Listen.moe Client")]
[assembly: Ass... | mit | C# |
44391b8565838377d5813e3aef8893a35c0fa2cb | Update AssemblyInfo.cs | isign/gateway-dotnet-example | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Do... | 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("Do... | mit | C# |
6549aa5b2a1ca084d4f813b8ea9061b5e4068f24 | Change some lines in compiler. Test commit | StiventoUser/ALang | Compiler.cs | Compiler.cs | using System;
using System.IO;
using System.Diagnostics;
/// <summary>
/// It's a compiler class
/// </summary>
public sealed class Compiler
{
/// <summary>
/// Execute operations using arguments
/// </summary>
/// <param name="args">Compiler arguments</param>
//TODO: arguments documentation
pu... | using System;
using System.IO;
using System.Diagnostics;
/// <summary>
/// It's a compiler class
/// </summary>
public sealed class Compiler
{
/// <summary>
/// Execute operations using arguments
/// </summary>
/// <param name="args">Compiler arguments</param>
//TODO: arguments documentation
pu... | mit | C# |
65c3a1dfa1d4d449d30cd1d676584034a341f79f | Read file before the reader is disposed | KevinRansom/roslyn,eriawan/roslyn,mavasani/roslyn,weltkante/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,dotnet/roslyn,bartdesmet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,Cyru... | src/VisualStudio/Core/Def/Implementation/UnusedReferences/ProjectAssets/ProjectAssetsFileReader.cs | src/VisualStudio/Core/Def/Implementation/UnusedReferences/ProjectAssets/ProjectAssetsFileReader.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Sha... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.IO;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Sha... | mit | C# |
11ae19654e7145a6929af70d817d4700c12ad5fe | Remove import for empty script file | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped.WebInterface/Pages/_Layout.cshtml | DynamixelServo.Quadruped.WebInterface/Pages/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Quadruped WebInterface</title>
<link rel="stylesheet" href="~/css/site.css" />
@*<script src="~/js/site.min.js"></script>*@
</head>
<body>
@Ren... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Quadruped WebInterface</title>
<link rel="stylesheet" href="~/css/site.css" />
<script src="~/js/site.min.js"></script>
</head>
<body>
@RenderB... | apache-2.0 | C# |
4f82a768fc31febeac28bc8c36419acdec14c676 | Fix code style | oxyplot/documentation-examples | ExampleGenerator/Series/StemSeriesExamples.cs | ExampleGenerator/Series/StemSeriesExamples.cs | namespace ExampleGenerator
{
using System;
using OxyPlot;
using OxyPlot.Axes;
using OxyPlot.Series;
public class StemSeriesExamples
{
[Export("Series/StemSeries")]
public static PlotModel StemSeries()
{
var model = new PlotModel{ Title = "Trigonometric func... | namespace ExampleGenerator {
using System;
using OxyPlot;
using OxyPlot.Axes;
using OxyPlot.Series;
public class StemSeriesExamples {
[Export("Series/StemSeries")]
public static PlotModel StemSeries() {
var model = new PlotModel{ Title = "Trigonometric functions" };
var start = -Math.PI;
var end =... | mit | C# |
b3f8fd4f77013c4a593c4385fb414654677a5429 | Fix display of argument name (long name) | rpaquay/mtsuite | src/shared/CommandLine/ArgumentUsageSummaryBuilder.cs | src/shared/CommandLine/ArgumentUsageSummaryBuilder.cs | // Copyright 2015 Renaud Paquay All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | // Copyright 2015 Renaud Paquay All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | apache-2.0 | C# |
df63fe615f6c6bee0c506a8e87eb61ffb41a5853 | Fix VV Verb on entities that don't exist on the client (#6187) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/Administration/AdminVerbSystem.cs | Content.Client/Administration/AdminVerbSystem.cs | using Content.Shared.Verbs;
using Robust.Client.Console;
using Robust.Client.ViewVariables;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.Verbs
{
/// <summary>
/// Client-side admin verb system. These usually open some sort of UIs.
/// </summary>
class AdminVerb... | using Content.Shared.Verbs;
using Robust.Client.Console;
using Robust.Client.ViewVariables;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.Verbs
{
/// <summary>
/// Client-side admin verb system. These usually open some sort of UIs.
/// </summary>
class AdminVerb... | mit | C# |
61d6dffc6256bf1ef1e86cefc25ada2bf9705c02 | Add KnownBug attribute. | alobakov/nhibernate-core,nhibernate/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nh... | src/NHibernate.Test/NHSpecificTest/NH3455/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH3455/Fixture.cs | using NHibernate.Transform;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH3455
{
[TestFixture]
public class Fixture : BugTestCase
{
protected override void OnSetUp()
{
using (var session = OpenSession())
using (var transaction = session.BeginTransaction())
{
var e1... | using NHibernate.Transform;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH3455
{
[TestFixture]
public class Fixture : BugTestCase
{
protected override void OnSetUp()
{
using (var session = OpenSession())
using (var transaction = session.BeginTransaction())
{
var e1... | lgpl-2.1 | C# |
05777646c714606ad50014e67e256966274a12d9 | Improve wording of an exception | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Core/ServerPortProivder.cs | src/Tgstation.Server.Host/Core/ServerPortProivder.cs | using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class ServerPortProivder : IServerPortProvider
{
/// <inheritdoc />
public ushort HttpApiPort { get; }
/// <summary>
/// Initializes a new instance of the <see cref="... | using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class ServerPortProivder : IServerPortProvider
{
/// <inheritdoc />
public ushort HttpApiPort { get; }
/// <summary>
/// Initializes a new instance of the <see cref="... | agpl-3.0 | C# |
fd1624ea2819f6fb5bf029a55ad5c3c638bd342c | Improve ServerPortProvider code | tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Core/ServerPortProivder.cs | src/Tgstation.Server.Host/Core/ServerPortProivder.cs | using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class ServerPortProivder : IServerPortProvider
{
/// <inheritdoc />
public ushort HttpApiPort { get; }
/// <summary>
/// Initializes a new instance of the <see cref="... | using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class ServerPortProivder : IServerPortProvider
{
/// <inheritdoc />
public ushort HttpApiPort { get; }
/// <summary>
/// Initializes a new instance of the <see cref="... | agpl-3.0 | C# |
c87b6841146507b10906b99461326e834d16164f | Use a more reliable algorithm for Triangle.Intersects. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | Triangle.cs | Triangle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChamberLib
{
public struct Triangle
{
public Triangle(Vector3 v1, Vector3 v2, Vector3 v3)
{
V1 = v1;
V2 = v2;
V3 = v3;
}
public readonly Vector3 ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChamberLib
{
public struct Triangle
{
public Triangle(Vector3 v1, Vector3 v2, Vector3 v3)
{
V1 = v1;
V2 = v2;
V3 = v3;
}
public readonly Vector3 ... | lgpl-2.1 | C# |
1c1e0f9440cae9136252fc3326b3f03132752acd | Remove fixed time from SocketHandler | Kulu-M/MyQuizBackend | MyQuizBackend/src/MYVote/Classes/SocketHandler.cs | MyQuizBackend/src/MYVote/Classes/SocketHandler.cs | using System;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace MyQuizBackend.Classes {
public class SocketHandler {
public con... | using System;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace MyQuizBackend.Classes {
public class SocketHandler {
public con... | mit | C# |
6572f2c6504d3fca64c06cd8a53825ee400206c0 | call skillmanager instead of viewmodel directly | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/ClassSpecific/ClassAbnormalityTracker.cs | TCC.Core/ClassSpecific/ClassAbnormalityTracker.cs | using System;
using System.Collections.Generic;
using TCC.Data;
using TCC.Data.Skills;
using TCC.Parsing.Messages;
using TCC.ViewModels;
namespace TCC.ClassSpecific
{
public class ClassAbnormalityTracker
{
protected static readonly List<ulong> MarkedTargets = new List<ulong>();
public static e... | using System;
using System.Collections.Generic;
using TCC.Data;
using TCC.Data.Skills;
using TCC.Parsing.Messages;
using TCC.ViewModels;
namespace TCC.ClassSpecific
{
public class ClassAbnormalityTracker
{
protected static readonly List<ulong> MarkedTargets = new List<ulong>();
public static e... | mit | C# |
d6ff14a56be6178d711c59dff08a5608107452bc | Handle CI test instability | awesome-inc/FontAwesome.Sharp,awesome-inc/FontAwesome.Sharp | FontAwesome.Sharp.Tests/WPF/IconHelper_Should.cs | FontAwesome.Sharp.Tests/WPF/IconHelper_Should.cs | using System;
using System.Linq;
using System.Windows.Media;
using FluentAssertions;
using NEdifis.Attributes;
using NUnit.Framework;
namespace FontAwesome.Sharp.Tests.WPF
{
[TestFixtureFor(typeof(IconHelper))]
// ReSharper disable once InconsistentNaming
internal class IconHelper_Should
{
[Tes... | using System;
using System.Linq;
using System.Windows.Media;
using FluentAssertions;
using NEdifis.Attributes;
using NUnit.Framework;
namespace FontAwesome.Sharp.Tests.WPF
{
[TestFixtureFor(typeof(IconHelper))]
// ReSharper disable once InconsistentNaming
internal class IconHelper_Should
{
[Tes... | apache-2.0 | C# |
13ca9f71e713748ebbdf3f81577ab4fde93b6120 | Fix camel case on the Learners response | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/LearnerController.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/LearnerController.cs | using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Application.Queries.GetAllLearners;
using System;
using System.Net;
using System.Threading.Ta... | using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Application.Queries.GetAllLearners;
using System;
using System.Net;
using System.Threading.Tasks;
namespace SFA.DAS.CommitmentsV2... | mit | C# |
06a6059a1e4b50204ca5162b7eb1f77045b79a2e | Fix failing test | SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,jkorit... | tests/Avalonia.Controls.UnitTests/UserControlTests.cs | tests/Avalonia.Controls.UnitTests/UserControlTests.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Linq;
using Avalonia.Controls.Presenters;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Styling;
usin... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Linq;
using Avalonia.Controls.Presenters;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Styling;
usin... | mit | C# |
da3f844f38492cc91a5eeaac65041cbeddb7534f | Fix CustomCriteriaClass name. Work Item #1970 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/CslaGenFork/Metadata/CriteriaMode.cs | trunk/Solutions/CslaGenFork/Metadata/CriteriaMode.cs | namespace CslaGenerator.Metadata
{
public enum CriteriaMode
{
Simple = 1,
CriteriaBase,
BusinessBase,
CustomCriteriaClass
}
} | namespace CslaGenerator.Metadata
{
public enum CriteriaMode
{
Simple = 1,
CriteriaBase,
BusinessBase,
CustomBaseClass
}
} | mit | C# |
ac930f202989ad988e64a12915d0ad10df3ed623 | Update TitleToStringMethodFacetFactory.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Core/NakedFunctions.Reflector/FacetFactory/TitleToStringMethodFacetFactory.cs | Core/NakedFunctions.Reflector/FacetFactory/TitleToStringMethodFacetFactory.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requir... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requir... | apache-2.0 | C# |
c9506a0707da6a4a5e36d182696da8e3dab892e9 | Update FOAEvents.cs | rasmusjp/Merchello,ProNotion/Merchello,rasmusjp/Merchello,rasmusjp/Merchello,BarryFogarty/Merchello,BarryFogarty/Merchello,BluefinDigital/Merchello,doronuziel71/Merchello,MindfireTechnology/Merchello,MindfireTechnology/Merchello,bjarnef/Merchello,bjarnef/Merchello,ProNotion/Merchello,doronuziel71/Merchello,BarryFogarty... | Plugin/Shipping/FreeOverAmount/src/Merchello.Plugin.Shipping.FOA/FOAEvents.cs | Plugin/Shipping/FreeOverAmount/src/Merchello.Plugin.Shipping.FOA/FOAEvents.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Merchello.Core.Models;
using Merchello.Core.Services;
using Merchello.Plugin.Shipping.FOA.Models;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.Events;
using Umbraco.Core.Logging;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Merchello.Core.Models;
using Merchello.Core.Services;
using Merchello.Plugin.Shipping.FOA.Models;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.Events;
using Umbraco.Core.Logging;
... | mit | C# |
1632450918c9af1955f32fdc1a6a676550087440 | Add comments | peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu | osu.Game.Rulesets.Catch/UI/SkinnableCatcher.cs | osu.Game.Rulesets.Catch/UI/SkinnableCatcher.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Skinning.Default;
using osu.Game.Skinning;
usin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Skinning.Default;
using osu.Game.Skinning;
usin... | mit | C# |
bb309cac65f3657c600083053a7b39b2aab89444 | fix comments | mgreenegit/poshtools,daviwil/poshtools,KevinHorvatin/poshtools,adamdriscoll/poshtools,Microsoft/poshtools,YOTOV-LIMITED/poshtools,erwindevreugd/poshtools,zbrad/poshtools,SpotLabsNET/poshtools | PowerShellTools.HostService/ServiceCommon.cs | PowerShellTools.HostService/ServiceCommon.cs | using Microsoft.PowerShell;
using PowerShellTools.Common.Debugging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Runspaces;
using System.Reflection;
using Sys... | using Microsoft.PowerShell;
using PowerShellTools.Common.Debugging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Runspaces;
using System.Reflection;
using Sys... | apache-2.0 | C# |
3e0b6793efbf14c4ed89dbee0138d68f5b974cc5 | Make add-in repo name translatable | Mailaender/Pinta,jakeclawson/Pinta,PintaProject/Pinta,PintaProject/Pinta,Fenex/Pinta,Mailaender/Pinta,jakeclawson/Pinta,Fenex/Pinta,PintaProject/Pinta | Pinta/AddinSetupService.cs | Pinta/AddinSetupService.cs | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | mit | C# |
17caab0f5d267d548c0c3006f68531ce47dc57d3 | Update GithubClient.cs | andmos/ReadingList,andmos/ReadingList | ReadingList.Notes.Github/Services/GithubClient.cs | ReadingList.Notes.Github/Services/GithubClient.cs | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Octokit;
namespace ReadingList.Notes.Github.Services
{
public class GithubClient
{
public HttpClient Client { get; }
private readonly IGitHubClient _gitHubClient;
private const strin... | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Octokit;
namespace ReadingList.Notes.Github.Services
{
public class GithubClient
{
public HttpClient Client { get; }
private readonly IGitHubClient _gitHubClient;
private const string Applicat... | mit | C# |
a6ad35dfd914b026fbc0748aec263e1ee448f60c | remove redundant code | adamralph/xbehave.net | tests/Xbehave.Test/Infrastructure/TypeExtensions.cs | tests/Xbehave.Test/Infrastructure/TypeExtensions.cs | namespace Xbehave.Test.Infrastructure
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
internal static class TypeExtensions
{
public static void Clea... | namespace Xbehave.Test.Infrastructure
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
internal static class TypeExtensions
... | mit | C# |
7e60e832db47e2db36943dbfb01084cad8435e52 | Set version to 0.9.0. | allansson/git-tfs,olivierdagenais/git-tfs,adbre/git-tfs,allansson/git-tfs,bleissem/git-tfs,spraints/git-tfs,codemerlin/git-tfs,hazzik/git-tfs,fschwiet/git-tfs,NathanLBCooper/git-tfs,modulexcite/git-tfs,bleissem/git-tfs,irontoby/git-tfs,WolfVR/git-tfs,kgybels/git-tfs,codemerlin/git-tfs,steveandpeggyb/Public,timotei/git-... | GitTfs/Properties/AssemblyInfo.cs | GitTfs/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Gi... | 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("Gi... | apache-2.0 | C# |
b441cb8c69aa9d1a232955ac2ca887e649a7aee6 | Fix ListBoxRow text not updating color. Also changed code to get color from skin | opcon/gwen-nolegacy-opentk-renderer | GwenCS/Gwen/Control/ListBoxRow.cs | GwenCS/Gwen/Control/ListBoxRow.cs | using System;
using System.Drawing;
using Gwen.Control.Layout;
namespace Gwen.Control
{
/// <summary>
/// List box row (selectable).
/// </summary>
public class ListBoxRow : TableRow
{
private bool m_Selected;
/// <summary>
/// Initializes a new instance of the <see cref="... | using System;
using System.Drawing;
using Gwen.Control.Layout;
namespace Gwen.Control
{
/// <summary>
/// List box row (selectable).
/// </summary>
public class ListBoxRow : TableRow
{
private bool m_Selected;
/// <summary>
/// Initializes a new instance of the <see cref="... | mit | C# |
cbcae83f84cdebba6edeb6992b3f0dac07da2a69 | correct reference | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | mikeandwan.us/Views/Tools/NetworkingFileSize.cshtml | mikeandwan.us/Views/Tools/NetworkingFileSize.cshtml | @{
Layout = "_LayoutSidebar";
ViewBag.Title = "tools | networking | file size";
}
@section custom_head {
<base href="/" />
}
@section scripts_footer {
<script type="text/javascript" src="/js/filesize/inline.js"></script>
<script type="text/javascript" src="/js/filesize/polyfills.bundle.js"></scr... | @{
Layout = "_LayoutSidebar";
ViewBag.Title = "tools | networking | file size";
}
@section custom_head {
<base href="/" />
}
@section scripts_footer {
<script type="text/javascript" src="/js/bandwidth/inline.js"></script>
<script type="text/javascript" src="/js/bandwidth/polyfills.bundle.js"></s... | mit | C# |
687412f408dd8be2ed95efac7863ef3b733153cc | add `CreateContent` method | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework/Graphics/Containers/Markdown/MarkdownImage.cs | osu.Framework/Graphics/Containers/Markdown/MarkdownImage.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Framework.Graphics.Containers.Markdown
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Framework.Graphics.Containers.Markdown
{
... | mit | C# |
3575d9847cd120941ad3737ff140c01184edd4e5 | Use regular test steps rather than one-time set up and scheduling | peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | osu.Game.Tests/Visual/Ranking/TestSceneStarRatingDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Utils;
using osu.Game.Beatmaps;
using osu.Game.Screens.R... | mit | C# |
f53ce951dc1ee6594d5a6cc4e975fa9e9a15dee6 | Remove `DefaultScoreCounter` animation for the time being | peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu | osu.Game/Screens/Play/HUD/DefaultScoreCounter.cs | osu.Game/Screens/Play/HUD/DefaultScoreCounter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Skinning;
namespace osu.Game.Screens.Play.HUD
{
public class De... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Skinning;
namespace osu.Game.Screens.Play.HUD
{
public class De... | mit | C# |
2b98895c9aa66e61ce2a183428353b6c23d02984 | Increase memory usage logging to 30 mins | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Services/MemoryUsageLogger.cs | src/SyncTrayzor/Services/MemoryUsageLogger.cs | using NLog;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace SyncTrayzor.Services
{
public class MemoryUsageLogger
{
private static readonly Logger logger = LogManager.GetCurrent... | using NLog;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace SyncTrayzor.Services
{
public class MemoryUsageLogger
{
private static readonly Logger logger = LogManager.GetCurrent... | mit | C# |
10b0019e51edab2c658b5dff09a8386005cffcbf | Make EventSourcException serializable in corert scenarios (#14716) | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSourceException.cs | src/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSourceException.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.Resources;
using System.Runtime.Serialization;
#if ES_BUILD_STANDALONE
using Environment... | // 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.Resources;
using System.Runtime.Serialization;
#if ES_BUILD_STANDALONE
using Environment... | mit | C# |
aebbd5c0b019e52f402faa0b5ecdcfa5038468ab | Update BlazorServerApp Sample Project (#36684) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/Samples/BlazorServerApp/Pages/_Layout.cshtml | src/Components/Samples/BlazorServerApp/Pages/_Layout.cshtml | @namespace BlazorServerApp.Pages
@using Microsoft.AspNetCore.Components.Web
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="~/" />
<link rel="style... | @namespace BlazorServerApp.Pages
@using Microsoft.AspNetCore.Components.Web
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="~/" />
<link rel="style... | apache-2.0 | C# |
05786fb75406c52222090324c82b8cc9f816e9a4 | increment version | osoykan/DynamicTranslator,osoykan/Dictionary,DynamicTranslator/DynamicTranslator | src/DynamicTranslator/ViewModel/Model/ApplicationVersion.cs | src/DynamicTranslator/ViewModel/Model/ApplicationVersion.cs | namespace DynamicTranslator.ViewModel.Model
{
public static class ApplicationVersion
{
public const string Version100 = "1.0.0";
public const string Version200 = "2.0.0";
public const string Version310 = "3.1.0";
public const string Version320 = "3.2.0";
public static s... | namespace DynamicTranslator.ViewModel.Model
{
public static class ApplicationVersion
{
public const string Version100 = "1.0.0";
public const string Version200 = "2.0.0";
public const string Version310 = "3.1.0";
public static string GetCurrentVersion()
{
re... | mit | C# |
75974997184bc9c224da8ad270309cbfb053da33 | Implement stubs in status bar service | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Exports/Services/StatusBarNotificationService.cs | src/GitHub.Exports/Services/StatusBarNotificationService.cs | using GitHub.Extensions;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.ComponentModel.Composition;
using System.Windows.Input;
namespace GitHub.Services
{
[Export(typeof(IStatusBarNotificationService))]
[PartCreationPol... | using GitHub.Extensions;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.ComponentModel.Composition;
using System.Windows.Input;
namespace GitHub.Services
{
[Export(typeof(IStatusBarNotificationService))]
[PartCreationPol... | mit | C# |
aaae64f0ada3ab65e26c42090077eedb2d98019c | Update Degree.cs | zulaldogan/unity-csharp-beginner | SwitchStatements/Assets/Degree.cs | SwitchStatements/Assets/Degree.cs | using UnityEngine;
public class Degree : MonoBehaviour
{
public int selectedLevel;
private int easy = 0, medium = 1, hard = 2;
void Start()
{
switch (selectedLevel)
{
case 0:
Debug.Log("You selected Easy");
break;
case 1:
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Degree : MonoBehaviour {
public int selectedLevel;
private int easy = 0, medium = 1, hard = 2;
// Use this for initialization
void Start () {
switch(selectedLevel)
{
case 0:
Deb... | mit | C# |
ea7aaa899a4b0aaffd764eb67b536d5a4248b51b | Update AssemblyWithIncludesTest.cs | Fody/Virtuosity | Tests/AssemblyWithIncludesTest.cs | Tests/AssemblyWithIncludesTest.cs | using System.Collections.Generic;
using System.Reflection;
using Fody;
using Xunit;
public class AssemblyWithIncludesTest
{
static Assembly assembly;
static AssemblyWithIncludesTest()
{
var weavingTask = new ModuleWeaver
{
IncludeNamespaces = new List<string> { "IncludeNamespa... | using System.Collections.Generic;
using Fody;
using Xunit;
public class AssemblyWithIncludesTest
{
[Fact]
public void Simple()
{
var weavingTask = new ModuleWeaver
{
IncludeNamespaces = new List<string> { "IncludeNamespace" }
};
var assembly = weavingTask.Execut... | mit | C# |
c3d870f39965d0f1bfac15a4683fac8fdcf7d8d1 | Update AtomicService.cs | redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/... | Windows/Payloads/AtomicService.cs | Windows/Payloads/AtomicService.cs | using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
// c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe AtomicService.cs
// sc create AtomicService binPath= "C:\Test\AtomicService.exe"
// sc start AtomicService
// sc stop A... | using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
// c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe AtomicService.cs
// sc create AtomicService binPath= "C:\Test\AtomicService.exe"
// sc start AtomicService
// sc stop A... | mit | C# |
c044e795a19070ea770a90b4ffe2d272e3d52eac | Make global categories colors are display only | diolive/cache,diolive/cache | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Categories/_GlobalCategoriesPartial.cshtml | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Categories/_GlobalCategoriesPartial.cshtml | @using Microsoft.AspNetCore.Builder
@using Microsoft.Extensions.Options
@model IEnumerable<Category>
@inject IOptions<RequestLocalizationOptions> LocOptions
@{
var cultures = LocOptions.Value.SupportedUICultures
.Skip(1)
.Select(culture => new { Culture = culture.Name, Name = culture.EnglishName }... | @using Microsoft.AspNetCore.Builder
@using Microsoft.Extensions.Options
@model IEnumerable<Category>
@inject IOptions<RequestLocalizationOptions> LocOptions
@{
var cultures = LocOptions.Value.SupportedUICultures
.Skip(1)
.Select(culture => new { Culture = culture.Name, Name = culture.EnglishName }... | mit | C# |
e34c9599dc56a151670fba4dc05fcc10172d21e3 | Add new plugin repository URL | jozefizso/FogBugz-ExtendedEvents,jozefizso/FogBugz-ExtendedEvents | FBExtendedEvents/PluginInfo.cs | FBExtendedEvents/PluginInfo.cs | using FogCreek.Plugins;
[assembly: AssemblyFogCreekPluginId("FBExtendedEvents@goit.io")]
[assembly: AssemblyFogCreekMajorVersion(3)]
[assembly: AssemblyFogCreekMinorVersionMin(5)]
[assembly: AssemblyFogCreekEmailAddress("jozef.izso@gmail.com")]
[assembly: AssemblyFogCreekWebsite("https://github.com/jozefizso/FogBugz-... | using FogCreek.Plugins;
[assembly: AssemblyFogCreekPluginId("FBExtendedEvents@goit.io")]
[assembly: AssemblyFogCreekMajorVersion(3)]
[assembly: AssemblyFogCreekMinorVersionMin(5)]
[assembly: AssemblyFogCreekEmailAddress("jozef.izso@gmail.com")]
[assembly: AssemblyFogCreekWebsite("https://github.com/jozefizso/FBExtend... | mit | C# |
395c1b406ed7617699675912e7b32911acdbc88e | Remove empty constructor | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/API/Treehopper/Settings.cs | NET/API/Treehopper/Settings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Treehopper
{
/// <summary>
/// This class represents global settings used by the Treehopper API
/// </summary>
public class Settings
{
/// <summary>
/// Get... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Treehopper
{
/// <summary>
/// This class represents global settings used by the Treehopper API
/// </summary>
public class Settings
{
/// <summary>
/// Get... | mit | C# |
e7d514cdf8cb2036266d7b8e92fea92cf62c2988 | Use IsKind | bartdesmet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,dotnet/... | src/Features/CSharp/Portable/Completion/KeywordRecommenders/ThrowKeywordRecommender.cs | src/Features/CSharp/Portable/Completion/KeywordRecommenders/ThrowKeywordRecommender.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.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
namespace Microsoft.CodeAnaly... | // 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.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
namespace Microsoft.CodeAnaly... | mit | C# |
ad816a7ae2d23c80bef387e0d07ec677538a478c | Update IMessageSource.cs | ElderByte-/Archimedes.Localisation | Archimedes.Localisation/MessageSources/IMessageSource.cs | Archimedes.Localisation/MessageSources/IMessageSource.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Archimedes.Localisation.MessageSources
{
/// <summary>
/// Represents a source for localized messages
/// </summary>
public interface IMessageSource... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Archimedes.Localisation.MessageSources
{
/// <summary>
/// Represents a source for localized messages
/// </summary>
public interface IMessageSource... | mit | C# |
a65736706f9cffd8284aab0a3e36a81f051ee30c | Update IgnoreHiddenColumnsDataTable.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,ma... | Examples/CSharp/Articles/IgnoreHiddenColumnsDataTable.cs | Examples/CSharp/Articles/IgnoreHiddenColumnsDataTable.cs | using System;
using System.Data;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
class IgnoreHiddenColumnsDataTable
{
static void Main()
{
//ExStart:1
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().... | using System;
using System.Data;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
class IgnoreHiddenColumnsDataTable
{
static void Main()
{
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
... | mit | C# |
4ab8378dedf907202c2b361c78152666ff8883b5 | fix serializing of enu,ms | os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos | Tests.Integration.Presentation.Web/Tools/AdviceHelper.cs | Tests.Integration.Presentation.Web/Tools/AdviceHelper.cs | using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Core.DomainModel.Organization;
namespace Tests.Integration.Presentation.Web.Tools
{
public static class AdviceHelper
{
public static async Task<HttpResponseMessage> PostAdviceAsync(Core.DomainModel.Advice.A... | using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Core.DomainModel.Organization;
namespace Tests.Integration.Presentation.Web.Tools
{
public static class AdviceHelper
{
public static async Task<HttpResponseMessage> PostAdviceAsync(Core.DomainModel.Advice.A... | mpl-2.0 | C# |
9a7c5806c6137501d709629d503b7b91e4607d66 | Add simple JSON endpoint for soldiers with access | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
// Ad... | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.IO;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Adm... | mit | C# |
b719da53f65ac33afa072e2c84e57dcb42a1b29d | Fix of not unsubscribing to characteristics on disconnect | IanSavchenko/BleLab | BleLab/Services/CharacteristicSubscriptionService.cs | BleLab/Services/CharacteristicSubscriptionService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Foundation;
namespace BleLab.Services
{
public class CharacteristicSubscriptionService
{
private readonly Dictionary<Guid, GattChar... | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Foundation;
namespace BleLab.Services
{
public class CharacteristicSubscriptionService
{
private readonly Dictionary<Guid, GattChar... | mit | C# |
b858d01c6195cf10637ec089e2a5b5611a98fa5d | Fix DevTools bug. | wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,punker76/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,susloparovdenis/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,susloparovdenis/Perspex,AvaloniaUI/... | src/Perspex.Diagnostics/ViewModels/TreeNode.cs | src/Perspex.Diagnostics/ViewModels/TreeNode.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Specialized;
using System.Reactive;
using System.Reactive.Linq;
using Perspex.Controls;
using ReactiveUI;
namespac... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Specialized;
using System.Reactive;
using System.Reactive.Linq;
using Perspex.Controls;
using ReactiveUI;
namespac... | mit | C# |
ae256a2affbe1ed5abe0ed7eb08afb1a73472544 | Fix ExternalCPlusPlusProjectReferencesAreCorrectInSolutionTest on non-Windows platforms | silasary/Protobuild,Protobuild/Protobuild,hach-que/Protobuild,Protobuild/Protobuild,hach-que/Protobuild,silasary/Protobuild,Protobuild/Protobuild,hach-que/Protobuild,Protobuild/Protobuild,silasary/Protobuild,Protobuild/Protobuild | Protobuild.FunctionalTests/ExternalCPlusPlusProjectReferencesAreCorrectInSolutionTest.cs | Protobuild.FunctionalTests/ExternalCPlusPlusProjectReferencesAreCorrectInSolutionTest.cs | namespace Protobuild.Tests
{
using System.IO;
using Prototest.Library.Version1;
public class ExternalCPlusPlusProjectReferencesAreCorrectInSolutionTest : ProtobuildTest
{
private readonly IAssert _assert;
public ExternalCPlusPlusProjectReferencesAreCorrectInSolutionTest(IAssert assert... | namespace Protobuild.Tests
{
using System.IO;
using Prototest.Library.Version1;
public class ExternalCPlusPlusProjectReferencesAreCorrectInSolutionTest : ProtobuildTest
{
private readonly IAssert _assert;
public ExternalCPlusPlusProjectReferencesAreCorrectInSolutionTest(IAssert assert... | mit | C# |
fe99bebb4a6a7e07a80a13f1f0d8bef3bfd87c5b | Fix double slash inside image url | cemrich/From-Outer-Space | Assets/Scripts/ImageLoader/JPL/JplImageInfoLoader.cs | Assets/Scripts/ImageLoader/JPL/JplImageInfoLoader.cs | using System;
using System.Collections;
using UnityEngine;
using System.Collections.Generic;
using RestSharp.Contrib;
namespace ImageLoader.Jpl
{
class JplImageInfoLoader
{
public List<ImageData> ImageInfo {
get { return imageDataList; }
}
public String Error {
get { return error; }
}
private cons... | using System;
using System.Collections;
using UnityEngine;
using System.Collections.Generic;
using RestSharp.Contrib;
namespace ImageLoader.Jpl
{
class JplImageInfoLoader
{
public List<ImageData> ImageInfo {
get { return imageDataList; }
}
public String Error {
get { return error; }
}
private cons... | mit | C# |
11ceae74bcdcc3beef89651fd1267e901e9ff5d6 | Make SpecialGremlinString public so it can be used with AddStep to write queries that cannot be expressed by the fluent interface alone. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq/Serialization/SpecialGremlinString.cs | ExRam.Gremlinq/Serialization/SpecialGremlinString.cs | using System.Collections.Generic;
using System.Collections.Immutable;
namespace ExRam.Gremlinq
{
public struct SpecialGremlinString : IGremlinSerializable
{
private readonly string _value;
public SpecialGremlinString(string value)
{
this._value = value;
}
p... | using System.Collections.Generic;
using System.Collections.Immutable;
namespace ExRam.Gremlinq
{
internal struct SpecialGremlinString : IGremlinSerializable
{
private readonly string _value;
public SpecialGremlinString(string value)
{
this._value = value;
}
... | mit | C# |
84ed27bb6621c8f0c2c99a1c586874ee9c9a59c4 | add test for entry content sources getting re-written | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache.Tests/RewriterTests/EntryXmlRewriterTests.cs | NuCache.Tests/RewriterTests/EntryXmlRewriterTests.cs | using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Should;
using Xunit;
namespace NuCache.Tests.RewriterTests
{
public class EntryXmlRewriterTests : XmlRewriterTestBase
{
private readonly XDocument _expected;
public EntryXmlRewriterTests()
: base("NuCache.Tests.Entry.xml")
{
... | using System.IO;
using System.Xml.Linq;
using Xunit;
namespace NuCache.Tests.RewriterTests
{
public class EntryXmlRewriterTests : XmlRewriterTestBase
{
private readonly XDocument _expected;
public EntryXmlRewriterTests()
: base("NuCache.Tests.Entry.xml")
{
using (var inputStream = GetType().Assembly.Ge... | lgpl-2.1 | C# |
ef9f3c9fb494dbd15c6c31da647a949261f35a49 | append unit test fixed #13 | LuckyStarry/Starry | Starry.Tests/Data/Sql/DbAssistorSinglePrimaryTest.cs | Starry.Tests/Data/Sql/DbAssistorSinglePrimaryTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Starry.Tests.Data.Sql
{
[TestClass]
public class DbAssistorSinglePrimaryTest
{
private TestDbContext InitDataContext()
{
var dbTex... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Starry.Tests.Data.Sql
{
[TestClass]
public class DbAssistorSinglePrimaryTest
{
private TestDbContext InitDataContext()
{
var dbTex... | mit | C# |
4efb9b63fb5bc8880bece4485d8941901bc73eb2 | Add XML Document comments for 'LexerError.cs' | lury-lang/lury-lexer | lury-lexer/LexerError.cs | lury-lexer/LexerError.cs | //
// LexerError.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 de... | //
// LexerError.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 de... | mit | C# |
f983e3b7d7b122175f557c9c6eb5dc1a2770129b | Switch direct handling by a syncrhonous dispatching in console sample | Vtek/Bartender | samples/ConsoleApplication/ConsoleApplication/Program.cs | samples/ConsoleApplication/ConsoleApplication/Program.cs | using System;
using Bartender;
using ConsoleApplication.Domain.Personne.Create;
using ConsoleApplication.Domain.Personne.Read;
using ConsoleApplication.Registries;
using StructureMap;
namespace ConsoleApplication
{
class Program
{
static void Main()
{
var registry = new Registry();... | using System;
using Bartender;
using ConsoleApplication.Domain.Personne.Create;
using ConsoleApplication.Domain.Personne.Read;
using ConsoleApplication.Registries;
using StructureMap;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
var registry = ne... | mit | C# |
b6160d5a45b3c32200bedcbf0c12d224425f88f3 | Call GetUname() only once | JasperFx/Baseline,JasperFx/Baseline | src/Baseline/Platform.cs | src/Baseline/Platform.cs | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Baseline
{
public static class Platform
{
static Platform()
{
var name = GetUname();
IsWindows = name == string.Empty;
IsDarwin = string.Equals(name, "Darwin", StringComparison.Ordinal... | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Baseline
{
public static class Platform
{
static Platform()
{
var name = GetUname();
IsWindows = name == string.Empty;
IsDarwin = string.Equals(GetUname(), "Darwin", StringComparison.O... | apache-2.0 | C# |
8167effd4a5ee280e73b16801ce94d63488baaa2 | bump version | SimonCropp/NServiceBus.ProtoBuf | NServiceBus.ProtoBuf/AssemblyInfo.cs | NServiceBus.ProtoBuf/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("NServiceBus.ProtoBuf")]
[assembly: AssemblyProduct("NServiceBus.ProtoBuf")]
[assembly: AssemblyVersion("0.1.2")]
[assembly: AssemblyFileVersion("0.1.2")]
| using System.Reflection;
[assembly: AssemblyTitle("NServiceBus.ProtoBuf")]
[assembly: AssemblyProduct("NServiceBus.ProtoBuf")]
[assembly: AssemblyVersion("0.1.1")]
[assembly: AssemblyFileVersion("0.1.1")]
| mit | C# |
4e5603153e3986bb4eea2cd71f84fecba82743c6 | Fix comment | MihaMarkic/Cake.Docker | src/Cake.Docker/Registry/Logout/Docker.Aliases.Logout.cs | src/Cake.Docker/Registry/Logout/Docker.Aliases.Logout.cs | using Cake.Core;
using Cake.Core.Annotations;
using System;
namespace Cake.Docker
{
// Contains functionality for working with logout command.
partial class DockerAliases
{
/// <summary>
/// Logout from a Docker registry.
/// If no server is specified, the docker engine default is ... | using Cake.Core;
using Cake.Core.Annotations;
using System;
namespace Cake.Docker
{
// Contains functionality for working with logout command.
partial class DockerAliases
{
/// <summary>
/// Register or log in to a Docker registry.
/// If no server is specified, the docker engine d... | mit | C# |
8f76e0a9113a68c42083c1c0b26a64d6090f5884 | Remove obsolete dictionary. | mysql-net/MySqlConnector,mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector | src/MySqlConnector/MySqlClient/MySqlStatementPreparer.cs | src/MySqlConnector/MySqlClient/MySqlStatementPreparer.cs | using System.Text;
namespace MySql.Data.MySqlClient
{
internal sealed class MySqlStatementPreparer
{
public MySqlStatementPreparer(string commandText, MySqlParameterCollection parameters, StatementPreparerOptions options)
{
m_commandText = commandText;
m_parameters = parameters;
m_options = options;
... | using System;
using System.Collections.Generic;
using System.Text;
namespace MySql.Data.MySqlClient
{
internal sealed class MySqlStatementPreparer
{
public MySqlStatementPreparer(string commandText, MySqlParameterCollection parameters, StatementPreparerOptions options)
{
m_commandText = commandText;
m_par... | mit | C# |
3a61e2551ea98a7bc1733808a0a55ff6f1764d8f | Fix logic mistake | planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS | src/Orchard.Web/Modules/LETS/Views/NoticeMetadata.cshtml | src/Orchard.Web/Modules/LETS/Views/NoticeMetadata.cshtml | @using LETS.Helpers
@using Orchard.ArchiveLater.Models
@using Orchard.ContentManagement
@using Orchard.Core.Common.Models
@{
var createdUtc = Model.ContentPart.CreatedUtc != null ? TimeZoneInfo.ConvertTimeFromUtc(Model.ContentPart.CreatedUtc, WorkContext.CurrentTimeZone) : null;
var publishedUtc = Model.Conten... | @using LETS.Helpers
@using Orchard.ArchiveLater.Models
@using Orchard.ContentManagement
@using Orchard.Core.Common.Models
@{
var createdUtc = Model.ContentPart.CreatedUtc != null ? TimeZoneInfo.ConvertTimeFromUtc(Model.ContentPart.CreatedUtc, WorkContext.CurrentTimeZone) : null;
var publishedUtc = Model.Conten... | bsd-3-clause | C# |
1f1db0ae4d76e74f7a13c8cae03b0deb1d841596 | Update XPolyCubicBezierSegment.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Path/Segments/XPolyCubicBezierSegment.cs | src/Core2D/Path/Segments/XPolyCubicBezierSegment.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Poly cubic bezier path segment.
/// </summ... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Poly cubic bezier path segment.
/// </summ... | mit | C# |
062671a54c3031b8a577dfd526378869f485ed3d | Fix compiler errors. | FacilityApi/FacilityCSharp,FacilityApi/FacilityJavaScript,FacilityApi/Facility,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using System.IO;
using System.Linq;
using Faithlife.Build;
using static Faithlife.Build.BuildUtility;
using static Faithlife.Build.DotNetRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
var codegen = "fsdgen___";
var dotNetTools = ... | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Faithlife.Build;
using static Faithlife.Build.AppRunner;
using static Faithlife.Build.BuildUtility;
using static Faithlife.Build.DotNetRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunne... | mit | C# |
b8555ea9d0bc94b85d8cfd19f10d022f9dd267bf | add of new values | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | apache-2.0 | C# |
135c9cb9e473a36f929113fa9806bcfe2bc5da73 | Create algo to calculate distance between gift points | kw90/SantasSledge | Santa/Common/Alogs/GiftExtensions.cs | Santa/Common/Alogs/GiftExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Alogs
{
public static class GiftExtensions
{
public static double DistanceTo(this Gift one, Gift two)
{
const double radius = 6371000;
v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Alogs
{
public static class GiftExtensions
{
public static double DistanceTo(this Gift one, Gift two)
{
var phyOne = one.Latitude / 360 * Math.PI * 2... | mit | C# |
0820eb5b98757b798de667d8de8fad9c34b5236f | Revert "Improve Bob exercise" | FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative | Exercism/csharp/bob/Bob.cs | Exercism/csharp/bob/Bob.cs | using System;
using System.Linq;
public static class Bob
{
public static string Response(string text)
{
var cases = new StatementCase[]
{
new StatementCase(
"Sure.",
statement => statement.IsQuestion() && !statement.IsYelled() && !statement.IsSilence()
),
new StatementCase(
"Whoa, chill out!... | using System;
using System.Linq;
using System.Globalization;
public static class Bob
{
public static string Response(string text)
{
var cases = new StatementCase[]
{
new StatementCase(
"Sure.",
statement => statement.IsQuestion() && !statement.IsYelled() && !statement.IsSilence()
),
new Statemen... | mit | C# |
4f89cb1a341a169c4f1155d092024a33725c9704 | Make HistoryCleanup inherit from BeingDirtyBase and implement dirty properties | mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS | src/Umbraco.Core/Models/ContentEditing/HistoryCleanup.cs | src/Umbraco.Core/Models/ContentEditing/HistoryCleanup.cs | using System.Runtime.Serialization;
using Umbraco.Core.Models.Entities;
namespace Umbraco.Core.Models.ContentEditing
{
[DataContract(Name = "historyCleanup", Namespace = "")]
public class HistoryCleanup : BeingDirtyBase
{
private bool _preventCleanup;
[DataMember(Name = "preventCleanup")]
... | using System.Runtime.Serialization;
namespace Umbraco.Core.Models.ContentEditing
{
[DataContract(Name = "historyCleanup", Namespace = "")]
public class HistoryCleanup
{
[DataMember(Name = "preventCleanup")]
public bool PreventCleanup { get; set; }
[DataMember(Name = "keepAllVersion... | mit | C# |
917d60fbcfc5362d025151a3546e13f2a32f62f9 | fix for argument parsing | benjamine/AssemblyHasher,vtrifonov/AssemblyHasher | AssemblyHasher/Program.cs | AssemblyHasher/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssemblyHasher
{
class Program
{
static void Main(string[] args)
{
bool ignoreVersions = false;
var arguments = args.ToList();
if (a... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssemblyHasher
{
class Program
{
static void Main(string[] args)
{
bool ignoreVersions = false;
var arguments = args.ToList();
if (a... | mit | C# |
8e93dd7ea8345cfd7e5b0f1b19d546510cd1ba3a | Update TvEpisode.cs | LordMike/TMDbLib | TMDbLib/Objects/TvShows/TvEpisode.cs | TMDbLib/Objects/TvShows/TvEpisode.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using TMDbLib.Objects.General;
namespace TMDbLib.Objects.TvShows
{
public class TvEpisode
{
/// <summary>
/// Object Id, will only be populated when explicitly getting episode details
/// </summary>
[JsonPro... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using TMDbLib.Objects.General;
namespace TMDbLib.Objects.TvShows
{
public class TvEpisode
{
/// <summary>
/// Object Id, will only be populated when explicitly getting episode details
/// </summary>
[JsonPro... | mit | C# |
1b559c15852901bd2c7819b166479cbb76f69475 | Use async loading | johnneijzen/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipooo/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,ZLima12/osu,ppy/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smo... | osu.Game/Screens/Multi/Match/Components/MatchBeatmapPanel.cs | osu.Game/Screens/Multi/Match/Components/MatchBeatmapPanel.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Direct;
using osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Direct;
using osu.Ga... | mit | C# |
9bbd9828a4cc9225004899b146cb789143d3e4d1 | Make cursor circular. | ppy/osu-framework,naoey/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,naoey/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,peppy/osu-framewor... | osu.Framework/Graphics/Cursor/CursorContainer.cs | osu.Framework/Graphics/Cursor/CursorContainer.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using OpenTK;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Graph... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using OpenTK;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Graph... | mit | C# |
93c0fe514080b8266a4a1fa092ef57b913b39993 | Remove unnecessary set. | EVAST9919/osu,DrabWeb/osu,peppy/osu,ppy/osu,peppy/osu,naoey/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,Damnae/osu,NeoAdonis/osu,tacchinotacchi/osu,ZLima12/osu,smoogipooo/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,Drezi126/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,naoey/osu,osu-RP/osu-R... | osu.Game/Graphics/UserInterface/OsuTabControl.cs | osu.Game/Graphics/UserInterface/OsuTabControl.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 System;
using System.Linq;
using OpenTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Graphics.UserInterface.Tab;
namespace osu.Game.Gra... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using OpenTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Graphics.UserInterface.Tab;
namespace osu.Game.Gra... | mit | C# |
c5efc08522b6cba43ecb7ea2b8a129b1508bcfea | Make TabItem's value readonly (and set at ctor time). | ppy/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,Nabile-Rahmani/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,paparony03/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,RedNesto/osu-framework,DrabWeb/osu-fr... | osu.Framework/Graphics/UserInterface/TabItem.cs | osu.Framework/Graphics/UserInterface/TabItem.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
namespace osu.Framework.Graphics.UserInterface
{
public abstra... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
namespace osu.Framework.Graphics.UserInterface
{
public abstra... | mit | C# |
70b39b115f440ac72b9af8b7a0836c1f06391818 | Set liberal permissions on the output file. | archpoint/gitwrap | GitWrap/GitWrap/Program.cs | GitWrap/GitWrap/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitWrap
{
class Program
{
static void Main(string[] args)
{
// Bash.exe
ProcessStartIn... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitWrap
{
class Program
{
static void Main(string[] args)
{
// Bash.exe
ProcessStartIn... | mit | C# |
e3c045d212b8233277003d6665acf93ed8b5a3af | Fix using directives in Transition | lou1306/CIV,lou1306/CIV | CIV.Common/Transition.cs | CIV.Common/Transition.cs | using System;
namespace CIV.Common
{
public class Transition : IEquatable<Transition>
{
public string Label { get; set; }
public IProcess Process { get; set; }
public bool Equals(Transition other)
{
return Label == other.Label && Process.Equals(other.Process);
... | using System;
using System.Collections.Generic;
namespace CIV.Common
{
public class Transition : IEquatable<Transition>
{
public string Label { get; set; }
public IProcess Process { get; set; }
public bool Equals(Transition other)
{
return Label == other.Label && ... | mit | C# |
7059476dacbbddb61ba4a40f5acf2d9f016b0555 | Add agent to the web middleware | mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peter... | src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs | src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs | using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Glimpse.Host.Web.AspNet.Framework;
using Glimpse.Agent.Web;
namespace Glimpse.Host.Web.AspNet
{
public class GlimpseMiddleware
{
private readonly RequestDelegate _innerNext;
private readonly WebAgentRuntime _runtime;
... | using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Glimpse.Host.Web.AspNet.Framework;
namespace Glimpse.Host.Web.AspNet
{
public class GlimpseMiddleware
{
private readonly RequestDelegate _innerNext;
public GlimpseMiddleware(RequestDelegate innerNext)
{
_i... | mit | C# |
e75b738d0e520cb9b0ed6684f4eceeb5436ba355 | Add 2020 standard to version enum | c0shea/IdParser | IdParser/Enums/Version.cs | IdParser/Enums/Version.cs | // ReSharper disable once CheckNamespace
namespace IdParser
{
public enum Version : byte
{
PreStandard = 0,
Aamva2000 = 1,
Aamva2003 = 2,
Aamva2005 = 3,
Aamva2009 = 4,
Aamva2010 = 5,
Aamva2011 = 6,
Aamva2012 = 7,
Aamva2013 = 8,
Aam... | // ReSharper disable once CheckNamespace
namespace IdParser
{
public enum Version : byte
{
PreStandard = 0,
Aamva2000 = 1,
Aamva2003 = 2,
Aamva2005 = 3,
Aamva2009 = 4,
Aamva2010 = 5,
Aamva2011 = 6,
Aamva2012 = 7,
Aamva2013 = 8,
Aam... | mit | C# |
95e6c7c90dc67a453cb5780b9e6f183b2c1f04d2 | Revert mstest assembly info | Ackara/Daterpillar | tests/MSTest.Daterpillar/Properties/AssemblyInfo.cs | tests/MSTest.Daterpillar/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("MSTest.Daterpillar")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MSTest.Daterpillar")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("MSTest.Daterpillar")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MSTest.Daterpillar")]
[assembly: As... | mit | C# |
08ea7dd44e7d755bcc1a105109af64d78aec3d76 | 修改 Welcome action 傳入參數 & 回傳字串. | NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie | src/MvcMovie/Controllers/HelloWorldController.cs | src/MvcMovie/Controllers/HelloWorldController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.WebEncoders;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace MvcMovie.Controllers
{
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.WebEncoders;
// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
namespace MvcMovie.Controllers
{
pub... | apache-2.0 | C# |
95ca18d9551f47f53e3d3b4e6de23de8c6666e02 | Order stations by name. | Amrykid/Neptunium | src/Neptunium/ViewModel/StationsPageViewModel.cs | src/Neptunium/ViewModel/StationsPageViewModel.cs | using Crystal3.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Crystal3.Navigation;
using System.Collections.ObjectModel;
using Neptunium.Core.Stations;
using Crystal3.UI.Commands;
using Neptunium.ViewModel.Dialog;
namespace Neptunium.Vi... | using Crystal3.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Crystal3.Navigation;
using System.Collections.ObjectModel;
using Neptunium.Core.Stations;
using Crystal3.UI.Commands;
using Neptunium.ViewModel.Dialog;
namespace Neptunium.Vi... | mit | C# |
867fbf7caa8626d24e696194ee9074d0fe38dfa6 | Fix file header | dotnet/roslyn-analyzers,dotnet/roslyn-analyzers | src/Utilities/Compiler/SymbolEqualityComparer.cs | src/Utilities/Compiler/SymbolEqualityComparer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
#if !CODEANALYSIS_V3_OR_BETTER
namespace Microsoft.CodeAnalysis
{
using System.Collections.Generic;
internal sealed class SymbolEqualityComparer : IEqualityComparer... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if !CODEANALYSIS_V3_OR_BETTER
namespace Microsoft.CodeAnalysis
{
using System.Collections.Generic;
internal sealed class SymbolEqualityComparer : I... | mit | C# |
860214c22a11fb5107161c5bb59bb6a6ba734a02 | Adjust paddings to feel better now that backgrounds are visible of toolboxes | ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
using osuTK;
namespace osu.Game.Rulesets.Edit
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
using osuTK;
namespace osu.Game.Rulesets.Edit
{
... | mit | C# |
3dda428f8a7fefb6b61ad9533171d6d832a4dc1a | Build fix | blebougge/Catel | src/Catel.Test/Catel.Test.NET40/Helpers/TimeMeasureHelper.cs | src/Catel.Test/Catel.Test.NET40/Helpers/TimeMeasureHelper.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TimeMeasureHelper.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ----------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TimeMeasureHelper.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ----------------------------... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.