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 |
|---|---|---|---|---|---|---|---|---|---|
483db14ff75496ae46d088373d4fce997e8c6924 | Source/CurrencyCloud/Properties/AssemblyInfo.cs | Source/CurrencyCloud/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CurrencyCloud")]
[assembly: AssemblyDescr... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CurrencyCloud")]
[assembly: AssemblyDescr... | Change library version to 0.8.1 | Change library version to 0.8.1
| C# | mit | CurrencyCloud/currencycloud-net |
59dd401b7a25a53fdf294568a9742dea66f0d566 | src/Glimpse.Host.Web.Owin/GlimpseMiddleware.cs | src/Glimpse.Host.Web.Owin/GlimpseMiddleware.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Glimpse.Host.Web.Owin.Framework;
namespace Glimpse.Host.Web.Owin
{
public class GlimpseMiddleware
{
private readonly Func<IDictionary<string, object>, Task> _innerNext;
public GlimpseMiddleware(Func<IDictionar... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Glimpse.Host.Web.Owin.Framework;
using Glimpse.Agent.Web;
namespace Glimpse.Host.Web.Owin
{
public class GlimpseMiddleware
{
private readonly Func<IDictionary<string, object>, Task> _innerNext;
private readonly... | Add agent to web owin middleware | Add agent to web owin middleware
| C# | mit | pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototyp... |
76d90d39f9bceaa92499d01b222e66067816ba3f | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.Droid/TintedImageRenderer.cs | CrossPlatformTintedImage/CrossPlatformTintedImage/CrossPlatformTintedImage.Droid/TintedImageRenderer.cs | using System;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using System.ComponentModel;
using CrossPlatformTintedImage;
using CrossPlatformTintedImage.Droid;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPl... | using System;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using System.ComponentModel;
using CrossPlatformTintedImage;
using CrossPlatformTintedImage.Droid;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImageRenderer))]
namespace CrossPl... | Disable tinting option on Android | Disable tinting option on Android
| C# | mit | shrutinambiar/xamarin-forms-tinted-image |
eeaeafe040120c41239523ae97b2f28e71befb7e | Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs | Core/VVVV.DX11.Core/NodeInterfaces/IDX11RenderWindow.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FeralTic.DX11;
namespace VVVV.DX11
{
public interface IAttachableWindow
{
void AttachContext(DX11RenderContext renderContext);
IntPtr WindowHandle { get; }
}
public interface IDX11RenderStartPo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FeralTic.DX11;
namespace VVVV.DX11
{
public interface IAttachableWindow
{
void AttachContext(DX11RenderContext renderContext);
IntPtr WindowHandle { get; }
}
public interface IDX11RenderStartPo... | Mark render start point as graph part (obviously) | Mark render start point as graph part (obviously)
| C# | bsd-3-clause | id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv |
65faad85f5960ff82a7032d9ad8c7c9a15fd9c6a | GitMind/Common/MessageDialogs/MessageDialog.xaml.cs | GitMind/Common/MessageDialogs/MessageDialog.xaml.cs | using System.Windows;
namespace GitMind.Common.MessageDialogs
{
/// <summary>
/// Interaction logic for MessageDialog.xaml
/// </summary>
public partial class MessageDialog : Window
{
public MessageDialog(
Window owner,
string message,
string title,
MessageBoxButton button,
MessageBoxImage imag... | using System.Windows;
namespace GitMind.Common.MessageDialogs
{
/// <summary>
/// Interaction logic for MessageDialog.xaml
/// </summary>
public partial class MessageDialog : Window
{
public MessageDialog(
Window owner,
string message,
string title,
MessageBoxButton button,
MessageBoxImage imag... | Change "Ok" to "OK" in message dialogs | Change "Ok" to "OK" in message dialogs
| C# | mit | michael-reichenauer/GitMind |
9707fa2754c5db1debfb9a520a1d10c92adc6c3e | src/jmespath.net/Functions/ToNumberFunction.cs | src/jmespath.net/Functions/ToNumberFunction.cs | using System;
using DevLab.JmesPath.Interop;
using Newtonsoft.Json.Linq;
namespace DevLab.JmesPath.Functions
{
public class ToNumberFunction : JmesPathFunction
{
public ToNumberFunction()
: base("to_number", 1)
{
}
public override bool Validate(params J... | using System;
using System.Globalization;
using DevLab.JmesPath.Interop;
using Newtonsoft.Json.Linq;
namespace DevLab.JmesPath.Functions
{
public class ToNumberFunction : JmesPathFunction
{
public ToNumberFunction()
: base("to_number", 1)
{
}
public ov... | Change - finished compliance for to_number function. | Change - finished compliance for to_number function.
| C# | apache-2.0 | jdevillard/JmesPath.Net |
c70922a49048972e61b5f496f2d4324e4186822e | src/PPWCode.Vernacular.nHibernate.I.Test/NHConfigurator.cs | src/PPWCode.Vernacular.nHibernate.I.Test/NHConfigurator.cs | using System.Collections.Generic;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Dialect;
using NHibernate.Driver;
namespace PPWCode.Vernacular.NHibernate.I.Test
{
public static class NhConfigurator
{
private const string ConnectionString = "Data Source=:memory:;Version=3;New=Tru... | using System.Collections.Generic;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Dialect;
using NHibernate.Driver;
namespace PPWCode.Vernacular.NHibernate.I.Test
{
public static class NhConfigurator
{
private const string ConnectionString = "Data Source=:memory:;Version=3;New=Tru... | Use static properties instead of static constructor ==> if exception is thrown, detailed information is available, else TypeInitialiser exception is thrown | Use static properties instead of static constructor
==> if exception is thrown, detailed information is available, else TypeInitialiser exception is thrown
git-svn-id: 487762061123e2098c3085380b713ad974003499@7632 463e38ab-4f4e-0410-907a-65d2b3888964
| C# | apache-2.0 | peopleware/net-ppwcode-vernacular-nhibernate |
1823c77cd0b9799c5d66629fcc011018282c93dc | src/CSharpViaTest.IOs/10_HandleText/CalculateTextCharLength.cs | src/CSharpViaTest.IOs/10_HandleText/CalculateTextCharLength.cs | using System;
using System.Collections.Generic;
using Xunit;
namespace CSharpViaTest.IOs._10_HandleText
{
/*
* Description
* ===========
*
* This test will introduce the concept of Codepoint and surrogate pair to you. But
* for the most of the cases, the character can fit in 16-bit unic... | using System;
using System.Collections.Generic;
using Xunit;
namespace CSharpViaTest.IOs._10_HandleText
{
/*
* Description
* ===========
*
* This test will introduce the concept of Codepoint and surrogate pair to you. But
* for the most of the cases, the character can fit in 16-bit unic... | Add some complexity to test cases. | [liuxia] Add some complexity to test cases.
| C# | mit | AxeDotNet/AxePractice.CSharpViaTest |
66b0857cf2ddf7d0b7dd4c9776e9e926799cacba | src/Dnn.PersonaBar.Library/Prompt/Models/ConsoleResultModel.cs | src/Dnn.PersonaBar.Library/Prompt/Models/ConsoleResultModel.cs | using Newtonsoft.Json;
namespace Dnn.PersonaBar.Library.Prompt.Models
{
/// <summary>
/// Standard response object sent to client
/// </summary>
public class ConsoleResultModel
{
// the returned result - text or HTML
[JsonProperty(PropertyName = "output")]
public string Out... | using Newtonsoft.Json;
namespace Dnn.PersonaBar.Library.Prompt.Models
{
/// <summary>
/// Standard response object sent to client
/// </summary>
public class ConsoleResultModel
{
// the returned result - text or HTML
[JsonProperty(PropertyName = "output")]
public string Out... | Add next page command property | DNN-10096: Add next page command property
| C# | mit | dnnsoftware/Dnn.AdminExperience.Library,valadas/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Library,RichardHowells/Dnn.Pl... |
f5ad27b1c0ae2e2a09834619790dff6d03adbd84 | Assets/Fungus/FungusScript/Scripts/EventHandler.cs | Assets/Fungus/FungusScript/Scripts/EventHandler.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
public class EventHandlerInfoAttribute : Attribute
{
public EventHandlerInfoAttribute(string category, string eventHandlerName, string helpText)
{
this.Category = category;
this.EventHandlerNa... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
public class EventHandlerInfoAttribute : Attribute
{
public EventHandlerInfoAttribute(string category, string eventHandlerName, string helpText)
{
this.Category = category;
this.EventHandlerNa... | Add dependency on Sequence and Fungus Script components | Add dependency on Sequence and Fungus Script components
| C# | mit | snozbot/fungus,kdoore/Fungus,lealeelu/Fungus,Nilihum/fungus,inarizushi/Fungus,RonanPearce/Fungus,tapiralec/Fungus,FungusGames/Fungus |
fffffefc7083c65941700e68262ecf825826bcee | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/FundingComplete.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
@if (Model.ReservedFundingToShow != null)
{
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separator">
<dt class="das-definition-list__title">Legal enti... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
@if (Model.ReservedFundingToShow != null)
{
<h3 class="das-panel__heading">Apprenticeship funding secured</h3>
<dl class="das-definition-list das-definition-list--with-separator">
<dt class="das-definition-list__title">Legal enti... | Change link title to manage reservations | Change link title to manage reservations
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
741f74b60a2a756fcb29dec2e3f9c397808bf802 | DevelopmentInProgress.DipMapper.Test/TestDapperClass.cs | DevelopmentInProgress.DipMapper.Test/TestDapperClass.cs | using System;
using System.Collections.Generic;
namespace DevelopmentInProgress.DipMapper.Test
{
public class TestDapperClass
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Date { get; set; }
public IEnumerable<TestDapperClass> TestDataClasses { ... | using System;
using System.Collections.Generic;
namespace DevelopmentInProgress.DipMapper.Test
{
public class TestDapperClass
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Date { get; set; }
public IEnumerable<TestDapperClass> TestDataClasses { ... | Test for IList<T> and IEnumerable<T> | Test for IList<T> and IEnumerable<T>
Test for IList<T> and IEnumerable<T>
| C# | apache-2.0 | grantcolley/dipmapper |
d0756e93450c94c94176399b75e331d10a076037 | PopulousStringEditor/Views/StringComparisonView.xaml.cs | PopulousStringEditor/Views/StringComparisonView.xaml.cs | using System.Windows.Controls;
namespace PopulousStringEditor.Views
{
/// <summary>
/// Interaction logic for StringComparisonView.xaml
/// </summary>
public partial class StringComparisonView : UserControl
{
/// <summary>Gets or sets the visibility of the referenced strings.</summary>
p... | using System.Windows.Controls;
namespace PopulousStringEditor.Views
{
/// <summary>
/// Interaction logic for StringComparisonView.xaml
/// </summary>
public partial class StringComparisonView : UserControl
{
/// <summary>Gets or sets the visibility of the referenced strings.</summary>
... | Correct inconsistent use of tabs and spaces. | Correct inconsistent use of tabs and spaces.
| C# | mit | WhitePhantom88/PopulousStringEditor |
15535b323a6ab2ddf39622eec0dde9b51da97707 | samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs | samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs | using MessagePack;
using MessagePack.Resolvers;
using UnityEngine;
namespace Assets.Scripts
{
class InitialSettings
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void RegisterResolvers()
{
MessagePackSerializer.DefaultOptions = MessageP... | using MessagePack;
using MessagePack.Resolvers;
using UnityEngine;
namespace Assets.Scripts
{
class InitialSettings
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void RegisterResolvers()
{
// NOTE: Currently, CompositeResolver doesn't wo... | Use StaticCompositeResolver instead of CompositeResolver. | Use StaticCompositeResolver instead of CompositeResolver.
| C# | mit | neuecc/MagicOnion |
3caafd6529827bf4256e61b61b56c973ae584e50 | src/Take.Blip.Builder/Hosting/ConventionsConfiguration.cs | src/Take.Blip.Builder/Hosting/ConventionsConfiguration.cs | using System;
namespace Take.Blip.Builder.Hosting
{
public class ConventionsConfiguration : IConfiguration
{
public virtual TimeSpan InputProcessingTimeout => TimeSpan.FromMinutes(1);
public virtual string RedisStorageConfiguration => "localhost";
public virtual int RedisDatabase => ... | using System;
namespace Take.Blip.Builder.Hosting
{
public class ConventionsConfiguration : IConfiguration
{
public virtual TimeSpan InputProcessingTimeout => TimeSpan.FromMinutes(1);
public virtual string RedisStorageConfiguration => "localhost";
public virtual int RedisDatabase => ... | Change configurations to decimal value | Change configurations to decimal value
| C# | apache-2.0 | takenet/blip-sdk-csharp |
0fa043123efffaa878e87cc24f17b10e0967efc0 | sources/Audio/AudioDeviceType.cs | sources/Audio/AudioDeviceType.cs | // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
namespace TerraFX.Audio
{
/// <summary>Represents a type of <see cref="IAudioDeviceOptions"/></summary>
public enum AudioDeviceType
{
/// <summary>Indica... | // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
namespace TerraFX.Audio
{
/// <summary>Represents a type of <see cref="IAudioAdapter"/></summary>
public enum AudioDeviceType
{
/// <summary>Indicates th... | Fix doc comment cref being incorrect | Fix doc comment cref being incorrect
| C# | mit | terrafx/terrafx |
1fcf4c4bbc4bdda26c3c5f9d3ec39957938c7557 | src/Common/src/Interop/Windows/mincore/WinRT/Interop.DeleteVolumeMountPoint.cs | src/Common/src/Interop/Windows/mincore/WinRT/Interop.DeleteVolumeMountPoint.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
internal partial class Interop
{
internal partial class mincore
{
internal static int DeleteVolumeMountPoint(string mountPoint)
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
internal partial class Interop
{
internal partial class mincore
{
internal static bool DeleteVolumeMountPoint(string mountPoint)
... | Fix build breaks mirrored from Github | [Build] Fix build breaks mirrored from Github
/cc @pgavlin @jkuhne
[tfs-changeset: 1503449]
| C# | mit | CloudLens/corefx,Petermarcu/corefx,oceanho/corefx,alexandrnikitin/corefx,Frank125/corefx,rjxby/corefx,wtgodbe/corefx,ViktorHofer/corefx,krk/corefx,the-dwyer/corefx,Petermarcu/corefx,mafiya69/corefx,nbarbettini/corefx,gkhanna79/corefx,rahku/corefx,adamralph/corefx,n1ghtmare/corefx,rahku/corefx,uhaciogullari/corefx,vs-te... |
e88e9ff77c088b4a8a0ebfff9294fb320b713a2b | hiddentreasure-etw-demo/PowerShellMethodExecution.cs | hiddentreasure-etw-demo/PowerShellMethodExecution.cs | // Copyright (c) Zac Brown. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellMethodExecution
{
public static void Run()
... | // Copyright (c) Zac Brown. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellMethodExecution
{
public static void Run()
... | Remove the function specific filter. | Remove the function specific filter.
Signed-off-by: Zac Brown (ODSP SECURITY) <a69bc40e0922c9f936432eef55ea97843f621148@microsoft.com>
| C# | mit | zacbrown/hiddentreasure-etw-demo |
f0b0c9ad62175abc71e8adb30175fda107879d8c | SnapMD.ConnectedCare.Sdk/PaymentsApi.cs | SnapMD.ConnectedCare.Sdk/PaymentsApi.cs | using Newtonsoft.Json.Linq;
using SnapMD.ConnectedCare.Sdk.Models;
namespace SnapMD.ConnectedCare.Sdk
{
public class PaymentsApi : ApiCall
{
public PaymentsApi(string baseUrl, string bearerToken, int hospitalId, string developerId, string apiKey)
: base(baseUrl, bearerToken, developerId, a... | using Newtonsoft.Json.Linq;
using SnapMD.ConnectedCare.Sdk.Models;
namespace SnapMD.ConnectedCare.Sdk
{
public class PaymentsApi : ApiCall
{
public PaymentsApi(string baseUrl, string bearerToken, int hospitalId, string developerId, string apiKey)
: base(baseUrl, bearerToken, developerId, a... | Fix path for Payments API | Fix path for Payments API
| C# | apache-2.0 | SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk,lorddev/connectedcare-sdk |
8b8be83a0cf310341d488dd821efc72576a3cbc2 | Sharpmake.Application/Sharpmake.Application.sharpmake.cs | Sharpmake.Application/Sharpmake.Application.sharpmake.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Sharpmake;
namespace SharpmakeGen
{
[Generate]
public class SharpmakeApplicationProject : Common.SharpmakeBaseProject
{
public SharpmakeApplicationProject()
: base(generateXmlDoc: false)
{
... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Sharpmake;
namespace SharpmakeGen
{
[Generate]
public class SharpmakeApplicationProject : Common.SharpmakeBaseProject
{
public SharpmakeApplicationProject()
: base(generateXmlDoc: false)
{
... | Fix warning on linux/mac by adding AutoGenerateBindingRedirects | Fix warning on linux/mac by adding AutoGenerateBindingRedirects
| C# | apache-2.0 | ubisoftinc/Sharpmake,ubisoftinc/Sharpmake,ubisoftinc/Sharpmake |
d9ca8a441db95a38cf7ba89e98941699d638da44 | TrackingCollection/TrackingCollection/ITrackingCollection.cs | TrackingCollection/TrackingCollection/ITrackingCollection.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace GitHub.Collections
{
public interface ITrackingCollection<T> : IDisposable, IList<T> where T : ICopyable<T>
{
IObservable<T> Listen(IObservable<T> obs);
IDisposable Subscribe();
IDisposable ... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace GitHub.Collections
{
/// <summary>
/// TrackingCollection is a specialization of ObservableCollection that gets items from
/// an observable sequence and updates its contents in such a way that two updates to
... | Fix and document the interface | Fix and document the interface
| C# | mit | shana/handy-things |
982cbacc2e45d96f3640173d224ce7547c86cb88 | src/Mirage.Urbanization.Simulation/NeverEndingTask.cs | src/Mirage.Urbanization.Simulation/NeverEndingTask.cs | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace Mirage.Urbanization.Simulation
{
public class NeverEndingTask
{
private readonly CancellationToken _token;
private readonly Task _task;
public NeverEndingTask(string description, Acti... | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace Mirage.Urbanization.Simulation
{
public class NeverEndingTask
{
private readonly CancellationToken _token;
private readonly Task _task;
public NeverEndingTask(string description, Acti... | Use 'Thread.Sleep' instead of 'await'-less 'Task.Delay'. | Use 'Thread.Sleep' instead of 'await'-less 'Task.Delay'.
| C# | mit | Miragecoder/Urbanization,Miragecoder/Urbanization,Miragecoder/Urbanization |
0a5b284e4b2e46731b6bf87f5d53371bbd8af186 | src/Tranquire/Reporting/XmlDocumentObserver.Net45.cs | src/Tranquire/Reporting/XmlDocumentObserver.Net45.cs | using System.Text;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
namespace Tranquire.Reporting
{
partial class XmlDocumentObserver
{
/// <summary>
/// Returns a HTML document that contains the report.
/// </summary>
/// <returns></returns>
public strin... | using System.Text;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
namespace Tranquire.Reporting
{
partial class XmlDocumentObserver
{
/// <summary>
/// Returns a HTML document that contains the report.
/// </summary>
/// <returns></returns>
public strin... | Remove workaround for xslt and use a XmlReader instead of a XPath navigator | Remove workaround for xslt and use a XmlReader instead of a XPath navigator
| C# | mit | Galad/tranquire,Galad/tranquire,Galad/tranquire |
4fabcb7a62d9b05032cc27d0bc99c64232004ba1 | src/OpenSage.Game/Data/Utilities/ParseUtility.cs | src/OpenSage.Game/Data/Utilities/ParseUtility.cs | using System.Globalization;
namespace OpenSage.Data.Utilities
{
internal static class ParseUtility
{
public static float ParseFloat(string s)
{
return float.Parse(s, CultureInfo.InvariantCulture);
}
public static bool TryParseFloat(string s, out float result)
... | using System.Globalization;
namespace OpenSage.Data.Utilities
{
internal static class ParseUtility
{
public static float ParseFloat(string s)
{
return float.Parse(s, CultureInfo.InvariantCulture);
}
public static bool TryParseFloat(string s, out float result)
... | Use culture invariant version of float.TryParse | Use culture invariant version of float.TryParse
| C# | mit | feliwir/openSage,feliwir/openSage |
b0b0278f54010e70d9077fd25c893797fd324760 | HobknobClientNet/HobknobClientFactory.cs | HobknobClientNet/HobknobClientFactory.cs | using System;
namespace HobknobClientNet
{
public interface IHobknobClientFactory
{
IHobknobClient Create(string etcdHost, int etcdPort, string applicationName, TimeSpan cacheUpdateInterval, EventHandler<CacheUpdateFailedArgs> cacheUpdateFailed);
}
public class HobknobClientFactory : IHobkno... | using System;
namespace HobknobClientNet
{
public interface IHobknobClientFactory
{
IHobknobClient Create(string etcdHost, int etcdPort, string applicationName, TimeSpan cacheUpdateInterval, EventHandler<CacheUpdateFailedArgs> cacheUpdateFailed);
}
public class HobknobClientFactory : IHobkno... | Fix cache update exception typo | Fix cache update exception typo
| C# | mit | opentable/hobknob-client-net,opentable/hobknob-client-net |
b23682c1268d9c9e78c053a4a3e9a31e0d56b0ad | osu.Framework.Tests/Visual/UserInterface/TestSceneColourPicker.cs | osu.Framework.Tests/Visual/UserInterface/TestSceneColourPicker.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Visual.UserInterface
{
public cl... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
namespace osu.Framework.Tests.Visual.UserInterface
{
public class Te... | Add failing test case for setting colour at creation | Add failing test case for setting colour at creation
| C# | mit | ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework |
c8a755bfdea00ad8943b1b4516e1ae508fd89599 | net/Azure.Storage.Blobs.PerfStress/Core/StorageTest.cs | net/Azure.Storage.Blobs.PerfStress/Core/StorageTest.cs | using Azure.Core.Pipeline;
using Azure.Test.PerfStress;
using System;
using System.Net.Http;
namespace Azure.Storage.Blobs.PerfStress
{
public abstract class StorageTest<TOptions> : PerfStressTest<TOptions> where TOptions: PerfStressOptions
{
private const string _containerName = "perfstress";
... | using Azure.Core.Pipeline;
using Azure.Test.PerfStress;
using System;
using System.Net.Http;
namespace Azure.Storage.Blobs.PerfStress
{
public abstract class StorageTest<TOptions> : PerfStressTest<TOptions> where TOptions: PerfStressOptions
{
private const string _containerName = "perfstress";
... | Add service and container clients | Add service and container clients
| C# | mit | selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java |
69a7d488faaa38fe373fa6bb610bbf0eac70a6b1 | PracticeGit/PracticeGit/Controllers/HomeController.cs | PracticeGit/PracticeGit/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
// ADDED FIRST LINE
namespace PracticeGit.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page";
re... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
// ADDED FIRST LINE
// ADDED SECOND LINE
namespace PracticeGit.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home ... | Test Major/Minor versions - Commit 2 | Test Major/Minor versions - Commit 2 | C# | mit | ravi-msi/practicegit,ravi-msi/practicegit,ravi-msi/practicegit |
9e4f3f9edf3463399c99fa910333a52d319d5bcf | DesktopWidgets/Widgets/PictureSlideshow/Settings.cs | DesktopWidgets/Widgets/PictureSlideshow/Settings.cs | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.PictureSlideshow
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 384;
Height = 216;
}
[Category("General")]
... | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.PictureSlideshow
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 384;
Height = 216;
}
[Category("General")]
... | Fix "Picture Slideshow" "Maximum File Size" default value | Fix "Picture Slideshow" "Maximum File Size" default value
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
fd9fc2faca3cf7020d08da329610ac38bda63102 | aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/Dto/RoleMapProfile.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/Dto/RoleMapProfile.cs | using System.Linq;
using AutoMapper;
using Abp.Authorization;
using Abp.Authorization.Roles;
using AbpCompanyName.AbpProjectName.Authorization.Roles;
namespace AbpCompanyName.AbpProjectName.Roles.Dto
{
public class RoleMapProfile : Profile
{
public RoleMapProfile()
{
// Role and per... | using System.Linq;
using AutoMapper;
using Abp.Authorization;
using Abp.Authorization.Roles;
using AbpCompanyName.AbpProjectName.Authorization.Roles;
namespace AbpCompanyName.AbpProjectName.Roles.Dto
{
public class RoleMapProfile : Profile
{
public RoleMapProfile()
{
// Role and per... | Add missing object mapping configuration. | Add missing object mapping configuration.
| C# | mit | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template |
5b4433bf2e1161ea56add2007448f945836864a4 | Assets/FullSerializer/Source/Aot/fsAotConfiguration.cs | Assets/FullSerializer/Source/Aot/fsAotConfiguration.cs | #if !NO_UNITY
using System;
using System.Collections.Generic;
using UnityEngine;
namespace FullSerializer {
public class fsAotConfiguration : ScriptableObject {
public enum AotState {
Default, Enabled, Disabled
}
[Serializable]
public struct Entry {
public AotS... | #if !NO_UNITY
using System;
using System.Collections.Generic;
using UnityEngine;
namespace FullSerializer {
[CreateAssetMenu(menuName = "Full Serializer AOT Configuration")]
public class fsAotConfiguration : ScriptableObject {
public enum AotState {
Default, Enabled, Disabled
}
... | Add menu item to create AOT configuration | Add menu item to create AOT configuration
| C# | mit | jacobdufault/fullserializer,jacobdufault/fullserializer,jacobdufault/fullserializer |
e55ad154df6f3d5e49f2d6dd4a4bdb379db72c3a | Toolhouse.Monitoring/Dependencies/SmtpDependency.cs | Toolhouse.Monitoring/Dependencies/SmtpDependency.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
namespace Toolhouse.Monitoring.Dependencies
{
public class SmtpDependency : IDependency
{
public SmtpDependency(string name)
{
this.Name = name;
}
public str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
namespace Toolhouse.Monitoring.Dependencies
{
public class SmtpDependency : IDependency
{
public SmtpDependency(string name)
{
this.Name = name;
}
public str... | Tweak SMTP test "From" address. | Tweak SMTP test "From" address.
Just always use example.org
| C# | apache-2.0 | toolhouse/monitoring-dotnet |
76a6817d836d2658ff54923f7f94846667452405 | LASI.WebApp.Tests/TestAttributes/PreconfigureLASIAttribute.cs | LASI.WebApp.Tests/TestAttributes/PreconfigureLASIAttribute.cs | using System;
using System.Reflection;
//using System.IO;
//using System.Reflection;
using LASI.Utilities;
namespace LASI.WebApp.Tests.TestAttributes
{
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public class PreconfigureLASIAttribute : Xunit.Sdk.BeforeAfterTestAttribute
... | using System;
using System.Reflection;
//using System.IO;
//using System.Reflection;
using LASI.Utilities;
namespace LASI.WebApp.Tests.TestAttributes
{
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public class PreconfigureLASIAttribute : Xunit.Sdk.BeforeAfterTestAttribute
... | Fix type name error due to temporarily excluded project | Fix type name error due to temporarily excluded project
| C# | mit | lasiproject/LASI,lasiproject/LASI |
daae9d2258f178ff87f91f44fa9e4232dbe14e84 | Agiil.Domain.Impl/Sprints/CreateSprintValidatorFactory.cs | Agiil.Domain.Impl/Sprints/CreateSprintValidatorFactory.cs | using System;
using Agiil.Domain.Validation;
using CSF.Validation;
using CSF.Validation.Manifest.Fluent;
using CSF.Validation.StockRules;
namespace Agiil.Domain.Sprints
{
public class CreateSprintValidatorFactory : ValidatorFactoryBase<CreateSprintRequest>
{
protected override void ConfigureManifest(IManifest... | using System;
using Agiil.Domain.Validation;
using CSF.Validation;
using CSF.Validation.Manifest.Fluent;
using CSF.Validation.StockRules;
namespace Agiil.Domain.Sprints
{
public class CreateSprintValidatorFactory : ValidatorFactoryBase<CreateSprintRequest>
{
protected override void ConfigureManifest(IManifest... | Fix mistake in create sprint validator - was allowing null Name | Fix mistake in create sprint validator - was allowing null Name
| C# | mit | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil |
347facba02eb24fac150dedf52b4d0dcf2cde4b0 | SupportManager.Web/Areas/Teams/BaseController.cs | SupportManager.Web/Areas/Teams/BaseController.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Areas.Teams
{
[Area("Teams")]
[Authorize]
public abstract class BaseController : Controller
{
p... | using System.Data.Entity;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Areas.Teams
{
[Area("Teams")]
[Authorize]
public abstract class BaseController : ... | Return NotFound on teams user is not a member of | web: Return NotFound on teams user is not a member of
| C# | mit | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager |
003e280cb99c298dac4c247d9d5160af14588a1e | src/Package/Impl/DataInspect/Commands/DeleteAllVariablesCommand.cs | src/Package/Impl/DataInspect/Commands/DeleteAllVariablesCommand.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Globalization;
using Microsoft.Common.Core;
using Microsoft.Common.Core.Shell;
using Microsoft.R.Host.Client;
using Microsoft.VisualStudio.R.Package.Com... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Globalization;
using Microsoft.Common.Core;
using Microsoft.Common.Core.Shell;
using Microsoft.R.Host.Client;
using Microsoft.VisualStudio.R.Package.Com... | Disable 'Delete all variables' when no environment is selected. | Disable 'Delete all variables' when no environment is selected.
| C# | mit | MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderShe... |
50d1e4aa0f598810d98f647f3c98f7dcd2b48d83 | src/Nuterra.Installer/InstallerUtil.cs | src/Nuterra.Installer/InstallerUtil.cs | using System;
using System.IO;
using System.Security.Cryptography;
namespace Nuterra.Installer
{
public static class InstallerUtil
{
public static string GetFileHash(string filePath)
{
if (!File.Exists(filePath))
{
return null;
}
using (var md5 = MD5.Create())
using (var stream = File.OpenRea... | using System;
using System.IO;
using System.Security.Cryptography;
namespace Nuterra.Installer
{
public static class InstallerUtil
{
public static string GetFileHash(string filePath)
{
if (!File.Exists(filePath))
{
return null;
}
using (var md5 = MD5.Create())
using (var stream = File.OpenRea... | Create backup directory if missing | Create backup directory if missing
Just embarassing that I managed to write this
| C# | mit | Nuterra/Nuterra,Exund/nuterra,maritaria/terratech-mod |
d65299e1144d361dd1b7a677fe07b5219fda1690 | src/EditorFeatures/TestUtilities/Threading/TestInfo.cs | src/EditorFeatures/TestUtilities/Threading/TestInfo.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using System.Xml;
namespace Roslyn.Test.Utilities
{
public struct TestInfo
{
public decim... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.IO;
using System.Xml.Linq;
using System.Xml.XPath;
namespace Roslyn.Test.Utilities
{
public readonly st... | Simplify GetPassedTestsInfo with XDocument and XPath | Simplify GetPassedTestsInfo with XDocument and XPath
| C# | mit | abock/roslyn,bartdesmet/roslyn,KirillOsenkov/roslyn,genlu/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,KirillOsenkov/roslyn,weltkante/roslyn,jmarolf/roslyn,eriawan/roslyn,AlekseyTs/roslyn,eriawan/roslyn,agocke/roslyn,gafter/roslyn,tmat/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,tan... |
574e726d3610d1df3f31f2ac1af7af7021e817cb | Todo-List/Todo-List/NoteSorter.cs | Todo-List/Todo-List/NoteSorter.cs | // NoteSorter.cs
// <copyright file="NoteSorter.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace Todo_List
{
/// <summary>
/// A static class containing a list of notes and methods for sorting them.
/// </summary>
public sta... | // NoteSorter.cs
// <copyright file="NoteSorter.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace Todo_List
{
/// <summary>
/// A static class containing a list of notes and methods for sorting them.
/// </summary>
public sta... | Fix null category search bug | Fix null category search bug
Fix the default variable being null, which will cause an error at runtime
when trying to itterate over the null list.
| C# | mit | wrightg42/todo-list,It423/todo-list |
67cff7307dffdb8294cfb2cd1192867f079ee634 | src/Tests/Reproduce/GithubIssue2985.cs | src/Tests/Reproduce/GithubIssue2985.cs | using System;
using Elastic.Xunit.Sdk;
using Elastic.Xunit.XunitPlumbing;
using Elasticsearch.Net;
using FluentAssertions;
using Tests.Framework.ManagedElasticsearch.Clusters;
namespace Tests.Reproduce
{
public class GithubIssue2985 : IClusterFixture<WritableCluster>
{
private readonly WritableCluster _cluster;
... | using System;
using Elastic.Xunit.Sdk;
using Elastic.Xunit.XunitPlumbing;
using Elasticsearch.Net;
using FluentAssertions;
using Tests.Framework.ManagedElasticsearch.Clusters;
namespace Tests.Reproduce
{
public class GithubIssue2985 : IClusterFixture<WritableCluster>
{
private readonly WritableCluster _cluster;
... | Fix test name and assertion. | Fix test name and assertion.
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
3a50b65ec3a64ca4faf197ba53dbcfd3d5c85bd3 | table.cs | table.cs | using System;
namespace Table {
public class Table {
public int Width;
public int Spacing;
public Table(int width, int spacing) {
Width = width;
Spacing = spacing;
}
}
}
| using System;
namespace Hangman {
public class Table {
public int Width;
public int Spacing;
public Table(int width, int spacing) {
Width = width;
Spacing = spacing;
}
}
}
| Make the namespace uniform accross the project | Make the namespace uniform accross the project
| C# | unlicense | 12joan/hangman |
13f682f27c48fbf57e78fabc65a0d624e8672f88 | src/projects/Structurizer/Schemas/StructureProperty.cs | src/projects/Structurizer/Schemas/StructureProperty.cs | using System;
using Structurizer.Extensions;
namespace Structurizer.Schemas
{
public class StructureProperty : IStructureProperty
{
private readonly DynamicGetter _getter;
public string Name { get; }
public string Path { get; }
public Type DataType { get; }
public IStr... | using System;
using Structurizer.Extensions;
namespace Structurizer.Schemas
{
public class StructureProperty : IStructureProperty
{
private readonly DynamicGetter _getter;
public string Name { get; }
public string Path { get; }
public Type DataType { get; }
public IStr... | Simplify check and fix for new DynamicGetter | Simplify check and fix for new DynamicGetter
| C# | mit | danielwertheim/structurizer |
c059ccaaaafff59553d74f2fa4037079c0d9eda2 | Concordion/Internal/Util/Check.cs | Concordion/Internal/Util/Check.cs | // Copyright 2009 Jeffrey Cameron
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | // Copyright 2009 Jeffrey Cameron
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | Fix for the NotEmpty method. | Fix for the NotEmpty method. | C# | apache-2.0 | concordion/concordion-net,ShaKaRee/concordion-net,concordion/concordion-net,concordion/concordion-net,ShaKaRee/concordion-net,ShaKaRee/concordion-net |
732bfad18742b28b22226eeea9018dd9c34f4c2d | CSharp/Library/Microsoft.Bot.Connector.Shared/ActionTypes.cs | CSharp/Library/Microsoft.Bot.Connector.Shared/ActionTypes.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Bot.Connector
{
public class ActionTypes
{
/// <summary>
/// Client will open given url in the built-in browser.
/// </summary>
public const s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Bot.Connector
{
public class ActionTypes
{
/// <summary>
/// Client will open given url in the built-in browser.
/// </summary>
public const s... | Add messageBack to action types. | Add messageBack to action types.
| C# | mit | yakumo/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder |
afd7bf3df88844b4753afb84aa2b6c07bc1ef9f9 | osu.Framework/Audio/Callbacks/DataStreamFileProcedures.cs | osu.Framework/Audio/Callbacks/DataStreamFileProcedures.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 System.IO;
namespace osu.Framework.Audio.Callbacks
{
/// <summary>
/// Implementation of <see cref="IFileProcedures"/> that supports reading... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
#nullable enable
namespace osu.Framework.Audio.Callbacks
{
/// <summary>
/// Implementation of <see cref="IFileProcedures"/> tha... | Enable nullable and don't bother null checking at every read. | Enable nullable and don't bother null checking at every read.
| C# | mit | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework |
02347caab258c5e1b5de505c81894ccc1fd21459 | src/StructuredLogger/BinaryLog.cs | src/StructuredLogger/BinaryLog.cs | using System.Diagnostics;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class BinaryLog
{
public static Build ReadBuild(string filePath)
{
var eventSource = new BinaryLogReplayEventSource();
byte[] sourceArchive = null;
eventSourc... | using System.Diagnostics;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class BinaryLog
{
public static Build ReadBuild(string filePath)
{
var eventSource = new BinaryLogReplayEventSource();
byte[] sourceArchive = null;
eventSourc... | Add an error message if opening the log file fails. | Add an error message if opening the log file fails.
| C# | mit | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog |
f3c80c0f2edf8bc2966f8ddd4d3f756c73f7222a | Zermelo.App.UWP/Helpers/ObservableCollectionExtensions.cs | Zermelo.App.UWP/Helpers/ObservableCollectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zermelo.App.UWP.Helpers
{
static class ObservableCollectionExtensions
{
public static void MorphInto<TSource>(this ObservableCollection<TS... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zermelo.App.UWP.Helpers
{
static class ObservableCollectionExtensions
{
public static void MorphInto<TSource>(this ObservableCollection<TS... | Add diagnostic try-catch blocks to MorphInto() | Add diagnostic try-catch blocks to MorphInto()
Hopefully this will give some more insights into #12
| C# | mit | arthurrump/Zermelo.App.UWP |
e1a8c8a137b8c0634401bdab0a059ed8e7a17050 | Mollie.Api/Models/Method.cs | Mollie.Api/Models/Method.cs | namespace Mollie.Api.Models
{
/// <summary>
/// Payment method
/// </summary>
public enum Method
{
ideal,
creditcard,
mistercash,
sofort,
banktransfer,
directdebit,
belfius,
kbc,
bitcoin,
paypal,
paysafecard,
... | namespace Mollie.Api.Models
{
/// <summary>
/// Payment method
/// </summary>
public enum Method
{
ideal,
creditcard,
mistercash,
sofort,
banktransfer,
directdebit,
belfius,
kbc,
bitcoin,
paypal,
paysafecard,
... | Add giftcard method to list of methods | Add giftcard method to list of methods
Mollie will be launching support for gift cards soon. | C# | bsd-2-clause | foxip/mollie-api-csharp |
3fee7587bc3c3943836f23f5e2420f2eb985b03a | samples/BindingTest/ViewModels/MainWindowViewModel.cs | samples/BindingTest/ViewModels/MainWindowViewModel.cs | using System;
using System.Collections.ObjectModel;
using ReactiveUI;
namespace BindingTest.ViewModels
{
public class MainWindowViewModel : ReactiveObject
{
private string _simpleBinding = "Simple Binding";
public MainWindowViewModel()
{
Items = new ObservableCollection<Te... | using System;
using System.Collections.ObjectModel;
using ReactiveUI;
namespace BindingTest.ViewModels
{
public class MainWindowViewModel : ReactiveObject
{
private string _simpleBinding = "Simple Binding";
public MainWindowViewModel()
{
Items = new ObservableCollection<Te... | Make the shuffle more noticable. | Make the shuffle more noticable.
| C# | mit | wieslawsoltes/Perspex,wieslawsoltes/Perspex,OronDF343/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,wieslawsoltes/Perspex,jazzay/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,danwalmsley/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,susloparovdenis/Avalonia,... |
48efb686f1d4a1c6c678f3996c6d1cea43401d53 | CmsEngine.Application/Helpers/Email/ContactForm.cs | CmsEngine.Application/Helpers/Email/ContactForm.cs | using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json.Linq;
namespace CmsEngine.Application.Helpers.Email
{
public class ContactForm
{
[Required]
[DataType(DataType.EmailAddress)]
public string From { get; set; }
[DataType(DataType.EmailAddress)]
public stri... | using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json.Linq;
namespace CmsEngine.Application.Helpers.Email
{
public class ContactForm
{
[Required]
[DataType(DataType.EmailAddress)]
public string From { get; set; }
[DataType(DataType.EmailAddress)]
public stri... | Set size for the fields on contact form | Set size for the fields on contact form
| C# | mit | davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine |
8c1679ea7672057212492c0f871e9d0c8c39ec4d | ClosedXML_Sandbox/Program.cs | ClosedXML_Sandbox/Program.cs | using System;
namespace ClosedXML_Sandbox
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Running {0}", nameof(PerformanceRunner.OpenTestFile));
PerformanceRunner.TimeAction(PerformanceRunner.OpenTestFile);
Console.Writ... | using System;
namespace ClosedXML_Sandbox
{
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Running {0}", nameof(PerformanceRunner.OpenTestFile));
PerformanceRunner.TimeAction(PerformanceRunner.OpenTestFile);
Conso... | Disable 2nd sandbox test by default | Disable 2nd sandbox test by default
| C# | mit | b0bi79/ClosedXML,ClosedXML/ClosedXML,igitur/ClosedXML |
96620f209c8e8132e2b6826e0c1d71080cb325b4 | src/formulate.meta/Constants.cs | src/formulate.meta/Constants.cs | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | Increment version number to 1.3.5.0 | Increment version number to 1.3.5.0
| C# | mit | rhythmagency/formulate,rhythmagency/formulate,rhythmagency/formulate |
0f8e45074f39e2384707c4f5b13948bda14daf3a | TAUtil/Tdf/TdfNodeAdapter.cs | TAUtil/Tdf/TdfNodeAdapter.cs | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | Revert "Make all strings in loaded TdfNodes lowercase" | Revert "Make all strings in loaded TdfNodes lowercase"
This reverts commit 652439451f8357ab4a323aaeb783daef5e5a5106.
| C# | mit | MHeasell/TAUtil,MHeasell/TAUtil |
7af949ee7379fd97ef1c7afd19f81bb5da0f4ddf | tweetz5/tweetz5/Utilities/Translate/TranslationService.cs | tweetz5/tweetz5/Utilities/Translate/TranslationService.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace tweetz5.Utilities.Translate
{
public class TranslationService
{
public readonly static TranslationService Instance = new TranslationService();
public ITra... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace tweetz5.Utilities.Translate
{
public class TranslationService
{
public readonly static TranslationService Instance = new TranslationService();
public ITra... | Add private constructor to singleton class | Add private constructor to singleton class
git-tfs-id: [https://mikeward.visualstudio.com/DefaultCollection]$/tweetz5;C1805
| C# | mit | mike-ward/tweetz-desktop |
fb3bac68a370747344b5b28cba8fae93abe59f70 | Harmony/Transpilers.cs | Harmony/Transpilers.cs | using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to, OpCode? callOpcode = null)
{
... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to, OpCode? callOpcode =... | Add null checks for MethodReplacer | Add null checks for MethodReplacer
| C# | mit | pardeike/Harmony |
32fa4053f93b9c7de18a81502fd9b1daa9cea4c8 | Oogstplanner.Services/Contracts/IMembershipService.cs | Oogstplanner.Services/Contracts/IMembershipService.cs | using System.Web.Security;
using Oogstplanner.Models;
namespace Oogstplanner.Services
{
public interface IMembershipService
{
bool ValidateUser(string userNameOrEmail, string password);
void SetAuthCookie(string userNameOrEmail, bool createPersistentCookie);
MembershipUser GetMembersh... | using System.Web.Security;
using Oogstplanner.Models;
namespace Oogstplanner.Services
{
public interface IMembershipService
{
bool ValidateUser(string userNameOrEmail, string password);
MembershipUser GetMembershipUserByEmail(string email);
bool TryCreateUser(string username, string p... | Order methods in membership service interface by type | Order methods in membership service interface by type
| C# | mit | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner |
6c381cf2033d0e355fdfb66012b5d479e47a300a | src/MonoTorrent/MonoTorrent.Tracker/Listeners/ManualListener.cs | src/MonoTorrent/MonoTorrent.Tracker/Listeners/ManualListener.cs | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.BEncoding;
using System.Net;
namespace MonoTorrent.Tracker.Listeners
{
public class ManualListener : ListenerBase
{
private bool running;
public override bool Running
{
get { return running; }
}
pub... | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.BEncoding;
using System.Net;
namespace MonoTorrent.Tracker.Listeners
{
public class ManualListener : ListenerBase
{
private bool running;
public override bool Running
{
get { return running; }
}
pub... | Correct detection of scrape requests | Correct detection of scrape requests
svn path=/trunk/bitsharp/; revision=98390
| C# | mit | dipeshc/BTDeploy |
41c7fc25a635cba0dc1ce0476e2d8d267a8afcb2 | Assets/Paradigms/SearchAndFind/Scripts/SubjectInteractions.cs | Assets/Paradigms/SearchAndFind/Scripts/SubjectInteractions.cs | using UnityEngine;
using System.Collections;
namespace Assets.BeMoBI.Paradigms.SearchAndFind {
/// <summary>
/// Represents all possible interactions for subject regarding the paradigm or trial behaviour
/// </summary>
public class SubjectInteractions : MonoBehaviour {
private const string SUBMIT_INPUT = "Su... | using UnityEngine;
using System.Collections;
namespace Assets.BeMoBI.Paradigms.SearchAndFind {
/// <summary>
/// Represents all possible interactions for subject regarding the paradigm or trial behaviour
/// </summary>
public class SubjectInteractions : MonoBehaviour {
private const string SUBMIT_INPUT = "Su... | Change variable to paradigm instead of controller to improve naming consistency | [REFAC] Change variable to paradigm instead of controller to improve naming consistency
| C# | mit | xfleckx/BeMoBI,xfleckx/BeMoBI |
d9d25d4ffb7f0e01c4015f1b3714cc22dc937554 | tests/Algorithms.Collections.Tests/SquareMatrixTests.cs | tests/Algorithms.Collections.Tests/SquareMatrixTests.cs | using NUnit.Framework;
namespace Algorithms.Collections.Tests
{
[TestFixture]
public class SquareMatrixTests
{
}
}
| using System.Collections.Generic;
using System.Globalization;
using System.Text;
using NUnit.Framework;
namespace Algorithms.Collections.Tests
{
[TestFixture]
public class SquareMatrixTests
{
[TestCaseSource("GetTestCases")]
public void Multiply(TestCase testCase)
{
int[,] result = SquareMatr... | Add square matrix multiplication test case. | Add square matrix multiplication test case.
| C# | mit | scott-fleischman/algorithms-csharp |
0e8caaa3de94ebad081c4e79f0cb41615e032ddc | Proto/Assets/Scripts/Leaderboard/LeaderboardEntry.cs | Proto/Assets/Scripts/Leaderboard/LeaderboardEntry.cs | using UnityEngine;
using UnityEngine.UI;
public class LeaderboardEntry : MonoBehaviour
{
[SerializeField] private Text _name;
[SerializeField] private Text _time;
[SerializeField] private Text _penality;
public void SetInfo(Score score)
{
_name.text = score.Name;
_ti... | using UnityEngine;
using UnityEngine.UI;
public class LeaderboardEntry : MonoBehaviour
{
[SerializeField] private Text _name;
[SerializeField] private Text _time;
[SerializeField] private Text _penality;
public void SetInfo(Score score)
{
_name.text = score.Name;
var... | Convert seconds to actual minutes (works up to an hour...) | Convert seconds to actual minutes (works up to an hour...)
| C# | mit | DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17 |
b5cf93417ce1e989b55ce314e406d09c8ff3723b | TestingApplication/TestingApplication/TestProgram.cs | TestingApplication/TestingApplication/TestProgram.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestingApplication
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World\nPress any key to close...")... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestingApplication
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World\nPress any key to close...")... | Revert "Something new from Peter" | Revert "Something new from Peter"
This reverts commit 0f0feb65c4743741b9cf5e8ba22cdcf115a8da7c.
This commit was not meant for master.
| C# | mit | JPegasus/Testing |
e56c8988078c11494f13419be79ff68bb162096c | src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs | src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class InvoiceItemListOptions : ListOptionsWithCreated
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
}
}
| namespace Stripe
{
using Newtonsoft.Json;
public class InvoiceItemListOptions : ListOptionsWithCreated
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("invoice")]
public string InvoiceId { get; set; }
[JsonProperty("pending")]
... | Add support for listing invoice items via invoice and pending | Add support for listing invoice items via invoice and pending
| C# | apache-2.0 | stripe/stripe-dotnet,richardlawley/stripe.net |
c0e1a8afd40eae94652701ce01f79acec5f8b615 | Tests/Boxed.Templates.Test/Framework/CancellationTokenFactory.cs | Tests/Boxed.Templates.Test/Framework/CancellationTokenFactory.cs | namespace Boxed.Templates.Test
{
using System;
using System.Threading;
public static class CancellationTokenFactory
{
public static CancellationToken GetCancellationToken(TimeSpan? timeout) =>
GetCancellationToken(timeout ?? TimeSpan.FromSeconds(30));
public static Cancella... | namespace Boxed.Templates.Test
{
using System;
using System.Threading;
public static class CancellationTokenFactory
{
public static CancellationToken GetCancellationToken(TimeSpan? timeout) =>
GetCancellationToken(timeout ?? TimeSpan.FromMinutes(1));
public static Cancellat... | Increase default timeout time to one minute | Increase default timeout time to one minute
| C# | mit | RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate |
48cda1c95b46d870d8ecf0c5c1335ba8f954a899 | app/Assets/Scripts/AdminModeTriggerer.cs | app/Assets/Scripts/AdminModeTriggerer.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdminModeTriggerer : MonoBehaviour {
private const float WAIT_TIME = 10f;
public ActionBase AdminModeAction;
public void Initialize() {
StartCoroutine(WaitThenEnterAdminMode());
}
public IEnumerato... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdminModeTriggerer : MonoBehaviour {
private const float WAIT_TIME = 180f;
public ActionBase AdminModeAction;
public void Initialize() {
StartCoroutine(WaitThenEnterAdminMode());
}
public IEnumerat... | Set adminModeTriggerer back to 180 seconds | Set adminModeTriggerer back to 180 seconds
| C# | mit | mikelovesrobots/daft-pong,mikelovesrobots/daft-pong |
e11d3b0ca108b171a2a71d19afefc8eeb6f9a7ed | AThousandCounts/Views/Count/_Count.cshtml | AThousandCounts/Views/Count/_Count.cshtml | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | Save ip after recording, check ip on index, version 1.0 | Save ip after recording, check ip on index, version 1.0
| C# | mit | erooijak/athousandcounts,erooijak/athousandcounts,erooijak/athousandcounts |
f7ec1dca8bb6487c4577ef8d534f677efffa23fb | ProjectCDA/Data/DataSource.cs | ProjectCDA/Data/DataSource.cs | using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
public Observabl... | using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
public Observabl... | Fix new object was added into collection instead of the one we made just above. | Fix new object was added into collection instead of the one we made just above.
| C# | mit | fanCDA/ProjectCDA-WPF |
f0623b30d4b4873959bac0d62c91fea7b369561e | src/Workspaces/Core/Portable/SymbolSearch/SymbolSearchOptions.cs | src/Workspaces/Core/Portable/SymbolSearch/SymbolSearchOptions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
internal static class SymbolSearchOptions
{
private co... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
internal static class SymbolSearchOptions
{
private co... | Enable suggestions for types in reference assemblies by default | Enable suggestions for types in reference assemblies by default
See #20255
| C# | mit | gafter/roslyn,davkean/roslyn,reaction1989/roslyn,sharwell/roslyn,tannergooding/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,sharwell/roslyn,heejaechang/roslyn,swaroop-sridhar/roslyn,physhi/roslyn,tannergooding/roslyn,heejaechang/roslyn,genlu/roslyn,agocke/roslyn,AlekseyTs/roslyn,stephentoub/roslyn,heejaechang/roslyn,eriaw... |
b71fadc10182a087411221752b4a88326513bd1d | src/SFA.DAS.EmployerUsers.Web/Views/Account/Confirm.cshtml | src/SFA.DAS.EmployerUsers.Web/Views/Account/Confirm.cshtml | @model SFA.DAS.EmployerUsers.Web.Models.AccessCodeViewModel
<h1 class="heading-large">Register</h1>
@if (!Model.Valid)
{
<div class="error" style="margin-bottom: 10px;">
<p class="error-message">
Invalid Code
</p>
</div>
}
<form method="post">
<fieldset>
<legend class... | @model SFA.DAS.EmployerUsers.Web.Models.AccessCodeViewModel
@{
var invalidAttributes = Model.Valid ? "aria-invalid=\"true\" aria-labeledby=\"invalidMessage\"" : "";
}
<h1 class="heading-large">Register</h1>
@if (!Model.Valid)
{
<div id="invalidMessage" class="error" style="margin-bottom: 10px;">
<p... | Add autofocus to AccessCode entry so invalid entry will force focus onto the input field | Add autofocus to AccessCode entry so invalid entry will force focus onto the input field
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
08a7905e116dbb722fe910c1963c705bc3d41fe8 | Infra.Authentications.Identity/Services/Authenticator.cs | Infra.Authentications.Identity/Services/Authenticator.cs | using Infra.Authentications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net;
using System.Security.Claims;
using System.Threading;
using Infra.Events;
namespace Infra.Authentications.Identity.Services
{
public class Authenticator : IAuthenticator
{
... | using Infra.Authentications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net;
using System.Security.Claims;
using System.Threading;
using Infra.Events;
namespace Infra.Authentications.Identity.Services
{
public class Authenticator : IAuthenticator
{
... | Use CloudFlare CF-Connecting-IP to access user ip address | Use CloudFlare CF-Connecting-IP to access user ip address
| C# | mit | bcjobs/infrastructure |
c891fa0d28310cade91b235277ef91627c4ea084 | source/MetroTrilithon/Lifetime/DisposableExtensions.cs | source/MetroTrilithon/Lifetime/DisposableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MetroTrilithon.Lifetime
{
public static class DisposableExtensions
{
/// <summary>
/// <see cref="IDisposable"/> オブジェクトを、指定した <see cref="IDisposableHolder.CompositeDisposable"/> に追加します。
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using StatefulModel;
namespace MetroTrilithon.Lifetime
{
public static class DisposableExtensions
{
/// <summary>
/// <see cref="IDisposable"/> オブジェクトを、指定した <see cref="IDisposableHolder.CompositeDisposable"/> に追加しま... | Add extension method for StatefulModel.MultipleDisposable. | Add extension method for StatefulModel.MultipleDisposable.
| C# | mit | Grabacr07/MetroTrilithon |
dd8ce08b9eb4bc4c68ce2d7ac8fe38693c0a7103 | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | 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 |
f44489c59d4e4cf918a3f6171e366e1322dd29ee | Assets/Stickers/Editor/StickerEditorUtility.cs | Assets/Stickers/Editor/StickerEditorUtility.cs | using System.Globalization;
namespace Agens.Stickers
{
public static class StickerEditorUtility
{
/// <summary>
/// Checks the file extension of a filename
/// </summary>
/// <param name="fileName">filename with extension or full path of a file</param>
/// <returns>True... | using System.Globalization;
namespace Agens.Stickers
{
public static class StickerEditorUtility
{
/// <summary>
/// Checks the file extension of a filename
/// </summary>
/// <param name="fileName">filename with extension or full path of a file</param>
/// <returns>True... | Add check if a file supports animations | Add check if a file supports animations
Right now it only checks for gifs, this method could include a check a png is an apng
| C# | mit | agens-no/iMessageStickerUnity |
a39ab63b6d2e9d219e55aaec708d4b493a9be2b3 | CIV/Program.cs | CIV/Program.cs | using System;
using System.Diagnostics;
using CIV.Formats;
using static System.Console;
namespace CIV
{
[Flags]
enum ExitCodes : int
{
Success = 0,
FileNotFound = 1,
ParsingFailed = 2,
VerificationFailed = 4
}
class Program
{
static void Main(string[] args)
{
... | using System;
using System.Diagnostics;
using CIV.Formats;
using CIV.Common;
using static System.Console;
namespace CIV
{
[Flags]
enum ExitCodes : int
{
Success = 0,
FileNotFound = 1,
ParsingFailed = 2,
VerificationFailed = 4
}
class Program
{
static void Main(string[] a... | Fix catch block in Main | Fix catch block in Main
| C# | mit | lou1306/CIV,lou1306/CIV |
fa84a0bb401f8caf320998fa848835727e3dd6f4 | src/Bootstrap/Views/Shared/_validationSummary.cshtml | src/Bootstrap/Views/Shared/_validationSummary.cshtml | @if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">�</a>
@Html.ValidationSummary(true)
</div>
}
| @if (ViewData.ModelState.Any(x => x.Value.Errors.Any()))
{
<div class="alert alert-error">
<a class="close" data-dismiss="alert">×/a>
@Html.ValidationSummary(true)
</div>
}
| Use `×` for close button | Use `×` for close button
I'm not sure about the encoding that was used; the X character renders strange. At http://twitter.github.com/bootstrap/components.html#alerts `×` is used for the close character, maybe we should too? | C# | apache-2.0 | mohamedabdlaal/twitter.bootstrap.mvc,erichexter/twitter.bootstrap.mvc,mohamedabdlaal/twitter.bootstrap.mvc,erichexter/twitter.bootstrap.mvc |
a6fb39fb8709fc8fc31b65f35ebb214c7dbdc1df | LifeTimeV3/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog.cs | LifeTimeV3/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog/LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LifeTimeV3.BL.LifeTimeDiagram;
namespace LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LifeTimeV3.BL.LifeTimeDiagram;
namespace LifeTimeV3.LifeTimeDiagram.CopyPeriodicDialog
... | Work on copy periodic wizard | Work on copy periodic wizard | C# | mit | el-mejor/LifeTimeV3 |
4c67c13410f0b7567944672ac1ba29f66d91b84a | osu.Game.Rulesets.Mania/Judgements/HoldNoteTailJudgement.cs | osu.Game.Rulesets.Mania/Judgements/HoldNoteTailJudgement.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTailJudgement : ManiaJudgement
{
/// <summary>
/// Whether the hold n... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Judgements
{
public class HoldNoteTailJudgement : ManiaJudgement
{
/// <summary>
/// Whether the hold n... | Add hold note tail judgement. | Add hold note tail judgement.
| C# | mit | DrabWeb/osu,Frontear/osuKyzer,NeoAdonis/osu,Damnae/osu,ZLima12/osu,osu-RP/osu-RP,DrabWeb/osu,tacchinotacchi/osu,ZLima12/osu,2yangk23/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,Drezi126/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,johnne... |
2cfa31a436752fa525777cf3722b0913594cdd11 | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardPresentReceipt.cs | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardPresentReceipt.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardPresentReceipt : StripeEntity
{
[JsonProperty("application_cryptogram")]
public string ApplicationCryptogram { get; set; }
[JsonProperty("application_preferred_name... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardPresentReceipt : StripeEntity
{
[JsonProperty("application_cryptogram")]
public string ApplicationCryptogram { get; set; }
[JsonProperty("application_preferred_name... | Fix two properties to be string as expected on PaymentMethodDetails | Fix two properties to be string as expected on PaymentMethodDetails
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
cf0e8e0a620faaa77ba490ab3e71b9901eabd658 | osu.Game/Configuration/SessionStatics.cs | osu.Game/Configuration/SessionStatics.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Configuration
{
/// <summary>
/// Stores global per-session statics. These will not be stored a... | // 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.Online.API.Requests.Responses;
namespace osu.Game.Configuration
{
/// <summary>
/// Stores global per-session statics. These will not be stored a... | Document nullability of seasonal backgrounds | Document nullability of seasonal backgrounds
| C# | mit | UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu |
f22dce023f3b74c90ab97a12daad4d5773e1e209 | ValueConverters.UWP/Properties/AssemblyInfo.cs | ValueConverters.UWP/Properties/AssemblyInfo.cs | | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ValueConverters.UWP")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Thomas Galliker")]
[assembly: AssemblyProduct("ValueConverters.UW... | Revert assembly info change in uwp project | Revert assembly info change in uwp project
| C# | mit | thomasgalliker/ValueConverters.NET |
3af702453f66663cef225445e11f5cfc5d2cf4b4 | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeMatchSongSelect.cs | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeMatchSongSelect.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Screens.Select;
namespace osu.Game.Screens.Multi.RealtimeMultiplayer
{
public class RealtimeMatchSongSelect : SongSelect
{
protected overr... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Screens;
using osu.Game.Online.Multiplayer;
using o... | Implement realtime match song select | Implement realtime match song select
| C# | mit | smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu |
8ae7b63cfd1b8b7dde644daf69630779134c6841 | Pdelvo.Minecraft.Protocol/Helper/ProtocolInformation.cs | Pdelvo.Minecraft.Protocol/Helper/ProtocolInformation.cs | namespace Pdelvo.Minecraft.Protocol.Helper
{
/// <summary>
///
/// </summary>
/// <remarks></remarks>
public static class ProtocolInformation
{
/// <summary>
///
/// </summary>
public const int MinSupportedClientVersion = 22;
/// <summary>
///
... | namespace Pdelvo.Minecraft.Protocol.Helper
{
/// <summary>
///
/// </summary>
/// <remarks></remarks>
public static class ProtocolInformation
{
/// <summary>
///
/// </summary>
public const int MinSupportedClientVersion = 22;
/// <summary>
///
... | Change max supported version constants | Change max supported version constants
| C# | mit | pdelvo/Pdelvo.Minecraft |
7a0a573495bdbf5f7d063ba375e0e80435ce125b | source/Raml.Parser/Builders/SecuritySchemeDescriptorBuilder.cs | source/Raml.Parser/Builders/SecuritySchemeDescriptorBuilder.cs | using System.Collections.Generic;
using Raml.Parser.Expressions;
namespace Raml.Parser.Builders
{
public class SecuritySchemeDescriptorBuilder
{
public SecuritySchemeDescriptor Build(IDictionary<string, object> dynamicRaml, string defaultMediaType)
{
var descriptor = new SecuritySchemeDescriptor();
... | using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using Raml.Parser.Expressions;
namespace Raml.Parser.Builders
{
public class SecuritySchemeDescriptorBuilder
{
public SecuritySchemeDescriptor Build(IDictionary<string, object> dynamicRaml, string defaultMediaType)
{
var descri... | Fix issue where Security Scheme responses are not parsed correctly. | Fix issue where Security Scheme responses are not parsed correctly.
| C# | apache-2.0 | raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2 |
bc8370b8167b5206a765411e51b20033c4692177 | Assets/Alensia/Core/Common/Axis.cs | Assets/Alensia/Core/Common/Axis.cs | using System;
using UnityEngine;
using UnityEngine.Assertions;
namespace Alensia.Core.Common
{
public enum Axis
{
X,
Y,
Z,
InverseX,
InverseY,
InverseZ
}
public static class AxisExtensions
{
public static Vector3 Of(this Axis axis, Transform... | using System;
using UnityEngine;
using UnityEngine.Assertions;
namespace Alensia.Core.Common
{
public enum Axis
{
X,
Y,
Z,
InverseX,
InverseY,
InverseZ
}
public static class AxisExtensions
{
public static Vector3 Of(this Axis axis, Transform... | Use 'nameof' when throwing ArgumentOutOfRangeException | Use 'nameof' when throwing ArgumentOutOfRangeException
| C# | apache-2.0 | mysticfall/Alensia |
ced581cfbb9c087f39607c937e2182c32abc0cf8 | src/BmpListener/Bgp/PathAttributeMPUnreachNLRI.cs | src/BmpListener/Bgp/PathAttributeMPUnreachNLRI.cs | using BmpListener.MiscUtil.Conversion;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BmpListener.Bgp
{
public class PathAttributeMPUnreachNLRI : PathAttribute
{
public AddressFamily AFI { get; private set; }
public SubsequentAddressFamily SAFI { get; private set;... | using BmpListener.MiscUtil.Conversion;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BmpListener.Bgp
{
public class PathAttributeMPUnreachNLRI : PathAttribute
{
public AddressFamily AFI { get; private set; }
public SubsequentAddressFamily SAFI { get; private set;... | Fix BGP Multipath withdraw decoding | Fix BGP Multipath withdraw decoding
| C# | mit | mstrother/BmpListener |
2b31ee2fc31130d1c16a53963aa84da7f6dd384e | exercises/acronym/AcronymTest.cs | exercises/acronym/AcronymTest.cs | using Xunit;
public class AcronymTest
{
[Fact]
public void Empty_string_abbreviated_to_empty_string()
{
Assert.Equal(string.Empty, Acronym.Abbreviate(string.Empty));
}
[Theory(Skip = "Remove to run test")]
[InlineData("Portable Network Graphics", "PNG")]
[InlineData("Ruby on Rails"... | using Xunit;
public class AcronymTest
{
[Fact]
public void Basic()
{
Assert.Equal("PNG", Acronym.Abbreviate("Portable Network Graphics"));
}
[Fact(Skip = "Remove to run test")]
public void Lowercase_words()
{
Assert.Equal("ROR", Acronym.Abbreviate("Ruby on Rails"));
}
... | Replace Theory with multiple Fact tests | Replace Theory with multiple Fact tests
Refs #194
| C# | mit | robkeim/xcsharp,GKotfis/csharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp,exercism/xcsharp,robkeim/xcsharp,GKotfis/csharp |
8cd16cbcf1cfd4b08bf08afcae5af349386fd605 | src/Elasticsearch/Configuration/ChildIndexType.cs | src/Elasticsearch/Configuration/ChildIndexType.cs | using System;
namespace Foundatio.Repositories.Elasticsearch.Configuration {
public interface IChildIndexType : IIndexType {
string ParentPath { get; }
}
public interface IChildIndexType<T> : IChildIndexType {
string GetParentId(T document);
}
public class ChildIndexType<T> : Ind... | using System;
namespace Foundatio.Repositories.Elasticsearch.Configuration {
public interface IChildIndexType : IIndexType {
string ParentPath { get; }
}
public interface IChildIndexType<T> : IChildIndexType {
string GetParentId(T document);
}
public class ChildIndexType<T> : Ind... | Fix parent child index type | Fix parent child index type
| C# | apache-2.0 | exceptionless/Foundatio.Repositories |
2c42bfa1f6eecd0b6f1154aed12faf7f9fda4c33 | src/OpenSage.Game.Tests/Data/Sav/SaveFileTests.cs | src/OpenSage.Game.Tests/Data/Sav/SaveFileTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using OpenSage.Data;
using OpenSage.Data.Sav;
using OpenSage.Mods.Generals;
using Veldrid;
using Xunit;
namespace OpenSage.Tests.Data.Sav
{
public class SaveFileTests
{
private static readonly string RootFolder = Path.Combine(Environment... | using System;
using System.Collections.Generic;
using System.IO;
using OpenSage.Data;
using OpenSage.Data.Sav;
using OpenSage.Mods.Generals;
using Veldrid;
using Xunit;
namespace OpenSage.Tests.Data.Sav
{
public class SaveFileTests
{
private static readonly string RootFolder = Path.Combine(Environment... | Disable .sav tests for now | Disable .sav tests for now
| C# | mit | feliwir/openSage,feliwir/openSage |
2fc7e8c1c5cf77652791b39e1a62f5ed149dac19 | src/Abp.AutoMapper/AutoMapper/AutoMapperObjectMapper.cs | src/Abp.AutoMapper/AutoMapper/AutoMapperObjectMapper.cs | using System.Linq;
using AutoMapper;
using IObjectMapper = Abp.ObjectMapping.IObjectMapper;
namespace Abp.AutoMapper
{
public class AutoMapperObjectMapper : IObjectMapper
{
private readonly IMapper _mapper;
public AutoMapperObjectMapper(IMapper mapper)
{
_mapper = mapper;
... | using System.Linq;
using AutoMapper;
using IObjectMapper = Abp.ObjectMapping.IObjectMapper;
namespace Abp.AutoMapper
{
public class AutoMapperObjectMapper : IObjectMapper
{
protected readonly IMapper _mapper;
public AutoMapperObjectMapper(IMapper mapper)
{
_mapper = mapper... | Change IMapper visibility from private to protected | Change IMapper visibility from private to protected
In order to simply the extension of the AutoMapperObjectMapper, this proposal want to promote the IMapper attribute to protected.
This allows to extend the IObjectMapper without realizing a new version of Abp.
See #4882 and #4885 | C# | mit | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetbo... |
ca7438fbf118b8c6479484c966193f7797bd5618 | source/BulkCrapUninstaller/LogWriter.cs | source/BulkCrapUninstaller/LogWriter.cs | /*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace BulkCrapUninstaller
{
internal sealed class LogWriter : StreamWriter
{
public LogWriter(string pa... | /*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace BulkCrapUninstaller
{
internal sealed class LogWriter : StreamWriter
{
public LogWriter(string pa... | Change log timestamps to utc for better performance | Change log timestamps to utc for better performance
| C# | apache-2.0 | Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller,Klocman/Bulk-Crap-Uninstaller |
99837098ba510b9e4084ddccd2358b4f805e5d46 | src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs | src/server/Adaptive.ReactiveTrader.MessageBroker/MessageBroker.cs | using System;
using WampSharp.Binding;
using WampSharp.Fleck;
using WampSharp.V2;
using WampSharp.V2.MetaApi;
namespace Adaptive.ReactiveTrader.MessageBroker
{
public class MessageBroker : IDisposable
{
private WampHost _router;
public void Dispose()
{
_router.Dispose();
... | using System;
using WampSharp.Binding;
using WampSharp.Fleck;
using WampSharp.V2;
using WampSharp.V2.MetaApi;
namespace Adaptive.ReactiveTrader.MessageBroker
{
public class MessageBroker : IDisposable
{
private WampHost _router;
public void Dispose()
{
_router.Dispose();
... | Test broker listens on all IPs | Test broker listens on all IPs
| C# | apache-2.0 | AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud |
e9473db77c61ce3e7b15f7f770634c5665b50d2d | osu.Game/Overlays/Settings/Sections/GraphicsSection.cs | osu.Game/Overlays/Settings/Sections/GraphicsSection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Overlays.Settings.Secti... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation;
using osu.Game.Localisation;
using osu.Game.Overlays.Settings.Secti... | Reorder to have video settings next to renderer | Reorder to have video settings next to renderer
Co-authored-by: Salman Ahmed <a7afa2b28823372a757eb860a4c7da8b68c3cb44@gmail.com> | C# | mit | ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu |
d2780c2c50557b1bdbfc1bec444ae9814dd08e80 | osu.Game/Skinning/UnsupportedSkinComponentException.cs | osu.Game/Skinning/UnsupportedSkinComponentException.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;
namespace osu.Game.Skinning
{
public class UnsupportedSkinComponentException : Exception
{
public UnsupportedSkinComponentException(ISkinCo... | // 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;
namespace osu.Game.Skinning
{
public class UnsupportedSkinComponentException : Exception
{
public UnsupportedSkinComponentException(ISkinCo... | Add a touch more detail to the unsupported skin component exception | Add a touch more detail to the unsupported skin component exception
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu |
232c5cd4e2596768979455b8a21b439f5362ce96 | ArcGIS.ServiceModel.Serializers.ServiceStackV3/ServiceStackSerializer.cs | ArcGIS.ServiceModel.Serializers.ServiceStackV3/ServiceStackSerializer.cs | using ArcGIS.ServiceModel.Operation;
using System;
using System.Collections.Generic;
namespace ArcGIS.ServiceModel.Serializers.ServiceStackV3
{
public class ServiceStackSerializer : ISerializer
{
static ISerializer _serializer = null;
public static void Init()
{
_serialize... | using ArcGIS.ServiceModel.Operation;
using System;
using System.Collections.Generic;
namespace ArcGIS.ServiceModel.Serializers
{
public class ServiceStackSerializer : ISerializer
{
static ISerializer _serializer = null;
public static void Init()
{
_serializer = new Service... | Use same namespace for serializers | Use same namespace for serializers
| C# | mit | davetimmins/ArcGIS.PCL,davetimmins/ArcGIS.PCL |
5b33405a6ac04324ac2fc7b82849a7370e996e85 | UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/SubsystemManager.cs | UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/SubsystemManager.cs | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Networking;
public class SubsystemManager : NetworkBehaviour
{
private List<SubsystemBehaviour> systems = new List<SubsystemBehaviour>();
private bool initialized;
public override void OnStartServer()
{
systems = systems.... | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Networking;
public class SubsystemManager : NetworkBehaviour
{
private List<SubsystemBehaviour> systems = new List<SubsystemBehaviour>();
private bool initialized;
private void Start()
{
if (isServer)
{
systems = sys... | Change Subsystem Init to Start() instead of StartOnServer(), otherwise Cross-matrices might not work correctly due to somethings not being initialized yet. | Change Subsystem Init to Start() instead of StartOnServer(), otherwise Cross-matrices might not work correctly due to somethings not being initialized yet.
| C# | agpl-3.0 | krille90/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,kril... |
5aa855ed9efa4c45be6b29b9d3f309a5cdf71e68 | src/Services/Ordering/Ordering.SignalrHub/NotificationHub.cs | src/Services/Ordering/Ordering.SignalrHub/NotificationHub.cs | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ordering.SignalrHub
{
[Authorize]
public class NotificationsHub : Hub
{
public override async Task OnConnectedAs... | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ordering.SignalrHub
{
[Authorize]
public class NotificationsHub : Hub
{
public override async Task OnConnectedAs... | Fix method name in OnDisconnectAsync | Fix method name in OnDisconnectAsync
| C# | mit | albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/... |
6686b095492abdd1eb0909eea6b57a6c33513b93 | osu.Game/Overlays/BeatmapListing/BeatmapSearchScoreFilterRow.cs | osu.Game/Overlays/BeatmapListing/BeatmapSearchScoreFilterRow.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Extensions;
using osu.Framework.Localisation;
using osu.Game.Resources.Locali... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Extensions;
using osu.Framework.Localisation;
using osu.Game.Resources.Locali... | Hide F rank from beatmap overlay | Hide F rank from beatmap overlay
| C# | mit | ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu |
e6ba129c382d12c87483876b37f11f892a3bd580 | src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs | src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Win32.Interop;
namespace Perspex.Win32
{
public class EmbeddedWindowImpl : WindowImpl
{
private static readon... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Win32.Interop;
namespace Perspex.Win32
{
public class EmbeddedWindowImpl : WindowImpl
{
private static readon... | Use predefined default size for embedded windows | Use predefined default size for embedded windows
| C# | mit | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,OronDF343/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,MrDaedra/Avalonia,danwalmsley/Perspex,punker76/Perspex,AvaloniaUI/Avalonia,susloparovdenis/Avalonia,kekekeks/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Avaloni... |
da7941061c5ea75a0fc459cdf5eff2133ca0cf91 | MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml | MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml | @model IEnumerable<MMLibrarySystem.Models.BorrowRecord>
@{
ViewBag.Title = "Borrowed Books";
}
<table id="bookList">
<tr>
<td>
Book Number
</td>
<td>
Title
</td>
<td>
Borrowed By
</td>
<td>
Borrowed Start ... | @model IEnumerable<MMLibrarySystem.Models.BorrowRecord>
@{
ViewBag.Title = "Borrowed Books";
}
<table id="bookList">
<tr>
<td>
Book Number
</td>
<td>
Title
</td>
<td>
Borrowed By
</td>
<td>
Borrowed Start ... | Add the return date, and change the long time string to short date string. | Add the return date, and change the long time string to short date string.
| C# | apache-2.0 | SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library |
b1816e15bd272453fa3ea489c06c69c396ab9f5d | table.cs | table.cs | using System;
namespace Hangman {
public class Table {
public int Width;
public int Spacing;
public Row[] Rows;
public Table(int width, int spacing, Row[] rows) {
Width = width;
Spacing = spacing;
Rows = rows;
}
public string Draw() {
return "Hello World";
}
}
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Hangman {
public class Table {
public int Width;
public int Spacing;
public Row[] Rows;
public Table(int width, int spacing, Row[] rows) {
Width = width;
Spacing = spacing;
Rows = rows;
}
public s... | Print the texts of each row | Print the texts of each row
| C# | unlicense | 12joan/hangman |
1f505932354e5df31d3bd071ec4f584abe2af5bb | DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs | DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace DesktopWidgets.WidgetBase.Settings
{
public class WidgetClockSettingsBase : WidgetSettingsBase
{
[Category("General")]
[DisplayName("Refresh Interval")]
public int UpdateInterval { get; set; }
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace DesktopWidgets.WidgetBase.Settings
{
public class WidgetClockSettingsBase : WidgetSettingsBase
{
[Category("General")]
[DisplayName("Refresh Interval")]
public int UpdateInterval { get; set; }
... | Change clock widgets "Font Size" default value | Change clock widgets "Font Size" default value
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.