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 |
|---|---|---|---|---|---|---|---|---|---|
177e8408dfe6293ae644ecbbdbba71ed7148b35f | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml |
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
<dt class="das-definition-list__... |
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
<dt class="das-definition-list__title">UK Provid... | Apply new css class for displaying long email addresses and other data in panel | [CON-409] Apply new css class for displaying long email addresses and other data in panel
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
507e651ca5520b42adcabdbaad46da3c5c45d862 | src/Slp.Evi.Storage/Slp.Evi.Test.System/SPARQL/SPARQL_TestSuite/Db/MSSQLDb.cs | src/Slp.Evi.Storage/Slp.Evi.Test.System/SPARQL/SPARQL_TestSuite/Db/MSSQLDb.cs | using System.Collections.Generic;
using System.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
using Slp.Evi.Storage.Database.Vendor... | using System;
using System.Collections.Generic;
using System.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
using Slp.Evi.Storage.D... | Disable test debug logging in appveyor. | Disable test debug logging in appveyor.
| C# | mit | mchaloupka/DotNetR2RMLStore,mchaloupka/EVI |
af38c72b6cc9d8b0a37b29d7143f4a8cfffffa9d | test/Diffbot.Client.Tests/DiffbotClientTest.cs | test/Diffbot.Client.Tests/DiffbotClientTest.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DiffbotClientTest.cs" company="KriaSoft LLC">
// Copyright © 2014 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DiffbotClientTest.cs" company="KriaSoft LLC">
// Copyright © 2014 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------... | Add one more unit test | Add one more unit test
| C# | apache-2.0 | kriasoft/Diffbot |
a0efdd321b8394d94bf07796b9ffe1f18696bec2 | GUI/Types/ParticleRenderer/IVectorProvider.cs | GUI/Types/ParticleRenderer/IVectorProvider.cs | using System;
using System.Numerics;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer
{
public interface IVectorProvider
{
Vector3 NextVector();
}
public class LiteralVectorProvider : IVectorProvider
{
private readonly Vector3 value;
public Lit... | using System;
using System.Numerics;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer
{
public interface IVectorProvider
{
Vector3 NextVector();
}
public class LiteralVectorProvider : IVectorProvider
{
private readonly Vector3 value;
public Lit... | Support all particle vector providers that have m_vLiteralValue | Support all particle vector providers that have m_vLiteralValue
| C# | mit | SteamDatabase/ValveResourceFormat |
874576d8d166393696765bd60867c72c8a14582c | vuwall-motion/vuwall-motion/TransparentForm.cs | vuwall-motion/vuwall-motion/TransparentForm.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
ShowInTaskbar = false;
}
private void Transp... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
private Pen pen = new Pen(Color.Red, 5);
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
SetStyle(Co... | Fix bug where drawn objects are also transparent, and add pen variable. | Fix bug where drawn objects are also transparent, and add pen variable.
| C# | mit | VuWall/VuWall-Motion,DanH91/vuwall-motion |
323d48439648eaf95493f021dc50e7e81c606825 | LibrarySystem/LibrarySystem.Models/Subject.cs | LibrarySystem/LibrarySystem.Models/Subject.cs | using System.ComponentModel.DataAnnotations;
namespace LibrarySystem.Models
{
public class Subject
{
public int Id { get; set; }
[Required]
[MaxLength(50)]
public string Name { get; set; }
}
} | // <copyright file="Subject.cs" company="YAGNI">
// All rights reserved.
// </copyright>
// <summary>Holds implementation of Book model.</summary>
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace LibrarySystem.Models
{
//... | Add journals and self relations. | Add journals and self relations.
| C# | mit | TeamYAGNI/LibrarySystem |
1f39efa1195bb4fbe64e7df6692fc9d43ea6b353 | src/NQuery.Authoring/QuickInfo/ExpressionSelectColumnQuickInfoModelProvider.cs | src/NQuery.Authoring/QuickInfo/ExpressionSelectColumnQuickInfoModelProvider.cs | using System;
using System.ComponentModel.Composition;
using NQuery.Syntax;
namespace NQuery.Authoring.QuickInfo
{
[Export(typeof(IQuickInfoModelProvider))]
internal sealed class ExpressionSelectColumnQuickInfoModelProvider : QuickInfoModelProvider<ExpressionSelectColumnSyntax>
{
protected overri... | using System;
using System.ComponentModel.Composition;
using NQuery.Syntax;
namespace NQuery.Authoring.QuickInfo
{
[Export(typeof(IQuickInfoModelProvider))]
internal sealed class ExpressionSelectColumnQuickInfoModelProvider : QuickInfoModelProvider<ExpressionSelectColumnSyntax>
{
protected overri... | Fix bug in IQuickInfoModelProvider for SELECT column aliases | Fix bug in IQuickInfoModelProvider for SELECT column aliases
The current implementation is too eager. This results in no quick
info being displayed for any part except for the column alias.
| C# | mit | terrajobst/nquery-vnext |
51e4995e3575efc47985c527db0cc018b36602f4 | SparklrLib/Objects/Responses/Work/Username.cs | SparklrLib/Objects/Responses/Work/Username.cs |
using System;
namespace SparklrLib.Objects.Responses.Work
{
public class Username : IEquatable<Username>
{
public string username { get; set; }
public string displayname { get; set; }
public int id { get; set; }
public override string ToString()
{
return id... |
using System;
namespace SparklrLib.Objects.Responses.Work
{
public class Username : IEquatable<Username>
{
public string username { get; set; }
public string displayname { get; set; }
public int id { get; set; }
public override string ToString()
{
return id... | Add hash code to work/username | Add hash code to work/username
| C# | mit | windowsphonehacker/SparklrWP |
d6297823419371fcbfe75e148a6ffdfb9db1b66f | MultiMiner.Win/Extensions/DateTimeExtensions.cs | MultiMiner.Win/Extensions/DateTimeExtensions.cs | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
public static class DateTimeExtensions
{
public static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateString = dateTime.ToShortDateString();
... | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
public static class DateTimeExtensions
{
private static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateString = dateTime.ToShortDateString();
... | Update test suite for latest changes | Update test suite for latest changes
| C# | mit | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner |
e36bdaafaf7ac04b4fa8eb71a6e4e05f02eb5036 | WootzJs.Mvc/Views/AutocompleteTextBox.cs | WootzJs.Mvc/Views/AutocompleteTextBox.cs | using WootzJs.Web;
namespace WootzJs.Mvc.Views
{
public class AutocompleteTextBox<T> : Control
{
private Control content;
private Control overlay;
private Element contentNode;
private Element overlayContainer;
private DropDownAlignment alignment;
private T selec... | using WootzJs.Web;
namespace WootzJs.Mvc.Views
{
public class AutocompleteTextBox<T> : Control
{
private Control content;
private Control overlay;
private Element contentNode;
private Element overlayContainer;
private DropDownAlignment alignment;
private T selec... | Remove dead line from autocomplete | Remove dead line from autocomplete
| C# | mit | kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs |
6cab3b6d8cb8bd20d5ff033e46bdf909cf7a0f6b | src/UseCases/ReactiveUI.Routing.UseCases.Android/MainActivity.cs | src/UseCases/ReactiveUI.Routing.UseCases.Android/MainActivity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.App;
using Android.Views;
using Android.Widget;
using ReactiveUI.Routing.Android;
using R... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.App;
using Android.Views;
using Android.Widget;
using ReactiveUI.Routing.Android;
using R... | Fix app always showing the login page after orientation change | Fix app always showing the login page after orientation change
| C# | mit | KallynGowdy/ReactiveUI.Routing |
d0e46de7d20d7a896e1014821bdbd83663ce7722 | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesPopularRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesPopularRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies;
internal class TraktMoviesPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktMovie>, TraktMovie>
{
internal TraktMoviesPopularRequest(TraktClient client... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies;
internal class TraktMoviesPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktMovie>, TraktMovie>
{
internal TraktMoviesPopularRequest(Tr... | Add filter property to popular movies request. | Add filter property to popular movies request.
| C# | mit | henrikfroehling/TraktApiSharp |
1732eb337dbb12f4a92975051e0a47a990389818 | RadosGW.AdminAPI/Models/User.cs | RadosGW.AdminAPI/Models/User.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Radosgw.AdminAPI
{
public class User
{
[JsonProperty(PropertyName = "display_name")]
public string DisplayName { get; set; }
[JsonProperty(PropertyName = "user_id")]
public string UserId { get; se... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Radosgw.AdminAPI
{
public class User
{
[JsonProperty(PropertyName = "display_name")]
public string DisplayName { get; set; }
[JsonProperty(PropertyName = "user_id")]
public string UserId { get; se... | Fix exception if Keys is null | Fix exception if Keys is null
| C# | apache-2.0 | ClemPi/radosgwadminapi |
03e6330e88e955f9cd938ff2b619a023dffe0439 | src/NewsReader/NewsReader.Presentation/DesignData/SampleFeedItemListViewModel.cs | src/NewsReader/NewsReader.Presentation/DesignData/SampleFeedItemListViewModel.cs | using Jbe.NewsReader.Applications.ViewModels;
using Jbe.NewsReader.Applications.Views;
namespace Jbe.NewsReader.Presentation.DesignData
{
public class SampleFeedItemListViewModel : FeedItemListViewModel
{
public SampleFeedItemListViewModel() : base(new MockFeedItemListView(), null)
{
... | using Jbe.NewsReader.Applications.ViewModels;
using Jbe.NewsReader.Applications.Views;
namespace Jbe.NewsReader.Presentation.DesignData
{
public class SampleFeedItemListViewModel : FeedItemListViewModel
{
public SampleFeedItemListViewModel() : base(new MockFeedItemListView(), null)
{
... | Add comment that design time data does not work with {x:Bind} | Add comment that design time data does not work with {x:Bind}
| C# | mit | jbe2277/waf |
68a81e0eb0f813fc3710ea09aa273d75ac2b8671 | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPoint.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 osuTK;
using osuTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fram... | // 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 osuTK;
using osuTK.Graphics;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fram... | Fix follow point transforms not working after rewind | Fix follow point transforms not working after rewind
| C# | mit | smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,peppy/osu |
b57ed808ceb0b3637865a70ae01402ecf296baef | Verdeler/ConcurrencyLimiter.cs | Verdeler/ConcurrencyLimiter.cs | using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace Verdeler
{
internal class ConcurrencyLimiter<TSubject>
{
private readonly Func<TSubject, object> _subjectReductionMap;
private readonly int _concurrencyLimit;
private re... | using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
namespace Verdeler
{
internal class ConcurrencyLimiter<TSubject>
{
private readonly Func<TSubject, object> _subjectReductionMap;
private readonly int _concurrencyLimit;
private re... | Rename method to get semaphore | Rename method to get semaphore
| C# | mit | justinjstark/Verdeler,justinjstark/Delivered |
6452cc632aac0a99e34ad369cd5c539f01423010 | src/Glimpse.Common/GlimpseServices.cs | src/Glimpse.Common/GlimpseServices.cs | using Glimpse;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServices
{
public static IEnumerable<IServiceDescriptor> GetDefaultServices()
{
return GetDefaultSer... | using Glimpse;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServices
{
public static IEnumerable<IServiceDescriptor> GetDefaultServices()
{
return GetDefaultSer... | Add registration to the serive | Add registration to the serive
| C# | mit | zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototy... |
a32855838c3931d463eb0e50f6f5523aa50e4296 | Source/ArduinoSketchUploader/Program.cs | Source/ArduinoSketchUploader/Program.cs | using ArduinoUploader;
namespace ArduinoSketchUploader
{
/// <summary>
/// The ArduinoLibCSharp SketchUploader can upload a compiled (Intel) HEX file directly to an attached Arduino.
/// </summary>
internal class Program
{
private static void Main(string[] args)
{
var c... | using ArduinoUploader;
namespace ArduinoSketchUploader
{
/// <summary>
/// The ArduinoSketchUploader can upload a compiled (Intel) HEX file directly to an attached Arduino.
/// </summary>
internal class Program
{
private static void Main(string[] args)
{
var commandLine... | Remove reference to old library name. | Remove reference to old library name.
| C# | mit | christophediericx/ArduinoSketchUploader |
2765546fd331cc05a37d346145cfa34d284e6a14 | PolarisServer/Models/FixedPackets.cs | PolarisServer/Models/FixedPackets.cs | using System;
using System.Runtime.InteropServices;
using PolarisServer.Models;
namespace PolarisServer.Models
{
public struct PacketHeader
{
public UInt32 Size;
public byte Type;
public byte Subtype;
public byte Flags1;
public byte Flags2;
public PacketHeader(... | using System;
using System.Runtime.InteropServices;
using PolarisServer.Models;
namespace PolarisServer.Models
{
public struct PacketHeader
{
public UInt32 Size;
public byte Type;
public byte Subtype;
public byte Flags1;
public byte Flags2;
public PacketHeader(... | Add flag 0x20 to PacketFlags | Add flag 0x20 to PacketFlags
| C# | agpl-3.0 | MrSwiss/PolarisServer,cyberkitsune/PolarisServer,PolarisTeam/PolarisServer,Dreadlow/PolarisServer,lockzag/PolarisServer |
bcf529d1c3e0945db12274ca1cba7d640dadf354 | src/Provision.AspNet.Identity.PlainSql/Properties/AssemblyInfo.cs | src/Provision.AspNet.Identity.PlainSql/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Provision.AspNet.Identity.PlainSql")]
[assembly: AssemblyDescription("ASP.NET Identity provider for SQL databases")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Provision Data Systems Inc.")]
[assembly: Asse... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Provision.AspNet.Identity.PlainSql")]
[assembly: AssemblyDescription("ASP.NET Identity provider for SQL databases")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Provision Data Systems Inc.")]
[assembly: Asse... | Remove EN-us culture from assembly attributes. | Remove EN-us culture from assembly attributes.
| C# | mit | provisiondata/Provision.AspNet.Identity.PlainSql |
0ba6b7246e63a3fd8ab1d1c530be7f5a4b26523f | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Extensions/InteractionSourceExtensions.cs | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Extensions/InteractionSourceExtensions.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Windows.Utilities;
using System;
using System.Collections.Generic;
using UnityEngine.XR.WSA.Input;
using Windows... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Windows.Utilities;
using System;
using System.Collections.Generic;
using UnityEngine.XR.WSA.Input;
using Windows... | Rework extension to spend less time on UI thread | Rework extension to spend less time on UI thread
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity |
295729fb7bd23e592560e408b62771b5b1f8d3f1 | src/Spark.Engine.Test/Extensions/OperationOutcomeInnerErrorsTest.cs | src/Spark.Engine.Test/Extensions/OperationOutcomeInnerErrorsTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hl7.Fhir.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Spark.Engine.Extensions;
namespace Spark.Engine.Test.Extensions
{
[TestClass]
public class OperationOutcomeInnerEr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hl7.Fhir.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Spark.Engine.Extensions;
namespace Spark.Engine.Test.Extensions
{
[TestClass]
public class OperationOutcomeInnerEr... | Make sure Issues are at correct index | fix: Make sure Issues are at correct index
| C# | bsd-3-clause | furore-fhir/spark,furore-fhir/spark,furore-fhir/spark |
6e418e3506682046bf47c50c458cd895f0e2533d | src/Arkivverket.Arkade/Core/Addml/Definitions/DataTypes/DateDataType.cs | src/Arkivverket.Arkade/Core/Addml/Definitions/DataTypes/DateDataType.cs | using System;
using System.Collections.Generic;
using System.Globalization;
namespace Arkivverket.Arkade.Core.Addml.Definitions.DataTypes
{
public class DateDataType : DataType
{
private readonly string _dateTimeFormat;
private readonly string _fieldFormat;
public DateDataType(string ... | using System;
using System.Collections.Generic;
using System.Globalization;
namespace Arkivverket.Arkade.Core.Addml.Definitions.DataTypes
{
public class DateDataType : DataType
{
private readonly string _dateTimeFormat;
private readonly string _fieldFormat;
public DateDataType(string ... | Use TryParseExact instead of ParseExact. Better performance. | Use TryParseExact instead of ParseExact. Better performance.
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
a0aeccf2322d06c782c9fc15d5eda86d1b15df6b | osu.Game/Skinning/DefaultSkin.cs | osu.Game/Skinning/DefaultSkin.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.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Audio;
namespace os... | // 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.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
u... | Fix fallback to default combo colours not working | Fix fallback to default combo colours not working
| C# | mit | smoogipooo/osu,2yangk23/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,ZLima12/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu,peppy/o... |
c02c41dced73796bf9938c28df0d9aaad4368d19 | src/AtomicChessPuzzles/Views/Shared/Error.cshtml | src/AtomicChessPuzzles/Views/Shared/Error.cshtml | @model AtomicChessPuzzles.HttpErrors.HttpError
<h1>@Model.StatusCode - @Model.StatusText</h1>
<p>@Model.Description</p> | @model AtomicChessPuzzles.HttpErrors.HttpError
@section Title{@Model.StatusCode @Model.StatusText}
<h1>@Model.StatusCode - @Model.StatusText</h1>
<p>@Model.Description</p> | Add a HTML title to error view | Add a HTML title to error view
| C# | agpl-3.0 | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training |
078aa0a8fe90bfcab69bcf916edc3b14874e1ce0 | Flirper/ImageListEntry.cs | Flirper/ImageListEntry.cs | using System;
using System.IO;
namespace Flirper
{
public class ImageListEntry
{
public string uri;
public string title;
public string author;
public string extraInfo;
public ImageListEntry (string uri, string title, string author, string extraInfo)
{
... | using System;
using System.IO;
namespace Flirper
{
public class ImageListEntry
{
public string uri;
public string title;
public string author;
public string extraInfo;
public ImageListEntry (string uri, string title, string author, string extraInfo)
{
... | Modify case handling of entry types | Modify case handling of entry types
| C# | mit | githubpermutation/Flirper |
cd6ea4f89ca7148c3e144ce36b3491af3f74431f | consoleApp/Program.cs | consoleApp/Program.cs | using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World, I was created by my father, Bigsby, in an unidentified evironment!");
}
}
}
| using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World, I was created by my father, Bigsby, in an unidentified evironment!");
Console.WriteLine("Bigsby Gates was here!");
}
... | Add Bigsby Gates was here | Add Bigsby Gates was here
| C# | apache-2.0 | Bigsby/NetCore,Bigsby/NetCore,Bigsby/NetCore |
8c9e06664a6f38de6c34bb62bdb8c9a09ca7de26 | Joinrpg/App_Start/ApiSignInProvider.cs | Joinrpg/App_Start/ApiSignInProvider.cs | using System.Data.Entity;
using System.Threading.Tasks;
using JoinRpg.Web.Helpers;
using Microsoft.Owin.Security.OAuth;
namespace JoinRpg.Web
{
internal class ApiSignInProvider : OAuthAuthorizationServerProvider
{
private ApplicationUserManager Manager { get; }
public ApiSignInProvider(ApplicationUserMan... | using System.Threading.Tasks;
using JoinRpg.Web.Helpers;
using Microsoft.Owin.Security.OAuth;
namespace JoinRpg.Web
{
internal class ApiSignInProvider : OAuthAuthorizationServerProvider
{
private ApplicationUserManager Manager { get; }
public ApiSignInProvider(ApplicationUserManager manager)
{
... | Return 400 instead of 500 if no login/password | Return 400 instead of 500 if no login/password
| C# | mit | joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net |
637febe9b632c3de7d13ee50460151f69e378857 | MahApps.Metro/Behaviours/GlowWindowBehavior.cs | MahApps.Metro/Behaviours/GlowWindowBehavior.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Interactivity;
using MahApps.Metro.Controls;
namespace MahApps.Metro.Behaviours
{
public class GlowWindowBehavior : Behavior<Window>
{
private GlowWindow left, right, top, b... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Interactivity;
using MahApps.Metro.Controls;
namespace MahApps.Metro.Behaviours
{
public class GlowWindowBehavior : Behavior<Window>
{
private GlowWindow left, right, top, b... | Fix The GlowWindow in the taskmanager | Fix The GlowWindow in the taskmanager
| C# | mit | Danghor/MahApps.Metro,xxMUROxx/MahApps.Metro,psinl/MahApps.Metro,Jack109/MahApps.Metro,batzen/MahApps.Metro,Evangelink/MahApps.Metro,MahApps/MahApps.Metro,jumulr/MahApps.Metro,p76984275/MahApps.Metro,pfattisc/MahApps.Metro,chuuddo/MahApps.Metro,ye4241/MahApps.Metro |
6db044cc6c5d7a9fb8ef03c1bcfe5b3d37cc85e1 | WebPlayer/Mobile/Default.aspx.cs | WebPlayer/Mobile/Default.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
namespace WebPlayer.Mobile
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, Event... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
namespace WebPlayer.Mobile
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, Event... | Fix broken redirect when restoring game on mobile | Fix broken redirect when restoring game on mobile
| C# | mit | siege918/quest,siege918/quest,siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,siege918/quest,F2Andy/quest,textadventures/quest,textadventures/quest,F2Andy/quest |
ecf8f05331c7cbb385fa0cfdd80c3c013edf8631 | SeleniumTasksProject1.1/SeleniumTasksProject1.1/InternetExplorer.cs | SeleniumTasksProject1.1/SeleniumTasksProject1.1/InternetExplorer.cs | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class InternetExplorer
... | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class InternetExplorer
... | Revert "Revert "LoginTest is completed"" | Revert "Revert "LoginTest is completed""
This reverts commit c76b8f73e61cd34ff62c1748821ef070987b7869.
| C# | apache-2.0 | oleksandrp1/SeleniumTasks |
e0187ecf7a3bc913b757767344065226771d5ea3 | Libraries/Triggers/DisposeAction.cs | Libraries/Triggers/DisposeAction.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | Fix for disposing DataContext object. | Fix for disposing DataContext object.
| C# | apache-2.0 | cube-soft/Cube.Core,cube-soft/Cube.Core |
fd70b866560b660726bfca8855599e13ac9dd9a0 | src/Booma.Proxy.Packets.BlockServer/Payloads/Client/Subpayloads/Command60/Sub60FinishedWarpingBurstingPayload.cs | src/Booma.Proxy.Packets.BlockServer/Payloads/Client/Subpayloads/Command60/Sub60FinishedWarpingBurstingPayload.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Payload that tells the server we've finsihed loading/bursting/warping.
/// We should have sent a warp request to the server b... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Payload that tells the server we've finsihed loading/bursting/warping.
/// We should have sent a warp request to the server b... | Add missing field to FinishedWarp | Add missing field to FinishedWarp
| C# | agpl-3.0 | HelloKitty/Booma.Proxy |
26f3a32cd61ba56f4dff1acc38acc67f67782616 | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | Increase project version number to 0.8 | Increase project version number to 0.8
| C# | apache-2.0 | YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata |
e1d22e58bfbd03c6d8c198460711860ae1c23fb1 | osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerPlaylistTabControl.cs | osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerPlaylistTabControl.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.Rooms;
namespace osu.Game.Screen... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.Rooms;
namespace osu.Game.Screen... | Simplify queue count text logic | Simplify queue count text logic
| C# | mit | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu |
10348af50fc26b09ec12fab5f865cdab07dd4e7c | tests/cs/foreach/Foreach.cs | tests/cs/foreach/Foreach.cs | using System;
using System.Collections.Generic;
public class Enumerator
{
public Enumerator() { }
public int Current { get; private set; } = 10;
public bool MoveNext()
{
Current--;
return Current > 0;
}
public void Dispose()
{
Console.WriteLine("Hi!");
}
}
pu... | using System;
using System.Collections.Generic;
public class Enumerator
{
public Enumerator() { }
public int Current { get; private set; } = 10;
public bool MoveNext()
{
Current--;
return Current > 0;
}
public void Dispose()
{
Console.WriteLine("Hi!");
}
}
pu... | Add a foreach induction variable cast test | Add a foreach induction variable cast test
| C# | mit | jonathanvdc/ecsc |
2975ea9210a7e329a2ae35dfb7f0ef57a283fd74 | osu.Game.Rulesets.Osu/Objects/SliderEndCircle.cs | osu.Game.Rulesets.Osu/Objects/SliderEndCircle.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects
{
/// <summar... | // 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.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects
{
/// <summary>
/// A h... | Adjust repeat/tail fade in to match stable closer | Adjust repeat/tail fade in to match stable closer
| C# | mit | UselessToucan/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu |
62be3861971382632dea63eddb5adefc17a7974d | src/SFA.DAS.Payments.AcceptanceTests/Assertions/TransactionTypeRules/TransactionTypeRuleBase.cs | src/SFA.DAS.Payments.AcceptanceTests/Assertions/TransactionTypeRules/TransactionTypeRuleBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using SFA.DAS.Payments.AcceptanceTests.Contexts;
using SFA.DAS.Payments.AcceptanceTests.ReferenceDataModels;
using SFA.DAS.Payments.AcceptanceTests.ResultsDataModels;
namespace SFA.DAS.Payments.AcceptanceTests.Assertions.TransactionTypeRules
{... | using System;
using System.Collections.Generic;
using System.Linq;
using SFA.DAS.Payments.AcceptanceTests.Contexts;
using SFA.DAS.Payments.AcceptanceTests.ReferenceDataModels;
using SFA.DAS.Payments.AcceptanceTests.ResultsDataModels;
namespace SFA.DAS.Payments.AcceptanceTests.Assertions.TransactionTypeRules
{... | Fix issue with precision in assertions | Fix issue with precision in assertions
| C# | mit | SkillsFundingAgency/das-paymentsacceptancetesting |
170be79da78f8427ee1b932314d208b6584f3313 | osu.Framework/Threading/SchedulerSynchronizationContext.cs | osu.Framework/Threading/SchedulerSynchronizationContext.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.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts all continuatiuons to a sch... | // 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.Diagnostics;
using System.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts a... | Fix `SynchronizationContext` to match correctly implementation structure | Fix `SynchronizationContext` to match correctly implementation structure
`Send` is supposed to block until the work completes (and run all
previous work).
`Post` is supposed to fire-and-forget.
Both cases need to ensure correct execution order.
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework |
2964d6b5b9ce9d76b818880be7b47c1dea848c0b | Tests/Boilerplate.Templates.Test/Framework/TempDirectoryExtensions.cs | Tests/Boilerplate.Templates.Test/Framework/TempDirectoryExtensions.cs | namespace Boilerplate.Templates.Test
{
using System;
using System.IO;
using System.Threading.Tasks;
public static class TempDirectoryExtensions
{
public static async Task<Project> DotnetNew(
this TempDirectory tempDirectory,
string templateName,
string na... | namespace Boilerplate.Templates.Test
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
public static class TempDirectoryExtensions
{
public static async Task<Project> DotnetNew(
this TempDirectory tempDire... | Add optional dotnet new arguments | Add optional dotnet new arguments
| C# | mit | RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates |
927a4b299872989d5e73b38e297a8ef7bb78fcd0 | src/MiniCover.HitServices/HitService.cs | src/MiniCover.HitServices/HitService.cs | using System;
using System.IO;
namespace MiniCover.HitServices
{
public static class HitService
{
public static MethodContext EnterMethod(
string hitsPath,
string assemblyName,
string className,
string methodName)
{
return new MethodC... | using System;
using System.Collections.Concurrent;
using System.IO;
namespace MiniCover.HitServices
{
public static class HitService
{
public static MethodContext EnterMethod(
string hitsPath,
string assemblyName,
string className,
string methodName)
... | Create only 1 hit file per running process | Create only 1 hit file per running process
| C# | mit | lucaslorentz/minicover,lucaslorentz/minicover,lucaslorentz/minicover |
b9b8d3d655dafb6417172838970c6e41ed0eb1e5 | src/CompetitionPlatform/Data/BlogCategory/BlogCategoriesRepository.cs | src/CompetitionPlatform/Data/BlogCategory/BlogCategoriesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Data.BlogCategory
{
public class BlogCategoriesRepository : IBlogCategoriesRepository
{
public List<string> GetCategories()
{
return new List<string>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Data.BlogCategory
{
public class BlogCategoriesRepository : IBlogCategoriesRepository
{
public List<string> GetCategories()
{
return new List<string>
... | Add tutorials to blog categories. | Add tutorials to blog categories.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
7062b0aa1db962eb02f7abc42e51e27f77547301 | LibGit2Sharp/Core/Epoch.cs | LibGit2Sharp/Core/Epoch.cs | using System;
namespace LibGit2Sharp.Core
{
/// <summary>
/// Provides helper methods to help converting between Epoch (unix timestamp) and <see cref="DateTimeOffset"/>.
/// </summary>
internal static class Epoch
{
private static readonly DateTimeOffset epochDateTimeOffset = new DateTimeOf... | using System;
namespace LibGit2Sharp.Core
{
/// <summary>
/// Provides helper methods to help converting between Epoch (unix timestamp) and <see cref="DateTimeOffset"/>.
/// </summary>
internal static class Epoch
{
/// <summary>
/// Builds a <see cref="DateTimeOffset"/> from a Unix... | Replace helper implementation with DateOffset members | Replace helper implementation with DateOffset members
| C# | mit | PKRoma/libgit2sharp,libgit2/libgit2sharp |
660cb641b7395b99db6c0a8e8c68beafe65d3c46 | Views/Widgets/BooleanRadioButton.cs | Views/Widgets/BooleanRadioButton.cs | using System;
namespace Views
{
[System.ComponentModel.ToolboxItem(true)]
public partial class BooleanRadioButton : Gtk.Bin, IEditable
{
String[] labels;
bool isEditable;
public BooleanRadioButton ()
{
this.Build ();
}
public String[] Labels {
... | using System;
namespace Views
{
[System.ComponentModel.ToolboxItem(true)]
public partial class BooleanRadioButton : Gtk.Bin, IEditable
{
String[] labels;
bool isEditable;
public BooleanRadioButton ()
{
this.Build ();
}
public String[] Labels {
... | Fix RadioButtons, need to use Active insted of Activate. | Fix RadioButtons, need to use Active insted of Activate.
| C# | lgpl-2.1 | monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker |
7c90e6b379581049c235d9ac1da7e7a38b0d2e57 | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
20413b9a921b8629be53a36c50d55a78febcbda2 | Markel.REMUS.DesignSystem.Web/Components/cookies-disabled/template/cookiesDisabledMessage.cshtml | Markel.REMUS.DesignSystem.Web/Components/cookies-disabled/template/cookiesDisabledMessage.cshtml | <article id="cookies-disabled-panel" class="panel-inverse">
<h1>Cookies are disabled</h1>
<section>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliq... | <article id="cookies-disabled-panel" class="panel-inverse">
<h1>@Text.Content.CookiesDisabledHeading</h1>
<section>
@Text.Content.CookiesDisabledDetails
</section>
</br>
</br>
</article>
| Use localized content for cookies disabled message | C1566: Use localized content for cookies disabled message
| C# | mit | markeldigital/design-system,markeldigital/design-system,markeldigital/design-system,markeldigital/design-system,markeldigital/design-system |
f968a31ebf964215e8493997589d21252f9d413a | src/UnityExtension/Assets/Editor/GitHub.Unity/IO/DefaultEnvironment.cs | src/UnityExtension/Assets/Editor/GitHub.Unity/IO/DefaultEnvironment.cs | using System;
using System.IO;
namespace GitHub.Unity
{
class DefaultEnvironment : IEnvironment
{
public string GetSpecialFolder(Environment.SpecialFolder folder)
{
return Environment.GetFolderPath(folder);
}
public string ExpandEnvironmentVariables(string name)
... | using System;
using System.IO;
namespace GitHub.Unity
{
class DefaultEnvironment : IEnvironment
{
public string GetSpecialFolder(Environment.SpecialFolder folder)
{
return Environment.GetFolderPath(folder);
}
public string ExpandEnvironmentVariables(string name)
... | Optimize windows platform detection code | Optimize windows platform detection code
| C# | mit | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity |
88ed56836d926d141d945210b21b7111b5da3d82 | src/Microsoft.ApplicationInsights.AspNetCore/Properties/AssemblyInfo.cs | src/Microsoft.ApplicationInsights.AspNetCore/Properties/AssemblyInfo.cs | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.AspNetCore.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0... | using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: InternalsVisibleTo("Microsoft.ApplicationInsights.AspNetCore.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131... | Make project comvisible explicitly set to false to meet compliance requirements. | Make project comvisible explicitly set to false to meet compliance requirements.
| C# | mit | Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5 |
473407d2a12c8f36b2ba7ea1d5cc2bc7e39d4dda | src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationControls.cs | src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationControls.cs | namespace Stripe.Issuing
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class AuthorizationControls : StripeEntity
{
[JsonProperty("allowed_categories")]
public List<string> AllowedCategories { get; set; }
[JsonProperty("blocked_categories")]
public L... | namespace Stripe.Issuing
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class AuthorizationControls : StripeEntity
{
[JsonProperty("allowed_categories")]
public List<string> AllowedCategories { get; set; }
[JsonProperty("blocked_categories")]
public L... | Support nullable properties on authorization_controls | Support nullable properties on authorization_controls
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
5284e17ecb7436cbfc2c1c3eb9cf50ff40474691 | src/Feature/faq/code/Views/FAQ/FaqAccordion.cshtml | src/Feature/faq/code/Views/FAQ/FaqAccordion.cshtml | @using System.Web.Mvc.Html
@using Sitecore.Feature.FAQ.Repositories
@using Sitecore.Feature.FAQ
@using Sitecore.Data.Items
@model Sitecore.Mvc.Presentation.RenderingModel
@{
var elements = GroupMemberRepository.Get(Model.Item).ToArray();
int i = 1;
}
@foreach (Item item in elements)
{
var ID = Guid.NewGu... | @using System.Web.Mvc.Html
@using Sitecore.Feature.FAQ.Repositories
@using Sitecore.Feature.FAQ
@using Sitecore.Data.Items
@model Sitecore.Mvc.Presentation.RenderingModel
@{
var elements = GroupMemberRepository.Get(Model.Item).ToArray();
}
@foreach (Item item in elements)
{
var ID = Guid.NewGuid().ToString()... | Change the HTML according to the new Habitat theming | Change the HTML according to the new Habitat theming
| C# | apache-2.0 | zyq524/Habitat,bhaveshmaniya/Habitat,nurunquebec/Habitat,GoranHalvarsson/Habitat,bhaveshmaniya/Habitat,ClearPeopleLtd/Habitat,GoranHalvarsson/Habitat,nurunquebec/Habitat,zyq524/Habitat,ClearPeopleLtd/Habitat |
e1b99799eb9f206b624745fc12914f8c2d0f38c4 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.Wcf")]
[assembly: AssemblyDescription("")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Tests.Integration.Wcf")]
| 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 | caioproiete/Autofac.Wcf,autofac/Autofac.Wcf |
83e92f6ecff44d7be9a3c73a4a81f6a25b31acb8 | DevTyr.Gullap.Tests/With_Converter/For_SetParser/When_argument_is_null.cs | DevTyr.Gullap.Tests/With_Converter/For_SetParser/When_argument_is_null.cs | using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Converter.For_SetParser
{
[TestFixture]
public class When_argument_is_null
{
[Test]
public void Should_throw_argument_exception ()
{
var converter = new Converter (new ConverterOptions {
SitePath = "any"
})... | using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Converter.For_SetParser
{
[TestFixture]
public class When_argument_is_null
{
[Test]
public void Should_throw_argument_null_exception ()
{
var converter = new Converter (new ConverterOptions {
SitePath = "any"
... | Change exception type for null argument to ArgumentNullException. | Change exception type for null argument to ArgumentNullException.
| C# | mit | devtyr/gullap |
27e8c971d05ee4bd8600d46a250aac6de90610b6 | WalletWasabi.Gui/Converters/StatusColorConvertor.cs | WalletWasabi.Gui/Converters/StatusColorConvertor.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Avalonia.Data.Converters;
using Avalonia.Media;
using AvalonStudio.Extensibility.Theme;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.Converters
{
public class StatusColorConvertor : IValueConverter
{
publ... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Avalonia.Data.Converters;
using Avalonia.Media;
using AvalonStudio.Extensibility.Theme;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.Converters
{
public class StatusColorConvertor : IValueConverter
{
publ... | Change statusbar errors to yellow | Change statusbar errors to yellow
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
3fba9ac775397a18cacb0524039283e0e6e9062a | FubarDev.WebDavServer.Props.Store.TextFile/TextFilePropertyStoreOptions.cs | FubarDev.WebDavServer.Props.Store.TextFile/TextFilePropertyStoreOptions.cs | // <copyright file="TextFilePropertyStoreOptions.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
namespace FubarDev.WebDavServer.Props.Store.TextFile
{
public class TextFilePropertyStoreOptions
{
public int EstimatedCost { get; se... | // <copyright file="TextFilePropertyStoreOptions.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
namespace FubarDev.WebDavServer.Props.Store.TextFile
{
public class TextFilePropertyStoreOptions
{
public int EstimatedCost { get; se... | Increase the estinated cost for the text file property store to 10 to avoid fetching all dead properties | Increase the estinated cost for the text file property store to 10 to avoid fetching all dead properties
| C# | mit | FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer |
deb74939afb981f12cbf0b84147dd04c87e3e612 | src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs | src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs | using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors.ValueConverters
{
[PropertyValueType(typeof(decimal))]
[PropertyValueCache(PropertyCacheValue.All, PropertyCacheLevel.Content)]
public class DecimalValueConverter : PropertyValueConverterBase
{
public override b... | using System.Globalization;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors.ValueConverters
{
[PropertyValueType(typeof(decimal))]
[PropertyValueCache(PropertyCacheValue.All, PropertyCacheLevel.Content)]
public class DecimalValueConverter : PropertyValueConverterBase
... | Fix decimal property value converter to work on non EN-US cultures | U4-8365: Fix decimal property value converter to work on non EN-US cultures
| C# | mit | robertjf/Umbraco-CMS,Phosworks/Umbraco-CMS,WebCentrum/Umbraco-CMS,rasmusfjord/Umbraco-CMS,NikRimington/Umbraco-CMS,rasmusfjord/Umbraco-CMS,Phosworks/Umbraco-CMS,abjerner/Umbraco-CMS,sargin48/Umbraco-CMS,mattbrailsford/Umbraco-CMS,leekelleher/Umbraco-CMS,WebCentrum/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,hfloyd/Umbrac... |
a385695fbf7ab75939f81cefa0a331a06a00feac | TAUtil.Gdi/Bitmap/BitmapSerializer.cs | TAUtil.Gdi/Bitmap/BitmapSerializer.cs | namespace TAUtil.Gdi.Bitmap
{
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using TAUtil.Gdi.Palette;
/// <summary>
/// Serializes a 32-bit Bitmap instance into raw 8-bit indexed color data.
/// The mapping from color to index is done according to the given... | namespace TAUtil.Gdi.Bitmap
{
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using TAUtil.Gdi.Palette;
/// <summary>
/// Serializes a 32-bit Bitmap instance into raw 8-bit indexed color data.
/// The mapping from color to index is done according to the given... | Fix bitmap serialization with indexed format bitmaps | Fix bitmap serialization with indexed format bitmaps
| C# | mit | MHeasell/Mappy,MHeasell/Mappy |
56f7b4e647fc8b29874e5956525280afe7d15a26 | src/FilterLists.Agent/Program.cs | src/FilterLists.Agent/Program.cs | using System;
using System.Threading.Tasks;
using FilterLists.Agent.AppSettings;
using FilterLists.Agent.Extensions;
using FilterLists.Agent.Features.Lists;
using FilterLists.Agent.Features.Urls;
using FilterLists.Agent.Features.Urls.Models.DataFileUrls;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
u... | using System;
using System.Threading.Tasks;
using FilterLists.Agent.Extensions;
using FilterLists.Agent.Features.Lists;
using FilterLists.Agent.Features.Urls;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace FilterLists.Agent
{
public static class Program
{
private static IServ... | Revert "TEMP: test env vars on prod" | Revert "TEMP: test env vars on prod"
This reverts commit 4d177274d48888d1b38880b3af89b1d515dfb1cf.
| C# | mit | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists |
8c9c9f3d2b5d9471f2815c0ab0db32a1617d5614 | src/Tgstation.Server.Host/Models/RepositorySettings.cs | src/Tgstation.Server.Host/Models/RepositorySettings.cs | using System.ComponentModel.DataAnnotations;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class RepositorySettings : Api.Models.Internal.RepositorySettings
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summ... | using System.ComponentModel.DataAnnotations;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class RepositorySettings : Api.Models.Internal.RepositorySettings
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summa... | Fix Repository's `createGitHubDeployments` not being returned in API responses | Fix Repository's `createGitHubDeployments` not being returned in API responses
| C# | agpl-3.0 | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools |
5a630cbb87935e96ce88b9aff98a54794179934a | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("Microsoft Open Technologie... | Update OData assembly versions to 5.3.1.0 | Update OData assembly versions to 5.3.1.0
| C# | mit | congysu/WebApi,LianwMS/WebApi,yonglehou/WebApi,lungisam/WebApi,congysu/WebApi,lewischeng-ms/WebApi,chimpinano/WebApi,LianwMS/WebApi,chimpinano/WebApi,abkmr/WebApi,scz2011/WebApi,lungisam/WebApi,abkmr/WebApi,scz2011/WebApi,yonglehou/WebApi,lewischeng-ms/WebApi |
ed61f618202c091e8358ae52ae499d6f3ee7aaed | Assets/Birdy.cs | Assets/Birdy.cs | using UnityEngine;
using System.Collections;
public class Birdy : MonoBehaviour
{
public bool IsAlive;
public float DropDeadTime = 0.5f;
public MoveForward Mover;
public ScriptSwitch FlyToFallSwitch;
public FallDown FallDown;
public MonoBehaviour[] Feeders;
// Use this for initialization
void Start ()
... | using UnityEngine;
using System.Collections;
public class Birdy : MonoBehaviour
{
public bool IsAlive;
public float DropDeadTime = 0.5f;
public MoveForward Mover;
public ScriptSwitch FlyToFallSwitch;
public FallDown FallDown;
public MonoBehaviour[] Feeders;
// Use this for initialization
void Start ()
... | Stop bird animation on drop down | Stop bird animation on drop down
| C# | mit | L4fter/CrocoDie |
121d75fc76014ec4ba0c7f67b3158c221694bd56 | src/core/BrightstarDB.ReadWriteBenchmark/Program.cs | src/core/BrightstarDB.ReadWriteBenchmark/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrightstarDB.ReadWriteBenchmark
{
internal class Program
{
private static void Main(string[] args)
{
var opts = n... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrightstarDB.ReadWriteBenchmark
{
internal class Program
{
public static TraceListener BrightstarListener;
private static voi... | Write BrightstarDB log output if a log file is specified | Write BrightstarDB log output if a log file is specified
| C# | mit | BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB |
a3928f715cd19c44808639f0cfb6a79993a7dabb | src/StructureMap.Microsoft.DependencyInjection/AspNetConstructorSelector.cs | src/StructureMap.Microsoft.DependencyInjection/AspNetConstructorSelector.cs | using System;
using System.Linq;
using System.Reflection;
using StructureMap.Graph;
using StructureMap.Pipeline;
namespace StructureMap
{
internal class AspNetConstructorSelector : IConstructorSelector
{
// ASP.NET expects registered services to be considered when selecting a ctor, SM doesn't by defaul... | using System;
using System.Linq;
using System.Reflection;
using StructureMap.Graph;
using StructureMap.Pipeline;
namespace StructureMap
{
internal class AspNetConstructorSelector : IConstructorSelector
{
// ASP.NET expects registered services to be considered when selecting a ctor, SM doesn't by defaul... | Revert to method LINQ syntax. | Revert to method LINQ syntax.
| C# | mit | structuremap/structuremap.dnx,structuremap/StructureMap.Microsoft.DependencyInjection,khellang/StructureMap.Dnx |
15a960dcfe8da6e8b14cc1fd8647f453ca21fe69 | src/LfMerge/LanguageDepotProject.cs | src/LfMerge/LanguageDepotProject.cs | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Core.Clusters;
namespace LfMerge
{
public class LanguageDepotProject
{
public LanguageDepo... | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Core.Clusters;
namespace LfMerge
{
public class LanguageDepotProject
{
public LanguageDepo... | Use scriptureforge database to get project data | Use scriptureforge database to get project data
| C# | mit | ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge |
169b7826bfb91ab4b2c80e49fc6c8c4859441b37 | Scripts/LiteNetLibPacketSender.cs | Scripts/LiteNetLibPacketSender.cs | using LiteNetLib;
using LiteNetLib.Utils;
using LiteNetLibManager;
public static class LiteNetLibPacketSender
{
public static readonly NetDataWriter Writer = new NetDataWriter();
public static void SendPacket(NetDataWriter writer, SendOptions options, NetPeer peer, short msgType, System.Action<NetDataWriter>... | using LiteNetLib;
using LiteNetLib.Utils;
using LiteNetLibManager;
public static class LiteNetLibPacketSender
{
public static readonly NetDataWriter Writer = new NetDataWriter();
public static void SendPacket(NetDataWriter writer, SendOptions options, NetPeer peer, short msgType, System.Action<NetDataWriter>... | Improve packet sender seralize codes | Improve packet sender seralize codes
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
36e480d9aa571b0fb548a23cd2cd8d44277bfbad | Knapcode.SocketToMe.Sandbox/Program.cs | Knapcode.SocketToMe.Sandbox/Program.cs | using System;
using System.Net;
using System.Net.Http;
using Knapcode.SocketToMe.Http;
using Knapcode.SocketToMe.Socks;
namespace Knapcode.SocketToMe.Sandbox
{
public class Program
{
private static void Main()
{
var endpoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9150);
... | using System;
using System.Net;
using System.Net.Http;
using Knapcode.SocketToMe.Http;
using Knapcode.SocketToMe.Socks;
namespace Knapcode.SocketToMe.Sandbox
{
public class Program
{
private static void Main()
{
var endpoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 9150);
... | Make the sandbox example even more complex | Make the sandbox example even more complex
| C# | mit | joelverhagen/SocketToMe |
e21c61152b8d57471121f0faaaa585d23238c835 | managed/tracelogging/Program.cs | managed/tracelogging/Program.cs | using System;
using System.Diagnostics.Tracing;
namespace tracelogging
{
public sealed class MySource : EventSource
{
MySource()
: base(EventSourceSettings.EtwSelfDescribingEventFormat)
{
}
public static MySource Logger = new MySource();
}
class Program
... | using System;
using System.Diagnostics.Tracing;
namespace tracelogging
{
public sealed class MySource : EventSource
{
MySource()
: base(EventSourceSettings.EtwSelfDescribingEventFormat)
{
}
[Event(1)]
public void TestEventMethod(int i, string s)
{
... | Add event method to TraceLogging test. | Add event method to TraceLogging test.
| C# | mit | brianrob/coretests,brianrob/coretests |
3736083da8e887e52ae98587d06311305635cfcd | osu.Framework.Benchmarks/BenchmarkTextBuilder.cs | osu.Framework.Benchmarks/BenchmarkTextBuilder.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.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Text;
na... | // 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.Threading.Tasks;
using BenchmarkDotNet.Attributes;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Text;
na... | Update benchmark and add worst case scenario | Update benchmark and add worst case scenario
| C# | mit | smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework |
bab1b750087f7efd290bd906aeeaa0a4e167f5d4 | src/Lezen.Core/Entity/Document.cs | src/Lezen.Core/Entity/Document.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lezen.Core.Entity
{
public class Document
{
public Document()
{
this.Authors = new HashSet<Author>();
}
public int ID { get; set; }
public string Title { get; se... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Lezen.Core.Entity
{
public class Document
{
public Document()
{
this.Authors = new HashSet<Author>();
}
public int ID { get; set; }
public string Title { get; se... | Change private setter to public. | Change private setter to public.
| C# | apache-2.0 | boumenot/lezen,boumenot/lezen |
b852aa3b4fe98c7310dbe8157a6b74e1132a84d9 | CardsAgainstIRC3/Game/Bots/Rando.cs | CardsAgainstIRC3/Game/Bots/Rando.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CardsAgainstIRC3.Game.Bots
{
[Bot("rando")]
public class Rando : IBot
{
public GameManager Manager
{
get;
private set;
}
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CardsAgainstIRC3.Game.Bots
{
[Bot("rando")]
public class Rando : IBot
{
public GameManager Manager
{
get;
private set;
}
pu... | Fix wrong method name, causing a build error | Fix wrong method name, causing a build error
| C# | mit | puckipedia/CardsAgainstIRC |
020f794b1cdb90dae350c74fe3cad1b8a8bb05e5 | Subtle.UI/Controls/ImdbTextBox.cs | Subtle.UI/Controls/ImdbTextBox.cs | using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace Subtle.UI.Controls
{
public class ImdbTextBox : TextBox
{
// ReSharper disable once InconsistentNaming
private const int WM_PASTE = 0x0302;
private static readonly Regex ImdbRegex = new Regex(@"tt(\d{7})");
... | using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace Subtle.UI.Controls
{
public class ImdbTextBox : TextBox
{
// ReSharper disable once InconsistentNaming
private const int WM_PASTE = 0x0302;
private static readonly Regex ImdbRegex = new Regex(@"tt(\d{7})");
... | Correct default paste behaviour for IMDb textbox | Correct default paste behaviour for IMDb textbox
| C# | mit | tvdburgt/subtle |
030bc4d1a58d3d8fdad425816c5300759b83429e | Joinrpg/Views/CheckIn/Index.cshtml | Joinrpg/Views/CheckIn/Index.cshtml | @model JoinRpg.Web.Models.CheckIn.CheckInIndexViewModel
@{
ViewBag.Title = "Регистрация";
}
<h2>Регистрация</h2>
@using (Html.BeginForm())
{
@Html.HiddenFor(model => model.ProjectId)
@Html.AntiForgeryToken()
@Html.SearchableDropdownFor(model => model.ClaimId, Model.Claims.Select(
claim =>
new ImprovedS... | @model JoinRpg.Web.Models.CheckIn.CheckInIndexViewModel
@{
ViewBag.Title = "Регистрация";
}
<h2>Регистрация</h2>
@using (Html.BeginForm())
{
@Html.HiddenFor(model => model.ProjectId)
@Html.AntiForgeryToken()
@Html.SearchableDropdownFor(model => model.ClaimId, Model.Claims.Select(
claim =>
new ImprovedS... | Remove <br> from select in checkin | Remove <br> from select in checkin
| C# | mit | joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net |
18a68079997cf8efc683f56952e12ae88091d94a | Syndll2/SynelServer.cs | Syndll2/SynelServer.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
namespace Syndll2
{
public class SynelServer : IDisposable
{
private readonly IConnection _connection;
private bool _disposed;
private SynelServer(IConnection connection)
{
_c... | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
namespace Syndll2
{
public class SynelServer : IDisposable
{
private readonly IConnection _connection;
private bool _disposed;
private SynelServer(IConnection connection)
{
_c... | Improve server wait and disconnect after each msg | Improve server wait and disconnect after each msg
| C# | mit | synel/syndll2 |
12e0591979a045657c101815c64a51f474f41cdf | ForecastPCL.Test/LanguageTests.cs | ForecastPCL.Test/LanguageTests.cs | namespace ForecastPCL.Test
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ForecastIOPortable;
using NUnit.Framework;
[TestFixture]
public class LanguageTests
{
[Test]
public void All... | namespace ForecastPCL.Test
{
using System;
using System.Configuration;
using ForecastIOPortable;
using NUnit.Framework;
[TestFixture]
public class LanguageTests
{
// These coordinates came from the Forecast API documentation,
// and should return forecasts with all blocks... | Add test to check that Unicode languages work (testing Chinese). | Add test to check that Unicode languages work (testing Chinese).
| C# | mit | jcheng31/DarkSkyApi,jcheng31/ForecastPCL |
280e34b253f5edbfedbcc3139c3c579516d554de | Basics.Algorithms.Tests/SortingPerformanceTests.cs | Basics.Algorithms.Tests/SortingPerformanceTests.cs | using System;
using System.Diagnostics;
using Basics.Algorithms.Sorts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Basics.Algorithms.Tests
{
[TestClass]
public class SortingPerformanceTests
{
private const int size = 10000;
private class SortInfo
{
pu... | using System;
using System.Diagnostics;
using System.Linq;
using Basics.Algorithms.Sorts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Basics.Algorithms.Tests
{
[TestClass]
public class SortingPerformanceTests
{
private const int size = 1000000;
private class SortInfo
... | Implement Enabled flag to be able to run sorts separately | Implement Enabled flag to be able to run sorts separately
| C# | mit | MSayfullin/Basics |
fcf37ab8e16aad5dda94834a029534b393cd0242 | Joey/UI/Fragments/RecentTimeEntriesListFragment.cs | Joey/UI/Fragments/RecentTimeEntriesListFragment.cs | using System;
using System.Linq;
using Android.App;
using Android.OS;
using Android.Views;
using Toggl.Joey.UI.Adapters;
namespace Toggl.Joey.UI.Fragments
{
public class RecentTimeEntriesListFragment : ListFragment
{
public override void OnViewCreated (View view, Bundle savedInstanceState)
{
... | using System;
using System.Linq;
using Android.App;
using Android.OS;
using Android.Views;
using Android.Widget;
using Toggl.Joey.UI.Adapters;
namespace Toggl.Joey.UI.Fragments
{
public class RecentTimeEntriesListFragment : ListFragment
{
public override void OnViewCreated (View view, Bundle savedInst... | Add continue time entry on recent list view click. | Add continue time entry on recent list view click.
| C# | bsd-3-clause | ZhangLeiCharles/mobile,eatskolnikov/mobile,masterrr/mobile,eatskolnikov/mobile,peeedge/mobile,peeedge/mobile,masterrr/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile |
037485289b79281c9c3c5b626b1eb27f0b383541 | src/Filters/ITileFilter.cs | src/Filters/ITileFilter.cs | using System;
using System.Collections.Generic;
namespace PrepareLanding.Filters
{
public enum FilterHeaviness
{
Light = 0,
Medium = 1,
Heavy = 2
}
public interface ITileFilter
{
string SubjectThingDef { get; }
string RunningDescription { get; }
... | using System;
using System.Collections.Generic;
namespace PrepareLanding.Filters
{
public enum FilterHeaviness
{
Light = 0,
Medium = 1,
Heavy = 2
}
public interface ITileFilter
{
string SubjectThingDef { get; }
string RunningDescription { get; }
... | Add IsFilterActive; remove unneeded parameters to filter (pass it on ctor) | Add IsFilterActive; remove unneeded parameters to filter (pass it on ctor)
| C# | mit | neitsa/PrepareLanding,neitsa/PrepareLanding |
b68198c987754b8d1b6a20654b4855f67ffbb701 | tests/SoCreate.ServiceFabric.PubSub.Tests/GivenDefaultBrokerEventsManager.cs | tests/SoCreate.ServiceFabric.PubSub.Tests/GivenDefaultBrokerEventsManager.cs | using Microsoft.ServiceFabric.Actors;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SoCreate.ServiceFabric.PubSub.Events;
using SoCreate.ServiceFabric.PubSub.State;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SoCreate.ServiceFabric.PubSub.Tests
{
[TestClass]
public cl... | using Microsoft.ServiceFabric.Actors;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SoCreate.ServiceFabric.PubSub.Events;
using SoCreate.ServiceFabric.PubSub.State;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace SoCreate.ServiceFabric.PubSub.Tests
{
[TestClass]
publi... | Change test code to repro issue in old code and prove new code doesn't crash | Change test code to repro issue in old code and prove new code doesn't crash
| C# | mit | loekd/ServiceFabric.PubSubActors |
5d0628f1079426c50ec5681924207d4b2e939685 | src/NHibernate/Cfg/EmptyInterceptor.cs | src/NHibernate/Cfg/EmptyInterceptor.cs | using System;
using System.Collections;
using NHibernate.Type;
namespace NHibernate.Cfg
{
[Serializable]
internal class EmptyInterceptor : IInterceptor
{
public EmptyInterceptor()
{
}
public void OnDelete( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
{
}
pub... | using System;
using System.Collections;
using NHibernate.Type;
namespace NHibernate.Cfg
{
[Serializable]
public class EmptyInterceptor : IInterceptor
{
public virtual void OnDelete( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
{
}
public virtual bool OnFlushDirty( ob... | Make class public and all methods virtual so that it can be used as a base class for interceptors. | Make class public and all methods virtual so that it can be used as a base class for interceptors.
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@2077
| C# | lgpl-2.1 | alobakov/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,ngbrown/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,lnu/nhibernate-cor... |
f9c8200b2b6f4ca140f99a336eb8ff86706f9f24 | VotingApplication/VotingApplication.Web/Views/Routes/ConfirmRegistration.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/ConfirmRegistration.cshtml | <div ng-app="GVA.Manage" ng-controller="ConfirmRegistrationController">
<div class="manage-area centered">
<h2>
Thank you for registering!
</h2>
<p class="text-centered">
You should receive an Email confirmation shortly.
</p>
<p class="text-centered">... | <div ng-app="GVA.Manage" ng-controller="ConfirmRegistrationController">
<div class="manage-area centered">
<h2>
Thank you for registering!
</h2>
<p class="text-centered">
You should receive an Email confirmation shortly.
</p>
<p class="text-centered">... | Fix for resend confirmation button | Fix for resend confirmation button
| C# | apache-2.0 | tpkelly/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,ste... |
ecf768b90d96195b4574016a214e68d7cd69158e | src/Glimpse.Agent.AspNet.Mvc/Messages/BeforeActionMessage.cs | src/Glimpse.Agent.AspNet.Mvc/Messages/BeforeActionMessage.cs |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class BeforeActionMessage : IActionRouteFoundMessage
{
public string ActionId { get; set; }
public string DisplayName { get; set; }
public RouteData RouteData { get; set; }
public string ActionName { get; set; }
p... |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class BeforeActionMessage : IActionRouteFoundMessage
{
public string ActionId { get; set; }
public string DisplayName { get; set; }
public string ActionName { get; set; }
public string ControllerName { get; set; }
... | Move ordering if types around | Move ordering if types around
| C# | mit | zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.... |
87c4d3c53ec0404b240a6195487f9783fd3fa4ff | test/testapps/BasicTestApp/CounterComponentUsingChild.cshtml | test/testapps/BasicTestApp/CounterComponentUsingChild.cshtml | <h1>Counter</h1>
<p>Current count: <MessageComponent Message=@currentCount.ToString() /></p>
<button @onclick(IncrementCount)>Click me</button>
@functions {
int currentCount = 0;
void IncrementCount()
{
currentCount++;
}
}
| <h1>Counter</h1>
<!-- Note: passing 'Message' parameter with lowercase name to show it's case insensitive -->
<p>Current count: <MessageComponent message=@currentCount.ToString() /></p>
<button @onclick(IncrementCount)>Click me</button>
@functions {
int currentCount = 0;
void IncrementCount()
{
... | Cover case-insensitive child component parameter names in E2E test | Cover case-insensitive child component parameter names in E2E test
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
81dac383d3100b4b59cae580a2c6a668ba40a7be | src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs | src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs | using Moq;
using SFA.DAS.EAS.TestCommon.DbCleanup;
using SFA.DAS.EAS.TestCommon.DependencyResolution;
using SFA.DAS.EAS.Web;
using SFA.DAS.EAS.Web.Authentication;
using SFA.DAS.Messaging;
using StructureMap;
using TechTalk.SpecFlow;
namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps
{
[Binding]
... | using Moq;
using SFA.DAS.EAS.TestCommon.DbCleanup;
using SFA.DAS.EAS.TestCommon.DependencyResolution;
using SFA.DAS.EAS.Web;
using SFA.DAS.EAS.Web.Authentication;
using SFA.DAS.Messaging;
using StructureMap;
using TechTalk.SpecFlow;
namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps
{
[Binding]
... | Add cleandatabase call in global steps | Add cleandatabase call in global steps
Added call to clean the levy database after running the tests for
transactions.
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
2e44bd076d3b325ba477a680c2929672740d40b8 | src/SEEK.AdPostingApi.Client/Models/AdditionalPropertyType.cs | src/SEEK.AdPostingApi.Client/Models/AdditionalPropertyType.cs | namespace SEEK.AdPostingApi.Client.Models
{
public enum AdditionalPropertyType
{
ResidentsOnly = 1
}
}
| namespace SEEK.AdPostingApi.Client.Models
{
public enum AdditionalPropertyType
{
ResidentsOnly = 1,
Graduate
}
} | Add graduate flag as additional property | FLAPI-216: Add graduate flag as additional property
| C# | mit | seekasia-oss/jobstreet-ad-posting-api-client |
c8aac76aaea92bb7d4c41053611ab4b62a1c8e11 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Mef")]
[assembly: AssemblyDescription("Autofac MEF Integration")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Mef, PublicKey=00240000048... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Mef")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Mef, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261... | 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 | autofac/Autofac.Mef |
9184ad4112cf9bdd070469e289428828ae27e1a7 | Zermelo.App.UWP/Services/SettingsService.cs | Zermelo.App.UWP/Services/SettingsService.cs | using Template10.Mvvm;
using Template10.Services.SettingsService;
namespace Zermelo.App.UWP.Services
{
public class SettingsService : BindableBase, ISettingsService
{
ISettingsHelper _helper;
public SettingsService(ISettingsHelper settingsHelper)
{
_helper = settingsHelper... | using Template10.Mvvm;
using Template10.Services.SettingsService;
using Windows.Storage;
namespace Zermelo.App.UWP.Services
{
public class SettingsService : BindableBase, ISettingsService
{
ApplicationDataContainer _settings;
public SettingsService()
{
_settings = Applicat... | Store settings as plain strings, without SettingsHelper | Store settings as plain strings, without SettingsHelper
Fix #23
| C# | mit | arthurrump/Zermelo.App.UWP |
8e3cb5dceb86d9671f9bf07e2b2d2856ccb34868 | src/ServiceStack.IntroSpec/ServiceStack.IntroSpec/Services/ApiSpecMetadataService.cs | src/ServiceStack.IntroSpec/ServiceStack.IntroSpec/Services/ApiSpecMetadataService.cs | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
namespace ServiceStack.IntroSpec.Services
{
using System.Linq;
using DTO;
public class ApiSpecMetadata... | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
namespace ServiceStack.IntroSpec.Services
{
using System.Linq;
using DTO;
public class ApiSpecMetadata... | Handle null/missing category and tags | Handle null/missing category and tags
| C# | mpl-2.0 | MacLeanElectrical/servicestack-introspec |
3a09b93ef91b4567370c0fdd855a5d87a7f33f76 | src/Utils/RandomValueGenerator.cs | src/Utils/RandomValueGenerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StrangerData.Utils
{
internal static class RandomValues
{
public static object ForColumn(TableColumnInfo columnInfo)
{
switch (columnInfo.ColumnType)
... | using System;
namespace StrangerData.Utils
{
internal static class RandomValues
{
public static object ForColumn(TableColumnInfo columnInfo)
{
switch (columnInfo.ColumnType)
{
case ColumnType.String:
// generates a random string
... | Fix evaluation of max values for random int and long | :bug: Fix evaluation of max values for random int and long
Use Math.Pow instead of logical XOR to evaluate max values
| C# | mit | stone-pagamentos/StrangerData |
5326f504cc2dbcd5485fc27fd106bd17452c1103 | src/LessMsi.Cli/OpenGuiCommand.cs | src/LessMsi.Cli/OpenGuiCommand.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class OpenGuiCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
if (args.Count < 2)
throw new OptionException("You must specify the name o... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class OpenGuiCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
if (args.Count < 2)
throw new OptionException("You must specify the name o... | Make CLI work with paths containing spaces. | Make CLI work with paths containing spaces.
| C# | mit | activescott/lessmsi,activescott/lessmsi,activescott/lessmsi |
ea23b4a831a9b5886ce781f8cc45870377083fad | source/Nuke.Common/Execution/HandleShellCompletionAttribute.cs | source/Nuke.Common/Execution/HandleShellCompletionAttribute.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using Nuke.Common.IO;
namespace Nuke.Common.Execution
{
[AttributeUsage(AttributeTargets.Class)]
internal cl... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using Nuke.Common.IO;
using static Nuke.Common.Constants;
namespace Nuke.Common.Execution
{
[AttributeUsage(Attr... | Fix shell-completion.yml to exclude unlisted targets for invocation | Fix shell-completion.yml to exclude unlisted targets for invocation
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
ac11de7efb5d71125d07eb0efc9ce230e88e841a | src/Shouldly.Tests/InternalTests/StringDiffHighlighterTests.cs | src/Shouldly.Tests/InternalTests/StringDiffHighlighterTests.cs | using NUnit.Framework;
using Shouldly.DifferenceHighlighting2;
using System;
namespace Shouldly.Tests.InternalTests
{
[TestFixture]
public static class StringDiffHighlighterTests
{
private static IStringDifferenceHighlighter _sut;
[SetUp]
public static void Setup()
{
... | using NUnit.Framework;
using Shouldly.DifferenceHighlighting2;
using System;
namespace Shouldly.Tests.InternalTests
{
[TestFixture]
public static class StringDiffHighlighterTests
{
private static IStringDifferenceHighlighter _sut;
[SetUp]
public static void Setup()
{
... | Correct order of params in diff highlighter tests | Correct order of params in diff highlighter tests
| C# | bsd-3-clause | chaitanyagurrapu/shouldly,JoeMighty/shouldly,AmadeusW/shouldly,ankurMalhotra/shouldly |
edb057d115e3590418d35d8db4b7e162bcf44f21 | Tracer/Tester/SingleThreadTest.cs | Tracer/Tester/SingleThreadTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tracer;
namespace Tester
{
class SingleThreadTest : ITest
{
private ITracer tracer = new Tracer.Tracer();
public void Run()
{
tracer.StartTrace();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tracer;
using System.Threading;
namespace Tester
{
class SingleThreadTest : ITest
{
private ITracer tracer = new Tracer.Tracer();
public void Run()
{
tra... | Update Tester class implementation due to the recent changes in Tester implementation | Update Tester class implementation due to the recent changes in Tester implementation
| C# | mit | JonesTwink/MPP.Tracer |
32068e2dba00bb63f78d28c8c932d14004c3a8e7 | src/Taxjar.Tests/Infrastructure/TaxjarFixture.cs | src/Taxjar.Tests/Infrastructure/TaxjarFixture.cs | using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Taxjar.Tests
{
public class TaxjarFixture
{
public static string GetJSON(string fixturePath)
{
using (StreamReader file = File.OpenText(Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "../../..... | using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Taxjar.Tests
{
public class TaxjarFixture
{
public static string GetJSON(string fixturePath)
{
using (StreamReader file = File.OpenText(Path.Combine("../../../", "Fixtures", fixturePath)))
usi... | Update fixture path for specs | Update fixture path for specs
| C# | mit | taxjar/taxjar.net |
b57b6cead8f5ad04fab49ea0088a92761c1fa0e1 | ForecastPCL.Test/LanguageTests.cs | ForecastPCL.Test/LanguageTests.cs | using System.Threading.Tasks;
namespace ForecastPCL.Test
{
using System;
using System.Configuration;
using ForecastIOPortable;
using NUnit.Framework;
[TestFixture]
public class LanguageTests
{
// These coordinates came from the Forecast API documentation,
// and should r... | using System.Threading.Tasks;
namespace ForecastPCL.Test
{
using System;
using System.Configuration;
using ForecastIOPortable;
using NUnit.Framework;
[TestFixture]
public class LanguageTests
{
// These coordinates came from the Forecast API documentation,
// and should r... | Clean up unused lat/long coordinates in language tests. | Clean up unused lat/long coordinates in language tests.
| C# | mit | jcheng31/DarkSkyApi,jcheng31/ForecastPCL |
d13ddca8f763833e9254f826d1600000e20bc5ea | src/Api/DependencyInjectionConfiguration.cs | src/Api/DependencyInjectionConfiguration.cs | using Microsoft.Extensions.DependencyInjection;
using ISTS.Application.Rooms;
using ISTS.Application.Studios;
using ISTS.Domain.Rooms;
using ISTS.Domain.Studios;
using ISTS.Infrastructure.Repository;
namespace ISTS.Api
{
public static class DependencyInjectionConfiguration
{
public static void Configu... | using Microsoft.Extensions.DependencyInjection;
using ISTS.Application.Rooms;
using ISTS.Application.Schedules;
using ISTS.Application.Studios;
using ISTS.Domain.Rooms;
using ISTS.Domain.Schedules;
using ISTS.Domain.Studios;
using ISTS.Infrastructure.Repository;
namespace ISTS.Api
{
public static class Dependency... | Fix stackoverflow error caused by navigation property in Session model | Fix stackoverflow error caused by navigation property in Session model
| C# | mit | meutley/ISTS |
93229a8c35fdbec67ed73dbbf37258e16d3468b9 | Assets/Editor/Alensia/Core/UI/ComponentFactory.cs | Assets/Editor/Alensia/Core/UI/ComponentFactory.cs | using UnityEditor;
using UnityEngine;
namespace Alensia.Core.UI
{
public static class ComponentFactory
{
[MenuItem("GameObject/UI/Alensia/Button", false, 10)]
public static Button CreateButton(MenuCommand command)
{
var button = Button.CreateInstance();
GameObje... | using System;
using UnityEditor;
using UnityEngine;
namespace Alensia.Core.UI
{
public static class ComponentFactory
{
[MenuItem("GameObject/UI/Alensia/Button", false, 10)]
public static Button CreateButton(MenuCommand command) => CreateComponent(command, Button.CreateInstance);
[MenuI... | Simplify component factory with generics | Simplify component factory with generics
| C# | apache-2.0 | mysticfall/Alensia |
ff29118539d22d5067faac3ba73e84a3f5dfce59 | src/ENode/Properties/AssemblyInfo.cs | src/ENode/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("EN... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("EN... | Modify the enode project assembly.cs file | Modify the enode project assembly.cs file
| C# | mit | Aaron-Liu/enode,tangxuehua/enode |
5a6a011ef45e44c5f8663bf581505a1c7730a648 | mvcWebApp/Views/Home/_Jumbotron.cshtml | mvcWebApp/Views/Home/_Jumbotron.cshtml | <section class="container">
<div id="our-jumbotron" class="jumbotron">
<h1>Welcome!</h1>
<p>We are Sweet Water Revolver. This is our website. Please look around and check out our...</p>
<p><a class="btn btn-primary btn-lg" role="button">... showtimes.</a></p>
</div>
</section>
| <section class="container">
<div id="our-jumbotron" class="jumbotron">
<h1>Welcome!</h1>
<p>We are Sweet Water Revolver. This is our website. Please look around.</p>
</div>
</section>
| Remove the non-active button from the jumbotron. | Remove the non-active button from the jumbotron.
| C# | mit | bigfont/sweet-water-revolver |
009b973234c9923d66c5f2975b03cd5f19188bfd | Google.PowerShell/Dns/GcdCmdlet.cs | Google.PowerShell/Dns/GcdCmdlet.cs |
// Copyright 2016 Google Inc. All Rights Reserved.
// Licensed under the Apache License Version 2.0.
using Google.Apis.Dns.v1;
using Google.PowerShell.Common;
namespace Google.PowerShell.Dns
{
/// <summary>
/// Base class for Google DNS-based cmdlets.
/// </summary>
public abstract class GcdCmdlet ... |
// Copyright 2016 Google Inc. All Rights Reserved.
// Licensed under the Apache License Version 2.0.
using Google.Apis.Dns.v1;
using Google.PowerShell.Common;
namespace Google.PowerShell.Dns
{
/// <summary>
/// Base class for Google DNS-based cmdlets.
/// </summary>
public abstract class GcdCmdlet ... | Revert "Newline at end of file missing, added." | Revert "Newline at end of file missing, added."
This reverts commit 4a444ccadc24dc37a2255a33f0dc1f762f13079b.
Undo newline.
| C# | apache-2.0 | marceloyuela/google-cloud-powershell,GoogleCloudPlatform/google-cloud-powershell,marceloyuela/google-cloud-powershell,ILMTitan/google-cloud-powershell,marceloyuela/google-cloud-powershell,chrsmith/google-cloud-powershell |
deb6c052bdfecb1dd1471650db5d35aa6801d64b | Plugins/Drift/Source/RapidJson/RapidJson.Build.cs | Plugins/Drift/Source/RapidJson/RapidJson.Build.cs | // Copyright 2015-2017 Directive Games Limited - All Rights Reserved
using UnrealBuildTool;
public class RapidJson : ModuleRules
{
public RapidJson(TargetInfo Target)
{
bFasterWithoutUnity = true;
PCHUsage = PCHUsageMode.NoSharedPCHs;
PublicIncludePaths.AddRange(
... | // Copyright 2015-2017 Directive Games Limited - All Rights Reserved
using UnrealBuildTool;
public class RapidJson : ModuleRules
{
public RapidJson(TargetInfo Target)
{
bFasterWithoutUnity = true;
PCHUsage = PCHUsageMode.NoSharedPCHs;
PublicIncludePaths.AddRange(
... | Fix build error in VS2015 | Fix build error in VS2015
| C# | mit | dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin,dgnorth/DriftUe4Plugin |
5aee92f855a33912b6c30648e9517d1fde58917e | HaveIBeenPwned/PwEntryExtension.cs | HaveIBeenPwned/PwEntryExtension.cs | using KeePassLib;
using System;
using System.Linq;
namespace HaveIBeenPwned
{
public static class PwEntryExtension
{
public static DateTime GetPasswordLastModified(this PwEntry entry)
{
if(entry.History != null && entry.History.Any())
{
var sortedEntries... | using KeePass.Plugins;
using KeePassLib;
using System;
using System.Linq;
namespace HaveIBeenPwned
{
public static class PwEntryExtension
{
public static DateTime GetPasswordLastModified(this PwEntry entry)
{
if(entry.History != null && entry.History.Any())
{
... | Add extension method for working out if an entry is deleted or not. | Add extension method for working out if an entry is deleted or not.
| C# | mit | andrew-schofield/keepass2-haveibeenpwned |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.