commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
bb58d24d7d187177a5fa142136a572e396fe2665 | TestAppUWP/Core/UIElementExtension.cs | TestAppUWP/Core/UIElementExtension.cs | using System;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Imaging;
namespace TestAppUWP.Core
{
// ReSharper disable once InconsistentNaming
public static class UIElementExtension
{
public static async Task<IBuffer> RenderTargetBit... | using System;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Graphics.Display;
using Windows.Graphics.Imaging;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Imaging;
namespace TestAppUWP.Core
{
// ReSharper disable once Inconsis... | Add save UIElement to stream snippet | Add save UIElement to stream snippet
| C# | mit | DanieleScipioni/TestApp |
4cca7a6ec189f5f484c45c52e0b88f66b9877961 | src/AppHarbor/ConsoleProgressBar.cs | src/AppHarbor/ConsoleProgressBar.cs | using System;
using System.IO;
namespace AppHarbor
{
public class ConsoleProgressBar
{
private const char ProgressBarCharacter = '\u2592';
public static void Render(double percentage, ConsoleColor color, string message)
{
ConsoleColor originalColor = Console.ForegroundColor;
Console.CursorLeft = 0;
... | using System;
using System.IO;
namespace AppHarbor
{
public class ConsoleProgressBar
{
private const char ProgressBarCharacter = '\u2592';
public static void Render(double percentage, ConsoleColor color, string message)
{
ConsoleColor originalColor = Console.ForegroundColor;
Console.CursorLeft = 0;
... | Use writeline instead of CursorTop++ | Use writeline instead of CursorTop++
CursorTop++ is not compatible with msysgit buffer
| C# | mit | appharbor/appharbor-cli |
b8c5a9c829e8649181c4d53351e9aa400ca7a3bd | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels.Validation
{
public delegate void ValidateMethod(IErrorList errors);
public static class Validator
{
//public static IEnumerable<(string propertyName, Erro... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels.Validation
{
public delegate void ValidateMethod(IErrorList errors);
}
| Remove validator methods, no longer needed. | Remove validator methods, no longer needed.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
61ef0a31f394c71e5699ae622f291868ed30f417 | Src/Workspaces/CSharp/Utilities/CompilationOptionsConversion.cs | Src/Workspaces/CSharp/Utilities/CompilationOptionsConversion.cs | // Copyright (c) Microsoft Open Technologies, Inc. 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.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microso... | // Copyright (c) Microsoft Open Technologies, Inc. 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.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microso... | Allow null string in langversion conversion (changeset 1252651) | Allow null string in langversion conversion (changeset 1252651)
| C# | mit | KiloBravoLima/roslyn,lorcanmooney/roslyn,jkotas/roslyn,sharadagrawal/TestProject2,weltkante/roslyn,yetangye/roslyn,ericfe-ms/roslyn,jasonmalinowski/roslyn,mmitche/roslyn,Hosch250/roslyn,KashishArora/Roslyn,leppie/roslyn,jeremymeng/roslyn,VSadov/roslyn,abock/roslyn,russpowers/roslyn,AnthonyDGreen/roslyn,kuhlenh/roslyn,M... |
5db4b595d585d657015439768abae096f57055e1 | YegVote2013.Android/Service/ElectionServiceDownloadDirectory.cs | YegVote2013.Android/Service/ElectionServiceDownloadDirectory.cs | namespace net.opgenorth.yegvote.droid.Service
{
using System;
using System.IO;
using Android.Content;
using Environment = Android.OS.Environment;
/// <summary>
/// This class will figure out where to store files.
/// </summary>
/// <remarks>Different versions of Android have differ... | using Android.Runtime;
namespace net.opgenorth.yegvote.droid.Service
{
using System;
using System.IO;
using Android.Content;
using Environment = Android.OS.Environment;
/// <summary>
/// This class will figure out where to store files.
/// </summary>
/// <remarks>Different version... | Create the download directory if it doesn't exist. | Create the download directory if it doesn't exist.
| C# | apache-2.0 | topgenorth/yegvote2013,topgenorth/yegvote2013 |
1661ceda66b1ccd7007f94718ef032c3a409b940 | src/Voter.Tests/Api/Users/Handlers/LogoutHandlerTests.cs | src/Voter.Tests/Api/Users/Handlers/LogoutHandlerTests.cs | using DavidLievrouw.Utils.ForTesting.DotNet;
using DavidLievrouw.Voter.Api.Users.Models;
using DavidLievrouw.Voter.Security;
using FakeItEasy;
using NUnit.Framework;
namespace DavidLievrouw.Voter.Api.Users.Handlers {
[TestFixture]
public class LogoutHandlerTests {
LogoutHandler _sut;
[SetUp]
public v... | using DavidLievrouw.Utils.ForTesting.DotNet;
using DavidLievrouw.Voter.Api.Users.Models;
using DavidLievrouw.Voter.Security;
using FakeItEasy;
using NUnit.Framework;
namespace DavidLievrouw.Voter.Api.Users.Handlers {
[TestFixture]
public class LogoutHandlerTests {
LogoutHandler _sut;
[SetUp]
public v... | Refactor the tests in the LogoutHandler slightly. | SR: Refactor the tests in the LogoutHandler slightly.
| C# | mit | DavidLievrouw/Voter,DavidLievrouw/Voter |
7a9fcb3e9fe7d362280b325c073b25d05e30e119 | tests/Algorithms/Sha256Tests.cs | tests/Algorithms/Sha256Tests.cs | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Algorithms
{
public static class Sha256Tests
{
public static readonly string HashOfEmpty = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
[Fact]
public static void HashEmpty()
{
... | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Algorithms
{
public static class Sha256Tests
{
public static readonly string HashOfEmpty = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
[Fact]
public static void Properties()
{
... | Add tests for Sha256 class | Add tests for Sha256 class
| C# | mit | ektrah/nsec |
d9d761e6a0341de4db2fb375c1b8afc2447a4e0e | src/Nancy.Hosting.Self/UrlReservations.cs | src/Nancy.Hosting.Self/UrlReservations.cs | namespace Nancy.Hosting.Self
{
/// <summary>
/// Configuration for automatic url reservation creation
/// </summary>
public class UrlReservations
{
public UrlReservations()
{
this.CreateAutomatically = false;
this.User = "Everyone";
}
... | namespace Nancy.Hosting.Self
{
using System;
using System.Security.Principal;
/// <summary>
/// Configuration for automatic url reservation creation
/// </summary>
public class UrlReservations
{
private const string EveryoneAccountName = "Everyone";
private sta... | Fix for 'everyone' account in other languages | Fix for 'everyone' account in other languages
| C# | mit | jongleur1983/Nancy,AIexandr/Nancy,AcklenAvenue/Nancy,EliotJones/NancyTest,dbolkensteyn/Nancy,daniellor/Nancy,MetSystem/Nancy,vladlopes/Nancy,albertjan/Nancy,grumpydev/Nancy,sadiqhirani/Nancy,malikdiarra/Nancy,blairconrad/Nancy,JoeStead/Nancy,cgourlay/Nancy,murador/Nancy,EliotJones/NancyTest,nicklv/Nancy,charleypeng/Nan... |
02959c7118d3feda772f3be2f23a079b9f7d2682 | src/PalmDB/Serialization/UintPalmValue.cs | src/PalmDB/Serialization/UintPalmValue.cs | using System;
using System.Threading.Tasks;
namespace PalmDB.Serialization
{
internal class UIntPalmValue : IPalmValue<uint>
{
public int Length { get; }
public UIntPalmValue(int length)
{
Guard.NotNegative(length, nameof(length));
this.Length = length;
... | using System;
using System.Threading.Tasks;
namespace PalmDB.Serialization
{
/// <summary>
/// Represents a <see cref="uint"/> value inside a palm database.
/// </summary>
internal class UIntPalmValue : IPalmValue<uint>
{
/// <summary>
/// Gets the length of this uint block.
... | Add code documentation to the UIntPalmValue | Add code documentation to the UIntPalmValue
| C# | mit | haefele/PalmDB |
1b116dd04e6393b523ba4e20896ed2c44d7fd948 | osu.Game.Tests/Visual/TestCaseBeatDivisorControl.cs | osu.Game.Tests/Visual/TestCaseBeatDivisorControl.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Screens.Compose;
using... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Screens.Compose;
using... | Adjust testcase sizing to match editor | Adjust testcase sizing to match editor
| C# | mit | smoogipoo/osu,DrabWeb/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,EVAST9919/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,Frontear/osuKyzer,smoogipoo/osu,Nabile-Rahmani/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,Usel... |
cfcb4b722da239b3e7190ff1950f84cb76c6c885 | src/GitHub.VisualStudio/Converters/CountToVisibilityConverter.cs | src/GitHub.VisualStudio/Converters/CountToVisibilityConverter.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using NullGuard;
namespace GitHub.VisualStudio.Converters
{
/// <summary>
/// Convert a count to visibility based on the following rule:
/// * If count == 0, return Visibility.Visible
/// * If count > 0, return ... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using NullGuard;
namespace GitHub.VisualStudio.Converters
{
/// <summary>
/// Convert a count to visibility based on the following rule:
/// * If count == 0, return Visibility.Visible
/// * If count > 0, return ... | Use AllowNull for appropriate parameters | Use AllowNull for appropriate parameters
| C# | mit | amytruong/VisualStudio,AmadeusW/VisualStudio,radnor/VisualStudio,bradthurber/VisualStudio,modulexcite/VisualStudio,YOTOV-LIMITED/VisualStudio,github/VisualStudio,github/VisualStudio,mariotristan/VisualStudio,luizbon/VisualStudio,8v060htwyc/VisualStudio,github/VisualStudio,ChristopherHackett/VisualStudio,GProulx/VisualS... |
2d0fdc820440e03cbc61dedf6b629c9a72c7abc4 | osu.Game.Tests/Visual/TestCaseReplay.cs | osu.Game.Tests/Visual/TestCaseReplay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using System.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Scoring;
using osu.Game.Screens.Play;
namespace o... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using System.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Screens.Play;
namespace osu.Game.Tests.Visual
{
... | Create ReplayPlayer using Score from the dummy RulesetContainer | Create ReplayPlayer using Score from the dummy RulesetContainer
| C# | mit | DrabWeb/osu,naoey/osu,2yangk23/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,peppy/osu,peppy/osu-new,naoey/osu,ppy/osu... |
5fbd369d23c0dcf9f871df9aa6db518afce0d3ee | AxosoftAPI.NET/Models/WorkLog.cs | AxosoftAPI.NET/Models/WorkLog.cs | using System;
using Newtonsoft.Json;
namespace AxosoftAPI.NET.Models
{
public class WorkLog : BaseModel
{
[JsonProperty("project")]
public Project Project { get; set; }
[JsonProperty("release")]
public Release Release { get; set; }
[JsonProperty("user")]
public User User { get; set; }
[JsonProperty... | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace AxosoftAPI.NET.Models
{
public class WorkLog : BaseModel
{
[JsonProperty("project")]
public Project Project { get; set; }
[JsonProperty("release")]
public Release Release { get; set; }
[JsonProperty("user")]
public User U... | Add Custom Work Log field | Add Custom Work Log field
| C# | mit | Axosoft/AxosoftAPI.NET |
8e5b0da091f5836e407c8f776b4c228faa4ecdea | DevelopmentInProgress.DipState/LogEntry.cs | DevelopmentInProgress.DipState/LogEntry.cs | using System;
namespace DevelopmentInProgress.DipState
{
public class LogEntry
{
public LogEntry(string message)
{
Message = message;
Time = DateTime.Now;
}
public DateTime Time { get; private set; }
public string Message { get; private set; }
... | using System;
namespace DevelopmentInProgress.DipState
{
public class LogEntry
{
public LogEntry(string message)
{
Message = message;
Time = DateTime.Now;
}
public DateTime Time { get; private set; }
public string Message { get; private set; }
... | Change time format for log entry | Change time format for log entry
Change time format to "yyyy-MM-dd HH:mm:ss"
| C# | apache-2.0 | grantcolley/dipstate |
a70d9a29a51cec6d1f5059099f843a2b9bbc83b6 | SGEnviro/Utilities/Parsing.cs | SGEnviro/Utilities/Parsing.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SGEnviro.Utilities
{
public class NumberParseException : Exception
{
public NumberParseException(string message) { }
}
public class Parsing
{
public static void ParseFloatOrThrowExcepti... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace SGEnviro.Utilities
{
public class NumberParseException : Exception
{
public NumberParseException(string message) { }
}
public class Parsing
{
public static v... | Use invariant culture when parsing floats. | Use invariant culture when parsing floats.
| C# | mit | jcheng31/SGEnviro |
0075dd4ae45858a8b470095e4e2541e292c7c4f2 | Examples/ParseOptions/Program.cs | Examples/ParseOptions/Program.cs | using System;
using System.Linq;
using Pixie;
using Pixie.Markup;
using Pixie.Options;
using Pixie.Terminal;
namespace ParseOptions
{
public static class Program
{
private static readonly FlagOption syntaxOnlyFlag = new FlagOption(
OptionForm.Short("fsyntax-only"),
OptionForm.S... | using System;
using System.Linq;
using Pixie;
using Pixie.Markup;
using Pixie.Options;
using Pixie.Terminal;
using Pixie.Transforms;
namespace ParseOptions
{
public static class Program
{
private static readonly FlagOption syntaxOnlyFlag = new FlagOption(
OptionForm.Short("fsyntax-only"),
... | Make option parsing output prettier | Make option parsing output prettier
| C# | mit | jonathanvdc/Pixie,jonathanvdc/Pixie |
ca1e5126badab277d3b3958d49f27a09ea15dbc6 | Group.Net/Groups/PermutationGroup.cs | Group.Net/Groups/PermutationGroup.cs | using System;
using System.Collections.Generic;
namespace Group.Net.Groups
{
public class PermutationGroup<T> where T : IComparable<T>
{
protected readonly IList<IList<int>> Generators;
public int GeneratorCount
{
get { return Generators.Count; }
}
public PermutationGroup(IList<IList<int>> generators... | using System;
using System.Collections.Generic;
namespace Group.Net.Groups
{
public class PermutationGroup<T> where T : IComparable<T>
{
protected readonly IList<IList<int>> Generators;
public int GeneratorCount
{
get { return Generators.Count; }
}
public PermutationGroup(IList<IList<int>> generators)... | Fix for attempting to permute singleton Points objects. | Fix for attempting to permute singleton Points objects. | C# | mit | lifebeyondfife/Group.Net |
62129a56b8148bf6ca862518b112ac6e80a5cb89 | src/Tgstation.Server.Host/Core/ApplicationBuilderExtensions.cs | src/Tgstation.Server.Host/Core/ApplicationBuilderExtensions.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Globalization;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Core
{
/// <summary>
/// Extensions for <see cref="IApplicationBuilder"/>
/// </summary>
static clas... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Globalization;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Core
{
/// <summary>
/// Extensions for <see cref="IApplicationBuilder"/>
/// </summary>
static clas... | Check parameter before actually using it | Check parameter before actually using it
| C# | agpl-3.0 | tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools |
e823feff11485fceec404da985be2b5f4d689dc1 | EOLib/UnityExtensions.cs | EOLib/UnityExtensions.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using Microsoft.Practices.Unity;
namespace EOLib
{
public static class UnityExtensions
{
public static void RegisterIns... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using Microsoft.Practices.Unity;
namespace EOLib
{
public static class UnityExtensions
{
public static IUnityContainer ... | Return IUnityContainer from unity extension methods | Return IUnityContainer from unity extension methods
| C# | mit | ethanmoffat/EndlessClient |
902d40989f70eb53c737654412c224b5b1b062a4 | Novak.Andriy/All_Projects/RegEditor/ComandsContextMenu.cs | Novak.Andriy/All_Projects/RegEditor/ComandsContextMenu.cs | using System.Windows.Input;
namespace RegEditor
{
public static class ComandsContextMenu
{
public static readonly RoutedUICommand CreateKey = new RoutedUICommand(
"Create Key", "CreateKey", typeof(MainWindow));
public static readonly RoutedUICommand UpdateKey = new RoutedUIComman... | using System.Windows.Input;
namespace RegEditor
{
public static class ComandsContextMenu
{
public static readonly RoutedUICommand CreateKey = new RoutedUICommand(
"Create Key", "CreateKey", typeof(MainWindow));
public static readonly RoutedUICommand UpdateKey = new RoutedUIComman... | Add puncts key value in context menu | Add puncts key value in context menu
| C# | cc0-1.0 | 23S163PR/system-programming |
1636de71436f18ade8d221d7afc95846c6d1dc86 | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | Add param name to better readability | Add param name to better readability
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
6964f1d50f0dca2ae8549028ba90d280248e7b56 | tests/SqlStreamStore.MySql.Tests/MySqlStreamStoreFixturePool.cs | tests/SqlStreamStore.MySql.Tests/MySqlStreamStoreFixturePool.cs | namespace SqlStreamStore
{
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using SqlStreamStore.MySql;
using Xunit;
using Xunit.Abstractions;
public class MySqlStreamStoreFixturePool : IAsyncLifetime
{
private readonly ConcurrentQueue<MySqlStrea... | namespace SqlStreamStore
{
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using SqlStreamStore.MySql;
using Xunit;
using Xunit.Abstractions;
public class MySqlStreamStoreFixturePool : IAsyncLifetime
{
private readonly ConcurrentQueue<MySqlStrea... | Add todo - this will give wrong test output. | Add todo - this will give wrong test output.
| C# | mit | SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore |
1d023dcedbb64fcac9d4956c73de22407e51b035 | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.cs | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.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.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | // 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.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | Fix mania editor null reference | Fix mania editor null reference
| C# | mit | peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu |
b9e0fed4679d5b7c6193cb1c48ef8659eaa59f3d | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.cs | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.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.Tournament.Components;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace ... | // 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.Framework.Graphics.Containers;
using osu.Game.Tournament.Components;
using osu.Framework.Graphics.... | Use SongBar height instead of hard-coded dimensions | Use SongBar height instead of hard-coded dimensions
| C# | mit | peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu |
bc2885dc5f04d324a0c2d1dcbdab23b8719ae515 | Alexa.NET.Management/Internals/IClientAccountLinkingApi.cs | Alexa.NET.Management/Internals/IClientAccountLinkingApi.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Alexa.NET.Management.AccountLinking;
using Refit;
namespace Alexa.NET.Management.Internals
{
[Headers("Authorization: Bearer")]
public interface IClientAccountLinkingApi
{
[Get("/skills/{skilIid}... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Alexa.NET.Management.AccountLinking;
using Refit;
namespace Alexa.NET.Management.Internals
{
[Headers("Authorization: Bearer")]
public interface IClientAccountLinkingApi
{
[Get("/skills/{skillId}... | Fix issue with mismatched parameter on AccountLinking Api | Fix issue with mismatched parameter on AccountLinking Api
| C# | mit | stoiveyp/Alexa.NET.Management |
48ff3e878146db900b4a07cd20b09f4e5c2761fe | ClosedXML/ClosedXML/ClosedXML_Examples/Misc/WorkbookProperties.cs | ClosedXML/ClosedXML/ClosedXML_Examples/Misc/WorkbookProperties.cs | using System;
using ClosedXML.Excel;
namespace ClosedXML_Examples.Misc
{
public class WorkbookProperties : IXLExample
{
#region Variables
// Public
// Private
#endregion
#region Properties
// Public
// Private
// O... | using System;
using ClosedXML.Excel;
namespace ClosedXML_Examples.Misc
{
public class WorkbookProperties : IXLExample
{
#region Variables
// Public
// Private
#endregion
#region Properties
// Public
// Private
// O... | Fix time zone issue in tests | Fix time zone issue in tests
| C# | mit | JavierJJJ/ClosedXML,ClosedXML/ClosedXML,jongleur1983/ClosedXML,igitur/ClosedXML,vbjay/ClosedXML,clinchergt/ClosedXML,b0bi79/ClosedXML |
67857e78f30c2e718d6a126000c6c042d93fd5d3 | assets/CommonAssemblyInfo.cs | assets/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyInformationalVersion("1.2.0")]
| using System.Reflection;
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyInformationalVersion("2.1.0")]
| Update version to at least above published version on nuget.org | Update version to at least above published version on nuget.org
| C# | apache-2.0 | serilog-trace-listener/SerilogTraceListener |
0cfa2c592175ed5f1067731fffef01999191b9f9 | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
namespace MessageBird.Json.Converters
{
class RFC3339DateTimeConverter : JsonConverter
{
private const string Format = "yyyy-MM-dd'T'HH:mm:ssK";
public override void WriteJson(JsonWriter writer, object value, JsonSerializer ser... | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
namespace MessageBird.Json.Converters
{
class RFC3339DateTimeConverter : JsonConverter
{
private const string Format = "yyyy-MM-dd'T'HH:mm:ssK";
public override void WriteJson(JsonWriter writer, object value, JsonSerializer ser... | Raise exception when the kind of a DateTime is unspecified | Raise exception when the kind of a DateTime is unspecified
To properly convert to RFC3339 format, we need to know the kind to determine the proper timezone offset.
| C# | isc | messagebird/csharp-rest-api |
8e1253a882956f81ee7f4690849914f30769697c | mugo/TextureLoader.cs | mugo/TextureLoader.cs | using System;
using System.Collections.Generic;
using Engine.cgimin.texture;
using System.IO;
namespace Mugo
{
public static class TextureLoader
{
private static readonly Dictionary<String, TextureHolder> textures = new Dictionary<string, TextureHolder>();
public static TextureHolder Load(String path)
{
T... | using System;
using System.Collections.Generic;
using Engine.cgimin.texture;
using System.IO;
namespace Mugo
{
public static class TextureLoader
{
private static readonly Dictionary<String, TextureHolder> textures = new Dictionary<string, TextureHolder>();
public static TextureHolder Load(String path)
{
T... | Save loaded textures in map. | Save loaded textures in map.
| C# | mit | saschb2b/mugo |
17193a0b7fb7518adb753a6af0bb14034067a8d9 | DynamixelServo.Driver/ComplianceSlope.cs | DynamixelServo.Driver/ComplianceSlope.cs | namespace DynamixelServo.Driver
{
public enum ComplianceSlope
{
S2 = 2,
S4 = 4,
S8 = 8,
S16 = 16,
S32 = 32,
Default = 32,
S64 = 64,
S128 = 128
}
}
| namespace DynamixelServo.Driver
{
public enum ComplianceSlope
{
S2 = 2,
S4 = 4,
S8 = 8,
S16 = 16,
S32 = 32,
/// <summary>
/// Same as S32
/// </summary>
Default = 32,
S64 = 64,
S128 = 128
}
}
| Add description to default Compliance slope | Add description to default Compliance slope
| C# | apache-2.0 | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo |
a2f2a006f5c91001abe8868ec8720c349d017960 | RecurlyTestRig/Program.cs | RecurlyTestRig/Program.cs | using System;
using Recurly;
using Recurly.Resources;
namespace RecurlyTestRig
{
class Program
{
static void Main(string[] args)
{
var client = new Recurly.Client("subdomain-client-lib-test", "382c053318a04154905c4d27a48f74a6");
var site = client.GetSite("sub... | using System;
using Recurly;
using Recurly.Resources;
namespace RecurlyTestRig
{
class Program
{
static void Main(string[] args)
{
try {
var subdomain = Environment.GetEnvironmentVariable("RECURLY_SUBDOMAIN");
var apiKey = Environment.GetEnvironmen... | Use env vars for test client | Use env vars for test client
| C# | mit | recurly/recurly-client-net,recurly/recurly-client-net |
f558141804cb3674a9c3fae3ee2d4cdf7f1ab7b2 | src/Testing/MongoConnectedTestBase.cs | src/Testing/MongoConnectedTestBase.cs | using System.Collections.Generic;
using MongoDB.Driver;
namespace RapidCore.Mongo.Testing
{
/// <summary>
/// Base class for functional tests that need access to
/// a Mongo database.
///
/// It provides simple helpers that we use ourselves.
/// </summary>
public abstract class MongoConnec... | using System.Collections.Generic;
using MongoDB.Driver;
namespace RapidCore.Mongo.Testing
{
/// <summary>
/// Base class for functional tests that need access to
/// a Mongo database.
///
/// It provides simple helpers that we use ourselves.
/// </summary>
public abstract class MongoConnec... | Define a property for the connection string | Define a property for the connection string
This allows consumers to override the value and actually have it used.
| C# | mit | rapidcore/rapidcore,rapidcore/rapidcore |
cf739f4e829ace5f5ad229eade14628a3432c306 | src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs | src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs | using GitHub.Api;
using GitHub.Models;
using GitHub.Services;
using Microsoft.TeamFoundation.Controls;
using System.ComponentModel.Composition;
namespace GitHub.VisualStudio.TeamExplorer.Connect
{
[TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 10)]
[PartCreationPolicy(CreationPolic... | using GitHub.Api;
using GitHub.Models;
using GitHub.Services;
using Microsoft.TeamFoundation.Controls;
using System.ComponentModel.Composition;
namespace GitHub.VisualStudio.TeamExplorer.Connect
{
[TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 11)]
[PartCreationPolicy(CreationPolic... | Fix ordering of connection sections | Fix ordering of connection sections
| C# | mit | YOTOV-LIMITED/VisualStudio,github/VisualStudio,GuilhermeSa/VisualStudio,github/VisualStudio,pwz3n0/VisualStudio,amytruong/VisualStudio,HeadhunterXamd/VisualStudio,naveensrinivasan/VisualStudio,github/VisualStudio,bradthurber/VisualStudio,luizbon/VisualStudio |
619cb178f3c22425b78660092d20a1b14fc87ea3 | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | src/WebJobs.Script/Description/Binding/EventHubBindingMetadata.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.ServiceBus;
namespace Microsoft.Azure.WebJobs.Script.Description
{
public class EventHubBindingMetadata : BindingMetad... | Support EventHub Consumer Groups in Script | Support EventHub Consumer Groups in Script
| C# | mit | fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script |
b5abf7f928260115405a679eddc599bd685a359d | DereTore.Applications.StarlightDirector/UI/Controls/Pages/SummaryPage.xaml.cs | DereTore.Applications.StarlightDirector/UI/Controls/Pages/SummaryPage.xaml.cs | using System;
using System.Windows;
using DereTore.Applications.StarlightDirector.Extensions;
namespace DereTore.Applications.StarlightDirector.UI.Controls.Pages {
public partial class SummaryPage : IDirectorPage {
public SummaryPage() {
InitializeComponent();
Table = new Observab... | using System;
using System.Windows;
using DereTore.Applications.StarlightDirector.Extensions;
namespace DereTore.Applications.StarlightDirector.UI.Controls.Pages {
public partial class SummaryPage : IDirectorPage {
public SummaryPage() {
InitializeComponent();
Table = new Observab... | Fix crash after discarding autosave file | [director] Fix crash after discarding autosave file
| C# | mit | hozuki/DereTore,hozuki/DereTore,OpenCGSS/DereTore,OpenCGSS/DereTore,OpenCGSS/DereTore,hozuki/DereTore |
a53c64cf9fee28d7903fed1a6dd3865b629707cb | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DynamicProxy2")]
[assembly: AssemblyDescription("")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DynamicProxy2")]
| Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | jango2015/Autofac.Extras.DynamicProxy,autofac/Autofac.Extras.DynamicProxy |
cce7026b7fcec94fd37bd7d8b781abdc4ffc423d | src/Arkivverket.Arkade.Core/Base/Noark5/Noark5BaseTest.cs | src/Arkivverket.Arkade.Core/Base/Noark5/Noark5BaseTest.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using Arkivverket.Arkade.Core.Resources;
using Arkivverket.Arkade.Core.Testing;
using Arkivverket.Arkade.Core.Util;
using Serilog;
namespace Arkivverket.Arkade.Core.Base.Noark5
{
public abstract class Noark5BaseTest : IArkadeTest
... | using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using Arkivverket.Arkade.Core.Resources;
using Arkivverket.Arkade.Core.Testing;
using Arkivverket.Arkade.Core.Util;
using Serilog;
namespace Arkivverket.Arkade.Core.Base.Noark5
{
public abstract class Noark5BaseTest : IArkadeTest
... | Use TestID for N5 test description lookup | Use TestID for N5 test description lookup
ARKADE-273
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
5fcd4e5b1f8e690a986a463a9d80056ad51b7642 | ConsoleTesting/Program.cs | ConsoleTesting/Program.cs | // Program.cs
// <copyright file="Program.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using CardsLibrary;
namespace ConsoleTesting
{
/// <summary>
/// The main program (for testing at the moment).
/// </summary>
public clas... | // Program.cs
// <copyright file="Program.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using CardsLibrary;
namespace ConsoleTesting
{
/// <summary>
/// The main program (for testing at the moment).
/// </summary>
public class Program
... | Update to remove WhistInfo constructor call | Update to remove WhistInfo constructor call | C# | mit | ashfordl/cards |
37ef12b416596b6800d3aaa5d9e70f0e59deb46e | PlayerRank/League.cs | PlayerRank/League.cs | using System.Collections.Generic;
using System.Linq;
using PlayerRank.Scoring;
namespace PlayerRank
{
public class League
{
private readonly List<Game> m_Games = new List<Game>();
public IEnumerable<PlayerScore> GetLeaderBoard(IScoringStrategy scoringStrategy)
{
IList<Pla... | using System.Collections.Generic;
using System.Linq;
using PlayerRank.Scoring;
namespace PlayerRank
{
public class League
{
private readonly List<Game> m_Games = new List<Game>();
public IEnumerable<PlayerScore> GetLeaderBoard(IScoringStrategy scoringStrategy)
{
scoringSt... | Call reset before calculating leaderboard | Call reset before calculating leaderboard
| C# | mit | TheEadie/PlayerRank,TheEadie/PlayerRank |
7fcfd49c403f23604c2ac8a7b1c9ee2ac4474bbe | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
public class NBenchTestDiscoverer : ITestDiscoverer
{
public void Di... | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | Make the tests pertaining to an empty sources collection pass. | Make the tests pertaining to an empty sources collection pass.
| C# | apache-2.0 | SeanFarrow/NBench.VisualStudio |
c2fe209ab4ba67a6f07ec6a0af1da4c64c1b0416 | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | Make the tests pertaining to the test case discovery sink being null pass. | Make the tests pertaining to the test case discovery sink being null pass.
| C# | apache-2.0 | SeanFarrow/NBench.VisualStudio |
36f1ec93ec82065b1c457bec49eae3dcb2327cc9 | src/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderName.cs | src/System.Reflection.Emit/tests/PropertyBuilder/PropertyBuilderName.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.Generic;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class PropertyBu... | // 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.Generic;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class PropertyBu... | Add some more tests for PropertyBuilder.Name | Add some more tests for PropertyBuilder.Name
| C# | mit | lggomez/corefx,alphonsekurian/corefx,zhenlan/corefx,ericstj/corefx,axelheer/corefx,marksmeltzer/corefx,krytarowski/corefx,jlin177/corefx,lggomez/corefx,alexperovich/corefx,marksmeltzer/corefx,wtgodbe/corefx,parjong/corefx,rjxby/corefx,stone-li/corefx,dotnet-bot/corefx,rubo/corefx,stephenmichaelf/corefx,alphonsekurian/c... |
018e554c19635d44f67f28bba4365a92d21d2fa9 | src/DwmApi.Tests/DwmApiFacts.cs | src/DwmApi.Tests/DwmApiFacts.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using PInvoke;
using Xunit;
using static PInvoke.DwmApi;
public class DwmApiFac... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using PInvoke;
using Xunit;
using static PInvoke.DwmApi;
public class DwmApiFac... | Fix test failure on CI | Fix test failure on CI
| C# | mit | jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke |
601d1387fa3e2e3ab69587674b8cf9d0c0a2bdef | CRP.Mvc/Views/Report/ViewReport.cshtml | CRP.Mvc/Views/Report/ViewReport.cshtml | @model CRP.Controllers.ViewModels.ReportViewModel
@{
ViewBag.Title = "ViewReport";
}
<div class="boundary">
<p>
@Html.ActionLink("Back to Item", "Details", "ItemManagement", null, null, "Reports", new { id = Model.ItemId }, null) |
@Html.ActionLink("Generate Excel Report", "CreateExc... | @model CRP.Controllers.ViewModels.ReportViewModel
@{
ViewBag.Title = "ViewReport";
}
<div class="boundary">
<p>
@Html.ActionLink("Generate Excel Report", "CreateExcelReport", "Excel", new { id = Model.ItemReportId, itemId = Model.ItemId }, new { @class = "btn" })
</p>
<p>@Html.Actio... | Make generate Excel action a button | Make generate Excel action a button
| C# | mit | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP |
167677660ce9bcd8fdca83b06b80e45a86990d53 | MbCache/Configuration/IProxyFactory.cs | MbCache/Configuration/IProxyFactory.cs | using MbCache.Logic;
namespace MbCache.Configuration
{
/// <summary>
/// Creates the proxy.
/// The implementation of this interface needs a default ctor
/// </summary>
public interface IProxyFactory
{
/// <summary>
/// Called once after this object is instansiated.
/// </summary>
void Init... | using MbCache.Logic;
namespace MbCache.Configuration
{
/// <summary>
/// Creates the proxy.
/// </summary>
public interface IProxyFactory
{
/// <summary>
/// Called once after this object is instansiated.
/// </summary>
void Initialize(CacheAdapter cache);
/// <summary>
/// Creates the... | Remove no longer valid comment | Remove no longer valid comment
| C# | mit | RogerKratz/mbcache |
324f8dd55ce9fab0efa3b32960c155cc6f3deda2 | LibGit2Sharp.Tests/Properties/AssemblyInfo.cs | LibGit2Sharp.Tests/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("libgit2sharp.Tests")]
[assembly: Assembly... | using System.Reflection;
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: AssemblyTitle("libgit2sharp.Tests")]
[assem... | Disable test parallelization to avoid test failures | Disable test parallelization to avoid test failures
| C# | mit | libgit2/libgit2sharp,Zoxive/libgit2sharp,PKRoma/libgit2sharp,Zoxive/libgit2sharp |
07c3af75f33cd58d06a24dad78cc4d83b82527e6 | src/API/Program.cs | src/API/Program.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | Handle application errors more gracefully | Handle application errors more gracefully
Handle application errors more gracefully on start-up by catching and
logging any exceptions to the console and returning an exit code of -1.
| C# | mit | martincostello/api,martincostello/api,martincostello/api |
cbcdf79d45166bca69a33c688be9920f20754875 | src/Game/Sakuno.ING.Game.Models/Models/PlayerShipSlot.cs | src/Game/Sakuno.ING.Game.Models/Models/PlayerShipSlot.cs | using System;
namespace Sakuno.ING.Game.Models
{
public sealed class PlayerShipSlot : Slot
{
public PlayerShip Owner { get; }
public int Index { get; }
public override SlotItem? Item => _slotItem;
private PlayerSlotItem? _slotItem;
public PlayerSlotItem? PlayerSlotIte... | using System;
namespace Sakuno.ING.Game.Models
{
public sealed class PlayerShipSlot : Slot
{
public PlayerShip Owner { get; }
public int Index { get; }
public override SlotItem? Item => _slotItem;
private PlayerSlotItem? _slotItem;
public PlayerSlotItem? PlayerSlotIte... | Add slot property changed notification | Add slot property changed notification
| C# | mit | amatukaze/HeavenlyWind |
70f463756188ae73b8c6f52e5475bf136aae5d18 | DanTup.DartVS.Vsix/ProjectSystem/DartProjectConfig.cs | DanTup.DartVS.Vsix/ProjectSystem/DartProjectConfig.cs | namespace DanTup.DartVS.ProjectSystem
{
using Microsoft.VisualStudio.Project;
public class DartProjectConfig : ProjectConfig
{
internal DartProjectConfig(DartProjectNode project, string configuration, string platform)
: base(project, configuration, platform)
{
}
... | namespace DanTup.DartVS.ProjectSystem
{
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Project;
public class DartProjectConfig : ProjectConfig
{
internal DartProjectConfig(DartProjectNode project, string configuration, string platform)
: base(project, configuration, pla... | Disable run/debug commands for Dart projects | Disable run/debug commands for Dart projects
| C# | mit | modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS |
8eee622286fab1e8e82771be6b92688940a06d8d | borkedLabs.CrestScribe/ScribeQueryWorker.cs | borkedLabs.CrestScribe/ScribeQueryWorker.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace borkedLabs.CrestScribe
{
public class ScribeQueryWorker
{
private BlockingCollection<SsoCharacter> _queryQueue;
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace borkedLabs.CrestScribe
{
public class ScribeQueryWorker
{
private BlockingCollection<SsoCharacter> _queryQueue;
... | Move the blockingcollection take to inside the try catch | Move the blockingcollection take to inside the try catch
| C# | mit | borkedLabs/borkedLabs.CrestScribe |
04a5a094cc55ab458b8c2747adaa097191b1f5e8 | Okra-Todo/Data/TodoRepository.cs | Okra-Todo/Data/TodoRepository.cs | using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Okra.TodoSample.Data
{
[Export(typeof(ITodoRepository))]
public class TodoRepository : ITodoRepository
{
private IList<TodoItem> todoItems;
... | using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Okra.TodoSample.Data
{
[Export(typeof(ITodoRepository))]
public class TodoRepository : ITodoRepository
{
private IList<TodoItem> todoItems;
... | Fix AddTodoItem to autoincrement the item id | Fix AddTodoItem to autoincrement the item id
| C# | apache-2.0 | OkraFramework/Okra-Todo |
418a79810eef0f8361f5eeb2509a6e0a2ec4f144 | Modix.Data/Utilities/Extensions.cs | Modix.Data/Utilities/Extensions.cs | using System;
using System.Linq;
namespace Modix.Data.Utilities
{
public static class Extensions
{
public static string Truncate(this string value, int maxLength, int maxLines, string suffix = "…")
{
if (string.IsNullOrEmpty(value)) return value;
if (value.Length <= ma... | using System;
using System.Linq;
namespace Modix.Data.Utilities
{
public static class Extensions
{
public static string Truncate(this string value, int maxLength, int maxLines, string suffix = "…")
{
if (string.IsNullOrEmpty(value)) return value;
if (value.Length <= ma... | Fix "Value cannot be null." error | Fix "Value cannot be null." error
| C# | mit | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX |
23d838d904f3a63ea1081cd4dec35e3e4558d795 | src/AppHarbor/CompressionExtensions.cs | src/AppHarbor/CompressionExtensions.cs | using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output)
{
var archive = TarArchive.CreateOutputTarArchive(output);
archive.RootPath = sourceDirector... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output)
{
var archive = TarArchive.CreateOutputTarArchive(output);
... | Refactor to use own method for getting files recursively | Refactor to use own method for getting files recursively
| C# | mit | appharbor/appharbor-cli |
cdb44d7239e3ad92a56e40bd04ce5a6ee7ad86c7 | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.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.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tests.Visual.Mu... | // 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.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.Multiplayer.M... | Fix match footer test scene not working in visual testing | Fix match footer test scene not working in visual testing
| C# | mit | peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu |
3de42d562d7d4c9ce9e5942c059af088cb476712 | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.cs | osu.Framework.Benchmarks/BenchmarkBindableInstantiation.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 BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
public class BenchmarkBindableInstantiation
{... | // 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 BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkBinda... | Add basic bindable instantiation benchmark | Add basic bindable instantiation benchmark
| C# | mit | smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework |
42f13a51ee44fe7475fc8df49cf8c4c5207c4175 | src/Server/Bit.Data/Implementations/SqlServerJsonLogStore.cs | src/Server/Bit.Data/Implementations/SqlServerJsonLogStore.cs | using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Bit.Data.Implementations
{
public class SqlServerJsonLogStore : ILogStore
{
public virtual AppEnvironment ActiveAppEnvironment { get; set; }
public virtual IContentFormatter Fo... | using Bit.Core.Contracts;
using Bit.Core.Models;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Bit.Data.Implementations
{
public class SqlServerJsonLogStore : ILogStore
{
public virtual AppEnvironment ActiveAppEnvironment { get; set; }
public virtual IContentFormatter Fo... | Use configureAwait(false) for sql server json log store | Use configureAwait(false) for sql server json log store
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
4e9d583041853f97986d9a255fd7505980c41cab | Mapsui.Rendering.Skia/BitmapHelper.cs | Mapsui.Rendering.Skia/BitmapHelper.cs | using System.IO;
using System.Text;
using Mapsui.Extensions;
using Mapsui.Styles;
using SkiaSharp;
using Svg.Skia;
namespace Mapsui.Rendering.Skia
{
public static class BitmapHelper
{
public static BitmapInfo LoadBitmap(object bitmapData)
{
// todo: Our BitmapRegistry stores not on... | using System.IO;
using System.Text;
using Mapsui.Extensions;
using Mapsui.Styles;
using SkiaSharp;
using Svg.Skia;
namespace Mapsui.Rendering.Skia
{
public static class BitmapHelper
{
public static BitmapInfo LoadBitmap(object bitmapStream)
{
// todo: Our BitmapRegistry stores not ... | Revert "Changed name for bitmap data from bitmapStream to bitmapData, because bitmapStream is misleading." | Revert "Changed name for bitmap data from bitmapStream to bitmapData, because bitmapStream is misleading."
This reverts commit 7cfdac972d1797504275e02c22cbe526ff2dd4fb.
| C# | mit | pauldendulk/Mapsui,charlenni/Mapsui,charlenni/Mapsui |
c598240fa3abd85a0f7fc5937f4c0304e33a8e72 | src/V3/NuGet.Client/Installation/UninstallActionHandler.cs | src/V3/NuGet.Client/Installation/UninstallActionHandler.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NewPackageAction = NuGet.Client.Resolution.PackageAction;
namespace NuGet.Client.Installation
{
public class UninstallActionHandler : IActionH... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NewPackageAction = NuGet.Client.Resolution.PackageAction;
namespace NuGet.Client.Installation
{
public class UninstallActionHandler : IActionH... | Fix uninstall for project k projects | Fix uninstall for project k projects
| C# | apache-2.0 | xoofx/NuGet,mrward/nuget,mrward/NuGet.V2,GearedToWar/NuGet2,oliver-feng/nuget,jholovacs/NuGet,mrward/NuGet.V2,antiufo/NuGet2,mrward/NuGet.V2,jholovacs/NuGet,RichiCoder1/nuget-chocolatey,akrisiun/NuGet,jmezach/NuGet2,jholovacs/NuGet,jmezach/NuGet2,xoofx/NuGet,antiufo/NuGet2,oliver-feng/nuget,mrward/nuget,mrward/NuGet.V2... |
6d6df94ee955e6ba39c4e471279fe1ad6ca2f92d | SpaceBlog/SpaceBlog/Models/Article.cs | SpaceBlog/SpaceBlog/Models/Article.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace SpaceBlog.Models
{
public class Article
{
public Article()
{
Date = DateTime.Now;
}
[Key]
public int Id { get; set; }
[Required]
[MaxLength(50)]
public string Titl... | using System;
using System.ComponentModel.DataAnnotations;
namespace SpaceBlog.Models
{
public class Article
{
public Article()
{
Date = DateTime.Now;
}
[Key]
public int Id { get; set; }
[Required]
[MaxLength(50, ErrorMessage = "The Title m... | Create Error message in Title | Create Error message in Title
| C# | mit | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog |
ceae3a6644e629690c7931a5976d7b27e77a90e8 | TElkins.Web/Views/Resume/Index.cshtml | TElkins.Web/Views/Resume/Index.cshtml |
@{
ViewBag.Title = "Resume";
}
<div class="col-sm-8 col-sm-offset-2">
<div class="col-xs-12 col-sm-6 col-sm-offset-3 list-group" id="aboutButtonGroup">
<button type="button" class="list-group-item storyList" id="2015"><p class="text-center">2015</p></button>
<button type="button" class="list... |
@{
ViewBag.Title = "Resume";
}
<div class="col-sm-8 col-sm-offset-2">
<div class="col-xs-12 col-sm-6 col-sm-offset-3 list-group" id="aboutButtonGroup">
<button type="button" class="list-group-item storyList" id="2015"><p class="text-center">Information Technology Intern</p></button>
<button ... | Change to jobs on resume page | Change to jobs on resume page
| C# | mit | travistme/PersonalSite |
de32e0714eb0b2a0a741fa246548cfe16517ff5b | osu.Framework.VisualTests/VisualTestGame.cs | osu.Framework.VisualTests/VisualTestGame.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Platform;
using osu.Framework.Sc... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Platform;
using osu.Framework.Sc... | Move mouse state setting to SetHost. | Move mouse state setting to SetHost.
| C# | mit | EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,paparony03/osu-framework,paparony03/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-fr... |
8ecb660682451524e67812c9e82156646f8b4190 | WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/BuildTabViewModel.cs | using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Blockchain.TransactionBuilding;
using WalletWasabi.Gui.Helpers;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public... | using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Blockchain.TransactionBuilding;
using WalletWasabi.Gui.Helpers;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public... | Fix the wording at tx build | Fix the wording at tx build
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
cd8660a884967cb91540fcb80ec8cae1590043d9 | src/Orchard.Web/Modules/Orchard.Packaging/ResourceManifest.cs | src/Orchard.Web/Modules/Orchard.Packaging/ResourceManifest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orchard.UI.Resources;
namespace Orchard.Packaging {
public class ResourceManifest : IResourceManifestProvider {
public void BuildManifests(ResourceManifestBuilder builder) {
builder.Add().Define... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orchard.Environment.Extensions;
using Orchard.UI.Resources;
namespace Orchard.Packaging {
[OrchardFeature("Gallery")]
public class ResourceManifest : IResourceManifestProvider {
public void BuildManife... | Fix resource manifest for gallery -- should enable with the Gallery feature | Fix resource manifest for gallery -- should enable with the Gallery feature
--HG--
branch : dev
| C# | bsd-3-clause | aaronamm/Orchard,harmony7/Orchard,m2cms/Orchard,tobydodds/folklife,spraiin/Orchard,ericschultz/outercurve-orchard,geertdoornbos/Orchard,patricmutwiri/Orchard,dcinzona/Orchard,asabbott/chicagodevnet-website,mgrowan/Orchard,jersiovic/Orchard,RoyalVeterinaryCollege/Orchard,Serlead/Orchard,armanforghani/Orchard,sfmskywalke... |
c60003561dac0d70048b15eb70a81462d67bbc94 | src/Stripe.net/Services/Terminal/Readers/ReaderListOptions.cs | src/Stripe.net/Services/Terminal/Readers/ReaderListOptions.cs | namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;
public class ReaderListOptions : ListOptions
{
/// <summary>
/// A location ID to filter the response list to only readers at the specific location.
/// </summary>
[JsonProperty("location")]
public ... | namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;
public class ReaderListOptions : ListOptions
{
/// <summary>
/// Filters readers by device type.
/// </summary>
[JsonProperty("device_type")]
public string DeviceType { get; set; }
/// <sum... | Add `DeviceType` filter when listing Terminal `Reader`s | Add `DeviceType` filter when listing Terminal `Reader`s
| C# | apache-2.0 | stripe/stripe-dotnet |
47c162dcdbe01c0fedd19579eb4d195a2c4e5c2b | 4OpEenRijScreensaver/MainWindow.xaml.cs | 4OpEenRijScreensaver/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | Disable exit on mousemove/keypress in DEBUG | Disable exit on mousemove/keypress in DEBUG
| C# | mit | arthurrump/4OpEenRijScreensaver |
b34aeee5ed24a5a1d21465964f2b7b9ea059608c | Msiler.AssemblyParser/Helpers.cs | Msiler.AssemblyParser/Helpers.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
namespace Msiler.AssemblyParser
{
public class OpCodeInfo
{
public string Name { get; set; }
public string Description { get; set; }
}
public static class Helpers
{
privat... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
namespace Msiler.AssemblyParser
{
public class OpCodeInfo
{
public string Name { get; set; }
public string Description { get; set; }
}
public static class Helpers
{
privat... | Fix instruction help when "Upcase OpCode" option is enabled | Fix instruction help when "Upcase OpCode" option is enabled
| C# | mit | segrived/Msiler |
c4c9ed2020dd61d40994e3192158cce61e84ae53 | Burr.Tests.Integration/Readme.cs | Burr.Tests.Integration/Readme.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Burr.Tests
{
public class Readme
{
public Readme()
{
// create an anonymous client
var client = new GitHubClient();
// create a cli... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Burr.Tests
{
public class Readme
{
public Readme()
{
// create an anonymous client
var client = new GitHubClient();
// create a cli... | Clarify api a bit in readme.cs | Clarify api a bit in readme.cs | C# | mit | brramos/octokit.net,gdziadkiewicz/octokit.net,shiftkey/octokit.net,kdolan/octokit.net,hahmed/octokit.net,devkhan/octokit.net,ivandrofly/octokit.net,octokit-net-test/octokit.net,thedillonb/octokit.net,dampir/octokit.net,octokit/octokit.net,editor-tools/octokit.net,gdziadkiewicz/octokit.net,M-Zuber/octokit.net,fake-organ... |
70ca96c9e05f991a18c93a78d85629f5eb8f6a60 | GUI/Types/ParticleRenderer/Initializers/RandomAlpha.cs | GUI/Types/ParticleRenderer/Initializers/RandomAlpha.cs | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer.Initializers
{
public class RandomAlpha : IParticleInitializer
{
private readonly int alphaMin = 255;
private readonly int alphaMax = 255;
private readonly Random random;
public RandomA... | using System;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer.Initializers
{
public class RandomAlpha : IParticleInitializer
{
private readonly int alphaMin = 255;
private readonly int alphaMax = 255;
private readonly Random random;
public RandomA... | Fix alpha min/max order if wrong | Fix alpha min/max order if wrong
| C# | mit | SteamDatabase/ValveResourceFormat |
22599886d29cdb920ac9b2f3255654f854246121 | Controllers/ElmahController.cs | Controllers/ElmahController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Web.Areas.Admin.Controllers
{
class ElmahResult : ActionResult
{
private string _resouceType;
public ElmahResult(string resouceType)
{
_resouceType = resouc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Web.Areas.Admin.Controllers
{
class ElmahResult : ActionResult
{
private string _resouceType;
public ElmahResult(string resouceType)
{
_resouceType = resouc... | Fix css styles in Elmah subpages | Fix css styles in Elmah subpages | C# | apache-2.0 | fhchina/elmah-mvc,jmptrader/elmah-mvc,alexbeletsky/elmah-mvc,mmsaffari/elmah-mvc |
b546cd4062be1393b15b96d53f0324827b6c9392 | src/UnitTests/Program.cs | src/UnitTests/Program.cs | // Copyright 2017 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnitLite;
using System.Reflection;
namespace NodaTime.Test
{
class Program
{
public static int Main(string[] args)
{
... | // <copyright file="Program.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2017 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this soft... | Update copyright in the test executable | Update copyright in the test executable
| C# | mit | shaia/mathnet-numerics,mathnet/mathnet-numerics,mathnet/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics,shaia/mathnet-numerics,mathnet/mathnet-numerics,shaia/mathnet-numerics |
0f2a0726015258805d39d7508ca835e3aba8b591 | Homie.Common/ExceptionUtils.cs | Homie.Common/ExceptionUtils.cs | using System;
using System.Reflection;
using System.Windows;
using System.Windows.Threading;
namespace Homie.Common
{
public class ExceptionUtils
{
public enum ExitCodes
{
Ok = 0,
UnhandledException = 91,
UnobservedTaskException = 92,
DispatcherU... | using System;
using System.Reflection;
using System.Windows;
using System.Windows.Threading;
namespace Homie.Common
{
public class ExceptionUtils
{
public enum ExitCodes
{
Ok = 0,
UnhandledException = 91,
UnobservedTaskException = 92,
DispatcherU... | Check if calling thread is already GUI thread when showing the global exception handler dialog. | Check if calling thread is already GUI thread when showing the global exception handler dialog.
| C# | apache-2.0 | lemked/homieremotedesktop |
4d280149a0eb04659a4ca58b0fbf9b9695e56db8 | DiscogsClient/Internal/TokenAuthenticationInformation.cs | DiscogsClient/Internal/TokenAuthenticationInformation.cs | using System;
namespace DiscogsClient.Internal
{
public class TokenAuthenticationInformation
{
public string Token { get; set; }
private string _secretToken;
public TokenAuthenticationInformation(string token)
{
this.Token = token;
_secretToken = $"Disc... | using System;
namespace DiscogsClient.Internal
{
public class TokenAuthenticationInformation
{
public string Token { get; set; }
private string _secretToken;
public TokenAuthenticationInformation(string token)
{
this.Token = token;
_secretToken = $"Disc... | Fix problem with token authentication | Fix problem with token authentication
| C# | mit | David-Desmaisons/DiscogsClient |
9cdc0d413d3c063a3445bc639a070afeb8ce1935 | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | using System;
using EvilDICOM.Core.Enums;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
Console.Write(
... | using System;
using EvilDICOM.Core.Enums;
using EvilDICOM.Core.Logging;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
... | Write to Logger instead of Console | Write to Logger instead of Console
| C# | mit | cureos/Evil-DICOM,SuneBuur/Evil-DICOM |
b91ad5ea1d8d513fa0785b78c302330461b96dc6 | src/NHibernate.Test/TestDialects/PostgreSQL82TestDialect.cs | src/NHibernate.Test/TestDialects/PostgreSQL82TestDialect.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NHibernate.Test.TestDialects
{
public class PostgreSQL82TestDialect : TestDialect
{
public PostgreSQL82TestDialect(Dialect.Dialect dialect)
: base(dialect)
{
}
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NHibernate.Test.TestDialects
{
public class PostgreSQL82TestDialect : TestDialect
{
public PostgreSQL82TestDialect(Dialect.Dialect dialect)
: base(dialect)
{
}
p... | Disable DTC tests since Npgsql support for it seems to be broken. | Tests: Disable DTC tests since Npgsql support for it seems to be broken.
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@5984
| C# | lgpl-2.1 | ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-c... |
6c57895ffc922ef01198366f834df8565d0cf458 | R7.HelpDesk/Controls/Comments.ascx.designer.cs | R7.HelpDesk/Controls/Comments.ascx.designer.cs | using System;
using System.Web.UI.WebControls;
namespace R7.HelpDesk
{
public partial class Comments
{
protected Panel pnlInsertComment;
protected Label lblAttachFile1;
protected FileUpload TicketFileUpload;
protected Label lblAttachFile2;
protected FileUpload fuAttachment;
protected Panel pn... | using System;
using System.Web.UI.WebControls;
namespace R7.HelpDesk
{
public partial class Comments
{
protected Panel pnlInsertComment;
protected Label lblAttachFile1;
protected FileUpload TicketFileUpload;
protected Label lblAttachFile2;
protected FileUpload fuAttachment;
protected Panel pn... | Fix wrong type for linkbuttons | Fix wrong type for linkbuttons | C# | mit | roman-yagodin/R7.HelpDesk,roman-yagodin/R7.HelpDesk |
e83245d8f5cf989735e1a657485653412d4e2e00 | webstats/webstats/Program.cs | webstats/webstats/Program.cs | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:52
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using Nancy.Hosting.Self;
namespace webstats
{
class Program
{
public static void Main(string[] args)
{
// Start web se... | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:52
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Linq;
using System.Threading;
using Nancy.Hosting.Self;
namespace webstats
{
class Program
{
public... | Make server able to run as deamon on mono | Make server able to run as deamon on mono
| C# | mit | lmno/cupster,lmno/cupster,lmno/cupster |
ec1cf7c94796b6d8fa46ebc0b161732411fb0c2b | src/Lib/PCLAppConfig.FileSystemStream.UWP/UWPAppConfigPathExtractor.cs | src/Lib/PCLAppConfig.FileSystemStream.UWP/UWPAppConfigPathExtractor.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;
namespace PCLAppConfig.FileSystemStream
{
public class UWPAppConfigPathExtractor : IAppConfigPathExtractor
{
public string Path
{
get
{
s... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;
namespace PCLAppConfig.FileSystemStream
{
public class UWPAppConfigPathExtractor : IAppConfigPathExtractor
{
public string Path
{
get
{
s... | Correct searching config base on exe file name. | Correct searching config base on exe file name.
| C# | apache-2.0 | mrbrl/PCLAppConfig,soroshsabz/PCLAppConfig |
391092e3ea32a5c76c9add4b7d6f134c786f998c | Content.Client/GameObjects/EntitySystems/MoverSystem.cs | Content.Client/GameObjects/EntitySystems/MoverSystem.cs | using Content.Shared.GameObjects.Components.Movement;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.Physics;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Physics;
using Robust.Client.Player;
using Robust.Shared.GameObjects.Components;
using Robust.Shared.IoC;
... | using Content.Shared.GameObjects.Components.Movement;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.Physics;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Physics;
using Robust.Client.Player;
using Robust.Shared.GameObjects.Components;
using Robust.Shared.IoC;
... | Reset predict flag on mover updat.e | Reset predict flag on mover updat.e
| C# | mit | 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,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content |
f5e9c53df44e156769bc8cfcac33335d40c5f8df | src/Assets/Plugins/PatchKit/Scripts/UI/UIApiComponent.cs | src/Assets/Plugins/PatchKit/Scripts/UI/UIApiComponent.cs | using System.Collections;
using PatchKit.Api;
using UnityEngine;
namespace PatchKit.Unity.UI
{
public abstract class UIApiComponent : MonoBehaviour
{
private Coroutine _loadCoroutine;
private bool _isDirty;
private ApiConnection _apiConnection;
public bool LoadOnAwake = true... | using System.Collections;
using PatchKit.Api;
using UnityEngine;
namespace PatchKit.Unity.UI
{
public abstract class UIApiComponent : MonoBehaviour
{
private Coroutine _loadCoroutine;
private bool _isDirty;
private ApiConnection _apiConnection;
public bool LoadOnStart = true... | Change load event of UI component to from Awake to Start | Change load event of UI component to from Awake to Start
| C# | mit | mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,genail/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity |
b8d6ef64c72e9ca028216a839399731a09969f02 | src/Umbraco.Examine/IndexRebuilder.cs | src/Umbraco.Examine/IndexRebuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Examine;
namespace Umbraco.Examine
{
/// <summary>
/// Utility to rebuild all indexes ensuring minimal data queries
/// </summary>
public class IndexRebuilder
{
private readonly IEnum... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Examine;
namespace Umbraco.Examine
{
/// <summary>
/// Utility to rebuild all indexes ensuring minimal data queries
/// </summary>
public class IndexRebuilder
{
private readonly IEnum... | Remove the usage of Parallel to run the populators | Remove the usage of Parallel to run the populators
(cherry picked from commit b078f856b9f6c77dd0233f8d7d51bd02b5d7f6da)
| C# | mit | abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,tcmorris/Umbraco-CMS,KevinJump/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcemarc/Umbraco-CMS,Ni... |
8384e4dfae83e26156779346d5a959359375a5c7 | Source/VaRest/VaRest.Build.cs | Source/VaRest/VaRest.Build.cs | // Copyright 2014-2019 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaRest : ModuleRules
{
public VaRest(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrivateIncludePaths.AddRange(
new string[] ... | // Copyright 2014-2019 Vladimir Alyamkin. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class VaRest : ModuleRules
{
public VaRest(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PrecompileForTargets = PrecompileTargetsType.Any... | Enable pre-compile for all targets | Enable pre-compile for all targets
| C# | mit | ufna/VaRest,ufna/VaRest,ufna/VaRest |
6d914d9f176ffc407ee87ae153aa620771aa167e | WalletWasabi/Backend/Models/Responses/VersionsResponse.cs | WalletWasabi/Backend/Models/Responses/VersionsResponse.cs | namespace WalletWasabi.Backend.Models.Responses
{
public class VersionsResponse
{
public string ClientVersion { get; set; }
public string BackendMajorVersion { get; set; }
}
}
| using Newtonsoft.Json;
namespace WalletWasabi.Backend.Models.Responses
{
public class VersionsResponse
{
public string ClientVersion { get; set; }
// KEEP THE TYPO IN IT! Otherwise the response would not be backwards compatible.
[JsonProperty(PropertyName = "BackenMajordVersion")]
public string BackendMajor... | Add back typo with JsonProperty and explain in comment why it's necessary. | Add back typo with JsonProperty and explain in comment why it's necessary.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
a87b3803414f00806513f45710faf569faf658b6 | src/Library.Test/NotNullTests.cs | src/Library.Test/NotNullTests.cs | #region Copyright and license
// // <copyright file="NotNullTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may n... | #region Copyright and license
// // <copyright file="NotNullTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may n... | Improve naming of tests to clearly indicate the feature to be tested | Improve naming of tests to clearly indicate the feature to be tested
| C# | apache-2.0 | oliverzick/Delizious-Filtering |
154e14f730cb570ac8f62998486b592463214c00 | tests/cs/boxing/Boxing.cs | tests/cs/boxing/Boxing.cs | using System;
public struct Foo : ICloneable
{
public int CloneCounter { get; private set; }
public object Clone()
{
CloneCounter++;
return this;
}
}
public static class Program
{
public static ICloneable BoxAndCast<T>(T Value)
{
return (ICloneable)Value;
}
pu... | using System;
public struct Foo : ICloneable
{
public int CloneCounter { get; private set; }
public object Clone()
{
CloneCounter++;
return this;
}
}
public static class Program
{
public static ICloneable BoxAndCast<T>(T Value)
{
return (ICloneable)Value;
}
pu... | Extend the box/unbox test again | Extend the box/unbox test again
| C# | mit | jonathanvdc/ecsc |
1f5aa921483c12c32f1f4665099957bdc17f3efd | src/Buildron/Assets/_Assets/Scripts/Infrastructure/BuildsProviders/TeamCity/BuildQueueParser.cs | src/Buildron/Assets/_Assets/Scripts/Infrastructure/BuildsProviders/TeamCity/BuildQueueParser.cs | #region Usings
using System.Collections.Generic;
using System.Text.RegularExpressions;
#endregion
namespace Buildron.Infrastructure.BuildsProvider.TeamCity
{
/// <summary>
/// Build queue parser.
/// </summary>
public static class BuildQueueParser
{
#region Fields
private static Regex s_getBuildConfigurationI... | #region Usings
using System.Collections.Generic;
using System.Text.RegularExpressions;
#endregion
namespace Buildron.Infrastructure.BuildsProvider.TeamCity
{
/// <summary>
/// Build queue parser.
/// </summary>
public static class BuildQueueParser
{
#region Fields
private static Regex s_getBuildConfigurationI... | Fix how to find TeamCity queued builds. | Fix how to find TeamCity queued builds.
| C# | mit | skahal/Buildron,skahal/Buildron,skahal/Buildron |
1d4ab8992be7bd3920d14cd8098dcb2f0bff133c | test/NHasher.Benchmarks/Benchmarks.cs | test/NHasher.Benchmarks/Benchmarks.cs | using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using BenchmarkDotNet.Order;
namespace NHasher.Benchmarks
{
[ClrJob, CoreJob]
[MemoryDiagnoser]
public class Benchmarks
{
private const int N = 10000;
private readonly byte[] _data;
private ... | using System;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
namespace NHasher.Benchmarks
{
[ClrJob, CoreJob]
[MemoryDiagnoser]
public class Benchmarks
{
private byte[] _data;
private readonly MurmurHash3X64L128 _murmurHash3X64L128 = new MurmurHash3X64L128();... | Add missing file with benchmarks | Add missing file with benchmarks
| C# | mit | CDuke/NHasher |
a5fcfd471c8408575dd09afb9c0775e1226b63e6 | src/D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs | src/D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Nuget: Title
[assembly: AssemblyTitle( "D2L Security For Web API" )]
// Nuget: Description
[assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )]
// Nuget: Author
[assembly: Assem... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle( "D2L.Security.WebApi" )]
[assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )]
[assembly: AssemblyCompany( "Desire2Learn" )]
[assembly: AssemblyProduct( "Brights... | Make assembly title match assembly name | Make assembly title match assembly name | C# | apache-2.0 | Brightspace/D2L.Security.OAuth2 |
72f5a1ed8d6c8887865cefcd51d25ff1d67f5c44 | src/System.Xml.ReaderWriter/tests/XmlWriter/WriteWithEncoding.cs | src/System.Xml.ReaderWriter/tests/XmlWriter/WriteWithEncoding.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Text;
using System.Xml;
using Xunit;
public class XmlWriterTests
{
[Fact]
public static void WriteWithEncoding()
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Text;
using System.Xml;
using Xunit;
public class XmlWriterTests
{
[Fact]
[ActiveIssue(1263)]
public static voi... | Disable flaky XML encoding test | Disable flaky XML encoding test
| C# | mit | manu-silicon/corefx,Chrisboh/corefx,n1ghtmare/corefx,chenkennt/corefx,VPashkov/corefx,matthubin/corefx,mazong1123/corefx,richlander/corefx,iamjasonp/corefx,richlander/corefx,weltkante/corefx,BrennanConroy/corefx,shimingsg/corefx,Alcaro/corefx,alexperovich/corefx,Ermiar/corefx,zmaruo/corefx,fernando-rodriguez/corefx,krk... |
6290ed09bc9f64e8fcb3b9eddfdc195dc0150f2a | MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs | MiX.Integrate.Shared/Entities/Assets/AdditionalDetailItem.cs | namespace MiX.Integrate.Shared.Entities.Assets
{
/// <summary>Instance of a custom asset detail data point/summary>
public class AdditionalDetailItem
{
public AdditionalDetailItem(int id, string label, string value)
{
Id = id;
Label = label;
Value = value;
}
/// <summary>Identi... | namespace MiX.Integrate.Shared.Entities.Assets
{
/// <summary>Instance of a custom asset detail data point/summary>
public class AdditionalDetailItem
{
public AdditionalDetailItem(long id, string label, string value)
{
Id = id;
Label = label;
Value = value;
}
/// <summary>Ident... | Use long instead of int for field Id | FE-1047: Use long instead of int for field Id
| C# | mit | MiXTelematics/MiX.Integrate.Api.Client |
a32599b71d73310555c29e7d06a63379238a6c48 | LiveSplit/LiveSplit.View/View/ComponentSettingsDialog.cs | LiveSplit/LiveSplit.View/View/ComponentSettingsDialog.cs | using LiveSplit.UI;
using LiveSplit.UI.Components;
using System;
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.View
{
public partial class ComponentSettingsDialog : Form
{
public XmlNode ComponentSettings { get; set; }
public IComponent Component { get; set; }
publ... | using LiveSplit.UI;
using LiveSplit.UI.Components;
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.View
{
public partial class ComponentSettingsDialog : Form
{
public XmlNode ComponentSettings { get; set; }
public IComponent Component { get... | Fix auto splitter settings scroll bar not always appearing | Fix auto splitter settings scroll bar not always appearing
Fix #1654
| C# | mit | Glurmo/LiveSplit,LiveSplit/LiveSplit,Glurmo/LiveSplit,Glurmo/LiveSplit |
95b5d81698d82b4350a78f1eee84efcb2eb09b0c | tests/OpenMagic.Specifications/Steps/Extensions/UriExtensions/IsReposondingSteps.cs | tests/OpenMagic.Specifications/Steps/Extensions/UriExtensions/IsReposondingSteps.cs | using System;
using FluentAssertions;
using OpenMagic.Extensions;
using OpenMagic.Specifications.Helpers;
using TechTalk.SpecFlow;
namespace OpenMagic.Specifications.Steps.Extensions.UriExtensions
{
[Binding]
public class IsReposondingSteps
{
private readonly GivenData _given;
private read... | using System;
using FluentAssertions;
using OpenMagic.Extensions;
using OpenMagic.Specifications.Helpers;
using TechTalk.SpecFlow;
namespace OpenMagic.Specifications.Steps.Extensions.UriExtensions
{
[Binding]
public class IsReposondingSteps
{
private readonly GivenData _given;
private read... | Fix URI Is Not Responding test | Fix URI Is Not Responding test
| C# | mit | OpenMagic/OpenMagic |
cfc6e2175d2fc9ae36b60402ed4a210d55ff33df | osu.Game/Overlays/Profile/Sections/Historical/PaginatedMostPlayedBeatmapContainer.cs | osu.Game/Overlays/Profile/Sections/Historical/PaginatedMostPlayedBeatmapContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
u... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
u... | Add missing header to MostPlayedBeatmapsContainer | Add missing header to MostPlayedBeatmapsContainer
| C# | mit | peppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu |
2ca7a99be425acf2d9743041beba6d2604f9f2ce | src/Features/CSharp/Portable/Structure/Providers/SwitchStatementStructureProvider.cs | src/Features/CSharp/Portable/Structure/Providers/SwitchStatementStructureProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Structure;
using Microsoft.CodeAnalysis.Text;
namespace Mic... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Structure;
using Microsoft.CodeAnalysis.Text;
namespace Mic... | Update BlockType of switch statement. | Update BlockType of switch statement.
| C# | apache-2.0 | cston/roslyn,cston/roslyn,Giftednewt/roslyn,xoofx/roslyn,mattwar/roslyn,davkean/roslyn,tvand7093/roslyn,MattWindsor91/roslyn,kelltrick/roslyn,a-ctor/roslyn,wvdd007/roslyn,tmat/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,mavasani/roslyn,jkotas/roslyn,gafter/roslyn,amcasey/roslyn,mmitche/roslyn,VSadov/roslyn,srivatsn/r... |
ede4235884d852989275ba305411991dc7a3806e | osu.Game.Rulesets.Catch/Judgements/CatchBananaJudgement.cs | osu.Game.Rulesets.Catch/Judgements/CatchBananaJudgement.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.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Catch.Judgements
{
public class CatchBananaJudgement : CatchJudgeme... | // 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.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Catch.Judgements
{
public class CatchBananaJudgement : CatchJudgeme... | Increase HP gain of bananas | Increase HP gain of bananas
| C# | mit | ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu |
5a93548729260d40276ce27c403dc2e81d7d4237 | XamarinApp/MyTrips/MyTrips.iOS/Screens/TripsTableViewController.cs | XamarinApp/MyTrips/MyTrips.iOS/Screens/TripsTableViewController.cs | using Foundation;
using System;
using UIKit;
using MyTrips.ViewModel;
using Humanizer;
namespace MyTrips.iOS
{
public partial class TripsTableViewController : UITableViewController
{
const string TRIP_CELL_IDENTIFIER = "TRIP_CELL_IDENTIFIER";
PastTripsViewModel ViewModel { get; set; }
public Tr... | using Foundation;
using System;
using UIKit;
using MyTrips.ViewModel;
using Humanizer;
namespace MyTrips.iOS
{
public partial class TripsTableViewController : UITableViewController
{
const string TRIP_CELL_IDENTIFIER = "TRIP_CELL_IDENTIFIER";
PastTripsViewModel ViewModel { get; set; }
public Tr... | Fix trip cell distance label. | [iOS] Fix trip cell distance label.
| C# | mit | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving |
cc8c2683fd6cc90a145d3fd58ba3c1b46acf98eb | src/KodiRemote.Wp81/Converters/ShorterStringConverter.cs | src/KodiRemote.Wp81/Converters/ShorterStringConverter.cs | using System;
using System.Globalization;
using System.Windows.Data;
namespace KodiRemote.Wp81.Converters
{
public class ShorterStringConverter : IValueConverter
{
public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
string str = val... | using System;
using System.Globalization;
using System.Windows.Data;
namespace KodiRemote.Wp81.Converters
{
public class ShorterStringConverter : IValueConverter
{
public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value == nul... | Fix issue in a converter | Fix issue in a converter
| C# | mit | FabienLavocat/kodi-remote |
2b56238a6037b227e1d8a755174af535baf91b3a | Source/Urho3D/CSharp/Properties/AssemblyInfo.cs | Source/Urho3D/CSharp/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("Urho3DNet")]
[assembly: AssemblyDescription... | using System.Reflection;
[assembly: AssemblyTitle("Urho3DNet")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Urho3D")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture... | Clean up engine bindings assembly info. | CSharp: Clean up engine bindings assembly info.
| C# | mit | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D |
bc70754dbeeeabaaf90d59f73b33b70384fb35f5 | AllReadyApp/Web-App/AllReady/Providers/DateTimeOffsetConverter.cs | AllReadyApp/Web-App/AllReady/Providers/DateTimeOffsetConverter.cs | using System;
namespace AllReady.Providers
{
public interface IConvertDateTimeOffset
{
DateTimeOffset ConvertDateTimeOffsetTo(string timeZoneId, DateTimeOffset dateTimeOffset, int hour = 0, int minute = 0, int second = 0);
DateTimeOffset ConvertDateTimeOffsetTo(TimeZoneInfo timeZoneInfo, DateT... | using System;
namespace AllReady.Providers
{
public interface IConvertDateTimeOffset
{
DateTimeOffset ConvertDateTimeOffsetTo(string timeZoneId, DateTimeOffset dateTimeOffset, int hour = 0, int minute = 0, int second = 0);
}
public class DateTimeOffsetConverter : IConvertDateTimeOffset
{
... | Remove unused method on DateTimeOffsetConvertrer and consolidated code | Remove unused method on DateTimeOffsetConvertrer and consolidated code
| C# | mit | HamidMosalla/allReady,MisterJames/allReady,binaryjanitor/allReady,c0g1t8/allReady,anobleperson/allReady,HTBox/allReady,binaryjanitor/allReady,chinwobble/allReady,arst/allReady,bcbeatty/allReady,arst/allReady,MisterJames/allReady,c0g1t8/allReady,shanecharles/allReady,VishalMadhvani/allReady,bcbeatty/allReady,bcbeatty/al... |
77dbbe6f342e0dcce5b2991773b5cf1b8752afce | osu.Game/Users/User.cs | osu.Game/Users/User.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 Newtonsoft.Json;
namespace osu.Game.Users
{
public class User
{
[JsonProperty(@"id")]
public long Id = 1;
[JsonPrope... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using Newtonsoft.Json;
namespace osu.Game.Users
{
public class User
{
[JsonProperty(@"id")]
public long Id = 1;
[JsonPrope... | Add a placeholder cover URL for users. | Add a placeholder cover URL for users.
| C# | mit | tacchinotacchi/osu,naoey/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,Damnae/osu,smoogipoo/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,Nabile-Rahmani/osu,RedNesto/osu,osu-RP/osu-RP,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,EVAST9919/osu,EVAST9919/osu,johnneijzen... |
b44853c0301d13b397665533c79d403c00c1718b | src/AppHarbor/Commands/CreateCommand.cs | src/AppHarbor/Commands/CreateCommand.cs | using System;
using System.Linq;
namespace AppHarbor.Commands
{
public class CreateCommand : ICommand
{
private readonly IAppHarborClient _appHarborClient;
private readonly IApplicationConfiguration _applicationConfiguration;
public CreateCommand(IAppHarborClient appHarborClient, IApplicationConfiguration ap... | using System;
using System.Linq;
namespace AppHarbor.Commands
{
public class CreateCommand : ICommand
{
private readonly IAppHarborClient _appHarborClient;
private readonly IApplicationConfiguration _applicationConfiguration;
public CreateCommand(IAppHarborClient appHarborClient, IApplicationConfiguration ap... | Write an additional line after creating application | Write an additional line after creating application
| C# | mit | appharbor/appharbor-cli |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.