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 |
|---|---|---|---|---|---|---|---|---|---|
535ad09a57cc22f473d7f75df292dd8a96082304 | Criteo.Profiling.Tracing/TraceContext.cs | Criteo.Profiling.Tracing/TraceContext.cs | using System.Runtime.Remoting.Messaging;
namespace Criteo.Profiling.Tracing
{
internal static class TraceContext
{
private const string TraceCallContextKey = "crto_trace";
public static Trace Get()
{
return CallContext.LogicalGetData(TraceCallContextKey) as Trace;
... | using System;
using System.Runtime.Remoting.Messaging;
namespace Criteo.Profiling.Tracing
{
internal static class TraceContext
{
private const string TraceCallContextKey = "crto_trace";
private static readonly bool IsRunningOnMono = (Type.GetType("Mono.Runtime") != null);
public stat... | Add check for Mono for LogicalCallContext | Add check for Mono for LogicalCallContext
Some projects are running an outdated Mono version which does not implement LogicalCallContext.
Change-Id: I07d90a8cd3c909c17bbd9e856816ce625379512f
| C# | apache-2.0 | criteo/zipkin4net,criteo/zipkin4net |
67fc879a972441132893f743a825c7a5f0e99306 | test/GitHub.Exports.UnitTests/ApiExceptionExtensionsTests.cs | test/GitHub.Exports.UnitTests/ApiExceptionExtensionsTests.cs | using System.Collections.Generic;
using System.Collections.Immutable;
using Octokit;
using NSubstitute;
using NUnit.Framework;
using GitHub.Extensions;
public class ApiExceptionExtensionsTests
{
public class TheIsGitHubApiExceptionMethod
{
[TestCase("Not-GitHub-Request-Id", false)]
[TestCase("... | using System.Collections.Generic;
using System.Collections.Immutable;
using Octokit;
using NSubstitute;
using NUnit.Framework;
using GitHub.Extensions;
public class ApiExceptionExtensionsTests
{
public class TheIsGitHubApiExceptionMethod
{
[TestCase("Not-GitHub-Request-Id", false)]
[TestCase("... | Add test when IResponse not set | Add test when IResponse not set
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio |
feb39920c5d9e3d5353ab71eb5be230767af1273 | osu.Android/OsuGameActivity.cs | osu.Android/OsuGameActivity.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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | // 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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | Allow rotation lock on Android to function properly | Allow rotation lock on Android to function properly
According to Google's documentation, fullSensor will ignore rotation
locking preferences, while fullUser will obey them.
Signed-off-by: tytydraco <1a6917f7786c6ba900af5d5dbd13cb4a5214f8a7@gmail.com>
| C# | mit | NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu |
cc46d0ca12547591d09c1a96cc24718ae78d0f50 | AddinBrowser/AddinBrowserWidget.cs | AddinBrowser/AddinBrowserWidget.cs | using Gtk;
using Mono.Addins;
using MonoDevelop.Ide.Gui;
using MonoDevelop.Ide.Gui.Components;
namespace MonoDevelop.AddinMaker.AddinBrowser
{
class AddinBrowserWidget : VBox
{
ExtensibleTreeView treeView;
public AddinBrowserWidget (AddinRegistry registry)
{
Registry = registry;
Build ()... | using Gtk;
using Mono.Addins;
using MonoDevelop.Ide.Gui;
using MonoDevelop.Ide.Gui.Components;
namespace MonoDevelop.AddinMaker.AddinBrowser
{
class AddinBrowserWidget : HPaned
{
ExtensibleTreeView treeView;
public AddinBrowserWidget (AddinRegistry registry)
{
Registry = registry;
Build ... | Add detail panel, currently empty | [Browser] Add detail panel, currently empty
| C# | mit | mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker |
8c33934a2988be5344c47a0b737d9dca595bf9f2 | Models/DetailProvider.cs | Models/DetailProvider.cs | using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using TirkxDownloader.Framework;
namespace TirkxDownloader.Models
{
public class DetailProvider
{
public async Task GetFileDetail(DownloadInfo detail, CancellationToken ct)
{
try
{
... | using System;
using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using TirkxDownloader.Framework;
using TirkxDownloader.Models;
namespace TirkxDownloader.Models
{
public class DetailProvider
{
private Author... | Fix download didn't start by close response in getFileDetail, implement FillCredential method | Fix download didn't start by close response in getFileDetail, implement FillCredential method
| C# | mit | witoong623/TirkxDownloader,witoong623/TirkxDownloader |
a730349629c5b3f39a0107980a39bbb5161125cf | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.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.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.Containers;
using osu.Framework.Screens;
usin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.Containers;
using osu.Framework.Screens;
usin... | Remove the ignore attribute once again | Remove the ignore attribute once again
| C# | mit | ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu |
116421a35d8abcd3905514284e66ff0c79353b38 | Holoholona/Views/Home/Index.cshtml | Holoholona/Views/Home/Index.cshtml | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script>
var data = (function ($) {
var getData = (function() {
$.ajax({
method: "GET",
url: "GetMammals",
dataType: "json",
... | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script>
var data = (function ($) {
var getData = (function() {
$.ajax({
method: "GET",
url: "@Url.Action("GetMammals", "Home")",
dataT... | Fix 404 error when calling GetMammals, incorrect route | Fix 404 error when calling GetMammals, incorrect route
| C# | mit | MortenLiebmann/holoholona,MortenLiebmann/holoholona |
643ed549d6084905780e67eeccfa441bafa86ed7 | src/License.Manager.Core/Model/Customer.cs | src/License.Manager.Core/Model/Customer.cs | using ServiceStack.ServiceHost;
namespace License.Manager.Core.Model
{
[Route("/customers", "POST")]
[Route("/customers/{Id}", "PUT, DELETE")]
[Route("/customers/{Id}", "GET, OPTIONS")]
public class Customer : EntityBase
{
public string Name { get; set; }
public string Company { ge... | using ServiceStack.ServiceHost;
namespace License.Manager.Core.Model
{
[Route("/customers", "POST")]
[Route("/customers/{Id}", "PUT, DELETE")]
[Route("/customers/{Id}", "GET, OPTIONS")]
public class Customer : EntityBase, IReturn<Customer>
{
public string Name { get; set; }
public ... | Add response DTO marker interface for service documentation | Add response DTO marker interface for service documentation
| C# | mit | dnauck/License.Manager,dnauck/License.Manager |
24e163a72dd4aa7059371e716698d1d6d672b3b4 | ReoGrid/Print/WPFPrinter.cs | ReoGrid/Print/WPFPrinter.cs | /*****************************************************************************
*
* ReoGrid - .NET Spreadsheet Control
*
* https://reogrid.net/
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES O... | /*****************************************************************************
*
* ReoGrid - .NET Spreadsheet Control
*
* https://reogrid.net/
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES O... | Fix compiling error on .net451 | Fix compiling error on .net451
| C# | mit | unvell/ReoGrid,unvell/ReoGrid |
49077b0f69c4aa1651d65db6537385f5f1587fc5 | Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowAirs.cs | Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowAirs.cs | namespace TraktApiSharp.Objects.Get.Shows
{
using Newtonsoft.Json;
/// <summary>
/// The air time of a Trakt show.
/// </summary>
public class TraktShowAirs
{
/// <summary>
/// The day of week on which the show airs.
/// </summary>
[JsonProperty(PropertyName = "... | namespace TraktApiSharp.Objects.Get.Shows
{
using Newtonsoft.Json;
/// <summary>The air time of a Trakt show.</summary>
public class TraktShowAirs
{
/// <summary>Gets or sets the day of week on which the show airs.</summary>
[JsonProperty(PropertyName = "day")]
public string Da... | Add documentation for show airs. | Add documentation for show airs.
| C# | mit | henrikfroehling/TraktApiSharp |
9cea63f3679d79afe5c85f54c47e212c9e2ca243 | LanguageExt.Tests/DelayTests.cs | LanguageExt.Tests/DelayTests.cs | using LanguageExt;
using static LanguageExt.Prelude;
using System;
using System.Reactive.Linq;
using System.Threading;
using Xunit;
namespace LanguageExtTests
{
public class DelayTests
{
[Fact]
public void DelayTest1()
{
var span = TimeSpan.FromMilliseconds(500);
... | using LanguageExt;
using static LanguageExt.Prelude;
using System;
using System.Reactive.Linq;
using System.Threading;
using Xunit;
namespace LanguageExtTests
{
public class DelayTests
{
#if !CI
[Fact]
public void DelayTest1()
{
var span = TimeSpan.FromMilliseconds(500);
... | Remove delay test for CI for now | Remove delay test for CI for now
| C# | mit | louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext |
43219182bbc403cc5a51dd9236eeb982db867663 | Presentation.Web/Global.asax.cs | Presentation.Web/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace OS2Indberetning
{
public class WebApiApplication : System... | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Http.ExceptionHandling;
using System.Web.Http.Controllers;
using System.Net.Http.Headers;
using System.Diagnostics;
using ActionFilterAttribute = System.Web.Http.Filters.ActionFilterAttribute;
namesp... | Add debug logging and injection of "Accept-Charset" header that is required when running on Mono | Add debug logging and injection of "Accept-Charset" header that is required when running on Mono
| C# | mpl-2.0 | os2indberetning/os2indberetning,os2indberetning/os2indberetning,os2indberetning/os2indberetning,os2indberetning/os2indberetning |
0f11cfe97478a6d85e806def528efd4f982dab42 | osu.Framework/Threading/GameThreadSynchronizationContext.cs | osu.Framework/Threading/GameThreadSynchronizationContext.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.Diagnostics;
using System.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts 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 System.Diagnostics;
using System.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts a... | Add xmldoc describing `SynchronizationContext` behaviour | Add xmldoc describing `SynchronizationContext` behaviour
| C# | mit | peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework |
029da35be96d8235428dc5d585534e002a8f49d7 | MultiMiner.Xgminer.Api/DeviceInformation.cs | MultiMiner.Xgminer.Api/DeviceInformation.cs | using System;
namespace MultiMiner.Xgminer.Api
{
public class DeviceInformation
{
public DeviceInformation()
{
Status = String.Empty;
}
public string Kind { get; set; }
public string Name { get; set; }
public int Index { get; set; }
public bo... | using System;
namespace MultiMiner.Xgminer.Api
{
public class DeviceInformation
{
public DeviceInformation()
{
Status = String.Empty;
Name = String.Empty; //cgminer may / does not return this
}
public string Kind { get; set; }
public string Name ... | Fix a null reference error using cgminer as a backend | Fix a null reference error using cgminer as a backend
| C# | mit | nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner |
e3f67bb111986d57b496274f024af75b09065ea3 | Saule/Serialization/ResourceDeserializer.cs | Saule/Serialization/ResourceDeserializer.cs | using System;
using Newtonsoft.Json.Linq;
namespace Saule.Serialization
{
internal class ResourceDeserializer
{
private readonly JToken _object;
private readonly Type _target;
public ResourceDeserializer(JToken @object, Type target)
{
_object = @object;... | using System;
using Newtonsoft.Json.Linq;
namespace Saule.Serialization
{
internal class ResourceDeserializer
{
private readonly JToken _object;
private readonly Type _target;
public ResourceDeserializer(JToken @object, Type target)
{
_object = @object;... | Fix failing style check... second attempt | Fix failing style check... second attempt
| C# | mit | goo32/saule |
22b7a09733c01633bf6bb4178b959d670b018476 | Assets/UnityTouchRecorder/Scripts/TouchRecorderController.cs | Assets/UnityTouchRecorder/Scripts/TouchRecorderController.cs | using UnityEngine;
namespace UnityTouchRecorder
{
public class TouchRecorderController : MonoBehaviour
{
UnityTouchRecorderPlugin plugin = new UnityTouchRecorderPlugin();
[SerializeField]
TouchRecorderView view;
void Awake()
{
Object.DontDestroyOnLoad(game... | using UnityEngine;
namespace UnityTouchRecorder
{
public class TouchRecorderController : MonoBehaviour
{
UnityTouchRecorderPlugin plugin = new UnityTouchRecorderPlugin();
[SerializeField]
TouchRecorderView view;
void Awake()
{
Object.DontDestroyOnLoad(game... | Clear record before start new recording | Clear record before start new recording
| C# | mit | thedoritos/unity-touch-recorder |
142f9b83ddcb9818455f666c680c27f8fa097ad9 | Assets/UniEditorScreenshot/Editor/CaptureWindow.cs | Assets/UniEditorScreenshot/Editor/CaptureWindow.cs | using UnityEngine;
using UnityEditor;
using System;
using System.IO;
using System.Collections;
public class CaptureWindow : EditorWindow{
private string saveFileName = string.Empty;
private string saveDirPath = string.Empty;
[MenuItem("Window/Capture Editor")]
private static void Capture() {
... | using UnityEngine;
using UnityEditor;
using System;
public class CaptureWindow : EditorWindow
{
private string saveFileName = string.Empty;
private string saveDirPath = string.Empty;
[MenuItem("Window/Screenshot Capture")]
private static void Capture()
{
EditorWindow.GetWindow(typeof(Capt... | Change output path, change screentshot image file name. | Change output path, change screentshot image file name.
| C# | mit | sanukin39/UniEditorScreenshot |
46c0a998996fae9920c85352d869ed2a19bf2405 | CefSharp/IKeyboardHandler.cs | CefSharp/IKeyboardHandler.cs | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface IKeyboardHandler
{
bool OnKeyEvent(IWebBrowser browser, KeyType type, int code, CefEventFlag... | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface IKeyboardHandler
{
bool OnKeyEvent(IWebBrowser browser, KeyType type, int code, CefEventFlag... | Make OnPreKeyEvent isKeyboardShortcut a ref param | Make OnPreKeyEvent isKeyboardShortcut a ref param
| C# | bsd-3-clause | Livit/CefSharp,AJDev77/CefSharp,battewr/CefSharp,rlmcneary2/CefSharp,illfang/CefSharp,gregmartinhtc/CefSharp,Livit/CefSharp,zhangjingpu/CefSharp,VioletLife/CefSharp,dga711/CefSharp,Haraguroicha/CefSharp,Livit/CefSharp,NumbersInternational/CefSharp,VioletLife/CefSharp,zhangjingpu/CefSharp,yoder/CefSharp,ruisebastiao/Cef... |
316159ed18bc94d2450d51f85aa232e3e19c44e5 | LanguagePatches/Translation.cs | LanguagePatches/Translation.cs | /**
* Language Patches Framework
* Translates the game into different Languages
* Copyright (c) 2016 Thomas P.
* Licensed under the terms of the MIT License
*/
using System;
namespace LanguagePatches
{
/// <summary>
/// A class that represents a text translation
/// </summary>
public class Tra... | /**
* Language Patches Framework
* Translates the game into different Languages
* Copyright (c) 2016 Thomas P.
* Licensed under the terms of the MIT License
*/
using System;
using System.Text.RegularExpressions;
namespace LanguagePatches
{
/// <summary>
/// A class that represents a text translation
... | Use placeholder expressions, {nr} doesn't work because of ConfigNode beign weird | Use placeholder expressions, {nr} doesn't work because of ConfigNode beign weird
| C# | mit | LanguagePatches/LanguagePatches-Framework |
cf21f1d8080a418e128232926fff21a8866367f1 | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | 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 |
d61d8bfa40cc0a823795844d78adec2e260326e3 | src/Bakery/Configuration/Properties/PropertyNotFoundException.cs | src/Bakery/Configuration/Properties/PropertyNotFoundException.cs | namespace Bakery.Configuration.Properties
{
using System;
public class PropertyNotFoundException
: Exception
{
private readonly String propertyName;
public PropertyNotFoundException(String propertyName)
{
this.propertyName = propertyName;
}
public override String Message
{
get... | namespace Bakery.Configuration.Properties
{
using System;
public class PropertyNotFoundException
: Exception
{
private readonly String propertyName;
public PropertyNotFoundException(String propertyName)
{
this.propertyName = propertyName;
}
public override String Message
{
get... | Remove erroneous "$" symbol from "bling string." | Remove erroneous "$" symbol from "bling string."
| C# | mit | brendanjbaker/Bakery |
7fa0e75288a7124a55728feecb140ef02140b133 | DesktopWidgets/Widgets/Search/Settings.cs | DesktopWidgets/Widgets/Search/Settings.cs | using System.ComponentModel;
using System.Windows;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.Width = 150;
Style.FramePadding = new Thickness(0);
}
... | using System.ComponentModel;
using System.Windows;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.Search
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Style.Width = 150;
Style.FramePadding = new Thickness(0);
}
... | Change default Search URL Prefix | Change default Search URL Prefix
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
f9f53041b9da87946b63230b362691ff30b2bc36 | src/Exceptionless.Core/Extensions/UriExtensions.cs | src/Exceptionless.Core/Extensions/UriExtensions.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
namespace Exceptionless.Core.Extensions {
public static class UriExtensions {
public static string ToQueryString(this NameValueCollection collection) {
return collection.AsKeyValuePairs().T... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
namespace Exceptionless.Core.Extensions {
public static class UriExtensions {
public static string ToQueryString(this NameValueCollection collection) {
return collection.AsKeyValuePairs().T... | Fix encoding issue while the query string parameters contains Chinese characters | Fix encoding issue while the query string parameters contains Chinese characters
| C# | apache-2.0 | exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless |
12131d92390a208b7f6189269a21f17774c97d17 | src/IdentityServer4/Test/TestUserProfileService.cs | src/IdentityServer4/Test/TestUserProfileService.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Extensions;
using IdentityServer4.Models;
using IdentityServer4.Services;
using Microsoft.Extensions.Logging;
using Sys... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Extensions;
using IdentityServer4.Models;
using IdentityServer4.Services;
using Microsoft.Extensions.Logging;
using Sys... | Make TestUserProfile service more derivation friendly | Make TestUserProfile service more derivation friendly
| C# | apache-2.0 | jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,jbijlsma/Identity... |
1a26658ba4d3ab18ce3661bb4f1ec4b8405d825d | osu.Game.Rulesets.Mania/Edit/Setup/ManiaSetupSection.cs | osu.Game.Rulesets.Mania/Edit/Setup/ManiaSetupSection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Screens.Edit.Setup;
namespace osu.Game.Rulesets.Man... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game.Screens.Edit.Setup;
namespace osu.Game.Rulesets.Man... | Add description for mania special style | Add description for mania special style
| C# | mit | NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu |
2203465c2f43187d1be43a1c61d554ea67f94ede | src/dotless.Core/Plugins/ColorSpinPlugin.cs | src/dotless.Core/Plugins/ColorSpinPlugin.cs | namespace dotless.Core.Plugins
{
using System;
using Parser.Infrastructure.Nodes;
using Parser.Tree;
using Utils;
using System.ComponentModel;
[Description("Automatically spins all colors in a less file"), DisplayName("ColorSpin")]
public class ColorSpinPlugin : VisitorPlugin
{
... | namespace dotless.Core.Plugins
{
using Parser.Infrastructure.Nodes;
using Parser.Tree;
using Utils;
using System.ComponentModel;
[Description("Automatically spins all colors in a less file"), DisplayName("ColorSpin")]
public class ColorSpinPlugin : VisitorPlugin
{
public double Spi... | Refactor away property setter usages to allow Color to be immutable. | Refactor away property setter usages to allow Color to be immutable.
| C# | apache-2.0 | dotless/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless |
85a4b2188881aaea531757bbb19f2684aa7bff40 | src/SIM.Tool.Windows/MainWindowComponents/CreateSupportPatchButton.cs | src/SIM.Tool.Windows/MainWindowComponents/CreateSupportPatchButton.cs | namespace SIM.Tool.Windows.MainWindowComponents
{
using System.IO;
using System.Windows;
using Sitecore.Diagnostics.Base;
using Sitecore.Diagnostics.Base.Annotations;
using SIM.Core;
using SIM.Instances;
using SIM.Tool.Base;
using SIM.Tool.Base.Plugins;
[UsedImplicitly]
public class CreateSupportP... | namespace SIM.Tool.Windows.MainWindowComponents
{
using System;
using System.IO;
using System.Windows;
using Sitecore.Diagnostics.Base;
using Sitecore.Diagnostics.Base.Annotations;
using SIM.Core;
using SIM.Instances;
using SIM.Tool.Base;
using SIM.Tool.Base.Plugins;
[UsedImplicitly]
public clas... | Add support of Patch Creator 1.0.0.9 | Add support of Patch Creator 1.0.0.9
| C# | mit | dsolovay/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager |
17ad6648d1e837a7a85f57792a9185377b37bd52 | osu.Game.Tests/Visual/SongSelect/TestSceneDifficultyRangeFilterControl.cs | osu.Game.Tests/Visual/SongSelect/TestSceneDifficultyRangeFilterControl.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Screens.Select;
using osuTK;
namespace osu.Game.Tests.Visual.SongSelect
{
publi... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Screens.Select;
using osuTK;
namespace osu.Game.Tests.Visual.SongSelect
{
publi... | Fix new test failing on headless runs | Fix new test failing on headless runs
| C# | mit | ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu |
1a6d39cb5fbe115c20a1e267c6a210446830d422 | src/MonoDevelop.Dnx/MonoDevelop.Dnx/DnxProjectConfiguration.cs | src/MonoDevelop.Dnx/MonoDevelop.Dnx/DnxProjectConfiguration.cs | //
// DnxProjectConfiguration.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | //
// DnxProjectConfiguration.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | Use external console when running DNX apps. | Use external console when running DNX apps.
This allows DNX web projects to remain running. If an external console
is not used then the dnx.exe process is terminated for some reason.
| C# | mit | mrward/monodevelop-dnx-addin |
4882137ffb2127fd9dd6c5dbb7af18e9e44c4b30 | Battery-Commander.Web/Views/APFT/List.cshtml | Battery-Commander.Web/Views/APFT/List.cshtml | @model IEnumerable<APFT>
<div class="page-header">
<h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped" id="dt">
<thead>
<tr>
<th>Soldier</th>
<th>Date</th>
<th>Score</th>
... | @model IEnumerable<APFT>
<div class="page-header">
<h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped" id="dt">
<thead>
<tr>
<th>Soldier</th>
<th>Date</th>
<th>Score</th>
... | Add indicator to APFT list | Add indicator to APFT list
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
2002a2c06f9595a06cb9fec14cc20fb346bdb19d | BudgetAnalyser.UnitTest/MetaTest.cs | BudgetAnalyser.UnitTest/MetaTest.cs | using System;
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BudgetAnalyser.UnitTest
{
[TestClass]
public class MetaTest
{
private const int ExpectedMinimumTests = 836;
[TestMethod]
public void ListAllTests()
... | using System;
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BudgetAnalyser.UnitTest
{
[TestClass]
public class MetaTest
{
private const int ExpectedMinimumTests = 868;
[TestMethod]
public void ListAllTests()
... | Increase number of tests total | Increase number of tests total
| C# | mit | Benrnz/BudgetAnalyser |
a857fc8918a2364d2617fe955685e71259e5c809 | Agiil.Bootstrap/Data/DataModule.cs | Agiil.Bootstrap/Data/DataModule.cs | using System;
using Agiil.Data;
using Agiil.Domain.Data;
using Autofac;
using CSF.Data;
using CSF.Data.Entities;
using CSF.Data.NHibernate;
namespace Agiil.Bootstrap.Data
{
public class DataModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.RegisterType<NHibe... | using System;
using Agiil.Data;
using Agiil.Domain.Data;
using Autofac;
using CSF.Data;
using CSF.Data.Entities;
using CSF.Data.NHibernate;
namespace Agiil.Bootstrap.Data
{
public class DataModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder
.RegisterType<NHibe... | Add repository to bootstrap registrations | Add repository to bootstrap registrations
| C# | mit | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil |
1f20236db91b780c299d8c6fd0293e15afc1f0ab | Bindings/UWP/UwpUrhoInitializer.cs | Bindings/UWP/UwpUrhoInitializer.cs | using System;
using System.IO;
using System.Runtime.InteropServices;
using Windows.Storage;
namespace Urho.UWP
{
public static class UwpUrhoInitializer
{
internal static void OnInited()
{
var folder = ApplicationData.Current.LocalFolder.Path;
}
}
}
| using System;
using System.IO;
using System.Runtime.InteropServices;
using Windows.Storage;
namespace Urho.UWP
{
public static class UwpUrhoInitializer
{
internal static void OnInited()
{
var folder = ApplicationData.Current.LocalFolder.Path;
if (IntPtr.Size == 8)
{
throw new NotSupportedException(... | Add warning for UWP that it works only in x86 yet | Add warning for UWP that it works only in x86 yet
| C# | mit | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho |
65467a4446e882613f62f05c17df0096d4e81f0f | SH.Site/Views/Partials/_Menu.cshtml | SH.Site/Views/Partials/_Menu.cshtml | @inherits UmbracoViewPage<MenuViewModel>
<a href="#menu" id="menu-link">
<i class="fa fa-bars" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</a>
<div id="menu">
<div class="pure-menu">
<span class="pure-menu-heading">@Model.SiteName</span>
<ul class="pure-menu-lis... | @model MenuViewModel
<a href="#menu" id="menu-link">
<i class="fa fa-bars" aria-hidden="true"></i>
<i class="fa fa-times" aria-hidden="true"></i>
</a>
<div id="menu">
<div class="pure-menu">
<span class="pure-menu-heading">@Model.SiteName</span>
<ul class="pure-menu-list">
@for... | Change menu partial view type | Change menu partial view type
| C# | mit | stvnhrlnd/SH,stvnhrlnd/SH,stvnhrlnd/SH |
5083173b24b661579f359b2d5340263f4ad5587c | Assets/AdjustOaid/Android/AdjustOaidAndroid.cs | Assets/AdjustOaid/Android/AdjustOaidAndroid.cs | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.oaid
{
#if UNITY_ANDROID
public class AdjustOaidAndroid
{
private static AndroidJavaClass ajcAdjustOaid = new AndroidJavaClass("com.adjust.sdk.oaid.AdjustOaid");
public static void ReadOaid()
... | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.oaid
{
#if UNITY_ANDROID
public class AdjustOaidAndroid
{
private static AndroidJavaClass ajcAdjustOaid = new AndroidJavaClass("com.adjust.sdk.oaid.AdjustOaid");
private static AndroidJavaObject ajoCurrent... | Use new OAID reading method | Use new OAID reading method
| C# | mit | adjust/unity_sdk,adjust/unity_sdk,adjust/unity_sdk |
ba7f80fff33d42bba6b3f7089bd19a2d6bea4974 | src/runtime/assemblyinfo.cs | src/runtime/assemblyinfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Python for .NET")]
[assembly: AssemblyVersion("4.0.0.1")]
[assembly: AssemblyDefaultAlias("Python.Runtime.dll")]
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: Assem... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
[assembly: AssemblyProduct("Python for .NET")]
[assembly: AssemblyVersion("4.0.0.1")]
[assembly: AssemblyDefaultAlias("Python.Runtime.dll")]
[assembly: CLSCompliant(true)]
[assemb... | Make internals (in particular Runtime.*) visible to the tests. | Make internals (in particular Runtime.*) visible to the tests.
| C# | mit | pythonnet/pythonnet,Konstantin-Posudevskiy/pythonnet,yagweb/pythonnet,AlexCatarino/pythonnet,denfromufa/pythonnet,vmuriart/pythonnet,yagweb/pythonnet,denfromufa/pythonnet,denfromufa/pythonnet,dmitriyse/pythonnet,vmuriart/pythonnet,pythonnet/pythonnet,Konstantin-Posudevskiy/pythonnet,AlexCatarino/pythonnet,QuantConnect/... |
b0c2f6a6554e135ed914ef12111b094bd2650458 | src/Common/src/CoreLib/System/Runtime/CompilerServices/DiscardableAttribute.cs | src/Common/src/CoreLib/System/Runtime/CompilerServices/DiscardableAttribute.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.CompilerServices
{
// Custom attribute to indicating a TypeDef is a discardable attribu... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.CompilerServices
{
// Custom attribute to indicating a TypeDef is a discardable attribu... | Fix FxCop warning CA1018 (attributes should have AttributeUsage) | Fix FxCop warning CA1018 (attributes should have AttributeUsage)
Signed-off-by: dotnet-bot <03c4cb6107ae99956a7681f2c97ff7104809a2bd@microsoft.com>
| C# | mit | shimingsg/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,ViktorHofer/corefx,ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,ericstj/corefx,erics... |
fd291296110ecfc6a0539069271abc40c07fd2b9 | src/Parsley/ParserExtensions.cs | src/Parsley/ParserExtensions.cs | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
public static class ParserExtensions
{
public static bool TryParse<TItem, TValue>(
this Parser<TItem, TValue> parse,
ReadOnlySpan<TItem> input,
[NotNullWhen(true)] out TValue? value,
[NotNullWhen(false)] out ParseError? erro... | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
public static class ParserExtensions
{
public static bool TryParse<TItem, TValue>(
this Parser<TItem, TValue> parse,
ReadOnlySpan<TItem> input,
[NotNullWhen(true)] out TValue? value,
[NotNullWhen(false)] out ParseError? erro... | Rephrase parsing to the end of input in terms of Map. | Rephrase parsing to the end of input in terms of Map.
| C# | mit | plioi/parsley |
41a77e3b3a46fcf75f82082990f9619cc9008a32 | Opserver/Views/Dashboard/CurrentStatusTypes.cs | Opserver/Views/Dashboard/CurrentStatusTypes.cs | using System.ComponentModel;
namespace StackExchange.Opserver.Views.Dashboard
{
public enum CurrentStatusTypes
{
[Description("None")]
None = 0,
Stats = 1,
Interfaces = 2,
[Description("VM Info")]
VMHost = 3,
[Description("Elastic")]
Elastic = 4,... | using System.ComponentModel;
namespace StackExchange.Opserver.Views.Dashboard
{
public enum CurrentStatusTypes
{
[Description("None")]
None = 0,
[Description("Stats")]
Stats = 1,
[Description("Interfaces")]
Interfaces = 2,
[Description("VM Info")]
... | Fix tab names on node views | Fix tab names on node views
New .GetDescription() in UnchainedMelody doesn't default to .ToString(),
attribute needs to be present.
| C# | mit | jeddytier4/Opserver,manesiotise/Opserver,mqbk/Opserver,opserver/Opserver,mqbk/Opserver,jeddytier4/Opserver,manesiotise/Opserver,rducom/Opserver,GABeech/Opserver,GABeech/Opserver,manesiotise/Opserver,opserver/Opserver,rducom/Opserver,opserver/Opserver |
b534c845698fb2c18d7103df485e061f50c7886d | Purchasing.Mvc/Views/Order/_ReviewNotes.cshtml | Purchasing.Mvc/Views/Order/_ReviewNotes.cshtml | @model ReviewOrderViewModel
<section id="notes" class="ui-corner-all display-form">
<header class="ui-corner-top ui-widget-header">
<div class="col1 showInNav">Order Notes</div>
<div class="col2">
<a href="#" class="button" id="add-note">Add Note</a>
</div>
</header>
... | @model ReviewOrderViewModel
<section id="notes" class="ui-corner-all display-form">
<header class="ui-corner-top ui-widget-header">
<div class="col1 showInNav">Order Notes</div>
<div class="col2">
<a href="#" class="button" id="add-note">Add Note</a>
</div>
</header>
... | Add the time as a title to the order notes date. | Add the time as a title to the order notes date.
Only appears on them where we do a page refresh.
| C# | mit | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing |
1305ae754ab061b98befb0fadb8460c8604b8fb6 | osu.Framework.Tests/AutomatedVisualTestGame.cs | osu.Framework.Tests/AutomatedVisualTestGame.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Testing;
namespace osu.Framework.Tests
{
public class AutomatedVisualTestGame : Game
{
public AutomatedVisualTes... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.IO.Stores;
using osu.Framework.Testing;
namespace osu.Framework.Tests
{
public class Automat... | Add resources to the automated tests too | Add resources to the automated tests too
| C# | mit | ZLima12/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,default0/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVA... |
934d3acf850e1b9e64fb6e3969632605c19122d8 | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/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("XeroApi")]
[assembly: AssemblyDescription... | 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("XeroApi")]
[assembly: AssemblyDescription... | Increment version number to sync up with NuGet | Increment version number to sync up with NuGet
| C# | mit | jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,XeroAPI/XeroAPI.Net |
02cf55bc730a13da6176a696a62216e1b4905a49 | src/Humanizer.Tests/NumberToWordsTests.cs | src/Humanizer.Tests/NumberToWordsTests.cs | using Xunit;
namespace Humanizer.Tests
{
public class NumberToWordsTests
{
[Fact]
public void ToWords()
{
Assert.Equal("one", 1.ToWords());
Assert.Equal("ten", 10.ToWords());
Assert.Equal("eleven", 11.ToWords());
Assert.Equal("one hundred... | using Xunit;
using Xunit.Extensions;
namespace Humanizer.Tests
{
public class NumberToWordsTests
{
[InlineData(1, "one")]
[InlineData(10, "ten")]
[InlineData(11, "eleven")]
[InlineData(122, "one hundred and twenty-two")]
[InlineData(3501, "three thousand five hundred an... | Convert ToWords' tests to theory | Convert ToWords' tests to theory
| C# | mit | micdenny/Humanizer,aloisdg/Humanizer,Flatlineato/Humanizer,micdenny/Humanizer,preetksingh80/Humanizer,llehouerou/Humanizer,henriksen/Humanizer,gyurisc/Humanizer,mexx/Humanizer,CodeFromJordan/Humanizer,kikoanis/Humanizer,gyurisc/Humanizer,schalpat/Humanizer,llehouerou/Humanizer,kikoanis/Humanizer,ErikSchierboom/Humanize... |
394a09311e2456c2a98aa310455c2f3ce8f07417 | CSharp/SchemaVersion/Program.cs | CSharp/SchemaVersion/Program.cs | using System;
using Business.Core.Profile;
namespace Version
{
class MainClass
{
public static void Main(string[] args) {
Console.WriteLine("Hello World!");
var profile = new Profile();
var sqlitedatabase = new Business.Core.SQLite.Database(profile);
Con... | using System;
using Business.Core;
using Business.Core.Profile;
namespace Version
{
class MainClass
{
public static void Main(string[] args) {
Console.WriteLine("Hello World!");
var profile = new Profile();
IDatabase database;
database = new Business.C... | Use the same type variable for all three database servers | Use the same type variable for all three database servers
| C# | mit | jazd/Business,jazd/Business,jazd/Business |
15c4a4b1407a6d96540c22ec72a3034552eb57c3 | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | Update OData WebAPI to 5.5.0.0 | Update OData WebAPI to 5.5.0.0
| C# | mit | lungisam/WebApi,scz2011/WebApi,yonglehou/WebApi,abkmr/WebApi,LianwMS/WebApi,chimpinano/WebApi,chimpinano/WebApi,lewischeng-ms/WebApi,congysu/WebApi,abkmr/WebApi,yonglehou/WebApi,LianwMS/WebApi,lungisam/WebApi,congysu/WebApi,lewischeng-ms/WebApi,scz2011/WebApi |
a697dacbf657f6de0928e9582414872ee8580528 | Xwt.XamMac/Xwt.Mac/EmbedNativeWidgetBackend.cs | Xwt.XamMac/Xwt.Mac/EmbedNativeWidgetBackend.cs | using System;
using Xwt.Backends;
using Xwt.Drawing;
#if MONOMAC
using nint = System.Int32;
using nfloat = System.Single;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
#else
using Foundation;
using AppKit;
using ObjCRuntime;
#endif
namespace Xwt.Mac
{
public class EmbedNativeWidgetBacken... | using System;
using Xwt.Backends;
using Xwt.Drawing;
#if MONOMAC
using nint = System.Int32;
using nfloat = System.Single;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
#else
using Foundation;
using AppKit;
using ObjCRuntime;
#endif
namespace Xwt.Mac
{
public class EmbedNativeWidgetBacken... | Fix sizing of embedded (wrapped) native NSViews | [Mac] Fix sizing of embedded (wrapped) native NSViews
The EmbeddedNativeWidget creates its own parent NSView and we need
to configure it to correctly size the child (the actual embedded view)
| C# | mit | hamekoz/xwt,TheBrainTech/xwt,akrisiun/xwt,mminns/xwt,hwthomas/xwt,residuum/xwt,cra0zy/xwt,antmicro/xwt,lytico/xwt,iainx/xwt,mminns/xwt,mono/xwt,steffenWi/xwt |
2ffe12eac82bbe5c9a7ef4240f0d3c750702ad42 | src/backend/SO115App.FakePersistenceJSon/Utility/GeneraCodiceRichiesta.cs | src/backend/SO115App.FakePersistenceJSon/Utility/GeneraCodiceRichiesta.cs | using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.FakePersistenceJSon.GestioneIntervento;
using SO115App.Models.Servizi.Infrastruttura.GestioneSoccorso.GenerazioneCodiciRichiesta;
using System;
namespace SO115App.FakePersistence.JSon.Utility
{
public class GeneraCodiceRichiesta : I... | using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.FakePersistenceJSon.GestioneIntervento;
using SO115App.Models.Servizi.Infrastruttura.GestioneSoccorso.GenerazioneCodiciRichiesta;
using System;
namespace SO115App.FakePersistence.JSon.Utility
{
public class GeneraCodiceRichiesta : I... | Fix - Modificata la generazione del Codice Richiesta e del Codice Chiamata come richiesto nella riunone dell'11-07-2019 | Fix - Modificata la generazione del Codice Richiesta e del Codice Chiamata come richiesto nella riunone dell'11-07-2019
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
692ec2847be6589ff9555d315dd39dd6f7d6ab1f | src/JsonConfig/JsonConfigManager.cs | src/JsonConfig/JsonConfigManager.cs | using System.Web.Script.Serialization;
namespace JsonConfig
{
public static class JsonConfigManager
{
#region Fields
private static readonly IConfigFileLoader ConfigFileLoader = new ConfigFileLoader();
private static dynamic _defaultConfig;
#endregion
#region Public ... | using System.Web.Script.Serialization;
namespace JsonConfig
{
public static class JsonConfigManager
{
#region Fields
private static readonly IConfigFileLoader ConfigFileLoader = new ConfigFileLoader();
private static dynamic _defaultConfig;
#endregion
#region Public ... | Add comments to public methods | Add comments to public methods
| C# | mit | andreazevedo/JsonConfig |
1c651dbb32b1a3254f23ad114fbb319df2e74037 | Views/ShoppingCartWidget.cshtml | Views/ShoppingCartWidget.cshtml | @{
if (Layout.IsCartPage != true) {
Script.Require("jQuery");
Script.Include("shoppingcart.js", "shoppingcart.min.js");
<div class="shopping-cart-container minicart"
data-load="@Url.Action("NakedCart", "ShoppingCart", new {area="Nwazet.Commerce"})"
data-updat... | @{
if (Layout.IsCartPage != true) {
Script.Require("jQuery");
Script.Include("shoppingcart.js", "shoppingcart.min.js");
<div class="shopping-cart-container minicart"
data-load="@Url.Action("NakedCart", "ShoppingCart", new {area="Nwazet.Commerce"})"
data-updat... | Fix to ajax restoration of the cart. | Fix to ajax restoration of the cart.
| C# | bsd-3-clause | bleroy/Nwazet.Commerce,bleroy/Nwazet.Commerce |
f785dbf2b5649adcbc0431b2d9b04f31a8958a05 | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ImportLevyDeclarationsJob
{
private readonly IMessageSession _message... | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ImportLevyDeclarationsJob
{
private readonly IMessageSession _message... | Change levy run date to 24th | Change levy run date to 24th
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
a8636cf55c877fcc7da478d1164b635309fa093f | tests/LondonTravel.Site.Tests/Integration/IServiceCollectionExtensions.cs | tests/LondonTravel.Site.Tests/Integration/IServiceCollectionExtensions.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Integration
{
using Microsoft.ApplicationInsights.DependencyCollector;
using Microsoft.Applica... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Integration
{
using Microsoft.ApplicationInsights.DependencyCollector;
using Microsoft.Applica... | Remove Application Insights modules and initializers | Remove Application Insights modules and initializers
Remove all of the Application Insights ITelemetryInitializer and ITelemetryModule implementations.
| C# | apache-2.0 | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site |
961a351592b37164b21305d1a94cc344f7cccc63 | qt/src/QSize.cs | qt/src/QSize.cs | // -------------------------------------------------------------------------
// Managed wrapper for QSize
// Generated from qt-gui.xml on 07/24/2011 11:57:03
//
// This file was auto generated. Do not edit.
// -------------------------------------------------------------------------
using System;
using System.Runti... | using System;
using System.Runtime.InteropServices;
using Mono.Cxxi;
namespace Qt.Gui {
[StructLayout (LayoutKind.Sequential)]
public struct QSize {
public int wd;
public int ht;
public QSize (int w, int h)
{
wd = w;
ht = h;
}
}
}
| Remove auto-generated warning from handwritten file | Remove auto-generated warning from handwritten file
| C# | mit | u255436/CppSharp,mohtamohit/CppSharp,zillemarco/CppSharp,txdv/CppSharp,ktopouzi/CppSharp,SonyaSa/CppSharp,Samana/CppSharp,u255436/CppSharp,ktopouzi/CppSharp,ddobrev/CppSharp,inordertotest/CppSharp,pacificIT/cxxi,ktopouzi/CppSharp,txdv/CppSharp,zillemarco/CppSharp,nalkaro/CppSharp,mohtamohit/CppSharp,xistoso/CppSharp,mo... |
d8e2d84609e1d121bbf6ed94ca3813972893401d | ConsoleApps/FunWithSpikes/FunWithNinject/OpenGenerics/OpenGenericsTests.cs | ConsoleApps/FunWithSpikes/FunWithNinject/OpenGenerics/OpenGenericsTests.cs | using Ninject;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FunWithNinject.OpenGenerics
{
[TestFixture]
public class OpenGenericsTests
{
public interface ILogger<T>
{
Type G... | using Ninject;
using NUnit.Framework;
using System;
namespace FunWithNinject.OpenGenerics
{
[TestFixture]
public class OpenGenericsTests
{
[Test]
public void OpenGenericBinding()
{
using (var k = new StandardKernel())
{
// Assemble
... | Change the names to be in line with the problem at hand. | Change the names to be in line with the problem at hand.
| C# | mit | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes |
c042c8b5fcdf03ff23737229e59b1c50c82f6b7c | Sogeti.Capstone.Web/Sogeti.Capstone.CQS.Integration.Tests/EventCommands.cs | Sogeti.Capstone.Web/Sogeti.Capstone.CQS.Integration.Tests/EventCommands.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Sogeti.Capstone.CQS.Integration.Tests
{
[TestClass]
public class EventCommands
{
[TestMethod]
public void CreateEventCommand()
{
}
}
}
| using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Sogeti.Capstone.CQS.Integration.Tests
{
[TestClass]
public class EventCommands
{
[TestMethod]
public void CreateEventCommand()
{
}
}
}
| Set up references for event command unit tests | Set up references for event command unit tests
| C# | mit | DavidMGardner/sogeti.capstone,DavidMGardner/sogeti.capstone,DavidMGardner/sogeti.capstone |
32a601a3ac1f99302c0f77a51058cf5b43d62524 | SimpleWAWS/Authentication/GoogleAuthProvider.cs | SimpleWAWS/Authentication/GoogleAuthProvider.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | Update state to be used after redirect | Update state to be used after redirect
| C# | apache-2.0 | projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,da... |
012596e5ca88b2f46a3e485f50b9c614ab3b4e20 | src/Nether.Web/Features/Leaderboard/LeaderboardGetResponseModel.cs | src/Nether.Web/Features/Leaderboard/LeaderboardGetResponseModel.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.Collections.Generic;
using Nether.Data.Leaderboard;
namespace Nether.Web.Features.Leaderboard
{
public class LeaderboardGetResponseModel
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Nether.Data.Leaderboard;
namespace Nether.Web.Features.Leaderboard
{
public class LeaderboardGetResponseModel
{
... | Add Rank to returned scores | Add Rank to returned scores
| C# | mit | brentstineman/nether,brentstineman/nether,brentstineman/nether,krist00fer/nether,navalev/nether,vflorusso/nether,brentstineman/nether,stuartleeks/nether,brentstineman/nether,MicrosoftDX/nether,vflorusso/nether,navalev/nether,stuartleeks/nether,stuartleeks/nether,vflorusso/nether,navalev/nether,ankodu/nether,stuartleeks... |
173fd82255624147fdbcdadbe495da359d95f7a3 | Alexa.NET.Management/Api/CustomApiEndpoint.cs | Alexa.NET.Management/Api/CustomApiEndpoint.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Alexa.NET.Management.Api
{
public class CustomApiEndpoint
{
[JsonProperty("uri")]
public string Uri { get; set; }
[JsonProperty("sslCertificateType")]
public SslCertificateType ... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Text;
namespace Alexa.NET.Management.Api
{
public class CustomApiEndpoint
{
[JsonProperty("uri")]
public string Uri { get; set; }
[JsonProperty("sslCertificateType"), ... | Add correct JSON serialization for enum type | Add correct JSON serialization for enum type
| C# | mit | stoiveyp/Alexa.NET.Management |
8e8fcdac7d6a9eff62e3f87d285a99c6c93731f4 | test/Stripe.Tests/Constants.cs | test/Stripe.Tests/Constants.cs | using System;
using System.Linq;
namespace Stripe.Tests
{
static class Constants
{
public const string ApiKey = @"8GSx9IL9MA0iJ3zcitnGCHonrXWiuhMf";
}
}
| using System;
using System.Linq;
namespace Stripe.Tests
{
static class Constants
{
public const string ApiKey = @"sk_test_BQokikJOvBiI2HlWgH4olfQ2";
}
}
| Update Stripe test API key from their docs | Update Stripe test API key from their docs
| C# | mit | nberardi/stripe-dotnet |
149dfcc9bc222e77ba3fc65c73fbf15d2e63618f | Samples/Senparc.Weixin.MP.Sample.vs2017/Senparc.Weixin.MP.CoreSample/Program.cs | Samples/Senparc.Weixin.MP.Sample.vs2017/Senparc.Weixin.MP.CoreSample/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Senparc.Weixin.MP.CoreSample
{
public class Prog... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Senparc.Weixin.MP.CoreSample
{
public class Prog... | Migrate from ASP.NET Core 2.0 to 2.1 | Migrate from ASP.NET Core 2.0 to 2.1
Changes to take advantage of the new code-based idioms that are recommended in ASP.NET Core 2.1 | C# | apache-2.0 | JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK |
ed73c0d67c087c037d4c44d7731981694b283365 | Basics.Structures/Graphs/Edge.cs | Basics.Structures/Graphs/Edge.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Basics.Structures.Graphs
{
[DebuggerDisplay("{Source}->{Target}")]
public class Edge<T> : IEquatable<Edge<T>> where T : IEquatable<T>
{
private readonly Lazy<int> _hashCode;
public Edge(T source, T target)... | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Basics.Structures.Graphs
{
[DebuggerDisplay("{Source}->{Target}")]
public class Edge<T> : IEquatable<Edge<T>> where T : IEquatable<T>
{
public Edge(T source, T target)
{
Source = source;
... | Remove laziness from edges' GetHashCode method | Remove laziness from edges' GetHashCode method
Works faster on large graphs and memory footprint is lower.
| C# | mit | MSayfullin/Basics |
71100ca062cac128390ffa1eb35952477a59e8f0 | BlogTemplate/Models/BlogDataStore.cs | BlogTemplate/Models/BlogDataStore.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace BlogTemplate.Models
{
public class BlogDataStore
{
const string StorageFolder = "BlogFiles";
public void SavePost(Post p... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace BlogTemplate.Models
{
public class BlogDataStore
{
const string StorageFolder = "BlogFiles";
public void SavePost(Post p... | Add simple method to read back in a Post from disk | Add simple method to read back in a Post from disk
| C# | mit | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate |
e9645edc9e9df90b74bf4e7e8ebea4bb0f505133 | src/Containers/MassTransit.AspNetCoreIntegration/HostedServiceConfigurationExtensions.cs | src/Containers/MassTransit.AspNetCoreIntegration/HostedServiceConfigurationExtensions.cs | namespace MassTransit
{
using AspNetCoreIntegration;
using AspNetCoreIntegration.HealthChecks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Monitoring.Health;... | namespace MassTransit
{
using AspNetCoreIntegration;
using AspNetCoreIntegration.HealthChecks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Monitoring.Health;... | Add identifying tag to MassTransit health checks. | Add identifying tag to MassTransit health checks.
| C# | apache-2.0 | phatboyg/MassTransit,MassTransit/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit |
98410dbb6d3276d674bba5e5f77bdffd1e598b40 | osu.Game/Graphics/Containers/ShakeContainer.cs | osu.Game/Graphics/Containers/ShakeContainer.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.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Graphics.Containers
{
/// <summary>
/// A container that adds the abi... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Graphics.Containers
{
/// <summary>
/// A container that adds the abi... | Reduce shake transform count by one for more aesthetic behaviour | Reduce shake transform count by one for more aesthetic behaviour
| C# | mit | johnneijzen/osu,ppy/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,ppy/osu,ppy/osu,2yangk23/osu,2yangk23/osu,peppy/osu-new,ZLima12/osu,smoogipoo/osu,ZLima12/osu,naoey/osu,peppy/osu,peppy/osu,EVAST9919/osu,DrabWeb/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,NeoA... |
318c00b2bef1644f0e4a660b3bce287069ddbe01 | CefSharp.Wpf/DelegateCommand.cs | CefSharp.Wpf/DelegateCommand.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows;
using System.Windows.Input;
namespace CefSharp.Wpf
{
internal class DelegateCommand : ICommand
{
... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows.Input;
namespace CefSharp.Wpf
{
internal class DelegateCommand : ICommand
{
private readonly A... | Remove call to Application.Current.Dispatcher.CheckAccess() - seems there's a null point happening on a rare instance when Application.Current.Dispatcher is null Rely on parent calling code to execute on the correct thread (which it was already executing on the UI Thread) | Remove call to Application.Current.Dispatcher.CheckAccess() - seems there's a null point happening on a rare instance when Application.Current.Dispatcher is null
Rely on parent calling code to execute on the correct thread (which it was already executing on the UI Thread)
| C# | bsd-3-clause | windygu/CefSharp,rover886/CefSharp,Haraguroicha/CefSharp,yoder/CefSharp,haozhouxu/CefSharp,VioletLife/CefSharp,Octopus-ITSM/CefSharp,Haraguroicha/CefSharp,wangzheng888520/CefSharp,ruisebastiao/CefSharp,Livit/CefSharp,joshvera/CefSharp,rlmcneary2/CefSharp,joshvera/CefSharp,haozhouxu/CefSharp,battewr/CefSharp,zhangjingpu... |
00216c75fde7a7cb7d338c9040dbab98114f92ac | Source/Umbraco/Views/Partials/FormEditor/FieldsNoScript/core.utils.validationerror.cshtml | Source/Umbraco/Views/Partials/FormEditor/FieldsNoScript/core.utils.validationerror.cshtml | @inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.IFieldWithValidation>
@if (Model.Invalid)
{
<div class="text-danger validation-error">
@Model.ErrorMessage
</div>
}
| @inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.IFieldWithValidation>
@* for the NoScript rendering, this is solely rendered server side *@
@if (Model.Invalid)
{
<div class="text-danger validation-error">
@Model.ErrorMessage
</div>
}
| Comment for validation error rendering | Comment for validation error rendering
| C# | mit | kjac/FormEditor,kjac/FormEditor,kjac/FormEditor |
54790a94c442745f32f7b67b93eb3ff99e0f6c8b | CefSharp/IDownloadHandler.cs | CefSharp/IDownloadHandler.cs | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface IDownloadHandler
{
/// <summary>
/// Called before a download begins.
/// </... | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface IDownloadHandler
{
/// <summary>
/// Called before a download begins.
/// </... | Remove return xml comments, not valid anymore | Remove return xml comments, not valid anymore
| C# | bsd-3-clause | Livit/CefSharp,battewr/CefSharp,haozhouxu/CefSharp,NumbersInternational/CefSharp,Haraguroicha/CefSharp,NumbersInternational/CefSharp,wangzheng888520/CefSharp,jamespearce2006/CefSharp,VioletLife/CefSharp,NumbersInternational/CefSharp,yoder/CefSharp,jamespearce2006/CefSharp,AJDev77/CefSharp,twxstar/CefSharp,windygu/CefSh... |
d42eb56fee4b3aeff9e336553db1dcf1c70f23f2 | test/Microsoft.AspNetCore.StaticFiles.Tests/StaticFilesTestServer.cs | test/Microsoft.AspNetCore.StaticFiles.Tests/StaticFilesTestServer.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.Collections.Generic;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestH... | // 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.Collections.Generic;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestH... | Fix content root for non-windows xunit tests with no app domains | Fix content root for non-windows xunit tests with no app domains
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
a1cc27d0efccf47fb576b12b427a58d2d8f89a48 | BrowserLog.NLog.Demo/Program.cs | BrowserLog.NLog.Demo/Program.cs | using System;
using System.Threading;
using NLog;
using NLogConfig = NLog.Config;
namespace BrowserLog.NLog.Demo
{
class Program
{
static void Main(string[] args)
{
LogManager.Configuration = new NLogConfig.XmlLoggingConfiguration("NLog.config", true);
var logger = Log... | using System;
using System.Threading;
using NLog;
using NLogConfig = NLog.Config;
namespace BrowserLog.NLog.Demo
{
class Program
{
static void Main(string[] args)
{
LogManager.Configuration = new NLogConfig.XmlLoggingConfiguration("NLog.config", true);
var logger = Log... | Change obsolete signature for method Error | fix: Change obsolete signature for method Error
| C# | apache-2.0 | alexvictoor/BrowserLog,alexvictoor/BrowserLog,alexvictoor/BrowserLog |
784024ea7a1909acd5bba6563bedd9029cefc46f | food_tracker/DAL/WholeDay.cs | food_tracker/DAL/WholeDay.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace food_tracker.DAL {
public class WholeDay {
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public string WholeDayId { get; set... | using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace food_tracker.DAL {
public class WholeDay {
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public string WholeDayId { get; set... | Change List data type to IEnumerable | Change List data type to IEnumerable
| C# | mit | lukecahill/NutritionTracker |
5e5943cf29b242e3d729f7fe32ddcbeebe99705c | Winston/Net/Extensions.cs | Winston/Net/Extensions.cs | using System;
using System.Collections.Specialized;
using System.Text.RegularExpressions;
namespace Winston.Net
{
static class Extensions
{
public static NameValueCollection ParseQueryString(this Uri uri)
{
var result = new NameValueCollection();
var query = uri.Query;
... | using System;
using System.Collections.Specialized;
using System.Text.RegularExpressions;
namespace Winston.Net
{
static class Extensions
{
public static NameValueCollection ParseQueryString(this Uri uri)
{
var result = new NameValueCollection();
var query = uri.Query;
... | Add escaping to query string parsing | Add escaping to query string parsing
| C# | mit | mattolenik/winston,mattolenik/winston,mattolenik/winston |
a700aa2cd30c2f3c018445a937ba6fbd857fee4e | src/Features/CSharp/Portable/MoveToNamespace/CSharpMoveToNamespaceService.cs | src/Features/CSharp/Portable/MoveToNamespace/CSharpMoveToNamespaceService.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;
using System.Composition;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.MoveT... | // 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;
using System.Composition;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.MoveT... | Handle cases where a namespace declaration isn't found in the ancestors of a type declaration | Handle cases where a namespace declaration isn't found in the ancestors of a type declaration
| C# | mit | brettfo/roslyn,diryboy/roslyn,davkean/roslyn,tmat/roslyn,shyamnamboodiripad/roslyn,swaroop-sridhar/roslyn,gafter/roslyn,aelij/roslyn,nguerrera/roslyn,mgoertz-msft/roslyn,abock/roslyn,abock/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,heejaechang/roslyn,weltkante/roslyn,dotnet/roslyn,sharwell/roslyn,ErikSchierboom/roslyn,b... |
af20fa2cef0cd6e91cb12af0b4bd17743a6dc226 | clipr/Core/ArgumentValidation.cs | clipr/Core/ArgumentValidation.cs | using System;
using System.Text.RegularExpressions;
namespace clipr.Core
{
internal static class ArgumentValidation
{
public static bool IsAllowedShortName(char c)
{
return Char.IsLetter(c);
}
internal const string IsAllowedShortNameExplanation =
"Short... | using System;
using System.Text.RegularExpressions;
namespace clipr.Core
{
internal static class ArgumentValidation
{
public static bool IsAllowedShortName(char c)
{
return Char.IsLetter(c);
}
internal const string IsAllowedShortNameExplanation =
"Short... | Enable underscore in middle of long name. | Enable underscore in middle of long name.
| C# | mit | nemec/clipr |
2cb217e06c04d63de4bc4151c7631b9abc448062 | osu.Game/Screens/Edit/EditorSkinProvidingContainer.cs | osu.Game/Screens/Edit/EditorSkinProvidingContainer.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.Skinning;
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// A <see cref="SkinProvidingContainer"/> that fires <see cref="ISkin... | // 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.Skinning;
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// A <see cref="SkinProvidingContainer"/> that fires <see cref="ISkin... | Fix editor legacy beatmap skins not receiving transformer | Fix editor legacy beatmap skins not receiving transformer
| C# | mit | NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu |
1ad239b802fc120cdd474e358318f2c51a7bd706 | Assets/Scripts/RootContext.cs | Assets/Scripts/RootContext.cs | using UnityEngine;
using System.Collections;
using strange.extensions.context.impl;
using strange.extensions.context.api;
public class RootContext : MVCSContext, IRootContext
{
public RootContext(MonoBehaviour view) : base(view)
{
}
public RootContext(MonoBehaviour view, ContextStartupFlags flags) ... | using UnityEngine;
using System.Collections;
using strange.extensions.context.impl;
using strange.extensions.context.api;
public class RootContext : MVCSContext, IRootContext
{
public RootContext(MonoBehaviour view) : base(view)
{
}
public RootContext(MonoBehaviour view, ContextStartupFlags flags) ... | Add the new managers to the root context. | Add the new managers to the root context.
| C# | mit | Mitsugaru/game-off-2016 |
4f3d55444e0a646ba2f50622313a5fc96dc17630 | SimplestMvc5Auth/Global.asax.cs | SimplestMvc5Auth/Global.asax.cs | using System;
using System.Web.Mvc;
using System.Web.Routing;
namespace SimplestMvc5Auth
{
public class Global : System.Web.HttpApplication
{
private static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapMvcAttr... | using System;
using System.Security.Claims;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Routing;
namespace SimplestMvc5Auth
{
public class Global : System.Web.HttpApplication
{
private static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{re... | Set anti-forgery token unique claim type | Set anti-forgery token unique claim type
| C# | mit | antonburger/SimplestMvc5Auth |
a0f8079f76bd42f7f065fd01f283cdea3a1fc643 | sample/Datamodel.cs | sample/Datamodel.cs | // Copyright (c) on/off it-solutions gmbh. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
#pragma warning disable SA1402 // FileMayOnlyContainASingleType
#pragma warning disable SA1649 // FileNameMustMatchTypeName
namespace InfoCarrierSample
... | // Copyright (c) on/off it-solutions gmbh. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for license information.
#pragma warning disable SA1402 // FileMayOnlyContainASingleType
#pragma warning disable SA1649 // FileNameMustMatchTypeName
namespace InfoCarrierSample
... | Use 'long' datatype for IDs in sample applications to avoid warnings. | Use 'long' datatype for IDs in sample applications to avoid warnings.
| C# | mit | azabluda/InfoCarrier.Core |
03bfef60316b8e0e6d02848f4f6185ea81f070a6 | hft-server/hft-server/HFTRuntimeOptions.cs | hft-server/hft-server/HFTRuntimeOptions.cs | using System;
namespace HappyFunTimes
{
public class HFTRuntimeOptions : HFTArgsDirect
{
public HFTRuntimeOptions(string prefix) : base(prefix)
{
}
public string dataPath = "";
public string url = "";
public string id = "";
public string name = "";
... | using System;
namespace HappyFunTimes
{
public class HFTRuntimeOptions
{
public string dataPath = "";
public string url = "";
public string id = "";
public string name = "";
public string gameId = "HFTUnity"; // this is kind of left over from when one server supported ... | Make hft-server runtime options not based on HFTArgsDirect | Make hft-server runtime options not based on HFTArgsDirect
| C# | bsd-3-clause | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d |
eebfcb7ff40ce6240008c22a07eca33eecc88bb5 | src/Fixie/Internal/Serialization.cs | src/Fixie/Internal/Serialization.cs | namespace Fixie.Internal
{
using System;
using System.Text;
using System.Text.Json;
static class Serialization
{
public static string Serialize<TMessage>(TMessage message)
=> Encoding.UTF8.GetString(JsonSerializer.SerializeToUtf8Bytes(message));
public static TMessage ... | namespace Fixie.Internal
{
using System.Text;
using System.Text.Json;
static class Serialization
{
public static string Serialize<TMessage>(TMessage message)
=> Encoding.UTF8.GetString(JsonSerializer.SerializeToUtf8Bytes(message));
public static TMessage Deserialize<TMessa... | Remove superfluous construction of ReadOnlySpan<byte> from byte[ ]. An implicit cast is available in this context, so the same method overload is in fact called, and the implementation of the implicit cast performs the same construction for us. | Remove superfluous construction of ReadOnlySpan<byte> from byte[ ]. An implicit cast is available in this context, so the same method overload is in fact called, and the implementation of the implicit cast performs the same construction for us.
| C# | mit | fixie/fixie |
429c83d4874bda7f2d9cae4cb12047feaf31cd57 | src/AspNet.Mvc.TypedRouting/RouteBuilderExtensions.cs | src/AspNet.Mvc.TypedRouting/RouteBuilderExtensions.cs | namespace Microsoft.AspNetCore.Builder
{
using Routing;
using System;
public static class RouteBuilderExtensions
{
/// <summary>
/// Allows using typed expression based link generation in ASP.NET Core MVC application.
/// </summary>
[Obsolete("UseTypedRouting is no long... | namespace Microsoft.AspNetCore.Builder
{
using Routing;
using System;
public static class RouteBuilderExtensions
{
}
}
| Remove the obsolete UseTypedRouting method | Remove the obsolete UseTypedRouting method
Remove the obsolete UseTypedRouting method. Issue #22 | C# | mit | ivaylokenov/AspNet.Mvc.TypedRouting |
a323ab0d4b677d93b1171dceb5b49f76bab1d9f1 | src/Fixie.Samples/Skipped/CustomConvention.cs | src/Fixie.Samples/Skipped/CustomConvention.cs | namespace Fixie.Samples.Skipped
{
using System;
using System.Reflection;
public class CustomConvention : Convention
{
public CustomConvention()
{
Classes
.InTheSameNamespaceAs(typeof(CustomConvention))
.NameEndsWith("Tests");
Met... | namespace Fixie.Samples.Skipped
{
using System;
public class CustomConvention : Convention
{
public CustomConvention()
{
Classes
.InTheSameNamespaceAs(typeof(CustomConvention))
.NameEndsWith("Tests");
Methods
.OrderBy... | Rephrase the Skipped sample to use runtime skips rather than declarative skips, demonstrating how runtime skips are superior: we have case-by-case skippability, implicit skips by conditionally avoiding executing a case, and the ability to avoid instantiating a test class if it is entirely marked as skipped. | Rephrase the Skipped sample to use runtime skips rather than declarative skips, demonstrating how runtime skips are superior: we have case-by-case skippability, implicit skips by conditionally avoiding executing a case, and the ability to avoid instantiating a test class if it is entirely marked as skipped.
| C# | mit | fixie/fixie |
023a0b6b055a24cb758102ac17a2cdff04d332d4 | DeveImageOptimizer/Helpers/FileHelperMethods.cs | DeveImageOptimizer/Helpers/FileHelperMethods.cs | using DeveImageOptimizer.State.StoringProcessedDirectories;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace DeveImageOptimizer.Helpers
{
public static class FileHelperMethods
{
public static void SafeDeleteTempFile(string path)
{... | using DeveImageOptimizer.State.StoringProcessedDirectories;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace DeveImageOptimizer.Helpers
{
public static class FileHelperMethods
{
public static void SafeDeleteTempFile(string path)
{... | Order the files and dirs | Order the files and dirs
| C# | mit | devedse/DeveImageOptimizer |
2b522a74e565ed2329858ef2e8f60a924d5513de | src/PublicApiGenerator/PropertyNameBuilder.cs | src/PublicApiGenerator/PropertyNameBuilder.cs | using System;
using System.CodeDom;
using Mono.Cecil;
namespace PublicApiGenerator
{
public static class PropertyNameBuilder
{
public static string AugmentPropertyNameWithPropertyModifierMarkerTemplate(PropertyDefinition propertyDefinition,
MemberAttributes getAccessorAttributes, MemberAttr... | using System;
using System.CodeDom;
using Mono.Cecil;
namespace PublicApiGenerator
{
public static class PropertyNameBuilder
{
public static string AugmentPropertyNameWithPropertyModifierMarkerTemplate(PropertyDefinition propertyDefinition,
MemberAttributes getAccessorAttributes, MemberAttr... | Fix failing test for abstract get-set indexer | Fix failing test for abstract get-set indexer
but to be honest I have no idea what other use cases this might break.
| C# | mit | JakeGinnivan/ApiApprover |
51564d04c02665b7db3abad47d04fe1079a77905 | test/Microsoft.AspNet.Mvc.Core.Test/MvcOptionsTest.cs | test/Microsoft.AspNet.Mvc.Core.Test/MvcOptionsTest.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 Xunit;
namespace Microsoft.AspNet.Mvc
{
public class MvcOptionsTest
{
[Fact]
public void MaxValidationError... | // 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 Xunit;
namespace Microsoft.AspNet.Mvc
{
public class MvcOptionsTest
{
[Fact]
public void MaxValidationError... | Remove a test that tests Dictionary | Remove a test that tests Dictionary
This test is coupled to Dictionary<>'s error message. We don't need this.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
252874ca95b3b314512544f8cfc4ec1caa701df0 | 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 |
dabe180213755f165a14e483c5dd6d23199dceb6 | src/InEngine.Core/Queue/Commands/Length.cs | src/InEngine.Core/Queue/Commands/Length.cs | using System;
using CommandLine;
namespace InEngine.Core.Queue.Commands
{
public class Length : AbstractCommand
{
public override void Run()
{
var broker = Broker.Make();
var leftPadding = 15;
Warning("Primary Queue:");
InfoText("Pending".PadLeft... | using System;
using CommandLine;
namespace InEngine.Core.Queue.Commands
{
public class Length : AbstractCommand
{
public override void Run()
{
var broker = Broker.Make();
var leftPadding = 15;
Warning("Primary Queue:");
InfoText("Pending".PadLeft... | Use correct queue name in length commands | Use correct queue name in length commands
| C# | mit | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET |
f438421d00ee231c0ed6ac0222f13c0a3cfe847c | Orchard.Source.1.8.1/src/Orchard.Web/Themes/Bootstrap_3_2_0_Base/Views/MenuItem.cshtml | Orchard.Source.1.8.1/src/Orchard.Web/Themes/Bootstrap_3_2_0_Base/Views/MenuItem.cshtml | @{
// odd formatting in this file is to cause more attractive results in the output.
var items = Enumerable.Cast<dynamic>((System.Collections.IEnumerable)Model);
}
@{
if (!HasText(Model.Text))
{
@DisplayChildren(Model)
}
else
{
if ((bool)Model.Selected)
{
... | @{
// odd formatting in this file is to cause more attractive results in the output.
var items = Enumerable.Cast<dynamic>((System.Collections.IEnumerable)Model);
}
@{
if (!HasText(Model.Text))
{
@DisplayChildren(Model)
}
else
{
if ((bool)Model.Selected)
{
... | Use chevron down for drop downs. | Use chevron down for drop downs.
| C# | bsd-3-clause | bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes |
8e0f525588a5d0e997b5a15da50045ebbb719434 | osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.cs | osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Utils;
using osu.Game.Graphics.Sprites;
using osu.Game.Grap... | // 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.Utils;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osuTK;
name... | Rewrite existing test scene somewhat | Rewrite existing test scene somewhat
| C# | mit | ppy/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu |
f9fdf228b384046e48baa6daba396318a1ea9f24 | UnitTestProject1/Assembly.cs | UnitTestProject1/Assembly.cs | using Xunit;
// This is a work-around for #11.
// https://github.com/CXuesong/WikiClientLibrary/issues/11
// We are using Bot Password on CI, which may naturally evade the issue.
#if !ENV_CI_BUILD
[assembly: CollectionBehavior(DisableTestParallelization = true)]
#endif
| using Xunit;
// This is a work-around for #11.
// https://github.com/CXuesong/WikiClientLibrary/issues/11
// We are using Bot Password on CI, which may naturally evade the issue.
// [assembly: CollectionBehavior(DisableTestParallelization = true)]
| Enable test parallelization on local. | Enable test parallelization on local.
| C# | apache-2.0 | CXuesong/WikiClientLibrary |
564a24951d05a611dd435be26ed2b8a2126094b0 | Core/ProtoCore/Utils/Validity.cs | Core/ProtoCore/Utils/Validity.cs | using System;
namespace ProtoCore.Utils
{
public class Validity
{
public static void Assert(bool cond)
{
if (!cond)
throw new Exceptions.CompilerInternalException("");
}
public static void Assert(bool cond, string message)
{
... | using System;
namespace ProtoCore.Utils
{
public class Validity
{
public static void Assert(bool cond)
{
if (!cond)
throw new Exceptions.CompilerInternalException("");
}
public static void Assert(bool cond, string message)
{
... | Remove expiration date of DesignScript | Remove expiration date of DesignScript
| C# | apache-2.0 | DynamoDS/designscript-archive,samuto/designscript,DynamoDS/designscript-archive,DynamoDS/designscript-archive,DynamoDS/designscript-archive,samuto/designscript,DynamoDS/designscript-archive,samuto/designscript,samuto/designscript,samuto/designscript,samuto/designscript |
f7b98393a9efc955813eca4f81940949e261d3ee | Rackspace.CloudOffice/ApiException.cs | Rackspace.CloudOffice/ApiException.cs | using System;
using System.Dynamic;
using System.IO;
using System.Net;
using Newtonsoft.Json;
namespace Rackspace.CloudOffice
{
public class ApiException : Exception
{
public dynamic Response { get; private set; }
public ApiException(WebException ex) : base(GetErrorMessage(ex), ex)
{
... | using System;
using System.Dynamic;
using System.IO;
using System.Net;
using Newtonsoft.Json;
namespace Rackspace.CloudOffice
{
public class ApiException : Exception
{
public dynamic Response { get; private set; }
public HttpStatusCode? HttpCode { get; private set; }
public ApiExcepti... | Add HttpCode convenience property to exception | Add HttpCode convenience property to exception
| C# | mit | rackerlabs/RackspaceCloudOfficeApiClient |
7f940693521c299c46812a16909418c2238a9587 | MeidoCommon/MeidoCommon.cs | MeidoCommon/MeidoCommon.cs | using System;
using System.Collections.Generic;
namespace MeidoCommon
{
public interface IMeidoHook
{
string Name { get; }
string Version { get; }
Dictionary<string, string> Help { get; }
string Prefix { set; }
}
public interface IIrcMessage
{
string Messag... | using System;
using System.Collections.Generic;
namespace MeidoCommon
{
public interface IMeidoHook
{
// Things the plugin provides us with.
string Name { get; }
string Version { get; }
Dictionary<string, string> Help { get; }
// Things we provide to the plugin.
... | Modify the MeidoHook interface to allow communicating to the plugins they need to stop. That way they can release whatever resources they're holding or stop threads/timers to have running seperate from the main thread. This will make it possible to have MeidoBot stop the entire program from top-down. | Modify the MeidoHook interface to allow communicating to the plugins they need to stop.
That way they can release whatever resources they're holding or stop threads/timers to have running seperate from the main
thread.
This will make it possible to have MeidoBot stop the entire program from top-down.
| C# | bsd-2-clause | IvionSauce/MeidoBot |
18aeef8e6fae5897dcff5b3ad43d3afdb0e81485 | source/AspNet.WebApi.HtmlMicrodataFormatter/DocumentationController.cs | source/AspNet.WebApi.HtmlMicrodataFormatter/DocumentationController.cs | using System;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
namespace AspNet.WebApi.HtmlMicrodataFormatter
{
public class DocumentationController : ApiController
{
public IDocumentationProviderEx DocumentationProvider { get; set; }
... | using System;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
namespace AspNet.WebApi.HtmlMicrodataFormatter
{
public class DocumentationController : ApiController
{
public IDocumentationProviderEx DocumentationProvider { get; set; }
protected over... | Make method virtual so clients can decorate behavior. | Make method virtual so clients can decorate behavior.
| C# | apache-2.0 | themotleyfool/AspNet.WebApi.HtmlMicrodataFormatter |
9691f78cbf0d1e4fa9abaf3213592ec59302c0bd | src/Arkivverket.Arkade.GUI/Util/ArkadeProcessingAreaLocationSetting.cs | src/Arkivverket.Arkade.GUI/Util/ArkadeProcessingAreaLocationSetting.cs | using System.IO;
using Arkivverket.Arkade.Core.Base;
using Arkivverket.Arkade.GUI.Properties;
namespace Arkivverket.Arkade.GUI.Util
{
public static class ArkadeProcessingAreaLocationSetting
{
public static string Get()
{
Settings.Default.Reload();
return Set... | using System.IO;
using Arkivverket.Arkade.Core.Base;
using Arkivverket.Arkade.GUI.Properties;
namespace Arkivverket.Arkade.GUI.Util
{
public static class ArkadeProcessingAreaLocationSetting
{
public static string Get()
{
Settings.Default.Reload();
return Set... | Test directory creation access by creating a directory (not a file) | Test directory creation access by creating a directory (not a file)
ARKADE-545 | C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
184b3059ce7f104458b6514bdde38058bbdce1df | Assets/Pear.InteractionEngine/Scripts/Controllers/Editor/ControllerBehaviorEditor.cs | Assets/Pear.InteractionEngine/Scripts/Controllers/Editor/ControllerBehaviorEditor.cs | using Pear.InteractionEngine.Utils;
using System;
using UnityEditor;
using UnityEngine;
namespace Pear.InteractionEngine.Controllers {
[CustomEditor(typeof(ControllerBehaviorBase), true)]
[CanEditMultipleObjects]
public class ControllerBehaviorEditor : Editor {
// The controller property
SerializedProperty _c... | using Pear.InteractionEngine.Utils;
using System;
using UnityEditor;
using UnityEngine;
namespace Pear.InteractionEngine.Controllers {
[CustomEditor(typeof(ControllerBehaviorBase), true)]
[CanEditMultipleObjects]
public class ControllerBehaviorEditor : Editor {
// The controller property
SerializedProperty _c... | Check for parent controller on same object too, not just parents | Check for parent controller on same object too, not just parents
| C# | mit | PearMed/Pear-Interaction-Engine |
a55b77f7f8ac8035da6b4181237f02326cc91f24 | Rg.Plugins.Popup/Platforms/Android/Popup.cs | Rg.Plugins.Popup/Platforms/Android/Popup.cs | using System;
using System.Linq;
using Android.Content;
using Android.OS;
using Rg.Plugins.Popup.Droid.Impl;
using Rg.Plugins.Popup.Droid.Renderers;
using Rg.Plugins.Popup.Services;
using Xamarin.Forms;
namespace Rg.Plugins.Popup
{
public static class Popup
{
internal static event EventHandler OnIniti... | using System;
using System.Linq;
using Android.Content;
using Android.OS;
using Rg.Plugins.Popup.Droid.Impl;
using Rg.Plugins.Popup.Droid.Renderers;
using Rg.Plugins.Popup.Services;
using Xamarin.Forms;
namespace Rg.Plugins.Popup
{
public static class Popup
{
internal static event EventHandler OnIniti... | Remove correct page on back button press | Remove correct page on back button press
| C# | mit | rotorgames/Rg.Plugins.Popup,rotorgames/Rg.Plugins.Popup |
d07a8b86520634af23da8a5e0ba2e044c569bd23 | src/OfflineWorkflowsSample/OfflineWorkflowsSample/Controls/CustomAppTitleBar.xaml.cs | src/OfflineWorkflowsSample/OfflineWorkflowsSample/Controls/CustomAppTitleBar.xaml.cs | using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
namespace OfflineWorkflowSample
{
public sealed partial class CustomAppTitleBar : UserContro... | using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
namespace OfflineWorkflowSample
{
public ... | Set window controls to right color | Set window controls to right color
| C# | apache-2.0 | Esri/arcgis-runtime-demos-dotnet |
297f2394031b492bc9483663072e6335205ae648 | Espera/Espera.Core/BlobCacheKeys.cs | Espera/Espera.Core/BlobCacheKeys.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Espera.Core
{
/// <summary>
/// This class contains the used keys for Akavache
/// </summary>
public static class BlobCacheKeys
{
/// <summary>
/// This is ... | namespace Espera.Core
{
/// <summary>
/// This class contains the used keys for Akavache
/// </summary>
public static class BlobCacheKeys
{
/// <summary>
/// This is the key prefix for song artworks. After the hyphen, the MD5 hash of the artwork
/// is attached.
/// ... | Fix typo and remove usings | Fix typo and remove usings
| C# | mit | punker76/Espera,flagbug/Espera |
9eca32659c89468f2795a4e43f09cb414ab014eb | source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs | source/Glimpse.Core2/SerializationConverter/GlimpseMetadataConverter.cs | using System.Collections.Generic;
using Glimpse.Core2.Extensibility;
using Glimpse.Core2.Framework;
namespace Glimpse.Core2.SerializationConverter
{
public class GlimpseMetadataConverter:SerializationConverter<GlimpseRequest>
{
public override IDictionary<string, object> Convert(GlimpseRequest request... | using System.Collections.Generic;
using Glimpse.Core2.Extensibility;
using Glimpse.Core2.Framework;
namespace Glimpse.Core2.SerializationConverter
{
public class GlimpseMetadataConverter:SerializationConverter<GlimpseRequest>
{
public override IDictionary<string, object> Convert(GlimpseRequest request... | Adjust the name of the property that the data for a response goes into | Adjust the name of the property that the data for a response goes into
| C# | apache-2.0 | paynecrl97/Glimpse,gabrielweyer/Glimpse,elkingtonmcb/Glimpse,SusanaL/Glimpse,dudzon/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,codevlabs/Glimpse,rho24/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,dudzon/Glimpse,codevlabs/Glimpse,paynecrl97/Glimpse,rho24/Glim... |
ba1e5f34f3fd86d5d63ccae6202dfed1d78faef3 | source/XeroApi/Model/Contact.cs | source/XeroApi/Model/Contact.cs | using System;
namespace XeroApi.Model
{
public class Contact : ModelBase
{
[ItemId]
public Guid ContactID { get; set; }
[ItemNumber]
public string ContactNumber { get; set; }
[ItemUpdatedDate]
public DateTime? UpdatedDateUTC { get; set; }
publ... | using System;
namespace XeroApi.Model
{
public class Contact : ModelBase
{
[ItemId]
public Guid ContactID { get; set; }
[ItemNumber]
public string ContactNumber { get; set; }
[ItemUpdatedDate]
public DateTime? UpdatedDateUTC { get; set; }
publ... | Mark IsCustomer and IsSupplier fields as readonly | Mark IsCustomer and IsSupplier fields as readonly
| C# | mit | XeroAPI/XeroAPI.Net,jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net |
42f2e179f60f5248f37a65f2a3c3ffd928cb5839 | src/Pulsar/Cron/CronCalendar.cs | src/Pulsar/Cron/CronCalendar.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Codestellation.Pulsar.Cron
{
public class CronCalendar
{
private readonly List<DateTime> _days;
public CronCalendar(IEnumerable<DateTime> scheduledDays)
{
_days = scheduledDays.ToList();
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Codestellation.Pulsar.Cron
{
public class CronCalendar
{
private readonly List<DateTime> _days;
private readonly HashSet<DateTime> _dayIndex;
public CronCalendar(IEnumerable<DateTime> scheduledDays)
{... | Use hash set to assert should fire | Use hash set to assert should fire
| C# | mit | Codestellation/Pulsar |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.