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 |
|---|---|---|---|---|---|---|---|---|---|
ff4f9861369a0669c99f00aa41c29c785f6e6ced | UsageExample.cs | UsageExample.cs | // Unzip class usage example
// Written by Alexey Yakovlev <yallie@yandex.ru>
// https://github.com/yallie/unzip
using System;
using System.Linq;
namespace Internals
{
internal struct Program
{
private static void Main(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("Syntax: unzip Archive.z... | // Unzip class usage example
// Written by Alexey Yakovlev <yallie@yandex.ru>
// https://github.com/yallie/unzip
using System;
using System.Linq;
namespace Internals
{
internal struct Program
{
private static void Main(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("Syntax: unzip Archive.z... | Use tabs instead of spaces. | Use tabs instead of spaces.
| C# | mit | yallie/unzip |
c457ecf07a29718acca8c18098af9f504df48949 | Source/Totem/Tracking/TrackedEvent.cs | Source/Totem/Tracking/TrackedEvent.cs | using System;
namespace Totem.Tracking
{
/// <summary>
/// A timeline event tracked by an index
/// </summary>
public class TrackedEvent
{
public TrackedEvent(string eventType, long eventPosition, Id userId, DateTime eventWhen, string keyType, string keyValue)
{
EventType = eventType;
EventPosition =... | using System;
namespace Totem.Tracking
{
/// <summary>
/// A timeline event tracked by an index
/// </summary>
public class TrackedEvent
{
protected TrackedEvent()
{}
public TrackedEvent(string eventType, long eventPosition, Id userId, DateTime eventWhen, string keyType, string keyValue)
{
... | Add missing constructor for derived tracking events | Add missing constructor for derived tracking events
| C# | mit | bwatts/Totem,bwatts/Totem |
714fa6c2fc6b22cfb23f4a2ae1f43e2cebf197ed | CoCo/NLog.cs | CoCo/NLog.cs | using NLog;
using NLog.Config;
using NLog.Targets;
namespace CoCo
{
internal static class NLog
{
internal static void Initialize()
{
LoggingConfiguration config = new LoggingConfiguration();
FileTarget fileTarget = new FileTarget("File");
FileTarget fileDebu... | using System;
using System.IO;
using NLog;
using NLog.Config;
using NLog.Targets;
namespace CoCo
{
internal static class NLog
{
internal static void Initialize()
{
string appDataLocal = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\CoCo";
... | Move log files to local application data. | Move log files to local application data.
| C# | mit | GeorgeAlexandria/CoCo |
381bc7d8c2ecfb5c24c75520480ad67983139e3e | source/Cosmos.Build.Tasks/CreateGrubConfig.cs | source/Cosmos.Build.Tasks/CreateGrubConfig.cs | using System.Diagnostics;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Cosmos.Build.Tasks
{
public class CreateGrubConfig: Task
{
[Required]
public string TargetDirectory { get; set; }
[Required]
public string BinName { get; set;... | using System.Diagnostics;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Cosmos.Build.Tasks
{
public class CreateGrubConfig: Task
{
[Required]
public string TargetDirectory { get; set; }
[Required]
public string BinName { get; set;... | Update grubconfig according to osdev.org | Update grubconfig according to osdev.org
https://wiki.osdev.org/Bare_Bones
| C# | bsd-3-clause | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos |
95b1997c14bb6fb7e2e68dd156f4feee3d139fec | src/Microsoft.AspNet.Hosting/Program.cs | src/Microsoft.AspNet.Hosting/Program.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Hosting.Internal;
using Microsoft.Framework.... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNet.Hosting.Internal;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Dependen... | Simplify Hosting's shutdown handling. Don't require a TTY on Unix. | Simplify Hosting's shutdown handling.
Don't require a TTY on Unix.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
23f7710ff746c8731b2b4fed021fcffe799db1b3 | src/Serilog/Core/ForContextExtension.cs | src/Serilog/Core/ForContextExtension.cs | using System;
using Serilog.Events;
namespace Serilog
{
/// <summary>
/// Extension method 'ForContext' for ILogger.
/// </summary>
public static class ForContextExtension
{
/// <summary>
/// Create a logger that enriches log events with the specified property based on log event le... | using System;
using Serilog.Events;
namespace Serilog
{
/// <summary>
/// Extension method 'ForContext' for ILogger.
/// </summary>
public static class ForContextExtension
{
/// <summary>
/// Create a logger that enriches log events with the specified property based on log event le... | Simplify ternary operation (not !) | Simplify ternary operation (not !)
Relates to #1002
| C# | apache-2.0 | serilog/serilog,CaioProiete/serilog,merbla/serilog,serilog/serilog,merbla/serilog |
451ab41583ea2b9f144939f75994281402dbd61f | osu.Framework/Input/GameWindowTextInput.cs | osu.Framework/Input/GameWindowTextInput.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Extensions;
using osu.Framework.Platform;
namespace osu.Framework.Input
{
public class GameWindowTextInput : ITextInputSource
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Extensions;
using osu.Framework.Platform;
namespace osu.Framework.Input
{
public class GameWindowTextInput : ITextInputSource
... | Fix text input for SDL | Fix text input for SDL
| C# | mit | ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework |
7f12f87e78073917594e46b5b32425ad1a863196 | Albireo.Otp.ConsoleApplication/Program.cs | Albireo.Otp.ConsoleApplication/Program.cs | namespace Albireo.Otp.ConsoleApplication
{
using System;
public static class Program
{
public static void Main()
{
Console.Title = "One-Time Password Generator";
}
}
}
| namespace Albireo.Otp.ConsoleApplication
{
using System;
public static class Program
{
public static void Main()
{
Console.Title = "C# One-Time Password";
}
}
}
| Fix console application window title | Fix console application window title
| C# | mit | kappa7194/otp |
bd4662f635217c373ca8297876887e10e10baa03 | Algorithms/Search/BinarySearch.cs | Algorithms/Search/BinarySearch.cs | using System;
using System.Security.Cryptography;
using Algorithms.Utils;
namespace Algorithms.Search
{
public class BinarySearch
{
public static int IndexOf<T>(T[] a, T v) where T: IComparable<T>
{
var lo = 0;
var hi = a.Length - 1;
int comparison(T a1, T a... | using System;
using System.Security.Cryptography;
using Algorithms.Utils;
namespace Algorithms.Search
{
public class BinarySearch
{
public static int IndexOf<T>(T[] a, T v) where T: IComparable<T>
{
var lo = 0;
var hi = a.Length - 1;
int comparison(T a1, T a... | Fix the bug in the binary search | Fix the bug in the binary search
| C# | mit | cschen1205/cs-algorithms,cschen1205/cs-algorithms |
8b0b29717b8ba1c5cd0142c9975040260b105bac | GitReview/Controllers/ReviewController.cs | GitReview/Controllers/ReviewController.cs | // -----------------------------------------------------------------------
// <copyright file="ReviewController.cs" company="(none)">
// Copyright © 2015 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
// </copyright>
// -----------... | // -----------------------------------------------------------------------
// <copyright file="ReviewController.cs" company="(none)">
// Copyright © 2015 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.md for more information.
// </copyright>
// -----------... | Read reviews from the database. | Read reviews from the database.
| C# | mit | otac0n/GitReview,otac0n/GitReview,otac0n/GitReview |
a3e3b18663d62326559dd5a72a1c74921bacda3e | CSharpEx.Forms/ControlEx.cs | CSharpEx.Forms/ControlEx.cs | using System;
using System.Windows.Forms;
namespace CSharpEx.Forms
{
/// <summary>
/// Control extensions
/// </summary>
public static class ControlEx
{
/// <summary>
/// Invoke action if Invoke is requiered.
/// </summary>
public static void InvokeIfRequired<T>(thi... | using System;
using System.Windows.Forms;
namespace CSharpEx.Forms
{
/// <summary>
/// Control extensions
/// </summary>
public static class ControlEx
{
/// <summary>
/// Invoke action if Invoke is requiered.
/// </summary>
public static void InvokeIfRequired<T>(thi... | Set DoubleBuffered property via reflection | Set DoubleBuffered property via reflection
| C# | apache-2.0 | imasm/CSharpExtensions |
04f61480cab638c4fb4f7087b4fa40056bbb48b5 | DAQ/Gigatronics7100Synth.cs | DAQ/Gigatronics7100Synth.cs | using System;
using DAQ.Environment;
namespace DAQ.HAL
{
/// <summary>
/// This class represents a GPIB controlled Gigatronics 7100 arbitrary waveform generator. It conforms to the Synth
/// interface.
/// </summary>
class Gigatronics7100Synth : Synth
{
public Gigatronics7... | using System;
using DAQ.Environment;
namespace DAQ.HAL
{
/// <summary>
/// This class represents a GPIB controlled Gigatronics 7100 arbitrary waveform generator. It conforms to the Synth
/// interface.
/// </summary>
public class Gigatronics7100Synth : Synth
{
public Gigat... | Add remote rf enable function | Add remote rf enable function
| C# | mit | Stok/EDMSuite,ColdMatter/EDMSuite,jstammers/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,jstammers/EDMSuite,jstammers/EDMSuite,Stok/EDMSuite,jstammers/EDMSuite,jstammers/EDMSuite |
c7c7115dedbd2d967a18cb8fbeb349792e262251 | ProtoScript/Dialogs/SelectBundleDialog.cs | ProtoScript/Dialogs/SelectBundleDialog.cs | using System;
using System.Windows.Forms;
namespace ProtoScript.Dialogs
{
class SelectBundleDialog : IDisposable
{
private const string kResourceBundleExtension = ".bun";
private readonly OpenFileDialog m_fileDialog;
public SelectBundleDialog()
{
m_fileDialog = new OpenFileDialog
{
InitialDirecto... | using System;
using System.Windows.Forms;
namespace ProtoScript.Dialogs
{
class SelectBundleDialog : IDisposable
{
private const string kResourceBundleExtension = ".zip";
private readonly OpenFileDialog m_fileDialog;
public SelectBundleDialog()
{
m_fileDialog = new OpenFileDialog
{
InitialDirecto... | Select Bundle dialog looks for zip files | Select Bundle dialog looks for zip files
| C# | mit | sillsdev/Glyssen,sillsdev/Glyssen |
a06c2fc96f4fc9f1591d823eecec67bd135a1822 | ExampleGenerator/Misc/BindingExamples.cs | ExampleGenerator/Misc/BindingExamples.cs | namespace ExampleGenerator
{
using OxyPlot;
public static class BindingExamples
{
[Export(@"BindingExamples\Example1")]
public static PlotModel Example1()
{
return null;
}
}
} | namespace ExampleGenerator
{
using OxyPlot;
public static class BindingExamples
{
[Export(@"BindingExamples\Example1")]
public static PlotModel Example1()
{
return new PlotModel { Title = "TODO" };
}
}
} | Fix example that caused exception | Fix example that caused exception
| C# | mit | oxyplot/documentation-examples |
f2df98c513610fd2089b2f2e5caf68c5b9c1ba4e | GoldenAnvil.Utility/EnumerableUtility.cs | GoldenAnvil.Utility/EnumerableUtility.cs | using System.Collections.Generic;
using System.Linq;
namespace GoldenAnvil.Utility
{
public static class EnumerableUtility
{
public static IEnumerable<T> Append<T>(this IEnumerable<T> items, T value)
{
foreach (T item in items)
yield return item;
yield return value;
}
public static IEnumerable<T>... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace GoldenAnvil.Utility
{
public static class EnumerableUtility
{
public static IEnumerable<T> EmptyIfNull<T>(this IEnumerable<T> items)
{
return items ?? Enumerable.Empty<T>();
}
public static IEnumerable... | Add AsReadOnlyList; Remove obsolete method | Add AsReadOnlyList; Remove obsolete method
| C# | mit | SaberSnail/GoldenAnvil.Utility |
c6947507c674dbcbc77cb42038c45bc78896a009 | EvoNet/Forms/MainForm.cs | EvoNet/Forms/MainForm.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 EvoNet.Controls;
using Graph;
using EvoNet.Map;
namespace EvoNet.Forms
{
public partial class ... | 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 EvoNet.Controls;
using Graph;
using EvoNet.Map;
namespace EvoNet.Forms
{
public partial class ... | Check for empty array on food record | Check for empty array on food record
| C# | mit | pampersrocker/EvoNet |
f07b4c7c10770df9618989a30cdff7794ca4820b | RedGate.AppHost.Client/ParentProcessMonitor.cs | RedGate.AppHost.Client/ParentProcessMonitor.cs | using System;
using System.Diagnostics;
using System.Threading;
namespace RedGate.AppHost.Client
{
internal class ParentProcessMonitor
{
private readonly Action m_OnParentMissing;
private readonly int m_PollingIntervalInSeconds;
private Thread m_PollingThread;
public ParentPro... | using System;
using System.Diagnostics;
using System.Runtime.Remoting.Channels;
using System.Threading;
namespace RedGate.AppHost.Client
{
internal class ParentProcessMonitor
{
private readonly Action m_OnParentMissing;
public ParentProcessMonitor(Action onParentMissing)
{
... | Replace the polling with an event handler | Replace the polling with an event handler
| C# | apache-2.0 | nycdotnet/RedGate.AppHost,red-gate/RedGate.AppHost |
83350116d923f2ed78c84fd1409ebf36970c6ce2 | alert-roster.web/Views/Home/Index.cshtml | alert-roster.web/Views/Home/Index.cshtml | @model IEnumerable<alert_roster.web.Models.Message>
@{
ViewBag.Title = "Messages";
}
<div class="jumbotron">
<h1>@ViewBag.Title</h1>
</div>
@foreach (var message in Model)
{
<div class="row">
<div class="col-md-4">
<fieldset>
<legend>
<script>var d... | @model IEnumerable<alert_roster.web.Models.Message>
@{
ViewBag.Title = "Notices";
}
<h2>@ViewBag.Title</h2>
@foreach (var message in Model)
{
<div class="row">
<div class="col-md-5">
<fieldset>
<legend>
Posted <script>var d = moment.utc('@message.Poste... | Tweak some of the list page formatting | Tweak some of the list page formatting
| C# | mit | mattgwagner/alert-roster |
7f61f27be1e3031266110c0f64a812bc2a787829 | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.cs | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overlays.Set... | // 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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overlays.Set... | Use null-conditional operator when checking against UpdateManager | Use null-conditional operator when checking against UpdateManager
Co-authored-by: Dean Herbert <1db828bcd41de75377dce59825af73ae7fca5651@ppy.sh> | C# | mit | smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu |
6230764402df2ac188fef708fa3eb3fc4e6c7da6 | DWriteCairoTest/UnitTestTextFromat.cs | DWriteCairoTest/UnitTestTextFromat.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ZWCloud.DWriteCairo;
namespace DWriteCairoTest
{
[TestClass]
public class UnitTestTextFromat
{
[TestMethod]
public void TestTextFormat()
{
const string fontFamilyName = "SimSun";
const ... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ZWCloud.DWriteCairo;
namespace DWriteCairoTest
{
[TestClass]
public class UnitTestTextFromat
{
[TestMethod]
public void TestTextFormat()
{
const string fontFamilyName = "SimSun";
const ... | Add a test for text alignment. | Add a test for text alignment.
| C# | apache-2.0 | zwcloud/ZWCloud.DwriteCairo,zwcloud/ZWCloud.DwriteCairo,zwcloud/ZWCloud.DwriteCairo |
a4aa8eec0ec7f0c0e5fae40dfe391b9f0c74b958 | src/PatentSpoiler/Views/Account/Login.cshtml | src/PatentSpoiler/Views/Account/Login.cshtml | @model dynamic
@{
ViewBag.Title = "login";
}
<h2>Log in!</h2>
<form method="POST">
@Html.AntiForgeryToken()
Username: @Html.TextBox("Username")<br/>
Password: @Html.Password("Password")<br/>
Remember me @Html.CheckBox("RememberMe")<br />
<input type="submit" value="Log in"/>
</form> | @model dynamic
@{
ViewBag.Title = "login";
}
<h2>Log in!</h2>
<form method="POST" role="form" id="loginForm" name="loginForm">
@Html.AntiForgeryToken()
<div class="form-group" ng-class="{'has-error': addForm.name.$invalid && addForm.name.$pristine && submitted}">
<label class="col-sm-2 control-l... | Tidy of the login page | Tidy of the login page
| C# | apache-2.0 | spadger/patent-spoiler,spadger/patent-spoiler,spadger/patent-spoiler |
d7afc2753824807caaa9d0412099600852add82d | src/Premotion.Mansion.Web.Portal/ScriptTags/RenderBlockTag.cs | src/Premotion.Mansion.Web.Portal/ScriptTags/RenderBlockTag.cs | using System;
using Premotion.Mansion.Core;
using Premotion.Mansion.Core.Scripting.TagScript;
using Premotion.Mansion.Web.Portal.Service;
namespace Premotion.Mansion.Web.Portal.ScriptTags
{
/// <summary>
/// Renders the specified block.
/// </summary>
[ScriptTag(Constants.TagNamespaceUri, "renderBlock")]
public ... | using System;
using Premotion.Mansion.Core;
using Premotion.Mansion.Core.Scripting.TagScript;
using Premotion.Mansion.Web.Portal.Service;
namespace Premotion.Mansion.Web.Portal.ScriptTags
{
/// <summary>
/// Renders the specified block.
/// </summary>
[ScriptTag(Constants.TagNamespaceUri, "renderBlock")]
public ... | Use AttributeNullException instead of an InvalidOperationException. | Use AttributeNullException instead of an InvalidOperationException.
| C# | mit | Erikvl87/Premotion-Mansion,devatwork/Premotion-Mansion,devatwork/Premotion-Mansion,devatwork/Premotion-Mansion,Erikvl87/Premotion-Mansion,devatwork/Premotion-Mansion,Erikvl87/Premotion-Mansion,Erikvl87/Premotion-Mansion |
f9dc7b1dd8c36d24c1a4928d2dbd9c71b60745b8 | Tools.Test.Database/Model/Tasks/DropDatabaseTask.cs | Tools.Test.Database/Model/Tasks/DropDatabaseTask.cs | namespace Tools.Test.Database.Model.Tasks
{
public class DropDatabaseTask : DatabaseTask
{
private readonly string _connectionString;
public DropDatabaseTask(string connectionString)
: base(connectionString)
{
_connectionString = connectionString;
}
... | using System.Data.Entity;
using Infrastructure.DataAccess;
namespace Tools.Test.Database.Model.Tasks
{
public class DropDatabaseTask : DatabaseTask
{
private readonly string _connectionString;
public DropDatabaseTask(string connectionString)
: base(connectionString)
{
... | Change back to use EF initializer to drop db | Change back to use EF initializer to drop db
| C# | mpl-2.0 | os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos |
a3dc548600eb808023d5a89125f0d62f9dc02da9 | Source/Csla.Web.Mvc/ViewModelBase.cs | Source/Csla.Web.Mvc/ViewModelBase.cs | //-----------------------------------------------------------------------
// <copyright file="ViewModelBase.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>Base class used to create ViewModel objects that ... | //-----------------------------------------------------------------------
// <copyright file="ViewModelBase.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: http://www.lhotka.net/cslanet/
// </copyright>
// <summary>Base class used to create ViewModel objects that ... | Add Save method. bugid: 928 | Add Save method.
bugid: 928
| C# | mit | MarimerLLC/csla,MarimerLLC/csla,BrettJaner/csla,JasonBock/csla,JasonBock/csla,BrettJaner/csla,rockfordlhotka/csla,ronnymgm/csla-light,ronnymgm/csla-light,MarimerLLC/csla,BrettJaner/csla,rockfordlhotka/csla,ronnymgm/csla-light,jonnybee/csla,rockfordlhotka/csla,jonnybee/csla,jonnybee/csla,JasonBock/csla |
4c33f394a8871f48a922f60ee56c50b472d84fcd | XPNet.CLR.Template/content/Plugin.cs | XPNet.CLR.Template/content/Plugin.cs |
using System;
using XPNet;
namespace XPNet.CLR.Template
{
[XPlanePlugin(
name: "My Plugin",
signature: "you.plugins.name",
description: "Describe your plugin here."
)]
public class Plugin : IXPlanePlugin
{
private readonly IXPlaneApi m_api;
publ... |
using System;
using XPNet;
namespace XPNet.CLR.Template
{
[XPlanePlugin(
name: "My Plugin",
signature: "you.plugins.name",
description: "Describe your plugin here."
)]
public class Plugin : IXPlanePlugin
{
private readonly IXPlaneApi m_api;
publ... | Use nameof on argument check in the template project. | Use nameof on argument check in the template project.
| C# | mit | jaurenq/XPNet,jaurenq/XPNet,jaurenq/XPNet |
43d7f14204ce60a4987516e01dec15ca9ec2e3f9 | Alexa.NET/Response/PlainTextOutputSpeech.cs | Alexa.NET/Response/PlainTextOutputSpeech.cs | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class PlainTextOutputSpeech : IOutputSpeech
{
/// <summary>
/// A string containing the type of output speech to render. Valid types are:
/// - "PlainText" - Indicates that the output speech is defined as plain text.
/... | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class PlainTextOutputSpeech : IOutputSpeech
{
[JsonProperty("type")]
[JsonRequired]
public string Type
{
get { return "PlainText"; }
}
[JsonRequired]
[JsonProperty("text")]
... | Comment removal in prep for newer commenting | Comment removal in prep for newer commenting
| C# | mit | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet |
34c2961ae6402a003f5257f795414fbebfdd496b | Nustache.Core/FileSystemTemplateLocator.cs | Nustache.Core/FileSystemTemplateLocator.cs | using System.IO;
namespace Nustache.Core
{
public class FileSystemTemplateLocator
{
private readonly string _extension;
private readonly string _directory;
public FileSystemTemplateLocator(string extension, string directory)
{
_extension = extension;
... | using System.IO;
namespace Nustache.Core
{
public class FileSystemTemplateLocator
{
private readonly string _extension;
private readonly string[] _directories;
public FileSystemTemplateLocator(string extension, params string[] directories)
{
_extension =... | Use an array of directories instead of just one. | Use an array of directories instead of just one.
| C# | mit | mediafreakch/Nustache,mediafreakch/Nustache,jdiamond/Nustache,jdiamond/Nustache |
a7bcc32cc21151ff4817e260b73c8f1d1a75b185 | osu.Game.Rulesets.Mania/ManiaFilterCriteria.cs | osu.Game.Rulesets.Mania/ManiaFilterCriteria.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Filter;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Screens.Select;
using osu.Game.Screens.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Filter;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Screens.Select;
using osu.Game.Screens.Select.Filter;
nam... | Remove the nullable disable annotation in the mania ruleset. | Remove the nullable disable annotation in the mania ruleset.
| C# | mit | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu |
0dbd1a773b6e6398019675628d48c39166932353 | tests/tests/classes/tests/SchedulerTest/SchedulerAutoremove.cs | tests/tests/classes/tests/SchedulerTest/SchedulerAutoremove.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class SchedulerAutoremove : SchedulerTestLayer
{
public virtual void onEnter()
{
base.OnEnter();
Schedule(autoremove, 0.5f);
Sche... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class SchedulerAutoremove : SchedulerTestLayer
{
private float accum;
public override void OnEnter ()
{
base.OnEnter();
Schedule(autoremove, 0.5f);
... | Fix SchedulerAutorRemove to work correctly. | Fix SchedulerAutorRemove to work correctly.
| C# | mit | haithemaraissia/CocosSharp,MSylvia/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,netonjm/CocosSharp,netonjm/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,hig-ag/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,zmaruo/CocosSharp |
ec616e27f8c88d62c4ad96af0c83b902c4b5cc65 | Iced/Intel/InstructionListDebugView.cs | Iced/Intel/InstructionListDebugView.cs | /*
Copyright (C) 2018 de4dot@gmail.com
This file is part of Iced.
Iced is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | /*
Copyright (C) 2018 de4dot@gmail.com
This file is part of Iced.
Iced is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | Simplify debug view prop body | Simplify debug view prop body
| C# | mit | 0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced |
30ceb2ed91637076d2cb7a024c1ecc74a5000657 | CoCo/VsPackage.cs | CoCo/VsPackage.cs | using System;
using System.Runtime.InteropServices;
using System.Windows;
using CoCo.UI;
using CoCo.UI.ViewModels;
using Microsoft.VisualStudio.Shell;
namespace CoCo
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading =true)]
[ProvideOptionPage(typeof(DialogOption), "CoCo", "CoCo", ... | using System;
using System.Runtime.InteropServices;
using System.Windows;
using CoCo.UI;
using CoCo.UI.ViewModels;
using Microsoft.VisualStudio.Shell;
namespace CoCo
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[ProvideOptionPage(typeof(DialogOption), "CoCo", "CoCo",... | Apply a saving option only at it needed. | Apply a saving option only at it needed.
| C# | mit | GeorgeAlexandria/CoCo |
ebb2eb6f51205a6f370ed8fa614cbea7750ebb46 | Source/HelixToolkit.SharpDX.Shared/Model/OrderKey.cs | Source/HelixToolkit.SharpDX.Shared/Model/OrderKey.cs | using System;
using System.Runtime.CompilerServices;
#if NETFX_CORE
namespace HelixToolkit.UWP.Model
#else
namespace HelixToolkit.Wpf.SharpDX.Model
#endif
{
/// <summary>
/// Render order key
/// </summary>
public struct OrderKey : IComparable<OrderKey>
{
public uint Key;
public O... | using System;
using System.Runtime.CompilerServices;
#if NETFX_CORE
namespace HelixToolkit.UWP.Model
#else
namespace HelixToolkit.Wpf.SharpDX.Model
#endif
{
/// <summary>
/// Render order key
/// </summary>
public struct OrderKey : IComparable<OrderKey>
{
public uint Key;
public O... | Fix wrong render order key bit shift | Fix wrong render order key bit shift
| C# | mit | helix-toolkit/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit |
905f9707314cc608ce8f6b6782e10de6d9ed2551 | DspAdpcm/DspAdpcm.Cli/DspAdpcmCli.cs | DspAdpcm/DspAdpcm.Cli/DspAdpcmCli.cs | using System;
using System.Diagnostics;
using System.IO;
using DspAdpcm.Lib.Adpcm;
using DspAdpcm.Lib.Adpcm.Formats;
using DspAdpcm.Lib.Pcm;
using DspAdpcm.Lib.Pcm.Formats;
namespace DspAdpcm.Cli
{
public static class DspAdpcmCli
{
public static int Main(string[] args)
{
if (args.L... | using System;
using System.Diagnostics;
using System.IO;
using DspAdpcm.Lib.Adpcm;
using DspAdpcm.Lib.Adpcm.Formats;
using DspAdpcm.Lib.Pcm;
using DspAdpcm.Lib.Pcm.Formats;
namespace DspAdpcm.Cli
{
public static class DspAdpcmCli
{
public static int Main(string[] args)
{
if (args.L... | Write directly to a FileStream when writing the output file | CLI: Write directly to a FileStream when writing the output file
| C# | mit | Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio |
a1c60447ec69949ea9b5ece04f7fec23c4827849 | Battery-Commander.Tests/AirTableServiceTests.cs | Battery-Commander.Tests/AirTableServiceTests.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
using Xunit;
namespace BatteryCommander.Tests
{
public class AirTableServiceTests
{
private const String AppKey = "";
private const String Ba... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
using Xunit;
namespace BatteryCommander.Tests
{
public class AirTableServiceTests
{
private const String AppKey = "";
private const String Ba... | Add placeholder for testing retrieving POs | Add placeholder for testing retrieving POs
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
cb01f0b0bdf86afe42145eeea857be43caa2a959 | src/Test/Utilities/Portable/Extensions/SemanticModelExtensions.cs | src/Test/Utilities/Portable/Extensions/SemanticModelExtensions.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.
namespace Microsoft.CodeAnalysis.Test.Extensions
{
public static class SemanticModelExtensions
{
public static IOperation GetOperationInterna... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Test.Extensions
{
public static class SemanticModelExtensions
{
public static IOperation GetOperationInterna... | Address PR feedback and add comment | Address PR feedback and add comment
| C# | apache-2.0 | reaction1989/roslyn,TyOverby/roslyn,ErikSchierboom/roslyn,robinsedlaczek/roslyn,ErikSchierboom/roslyn,heejaechang/roslyn,nguerrera/roslyn,ErikSchierboom/roslyn,tmeschter/roslyn,abock/roslyn,CaptainHayashi/roslyn,xasx/roslyn,pdelvo/roslyn,bartdesmet/roslyn,MichalStrehovsky/roslyn,pdelvo/roslyn,zooba/roslyn,AnthonyDGreen... |
e056e6b5a4bbc90535a970cfb30ac2ca4ec258fd | templates/log_rss.cs | templates/log_rss.cs | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | Fix category of revision log RSS feeds. | Fix category of revision log RSS feeds. | C# | bsd-3-clause | pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac |
54f33523c161803d0d421d0b651814204df02b79 | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | Update nuget package version to beta02 | Update nuget package version to beta02
| C# | mit | Jericho/CakeMail.RestClient |
ce7a5e8914af475684e95d6420d6aa2ff8ff7055 | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.cs | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
us... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Mania.Ob... | Update visual style to match new notes | Update visual style to match new notes
| C# | mit | ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,DrabWeb/osu,ZLima12/osu,UselessToucan/osu,DrabWeb/osu,smoogipooo/osu,naoey/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu-new,naoey/osu,peppy/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,2yangk... |
e2194f3e9e32bb221cb35fa9cc59a043300d603a | src/Glimpse.Server.Web/GlimpseServerServiceCollectionExtensions.cs | src/Glimpse.Server.Web/GlimpseServerServiceCollectionExtensions.cs | using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
namespace Glimpse
{
public static class GlimpseServerServiceCollectionExtensions
{
public static IServiceCollection RunningServer(this IServiceCollection services)
{
UseSignal... | using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
namespace Glimpse
{
public static class GlimpseServerServiceCollectionExtensions
{
public static IServiceCollection RunningServer(this IServiceCollection services)
{
services.... | Switch around registration order for signalr | Switch around registration order for signalr
| C# | mit | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewic... |
e8987fdc17d726ad4f3cac3be0120319cb8057b6 | Game/GameInit.cs | Game/GameInit.cs | using UnityEngine;
using System.Collections;
using DG.Tweening;
public class GameInit : MonoBehaviour
{
void Awake()
{
// seed Random with current seconds;
Random.seed = (int)System.DateTime.Now.Ticks;
// initialize DOTween before first use.
DOTween.Init(true, true, LogBehaviour.Verbose).SetCapacity(200, 1... | using UnityEngine;
using System.Collections;
using DG.Tweening;
using Matcha.Lib;
public class GameInit : MonoBehaviour
{
void Awake()
{
// seed Random with current seconds;
Random.seed = (int)System.DateTime.Now.Ticks;
// initialize DOTween before first use.
DOTween.Init(true, true, LogBehaviour.Verbose).... | Swap out IgnoreLayerCollisions for new custom version. | Swap out IgnoreLayerCollisions for new custom version.
| C# | mit | cmilr/Unity2D-Components,jguarShark/Unity2D-Components |
c4a528d6a4e565c41d7490a59f59148690fe0f54 | ReverseWords/SearchingBinaryTree/BinarySearchTree.cs | ReverseWords/SearchingBinaryTree/BinarySearchTree.cs | namespace SearchingBinaryTree
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class BinarySearchTree
{
public Node Root { get; private set; }
public void Add(Node node) {
if(Root!=null) {
... | namespace SearchingBinaryTree
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class BinarySearchTree
{
public Node Root { get; private set; }
public void Add(Node node) {
if(Root!=null) {
... | Fix operation on wrong node | Fix operation on wrong node
| C# | apache-2.0 | ozim/CakeStuff |
02310d2555bccacd2b3410a163a4d1dc688b0636 | src/TestApplication/Migrations/ShowTitle.cs | src/TestApplication/Migrations/ShowTitle.cs | using System;
using IonFar.SharePoint.Migration;
using Microsoft.SharePoint.Client;
namespace TestApplication.Migrations
{
[Migration(10001)]
public class ShowTitle : IMigration
{
public void Up(ClientContext clientContext, ILogger logger)
{
clientContext.Load(clientContext.Web... | using System;
using IonFar.SharePoint.Migration;
using Microsoft.SharePoint.Client;
namespace TestApplication.Migrations
{
[Migration(10001, true)]
public class ShowTitle : IMigration
{
public void Up(ClientContext clientContext, ILogger logger)
{
clientContext.Load(clientConte... | Add override to test migration, so it happens every time | Add override to test migration, so it happens every time
| C# | mit | jackawatts/ionfar-sharepoint-migration,jackawatts/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration |
e6c470de3f772c6bd35ef32e255b4d16dad7ef98 | src/Microsoft.Azure.WebJobs/FunctionNameAttribute.cs | src/Microsoft.Azure.WebJobs/FunctionNameAttribute.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Text.RegularExpressions;
namespace Microsoft.Azure.WebJobs
{
/// <summary>
/// Attribute used to indicate the name to use for a job... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Text.RegularExpressions;
namespace Microsoft.Azure.WebJobs
{
/// <summary>
/// Attribute used to indicate the name to use for a job... | Remove RegexOptions.Compiled for code paths executed during cold start | Remove RegexOptions.Compiled for code paths executed during cold start
| C# | mit | Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk |
3ab7c9f18b6621f77200e5d9eaa4a03297d72029 | src/Startup.cs | src/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace AustinSite
{
public class Startup
{
public Startup(IHostingEnvironment env)
... | using AustinSite.Repositories;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace AustinSite
{
public class Startup
{
public Startup(IH... | Add Articles rep into DI scope | Add Articles rep into DI scope
| C# | mit | AustinFelipe/website,AustinFelipe/website,AustinFelipe/website |
78a10d9c20d2284e2848534c82447d7c7fa604a0 | tests/TestUtility/TestAssets.TestProject.cs | tests/TestUtility/TestAssets.TestProject.cs | using System;
namespace TestUtility
{
public partial class TestAssets
{
private class TestProject : ITestProject
{
private bool _disposed;
public string Name { get; }
public string BaseDirectory { get; }
public string Directory { get; }
... | using System;
using System.Threading;
namespace TestUtility
{
public partial class TestAssets
{
private class TestProject : ITestProject
{
private bool _disposed;
public string Name { get; }
public string BaseDirectory { get; }
public string Dir... | Add retry logic for test clean up | Add retry logic for test clean up
| C# | mit | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn |
7938528070d5d1af2c3c186999f26c493b76367d | Telerik.JustMock/Core/Context/AsyncContextResolver.cs | Telerik.JustMock/Core/Context/AsyncContextResolver.cs | /*
JustMock Lite
Copyright © 2019 Progress Software Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ap... | /*
JustMock Lite
Copyright © 2019 Progress Software Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by ap... | Move EditorBrowsable to class level | Move EditorBrowsable to class level
| C# | apache-2.0 | telerik/JustMockLite |
ecd03b8bb358954ff85b78ebaaa86de841fbdcb9 | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
DocsSettings = new DotNetDocsSettings
{
GitLogin = new GitLoginInfo("ejball", Environment.GetEnvironm... | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
DocsSettings = new DotNetDocsSettings
{
GitLogin = new GitLoginInfo("ejball", Environment.GetEnvironm... | Use latest xmldocmd to fix publish. | Use latest xmldocmd to fix publish.
| C# | mit | ejball/ArgsReading |
3ed1f15a1053ac45e9cbd3f9f3cfe6c15f4abf20 | Raven.TimeZones/ZoneShapesIndex.cs | Raven.TimeZones/ZoneShapesIndex.cs | using System.Linq;
using Raven.Client.Indexes;
namespace Raven.TimeZones
{
public class ZoneShapesIndex : AbstractIndexCreationTask<ZoneShape>
{
public ZoneShapesIndex()
{
Map = shapes => from shape in shapes
select new
... | using System.Linq;
using Raven.Abstractions.Indexing;
using Raven.Client.Indexes;
namespace Raven.TimeZones
{
public class ZoneShapesIndex : AbstractIndexCreationTask<ZoneShape>
{
public ZoneShapesIndex()
{
Map = shapes => from shape in shapes
... | Use a lower maxTreeLevel precision | Use a lower maxTreeLevel precision
https://groups.google.com/d/topic/ravendb/a6xFRI8nKZc/discussion
| C# | mit | mj1856/RavenDB-TimeZones |
a09373721bbb953571c77b1cb55e30333c424c09 | src/SJP.Schematic.Reporting/Html/TemplateProvider.cs | src/SJP.Schematic.Reporting/Html/TemplateProvider.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using EnumsNET;
using Microsoft.Extensions.FileProviders;
namespace SJP.Schematic.Reporting.Html
{
internal class TemplateProvider : ITemplateProvider
{
public string GetTemplate(ReportTemplate template)
... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using EnumsNET;
using Microsoft.Extensions.FileProviders;
namespace SJP.Schematic.Reporting.Html
{
internal class TemplateProvider : ITemplateProvider
{
public string GetTemplate(ReportTemplate template)
{
i... | Clean up reading templates from embedded resources. | Clean up reading templates from embedded resources.
Use a StreamReader instead of a MemoryStream that assumes UTF-8.
| C# | mit | sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/SJP.Schema,sjp/Schematic |
44ea7cee53973e95b04ca280b45758747e10dde8 | Alexa.NET.Management/Package/ImportStatus.cs | Alexa.NET.Management/Package/ImportStatus.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Alexa.NET.Management.Package
{
public enum ImportStatus
{
FAILED,
IN_PROGRESS,
SUCCEEEDED
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace Alexa.NET.Management.Package
{
public enum ImportStatus
{
FAILED,
IN_PROGRESS,
SUCCEEDED
}
}
| Fix import status succeeded spelling error | Fix import status succeeded spelling error
| C# | mit | stoiveyp/Alexa.NET.Management |
6b2a286083c3cbf21cd4fa14a480b7b5164a155b | Assets/Scripts/Global/UnlockCursorOnStart.cs | Assets/Scripts/Global/UnlockCursorOnStart.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UnlockCursorOnStart : MonoBehaviour
{
void Start()
{
Invoke("unlockCursor", .1f);
}
void unlockCursor()
{
Cursor.lockState = GameController.DefaultCursorMode;
}
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UnlockCursorOnStart : MonoBehaviour
{
[SerializeField]
bool forceOnUpdate = true;
void Start()
{
Invoke("unlockCursor", .1f);
}
void unlockCursor()
{
Cursor.lockState = GameControl... | Make cursor redundancy more redundant | Make cursor redundancy more redundant
| C# | mit | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare |
64127341ab80353baf82d7fd0470d8ac52a25972 | Views/Price.cshtml | Views/Price.cshtml | @if (Model.DiscountedPrice != Model.Price)
{
<b class="inactive-price" style="text-decoration:line-through" title="@T("Was {0}", Model.Price.ToString("c"))">@Model.Price.ToString("c")</b>
<b class="discounted-price" title="@T("Now {0}", Model.DiscountedPrice.ToString("c"))">@Model.DiscountedPrice.ToString("... | @if (Model.DiscountedPrice != Model.Price)
{
<b class="inactive-price" style="text-decoration:line-through" title="@T("Was {0:c}", Model.Price)">@Model.Price.ToString("c")</b>
<b class="discounted-price" title="@T("Now {0:c}", Model.DiscountedPrice)">@Model.DiscountedPrice.ToString("c")</b>
<span class... | Use {0:c} rather than ToString("c") where possible. | Use {0:c} rather than ToString("c") where possible.
--HG--
branch : currency_string_format
| C# | bsd-3-clause | bleroy/Nwazet.Commerce,bleroy/Nwazet.Commerce |
84950e5ce3c91f170438d25373baec35c380f9b8 | src/RawRabbit/Common/BasicPropertiesProvider.cs | src/RawRabbit/Common/BasicPropertiesProvider.cs | using System;
using System.Collections.Generic;
using RabbitMQ.Client;
using RabbitMQ.Client.Framing;
namespace RawRabbit.Common
{
public interface IBasicPropertiesProvider
{
IBasicProperties GetProperties<TMessage>(Action<IBasicProperties> custom = null);
}
public class BasicPropertiesProvider : IBasicPropert... | using System;
using System.Collections.Generic;
using RabbitMQ.Client;
using RabbitMQ.Client.Framing;
using RawRabbit.Configuration;
namespace RawRabbit.Common
{
public interface IBasicPropertiesProvider
{
IBasicProperties GetProperties<TMessage>(Action<IBasicProperties> custom = null);
}
public class BasicPro... | Use Persist value from config. | Use Persist value from config.
| C# | mit | northspb/RawRabbit,pardahlman/RawRabbit |
e1ba1b6fbb65ed6681c990c5070e85512afb3c7f | Emotion.Plugins.ImGuiNet/ImGuiExtensions.cs | Emotion.Plugins.ImGuiNet/ImGuiExtensions.cs | #region Using
using System;
using System.Numerics;
using Emotion.Graphics.Objects;
using Emotion.Primitives;
#endregion
namespace Emotion.Plugins.ImGuiNet
{
public static class ImGuiExtensions
{
public static Tuple<Vector2, Vector2> GetImGuiUV(this Texture t, Rectangle? uv = null)
{
... | #region Using
using System;
using System.Numerics;
using Emotion.Graphics;
using Emotion.Graphics.Objects;
using Emotion.Primitives;
using ImGuiNET;
#endregion
namespace Emotion.Plugins.ImGuiNet
{
public static class ImGuiExtensions
{
public static Tuple<Vector2, Vector2> GetImGuiUV(this Texture t, ... | Add util extention for rendering GUI. | feat: Add util extention for rendering GUI.
| C# | mit | Cryru/SoulEngine |
83847904550b7843b4060fc263521e7dbc22030c | AngleSharp.Core.Tests/Library/PageImport.cs | AngleSharp.Core.Tests/Library/PageImport.cs | namespace AngleSharp.Core.Tests.Library
{
using AngleSharp.Core.Tests.Mocks;
using AngleSharp.Dom.Html;
using AngleSharp.Extensions;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
[TestFixture]
public class PageImportTests
{
[Test]
public async T... | namespace AngleSharp.Core.Tests.Library
{
using AngleSharp.Core.Tests.Mocks;
using AngleSharp.Dom.Html;
using AngleSharp.Extensions;
using NUnit.Framework;
using System;
using System.Threading.Tasks;
[TestFixture]
public class PageImportTests
{
[Test]
public async T... | Test for loading import from data url | Test for loading import from data url
| C# | mit | FlorianRappl/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp |
164220c6e9444b40917f06a9d789214249f5351c | DynThings.WebPortal/Views/Endpoints/_List.cshtml | DynThings.WebPortal/Views/Endpoints/_List.cshtml | @model PagedList.IPagedList<DynThings.Data.Models.Endpoint>
<table class="table striped hovered border bordered">
<thead>
<tr>
<th>Title</th>
<th>Type</th>
<th>GUID</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
... | @model PagedList.IPagedList<DynThings.Data.Models.Endpoint>
<table class="table striped hovered border bordered">
<thead>
<tr>
<th>Title</th>
<th>Type</th>
<th>Device</th>
<th>Thing</th>
<th></th>
</tr>
</thead>
<tbody>
@for... | Add Device & Thing Titles to Endpoint GridList | Add Device & Thing Titles to Endpoint GridList
| C# | mit | MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings |
67599c9196d2c23d017e51071b483da8a4264898 | TIKSN.Core/Data/LiteDB/LiteDbDatabaseProvider.cs | TIKSN.Core/Data/LiteDB/LiteDbDatabaseProvider.cs | using LiteDB;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
namespace TIKSN.Data.LiteDB
{
/// <summary>
/// Create LiteDB database
/// </summary>
public class LiteDbDatabaseProvider : ILiteDbDatabaseProvider
{
private readonly IConfigurationRoot _co... | using LiteDB;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.FileProviders;
namespace TIKSN.Data.LiteDB
{
/// <summary>
/// Create LiteDB database
/// </summary>
public class LiteDbDatabaseProvider : ILiteDbDatabaseProvider
{
private readonly IConfiguration _config... | Use IConfiguration instead of IConfigurationRoot | Use IConfiguration instead of IConfigurationRoot
| C# | mit | tiksn/TIKSN-Framework |
c608b63b63a14a5c7949bf4de3359aa3400823d4 | src/Commands/KillCommand.cs | src/Commands/KillCommand.cs | /*
* SDB - Mono Soft Debugger Client
* Copyright 2013 Alex Rønne Petersen
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any late... | /*
* SDB - Mono Soft Debugger Client
* Copyright 2013 Alex Rønne Petersen
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any late... | Remove the silly `stop` alias for `kill`. | Remove the silly `stop` alias for `kill`.
| C# | mit | mono/sdb,mono/sdb |
43100b90549d3cf14bc276abd1d4406ae8e68015 | src/VideoConverter.cs | src/VideoConverter.cs | using System.Diagnostics;
namespace Cams
{
public static class VideoConverter
{
public static bool CodecCopy(string inputFile, string outputFile)
{
return Run($"-y -i {inputFile} -codec copy {outputFile}");
}
public static bool Concat(string listFilePath, string outputFile)
{
return Run($"-y -safe ... | using System.Diagnostics;
namespace Cams
{
public static class VideoConverter
{
public static bool CodecCopy(string inputFile, string outputFile)
{
return Run($"-y -i {inputFile} -codec copy {outputFile}");
}
public static bool Concat(string listFilePath, string outputFile)
{
return Run($"-y -safe ... | Drop audio in summary videos | Drop audio in summary videos
New Amcrest cameras record audio now
| C# | mit | chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/vlc-rtsp |
f110c050f79129d81da3a23f19b78da13b64039e | source/CSharp.BlankApplication/Program.cs | source/CSharp.BlankApplication/Program.cs | using System;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
}
}
}
| using System;
namespace $safeprojectname$
{
public class Program
{
public static void Main()
{
// Insert your code below this line
// The main() method has to end with this infinite loop.
// Do not use the NETMF style : Thread.Sleep(Timeout.Infinite)
while (true)
... | Update application template with working code to prevent the main thread from exiting | Update application template with working code to prevent the main thread from exiting
| C# | mit | nanoframework/nf-Visual-Studio-extension |
7f1e9c22894de895e5b12e1e1647d0053edb11d1 | src/PcscDotNet/PcscConnection.cs | src/PcscDotNet/PcscConnection.cs | namespace PcscDotNet
{
public class PcscConnection
{
public PcscContext Context { get; private set; }
public IPcscProvider Provider { get; private set; }
public string ReaderName { get; private set; }
public PcscConnection(PcscContext context, string readerName)
{
... | using System;
namespace PcscDotNet
{
public class PcscConnection : IDisposable
{
public PcscContext Context { get; private set; }
public SCardHandle Handle { get; private set; }
public bool IsConnect => Handle.HasValue;
public bool IsDisposed { get; private set; } = false;
... | Add properties and methods about connection. Implement `IDisposable` interface. | Add properties and methods about connection.
Implement `IDisposable` interface.
| C# | mit | Archie-Yang/PcscDotNet |
b2be561e3f37364406e2eb6d00f3f9ec9b97285c | src/Orchard/Caching/DefaultCacheHolder.cs | src/Orchard/Caching/DefaultCacheHolder.cs | using System;
using System.Collections.Generic;
using Castle.Core;
namespace Orchard.Caching {
public class DefaultCacheHolder : ICacheHolder {
private readonly IDictionary<CacheKey, object> _caches = new Dictionary<CacheKey, object>();
class CacheKey : Pair<Type, Pair<Type, Type>> {
... | using System;
using System.Collections.Concurrent;
namespace Orchard.Caching {
public class DefaultCacheHolder : ICacheHolder {
private readonly ConcurrentDictionary<CacheKey, object> _caches = new ConcurrentDictionary<CacheKey, object>();
class CacheKey : Tuple<Type, Type, Type> {
... | Use ConcurrentDictionary to simplify code | Use ConcurrentDictionary to simplify code
--HG--
branch : dev
| C# | bsd-3-clause | MetSystem/Orchard,dcinzona/Orchard-Harvest-Website,dcinzona/Orchard,xiaobudian/Orchard,li0803/Orchard,rtpHarry/Orchard,neTp9c/Orchard,yonglehou/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,MpDzik/Orchard,tobydodds/folklife,neTp9c/Orchard,mvarblow/Orchard,Praggie/Orchard,kgacova/Orchard,patricmutwiri/Orchard... |
0b3c16525e0bd2f08592189c770c5ac00d97679b | dotnet/Gherkin.AstGenerator/Program.cs | dotnet/Gherkin.AstGenerator/Program.cs | using System;
using System.Linq;
namespace Gherkin.AstGenerator
{
class Program
{
static int Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Usage: Gherkin.AstGenerator.exe test-feature-file.feature");
return 1... | using System;
using System.Linq;
namespace Gherkin.AstGenerator
{
class Program
{
static int Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Usage: Gherkin.AstGenerator.exe test-feature-file.feature");
return 1... | Print to STDOUT - 2> is broken on Mono/OS X | Print to STDOUT - 2> is broken on Mono/OS X
| C# | mit | dirkrombauts/gherkin3,Zearin/gherkin3,thiblahute/gherkin3,SabotageAndi/gherkin,pjlsergeant/gherkin,dg-ratiodata/gherkin3,hayd/gherkin3,moreirap/gherkin3,amaniak/gherkin3,amaniak/gherkin3,dirkrombauts/gherkin3,araines/gherkin3,moreirap/gherkin3,dirkrombauts/gherkin3,dirkrombauts/gherkin3,thetutlage/gherkin3,dirkrombauts... |
837a9065388adfb1a02926c304e5b61d501eb7e9 | Content.Client/UserInterface/StatusEffectsUI.cs | Content.Client/UserInterface/StatusEffectsUI.cs | using Content.Client.Utility;
using Robust.Client.Graphics;
using Robust.Client.Interfaces.ResourceManagement;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.IoC;
namespace Content.Client.UserInterface
{
/// <summary>
/// The status effects display on the... | using Content.Client.Utility;
using Robust.Client.Graphics;
using Robust.Client.Interfaces.ResourceManagement;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.IoC;
namespace Content.Client.UserInterface
{
/// <summary>
/// The status effects display on the... | Make Status Effects UI better positioned. | Make Status Effects UI better positioned.
| C# | mit | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content |
0c5752bf27942b035006252c3e21338d0d1cf7d1 | src/Locking/IDistributedAppLock.cs | src/Locking/IDistributedAppLock.cs | using System;
namespace RapidCore.Locking
{
/// <summary>
/// When implemented in a downstream locker provider, this instance contains a handle to the underlying lock instance
/// </summary>
public interface IDistributedAppLock : IDisposable
{
/// <summary>
/// The name of the lock ... | using System;
namespace RapidCore.Locking
{
/// <summary>
/// When implemented in a downstream locker provider, this instance contains a handle to the underlying lock instance
/// </summary>
public interface IDistributedAppLock : IDisposable
{
/// <summary>
/// The name of the lock ... | Add IsActive and ThrowIfNotActiveWithGivenName to AppLock interface | Add IsActive and ThrowIfNotActiveWithGivenName to AppLock interface
| C# | mit | rapidcore/rapidcore,rapidcore/rapidcore |
9d764ff16cdafdd6296fcd7334fdbafc5cc15bd0 | Cognition/Providers/TranslatorDataTypes.cs | Cognition/Providers/TranslatorDataTypes.cs | /* Empiria Extensions ****************************************************************************************
* *
* Module : Cognitive Services Component : Service provider ... | /* Empiria Extensions ****************************************************************************************
* *
* Module : Cognitive Services Component : Service provider ... | Use JsonProperty attribute and remove unused types | Use JsonProperty attribute and remove unused types
| C# | agpl-3.0 | Ontica/Empiria.Extended |
2d8831da460ebb032c4931266b051ea968819001 | vision/api/QuickStart/QuickStart.cs | vision/api/QuickStart/QuickStart.cs | // Copyright(c) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright(c) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | Add comments to vision quickstart. | Add comments to vision quickstart. | C# | apache-2.0 | jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples |
6073ccee10f8bdc523947f798e34651c1d89b95d | trunk/src/bindings/TAPCfgTest.cs | trunk/src/bindings/TAPCfgTest.cs |
using TAP;
using System;
using System.Net;
public class TAPCfgTest {
private static void Main(string[] args) {
EthernetDevice dev = new EthernetDevice();
dev.Start("Device name");
Console.WriteLine("Got device name: {0}", dev.DeviceName);
dev.MTU = 1280;
dev.SetAddress(IPAddress.Parse("192.168.1.1"), 16);
... |
using TAP;
using System;
using System.Net;
public class TAPCfgTest {
private static void Main(string[] args) {
EthernetDevice dev = new EthernetDevice();
dev.Start("Device name");
Console.WriteLine("Got device name: {0}", dev.DeviceName);
dev.MTU = 1280;
dev.SetAddress(IPAddress.Parse("192.168.1.1"), 16);
... | Print source and destination addresses on ICMPv6 packets | Print source and destination addresses on ICMPv6 packets
git-svn-id: 8d82213adbbc6b1538a984bace977d31fcb31691@115 2f5d681c-ba19-11dd-a503-ed2d4bea8bb5
| C# | lgpl-2.1 | shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg |
b5c950e089245da1ec3ee5b822290e9258bf6fcf | apod_api/APOD_API.cs | apod_api/APOD_API.cs | using System;
using System.Threading.Tasks;
using System.IO;
using System.Net;
using Newtonsoft.Json;
namespace apod_api
{
public sealed class APOD_API
{
public APOD_API()
{
date = DateTime.Today;
}
public void sendRequest()
{
generateURL();
... | using System;
using System.Threading.Tasks;
using System.IO;
using System.Net;
using Newtonsoft.Json;
namespace apod_api
{
public sealed class APOD_API
{
public APOD_API()
{
date = DateTime.Today;
}
public void sendRequest()
{
generateURL();
... | Switch to .Dispose() from .Close(). | Switch to .Dispose() from .Close().
| C# | mit | jmedrano87/nasa-apod-pcl |
e8d442c2b8ba4d5ee6b4db012e91931f1a7750ea | UnityProject/Assets/Scripts/Sound/SoundSpawn.cs | UnityProject/Assets/Scripts/Sound/SoundSpawn.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundSpawn : MonoBehaviour
{
public AudioSource audioSource;
//We need to handle this manually to prevent multiple requests grabbing sound pool items in the same frame
public bool isPlaying = false;
private float waitLead ... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoundSpawn : MonoBehaviour
{
public AudioSource audioSource;
//We need to handle this manually to prevent multiple requests grabbing sound pool items in the same frame
public bool isPlaying = false;
private f... | Fix UpdateManager NRE for soundspawn | Fix UpdateManager NRE for soundspawn
| C# | agpl-3.0 | fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation |
515ca9408ffb5d8be3d26b281489c9bf80dfe1e3 | MassTransit.Host.RabbitMQ/Program.cs | MassTransit.Host.RabbitMQ/Program.cs | // Copyright 2014 Ron Griffin, ...
//
// 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... | // Copyright 2014 Ron Griffin, ...
//
// 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... | Add exit code to console app; return HostFactory.Run result | Add exit code to console app; return HostFactory.Run result
| C# | apache-2.0 | rongriffin/MassTransit.Host.RabbitMQ |
20f1eb2b33765d477fdabf04a7f3e287fe2b9170 | osu.Desktop/Windows/GameplayWinKeyBlocker.cs | osu.Desktop/Windows/GameplayWinKeyBlocker.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Platform;
using osu.Game.Configuration;
namespace osu.D... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Platform;
using osu.Game;
using osu.Game.Configuration;
... | Fix windows key blocking applying when window is inactive / when watching a replay | Fix windows key blocking applying when window is inactive / when watching a replay
Closes #10467.
| C# | mit | NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu |
0fa9ad0676141bd5d8dfffa134e5583d21f8cda1 | Eco/Variables/PublicIpVariable.cs | Eco/Variables/PublicIpVariable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco.Variables
{
public class PublicIpVariable : IVariableProvider
{
string _lastIp;
DateTime _lastUpdate;
public Dictionary<string, Func<stri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco.Variables
{
public class PublicIpVariable : IVariableProvider
{
string _lastIp;
DateTime _lastUpdate;
public Dictionary<string, Func<stri... | Make PublicIp variable lazy again. | Make PublicIp variable lazy again.
| C# | apache-2.0 | lukyad/Eco |
000f95b0acbd44bcc14ded41875e1c10443a767a | TfsHipChat.Tests/TfsIdentityTests.cs | TfsHipChat.Tests/TfsIdentityTests.cs | using System.IO;
using Xunit;
namespace TfsHipChat.Tests
{
public class TfsIdentityTests
{
[Fact]
public void Url_ShouldReturnTheServerUrl_WhenDeserializedByValidXml()
{
const string serverUrl = "http://some-tfs-server.com";
const string tfsIdentityXm... | using System.IO;
using Xunit;
namespace TfsHipChat.Tests
{
public class TfsIdentityTests
{
[Fact]
public void Url_ShouldReturnTheServerUrl_WhenDeserializedUsingValidXml()
{
const string serverUrl = "http://some-tfs-server.com";
const string tfsIdentit... | Fix grammar in test name | Fix grammar in test name
| C# | mit | timclipsham/tfs-hipchat |
debeb3f75d076df5e9a035311650ad0b5e489a8b | src/LoadTests/ReadAll.cs | src/LoadTests/ReadAll.cs | namespace LoadTests
{
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using EasyConsole;
using SqlStreamStore.Streams;
public class ReadAll : LoadTest
{
protected override async Task RunAsync(CancellationToken ct)
{
... | namespace LoadTests
{
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using EasyConsole;
using SqlStreamStore.Streams;
public class ReadAll : LoadTest
{
protected override async Task RunAsync(CancellationToken ct)
{
... | Add option to enable prefetch or not. | Add option to enable prefetch or not.
| C# | mit | SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore |
d0eb2c906f0944bdb830b0fa3899a4d5ba45b952 | AsynchronousAndMultithreading/2.AsyncLambda/Program.cs | AsynchronousAndMultithreading/2.AsyncLambda/Program.cs | using System;
using System.Threading.Tasks;
using static System.Console;
namespace AsyncLambda
{
class Program
{
static async Task Main()
{
WriteLine("Started");
try
{
Process(async () =>
{
await Task.Delay... | using System;
using System.Threading.Tasks;
using static System.Console;
namespace AsyncLambda
{
class Program
{
static async Task Main()
{
WriteLine("Started");
try
{
Process(async () =>
{
await Task.Delay... | Comment code according to presentation's flow | Comment code according to presentation's flow
| C# | mit | Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode |
7e59520aaff11a8ab24817d446f65fc23a94f2c4 | src/Avalonia.Visuals/Media/RenderOptions.cs | src/Avalonia.Visuals/Media/RenderOptions.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Visuals.Media.Imaging;
namespace Avalonia.Media
{
public class RenderOptions
{
/// <summary>
/// Defines the <se... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Visuals.Media.Imaging;
namespace Avalonia.Media
{
public class RenderOptions
{
/// <summary>
/// Defines the <se... | Set default render quality to medium | Set default render quality to medium
| C# | mit | AvaloniaUI/Avalonia,wieslawsoltes/Perspex,akrisiun/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/... |
7ac9583bc22efd02f36618cb3dcb19648b819a29 | NetSparkleTestAppWPF/MainWindow.xaml.cs | NetSparkleTestAppWPF/MainWindow.xaml.cs | using System.Drawing;
using System.Windows;
namespace NetSparkle.TestAppWPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private Sparkle _sparkle;
public MainWindow()
{
... | using System.Drawing;
using System.Windows;
namespace NetSparkle.TestAppWPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private Sparkle _sparkle;
public MainWindow()
{
... | Remove unnecessary event callback in WPF demo | Remove unnecessary event callback in WPF demo
| C# | mit | Deadpikle/NetSparkle,Deadpikle/NetSparkle |
a291311c10c666452b1de71e4a8fdb8fa765d472 | src/AutoQueryable/Models/Enums/ClauseType.cs | src/AutoQueryable/Models/Enums/ClauseType.cs | using System;
namespace AutoQueryable.Models.Enums
{
[Flags]
public enum ClauseType : short
{
Select = 1 << 1,
Top = 1 << 2,
Take = 1 << 3,
Skip = 1 << 4,
OrderBy = 1 << 5,
OrderByDesc = 1 << 6,
Include = 1 << 7,
GroupBy = 1 << 8,
Fir... | using System;
namespace AutoQueryable.Models.Enums
{
[Flags]
public enum ClauseType : short
{
Select = 1 << 1,
Top = 1 << 2,
Take = 1 << 3,
Skip = 1 << 4,
OrderBy = 1 << 5,
OrderByDesc = 1 << 6,
GroupBy = 1 << 8,
First = 1 << 9,
Last ... | Remove Include from clause types. | Remove Include from clause types.
| C# | mit | trenoncourt/AutoQueryable |
4e67097dc3f61442592b1594c28710fbf00e72e0 | DesktopWidgets/Events/WidgetMouseDownEvent.cs | DesktopWidgets/Events/WidgetMouseDownEvent.cs | using System.Windows.Input;
namespace DesktopWidgets.Events
{
internal class WidgetMouseDownEvent : WidgetEventBase
{
public MouseButton MouseButton { get; set; }
}
} | using System.ComponentModel;
using System.Windows.Input;
namespace DesktopWidgets.Events
{
internal class WidgetMouseDownEvent : WidgetEventBase
{
[DisplayName("Mouse Button")]
public MouseButton MouseButton { get; set; }
}
} | Fix "Widget Mouse Down" event property friendly names | Fix "Widget Mouse Down" event property friendly names
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
d2b4b6e5e2c7a1f693b40ffc8c5c07701275c77a | src/Xamarin.Social/AssemblyInfo.cs | src/Xamarin.Social/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Xamarin.Social")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Xamarin.Social")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[asse... | Fix version and update copyright | Fix version and update copyright
| C# | apache-2.0 | aphex3k/Xamarin.Social,pacificIT/Xamarin.Social,xamarin/Xamarin.Social,moljac/Xamarin.Social,pacificIT/Xamarin.Social,aphex3k/Xamarin.Social,junian/Xamarin.Social,xamarin/Xamarin.Social,moljac/Xamarin.Social,junian/Xamarin.Social |
b05ab7fe62156711cb8e39defe56ca7104d0f9ae | Drawing/AppDelegate.cs | Drawing/AppDelegate.cs | using System;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
namespace Example_Drawing
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
#region -= declarations and properties =-
protected UIWindow window;
protected UINavigationController mainNavController;
protected Exam... | using System;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
namespace Example_Drawing
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
#region -= declarations and properties =-
protected UIWindow window;
protected UINavigationController mainNavController;
protected Exam... | Set navigation bar translucent to false to fix views overlapping. Fix bug | [Drawing] Set navigation bar translucent to false to fix views overlapping. Fix bug [14631] | C# | mit | a9upam/monotouch-samples,YOTOV-LIMITED/monotouch-samples,YOTOV-LIMITED/monotouch-samples,sakthivelnagarajan/monotouch-samples,albertoms/monotouch-samples,xamarin/monotouch-samples,davidrynn/monotouch-samples,sakthivelnagarajan/monotouch-samples,labdogg1003/monotouch-samples,kingyond/monotouch-samples,andypaul/monotouch... |
100b17dad96430d7a128e2affed53febf36e1c0a | SGEnviroTest/ApiTest.cs | SGEnviroTest/ApiTest.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SGEnviro;
namespace SGEnviroTest
{
[TestClass]
public class ApiTest
{
private string apiKey;
... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SGEnviro;
namespace SGEnviroTest
{
[TestClass]
public class ApiTest
{
private string apiKey;
... | Fix incorrectly implemented async test. | Fix incorrectly implemented async test.
| C# | mit | jcheng31/SGEnviro |
10234388e2379ab5c383381fe142f5365f4d2ed6 | src/RestKit/Properties/AssemblyInfo.cs | src/RestKit/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("RestKit")]
[assembly: AssemblyDescription("SIMPLE http client wrapper that eliminates the boilerplate code you don't want to write.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly:... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("RestKit")]
[assembly: AssemblyDescription("SIMPLE http client wrapper that eliminates the boilerplate code you don't want to write.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly:... | Increment minor version - breaking changes. | Increment minor version - breaking changes.
| C# | mit | bkjuice/RestKit |
fe2b84735bfd9ba728f807adfc18897db77cf5bb | ProcessGremlinApp/ArgumentParser.cs | ProcessGremlinApp/ArgumentParser.cs | using CommandLine;
namespace ProcessGremlinApp
{
public class ArgumentParser
{
public bool TryParse(string[] args, out Arguments arguments)
{
string invokedVerb = null;
object invokedVerbInstance = null;
var options = new Options();
if (Parser.De... | using CommandLine;
namespace ProcessGremlinApp
{
public class ArgumentParser
{
public bool TryParse(string[] args, out Arguments arguments)
{
if (args != null && args.Length != 0)
{
string invokedVerb = null;
object invokedVerbInstance = n... | Fix crashing in the case of empty args | Fix crashing in the case of empty args
| C# | bsd-3-clause | NathanLBCooper/ProcessGremlin |
05bd8ea89c350a78c7cbf3d1cbf64276cbcf2886 | src/AppHarbor/Program.cs | src/AppHarbor/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Windsor;
namespace AppHarbor
{
class Program
{
static void Main(string[] args)
{
var container = new WindsorContainer()
.Install(new AppHarborInstaller());
var commandDispatcher = container.Resolve<Comm... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Windsor;
namespace AppHarbor
{
class Program
{
static void Main(string[] args)
{
var container = new WindsorContainer()
.Install(new AppHarborInstaller());
var commandDispatcher = container.Resolve<Comm... | Write usage information if no parameters are specified | Write usage information if no parameters are specified
| C# | mit | appharbor/appharbor-cli |
4089eee761f09a19a07baab3dfd4f4b5d8808d2f | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Lu... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Lu... | Increment the version to 1.1. | Increment the version to 1.1.
| C# | bsd-2-clause | kamadak/lurkingwind |
e026e57ee8268ba866e0008037bd8c20e96f8e78 | src/Parsley/Grammar.Keyword.cs | src/Parsley/Grammar.Keyword.cs | namespace Parsley;
partial class Grammar
{
public static Parser<string> Keyword(string word)
{
if (word.Any(ch => !char.IsLetter(ch)))
throw new ArgumentException("Keywords may only contain letters.", nameof(word));
return input =>
{
var peek = input.Peek(word.L... | namespace Parsley;
partial class Grammar
{
public static Parser<string> Keyword(string word)
{
if (word.Any(ch => !char.IsLetter(ch)))
throw new ArgumentException("Keywords may only contain letters.", nameof(word));
return input =>
{
var peek = input.Peek(word.L... | Remove superfluous StringComparison.Ordinal argument from ReadOnlySpan<char>.StarstWith(...) call, since the overload without a StringComparison in fact performs ordinal comparison semantics and the original call ultimately calls into the overload with no StringComparison argument anyway. In other words, you only have ... | Remove superfluous StringComparison.Ordinal argument from ReadOnlySpan<char>.StarstWith(...) call, since the overload without a StringComparison in fact performs ordinal comparison semantics and the original call ultimately calls into the overload with no StringComparison argument anyway. In other words, you only have ... | C# | mit | plioi/parsley |
f227ab5010f438e692e49d813ac2fcab2fff426a | EarTrumpet/Extensions/AppExtensions.cs | EarTrumpet/Extensions/AppExtensions.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using Windows.ApplicationModel;
namespace EarTrumpet.Extensions
{
public static class AppExtensions
{
public static Version GetVersion(this Application app)
{
if (HasIdentity(app))
{
... | using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using Windows.ApplicationModel;
using EarTrumpet.Diagnosis;
namespace EarTrumpet.Extensions
{
public static class AppExtensions
{
public static Version GetVersion(this Application app)
{
if (HasIdentity(... | Clean up lingering AppTrace reference | Clean up lingering AppTrace reference
| C# | mit | File-New-Project/EarTrumpet |
c9accfd67018e19f1b502f1ab98923e16e1f1dfb | Assets/Editor/Alensia/Core/UI/ComponentFactory.cs | Assets/Editor/Alensia/Core/UI/ComponentFactory.cs | using System;
using UnityEditor;
using UnityEngine;
namespace Alensia.Core.UI
{
public static class ComponentFactory
{
[MenuItem("GameObject/UI/Alensia/Button", false, 10)]
public static Button CreateButton(MenuCommand command) => CreateComponent(command, Button.CreateInstance);
[MenuI... | using System;
using UnityEditor;
using UnityEngine;
namespace Alensia.Core.UI
{
public static class ComponentFactory
{
[MenuItem("GameObject/UI/Alensia/Label", false, 10)]
public static Label CreateLabel(MenuCommand command) => CreateComponent(command, Label.CreateInstance);
[MenuItem(... | Rearrange UI menu according to component types | Rearrange UI menu according to component types
| C# | apache-2.0 | mysticfall/Alensia |
dcd6c2c62131af0774c4f870bd5ace8366bb86fc | Eco/Variables/PublicIpVariable.cs | Eco/Variables/PublicIpVariable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco.Variables
{
public class PublicIpVariable : IVariableProvider
{
public Dictionary<string, Func<string>> GetVariables()
{
return new Di... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco.Variables
{
public class PublicIpVariable : IVariableProvider
{
string _lastIp;
DateTime _lastUpdate;
public Dictionary<string, Func<stri... | Refresh IP address not often than 1 time per minute. | Refresh IP address not often than 1 time per minute.
| C# | apache-2.0 | lukyad/Eco |
5d35cb9e8ec79d97123476c0eae4f09387720016 | Entities/Components/Behaviours/Controller.cs | Entities/Components/Behaviours/Controller.cs | using Andromeda2D.Entities;
using Andromeda2D.Entities.Components;
using Andromeda2D.Entities.Components.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Andromeda.Entities.Components
{
/// <summary>
/// A controller for a... | using Andromeda2D.Entities;
using Andromeda2D.Entities.Components;
using Andromeda2D.Entities.Components.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Andromeda.Entities.Components
{
/// <summary>
/// A controller for a... | Change InitModel from public to protected | Change InitModel from public to protected
No reason for it to be public.
| C# | mit | Vorlias/Andromeda |
5c7b0314069bf363dc810fb5864d39cec442e78e | MultiMiner.Remoting.Server/RemotingServer.cs | MultiMiner.Remoting.Server/RemotingServer.cs | using System;
using System.ServiceModel;
namespace MultiMiner.Remoting.Server
{
public class RemotingServer
{
private bool serviceStarted = false;
private ServiceHost myServiceHost = null;
public void Startup()
{
Uri baseAddress = new Uri("net.tcp://localho... | using System;
using System.ServiceModel;
namespace MultiMiner.Remoting.Server
{
public class RemotingServer
{
private bool serviceStarted = false;
private ServiceHost myServiceHost = null;
public void Startup()
{
Uri baseAddress = new Uri("net.tcp://localho... | Fix a null ref error | Fix a null ref error
| C# | mit | nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner |
5aecc31f2cd8ddadb82615dd36483fafb875c6a7 | VideoAggregator/Program.cs | VideoAggregator/Program.cs | using System;
using Gtk;
namespace VideoAggregator
{
class MainClass
{
public static void Main (string[] args)
{
Application.Init ();
MainWindow win = new MainWindow ();
win.Show ();
Application.Run ();
}
}
}
| using System;
using Gtk;
namespace VideoAggregator
{
class MainClass
{
public static void Main (string[] args)
{
Application.Init ();
MainWindow win = new MainWindow ();
win.Maximize ();
win.Show ();
Application.Run ();
}
}
}
| Make program maximized on start | Make program maximized on start
| C# | mit | Lakon/VideoAggregator |
c123eb4ae03fffa5c20f1f5a6bd12c5454172122 | CuberLib/ImageTile.cs | CuberLib/ImageTile.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CuberLib
{
public class ImageTile
{
private Image image;
private Size size;
public ImageTi... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CuberLib
{
public class ImageTile
{
private Image image;
private Size size;
public ImageTi... | Create output directory if needed for jpg slicing. | Create output directory if needed for jpg slicing.
| C# | mit | PyriteServer/PyriteCli,PyriteServer/PyriteCli,PyriteServer/PyriteCli |
3c912162801af8345ec6fe029c61b0d6e3c9287b | Battery-Commander.Web/Models/Vehicle.cs | Battery-Commander.Web/Models/Vehicle.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Vehicle
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[Required]
publi... | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Vehicle
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
[Required]
publi... | Add note about things to add for vehicles | Add note about things to add for vehicles
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
56308d1b0b58227b37fdae46f4cb0ea75136171c | SocialToolBox.Sample.Web/InitialData.cs | SocialToolBox.Sample.Web/InitialData.cs | using System;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Database.Serialization;
using SocialToolBox.Crm.Contact.Event;
namespace SocialToolBox.Sample.Web
{
/// <summary>
/// Data initially available in the system.
/// </summary>
public static class InitialData
{
public st... | using System;
using SocialToolBox.Core.Database;
using SocialToolBox.Crm.Contact.Event;
namespace SocialToolBox.Sample.Web
{
/// <summary>
/// Data initially available in the system.
/// </summary>
public static class InitialData
{
public static readonly Id UserVictorNicollet = Id.Parse("a... | Add a second contact to initial sample data | Add a second contact to initial sample data
| C# | mit | VictorNicollet/SocialToolBox |
68337df64377032faa9b86538164dacb30551fcf | osu.Game/Tests/Gameplay/TestGameplayState.cs | osu.Game/Tests/Gameplay/TestGameplayState.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 enable
using System.Collections.Generic;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Scoring;
using osu.Game.Screens.Play;
using osu.... | // 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 enable
using System.Collections.Generic;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Scoring;
using osu.Game.Screens.Play;
using osu.... | Fix tests by creating a score processor | Fix tests by creating a score processor
| C# | mit | ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu |
0fc76080896695e1f0569b3188f2489532a886a2 | src/CodeBreaker.WebApp/Storage/ScoreStore.cs | src/CodeBreaker.WebApp/Storage/ScoreStore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CodeBreaker.Core;
using CodeBreaker.Core.Storage;
using Microsoft.EntityFrameworkCore;
namespace CodeBreaker.WebApp.Storage
{
public class ScoreStore : IScoreStore
{
private readonly CodeBreakerDbCont... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CodeBreaker.Core;
using CodeBreaker.Core.Storage;
using Microsoft.EntityFrameworkCore;
namespace CodeBreaker.WebApp.Storage
{
public class ScoreStore : IScoreStore
{
private readonly CodeBreakerDbCont... | Fix for slow high score loading | Fix for slow high score loading
| C# | mit | vlesierse/codebreaker,vlesierse/codebreaker,vlesierse/codebreaker |
e6d3bda079b5d9fe28c4c53500a782f07270fd74 | src/Glimpse.Web.Common/GlimpseWebServices.cs | src/Glimpse.Web.Common/GlimpseWebServices.cs | using System;
using System.Collections.Generic;
using Glimpse.Web;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse
{
public class GlimpseWebServices
{
public static IServiceCollection GetDefaultServices()
{
var services = new ServiceCollection();
... | using System;
using System.Collections.Generic;
using Glimpse.Web;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse
{
public class GlimpseWebServices
{
public static IServiceCollection GetDefaultServices()
{
var services = new ServiceCollection();
... | Add default RequestRuntime to service registration | Add default RequestRuntime to service registration
| C# | mit | pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.