commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
a6beba9781e6dc40930d08d918591c55b1f48aef | update samples using new api. | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP | samples/Sample.Kafka/Startup.cs | samples/Sample.Kafka/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Sample.Kafka
{
public class Startup
{
public Startup(IHostingEnvironment env)
{
... | using DotNetCore.CAP.EntityFrameworkCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Sample.Kafka
{
public class Startup
{
public Startup... | mit | C# |
48159b3c0eb54915185e9027f06d7f5747f8a250 | Return null if active IVsHierarchy is null | clariuslabs/clide,clariuslabs/clide,kzu/clide,kzu/clide,tondat/clide,tondat/clide,kzu/clide,clariuslabs/clide,tondat/clide | src/Clide/Interop/VsSolutionSelection.cs | src/Clide/Interop/VsSolutionSelection.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Runtime.InteropServices;
using Merq;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace Clide.Interop
{
[Export (typeof (IVsSol... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Runtime.InteropServices;
using Merq;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace Clide.Interop
{
[Export (typeof (IVsSol... | mit | C# |
30ff0b83c199a20ddcd2e86beb643842f1263daf | Fix test failures due to unpopulated room | ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu | osu.Game/Tests/Visual/Multiplayer/MultiplayerTestScene.cs | osu.Game/Tests/Visual/Multiplayer/MultiplayerTestScene.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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | // 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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | mit | C# |
6b8e4b5111f6d73c9563800bc1cb0a4462b1d088 | Fix erroneous removal of code | googleads/googleads-mobile-unity,googleads/googleads-mobile-unity | source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsSettingsEditor.cs | source/plugin/Assets/GoogleMobileAds/Editor/GoogleMobileAdsSettingsEditor.cs | using UnityEditor;
using UnityEngine;
namespace GoogleMobileAds.Editor
{
[InitializeOnLoad]
[CustomEditor(typeof(GoogleMobileAdsSettings))]
public class GoogleMobileAdsSettingsEditor : UnityEditor.Editor
{
[MenuItem("Assets/Google Mobile Ads/Settings...")]
public static void OpenInspec... | using UnityEditor;
using UnityEngine;
namespace GoogleMobileAds.Editor
{
[InitializeOnLoad]
[CustomEditor(typeof(GoogleMobileAdsSettings))]
public class GoogleMobileAdsSettingsEditor : UnityEditor.Editor
{
[MenuItem("Assets/Google Mobile Ads/Settings...")]
public static void OpenInspec... | apache-2.0 | C# |
9673b33eff62b412e3128534c3afb90d4a8a5ea7 | Update ValuesController.cs | cayodonatti/TopGearApi | TopGearApi/Controllers/ValuesController.cs | TopGearApi/Controllers/ValuesController.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
namespace TopGearApi.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace TopGearApi.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
... | mit | C# |
12b2476b4a6e69b0aa7cb94a78dfdcfc78e8dfc1 | Remove ControllerStateTracker debug logging I accidently left in | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/input/ControllerStateTracker.cs | Viewer/src/input/ControllerStateTracker.cs | using SharpDX;
using System;
using Valve.VR;
public class ControllerStateTracker {
private readonly uint deviceIdx;
private bool active;
private bool menuOpen;
private VRControllerState_t secondPreviousState;
private VRControllerState_t previousState;
private VRControllerState_t currentState;
private int stal... | using SharpDX;
using System;
using Valve.VR;
public class ControllerStateTracker {
private readonly uint deviceIdx;
private bool active;
private bool menuOpen;
private VRControllerState_t secondPreviousState;
private VRControllerState_t previousState;
private VRControllerState_t currentState;
private int stal... | mit | C# |
95f2bef119ba54f55a0983fc1ea795704b390c69 | Update tests | NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | // 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.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | mit | C# |
ade665f43ca3b5fb92aea8af7229c7ec0320d7c1 | Update edit-ticket.aspx.cs | c410echo/echo-asp | edit-ticket.aspx.cs | edit-ticket.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class edit_ticket : System.Web.UI.Page
{
private static ObjectDataSource edb = new ObjectDataSource("TicketDBTableAdapters.ticketsTableAdapter","get_ticket");
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class edit_ticket : System.Web.UI.Page
{
private static ObjectDataSource edb = new ObjectDataSource("TicketDBTableAdapters.ticketsTableAdapter","get_ticket");
... | mit | C# |
2aa75f1b68f0262c364e2a1db8c3e03531deb435 | add Mobile Center keys to Private Keys | colbylwilliams/XWeather,colbylwilliams/XWeather | XWeather/XWeather/Constants/PrivateKeys.cs | XWeather/XWeather/Constants/PrivateKeys.cs | namespace XWeather.Constants
{
public static class PrivateKeys
{
public const string WuApiKey = @""; // https://github.com/colbylwilliams/XWeather#weather-underground
public const string HockeyApiKey_iOS = @""; // https://github.com/colbylwilliams/XWeather#hockeyapp-optional
public const st... | namespace XWeather.Constants
{
public static class PrivateKeys
{
public const string WuApiKey = @""; // https://github.com/colbylwilliams/XWeather#weather-underground
public const string HockeyApiKey_iOS = @""; // https://github.com/colbylwilliams/XWeather#hockeyapp-optional
public const st... | mit | C# |
728edb8a5fa5a9227eaebdd7275873cc09207235 | Update Bootstrap.cs | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos | source/Cosmos.Core/Bootstrap.cs | source/Cosmos.Core/Bootstrap.cs | using Cosmos.Debug.Kernel;
namespace Cosmos.Core
{
/// <summary>
/// Bootstrap class. Used to invoke pre-boot methods.
/// </summary>
/// <remarks>Bootstrap is a class designed only to get the essentials done.</remarks>
public unsafe static class Bootstrap
{
// See note in Global - the... | using Cosmos.Debug.Kernel;
namespace Cosmos.Core
{
/// <summary>
/// Bootstrap class. Used to invoke pre-boot methods.
/// </summary>
/// <remarks>Bootstrap is a class designed only to get the essentials done.</remarks>
public unsafe static class Bootstrap
{
// See note in Global - the... | bsd-3-clause | C# |
66871a6b8ed8fea38858477bbff2384c8e811406 | fix bug add batch | figueiredorui/BankA,figueiredorui/BankA,figueiredorui/BankA | src/Core/BankA.Data/Repositories/TransactionRepository.cs | src/Core/BankA.Data/Repositories/TransactionRepository.cs | using BankA.Data.Contexts;
using BankA.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankA.Data.Repositories
{
public class TransactionRepository : Repository<BankTransaction>
{
public void AddBatch(... | using BankA.Data.Contexts;
using BankA.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankA.Data.Repositories
{
public class TransactionRepository : Repository<BankTransaction>
{
public void AddBatch(... | mit | C# |
945ef339760bee342bdde0f0db156430a28b9966 | Add more string extension methods for common operations | dsbenghe/Novell.Directory.Ldap.NETStandard,dsbenghe/Novell.Directory.Ldap.NETStandard | src/Novell.Directory.Ldap.NETStandard/ExtensionMethods.cs | src/Novell.Directory.Ldap.NETStandard/ExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Novell.Directory.Ldap
{
internal static partial class ExtensionMethods
{
/// <summary>
/// Shortcut for <see cref="string.IsNullOrEmpty"/>
/// </summary>
internal static bool IsEmpty(this string input)... | using System.Collections.Generic;
using System.Text;
namespace Novell.Directory.Ldap
{
internal static partial class ExtensionMethods
{
/// <summary>
/// Is the given collection null, or Empty (0 elements)?
/// </summary>
internal static bool IsEmpty<T>(this IReadOnlyCollection... | mit | C# |
ef3cae569b3a73b0a84790d568da3067efb30db8 | Add music in Main | LorinMACE/SnakeDesignPatterns | Snake-DesignPatterns/Snake.cs | Snake-DesignPatterns/Snake.cs | using Snake_DesignPatterns.Controllers;
using Snake_DesignPatterns.Controllers.Events;
using Snake_DesignPatterns.Views;
using System;
using System.IO;
using System.Text;
namespace Snake_DesignPatterns
{
class Snake
{
public static CTick TickThread;
public static EventManager EventManager;
... | using Snake_DesignPatterns.Controllers;
using Snake_DesignPatterns.Controllers.Events;
using Snake_DesignPatterns.Views;
using System;
using System.Text;
namespace Snake_DesignPatterns
{
class Snake
{
public static CTick TickThread;
public static EventManager EventManager;
public stati... | mit | C# |
0681bb9a2b27f063ae0153ca204b25a895334db1 | Fix potential nullref | NeoAdonis/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu-new,2yangk23/osu,smoogipooo/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,johnn... | osu.Game/Screens/Edit/Compose/ComposeScreen.cs | osu.Game/Screens/Edit/Compose/ComposeScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Skinning;
namespace osu.Game.Screens.Edit.Compose
{
public class ComposeScreen ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Skinning;
namespace osu.Game.Screens.Edit.Compose
{
public class ComposeScreen ... | mit | C# |
910fa09f925711506604465b029d7758a96156d9 | make Doors list private, add getter | virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016 | Assets/Scripts/RoomDetails.cs | Assets/Scripts/RoomDetails.cs | using System.Collections.Generic;
using UnityEngine;
public class RoomDetails : MonoBehaviour {
public int HorizontalSize;
public int VerticalSize;
private List<GameObject> Doors;
void Start() {
int doorIndex = 0;
for(int i = 0; i < transform.childCount; i++) {
GameObject... | using System.Collections.Generic;
using UnityEngine;
public class RoomDetails : MonoBehaviour {
public int HorizontalSize;
public int VerticalSize;
public List<GameObject> Doors;
void Start() {
int doorIndex = 0;
for(int i = 0; i < transform.childCount; i++) {
GameObject ... | mit | C# |
2ceab1dc56cef75983b4c3f8b741d601702531f4 | throw exception on null argument of IReadOnlyList<T>.FirstOrDefault() | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Agent/Extensions/ReadOnlyListExtensions.cs | src/FilterLists.Agent/Extensions/ReadOnlyListExtensions.cs | using System;
using System.Collections.Generic;
namespace FilterLists.Agent.Extensions
{
public static class ReadOnlyListExtensions
{
public static T FirstOrDefault<T>(this IReadOnlyList<T> list)
{
if (list is null)
throw new ArgumentNullException(nameof(list));
... | using System.Collections.Generic;
namespace FilterLists.Agent.Extensions
{
public static class ReadOnlyListExtensions
{
public static T FirstOrDefault<T>(this IReadOnlyList<T> list)
{
if (list is null || list.Count == 0)
return default;
return list[0];
... | mit | C# |
e1300a9bf52c579d9da7a4436d7cb70dc8901c68 | fix model description in ProjectPreview | fachexot/AMOS-SoftwareForge,fachexot/AMOS-SoftwareForge | SoftwareForge.Mvc/SoftwareForge.Mvc/Views/Shared/ProjectPreviewPartial.cshtml | SoftwareForge.Mvc/SoftwareForge.Mvc/Views/Shared/ProjectPreviewPartial.cshtml | <!--
- Copyright (c) 2013 by Denis Bach, Marvin Kampf, Konstantin Tsysin, Taner Tunc, Florian Wittmann
-
- This file is part of the Software Forge Overlay rating application.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as... | <!--
- Copyright (c) 2013 by Denis Bach, Marvin Kampf, Konstantin Tsysin, Taner Tunc, Florian Wittmann
-
- This file is part of the Software Forge Overlay rating application.
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as... | agpl-3.0 | C# |
b7d33e356743170e5c3cb0d9b576832990a28b7d | Resolve build warnings | jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke | src/NetApi32.Desktop/NetApi32+NetUserEnumLevel.cs | src/NetApi32.Desktop/NetApi32+NetUserEnumLevel.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
/// <content>
/// Contains the <see cref="NetUserEnumLevel"/> nest... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
/// <content>
/// Contains the <see cref="NetUserEnumLevel"/> nest... | mit | C# |
e1160b7a5b2c84448d7dc5400e459469a6437e5d | Update src/OnPremise/WebSite/Views/Shared/SignOut.cshtml | rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktect... | src/OnPremise/WebSite/Views/Shared/SignOut.cshtml | src/OnPremise/WebSite/Views/Shared/SignOut.cshtml | @model IEnumerable<string>
@{
ViewBag.Title = "Sign Out";
ViewBag.HideMenu = true;
}
<h2>Sign Out</h2>
@if (!string.IsNullOrWhiteSpace(ViewBag.ReturnUrl))
{
<p>
<a href='@ViewBag.ReturnUrl'>Return to application</a>
</p>
}
@foreach (var link in Model)
{
<iframe style="visibility: hidden... | @model IEnumerable<string>
@{
ViewBag.Title = "Sign Out";
ViewBag.HideMenu = true;
}
<h2>Sign Out</h2>
@if (!string.IsNullOrWhiteSpace(ViewBag.ReturnUrl))
{
<p>
<a href='@ViewBag.ReturnUrl'>Return to application</a>
</p>
}
@foreach (var link in Model)
{
<iframe style="visibility: hidden... | bsd-3-clause | C# |
4214dabcd2220360735b637d5a44d6c348734bc7 | Simplify GetTabForItem | jcmoyer/Yeena | Yeena/PathOfExile/PoEStash.cs | Yeena/PathOfExile/PoEStash.cs | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | // Copyright 2013 J.C. Moyer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | apache-2.0 | C# |
8c0ec1a3e0c7915306dcb47925168b017a035668 | Update todo sample for latest metadata changes | x335/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp | samples/Todo/Todo/TodoItem.cs | samples/Todo/Todo/TodoItem.cs | // TodoItem.cs
//
using System;
using System.Runtime.CompilerServices;
namespace Todo {
[ScriptImport]
[ScriptIgnoreNamespace]
[ScriptName("Object")]
internal sealed class TodoItem {
public bool Completed;
[ScriptName("id")]
public string ID;
public string Title;
... | // TodoItem.cs
//
using System;
using System.Runtime.CompilerServices;
namespace Todo {
[Imported]
[IgnoreNamespace]
[ScriptName("Object")]
internal sealed class TodoItem {
public bool Completed;
[ScriptName("id")]
public string ID;
public string Title;
}
}
| apache-2.0 | C# |
cce70432e09524cb8e9500bdc4d72c0f0494c733 | Add constant for install page url | mperdeck/jsnlog | jsnlog/Infrastructure/SiteConstants.cs | jsnlog/Infrastructure/SiteConstants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebSite.App_Code
{
// Copied from web site project.
//TODO: move web site project to jsnlog solution, have only one copy of this file
public static class SiteConstants
{
public static string CurrentV... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebSite.App_Code
{
// Copied from web site project.
//TODO: move web site project to jsnlog solution, have only one copy of this file
public static class SiteConstants
{
public static string CurrentV... | mit | C# |
71397d156ff0492858b4a6391d4705bd4dba382b | update Version string to "v0.5" | yasokada/unity-150908-udpTimeGraph | Assets/AppInfo.cs | Assets/AppInfo.cs | using UnityEngine;
using System.Collections;
/*
* v0.5 2015/09/11
* - display ymin and ymax on the left of the panel (graphScale)
* v0.4 2015/09/10
* - can handle set,yrange command
*/
namespace NS_appInfo // NS stands for NameSpace
{
public static class AppInfo
{
public const string Version = "v0.5";
... | using UnityEngine;
using System.Collections;
/*
* v0.5 2015/09/11
* - display ymin and ymax on the left of the panel (graphScale)
* v0.4 2015/09/10
* - can handle set,yrange command
*/
namespace NS_appInfo // NS stands for NameSpace
{
public static class AppInfo
{
public const string Version = "v0.4";
... | mit | C# |
dbed31bc00f43f41bb45f0e41e697c692595e122 | fix Projection | carbon/Amazon | src/Amazon.DynamoDb/Models/Projection.cs | src/Amazon.DynamoDb/Models/Projection.cs | #nullable disable
using Amazon.DynamoDb.Extensions;
using Carbon.Json;
using System.Text.Json;
namespace Amazon.DynamoDb
{
public class Projection
{
public Projection() { }
public Projection(string[] nonKeyAttributes, ProjectionType type)
{
NonKeyAttributes = nonKeyAttribu... | #nullable disable
using Amazon.DynamoDb.Extensions;
using Carbon.Json;
using System.Text.Json;
namespace Amazon.DynamoDb
{
public class Projection
{
public Projection() { }
public Projection(string[] nonKeyAttributes, ProjectionType type)
{
NonKeyAttributes = nonKeyAttribu... | mit | C# |
e93c13496f5e920569404ede102f4608d3cf6db5 | Use a more compatible method call | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | src/BugsnagUnity/DictionaryExtensions.cs | src/BugsnagUnity/DictionaryExtensions.cs | using System;
using System.Collections.Generic;
using BugsnagUnity.Payload;
using UnityEngine;
namespace BugsnagUnity
{
static class DictionaryExtensions
{
private static IntPtr Arrays { get; } = AndroidJNI.FindClass("java/util/Arrays");
private static IntPtr ToStringMethod { get; } = AndroidJNIHelper.Get... | using System.Collections.Generic;
using BugsnagUnity.Payload;
using UnityEngine;
namespace BugsnagUnity
{
static class DictionaryExtensions
{
internal static void PopulateDictionaryFromAndroidData(this IDictionary<string, object> dictionary, AndroidJavaObject source)
{
using (var set = source.Call<An... | mit | C# |
bbf260bcfcb183f96c126478b0fb4655b0468808 | Add properties to patch creator button | Sitecore/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager | src/SIM.Tool.Windows/MainWindowComponents/CreateSupportPatchButton.cs | src/SIM.Tool.Windows/MainWindowComponents/CreateSupportPatchButton.cs | namespace SIM.Tool.Windows.MainWindowComponents
{
using System;
using System.IO;
using System.Windows;
using Sitecore.Diagnostics.Base;
using JetBrains.Annotations;
using SIM.Core;
using SIM.Instances;
using SIM.Tool.Base;
using SIM.Tool.Base.Plugins;
[UsedImplicitly]
public class CreateSupportPa... | namespace SIM.Tool.Windows.MainWindowComponents
{
using System;
using System.IO;
using System.Windows;
using Sitecore.Diagnostics.Base;
using JetBrains.Annotations;
using SIM.Core;
using SIM.Instances;
using SIM.Tool.Base;
using SIM.Tool.Base.Plugins;
[UsedImplicitly]
public class CreateSupportPa... | mit | C# |
2999b51968aa2285b05c043679ea61459a911431 | Bump version to 0.9 | jamesfoster/DeepEqual | src/DeepEqual/Properties/AssemblyInfo.cs | src/DeepEqual/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... | mit | C# |
264b79d1a58b1d23269a3415011c8f0ba0cefbfa | Update ConvertHeader.cs | SimonCropp/NServiceBus.Serilog | src/NServiceBus.Serilog/ConvertHeader.cs | src/NServiceBus.Serilog/ConvertHeader.cs | using Serilog.Events;
/// <summary>
/// Used to support writing a custom log property for a specific header.
/// </summary>
public delegate LogEventProperty? ConvertHeader(string key, string value); | using Serilog.Events;
public delegate LogEventProperty? ConvertHeader(string key, string value); | mit | C# |
b8ef5db9d3734e84e599442c3be63df5b21ba209 | Refactor MineCell | HQC-Team-Minesweeper-5/Minesweeper | src/Minesweeper.Logic/MineCell.cs | src/Minesweeper.Logic/MineCell.cs | namespace Minesweeper.Logic
{
using System;
using Minesweeper.Logic.Enumerations;
public class MineCell : ICloneable
{
private int value;
private bool isMine;
private FieldStatus status;
public MineCell()
{
this.value = 0;
this.status = F... | namespace Minesweeper.Logic
{
using System;
using Minesweeper.Logic.Enumerations;
public class MineCell : ICloneable
{
private int value;
private bool isMine;
private FieldStatus status;
public MineCell()
{
this.value = 0;
this.status = F... | mit | C# |
98eee9dffff67e0c23f497a70cd6794e833bd39e | Clean up RequestData | arthot/xsp,arthot/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,stormleoxia/xsp,murador/xsp,murador/xsp,stormleoxia/xsp | src/Mono.WebServer/RequestData.cs | src/Mono.WebServer/RequestData.cs | //
// Mono.WebServer.RequestData
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
// (C) Copyright 2004-2010 Novell, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation fi... | //
// Mono.WebServer.RequestData
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
// (C) Copyright 2004-2010 Novell, Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation fi... | mit | C# |
ba255b7056b4f4d76ec7d32a3375bb44ea700ff9 | Set default build target to build. | Faithlife/System.Data.SQLite,Faithlife/Parsing,ejball/ArgsReading,Faithlife/FaithlifeUtility,ejball/XmlDocMarkdown,Faithlife/System.Data.SQLite | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
DocsSettings = new DotNetDocsSettings
{
GitLogin = new GitLoginInfo("faithlifebuildbot", Environment.... | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
DocsSettings = new DotNetDocsSettings
{
GitLogin = new GitLoginInfo("faithlifebuildbot", Environment.... | mit | C# |
ce7929b3577973f8ab6d926d7c8048bd24d79aa5 | Add ApiAccessToken to System object | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet | Alexa.NET/Request/System.cs | Alexa.NET/Request/System.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Alexa.NET.Request
{
public class AlexaSystem
{
[JsonProperty("apiAccessToken")]
public string ApiAccessToken { get; set; }
[JsonProperty("apiEndpoint")]
... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Alexa.NET.Request
{
public class AlexaSystem
{
[JsonProperty("apiEndpoint")]
public string ApiEndpoint { get; set; }
[JsonProperty("application")]
... | mit | C# |
0b0b5fe4164872032c4d38962abe3cf5af02530d | Support implicit conversions for Optional<T> | ethanmoffat/EndlessClient | EOLib/Optional.cs | EOLib/Optional.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EOLib
{
public class Optional<T>
{
public T Value { get; private set; }
public bool HasValue { get; private set; }
public Opti... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EOLib
{
public class Optional<T>
{
public T Value { get; private set; }
public bool HasValue { get; private set; }
public Opti... | mit | C# |
e56abef5c40695162e410da0ab24d6e39d6fb9c8 | Fix result checker if no subscriber errors in response | alwynlombaard/ExactTarget-triggered-email-sender | ExactTarget.TriggeredEmail/Core/ExactTargetResultChecker.cs | ExactTarget.TriggeredEmail/Core/ExactTargetResultChecker.cs | using System;
using System.Linq;
using ExactTarget.TriggeredEmail.ExactTargetApi;
namespace ExactTarget.TriggeredEmail.Core
{
public class ExactTargetResultChecker
{
public static void CheckResult(Result result)
{
if (result == null)
{
throw new Exceptio... | using System;
using System.Linq;
using ExactTarget.TriggeredEmail.ExactTargetApi;
namespace ExactTarget.TriggeredEmail.Core
{
public class ExactTargetResultChecker
{
public static void CheckResult(Result result)
{
if (result == null)
{
throw new Exceptio... | mit | C# |
580332b0251393b2ee4fe56ec536d37863c627b6 | Fix typo in comments. | googleprojectzero/sandbox-attacksurface-analysis-tools | NtApiDotNet/Win32/DirectoryService/DirectoryServiceUtils.cs | NtApiDotNet/Win32/DirectoryService/DirectoryServiceUtils.cs | // Copyright 2020 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | // Copyright 2020 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | apache-2.0 | C# |
91f3d8deb44b425d632cf0299fd4087f15e5f9c0 | Improve class xmldoc | EVAST9919/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,Drezi126/osu,peppy/osu-new,smoogipooo/osu,Frontear/osuKyzer,NeoAdonis/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,smoogipoo/osu,Damnae/osu,Nabile-Rahmani/osu,EVAST9919/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,naoey/osu,ZLima1... | osu.Game/Graphics/Containers/ConstrainedIconContainer.cs | osu.Game/Graphics/Containers/ConstrainedIconContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
namespace osu.Game.Graphics.Containers
{
/// <summary>... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
namespace osu.Game.Graphics.Containers
{
/// <summary>... | mit | C# |
e69bb67afe6e1ab615319844dfdf6ac3dfccd530 | Add `IApplicableToDrawableHitObject` that is taking a single DHO | peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu | osu.Game/Rulesets/Mods/IApplicableToDrawableHitObject.cs | osu.Game/Rulesets/Mods/IApplicableToDrawableHitObject.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Mods
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for <see cref="Mo... | mit | C# |
9677ac7eac54a66351e5cc10979c4c8a679b507a | Add SingleOrError | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Utilities/Collections/Enumerable.SingleOrDefaultOrError.cs | source/Nuke.Common/Utilities/Collections/Enumerable.SingleOrDefaultOrError.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.Utilities.Collections
{
public static partial class Enumerab... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.Utilities.Collections
{
public static partial class Enumerab... | mit | C# |
e906434d1acb9acbae6eea9933ecc98c72b5fbdb | Make HandleRef fields private | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/System.Private.CoreLib/shared/System/Runtime/InteropServices/HandleRef.cs | src/System.Private.CoreLib/shared/System/Runtime/InteropServices/HandleRef.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.InteropServices
{
public struct HandleRef
{
// ! Do not add or rearrange fi... | // 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.InteropServices
{
public struct HandleRef
{
// ! Do not add or rearrange fi... | mit | C# |
e32721d59f84171058b87a61160ff71254fb0449 | remove 3 arg client | grokify/ringcentral-sdk-csharp-simple | RingCentralSimple/Client.cs | RingCentralSimple/Client.cs | using System;
using System.Collections.Generic;
using RingCentral;
using RingCentral.SDK.Http;
namespace RingCentralSimple
{
public class Client
{
public RingCentral.SDK.SDK Sdk;
public Client(RingCentral.SDK.SDK ringCentralSdk)
{
Sdk = ringCentralSdk;
}
... | using System;
using System.Collections.Generic;
using RingCentral;
using RingCentral.SDK.Http;
namespace RingCentralSimple
{
public class Client
{
public RingCentral.SDK.SDK Sdk;
public Client(string appKey, string appSecret, string serverUrl)
{
Sdk = new RingCentral.SDK.... | mit | C# |
f0b4364a6fed765f1e5f099f1cd9ce91317eeaff | Remove Maps pb Network | webSportENIProject/webSport,webSportENIProject/webSport | WUI/Views/Home/Index.cshtml | WUI/Views/Home/Index.cshtml | @{
ViewBag.Title = "Page d'accueil";
}
@section css{
<!-- <link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css" />-->
}
Bienvenue sur le site du marathon
<div id="map"></div>
<div id="mapid"></div>
@section scripts{
<!-- <script type="text/javascript">
var map;
... | @{
ViewBag.Title = "Page d'accueil";
}
@section css{
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css" />
}
Bienvenue sur le site du marathon
<div id="map"></div>
<div id="mapid"></div>
@section scripts{
<script type="text/javascript">
var map;
function init... | apache-2.0 | C# |
a94f0b1875fbe7938ef073ee4e602fe8cb92486c | Allow mongo client configuration | danielgerlag/workflow-core | src/providers/WorkflowCore.Persistence.MongoDB/ServiceCollectionExtensions.cs | src/providers/WorkflowCore.Persistence.MongoDB/ServiceCollectionExtensions.cs | using MongoDB.Driver;
using System;
using System.Linq;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Persistence.MongoDB.Services;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceCollectionExtensions
{
public static WorkflowOptions UseMongo... | using MongoDB.Driver;
using System;
using System.Linq;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Persistence.MongoDB.Services;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceCollectionExtensions
{
public static WorkflowOptions UseMongo... | mit | C# |
0c07aba5ce0117bf71b474e8e404687aac279113 | use modelState instead | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Controllers/ProfileController.cs | Anlab.Mvc/Controllers/ProfileController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Anlab.Core.Domain;
using AnlabMvc.Data;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AnlabMvc.Controlle... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Anlab.Core.Domain;
using AnlabMvc.Data;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AnlabMvc.Controlle... | mit | C# |
1d5afaee57fbb277158aece1b71f841d3654a7ea | Fix new config manager | Acute-sales-ltd/Bonobo-Git-Server,RedX2501/Bonobo-Git-Server,Webmine/Bonobo-Git-Server,Ollienator/Bonobo-Git-Server,Monepi/Bonobo-Git-Server,dunderburken/Bonobo-Git-Server,NipponSysits/IIS.Git-Connector,hakim89/Bonobo-Git-Server,NipponSysits/IIS.Git-Connector,PGM-NipponSysits/IIS.Git-Connector,crowar/Bonobo-Git-Server,... | Bonobo.Git.Server/Bonobo.Git.Server/Configs/ConfigEntry.cs | Bonobo.Git.Server/Bonobo.Git.Server/Configs/ConfigEntry.cs | using System.Configuration;
using System.IO;
using System.Web;
using System.Xml.Serialization;
namespace Bonobo.Git.Server.Configs
{
public class ConfigEntry<Entry> where Entry : ConfigEntry<Entry>, new()
{
protected ConfigEntry() { }
private static Entry _current = null;
private stat... | using System.Configuration;
using System.IO;
using System.Web;
using System.Xml.Serialization;
namespace Bonobo.Git.Server.Configs
{
public class ConfigEntry<Entry> where Entry : ConfigEntry<Entry>
{
protected ConfigEntry() { }
private static Entry _current = null;
private static read... | mit | C# |
0dfa9a0efb8cbffe4a914ea7d8a9effe854c81f0 | Modify the migration so it rebuilds the table. | mareksuscak/ef-migrations-bug | EfMigrationsBug/Migrations/201410021402204_ChangePkType.cs | EfMigrationsBug/Migrations/201410021402204_ChangePkType.cs | namespace EfMigrationsBug.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ChangePkType : DbMigration
{
public override void Up()
{
DropTable("dbo.Foos");
CreateTable(
"dbo.Foos",
... | namespace EfMigrationsBug.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class ChangePkType : DbMigration
{
public override void Up()
{
DropPrimaryKey("dbo.Foos");
AlterColumn("dbo.Foos", "ID", c => c.Int(nullable: fa... | mit | C# |
1bf53f46f27c84eeb8225458a9215304a570bada | Add constructor that creates memory stream internally | protyposis/Aurio,protyposis/Aurio | Aurio/Aurio/Streams/MemoryWriterStream.cs | Aurio/Aurio/Streams/MemoryWriterStream.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Aurio.Streams {
public class MemoryWriterStream : MemorySourceStream, IAudioWriterStream {
public MemoryWriterStream(MemoryStream target, AudioProperties properties) :
base(target, ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Aurio.Streams {
public class MemoryWriterStream : MemorySourceStream, IAudioWriterStream {
public MemoryWriterStream(MemoryStream target, AudioProperties properties) :
base(target, ... | agpl-3.0 | C# |
16e16f9660411180e921588f3e8e7c496191948e | Fix ghost instantiation | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Microgames/EikiJudge/Scripts/EikiJudge_Controller.cs | Assets/Microgames/EikiJudge/Scripts/EikiJudge_Controller.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EikiJudge_Controller : MonoBehaviour
{
public static EikiJudge_Controller controller;
[SerializeField]
private GameObject soulPrefab;
[Header("Set the number of souls to appear")]
public int soulsNumber;
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EikiJudge_Controller : MonoBehaviour
{
public static EikiJudge_Controller controller;
[SerializeField]
private GameObject soulPrefab;
[Header("Set the number of souls to appear")]
public int soulsNumber;
... | mit | C# |
56ab69f34d5f452c38eb73c7b0e21fee0ce42c1e | Bump version to 0.6.3 | sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
ab314f83db5f964d773415b65912c52e543b2d00 | Remove JPEG dialog for non-JPEG formats | jakeclawson/Pinta,Fenex/Pinta,PintaProject/Pinta,jakeclawson/Pinta,PintaProject/Pinta,Mailaender/Pinta,Mailaender/Pinta,Fenex/Pinta,PintaProject/Pinta | Pinta.Core/ImageFormats/GdkPixbufFormat.cs | Pinta.Core/ImageFormats/GdkPixbufFormat.cs | //
// GdkPixbufFormat.cs
//
// Author:
// Maia Kozheva <sikon@ubuntu.com>
//
// Copyright (c) 2010 Maia Kozheva <sikon@ubuntu.com>
//
// 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 Soft... | //
// GdkPixbufFormat.cs
//
// Author:
// Maia Kozheva <sikon@ubuntu.com>
//
// Copyright (c) 2010 Maia Kozheva <sikon@ubuntu.com>
//
// 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 Soft... | mit | C# |
a563dbf9dd93deaa0fb00511bf476cde40b7a43e | Refactor format | p-org/PSharp | Samples/PSharpFramework/PingPong/Client.cs | Samples/PSharpFramework/PingPong/Client.cs | using System;
using Microsoft.PSharp;
namespace PingPong
{
internal class Client : Machine
{
private MachineId Server;
private int Counter;
[Start]
[OnEventDoAction(typeof(Config), nameof(Configure))]
[OnEventGotoState(typeof(Unit), typeof(Active))]
class Init ... | using System;
using Microsoft.PSharp;
namespace PingPong
{
internal class Client : Machine
{
private MachineId Server;
private int Counter;
[Start]
[OnEventDoAction(typeof(Config), nameof(Configure))]
[OnEventGotoState(typeof(Unit), typeof(Active))]
class Init ... | mit | C# |
a9e4976b7aa9026b04d63c3346cfc83a6bf204e9 | Update type extension for net40 | oxyplot/oxyplot,ze-pequeno/oxyplot | Source/OxyPlot/Utilities/TypeExtensions.cs | Source/OxyPlot/Utilities/TypeExtensions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TypeExtensions.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Provides extension methods for types.
// </summary>
// -------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="TypeExtensions.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Provides extension methods for types.
// </summary>
// -------... | mit | C# |
ce65646306f0837d89d951eb9dd0446d87fd357c | Update SerializerBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/SerializerBase.cs | TIKSN.Core/Serialization/SerializerBase.cs | using System;
namespace TIKSN.Serialization
{
public abstract class SerializerBase<TSerial> : ISerializer<TSerial> where TSerial : class
{
public TSerial Serialize(object obj)
{
if (obj == null)
return null;
try
{
return Seri... | using System;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization
{
public abstract class SerializerBase<TSerial> : SerializationBase, ISerializer<TSerial> where TSerial : class
{
protected SerializerBase(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
}... | mit | C# |
1dcfdc62871fd6cac693198f8262d5c0cded7191 | Add files via upload | Liluye/Capstone | Player.cs | Player.cs | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour
{
//travel 2.5 grid squares per second
float speed = 2.5f;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
Move();
}
... | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour
{
float speed = 2.5f;
float test = 2;
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
Move();
}
//Player movemen... | mit | C# |
97f44155415987649383877f12f65afe047511c8 | Update copyright year | danielchalmers/DesktopWidgets | DesktopWidgets/Properties/AssemblyInfo.cs | DesktopWidgets/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// 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("DesktopWidgets")]
... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// 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("DesktopWidgets")]
... | apache-2.0 | C# |
15cb74e6149e92612162d3cfe1333ef4d9caf357 | Add logging to CcReader when there are problems. | Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights | src/ZBuildLights.Core/Services/CruiseControl/CcReader.cs | src/ZBuildLights.Core/Services/CruiseControl/CcReader.cs | using System;
using System.IO;
using System.Net;
using System.Xml.Serialization;
using NLog;
using ZBuildLights.Core.Models.CruiseControl;
using ZBuildLights.Core.Models.Requests;
namespace ZBuildLights.Core.Services.CruiseControl
{
public class CcReader : ICcReader
{
private static readonly Logger Lo... | using System;
using System.IO;
using System.Net;
using System.Xml.Serialization;
using ZBuildLights.Core.Models.CruiseControl;
using ZBuildLights.Core.Models.Requests;
namespace ZBuildLights.Core.Services.CruiseControl
{
public class CcReader : ICcReader
{
public NetworkResponse<Projects> GetStatus(st... | mit | C# |
3d92d31826d6785d8e32664ebc38a1463a93c72b | update html for book | CNinnovation/ASPNETCoreJun2017,CNinnovation/ASPNETCoreJun2017,CNinnovation/ASPNETCoreJun2017,CNinnovation/ASPNETCoreJun2017 | aspnetcoremvc/SimpleMVCApp/SimpleMVCApp/Views/AnotherBooks/Book.cshtml | aspnetcoremvc/SimpleMVCApp/SimpleMVCApp/Views/AnotherBooks/Book.cshtml | @model Book
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<hr />
<form method="post" action="/AnotherBooks/Book">
<span>Title:</span>
<input type="text" id="title" name="title" />
<br />
<span>Publisher:</span>
<input ... | @model Book
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<form method="post" action="/AnotherBooks/Book">
<input type="text" id="title" name="title" />
<input type="text" id="publisher" name="publisher" />
<input type="submit... | mit | C# |
2905292d20308fd492135d8d7f2b1d2f883fc250 | Use SdlClipboard on Linux when using new SDL2 backend | EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework/Platform/Linux/LinuxGameHost.cs | osu.Framework/Platform/Linux/LinuxGameHost.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.Platform.Linux.Native;
using osu.Framework.Platform.Linux.Sdl;
using osuTK;
namespace osu.Framework.Platform.Linux
{
public class LinuxGameHost ... | // 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.Platform.Linux.Native;
using osu.Framework.Platform.Linux.Sdl;
using osuTK;
namespace osu.Framework.Platform.Linux
{
public class LinuxGameHost ... | mit | C# |
9869edb24280099479f2677b47d1f0ea4d7496ab | Make field internal. | budcribar/roslyn,abock/roslyn,lorcanmooney/roslyn,dotnet/roslyn,michalhosala/roslyn,KiloBravoLima/roslyn,DustinCampbell/roslyn,ErikSchierboom/roslyn,bbarry/roslyn,physhi/roslyn,tannergooding/roslyn,AArnott/roslyn,yeaicc/roslyn,khyperia/roslyn,jaredpar/roslyn,ljw1004/roslyn,xasx/roslyn,budcribar/roslyn,jcouv/roslyn,tvan... | src/Features/Core/Portable/Completion/CompletionTags.cs | src/Features/Core/Portable/Completion/CompletionTags.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.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Completion
{
/// <summary>
/// The set of well known tags used fo... | // 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.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Completion
{
/// <summary>
/// The set of well known tags used fo... | mit | C# |
963c84d8e7250200152382ed48d02851a1cfe083 | Change quarter type to enum to allow for "ot" as value. | pudds/cfl-api.net,pudds/cfl-api.net | src/Models/Games/LineScore.cs | src/Models/Games/LineScore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace mdryden.cflapi.v1.Models.Games
{
public class LineScore
{
[JsonProperty(PropertyName = "quarter")]
public Quarters Quarter { get; set; }
[JsonProperty(PropertyN... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace mdryden.cflapi.v1.Models.Games
{
public class LineScore
{
[JsonProperty(PropertyName = "quarter")]
public int Quarter { get; set; }
[JsonProperty(PropertyName =... | mit | C# |
cf294893fbef5ab2ae67b0d5fb8c28afb0d9ab69 | Revert "Create method PrintLogo()" | stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity | C#Development/BashSoft/BashSoft/IO/OutputWriter.cs | C#Development/BashSoft/BashSoft/IO/OutputWriter.cs | namespace BashSoft.IO
{
using System;
using System.Collections.Generic;
/// <summary>
/// Flexible interface for output to the user.
/// </summary>
public static class OutputWriter
{
/// <summary>
/// Print message on line.
/// </summary>
/// <p... | namespace BashSoft.IO
{
using System;
using System.Collections.Generic;
/// <summary>
/// Flexible interface for output to the user.
/// </summary>
public static class OutputWriter
{
/// <summary>
/// Print logo in console.
/// </summary>
public... | mit | C# |
70d062ba39e618d5084720324d5996e2609465d7 | make code more readable. | Perspex/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,akrisiun/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsolte... | src/Avalonia.OpenGL/Angle/AngleEglInterface.cs | src/Avalonia.OpenGL/Angle/AngleEglInterface.cs | using System;
using System.Runtime.InteropServices;
using Avalonia.Platform;
using Avalonia.Platform.Interop;
namespace Avalonia.OpenGL.Angle
{
public class AngleEglInterface : EglInterface
{
[DllImport("libegl.dll", CharSet = CharSet.Ansi)]
static extern IntPtr eglGetProcAddress(string proc);
... | using System;
using System.Runtime.InteropServices;
using Avalonia.Platform;
using Avalonia.Platform.Interop;
namespace Avalonia.OpenGL.Angle
{
public class AngleEglInterface : EglInterface
{
[DllImport("libegl.dll", CharSet = CharSet.Ansi)]
static extern IntPtr eglGetProcAddress(string proc);
... | mit | C# |
d86c6ed9d8d4c3ed5f245a100925aa806f57bcc5 | Add missing interface change | mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototyp... | src/Glimpse.Web.Common/Context/IHttpRequest.cs | src/Glimpse.Web.Common/Context/IHttpRequest.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace Glimpse.Web
{
public interface IHttpRequest
{
Stream Body { get; }
string Accept { get; }
string Method { get; }
string RemoteIpAddress { get; }
int? RemotePort { get; }
bool IsLoca... | using System;
using System.Collections.Generic;
using System.IO;
namespace Glimpse.Web
{
public interface IHttpRequest
{
Stream Body { get; }
string Accept { get; }
string Method { get; }
string RemoteIpAddress { get; }
int? RemotePort { get; }
string Sche... | mit | C# |
6eefd3f967bf29e4c4a99722e9ab94cbffe12114 | Fix for wrong time zone | dddotnet/meetup2markdown | src/MeetupToMarkdownConverter/Meetup/Helper.cs | src/MeetupToMarkdownConverter/Meetup/Helper.cs | namespace MeetupToMarkdownConverter.Meetup
{
using Models;
using System;
using System.Text;
internal class Helper
{
#pragma warning disable SA1008 // StyleCop does not knor Tuples
internal static (string markdown, string filename) ConvertEventToMarkdown(Event meetup)
#pragma... | namespace MeetupToMarkdownConverter.Meetup
{
using Models;
using System;
using System.Text;
internal class Helper
{
#pragma warning disable SA1008 // StyleCop does not knor Tuples
internal static (string markdown, string filename) ConvertEventToMarkdown(Event meetup)
#pragma... | mit | C# |
d97cdedfadbb77157cfce80812c4bfbe123f5841 | Make GetValue method handle value types | meridiumlabs/episerver.migration | Meridium.EPiServer.Migration/Support/SourcePage.cs | Meridium.EPiServer.Migration/Support/SourcePage.cs | using System.Linq;
using EPiServer.Core;
namespace Meridium.EPiServer.Migration.Support {
public class SourcePage {
public string TypeName { get; set; }
public PropertyDataCollection Properties { get; set; }
public TValue GetValue<TValue>(string propertyName, TValue @default = default(TVal... | using System.Linq;
using EPiServer.Core;
namespace Meridium.EPiServer.Migration.Support {
public class SourcePage {
public string TypeName { get; set; }
public PropertyDataCollection Properties { get; set; }
public TValue GetValue<TValue>(string propertyName, TValue @default = default(TVal... | mit | C# |
c3fecd66f855fe541c9e9274cef11b91cf35550b | test update | maxtoroq/MvcCodeRouting,Dzmuh/MvcCodeRouting | MvcCodeRouting.Tests/Routing/ActionNameBehavior.cs | MvcCodeRouting.Tests/Routing/ActionNameBehavior.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MvcCodeRouting.Tests.Routing {
[TestClass]
public class ActionNameBehavior {
RouteCollection... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Routing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MvcCodeRouting.Tests.Routing {
[TestClass]
public class ActionNameBehavior {
RouteCollection... | apache-2.0 | C# |
9af0f42dafba5b473f28c31814d79661a54146b2 | Remove usage of parallelism when compiling templates (causing crash in Jurassic?). | mrydengren/templar,mrydengren/templar | src/Templar/TemplateSource.cs | src/Templar/TemplateSource.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace Templar
{
public class TemplateSource : IContentSource
{
private readonly string global;
private readonly Compiler compiler;
private readonly TemplateFinder finder;
public Templat... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace Templar
{
public class TemplateSource : IContentSource
{
private readonly string global;
private readonly Compiler compiler;
private readonly TemplateFinder finder;
public Templat... | mit | C# |
5a0642b7480475a899789bc0becc7cbb00cd2815 | Update demo program | tsolarin/readline,tsolarin/readline | src/ReadLine.Demo/Program.cs | src/ReadLine.Demo/Program.cs | using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("ReadLine Library Demo");
Console.WriteLine("---------------------");
Console.WriteLine();
string[] history = new stri... | using System;
namespace ConsoleApplication
{
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("ReadLine Library Demo");
Console.WriteLine("---------------------");
Console.WriteLine();
string[] history = new stri... | mit | C# |
18c718d0ba41188e1e6b72325d2a67eb20ea97f3 | Remove helper methods from Dependency | jamesqo/typed-xaml | src/Typed.Xaml/Dependency.cs | src/Typed.Xaml/Dependency.cs | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Data;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace Typed.Xaml
{
public static class Dependency
{
public static DependencyProperty Register<T, TOwner>(string name, PropertyChangedCallback<T, TOwne... | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Data;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace Typed.Xaml
{
public static class Dependency
{
private static PropertyMetadata CreateMetadata<T, TOwner>(PropertyChangedCallback<T, TOwner> callb... | mit | C# |
510ffce1877f2cb7c7e1900764970a5838e7ff46 | Handle optionargumentpairs with only option | Hammerstad/Moya | Moya.Runner.Console/OptionArgumentPair.cs | Moya.Runner.Console/OptionArgumentPair.cs | namespace Moya.Runner.Console
{
using System.Linq;
public struct OptionArgumentPair
{
public string Option { get; set; }
public string Argument { get; set; }
public static OptionArgumentPair Create(string stringFromCommandLine)
{
string[] optionAndArgument = s... | namespace Moya.Runner.Console
{
public struct OptionArgumentPair
{
public string Option { get; set; }
public string Argument { get; set; }
public static OptionArgumentPair Create(string stringFromCommandLine)
{
string[] optionAndArgument = stringFromCommandLine.Spl... | mit | C# |
c1009290c6af83d39a60c4637e826d72ae8717ea | Add test to monitor HighPrecisionTickGenerator interval #106 | melanchall/drywetmidi,melanchall/drymidi,melanchall/drywetmidi | DryWetMidi.Tests/Devices/Clock/TickGenerator/HighPrecisionTickGeneratorTests.cs | DryWetMidi.Tests/Devices/Clock/TickGenerator/HighPrecisionTickGeneratorTests.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Melanchall.DryWetMidi.Devices;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.Devices
{
[TestFixture]
public sealed class HighPrecisionTickGeneratorTests
{
#region Test methods
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Melanchall.DryWetMidi.Devices;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.Devices
{
[TestFixture]
public sealed class HighPrecisionTickGeneratorTests
{
#region Test methods
... | mit | C# |
60550b73f77d0ec625c070fcd6eee395e8397149 | Add missing states and xmldoc for all states' purposes | peppy/osu-new,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Online/RealtimeMultiplayer/MultiplayerUserState.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerUserState.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.
namespace osu.Game.Online.RealtimeMultiplayer
{
public enum MultiplayerUserState
{
/// <summary>
/// The user is idle and waiting for something to... | // 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.
namespace osu.Game.Online.RealtimeMultiplayer
{
public enum MultiplayerUserState
{
Idle,
Ready,
WaitingForLoad,
Loaded,
Pl... | mit | C# |
8de639ccbf793f0835d2a1d994bfaa6fb8216cf1 | add basic version info | billtowin/mega-epic-super-tankz,billtowin/mega-epic-super-tankz | modules/AppCore/1/main.cs | modules/AppCore/1/main.cs | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | mit | C# |
7aab33f6f0f55413be7db53ed362321dfc2e73dd | Remove numeric formatting from benchmarks. | zaccharles/nodatime,zaccharles/nodatime,nodatime/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,jskeet/nodatime,BenJenkinson/nodatime | src/NodaTime.Benchmarks/NodaTimeTests/InstantBenchmarks.cs | src/NodaTime.Benchmarks/NodaTimeTests/InstantBenchmarks.cs | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Globalization;
using NodaTime.Benchmarks.Framework;
namespace NodaTime.Benchmarks.NodaTimeTests
{
internal class InstantBenchma... | // Copyright 2011 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Globalization;
using NodaTime.Benchmarks.Framework;
namespace NodaTime.Benchmarks.NodaTimeTests
{
internal class InstantBenchma... | apache-2.0 | C# |
857559f9223c689405b00e80f2ebdda850e0d42a | Add System.Security namespace to Interop.MessageBox.cs | shahid-pk/corefx,elijah6/corefx,elijah6/corefx,stone-li/corefx,fgreinacher/corefx,josguil/corefx,twsouthwick/corefx,shahid-pk/corefx,zhenlan/corefx,rubo/corefx,YoupHulsebos/corefx,SGuyGe/corefx,stormleoxia/corefx,kkurni/corefx,benpye/corefx,parjong/corefx,billwert/corefx,arronei/corefx,fernando-rodriguez/corefx,pgavlin... | src/Common/src/Interop/Windows/user32/Interop.MessageBox.cs | src/Common/src/Interop/Windows/user32/Interop.MessageBox.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
internal partial class Interop
{
internal partial class User32
{
internal const int MB_ICONHAND = 0... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using System.Security;
internal partial class Interop
{
internal partial class User32
{
internal co... | mit | C# |
8c42b0216c54c55956a14c76a77d87ca4c4d068d | revert range facet changes | yonglehou/PlainElastic.Net,Yegoroff/PlainElastic.Net,mbinot/PlainElastic.Net,VirtoCommerce/PlainElastic.Net | src/PlainElastic.Net/Builders/Queries/Facets/RangeFromTo.cs | src/PlainElastic.Net/Builders/Queries/Facets/RangeFromTo.cs | using PlainElastic.Net.Utils;
namespace PlainElastic.Net.Queries
{
public class RangeFromTo : QueryBase<RangeFromTo>
{
private bool hasValue;
public RangeFromTo FromTo(double? from = null, double? to = null)
{
if (!to.HasValue && !from.HasValue)
return this;
hasValue = true;... | using PlainElastic.Net.Utils;
namespace PlainElastic.Net.Queries
{
public class RangeFromTo : QueryBase<RangeFromTo>
{
private bool hasValue;
public RangeFromTo FromTo(double? from = null, double? to = null)
{
if (!to.HasValue && !from.HasValue)
{
return this;
}
hasVal... | mit | C# |
b9c4c5732b6d181595fc10537c708b0c3d9b72c6 | Bump version to 0.7.2 | sqt/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
098e8333c281fc4e80bb9360c673cc08b611ecc8 | Update MyCurrencyDotNetTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/MyCurrencyDotNetTests.cs | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/MyCurrencyDotNetTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.ForeignExchang... | using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
using Xunit.Abstractions;
namespace TI... | mit | C# |
b0fab18f7c9b6fa1777f7053ba45b159799d363e | fix small ui issue in console progress | yaronthurm/Backy | BackyUI/ConsoleProgress.cs | BackyUI/ConsoleProgress.cs | using System;
using BackyLogic;
namespace Backy
{
internal class ConsoleProgress : IMultiStepProgress
{
private string _lastText;
private int _currentValue;
private int _maxValue;
public void Increment()
{
Console.Write($"\r{_lastText}".PadRight(Console.Buf... | using System;
using BackyLogic;
namespace Backy
{
internal class ConsoleProgress : IMultiStepProgress
{
private string _lastText;
private int _currentValue;
private int _maxValue;
public void Increment()
{
Console.Write($"\r{_lastText}".PadRight(Console.Buf... | mit | C# |
be568ec4ed1a318fd5afbe6bee6718edcaca30b7 | Verify mock | tpaananen/SeeSharpHttpLiveStreaming | SeeSharpLiveStreaming.Tests/Playlist/Tags/BaseTagTests.cs | SeeSharpLiveStreaming.Tests/Playlist/Tags/BaseTagTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using Moq;
using NUnit.Framework;
using SeeSharpHttpLiveStreaming.Playlist;
using SeeSharpHttpLiveStreaming.Playlist.Tags;
using SeeSharpHttpLiveStreaming.Utils.Writers;
using Version = SeeSharpHttpL... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using Moq;
using NUnit.Framework;
using SeeSharpHttpLiveStreaming.Playlist;
using SeeSharpHttpLiveStreaming.Playlist.Tags;
using SeeSharpHttpLiveStreaming.Utils.Writers;
using Version = SeeSharpHttpL... | mit | C# |
188be8f05d1993a3b2d5756462395caa58342c9d | Add docs | wvdd007/roslyn,weltkante/roslyn,diryboy/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,wvdd007/roslyn,bartdesmet/roslyn,weltkante/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,mav... | src/Workspaces/Core/Portable/CodeActions/CodeActionProviderPriority.cs | src/Workspaces/Core/Portable/CodeActions/CodeActionProviderPriority.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis... | mit | C# |
3176f7f85d458fd6dc11324250a7d850d3b30a20 | Add required validation for rich text components on server side | CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction | CollAction/ValidationAttributes/RichTextRequiredAttribute.cs | CollAction/ValidationAttributes/RichTextRequiredAttribute.cs | using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace CollAction.ValidationAttributes
{
public class RichTextRequiredAttribute : RequiredAttribute, IClientModelValidator
{
public void AddValidation(ClientModelValidationContext context)
... | using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace CollAction.ValidationAttributes
{
public class RichTextRequiredAttribute : ValidationAttribute, IClientModelValidator
{
public void AddValidation(ClientModelValidationContext context)
... | agpl-3.0 | C# |
5b2cda6449c1053d9690280e4ceded1b0e608eb2 | Make ErrorCode public | dotnetprojects/DotNetSiemensPLCToolBoxLibrary,Nick135/DotNetSiemensPLCToolBoxLibrary,jogibear9988/DotNetSiemensPLCToolBoxLibrary,jogibear9988/DotNetSiemensPLCToolBoxLibrary,Nick135/DotNetSiemensPLCToolBoxLibrary,StefanHasensperling/DotNetSiemensPLCToolBoxLibrary,StefanHasensperling/DotNetSiemensPLCToolBoxLibrary,Stefan... | LibNoDaveConnectionLibrary/Communication/PLCException.cs | LibNoDaveConnectionLibrary/Communication/PLCException.cs | using DotNetSiemensPLCToolBoxLibrary.Communication.LibNoDave;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DotNetSiemensPLCToolBoxLibrary.Communication
{
public class PLCException:Exception
{
int _ErrorCode;
public int ErrorCode
... | using DotNetSiemensPLCToolBoxLibrary.Communication.LibNoDave;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DotNetSiemensPLCToolBoxLibrary.Communication
{
public class PLCException:Exception
{
int _ErrorCode;
int ErrorCode
{... | lgpl-2.1 | C# |
0929e613ca7e030d05c071557c4d097c34d7a34d | Order change | xonaki/NetCoreCMS,xonaki/NetCoreCMS,OnnoRokomSoftware/NetCoreCMS,xonaki/NetCoreCMS,xonaki/NetCoreCMS,OnnoRokomSoftware/NetCoreCMS,OnnoRokomSoftware/NetCoreCMS,OnnoRokomSoftware/NetCoreCMS,OnnoRokomSoftware/NetCoreCMS,xonaki/NetCoreCMS,xonaki/NetCoreCMS | NetCoreCMS.Web/Themes/Default/Shared/_ViewImports.cshtml | NetCoreCMS.Web/Themes/Default/Shared/_ViewImports.cshtml | @inherits NccRazorPage<TModel>
@using NetCoreCMS.Framework.Core
@using NetCoreCMS.Framework.Core.Models
@using NetCoreCMS.Framework.Core.Mvc.Views
@using NetCoreCMS.Framework.Core.Mvc.Views.Extensions
@using NetCoreCMS.Framework.Utility
@using NetCoreCMS.Framework.Modules
@using NetCoreCMS.Framework.Modules.Widgets
@... | @inherits NccRazorPage<TModel>
@using NetCoreCMS.Framework.Core
@using NetCoreCMS.Framework.Core.Models
@using NetCoreCMS.Framework.Core.Mvc.Views
@using NetCoreCMS.Framework.Core.Mvc.Views.Extensions
@using NetCoreCMS.Framework.Utility
@using NetCoreCMS.Framework.Modules
@using NetCoreCMS.Framework.Modules.Widgets
@... | bsd-3-clause | C# |
00940d3297bd526cde61887cc49bf13ef8d360cf | Revert "disable automatic migration data loss" | dpesheva/QuizFactory,dpesheva/QuizFactory | QuizFactory/QuizFactory.Data/Migrations/Configuration.cs | QuizFactory/QuizFactory.Data/Migrations/Configuration.cs | namespace QuizFactory.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
using System.Linq;
using QuizFactory.Data;
internal sealed class Configuration : DbMigrationsConfiguration<QuizFactoryDbContext>
{
public Configuration()
{
this.AutomaticMigrat... | namespace QuizFactory.Data.Migrations
{
using System;
using System.Data.Entity.Migrations;
using System.Linq;
using QuizFactory.Data;
internal sealed class Configuration : DbMigrationsConfiguration<QuizFactoryDbContext>
{
public Configuration()
{
this.AutomaticMigrat... | mit | C# |
dc46e276c37f61e50f1a7674ae51a0d586146c26 | Fix namespace | maximegelinas-cegepsth/GEC-strawberry-sass,maximegelinas-cegepsth/GEC-strawberry-sass | StrawberrySass/src/StrawberrySass/UI/_ViewImports.cshtml | StrawberrySass/src/StrawberrySass/UI/_ViewImports.cshtml | @using StrawberrySass
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration
| @using AspNetCoreAngular2WebpackApp
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration
| mit | C# |
83d83a132aba8bdae6f1c71b9ea8999eb86ebf3c | Replace map with manual initialization | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Web/Features/User/CreateCommandHandler.cs | SupportManager.Web/Features/User/CreateCommandHandler.cs | using SupportManager.DAL;
using SupportManager.Web.Infrastructure.CommandProcessing;
namespace SupportManager.Web.Features.User
{
public class CreateCommandHandler : RequestHandler<CreateCommand>
{
private readonly SupportManagerContext db;
public CreateCommandHandler(SupportManagerContext db... | using AutoMapper;
using MediatR;
using SupportManager.DAL;
using SupportManager.Web.Infrastructure.CommandProcessing;
namespace SupportManager.Web.Features.User
{
public class CreateCommandHandler : RequestHandler<CreateCommand>
{
private readonly SupportManagerContext db;
public CreateComman... | mit | C# |
ae59ef7e850adfa01addbd0f7df11854796c022f | Bump version # | Deadpikle/NetSparkle,Deadpikle/NetSparkle | AssemblyInfo.cs | AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Net... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Net... | mit | C# |
30c3f0ad33d1ac94485f57c9ac4bfec8f6869fce | Add [Serializable] attribute | dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute | Source/NSubstitute/Exceptions/AmbiguousArgumentsException.cs | Source/NSubstitute/Exceptions/AmbiguousArgumentsException.cs | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class AmbiguousArgumentsException : SubstituteException
{
public static string SpecifyAllArguments = "Cannot determine argument specifications to use." + Environment.NewLine +
... | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
public class AmbiguousArgumentsException : SubstituteException
{
public static string SpecifyAllArguments = "Cannot determine argument specifications to use." + Environment.NewLine +
... | bsd-3-clause | C# |
0ba419778db4305c9a411eb87a40102573b43fce | Update for SkipAttribute removal | rileywhite/Cilador.Fody-Examples | src/MyMixins/HelloMixin.cs | src/MyMixins/HelloMixin.cs | /*********************************************************************/
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, ... | /*********************************************************************/
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, ... | unlicense | C# |
f21358e85b50b6ba642c7354e35af923c7c6d811 | Move from powershell.getchell.org to ngetchell.com | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/NicholasMGetchell.cs | src/Firehose.Web/Authors/NicholasMGetchell.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class NicholasMGetchell : IAmACommunityMember
{
public string FirstName => "Nicholas";
public st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class NicholasMGetchell : IAmACommunityMember
{
public string FirstName => "Nicholas";
public st... | mit | C# |
ef8958e59e0d5777019029bfdb54b637596df9f8 | add shipto to invoice | tbstudee/IntacctClient | Entities/IntacctInvoice.cs | Entities/IntacctInvoice.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Intacct.Entities
{
public class IntacctInvoice : IntacctObject
{
public string CustomerId { get; }
public IntacctDate DateCreated { get; }
public IntacctDate DateDue { get; }
public string InvoiceNo { ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Intacct.Entities
{
public class IntacctInvoice : IntacctObject
{
public string CustomerId { get; }
public IntacctDate DateCreated { get; }
public IntacctDate DateDue { get; }
public string InvoiceNo { ... | mit | C# |
abdf9cd82eaa4cb6604dbcd2d176c300a97a0c6e | Improve Bob exercise | FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative | Exercism/csharp/bob/Bob.cs | Exercism/csharp/bob/Bob.cs | using System;
using System.Linq;
using System.Globalization;
public static class Bob
{
public static string Response(string text)
{
var cases = new StatementCase[]
{
new StatementCase(
"Sure.",
statement => statement.IsQuestion() && !statement.IsYelled() && !statement.IsSilence()
),
new Statemen... | using System;
using System.Linq;
public static class Bob
{
public static string Response(string text)
{
var cases = new StatementCase[]
{
new StatementCase(
"Sure.",
statement => statement.IsQuestion() && !statement.IsYelled() && !statement.IsSilence()
),
new StatementCase(
"Whoa, chill out!... | mit | C# |
46a245fd50137425901f1681c5ee98a6beddf211 | Fix to test Hello.cs. | mono/CppSharp,nalkaro/CppSharp,mono/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,imazen/CppSharp,ktopouzi/CppSharp,KonajuGames/CppSharp,mono/CppSharp,txdv/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,nalkaro/CppSharp,imazen/CppSharp,SonyaSa/CppSharp,xistoso/CppSharp,u255436/CppSharp,u255436/CppSharp,inordertotest/CppSh... | tests/Hello/Hello.cs | tests/Hello/Hello.cs | using CppSharp.Generators;
using CppSharp.Utils;
namespace CppSharp.Tests
{
public class Hello : LibraryTest
{
public Hello(LanguageGeneratorKind kind)
: base("Hello", kind)
{
}
public override void Preprocess(Driver driver, Library lib)
{
lib.Se... | using CppSharp.Generators;
using CppSharp.Utils;
namespace CppSharp.Tests
{
public class Hello : LibraryTest
{
public Hello(LanguageGeneratorKind kind)
: base("Hello", kind)
{
}
public override void Preprocess(Driver driver, Library lib)
{
lib.Se... | mit | C# |
5289b2d62b10ac524f1569dc433db84f60101110 | add code to force the client to respect the batch-size or timeout | ve-interactive/Ve.Messaging | Ve.Messaging.Azure.ServiceBus/Consumer/MessageConsumer.cs | Ve.Messaging.Azure.ServiceBus/Consumer/MessageConsumer.cs | using Microsoft.ServiceBus.Messaging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Ve.Messaging.Consumer;
using Ve.Messaging.Model;
namespace Ve.Messaging.Azure.ServiceBus.Consumer
{
public class MessageConsumer : IMessageConsumer
{
... | using Microsoft.ServiceBus.Messaging;
using System;
using System.Collections.Generic;
using System.IO;
using Ve.Messaging.Consumer;
using Ve.Messaging.Model;
namespace Ve.Messaging.Azure.ServiceBus.Consumer
{
public class MessageConsumer : IMessageConsumer
{
private readonly SubscriptionClient _client;... | apache-2.0 | C# |
36771ed5cd72669125ad61aab4cba37056baf281 | change product label to region on conbobox | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Areas/Logistics/Views/DispatchAllocation/Index.cshtml | Web/Areas/Logistics/Views/DispatchAllocation/Index.cshtml | @using Kendo.Mvc.UI
@using LanguageHelpers.Localization
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
<fieldset>
<legend>
@Translator.Translate("Dispatch allocation")
</legend>
</fieldset>
@section LeftBar{
@Html.Partial("_AllocationLeftBar")
}
@{
... | @using Kendo.Mvc.UI
@using LanguageHelpers.Localization
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
<fieldset>
<legend>
@Translator.Translate("Dispatch allocation")
</legend>
</fieldset>
@section LeftBar{
@Html.Partial("_AllocationLeftBar")
}
@{
... | apache-2.0 | C# |
5a1b8ceda27fc29cead801dd19b828d6cd080af7 | Add NotNull here | asarium/FSOLauncher | UI/WPF/UI.WPF.Launcher.Common/Classes/ReactiveObjectBase.cs | UI/WPF/UI.WPF.Launcher.Common/Classes/ReactiveObjectBase.cs | #region Usings
using System.Runtime.CompilerServices;
using FSOManagement.Annotations;
using ReactiveUI;
#endregion
namespace UI.WPF.Launcher.Common.Classes
{
public abstract class ReactiveObjectBase : ReactiveObject
{
[NotifyPropertyChangedInvocator]
protected void RaiseAndSetIfPropertyChan... | #region Usings
using System.Runtime.CompilerServices;
using FSOManagement.Annotations;
using ReactiveUI;
#endregion
namespace UI.WPF.Launcher.Common.Classes
{
public abstract class ReactiveObjectBase : ReactiveObject
{
[NotifyPropertyChangedInvocator]
protected void RaiseAndSetIfPropertyChan... | mit | C# |
e1913127c05c3e6ddc9457550b1949d6efa5bb11 | Remove empty test | SteamDatabase/ValveKeyValue | ValveKeyValue/ValveKeyValue.Test/KVValueToStringTestCase.cs | ValveKeyValue/ValveKeyValue.Test/KVValueToStringTestCase.cs | using System.Collections;
using System.Linq;
using NUnit.Framework;
namespace ValveKeyValue.Test
{
class KVValueToStringTestCase
{
[TestCaseSource(nameof(ToStringTestCases))]
public string KVValueToStringIsSane(KVValue value) => value.ToString();
public static IEnumerable ToStringTest... | using System.Collections;
using System.Linq;
using NUnit.Framework;
namespace ValveKeyValue.Test
{
class KVValueToStringTestCase
{
[Test]
public void Foo()
{
}
[TestCaseSource(nameof(ToStringTestCases))]
public string KVValueToStringIsSane(KVValue value) => val... | mit | C# |
12fa90a27c0f6401dd4660d393e0d958fe4a9c3a | Update WebNoteSinglePage/WebNoteSinglePage/Views/Home/Index.cshtml | JohannesHoppe/WebNoteSinglePage,JohannesHoppe/WebNoteSinglePage | WebNoteSinglePage/WebNoteSinglePage/Views/Home/Index.cshtml | WebNoteSinglePage/WebNoteSinglePage/Views/Home/Index.cshtml | @Html.Partial("~/Views/AppViews/index.cshtml")
@Html.Partial("~/Views/AppViews/create.cshtml")
@Html.Partial("~/Views/AppViews/details.cshtml")
@section scripts {
require(['singlePage/appState', 'knockout.bindings'], function(appState) {
appState.init();
});
}
| @Html.Partial("~/Views/AppViews/index.cshtml")
@Html.Partial("~/Views/AppViews/create.cshtml")
@Html.Partial("~/Views/AppViews/details.cshtml")
@section scripts {
require(['SinglePage/appState', 'knockout.bindings'], function(appState) {
appState.init();
});
} | mit | C# |
4cc94efb06258cc7cf5c445e6318f3ac5cf6d852 | Fix failing mania test | NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu | osu.Game.Rulesets.Mania.Tests/Editor/TestSceneNotePlacementBlueprint.cs | osu.Game.Rulesets.Mania.Tests/Editor/TestSceneNotePlacementBlueprint.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.Testing;
using osu.Game.Rulesets.Edit;
using osu.Game.... | // 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.Testing;
using osu.Game.Rulesets.Edit;
using osu.Game.... | mit | C# |
345e429d20ef621e8849bdb55354a1e6259f7a5f | Remove unused import | AntiTcb/Discord.Net,RogueException/Discord.Net,LassieME/Discord.Net,Confruggy/Discord.Net | src/Discord.Net/WebSocket/Entities/Users/SocketGuildUser.cs | src/Discord.Net/WebSocket/Entities/Users/SocketGuildUser.cs | using Discord.Rest;
using Model = Discord.API.GuildMember;
using PresenceModel = Discord.API.Presence;
namespace Discord.WebSocket
{
internal class SocketGuildUser : GuildUser, ISocketUser, IVoiceState
{
internal override bool IsAttached => true;
public new DiscordSocketClient Discord => base... | using System;
using Discord.Rest;
using Model = Discord.API.GuildMember;
using PresenceModel = Discord.API.Presence;
namespace Discord.WebSocket
{
internal class SocketGuildUser : GuildUser, ISocketUser, IVoiceState
{
internal override bool IsAttached => true;
public new DiscordSocketClient D... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.