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 |
|---|---|---|---|---|---|---|---|---|
5206ef95ab19361dc729fbf69050abd9ebfd6dbd | Update Program.cs | natintosh/Numerical-Methods | NumericalMethods/GaussJordan/GaussJordan/Program.cs | NumericalMethods/GaussJordan/GaussJordan/Program.cs | using System;
namespace GaussJordan
{
class MainClass : NumericalMethods
{
public static void Main()
{
Double[,] matrix = { { 25, 5, 1, 106.8 }, { 64, 8, 1, 177.2 }, { 144, 12, 1, 292.2 } };
ForwardElimination forwardElimination = new ForwardElimination(ref matrix);
... | using System;
namespace GaussJordan
{
class MainClass : NumericalMethods
{
public static void Main()
{
Double[,] matrix = { { 1, 2, 1, 4 }, { 3, -4, -2, 2 }, { 5, 3, 5, -1 } };
ForwardElimination forwardElimination = new ForwardElimination(ref matrix);
forwa... | mit | C# |
d64c15bea4cb31f903663660dcfd15059e11c81b | Debug mode only enabled for Debug Build configuration | Jeern/SimpleEventMonitor,Jeern/SimpleEventMonitor,Jeern/SimpleEventMonitor | SimpleEventMonitor.Web/AppHostSimpleEventMonitor.cs | SimpleEventMonitor.Web/AppHostSimpleEventMonitor.cs | using System.Reflection;
using Funq;
using ServiceStack.Common.Web;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints;
using SimpleEventMonitor.Core;
namespace SimpleEventMonitor.Web
{
public class AppHostSimpleEventMonitor : AppHostBase
{
public AppHostSimp... | using System.Reflection;
using Funq;
using ServiceStack.Common.Web;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints;
using SimpleEventMonitor.Core;
namespace SimpleEventMonitor.Web
{
public class AppHostSimpleEventMonitor : AppHostBase
{
public AppHostSimp... | mit | C# |
fb893aa152a049a319b0abc354e0623d2efc628f | Add the missing newline | vers-one/EpubReader | Source/VersOne.Epub.ConsoleDemo/ExtractPlainText.cs | Source/VersOne.Epub.ConsoleDemo/ExtractPlainText.cs | using System;
using System.Text;
using HtmlAgilityPack;
namespace VersOne.Epub.ConsoleDemo
{
internal static class ExtractPlainText
{
public static void Run(string filePath)
{
EpubBook book = EpubReader.ReadBook(filePath);
foreach (EpubTextContentFile textContentFile in... | using System;
using System.Text;
using HtmlAgilityPack;
namespace VersOne.Epub.ConsoleDemo
{
internal static class ExtractPlainText
{
public static void Run(string filePath)
{
EpubBook book = EpubReader.ReadBook(filePath);
foreach (EpubTextContentFile textContentFile in... | unlicense | C# |
b00921c8768b3914419bb7407ba3d7c8f3da82f5 | test no import | jezzay/Test-Travis-CI,jezzay/Test-Travis-CI | TestWebApp/TestWebApp/Controllers/HomeController.cs | TestWebApp/TestWebApp/Controllers/HomeController.cs | using System.Web.Mvc;
namespace TestWebApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page test";
var data = new {firstname = "test", lastname = "lastname"};
string json = JsonConvert.Seriali... | using System.Web.Mvc;
using Newtonsoft.Json;
namespace TestWebApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page test";
var data = new {firstname = "test", lastname = "lastname"};
string json... | mit | C# |
194bd95c8780f275a7e50da865c16dca76bc5577 | Remove comments on internals. | jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq,jgoz/netzmq | src/proj/ZeroMQ/Interop/PollItem.cs | src/proj/ZeroMQ/Interop/PollItem.cs | namespace ZeroMQ.Interop
{
using System;
using System.Runtime.InteropServices;
[Flags]
internal enum PollEvent
{
PollIn = 0x1,
PollOut = 0x2,
PollErr = 0x4
}
[StructLayout(LayoutKind.Sequential)]
internal struct PollItem
{
// ReSharp... | namespace ZeroMQ.Interop
{
using System;
using System.Runtime.InteropServices;
[Flags]
internal enum PollEvent
{
PollIn = 0x1,
PollOut = 0x2,
PollErr = 0x4
}
[StructLayout(LayoutKind.Sequential)]
internal struct PollItem
{
#pragma warning di... | apache-2.0 | C# |
b09c4b0b51f11695c349d6537318af5a3fe7b584 | Update RecordsControl.xaml.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D.UI/Views/Data/RecordsControl.xaml.cs | src/Core2D.UI/Views/Data/RecordsControl.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using Core2D.Data;
using DocumentFormat.OpenXml.InkML;
using System.ComponentModel;
using System.Reactive;
namespace Core2D.UI.Views.Data
{
/// <summary>
/// Interaction logic for <see cref="RecordsControl"/> xaml.
/... | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.UI.Views.Data
{
/// <summary>
/// Interaction logic for <see cref="RecordsControl"/> xaml.
/// </summary>
public class RecordsControl : UserControl
{
/// <summary>
/// Initializes a new instance of the <see cref=... | mit | C# |
03d4931137d73f7f55f5e4a62b3b26dab0ca7827 | add comment | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | CSharpGL/NewFontResource/FontTexture.cs | CSharpGL/NewFontResource/FontTexture.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace CSharpGL.NewFontResource
{
/// <summary>
/// font, texture and texture coordiante.
/// </summary>
public partial class FontTexture : IDisposable
{
/// <summary>
///... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace CSharpGL.NewFontResource
{
/// <summary>
/// font, texture and texture coordiante.
/// </summary>
public partial class FontTexture : IDisposable
{
/// <summary>
///... | mit | C# |
12e1d1d17912c4464cd56307fd815685decae00b | Update to assembly version. | emerbrito/ILMerge-MSBuild-Task | ILMerge.MSBuild.Task/ILMerge.MSBuild.Task/Properties/AssemblyInfo.cs | ILMerge.MSBuild.Task/ILMerge.MSBuild.Task/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("IL... | 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("IL... | mit | C# |
d7650f2c5f284c8cd55c72975a9a44f2b6352a67 | Add preflop ranges | DataBaseExam/TexasHold-em-AI | Source/TexasHoldem.AI.RaiseTwoSevenTestPlayer/RaiseTwoSevenPlayer.cs | Source/TexasHoldem.AI.RaiseTwoSevenTestPlayer/RaiseTwoSevenPlayer.cs | namespace TexasHoldem.AI.RaiseTwoSevenTestPlayer
{
using System;
using TexasHoldem.Logic.Players;
using TexasHoldem.Logic.Cards;
using Logic;
public class RaiseTwoSevenPlayer : BasePlayer
{
public override string Name { get; } = "RaiseTwoSeven";
public override P... | namespace TexasHoldem.AI.RaiseTwoSevenTestPlayer
{
using System;
using TexasHoldem.Logic.Players;
using TexasHoldem.Logic.Cards;
using Logic;
public class RaiseTwoSevenPlayer : BasePlayer
{
public override string Name { get; } = "RaiseTwoSeven";
public override PlayerActio... | mit | C# |
142f94f5d551192754b1ef70b6d4bb3c74bd538e | Create directory if not exists. | riganti/infrastructure | src/Infrastructure/Riganti.Utils.Infrastructure.Services.Mailing/PickupFolderMailSender.cs | src/Infrastructure/Riganti.Utils.Infrastructure.Services.Mailing/PickupFolderMailSender.cs | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Riganti.Utils.Infrastructure.Services.Mailing
{
public class PickupFolderMailSender : IMailSender
{
public string FolderName { get; }
public PickupFolderMailSender(string folderName)
{
... | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Riganti.Utils.Infrastructure.Services.Mailing
{
public class PickupFolderMailSender : IMailSender
{
public string FolderName { get; }
public PickupFolderMailSender(string folderName)
{
... | apache-2.0 | C# |
c063f5fd28d31c5c791ded98eb73c3b4a9f67feb | Fix screen capture durring test failure | rcasady616/Selenium.WeDriver.Equip,rcasady616/Selenium.WeDriver.Equip | Selenium.WebDriver.Equip/TestCapture.cs | Selenium.WebDriver.Equip/TestCapture.cs | using OpenQA.Selenium;
using System;
using System.IO;
using System.Reflection;
namespace Selenium.WebDriver.Equip
{
public class TestCapture
{
private IWebDriver _browser = null;
private string fileName;
public TestCapture(IWebDriver iWebDriver, string type = "Failed")
{
... | using System;
using System.Drawing.Imaging;
using System.IO;
using OpenQA.Selenium;
namespace Selenium.WebDriver.Equip
{
public class TestCapture
{
private IWebDriver _browser = null;
private string fileName;
public TestCapture(IWebDriver iWebDriver, string type = "Failed")
{
... | mit | C# |
c4621ca3170f10863c48bdf41dc0a784d47afa43 | Load resources from multiple sources | k-t/SharpHaven | SharpHaven/Resources/ResourceManager.cs | SharpHaven/Resources/ResourceManager.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using NLog;
using OpenTK;
using SharpFont;
using SharpHaven.Game;
using SharpHaven.Graphics;
using SharpHaven.Graphics.Sprites;
namespace SharpHaven.Resources
{
public class ResourceManager
{
private static readonly Logger Log = LogManager.GetC... | using System;
using System.Collections.Generic;
using System.Drawing;
using OpenTK;
using SharpFont;
using SharpHaven.Game;
using SharpHaven.Graphics;
using SharpHaven.Graphics.Sprites;
namespace SharpHaven.Resources
{
public class ResourceManager
{
private readonly IResourceSource defaultSource = new FolderSourc... | mit | C# |
b5ac5c46ec4e330cac2e8c9dbbc8594ed0571dd3 | Switch simple array diff to default until Efficient array diffing is implemented | wbish/jsondiffpatch.net,arbitertl/jsondiffpatch.net | Src/Options.cs | Src/Options.cs | namespace JsonDiffPatchDotNet
{
public sealed class Options
{
public Options()
{
ArrayDiff = ArrayDiffMode.Simple;
TextDiff = TextDiffMode.Efficient;
MinEfficientTextDiffLength = 50;
}
public ArrayDiffMode ArrayDiff { get; set; }
public TextDiffMode TextDiff { get; set; }
publi... | namespace JsonDiffPatchDotNet
{
public sealed class Options
{
public Options()
{
ArrayDiff = ArrayDiffMode.Efficient;
TextDiff = TextDiffMode.Efficient;
MinEfficientTextDiffLength = 50;
}
public ArrayDiffMode ArrayDiff
{ get; set; }
public TextDiffMode TextDiff
{ get; set; }
... | mit | C# |
11e7ed4b302b730b99e9451b49b6e7a50de9b4c7 | Fix FindChildByRole for ShaderLab | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/src/resharper-unity/Psi/ShaderLab/Parsing/ShaderLabTokenType.ShaderLabTokenNodeType.cs | resharper/src/resharper-unity/Psi/ShaderLab/Parsing/ShaderLabTokenType.ShaderLabTokenNodeType.cs | using System;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.Text;
namespace JetBrains.ReSharper.Plugins.Unity.Psi.ShaderLab.Parsing
{
public interface IShaderLabTokenNodeType : ITokenNodeType
{
}
public static p... | using System;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.Text;
namespace JetBrains.ReSharper.Plugins.Unity.Psi.ShaderLab.Parsing
{
public interface IShaderLabTokenNodeType : ITokenNodeType
{
}
public static p... | apache-2.0 | C# |
52da9467b58dc90d1b27cd3ac16ae8d1079c27b3 | save as file | RyotaMurohoshi/unity_snippets | unity/Assets/Scripts/Common/ShowMethod.cs | unity/Assets/Scripts/Common/ShowMethod.cs | using UnityEngine;
using System.Reflection;
using System.Linq;
using System;
using System.Collections.Generic;
using System.IO;
public class ShowMethod : MonoBehaviour
{
void Start()
{
var info = new AssemblyDebugInfo("UnityEngine.dll");
File.WriteAllText("result.json", JsonUtility.ToJson(info... | using UnityEngine;
using System.Reflection;
using System.Linq;
using System;
using System.Collections.Generic;
public class ShowMethod : MonoBehaviour
{
void Start()
{
var info = new AssemblyDebugInfo("UnityEngine.dll");
Debug.Log(JsonUtility.ToJson(info, true));
}
}
[Serializable]
class ... | mit | C# |
9074cdf3401b3fb891d09b2079ab07976e84435e | Add a hover effect to video player seek bar | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | video/TweetDuck.Video/Controls/SeekBar.cs | video/TweetDuck.Video/Controls/SeekBar.cs | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace TweetDuck.Video.Controls{
sealed class SeekBar : ProgressBar{
private readonly SolidBrush brushFore;
private readonly SolidBrush brushHover;
private readonly SolidBrush brushOverlap;
... | using System.Drawing;
using System.Windows.Forms;
namespace TweetDuck.Video.Controls{
sealed class SeekBar : ProgressBar{
private readonly SolidBrush brush;
public SeekBar(){
brush = new SolidBrush(Color.White);
SetStyle(ControlStyles.UserPaint, true);
SetStyl... | mit | C# |
76a4cee31a651f0a4be824b9db3102efa2e6707f | Reset the mocks before disposing | NServiceKit/NServiceKit.Logging,NServiceKit/NServiceKit.Logging | tests/NServiceKit.Logging.Tests/Support/TestBase.cs | tests/NServiceKit.Logging.Tests/Support/TestBase.cs | using System;
using System.Diagnostics;
using NUnit.Framework;
using Rhino.Mocks;
namespace NServiceKit.Logging.Tests.Support
{
public class TestBase
{
private MockRepository mocks;
protected virtual MockRepository Mocks
{
get { return mocks; }
}
[SetUp]
... | using System;
using System.Diagnostics;
using NUnit.Framework;
using Rhino.Mocks;
namespace NServiceKit.Logging.Tests.Support
{
public class TestBase
{
private MockRepository mocks;
protected virtual MockRepository Mocks
{
get { return mocks; }
}
[SetUp]
... | bsd-3-clause | C# |
cca58f3ec06b40bb8273ab3f7c84768850d2e10d | Replace SQLite path for MBTiles files with full path, so that doesn't throw an exception on UWP | charlenni/Mapsui,charlenni/Mapsui,pauldendulk/Mapsui | Samples/Mapsui.Samples.Common/Maps/MbTilesSample.cs | Samples/Mapsui.Samples.Common/Maps/MbTilesSample.cs | using System.IO;
using BruTile.MbTiles;
using Mapsui.Layers;
using Mapsui.UI;
using SQLite;
namespace Mapsui.Samples.Common.Maps
{
public class MbTilesSample : ISample
{
// This is a hack used for iOS/Android deployment
public static string MbTilesLocation { get; set; } = @"." + Path.Directory... | using System.IO;
using BruTile.MbTiles;
using Mapsui.Layers;
using Mapsui.UI;
using SQLite;
namespace Mapsui.Samples.Common.Maps
{
public class MbTilesSample : ISample
{
// This is a hack used for iOS/Android deployment
public static string MbTilesLocation { get; set; } = @"." + Path.Directory... | mit | C# |
6c2b447530b12a041417acebef7baa5cf14275e8 | Fix filename | ycaihua/sharpcompress,catester/sharpcompress,Wagnerp/sharpcompress,majorsilence/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress,tablesmit/sharpcompress,Icenium/sharpcompress,adamhathcock/sharpcompress,KOLANICH/sharpcompress,weltkante/sharpcompress,sepehr1014/sharpcompress,RainsSoft/sharpcompress,Ger... | SharpCompress.Test/Rar/Unit/RarHeaderFactoryTest.cs | SharpCompress.Test/Rar/Unit/RarHeaderFactoryTest.cs | using System;
using System.IO;
using System.Net.Security;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpCompress.Common;
using SharpCompress.Common.Rar.Headers;
using SharpCompress.IO;
namespace SharpCompress.Test.Rar.Unit
{
... | using System;
using System.IO;
using System.Net.Security;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpCompress.Common;
using SharpCompress.Common.Rar.Headers;
using SharpCompress.IO;
namespace SharpCompress.Test.Rar.Unit
{
... | mit | C# |
0cd3027c289aa42d90c59b3121497849b978d07a | Disable naming warning | JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET | SpotifyAPI.Web/Clients/Interfaces/IArtistsClient.cs | SpotifyAPI.Web/Clients/Interfaces/IArtistsClient.cs | using System.Threading.Tasks;
namespace SpotifyAPI.Web
{
public interface IArtistsClient
{
Task<ArtistsResponse> GetSeveral(ArtistsRequest request);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
Task<FullArtist> Get(string artistId);
Task<Paging<SimpleAlbum>> Get... | using System.Threading.Tasks;
namespace SpotifyAPI.Web
{
public interface IArtistsClient
{
Task<ArtistsResponse> GetSeveral(ArtistsRequest request);
Task<FullArtist> Get(string artistId);
Task<Paging<SimpleAlbum>> GetAlbums(string artistId);
Task<Paging<SimpleAlbum>> GetAlbums(string artistId, Ar... | mit | C# |
bf83e7cf03795f325293000954c5f3a5004349a5 | Update RangeValidatorTests.cs | pushrbx/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex | tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/Validators/RangeValidatorTests.cs | tests/Squidex.Domain.Apps.Core.Tests/Operations/ValidateContent/Validators/RangeValidatorTests.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
d98640a0249aab8edbbe8cfec49594a6358d9da5 | Fix smoke test to use common LocationName | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Redis.V1Beta1/Google.Cloud.Redis.V1Beta1.SmokeTests/CloudRedisClientSmokeTest.cs | apis/Google.Cloud.Redis.V1Beta1/Google.Cloud.Redis.V1Beta1.SmokeTests/CloudRedisClientSmokeTest.cs | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 | C# |
2c29a7c24800d9024973e368ad081049036b8e03 | Update FieldUtilities.cs | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Framework/Provisioning/ObjectHandlers/Utilities/FieldUtilities.cs | Core/OfficeDevPnP.Core/Framework/Provisioning/ObjectHandlers/Utilities/FieldUtilities.cs | using Microsoft.SharePoint.Client;
using System;
using System.Xml.Linq;
namespace OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.Utilities
{
public static class FieldUtilities
{
public static string FixLookupField(string fieldXml, Web web)
{
var fieldElement = XElement.Par... | using Microsoft.SharePoint.Client;
using System;
using System.Xml.Linq;
namespace OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.Utilities
{
public static class FieldUtilities
{
public static string FixLookupField(string fieldXml, Web web)
{
var fieldElement = XElement.Par... | mit | C# |
ea6f7751779f2d3ce434dc907c23a646073a2c2b | Remove unnecessary using statements | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework.Templates/templates/template-flappy/FlappyDon.Game.Tests/Visual/TestSceneFlappyDonGame.cs | osu.Framework.Templates/templates/template-flappy/FlappyDon.Game.Tests/Visual/TestSceneFlappyDonGame.cs | using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace FlappyDon.Game.Tests.Visual
{
/// <summary>
/// A test scene wrapping the entire game,
/// including audio.
/// </summary>
public class TestSceneFlappyDonGame : TestScene
{
private Flapp... | using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace FlappyDon.Game.Tests.Visual
{
/// <summary>
/// A test scene wrapping the entire game,
/// including audio.
/// </summary>
public class TestSceneFlapp... | mit | C# |
1dd0b71505938752b2e2ba01574e6dbb4870bf7c | Enable auto-connection on pre-block bursting screen | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Common/Engine/Initializables/NetworkClientConnectionOnInitInitializable.cs | src/Booma.Proxy.Client.Unity.Common/Engine/Initializables/NetworkClientConnectionOnInitInitializable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.PreBlockBurstingScene)]
[SceneTypeCreate(GameSceneType.ServerSelectionScreen)]
[SceneTypeCreate(GameSceneTy... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.ServerSelectionScreen)]
[SceneTypeCreate(GameSceneType.PreShipSelectionScene)]
[SceneTypeCreate(GameSceneTy... | agpl-3.0 | C# |
670d732b5ab531eafde00ad91c042f56866eef46 | Address PR feedback | mmitche/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,wtgodbe/coreclr,mmitche/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,mmitche/coreclr,mmitche/coreclr,mmitche/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk... | src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.cs | src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncIteratorStateMachineAttribute.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
{
/// <summary>Indicates whether a method is an asynchronous iterator.... | // 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
{
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMul... | mit | C# |
cff632d29efd954700947fceccab6c49ab6df42b | Remove commented permission | adjust/xamarin_sdk,adjust/xamarin_sdk | Android/Example/Properties/AssemblyInfo.cs | Android/Example/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Example")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Example")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | mit | C# |
cf29a0502bcf95210319e5fea86d03fb97a6d04f | Set MicrogameCollection dirty in editor update | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Editor/MicrogameCollectionEditor.cs | Assets/Editor/MicrogameCollectionEditor.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(MicrogameCollection))]
public class MicrogameCollectionEditor : Editor
{
public override void OnInspectorGUI()
{
MicrogameCollection collection = (MicrogameCollection)target;
if (GUILayout.Butt... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(MicrogameCollection))]
public class MicrogameCollectionEditor : Editor
{
public override void OnInspectorGUI()
{
MicrogameCollection collection = (MicrogameCollection)target;
if (GUILayout.Butt... | mit | C# |
0f9c1a4686d5b1101cb44effdd3ef636e49f47ca | Add a link on Credit card registrations that have not paid | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/Payments/Confirmation.cshtml | CRP.Mvc/Views/Payments/Confirmation.cshtml | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | mit | C# |
5ed2cf72f682e74eebdf386b10a353bcc6902c78 | Put GET back in. | kylebjones/CertiPay.Services.PDF | CertiPay.Services.PDF/Modules/PdfModule.cs | CertiPay.Services.PDF/Modules/PdfModule.cs | using CertiPay.Common;
using CertiPay.PDF;
using Nancy;
using Nancy.ModelBinding;
using Nancy.Responses;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
namespace CertiPay.Services.PDF.Modules
{
public class PdfModule : NancyModule
{
private static String A... | using CertiPay.Common;
using CertiPay.PDF;
using Nancy;
using Nancy.ModelBinding;
using Nancy.Responses;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
namespace CertiPay.Services.PDF.Modules
{
public class PdfModule : NancyModule
{
private static String A... | mit | C# |
ab5f2dafc0e39adb1d220e05a92d67c463f1731c | Fix parent issues. | tiagomartines11/ggj17 | Assets/Scripts/Projectile.cs | Assets/Scripts/Projectile.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour {
float pRange;
float pAngle;
float pSpeed = 0.1f;
Vector3 dir;
// Use this for initialization
void Start () {
}
public void SetupProjectile(float range, float angle)
{
this.pAngle ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour {
float pRange;
float pAngle;
float pSpeed = 0.1f;
Vector3 dir;
// Use this for initialization
void Start () {
}
public void SetupProjectile(float range, float angle)
{
this.pAngle ... | apache-2.0 | C# |
1c0d0ea9ef63a1dd9d3a7e42624263ad36535de3 | Bump version to v0.2. | arookas/flaaffy | mareep/main.cs | mareep/main.cs |
using System;
namespace arookas {
static partial class mareep {
static Version sVersion = new Version(0, 2);
static void Main(string[] arguments) {
Console.Title = String.Format("mareep v{0} arookas", sVersion);
mareep.WriteMessage("mareep v{0} arookas\n", sVersion);
mareep.WriteSeparator('=');
... |
using System;
namespace arookas {
static partial class mareep {
static Version sVersion = new Version(0, 1);
static void Main(string[] arguments) {
Console.Title = String.Format("mareep v{0} arookas", sVersion);
mareep.WriteMessage("mareep v{0} arookas\n", sVersion);
mareep.WriteSeparator('=');
... | mit | C# |
76325ff54e72b5ff28595f5d4d836e24ca8b7f2d | Update D2RS to handle new networking infrastructure. | wynandpieterse/SharpBattleNet | Source/Reaper.SharpBattleNet.Framework.DiabloIIRealmServer/Details/DiabloIIRealmServer.cs | Source/Reaper.SharpBattleNet.Framework.DiabloIIRealmServer/Details/DiabloIIRealmServer.cs | namespace Reaper.SharpBattleNet.Framework.DiabloIIRealmServer.Details
{
using System;
using System.Linq;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Nini;
using Nini.Config;
using Nin... | namespace Reaper.SharpBattleNet.Framework.DiabloIIRealmServer.Details
{
using System;
using System.Linq;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Nini;
using Nini.Config;
using Nin... | mit | C# |
ee0da53636fb8ba291f1690eb9f0157d67ba2374 | rename Use methods to have ApplicationInsights prefix | hackathonvixion/ApplicationInsights-aspnet5,hackathonvixion/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspne... | TemplateIntegrationExample/src/Microsoft.ApplicationInsights.AspNet/ApplicationInsightMiddlewareExtensions.cs | TemplateIntegrationExample/src/Microsoft.ApplicationInsights.AspNet/ApplicationInsightMiddlewareExtensions.cs | namespace Microsoft.ApplicationInsights.AspNet
{
using Microsoft.AspNet.Builder;
using System;
public static class ApplicationInsightMiddlewareExtensions
{
public static IApplicationBuilder UseApplicationInsightsRequestTelemetry(this IApplicationBuilder app)
{
app.UseMiddleware<ApplicationInsightsMiddle... | namespace Microsoft.ApplicationInsights.AspNet
{
using Microsoft.AspNet.Builder;
using System;
public static class ApplicationInsightMiddlewareExtensions
{
public static IApplicationBuilder UseRequestTelemetry(this IApplicationBuilder app)
{
app.UseMiddleware<ApplicationInsightsMiddleware>();
return ... | mit | C# |
775c6c83748df35e1ac23869124f461589b31ea6 | Fix potential crash in editor from transform time going below zero | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyFollowCircle.cs | osu.Game.Rulesets.Osu/Skinning/Legacy/LegacyFollowCircle.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Diagnostics;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Rulesets.Osu.Skinning.Legacy
{
public class ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Diagnostics;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Rulesets.Osu.Skinning.Legacy
{
public class ... | mit | C# |
2aa330da6abd2bad9c754930099766c0fefc93b2 | add hyperlink to layout page | rippo/CQSMediatorPattern | Cqs.Mediator.Pattern.Mvc/Views/Shared/_Layout.cshtml | Cqs.Mediator.Pattern.Mvc/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TEST</title>
</head>
<body>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/login">/Login</a></li>
<li><a href="/contact">/Contact</a></li>
... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TEST</title>
</head>
<body>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/login">/Login</a></li>
<li><a href="/contact">/Contact</a></li>
... | mit | C# |
6e41e501555edbe27134c5ded151a43d47d9e2b1 | Implement MainViewModel | sakapon/Tools-2017 | EpidemicSimulator/EpidemicSimulator/MainViewModel.cs | EpidemicSimulator/EpidemicSimulator/MainViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using Reactive.Bindings;
namespace EpidemicSimulator
{
public class MainViewModel
{
static readonly TimeSpan RenderingInterval = TimeSpan.FromSeconds(1 / 30.0);
const int PopulationBarWidt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EpidemicSimulator
{
public class MainViewModel
{
public AppModel AppModel { get; } = new AppModel();
}
}
| mit | C# |
7ab9caac0bff416d3830655b93916cee80a7c223 | fix exit command. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Shell/Commands/SystemCommands.cs | WalletWasabi.Gui/Shell/Commands/SystemCommands.cs | using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using AvalonStudio.Commands;
using ReactiveUI;
using System;
using System.Composition;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class SystemCommands
{
public Global Global { get; }
[... | using Avalonia;
using AvalonStudio.Commands;
using ReactiveUI;
using System;
using System.Composition;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class SystemCommands
{
public Global Global { get; }
[ExportCommandDefinition("File.Exit")]
public... | mit | C# |
7c694927291cd9a4faaa2b31bc1cafd9309bd413 | Comment test | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/UpdateStatusTests.cs | WalletWasabi.Tests/UnitTests/UpdateStatusTests.cs | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Models;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class UpdateStatusTests
{
[Fact]
public void TestEquality()
{
var backendCompatible = false;
var clientUpToDate = false;
var legalVersion = new Ver... | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Models;
using Xunit;
namespace WalletWasabi.Tests.UnitTests
{
public class UpdateStatusTests
{
[Fact]
public void TestEquality()
{
var backendCompatible = false;
var clientUpToDate = false;
var legalVersion = new Ver... | mit | C# |
b77f29e50da1cc5192442813d1e35f214999f274 | Use build in methods to check if a character is printable. | jesterret/ReClass.NET,jesterret/ReClass.NET,jesterret/ReClass.NET | ReClass.NET/Extensions/StringExtensions.cs | ReClass.NET/Extensions/StringExtensions.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text.RegularExpressions;
namespace ReClassNET.Extensions
{
public static class StringExtension
{
[Pure]
[DebuggerStepThrough]
public static bool IsPrintable(this char c... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text.RegularExpressions;
namespace ReClassNET.Extensions
{
public static class StringExtension
{
[Pure]
[DebuggerStepThrough]
public static bool IsPrintable(this char c... | mit | C# |
5da1e35fb6e60bb09fadfce4d10d679e8c21882f | add AttributeInterceptorCache | AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Abstractions | src/AspectCore.Lite/Internal/AttributeInterceptorMatcher.cs | src/AspectCore.Lite/Internal/AttributeInterceptorMatcher.cs | using System.Collections.Concurrent;
using AspectCore.Lite.Abstractions;
using AspectCore.Lite.Common;
using AspectCore.Lite.Extensions;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Internal
{
internal class AttributeInterceptorMatcher : IInterceptorMatch... | using AspectCore.Lite.Abstractions;
using AspectCore.Lite.Common;
using AspectCore.Lite.Extensions;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Internal
{
internal class AttributeInterceptorMatcher : IInterceptorMatcher
{
private static IEnum... | mit | C# |
7adbd75d41de363b9be151d573fff4f78c4e6b0e | Add edit links to noitces admin | planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS | src/Orchard.Web/Modules/LETS/Views/NoticesAdmin/List.cshtml | src/Orchard.Web/Modules/LETS/Views/NoticesAdmin/List.cshtml | @using LETS.Helpers;
@model LETS.ViewModels.MemberNoticesViewModel
<h1>@string.Format("{0}'s {1}", @Model.Member.FirstLastName, T("notices"))</h1>
@if (Model.Notices.Count().Equals(0))
{
<p>@T("This member doesn't have any active notices")</p>
}
@foreach (var notice in Model.Notices)
{
var id = notice.Content... | @model LETS.ViewModels.MemberNoticesViewModel
<h1>@string.Format("{0}'s {1}", @Model.Member.FirstLastName, T("notices"))</h1>
@if (Model.Notices.Count().Equals(0))
{
<p>@T("This member doesn't have any active notices")</p>
}
@foreach (var notice in Model.Notices)
{
@Display(notice)
}
@{
<div id="archivedN... | bsd-3-clause | C# |
1c029acaba010dd099b2417e10da9d62680ac130 | Make tests pass | christophertrml/rassoodock,christophertrml/rassoodock,cjqed/rassoodock | Rassoodock.Tests.Base/WhenRunningIntegrationTests.cs | Rassoodock.Tests.Base/WhenRunningIntegrationTests.cs | using System;
using System.Data.SqlClient;
using Dapper;
using Rassoodock.Common;
using Rassoodock.Startup;
namespace Rassoodock.Tests.Base
{
public class WhenRunningIntegrationTests
{
protected readonly LinkedDatabase Database;
private const string EnvironmentVariableName = "TestSqlServer";
... | using System;
using System.Data.SqlClient;
using Dapper;
using Rassoodock.Common;
using Rassoodock.Startup;
namespace Rassoodock.Tests.Base
{
public class WhenRunningIntegrationTests
{
protected readonly LinkedDatabase Database;
private const string EnvironmentVariableName = "TestSqlServer";
... | apache-2.0 | C# |
4f3d66e8509430b0e9062093d6eec4aca0aa561f | remove a keyword | gregsdennis/Manatee.Json,gregsdennis/Manatee.Json | Manatee.Json/Schema/SchemaKeywordCatalog.cs | Manatee.Json/Schema/SchemaKeywordCatalog.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Manatee.Json.Serialization;
using Manatee.Json.Serialization.Internal;
namespace Manatee.Json.Schema
{
public static class SchemaKeywordCatalog
{
private static readonly Dictionary<string, List<Type>> _cache = new Di... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Manatee.Json.Serialization;
using Manatee.Json.Serialization.Internal;
namespace Manatee.Json.Schema
{
public static class SchemaKeywordCatalog
{
private static readonly Dictionary<string, List<Type>> _cache = new Di... | mit | C# |
fdedff3ad762727c0dda615118abdf53c60f7de1 | Fix comments | takenet/blip-sdk-csharp | src/Take.Blip.Client/Content/InputExpirationTimeDocument.cs | src/Take.Blip.Client/Content/InputExpirationTimeDocument.cs | using Lime.Protocol;
using System.Runtime.Serialization;
namespace Take.Blip.Client.Content
{
/// <summary>
/// Represents an expired input with an user's <see cref="Identity"/> to make a fake input
/// </summary>
[DataContract]
public class InputExpirationTimeDocument : Document
{
pub... | using Lime.Protocol;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Take.Blip.Client.Content
{
/// <summary>
/// Represents a expired input with a <see cref="Identity"/> of user to make a fake input
/// </summary>
[DataContract]
pub... | apache-2.0 | C# |
380f7a190b464cd09bdbbf45f0c2a9425f48591b | Increase version to 1.1.1.0 | ladimolnar/BitcoinBlockchain | Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs | Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | apache-2.0 | C# |
8e7c5bfd6a4e9e296d18a719388810e1f12db270 | Increase assembly version | Puchaczov/TQL.RDL | TQL.RDL/TQL.RDL.Converter/Properties/AssemblyInfo.cs | TQL.RDL/TQL.RDL.Converter/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("TQL.RDL")]
[assembly: AssemblyDescription("Small language used to querying time")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("TQL")]
[assembly: ... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("TQL.RDL")]
[assembly: AssemblyDescription("Small language used to querying time")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("TQL")]
[assembly: ... | apache-2.0 | C# |
1ad6ffe90003a7af33cc92c4d695f34ac5b84593 | Add an endpoint for the view page | Ranger1230/IoTClass-SmartCam,Ranger1230/IoTClass-SmartCam | SmartCam/Controllers/SmartCamController.cs | SmartCam/Controllers/SmartCamController.cs | using System.IO;
using System.Web;
using System.Web.Mvc;
using System.Net.Mail;
namespace SmartCam.Controllers
{
public class SmartCamController : Controller
{
private static byte[] currentImage = new byte[0];
[HttpPost]
public string PostImage(HttpPostedFileBase file)
... | using System.IO;
using System.Web;
using System.Web.Mvc;
using System.Net.Mail;
namespace SmartCam.Controllers
{
public class SmartCamController : Controller
{
private static byte[] currentImage = new byte[0];
[HttpPost]
public string PostImage(HttpPostedFileBase file)
... | mit | C# |
42e575085484d2dfe2ca7ae003ff9118bb9b9ff4 | Adjust to new CorePlugin API #CHANGE: Adjusted the DualStickSpaceShooter sample to use the new OnGameStarted CorePlugin API instead of waiting for the first frame update to arrive. | BraveSirAndrew/duality,Barsonax/duality,mfep/duality,AdamsLair/duality,SirePi/duality | Samples/DualStickSpaceShooter/CorePlugin.cs | Samples/DualStickSpaceShooter/CorePlugin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Duality;
namespace DualStickSpaceShooter
{
public class DualStickSpaceShooterCorePlugin : CorePlugin
{
protected override void OnGameStarting()
{
base.OnGameStarting();
// Load all available content so we don'... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Duality;
namespace DualStickSpaceShooter
{
public class DualStickSpaceShooterCorePlugin : CorePlugin
{
private bool contentLoaded = false;
protected override void OnBeforeUpdate()
{
base.OnBeforeUpdate();
//... | mit | C# |
2b5e0c64a01a86e665dbb7a242c27d82a1d6d87d | improve payment status update logic | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Application/Commands/UpdateApprenticeshipStatus/UpdateApprenticeshipStatusCommandHandler.cs | src/SFA.DAS.Commitments.Application/Commands/UpdateApprenticeshipStatus/UpdateApprenticeshipStatusCommandHandler.cs | using System;
using System.Threading.Tasks;
using FluentValidation;
using MediatR;
using NLog;
using SFA.DAS.Commitments.Application.Exceptions;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities;
namespace SFA.DAS.Commitments.Application.Commands.UpdateApprenticeshipStatus
{
public ... | using System;
using System.Threading.Tasks;
using FluentValidation;
using MediatR;
using NLog;
using SFA.DAS.Commitments.Application.Exceptions;
using SFA.DAS.Commitments.Domain.Data;
using SFA.DAS.Commitments.Domain.Entities;
namespace SFA.DAS.Commitments.Application.Commands.UpdateApprenticeshipStatus
{
public ... | mit | C# |
e7f91b879c54e59366128959b77466762ba6ff77 | Update version num | mrkno/TitleCleaner | TitleCleanerGui/Properties/AssemblyInfo.cs | TitleCleanerGui/Properties/AssemblyInfo.cs | #region
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#endregion
// 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: AssemblyTi... | #region
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#endregion
// 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: AssemblyTi... | mit | C# |
62e0ede51bab7deea3316695eb80de0a55fd7a41 | update version to 1.5.0.2 | todor-dk/HTML-Renderer,Perspex/HTML-Renderer,drickert5/HTML-Renderer,slagou/HTML-Renderer,todor-dk/HTML-Renderer,tinygg/graphic-HTML-Renderer,evitself/HTML-Renderer,todor-dk/HTML-Renderer,tinygg/graphic-HTML-Renderer,Perspex/HTML-Renderer,ArthurHub/HTML-Renderer,windygu/HTML-Renderer,evitself/HTML-Renderer,ArthurHub/HT... | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.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("HTML Renderer")]
[assembly: AssemblyDesc... | 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("HTML Renderer")]
[assembly: AssemblyDesc... | bsd-3-clause | C# |
d3a54adc606e293f7992612584176d8869c77a5a | 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;
namespace TopGearApi.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
public IEnumerable<string> Get()
... | 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# |
10d0e02ff7e4d28d4253e816658c89f499f9d04a | Fix for error in comment and minor style update. | autofac/Autofac | src/Autofac/NamedParameter.cs | src/Autofac/NamedParameter.cs | // This software is part of the Autofac IoC container
// Copyright © 2011 Autofac Contributors
// https://autofac.org
//
// 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
// restric... | // This software is part of the Autofac IoC container
// Copyright © 2011 Autofac Contributors
// https://autofac.org
//
// 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
// restric... | mit | C# |
9bd775c5a6c529d7983374cd5af7c06919e9aa5f | Check header null | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Backend/Models/FilterModel.cs | WalletWasabi/Backend/Models/FilterModel.cs | using NBitcoin;
using NBitcoin.DataEncoders;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Linq;
using System.Text;
using WalletWasabi.Blockchain.Blocks;
using WalletWasabi.Helpers;
using WalletWasabi.Interfaces;
using WalletWasabi.JsonConverters;
using WalletWasabi.Models;
namespace WalletWasabi.... | using NBitcoin;
using NBitcoin.DataEncoders;
using Newtonsoft.Json;
using System;
using System.IO;
using System.Linq;
using System.Text;
using WalletWasabi.Blockchain.Blocks;
using WalletWasabi.Helpers;
using WalletWasabi.Interfaces;
using WalletWasabi.JsonConverters;
using WalletWasabi.Models;
namespace WalletWasabi.... | mit | C# |
818198edabf81fa3be4f6e5d9e6b55f476d86111 | Add comment. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Extensions/StreamExtensions.cs | WalletWasabi/Extensions/StreamExtensions.cs | using System.Buffers;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO
{
public static class StreamExtensions
{
/// <summary>
/// Reads a single byte from <paramref name="stream"/>.
/// </summary>
/// <param name="stream">Stream to read from.</param>
/// <param name="cancellationTo... | using System.Buffers;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO
{
public static class StreamExtensions
{
public static async Task<int> ReadByteAsync(this Stream stream, CancellationToken ctsToken = default)
{
ArrayPool<byte> pool = ArrayPool<byte>.Shared;
byte[] buffer = poo... | mit | C# |
eba099fc81f41b2e670a800ad2d009047fbac7e2 | Fix IndexOutOfBounds exception on application closing | SVss/SPP_3 | XmlParserWpf/XmlParserWpf/FilesViewModel.cs | XmlParserWpf/XmlParserWpf/FilesViewModel.cs | using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
namespace XmlParserWpf
{
public class FilesViewModel: ObservableCollection<FilesListItem>
{
public const int NoneSelection = -1;
private int _selectedIndex = NoneSelection;
public int SelectedIndex
... | using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
namespace XmlParserWpf
{
public class FilesViewModel: ObservableCollection<FilesListItem>
{
public const int NoneSelection = -1;
private int _selectedIndex = NoneSelection;
public int SelectedIndex
... | mit | C# |
24758a7bd3813f6c6be7443ac4a54290e98dbd3d | Update RoutineRunner.cs | strangeioc/strangerocks | StrangeRocks/Assets/scripts/strangerocks/common/util/RoutineRunner.cs | StrangeRocks/Assets/scripts/strangerocks/common/util/RoutineRunner.cs | //This is a common service/model pattern in Strange:
//We want something usually reserved to MonoBehaviours to be available
//elsewhere. Maybe someday we'll write a version that
//eschews MonoBehaviours altogether...but for now we simply leverage
//that behavior and provide it in injectable form.
//In this case, we'r... | //This is a common service/model pattern in Strange:
//We want something usually reserved to MonoBehaviours to be available
//elsewhere. Maybe someday we'll write a version that
//eschews MonoBehaviours altogether...but for now we simply leverage
//that behavior and provide it in injectable form.
//In this case, we'r... | apache-2.0 | C# |
b5a2008360b7f6c60faf6ee15fe29211f1890f37 | Tweak WPF0043. | DotNetAnalyzers/WpfAnalyzers | WpfAnalyzers.Analyzers/WPF0043DontUseSetCurrentValueForDataContext.cs | WpfAnalyzers.Analyzers/WPF0043DontUseSetCurrentValueForDataContext.cs | namespace WpfAnalyzers
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class WPF0043DontUseSetC... | namespace WpfAnalyzers
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class WPF0043DontUseSetC... | mit | C# |
97eec9d898b120e79f0f30e9d7f202e2d98bf610 | Update AutofacServiceProvider.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | utilities/ServiceProvider.Autofac/AutofacServiceProvider.cs | utilities/ServiceProvider.Autofac/AutofacServiceProvider.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Autofac;
namespace ServiceProvider.Autofac
{
/// <summary>
/// Service provider based on lifetime scope.
/// </summary>
public... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Autofac;
namespace ServiceProvider.Autofac
{
/// <summary>
/// Service provider based on lifetime scope.
/// </summary>
public... | mit | C# |
7c7d536ea45d6175e9993545ef3176cbd7f4413a | Fix gestione codici chiamata in Trasferimento Chiamata | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneTrasferimentiChiamate/CodiciChiamate/GetCodiciChiamate.cs | src/backend/SO115App.Persistence.MongoDB/GestioneTrasferimentiChiamate/CodiciChiamate/GetCodiciChiamate.cs | using MongoDB.Driver;
using MongoDB.Driver.Linq;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Organigramma;
using SO115App.API.Models.Classi.Soccorso;
using SO115App.Models.Servizi.Infrastruttura.GestioneTrasferimentiChiamate.CodiciChiamate;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Se... | using MongoDB.Driver;
using MongoDB.Driver.Linq;
using Persistence.MongoDB;
using SO115App.Models.Servizi.Infrastruttura.GestioneTrasferimentiChiamate.CodiciChiamate;
using System.Collections.Generic;
namespace SO115App.Persistence.MongoDB.GestioneTrasferimentiChiamate.CodiciChiamate
{
public class GetCodiciChiam... | agpl-3.0 | C# |
ab5c1b760be4e3a67fecfebecdfb37dda88cea57 | Change of Feature to be the correct String Key | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.UnitTests/Commands/CreateLegalEntityCommandTests/WhenTheUserIsNotWhitelistedForExpressionOfInterest.cs | src/SFA.DAS.EmployerAccounts.UnitTests/Commands/CreateLegalEntityCommandTests/WhenTheUserIsNotWhitelistedForExpressionOfInterest.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Common.Domain.Types;
using SFA.DAS.EmployerAccounts.Models.Account;
namespace SFA.DAS.EmployerAccounts.UnitTests.Commands.CreateLegalEntityCommandTests
{
public class WhenTheUserIsNotWhitelistedForExpre... | using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Common.Domain.Types;
using SFA.DAS.EmployerAccounts.Models.Account;
namespace SFA.DAS.EmployerAccounts.UnitTests.Commands.CreateLegalEntityCommandTests
{
public class WhenTheUserIsNotWhitelistedForExpre... | mit | C# |
3fb0eac8194fe4ef98b5feb3380a1ee77c7fb1f1 | add additional Equation constructor for tests | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | using NBitcoin.Secp256k1;
using System.Linq;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness comprised of several
... | using NBitcoin.Secp256k1;
using System.Linq;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness comprised of several
... | mit | C# |
915dcbccaae007a233602c18eb08076ecec12d90 | Change tracing syntax | KpdApps/KpdApps.Common.MsCrm2015 | BasePlugin.cs | BasePlugin.cs | using System;
using KpdApps.Common.MsCrm2015.Extensions;
using Microsoft.Xrm.Sdk;
namespace KpdApps.Common.MsCrm2015
{
public abstract class BasePlugin : IPlugin
{
public readonly string UnsecureConfiguration;
public readonly string SecureConfiguration;
/// <summary>
/// Cons... | using System;
using KpdApps.Common.MsCrm2015.Extensions;
using Microsoft.Xrm.Sdk;
namespace KpdApps.Common.MsCrm2015
{
public abstract class BasePlugin : IPlugin
{
public readonly string UnsecureConfiguration;
public readonly string SecureConfiguration;
/// <summary>
/// Cons... | mit | C# |
0dab70cc05be0711ba0f4efa6ebcf89f8ca9888b | Fix license header | NeoAdonis/osu,peppy/osu-new,smoogipooo/osu,ppy/osu,naoey/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,Frontear/osuKyzer,peppy/osu,ppy/osu,2yangk23/osu,ZLima12/osu,EVAST9919/osu,DrabWeb/osu,UselessToucan/osu,naoey/osu,smoogip... | osu.Game/Utils/ZipUtils.cs | osu.Game/Utils/ZipUtils.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 System;
using SharpCompress.Archives.Zip;
namespace osu.Game.Utils
{
public static class ZipUtils
{
public static bool IsZipArchive(str... | // 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 SharpCompress.Archives.Zip;
namespace osu.Game.Utils
{
public static class ZipUtils
{
public static bool IsZipArchive(str... | mit | C# |
ffde389641a15f0b0faceb8e1e900fa186509bda | Add difficulty calculator beatmap decoder fallback | NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,2yangk23/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,ZLima12/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,johnn... | osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.cs | osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.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 osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Formats
{
/// <summary>
/// A <see cref="LegacyBeatmapDecoder"/> built for ... | // 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 osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Formats
{
/// <summary>
/// A <see cref="LegacyBeatmapDecoder"/> built for ... | mit | C# |
9607e0e55d0a9c08fa655ddc53127b39d5742bdf | Update PayButtonEnable.cshtml (#1952) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Stores/PayButtonEnable.cshtml | BTCPayServer/Views/Stores/PayButtonEnable.cshtml | @{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.PayButton, "Pay Button");
}
<div class="row">
<div class="col-md-10">
<form method="post">
<div class="form-group">
<p>
To start using Pay Buttons you need to ex... | @{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.PayButton, "Please confirm you want to allow outside world to create invoices in your store (via API).");
ViewBag.MainTitle = "Pay Button";
}
<div class="row">
<div class="col-md-10">
<form method="post">
... | mit | C# |
2f5d3f62e9e091e752b8eb974b4175639f4ffca5 | Add list display for veh attributes | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Vehicles/List.cshtml | Battery-Commander.Web/Views/Vehicles/List.cshtml | @model IEnumerable<Vehicle>
@{
ViewBag.Title = "Vehicle Tracker";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Count()</span> @Html.ActionLink("Add New", "New", "Vehicles", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped" id="dt">
<the... | @model IEnumerable<Vehicle>
@{
ViewBag.Title = "Vehicle Tracker";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Count()</span> @Html.ActionLink("Add New", "New", "Vehicles", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped" id="dt">
<the... | mit | C# |
6cc6f5e7c8a8cf9dd79f89c4413d50c71a63e486 | Optimize hash | StevenThuriot/Horizon | TypeHash.cs | TypeHash.cs | #region License
//
// Copyright 2015 Steven Thuriot
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region License
//
// Copyright 2015 Steven Thuriot
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | mit | C# |
a46f82d4d2a09325258d13b6b20c08be6a4759c2 | Fix typo in HomeController namespace (#9327) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2 | src/Templates/OrchardCore.ProjectTemplates/content/OrchardCore.Templates.Mvc.Module/Controllers/HomeController.cs | src/Templates/OrchardCore.ProjectTemplates/content/OrchardCore.Templates.Mvc.Module/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace OrchardCore.Templates.Mvc.Module.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
retur... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Module1.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}... | bsd-3-clause | C# |
53c254c6a5ca0b59f1471a670beaf81d083f0450 | Replace Array.IndexOf() with Contains() | UselessToucan/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,ppy/o... | osu.Game/Graphics/UserInterface/HoverClickSounds.cs | osu.Game/Graphics/UserInterface/HoverClickSounds.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 osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using osu.Framework.Input... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using osu.Framework.Input.Even... | mit | C# |
87e88f9fffca78c8a99410dc85174ba5c1c1b49f | Add broken test to testproj | JetBrains/teamcity-dotmemory,JetBrains/teamcity-dotmemory | testproj/UnitTest1.cs | testproj/UnitTest1.cs | namespace testproj
{
using System;
using System.Collections.Generic;
using JetBrains.dotMemoryUnit;
using NUnit.Framework;
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
var strs = new List<string>();
var memoryCh... | namespace testproj
{
using System;
using JetBrains.dotMemoryUnit;
using NUnit.Framework;
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
dotMemory.Check(
memory =>
{
var str1 = "... | apache-2.0 | C# |
7e27baee152d2ffe18562b4d33b26cb6d8d2107a | Enable PersonaBar tests | valadas/Dnn.Platform,nvisionative/Dnn.Platform,bdukes/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,bdukes/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,bdukes/Dnn.Platform,mitchelsel... | Build/Cake/unit-tests.cs | Build/Cake/unit-tests.cs | using Cake.Common.IO;
using Cake.Common.Tools.MSBuild;
using Cake.Common.Tools.VSTest;
using Cake.Common.Tools.VSWhere;
using Cake.Common.Tools.VSWhere.Latest;
using Cake.Core.Diagnostics;
using Cake.Frosting;
/// <summary>
/// Runs units tests on solution. Make sure to build the solution before running this... | using Cake.Common.IO;
using Cake.Common.Tools.MSBuild;
using Cake.Common.Tools.VSTest;
using Cake.Common.Tools.VSWhere;
using Cake.Common.Tools.VSWhere.Latest;
using Cake.Core.Diagnostics;
using Cake.Frosting;
/// <summary>
/// Runs units tests on solution. Make sure to build the solution before running this... | mit | C# |
f25a735fc9a08f7450fa259abb68ee150324f971 | Split TriangleTest method into multiple methods. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | ChamberLibTests/TriangleTest.cs | ChamberLibTests/TriangleTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ChamberLib;
namespace ChamberLibTests
{
[TestFixture]
public class TriangleTest
{
[Test]
public void TriangleIntersectsRay1()
{
// when
var tri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ChamberLib;
namespace ChamberLibTests
{
[TestFixture]
public class TriangleTest
{
[Test]
public void TriangleIntersectsRay()
{
// given
Triangl... | lgpl-2.1 | C# |
c204053c3361a14274e6705d316803359cf95968 | Update HeightMapGenerator.cs | Domiii/UnityLoopyLoops | Assets/Scripts/HeightMapGenerator.cs | Assets/Scripts/HeightMapGenerator.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HeightMapGenerator : MonoBehaviour {
// 兩個地形,這個數值如果是一樣的話,會看到的樣子也是一樣的
public int seed = 1;
// length或長度或解析度,也就是 x 與 z 緯度有幾個格子
public int length = 65;
// 最高的高度
public float height = 50;
// 頻率
public float frequency = ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HeightMapGenerator : MonoBehaviour {
// 兩個地形,這個數值如果是一樣的話,會看到的樣子也是一樣的
public int seed = 1;
// length或長度或解析度,也就是 x 與 z 緯度有幾個格子
public int length = 65;
// 最高的高度
public float height = 50;
// 頻率
public float frequency = ... | mit | C# |
358b8cc2ddcb8829b61ff8b0c7c5419d7178b7b9 | Fix the player score counter (IsFaking always returned true) | Nagasaki45/UnsocialVR,Nagasaki45/UnsocialVR | Assets/Scripts/Player/PlayerState.cs | Assets/Scripts/Player/PlayerState.cs | using System;
using UnityEngine;
using UnityEngine.Networking;
public class PlayerState : NetworkBehaviour {
[SyncVar]
string fakingTheory;
[SyncVar]
int score;
void Start()
{
fakingTheory = null;
score = 0;
}
[Command]
public void CmdSetFakingState(string new... | using UnityEngine;
using UnityEngine.Networking;
public class PlayerState : NetworkBehaviour {
[SyncVar]
string fakingTheory;
[SyncVar]
int score;
void Start()
{
fakingTheory = null;
score = 0;
}
[Command]
public void CmdSetFakingState(string newFakingTheory)
... | mit | C# |
f9592ea939ed0e04eec9b66aabaeb388010a36af | cover events edgecase | Pondidum/Ledger,Pondidum/Ledger | Ledger.Stores.Postgres.Tests/EventSaveLoadTests.cs | Ledger.Stores.Postgres.Tests/EventSaveLoadTests.cs | using System;
using System.Linq;
using Shouldly;
using TestsDomain.Events;
using Xunit;
namespace Ledger.Stores.Postgres.Tests
{
public class EventSaveLoadTests : PostgresTestBase
{
public EventSaveLoadTests()
{
CleanupTables();
var create = new CreateGuidKeyedTablesCommand(ConnectionString);
create.Ex... | using System;
using System.Linq;
using Shouldly;
using TestsDomain.Events;
using Xunit;
namespace Ledger.Stores.Postgres.Tests
{
public class EventSaveLoadTests : PostgresTestBase
{
public EventSaveLoadTests()
{
CleanupTables();
var create = new CreateGuidKeyedTablesCommand(ConnectionString);
create.Ex... | lgpl-2.1 | C# |
f5e918707e4b12ac6ca1838d0d8e6e60801abc42 | Add conditions to background tasks | Odonno/Modern-Gitter | Gitter/Gitter/Gitter.Shared/Services/Concrete/BackgroundTaskService.cs | Gitter/Gitter/Gitter.Shared/Services/Concrete/BackgroundTaskService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Gitter.Services.Abstract;
namespace Gitter.Services.Concrete
{
public class BackgroundTaskService : IBackgroundTaskService
{
public Dictionary<string, strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Gitter.Services.Abstract;
namespace Gitter.Services.Concrete
{
public class BackgroundTaskService : IBackgroundTaskService
{
public Dictionary<string, strin... | apache-2.0 | C# |
1063474b0e5f6f00a217aa3b26c3536589c49c47 | Add option to mark exceptions as observed | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.Xamarin.iOS/RaygunSettings.cs | Mindscape.Raygun4Net.Xamarin.iOS/RaygunSettings.cs | using System;
namespace Mindscape.Raygun4Net
{
public class RaygunSettings
{
private static RaygunSettings settings;
private const string DefaultApiEndPoint = "https://api.raygun.io/entries";
private const string DefaultPulseEndPoint = "https://api.raygun.io/events";
public static RaygunSettings ... | using System;
namespace Mindscape.Raygun4Net
{
public class RaygunSettings
{
private static RaygunSettings settings;
private const string DefaultApiEndPoint = "https://api.raygun.io/entries";
private const string DefaultPulseEndPoint = "https://api.raygun.io/events";
public static RaygunSettings ... | mit | C# |
92ef60644437cd237d12009b55772887d5e0b423 | fix nullable warning | NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer | PackageViewModel/PackageSearch/PackageListCache.cs | PackageViewModel/PackageSearch/PackageListCache.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using NuGet.Protocol.Core.Types;
namespace PackageExplorerViewModel.PackageSearch
{
internal class PackageListCache<T> where T : IPackageSearchMetadata
{
private readonly Dictionary<string, List<T>> _packagesDict =... | using System;
using System.Collections.Generic;
using NuGet.Protocol.Core.Types;
namespace PackageExplorerViewModel.PackageSearch
{
internal class PackageListCache<T> where T : IPackageSearchMetadata
{
private readonly Dictionary<string, List<T>> _packagesDict = new Dictionary<string, List<T>>(String... | mit | C# |
2e96740ac27e3e36155920eb4c0bb3aa15e46d21 | Put in some debugging code for looking at what functions have been added to the rooted event handler. | MatterHackers/agg-sharp,LayoutFarm/PixelFarm,mmoening/agg-sharp,mmoening/agg-sharp,jlewin/agg-sharp,mmoening/agg-sharp,larsbrubaker/agg-sharp | Gui/RootedObjectEventHandler.cs | Gui/RootedObjectEventHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MatterHackers.Agg.UI
{
public class RootedObjectEventHandler
{
#if DEBUG
private event EventHandler InternalEventForDebug;
private List<EventHandler> DebugEventDelegates = new List<EventHandler>();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MatterHackers.Agg.UI
{
public class RootedObjectEventHandler
{
EventHandler InternalEvent;
public void RegisterEvent(EventHandler functionToCallOnEvent, ref EventHandler functionThatWillBeCalledToUn... | bsd-2-clause | C# |
8cd60c07ab7b57c89b70844036d78f7f92003796 | Test check-in | lelong37/urf,lelong37/urf,lelong37/urf | main/Source/Repository.Pattern.Ef6/DataContext.cs | main/Source/Repository.Pattern.Ef6/DataContext.cs | #region
using System;
using System.Data.Entity;
using System.Threading;
using System.Threading.Tasks;
using Repository.Pattern.DataContext;
using Repository.Pattern.Infrastructure;
#endregion
namespace Repository.Pattern.Ef6
{
public class DataContext : DbContext, IDataContext, IDataContextAsync
{
pr... | #region
using System;
using System.Data.Entity;
using System.Threading;
using System.Threading.Tasks;
using Repository.Pattern.DataContext;
using Repository.Pattern.Infrastructure;
#endregion
namespace Repository.Pattern.Ef6
{
public class DataContext : DbContext, IDataContext, IDataContextAsync
{
pr... | mit | C# |
e70e15da52f391783ff2458a02ab44c1d98e57e3 | rename foo.exe to something more descriptive | lime45/poe_folk | ComPortNotify/Program.cs | ComPortNotify/Program.cs | using System;
using System.Windows.Forms;
namespace ComPortNotify
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
NAppUpdate.Framework.UpdateManager.Instance.Upd... | using System;
using System.Windows.Forms;
namespace ComPortNotify
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
NAppUpdate.Framework.UpdateManager.Instance.Upd... | mit | C# |
50698c05268b5fcb0a2ab3e9118820a453198fb5 | Use git,exe from the path | modulexcite/GitDiffMargin,laurentkempe/GitDiffMargin | GitDiffMargin/Git/GitCommands.cs | GitDiffMargin/Git/GitCommands.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Microsoft.VisualStudio.Shell;
namespace GitDiffMargin.Git
{
public class GitCommands : IGitCommands
{
public IEnumerable<HunkRangeInfo> GetGitDiffFor(string filename)
{
var ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Microsoft.VisualStudio.Shell;
namespace GitDiffMargin.Git
{
public class GitCommands : IGitCommands
{
public IEnumerable<HunkRangeInfo> GetGitDiffFor(string filename)
{
var ... | mit | C# |
11bd8791bf8e60b2c8a2b942eb2b31972828643b | Add in check for null pointers. | johnmott59/PolygonClippingInCSharp | GrinerTest/PolygonClip/insert.cs | GrinerTest/PolygonClip/insert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrienerTest
{
public partial class PolygonClip
{
#if false
void insert(node *ins, node *first, node *last)
{
node *aux=first;
while(aux != last &... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrienerTest
{
public partial class PolygonClip
{
#if false
void insert(node *ins, node *first, node *last)
{
node *aux=first;
while(aux != last &... | unlicense | C# |
a62402882b66135b00cafe2f58fab0f95db4ce2a | save settings as formatted json | 21robin12/tfs-standalone,21robin12/tfs-standalone,21robin12/tfs-standalone | TfsStandalone.UI/Infrastructure/ConfigManager.cs | TfsStandalone.UI/Infrastructure/ConfigManager.cs | namespace TfsStandalone.UI.Infrastructure
{
using System;
using System.IO;
using System.Linq;
using Config;
using Newtonsoft.Json;
public static class ConfigManager
{
private static TfsStandaloneConfig _config;
public static TfsStandaloneConfig Config
{
... | namespace TfsStandalone.UI.Infrastructure
{
using System;
using System.IO;
using System.Linq;
using Config;
using Newtonsoft.Json;
public static class ConfigManager
{
private static TfsStandaloneConfig _config;
public static TfsStandaloneConfig Config
{
... | mit | C# |
dc5a1d0863b5d35cb40cf99a4a21052c5a775b0a | fix inlining and trigger build | Teleopti/Stardust | Node/Node/Workers/HttpSender.cs | Node/Node/Workers/HttpSender.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Stardust.Node.Interfaces;
namespace Stardust.Node.Workers
{
public class HttpSender : IHttpSender
{
private const string Mediatype = "applicatio... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Stardust.Node.Interfaces;
namespace Stardust.Node.Workers
{
public class HttpSender : IHttpSender
{
private const string Mediatype = "applicatio... | mit | C# |
38b92a33730c14f855e54c2db3a74bce1de2a7b1 | Update sample script | RockyTV/Duality.IronPython | CorePlugin/Resources/PythonScript.cs | CorePlugin/Resources/PythonScript.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Duality;
using Duality.Editor;
namespace RockyTV.Duality.Plugins.IronPython.Resources
{
[EditorHintCategory(Properties.ResNames.CategoryScripts)]
[EditorHintImage(Properti... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Duality;
using Duality.Editor;
namespace RockyTV.Duality.Plugins.IronPython.Resources
{
[EditorHintCategory(Properties.ResNames.CategoryScripts)]
[EditorHintImage(Properti... | mit | C# |
38a70a97932d55c399702ad8d8faa173bec52d7d | build fix | marcwittke/Backend.Fx,marcwittke/Backend.Fx | src/Backend.Fx.Bootstrapping/SimpleInjectorScope.cs | src/Backend.Fx.Bootstrapping/SimpleInjectorScope.cs | namespace Backend.Fx.Bootstrapping
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Security.Principal;
using Environment.MultiTenancy;
using Logging;
using Patterns.DependencyInjection;
using Patterns.UnitOfWork;
using SimpleInjector;
pub... | namespace Backend.Fx.Bootstrapping
{
using System.Collections.Generic;
using System.Security.Principal;
using Environment.MultiTenancy;
using Logging;
using Patterns.DependencyInjection;
using Patterns.UnitOfWork;
using SimpleInjector;
public sealed class SimpleInjectorScope : IScope
... | mit | C# |
163a9d74f7f75a330335b06e0b5f0246a02877a5 | Add nick wolf contact info. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
3759931aac48ea3a8403c7fe77c699f1d376da01 | Read data if available | michael-reichenauer/Dependinator | Dependiator/Modeling/ModelService.cs | Dependiator/Modeling/ModelService.cs | using System.Collections.Generic;
using System.Windows;
using Dependiator.ApplicationHandling;
using Dependiator.MainViews;
using Dependiator.Modeling.Analyzing;
using Dependiator.Modeling.Serializing;
using Dependiator.Utils;
namespace Dependiator.Modeling
{
[SingleInstance]
internal class ModelService : IModelSe... | using System.Collections.Generic;
using System.Windows;
using Dependiator.ApplicationHandling;
using Dependiator.MainViews;
using Dependiator.Modeling.Analyzing;
using Dependiator.Modeling.Serializing;
using Dependiator.Utils;
namespace Dependiator.Modeling
{
[SingleInstance]
internal class ModelService : IModelSe... | mit | C# |
db75332cde309ad10a40aa1136db0b7120e2b6de | Fix indentation when changing inside multiline block | hifi/monodevelop-justenoughvi | JustEnoughVi/ChangeInnerBlock.cs | JustEnoughVi/ChangeInnerBlock.cs | using System;
using Mono.TextEditor;
using ICSharpCode.NRefactory.Utils;
using ICSharpCode.NRefactory;
namespace JustEnoughVi
{
public class ChangeInnerBlock : ChangeCommand
{
public ChangeInnerBlock(TextEditorData editor, char openingChar, char closingChar)
: base(editor, TextObject.Inne... | using System;
using Mono.TextEditor;
using ICSharpCode.NRefactory;
namespace JustEnoughVi
{
public class ChangeInnerBlock : ChangeCommand
{
public ChangeInnerBlock(TextEditorData editor, char openingChar, char closingChar)
: base(editor, TextObject.InnerBlock, openingChar, closingChar)
... | mit | C# |
f0521f4f23026d1ad6ce0fbd1b9838fe7664c5bd | Check the condition | FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp... | AngleSharp/Css/ValueConverters/StartsWithValueConverter.cs | AngleSharp/Css/ValueConverters/StartsWithValueConverter.cs | namespace AngleSharp.Css.ValueConverters
{
using AngleSharp.Parser.Css;
using System;
using System.Collections.Generic;
sealed class StartsWithValueConverter<T> : IValueConverter<T>
{
readonly Predicate<CssToken> _condition;
readonly IValueConverter<T> _converter;
public S... | namespace AngleSharp.Css.ValueConverters
{
using AngleSharp.Parser.Css;
using System;
using System.Collections.Generic;
sealed class StartsWithValueConverter<T> : IValueConverter<T>
{
readonly Predicate<CssToken> _condition;
readonly IValueConverter<T> _converter;
public S... | mit | C# |
dd033df831319768a5cc6993f7e0ad1886f7de18 | Set AssemblyVersion number correctly to 0.3.2 | LongNguyenP/DynaShape | DynaShape/Properties/AssemblyInfo.cs | DynaShape/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DynaShape")]
[assembly: AssemblyDescription("Open-source Dynamo plugin for constraint-based form finding, optimization and physics simulation")]
[assembly: AssemblyConfiguration("")]
[assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DynaShape")]
[assembly: AssemblyDescription("Open-source Dynamo plugin for constraint-based form finding, optimization and physics simulation")]
[assembly: AssemblyConfiguration("")]
[assembl... | mit | C# |
90fb3e781983ae8d0caa14dc21bb0fb32df5755b | Use portable ToCharArray overload yielding equivalent result | cureos/Evil-DICOM,SuneBuur/Evil-DICOM | EvilDICOM.Core/EvilDICOM.Core/IO/Writing/DICOMBinaryWriter.cs | EvilDICOM.Core/EvilDICOM.Core/IO/Writing/DICOMBinaryWriter.cs | using System;
using System.IO;
using System.Text;
namespace EvilDICOM.Core.IO.Writing
{
public class DICOMBinaryWriter : IDisposable
{
private readonly BinaryWriter _writer;
/// <summary>
/// Constructs a new writer from a file path.
/// </summary>
///... | using System;
using System.IO;
using System.Text;
namespace EvilDICOM.Core.IO.Writing
{
public class DICOMBinaryWriter : IDisposable
{
private readonly BinaryWriter _writer;
/// <summary>
/// Constructs a new writer from a file path.
/// </summary>
///... | mit | C# |
751c48c8049e53ada536a55f2c67e5c10cc3c3b7 | Update Vibrancy.cs | ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET | ElectronNET.API/Entities/Vibrancy.cs | ElectronNET.API/Entities/Vibrancy.cs | using System.Runtime.Serialization;
using System;
namespace ElectronNET.API.Entities
{
/// <summary>
///
/// </summary>
public enum Vibrancy
{
/// <summary>
/// The appearance based
/// </summary>
[EnumMember(Value = "appearance-based")]
[Obsolete("Removed i... | using System.Runtime.Serialization;
using System;
namespace ElectronNET.API.Entities
{
/// <summary>
///
/// </summary>
public enum Vibrancy
{
/// <summary>
/// The appearance based
/// </summary>
[EnumMember(Value = "appearance-based")]
[Obsolete("Removed i... | mit | C# |
d024135bc01098165d64201eee86643de5466e7a | change scriptinstance status to string | andiexer/EagleEye-ScriptLogPlatform,andiexer/EagleEye-ScriptLogPlatform,andiexer/EagleEye-ScriptLogPlatform,andiexer/EagleEye-ScriptLogPlatform,andiexer/EagleEye-ScriptLogPlatform | src/Frontend/Gateway.API/Entities/ScriptInstance.cs | src/Frontend/Gateway.API/Entities/ScriptInstance.cs | using EESLP.Frontend.Gateway.API.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace EESLP.Frontend.Gateway.API.Entities
{
[Table("ScriptInstance")]
public class ScriptInstance : Entity, IAuditabl... | using EESLP.Frontend.Gateway.API.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace EESLP.Frontend.Gateway.API.Entities
{
[Table("ScriptInstance")]
public class ScriptInstance : Entity, IAuditabl... | mit | C# |
1825327f0461697c29c792a345dc165749ff8007 | work in progress | KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin | src/Kirkin.Experimental/Diagnostics/ProcessScope.cs | src/Kirkin.Experimental/Diagnostics/ProcessScope.cs | using System;
using System.Diagnostics;
using System.Threading;
namespace Kirkin.Diagnostics
{
/// <summary>
/// Manages the lifetime of the given process, ensuring that the process is reliably
/// killed if <see cref="IDisposable.Dispose"/> is called. Also terminates the process
/// if the current <s... | using System;
using System.Diagnostics;
using System.Threading;
namespace Kirkin.Diagnostics
{
/// <summary>
/// Manages the lifetime of the given process, ensuring that the process is reliably
/// killed if <see cref="IDisposable.Dispose"/> is called. Also terminates the process
/// if the current <s... | mit | C# |
e719e764e69c8c2f44547ca0549038b2efad2449 | Update IntroBasic.cs | Ky7m/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet... | samples/BenchmarkDotNet.Samples/Intro/IntroBasic.cs | samples/BenchmarkDotNet.Samples/Intro/IntroBasic.cs | using System.Threading;
using BenchmarkDotNet.Attributes;
namespace BenchmarkDotNet.Samples.Intro
{
// It is very easy to use BenchmarkDotNet. You should just create a class
public class IntroBasic
{
// And define a method with the Benchmark attribute
[Benchmark]
public void Sleep(... | using System.Threading;
using BenchmarkDotNet.Attributes;
namespace BenchmarkDotNet.Samples.Intro
{
// It is very easy to use BenchmarkDotNet. You should just create a class
public class IntroBasic
{
// And define a method with the Benchmark attribute
[Benchmark]
public void Sleep(... | mit | C# |
fc7769ee522c9ac63deb95014d40bed0a6ecbf7f | Set Culture.Dir to ltr as it is not W3C compliant to set it to string.empty (#5122) | xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Br... | src/OrchardCore/OrchardCore.DisplayManagement.Liquid/CultureLiquidTemplateEventHandler.cs | src/OrchardCore/OrchardCore.DisplayManagement.Liquid/CultureLiquidTemplateEventHandler.cs | using System.Globalization;
using System.Threading.Tasks;
using Fluid;
using Fluid.Values;
using OrchardCore.Liquid;
namespace OrchardCore.DisplayManagement.Liquid
{
/// <summary>
/// Provides access to the Culture property.
/// </summary>
public class CultureLiquidTemplateEventHandler : ILiquidTemplat... | using System.Globalization;
using System.Threading.Tasks;
using Fluid;
using Fluid.Values;
using OrchardCore.Liquid;
namespace OrchardCore.DisplayManagement.Liquid
{
/// <summary>
/// Provides access to the Culture property.
/// </summary>
public class CultureLiquidTemplateEventHandler : ILiquidTemplat... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.