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 |
|---|---|---|---|---|---|---|---|---|
e29d0b8813f7908df2ac0461dfdbb11d4fc66c3c | Add Seating Mapping Status to seating | viagogo/gogokit.net | src/GogoKit/Models/Response/Seating.cs | src/GogoKit/Models/Response/Seating.cs | using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
[DataContract]
public class Seating
{
[DataMember(Name = "section")]
public string Section { get; set; }
[DataMember(Name = "row")]
public string Row { get; set; }
[DataMember(Name = "seat_fro... | using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
[DataContract]
public class Seating
{
[DataMember(Name = "section")]
public string Section { get; set; }
[DataMember(Name = "row")]
public string Row { get; set; }
[DataMember(Name = "seat_fro... | mit | C# |
a5498145e3c2db1016e22a0e5cf227fdd50c6e5b | Update Program.cs | Jungro/Test | TestWinform/Program.cs | TestWinform/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TestWinform
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TestWinform
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | mit | C# |
a3adbbe3356dc0d241ac9e7995bc827860c8f0a6 | set keep alive on requests made by server | ai-traders/liget,ai-traders/liget,ai-traders/liget,ai-traders/liget | src/LiGet/Cache/Proxy/NetHttpClient.cs | src/LiGet/Cache/Proxy/NetHttpClient.cs | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace LiGet.Cache.Proxy
{
public class NetHttpClient : IHttpClient
{
HttpClient client = new HttpClient();
public NetHttpClient() {
client.DefaultRequestHeaders.ConnectionClose = false;
}
pu... | using System.Net.Http;
using System.Threading.Tasks;
namespace LiGet.Cache.Proxy
{
public class NetHttpClient : IHttpClient
{
HttpClient client = new HttpClient();
public Task<HttpResponseMessage> SendAsync(HttpRequestMessage request)
{
return this.client.SendAsync(request)... | mit | C# |
62b3c33a647fb2fb69d8db23bced35d7a599d325 | Update debug.cs | dimmpixeye/Unity3dTools | Runtime/LibMisc/debug.cs | Runtime/LibMisc/debug.cs | // Project : ecs.examples
// Contacts : Pix - ask@pixeye.games
using System.Diagnostics;
using Debug = UnityEngine.Debug;
namespace Pixeye.Actors
{
sealed public class debug
{
[Conditional("ACTORS_DEBUG")]
public static void log(object context)
{
Debug.Log(context);
}
}
} | // Project : ecs.examples
// Contacts : Pix - ask@pixeye.games
using System.Diagnostics;
using Debug = UnityEngine.Debug;
namespace Pixeye.Actors
{
sealed class debug
{
[Conditional("ACTORS_DEBUG")]
public static void log(object context)
{
Debug.Log(context);
}
}
} | mit | C# |
74a54286340aa69e3906bb2c5b1f35ffc41571ee | Remove unnecessary suppression | mavasani/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,dotnet/roslyn-analyzers | src/Utilities/Compiler/BoundedCache.cs | src/Utilities/Compiler/BoundedCache.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Analyzer.Utilities
{
/// <summary>
/// Provides bounded cache for analyzers.
/// Acts as a good alternative to <see cref="System.Runtim... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#pragma warning disable CA1000 // Do not declare static members on generic types
namespace Analyzer.Utilities
{
/// <summary>
/// Provides bounded c... | mit | C# |
7d95b82d06a29c736e1036b5f3a8685435504281 | Remove unused usings | ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework.Tests/Lists/TestWeakList.cs | osu.Framework.Tests/Lists/TestWeakList.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 NUnit.Framework;
using osu.Framework.Lists;
namespace osu.Framework.Tests.Lists
{
[TestFixture]
public class TestWeakList
{
[Test... | // 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Lists;
namespace osu.Framework.Tests.Lists
{
[TestFixtu... | mit | C# |
79eca8e1bffed2138d9b89cb1216d013205e5a74 | remove unneeded "base." | smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Graphics/Sprites/HueAnimation.cs | osu.Game/Graphics/Sprites/HueAnimation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.OpenGL.Vertices;
using osu.Framework.Graphics.Shaders;
using osu.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.OpenGL.Vertices;
using osu.Framework.Graphics.Shaders;
using osu.... | mit | C# |
ad50f7faf10cdc5c4090d5ff58db5cc906debe72 | Make PreviewTrackManager a Component in order to use DI | peppy/osu,naoey/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,DrabWeb/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,ZLima12/osu,naoey/osu,2yangk23/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu-new,smoogipoo/osu,EVAST99... | osu.Game/Audio/PreviewTrackManager.cs | osu.Game/Audio/PreviewTrackManager.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 osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Configuration;
using osu.Framework.Graphic... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Configuration;
using osu.Framework.IO.Stores;
namespace... | mit | C# |
7cbef4c80fd48616ffb6ae546ce608c35458614a | fix manage page error | ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian | src/Obsidian/Services/PortalService.cs | src/Obsidian/Services/PortalService.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Obsidian.Config;
using Obsidian.Foundation.DependencyInjection;
using System.Collections.Generic;
namespace Obsidian.Services
{
[Service(ServiceLifetime.Scoped)]
public class PortalService
{
private readonly P... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Obsidian.Config;
using Obsidian.Foundation.DependencyInjection;
namespace Obsidian.Services
{
[Service(ServiceLifetime.Scoped)]
public class PortalService
{
private readonly PortalConfig _config;
publ... | apache-2.0 | C# |
bc0bd8305ee45bfb15363a715787b61cf005f538 | Bump version | karasek/BTDB,yonglehou/BTDB,klesta490/BTDB,Bobris/BTDB | BTDB/Properties/AssemblyInfo.cs | BTDB/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("BTD... | 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("BTD... | mit | C# |
ed548e6365a4dd35da560eb8bff5de8cd36c0d4c | add ExpectedException attribute to make test passing | yizeng/EventFiringWebDriverExamples | TestOnExceptionThrown.cs | TestOnExceptionThrown.cs | using System;
using System.Drawing.Imaging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.Events;
using OpenQA.Selenium.Support.Extensions;
namespace EventFiringWebDriverExamples {
[TestClass]
public class TestOnEx... | using System;
using System.Drawing.Imaging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.Events;
using OpenQA.Selenium.Support.Extensions;
namespace EventFiringWebDriverExamples {
[TestClass]
public class TestOnEx... | apache-2.0 | C# |
6651acbbf84791ea73a200497689d2a9c9daaad4 | Fix radius calculation and lower sigma. | zachsaw/RenderScripts | CustomLinearScalers/Gaussian.cs | CustomLinearScalers/Gaussian.cs | using System;
namespace Mpdn.CustomLinearScaler
{
namespace Example
{
public class Gaussian : ICustomLinearScaler
{
public Guid Guid
{
get { return new Guid("647351FF-7FEC-4EAB-86C7-CE1BEF43EFD4"); }
}
public string ... | using System;
namespace Mpdn.CustomLinearScaler
{
namespace Example
{
public class Gaussian : ICustomLinearScaler
{
public Guid Guid
{
get { return new Guid("647351FF-7FEC-4EAB-86C7-CE1BEF43EFD4"); }
}
public string ... | mit | C# |
289ad1c14ebfe0ac8b89afb8f2e078e7978b05a2 | Refactor unit tests with Assert.IsTrue. | RaySingerNZ/WundergroundNetLib,nateforsyth/WundergroundNetLib,nzjohnah/WundergroundNetLib,nevercast/WundergroundNetLib,MorphicDev/WundergroundNetLib | WundergroundNetTest/DownloadJsonStringTest.cs | WundergroundNetTest/DownloadJsonStringTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WundergroundNetLib;
using System.Threading.Tasks;
namespace WundergroundNetTest
{
[TestClass]
public class DownloadJsonStringTest
{
[TestMethod]
public void GivenValidUri_WhenCallingDownloadJsonString_ThenStringFileRe... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WundergroundNetLib;
namespace WundergroundNetTest
{
[TestClass]
public class DownloadJsonStringTest
{
[TestMethod]
public void GivenValidUri_WhenCallingDownloadJsonString_ThenStringFileReturned()
{
... | isc | C# |
9c16285e8aafc58ea36677051303ce34839f7b08 | patch loading nancy modules during tests | ai-traders/liget,ai-traders/liget,ai-traders/liget,ai-traders/liget | tests/LiGet.Tests/TestBootstrapper.cs | tests/LiGet.Tests/TestBootstrapper.cs | using System.Collections.Generic;
using System.Linq;
using Autofac;
using Nancy;
using Nancy.Bootstrapper;
using Nancy.Bootstrappers.Autofac;
using Xunit;
namespace LiGet.Tests
{
public class TestBootstrapper : ProgramBootstrapper
{
//PATCH: Force nancy modules to register, autodiscovery seems to fail ... | using Autofac;
namespace LiGet.Tests
{
public class TestBootstrapper : ProgramBootstrapper
{
}
} | mit | C# |
03999e0e923f7853ee77fbb6929a96a185462700 | Fix master server. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | game/server/defaults.cs | game/server/defaults.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//-----------------------------------------------------------------------------
/... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//-----------------------------------------------------------------------------
/... | lgpl-2.1 | C# |
bb5025cb30c9853a67d2597b826e955134a32ecd | Enable multi-channel test in Bigtable on .NET | googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet | apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.IntegrationTests/MultiChannelTest.cs | apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2.IntegrationTests/MultiChannelTest.cs | // Copyright 2018 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 2018 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# |
7dc0272c49745cbd0948842b048ceabd42ff0abb | Test naming. | BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,honestegg/cassette,damiensawyer/cassette | src/Cassette.IntegrationTests/IsolatedStorageFileSystem.cs | src/Cassette.IntegrationTests/IsolatedStorageFileSystem.cs | using System.IO;
using System.IO.IsolatedStorage;
using Should;
using Xunit;
namespace Cassette.IntegrationTests
{
public class IsolatedStorageFileSystem_Tests
{
[Fact]
public void IsolatedStorageFileSystem_AccessesIsolatedStorage()
{
using (var store = Isolated... | using System.IO;
using System.IO.IsolatedStorage;
using Should;
using Xunit;
namespace Cassette.IntegrationTests
{
public class IsolatedStorageFileSystem_Tests
{
[Fact]
public void IsolatedStorageFileSystem_AccessIsolatedStorage()
{
using (var store = IsolatedSt... | mit | C# |
9b15c97cc1be4505eed940cac08cbb6f2bff5605 | Change Assembly version | ProgramFOX/Chess.NET | ChessDotNet/Properties/AssemblyInfo.cs | ChessDotNet/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
9751010f08a222b06498b9a88a6cc4493d340a45 | Store messages in list to future filter; Clear method; | KonH/UDBase | Components/Log/Log_Visual_Behaviour.cs | Components/Log/Log_Visual_Behaviour.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
namespace UDBase.Components.Log {
public class Log_Visual_Behaviour : MonoBehaviour {
public Text Text;
List<string> _messages = new List<string>();
public void Init() {
Clear();
}
public void Clear()... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace UDBase.Components.Log {
public class Log_Visual_Behaviour : MonoBehaviour {
public Text Text;
public void Init() {
Text.text = "";
}
public void AddMessage(string msg) {
Text.text += msg + "\n";
}
}
}
| mit | C# |
87cf68da6a5e4cdccb4b51ae36b71707d32e2f60 | Make song sorting tests a little more obvious | GeorgeHahn/SOVND | SOVND.Lib.Tests/SongTests.cs | SOVND.Lib.Tests/SongTests.cs | using SOVND.Lib.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Should;
namespace SOVND.Lib.Tests
{
public class SongTests
{
[Fact]
public void SongsShouldSortByVotes()
{
va... | using SOVND.Lib.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Should;
namespace SOVND.Lib.Tests
{
public class SongTests
{
[Fact]
public void SongsShouldSortByVotes()
{
va... | epl-1.0 | C# |
20adab9e25cbd2e007b6ab6fb70411700a86eb47 | Update dev version to 3.0.0 | sharpdx/Toolkit,sharpdx/Toolkit,tomba/Toolkit | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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 restriction, including without limitation the rights
// to use, copy, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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 restriction, including without limitation the rights
// to use, copy, modi... | mit | C# |
a111afadfda3aa6f29e456fa6eaa081330c277d0 | Remove hack to load correct version of Splat. | github/VisualStudio,github/VisualStudio,github/VisualStudio | test/Helpers/SplatModeDetectorSetUp.cs | test/Helpers/SplatModeDetectorSetUp.cs | using System;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
[SetUpFixture]
public class SplatModeDetectorSetUp
{
[OneTimeSetUp]
public void RunBeforeAnyTests()
{
Splat.ModeDetector.Current.SetInUnitTestRunner(true);
}
} | using System;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
[SetUpFixture]
public class SplatModeDetectorSetUp
{
static SplatModeDetectorSetUp()
{
// HACK: Force .NET 4.5 version of Splat to load when executing inside NCrunch
var ncrunchAsms = Environment.GetEnvironmentVar... | mit | C# |
79df0068347a1c2584c75c0a5634e44f45a420be | Add Feature3 | seyedk/Staffing | Staffing/Staffing/Program.cs | Staffing/Staffing/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Staffing
{
class Program
{
static void Main(string[] args)
{
}
static void DoSomthing()
{
Console.WriteLine("I'm doing ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Staffing
{
class Program
{
static void Main(string[] args)
{
}
static void DoSomthing()
{
Console.WriteLine("I'm doing ... | mit | C# |
3f3749a0db9ef05a8fe28803b7d97d61ce7c22e6 | Change property so that Clang/gcc warnings do not appear | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | tests/DeltaSettingsTest1/bam/Scripts/DeltaSettingsTest1.cs | tests/DeltaSettingsTest1/bam/Scripts/DeltaSettingsTest1.cs | using Bam.Core;
using System.Linq;
namespace DeltaSettingsTest1
{
sealed class Test :
C.StaticLibrary
{
protected override void
Init(
Module parent)
{
base.Init(parent);
var source = this.CreateCSourceContainer("$(packagedir)/source/*.c");
... | using Bam.Core;
using System.Linq;
namespace DeltaSettingsTest1
{
sealed class Test :
C.StaticLibrary
{
protected override void
Init(
Module parent)
{
base.Init(parent);
var source = this.CreateCSourceContainer("$(packagedir)/source/*.c");
... | bsd-3-clause | C# |
0358fc69b45733522390ef396576f3f4e6bad659 | Update PageControl.xaml.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D.UI/Views/PageControl.xaml.cs | src/Core2D.UI/Views/PageControl.xaml.cs | using Avalonia.Controls;
using Avalonia.Controls.PanAndZoom;
using Avalonia.Markup.Xaml;
namespace Core2D.UI.Views
{
/// <summary>
/// Interaction logic for <see cref="PageControl"/> xaml.
/// </summary>
public class PageControl : UserControl
{
private ScrollViewer _scrollViewer;
p... | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.UI.Views
{
/// <summary>
/// Interaction logic for <see cref="PageControl"/> xaml.
/// </summary>
public class PageControl : UserControl
{
/// <summary>
/// Initializes a new instance of the <see cref="PageContro... | mit | C# |
243c373fd62da9096ad31add1844f83ce2dc05a3 | Fix inspection | peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework | osu.Framework/Input/CustomInputManager.cs | osu.Framework/Input/CustomInputManager.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 System.Collections.Immutable;
using System.Linq;
using osu.Framework.Input.Handlers;
namespace osu.Framework.Input
{
/// <sum... | // 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 System.Collections.Immutable;
using System.Linq;
using osu.Framework.Input.Handlers;
namespace osu.Framework.Input
{
/// <sum... | mit | C# |
63b61ce6694ed6f1f72cc81083b18307c131f42c | Make TimeOffset internal set. | UselessToucan/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,ZLima12/osu,ZLima12/osu,EVAST9919/osu,DrabWeb/osu,Frontear/osuKyzer,ppy/osu,johnneijzen/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,naoey/osu,NeoAdonis/osu,Nabile-Rahmani/osu,naoey/osu,UselessToucan/osu,ppy/osu,peppy/osu,naoey/osu,NeoAdoni... | osu.Game/Rulesets/Judgements/Judgement.cs | osu.Game/Rulesets/Judgements/Judgement.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 osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Judgements
{
public class Judgement
{
/// <summary>
/// Whethe... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects.Drawables;
namespace osu.Game.Rulesets.Judgements
{
public class Judgement
{
/// <summary>
/// Whethe... | mit | C# |
395b058ff872a28cf74554088ec04f26eff319d8 | Fix OsuScreenDependencies not caching non-leased versions | ppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,2yangk23/osu,peppy/osu-new,smoogipoo/osu,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu | osu.Game/Screens/OsuScreenDependencies.cs | osu.Game/Screens/OsuScreenDependencies.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.Allocation;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets... | // 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.Allocation;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets... | mit | C# |
0c2dfdfba7c70daa04a424dea979e8976234a220 | test game | dinazil/she-codes-csharp-for-beginners | Module6/Blackjack/Blackjack/Program.cs | Module6/Blackjack/Blackjack/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blackjack
{
class Program
{
static void Main(string[] args)
{
TestCardClass();
TestDeckClass();
TestGameClass();
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blackjack
{
class Program
{
static void Main(string[] args)
{
TestCardClass();
TestDeckClass();
}
static void TestCardClass()
... | mit | C# |
8430b06625310c1c9a169a2198a88a132a9a67ab | Comment formatting. | KonstantinRudolph/SexyCurves | Source/Assets/SexyCurves/Enumerators/SexyCurvesCurveEnum.cs | Source/Assets/SexyCurves/Enumerators/SexyCurvesCurveEnum.cs | namespace SexyCurves.Enumerators
{
/// <summary>
/// Describes which axis the curve(s) which shall be modified is describing.
/// </summary>
public enum SexyCurvesCurveEnum
{
XYZ,
XY,
XZ,
X,
YZ,
Y,
Z
}
} | using UnityEngine;
using System.Collections;
namespace SexyCurves.Enumerators
{
/// <summary>
/// Describes which axis the curve(s) which shall be modified is describing.
/// </summary>
public enum SexyCurvesCurveEnum
{
XYZ,
XY,
XZ,
X,
YZ,
Y,
... | mit | C# |
877f9dc38b5db7a95ed76afeea12fac63b496088 | bump to 1.1 | Terradue/DotNetOpenSearchDataAnalyzer | Terradue.OpenSearch.DataAnalyzer/Properties/AssemblyInfo.cs | Terradue.OpenSearch.DataAnalyzer/Properties/AssemblyInfo.cs | /*!
\namespace Terradue.OpenSearch.DataAnalyzer
@{
Terradue.OpenSearch.DataAnalyzer provides with a data harvester to scan files using GDAL and to extract Geo, Time and other metadata to export them as profiled structured ATOM feed.
\xrefitem sw_version "Versions" "Software Package Version" 1.1
\xrefitem... | /*!
\namespace Terradue.OpenSearch.DataAnalyzer
@{
Terradue.OpenSearch.DataAnalyzer provides with a data harvester to scan files using GDAL and to extract Geo, Time and other metadata to export them as profiled structured ATOM feed.
\xrefitem sw_version "Versions" "Software Package Version" 1.0.30
\xrefi... | agpl-3.0 | C# |
2cfebbc211a7cb042996b5c998a4f27b34972802 | Remove download helper from StaticData static class | larsbrubaker/agg-sharp,jlewin/agg-sharp,MatterHackers/agg-sharp | PlatformAbstract/IStaticData.cs | PlatformAbstract/IStaticData.cs | using MatterHackers.Agg.Image;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace MatterHackers.Agg.PlatformAbstract
{
public interface IStaticData
{
bool DirectoryExists(string pathToManufacturers);
bool FileExists(string path);
IEnume... | using MatterHackers.Agg.Image;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace MatterHackers.Agg.PlatformAbstract
{
public interface IStaticData
{
bool DirectoryExists(string pathToManufacturers);
bool FileExists(string path);
IEnume... | bsd-2-clause | C# |
b7cc6819eaa3daee9f5396b27574ab096a908660 | Add isThreadSafe | AMDL/CommonMark.NET,AMDL/CommonMark.NET | CommonMark/Lazy.cs | CommonMark/Lazy.cs | using System;
namespace CommonMark
{
#if v2_0 || v3_5
class Lazy<T>
{
private readonly Func<T> valueFactory;
private readonly bool isThreadSafe;
private readonly object _lock = new object();
private T value;
public Lazy(Func<T> valueFactory)
: this(valueFac... | using System;
namespace CommonMark
{
#if v2_0 || v3_5
class Lazy<T>
{
private readonly Func<T> valueFactory;
private readonly object _lock = new object();
private T value;
public Lazy(Func<T> valueFactory)
{
this.valueFactory = valueFactory;
}
... | bsd-3-clause | C# |
892df31409002d4ce0478b18ba29b06b74abf605 | Add missing guid on Code Style/Formatting/New Lines option page (#45407) | stephentoub/roslyn,heejaechang/roslyn,sharwell/roslyn,genlu/roslyn,tmat/roslyn,gafter/roslyn,dotnet/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,gafter/roslyn,panopticoncentral/roslyn,jmarolf/roslyn,heejaechang/roslyn,eriawan/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn... | src/VisualStudio/CSharp/Impl/Options/Formatting/FormattingNewLinesPage.cs | src/VisualStudio/CSharp/Impl/Options/Formatting/FormattingNewLinesPage.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 System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.LanguageServices.Implementation.Op... | // 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 System;
using Microsoft.VisualStudio.LanguageServices.Implementation.Options;
namespace Microsoft.VisualStud... | mit | C# |
821cf2a3d12106456a584d64ebbd346578bf15ae | Update GoogleAnalyticsPlatform.cs | KSemenenko/Google-Analytics-for-Xamarin-Forms,KSemenenko/GoogleAnalyticsForXamarinForms | Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.WindowsPhone81/GoogleAnalyticsPlatform.cs | Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.WindowsPhone81/GoogleAnalyticsPlatform.cs | using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace Plugin.GoogleAnalytics
{
public partial class GoogleAnalytics
{
static GoogleAnalytics()
{
Application.Current.UnhandledException += CurrentDomain_UnhandledException;
}
private static void CurrentDomain_... | using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace Plugin.GoogleAnalytics
{
public partial class GoogleAnalytics
{
static GoogleAnalytics()
{
Application.Current.UnhandledException += CurrentDomain_UnhandledException;
}
private static void CurrentDomain_... | mit | C# |
34e7659a029af7f90fc0d47cf28f0ada3a4c241d | add try catch for receive | yasokada/unity-150830-udpSender | Assets/SendButtonScript.cs | Assets/SendButtonScript.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
/*
* v0.1 2015/08/30
* - only send w/o try catch
*/
public class SendButtonScript : MonoBehaviour {
public InputField IFipadr;
public InputF... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
/*
* v0.1 2015/08/30
* - only send w/o try catch
*/
public class SendButtonScript : MonoBehaviour {
public InputField IFipadr;
public InputF... | mit | C# |
8ef7b6fd66ebbed0bd6d7eccf9b49e24a88d7faf | Fix warning. | mortennobel/A-Study-in-Composition | Assets/script/StarField.cs | Assets/script/StarField.cs | using UnityEngine;
using System.Collections;
public class StarField : MonoBehaviour {
public Camera cam;
public ParticleSystem ps;
ParticleSystem.Particle[] particles;
public Color color;
[MinMaxRange(0,10)]
public Vector2 size = new Vector2(0,1);
// Use this for initialization
void Start () {
cam = Cam... | using UnityEngine;
using System.Collections;
public class StarField : MonoBehaviour {
public Camera camera;
public ParticleSystem ps;
ParticleSystem.Particle[] particles;
public Color color;
[MinMaxRange(0,10)]
public Vector2 size = new Vector2(0,1);
// Use this for initialization
void Start () {
camera... | mit | C# |
a688ae13bed5093bb92f3a8638c18f3539ba197e | Set manager auth cookie as essential. Fixes #1829 | PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core | core/Piranha.Manager/Controllers/AuthController.cs | core/Piranha.Manager/Controllers/AuthController.cs | /*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using Microsoft.AspNetCore.Antiforgery;
using Microsoft.AspNetCore.Authorization;
us... | /*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using Microsoft.AspNetCore.Antiforgery;
using Microsoft.AspNetCore.Authorization;
us... | mit | C# |
c14ee433c3a57896d5a5ffccd7256d9a6c6e7f27 | decrease keep-alive timeout | LykkeCity/bitcoinservice,LykkeCity/bitcoinservice | src/ApiRunner/Program.cs | src/ApiRunner/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AzureRepositories;
using BitcoinApi;
using Core.Settings;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
namespace ApiRunner
{
public ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using AzureRepositories;
using BitcoinApi;
using Core.Settings;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
namespace ApiRunner
{
public ... | mit | C# |
4a9f6b588d8a80a64255cdd13a28316d8f315d2c | Update Value.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | src/Core2D/Data/Value.cs | src/Core2D/Data/Value.cs | using System.Collections.Generic;
namespace Core2D.Data
{
/// <summary>
/// Record value.
/// </summary>
public class Value : ObservableObject, IValue
{
private string _content;
/// <inheritdoc/>
public string Content
{
get => _content;
set ... | using System.Collections.Generic;
namespace Core2D.Data
{
/// <summary>
/// Record value.
/// </summary>
public class Value : ObservableObject, IValue
{
private string _content;
/// <inheritdoc/>
public string Content
{
get => _content;
set ... | mit | C# |
e14279cec1661191c324560b79cedea5933c67c8 | Update Lobby object so Participants can be accessed (#25) | kenakamu/UCWA2.0-CS | UCWASDK/UCWASDK/Models/Lobby.cs | UCWASDK/UCWASDK/Models/Lobby.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Skype.UCWA.Services;
using Newtonsoft.Json;
namespace Microsoft.Skype.UCWA.Models
{
/// <summary>
/// Represents a view of the participants who have not yet been admitted to an onlineMeeting.
/// A participant in the lobby can... | using Newtonsoft.Json;
namespace Microsoft.Skype.UCWA.Models
{
/// <summary>
/// Represents a view of the participants who have not yet been admitted to an onlineMeeting.
/// A participant in the lobby can be admitted by another participant in the organizer or presenter role. A participant in the lobby w... | mit | C# |
b6cb41cc9818bdcf6a4bc98f3c20dc8642e8a4d1 | remove unused using directive | serbrech/Common.Serializer | src/Common.Serializer.Tests/ConfigTest.cs | src/Common.Serializer.Tests/ConfigTest.cs | using System.Text;
using Common.Serializer.Xml;
using FluentAssertions;
using NUnit.Framework;
namespace Common.Serializer.Tests
{
[TestFixture]
public class ConfigTest
{
[SetUp]
public void Setup()
{
Serialization.Initialize(config =>
{
conf... | using System.Text;
using Common.Serializer.NewtonsoftJson;
using Common.Serializer.Xml;
using FluentAssertions;
using NUnit.Framework;
namespace Common.Serializer.Tests
{
[TestFixture]
public class ConfigTest
{
[SetUp]
public void Setup()
{
Serialization.Initialize(conf... | mit | C# |
e583a17ef8381a15ae9f59635dae7e0cfbdd2aac | Clean up how IHttpContextAccessor is added | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.SpaServices/Prerendering/PrerenderingServiceCollectionExtensions.cs | src/Microsoft.AspNetCore.SpaServices/Prerendering/PrerenderingServiceCollectionExtensions.cs | using Microsoft.AspNetCore.SpaServices.Prerendering;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Extension methods for setting up prerendering features in an <see cref="IServiceCollection" />.
/// </summary>
public static class PrerenderingServiceCollectionExtensions
{
... | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.NodeServices;
using Microsoft.AspNetCore.SpaServices.Prerendering;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions.DependencyInjection
{
/// <sum... | apache-2.0 | C# |
9858b797958b1d81e9c8b7547640945cc5ddf124 | Update ForeignExchangeRepository.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ForeignExchangeRepository.cs | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ForeignExchangeRepository.cs | using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ForeignExchangeRepository : EntityQueryRepository<ExchangeRatesContext, ForeignExchangeEntity, int>,
IForeignExchangeRepository
{
public ForeignExchangeRepository(ExchangeRates... | using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ForeignExchangeRepository : EntityQueryRepository<ExchangeRatesContext, ForeignExchangeEntity, int>, IForeignExchangeRepository
{
public ForeignExchangeRepository(ExchangeRatesContext ... | mit | C# |
9a866b5ddca41d77c709d2b0f88745e5725a5eb5 | Rename variable | mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity | src/IntegrationTests/Git/GitSetupTests.cs | src/IntegrationTests/Git/GitSetupTests.cs | using System.Threading;
using FluentAssertions;
using GitHub.Unity;
using NUnit.Framework;
using Rackspace.Threading;
using TestUtils;
namespace IntegrationTests
{
class GitSetupTests : BaseGitRepoTest
{
[Test]
public void InstallGit()
{
var environmentPath = NPath.CreateTem... | using System.Threading;
using FluentAssertions;
using GitHub.Unity;
using NUnit.Framework;
using Rackspace.Threading;
using TestUtils;
namespace IntegrationTests
{
class GitSetupTests : BaseGitRepoTest
{
[Test]
public void InstallGit()
{
var environmentPath = NPath.CreateTem... | mit | C# |
fe859a38b662424b195d47f75559684cf38f4cd4 | Build prerelease package | QuickenLoans/XSerializer,rlyczynski/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
2f5e131e08a58e39b35e08e64a2b4182499a4fbd | Remove extra whitespace. | miniter/SSH.NET,sshnet/SSH.NET,Bloomcredit/SSH.NET | src/Renci.SshNet/Channels/ChannelTypes.cs | src/Renci.SshNet/Channels/ChannelTypes.cs |
namespace Renci.SshNet.Channels
{
/// <summary>
/// Lists channel types as defined by the protocol.
/// </summary>
internal enum ChannelTypes
{
/// <summary>
/// session
/// </summary>
Session,
/// <summary>
/// x11
/// </summar... |
namespace Renci.SshNet.Channels
{
/// <summary>
/// Lists channel types as defined by the protocol.
/// </summary>
internal enum ChannelTypes
{
/// <summary>
/// session
/// </summary>
Session,
/// <summary>
/// x11
/// </summar... | mit | C# |
cd2285b8ddc0b5de1100ebbe9d2a65d8b9aead19 | Update copyright year to 2018 | danielchalmers/WpfAboutView | WpfAboutView/Properties/AssemblyInfo.cs | WpfAboutView/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("WpfAboutView")]
[assembly: AssemblyDescription("Simple About control with app name, icon, version, and credits")]
[assembly: AssemblyCompany("Daniel Chalmers")]
[assembly: AssemblyProduct("WpfAboutView")]
[assembly: AssemblyCopyr... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("WpfAboutView")]
[assembly: AssemblyDescription("Simple About control with app name, icon, version, and credits")]
[assembly: AssemblyCompany("Daniel Chalmers")]
[assembly: AssemblyProduct("WpfAboutView")]
[assembly: AssemblyCopyr... | mit | C# |
dc377444d9ca87505efa9b5c172f688f3f925fb6 | fix SqlEmiterBase CRLF | sdcb/sdmap | sdmap/src/sdmap/Compiler/SqlEmiterBase.cs | sdmap/src/sdmap/Compiler/SqlEmiterBase.cs | using Antlr4.Runtime;
using Antlr4.Runtime.Tree;
using sdmap.Functional;
using sdmap.Parser.Visitor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace sdmap.Compiler
{
public abstract class SqlEmiterBase
{
protected ParserRuleContex... | using Antlr4.Runtime;
using Antlr4.Runtime.Tree;
using sdmap.Functional;
using sdmap.Parser.Visitor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace sdmap.Compiler
{
public abstract class SqlEmiterBase
{
protected ParserRuleContext _parseTree;... | mit | C# |
6c90eda3370b73356350de4ccdca1256fc28c998 | Update AssemblyInfo.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/AssemblyInfo.cs | src/api/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyDescription("Library API")]
[assembly: InternalsVisibleTo("Landis.Landscapes")]
// So private methods of site-related structs can be utilized
| using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyDescription("Library API")]
[assembly: AssemblyCopyright("Copyright 2010,2012 Green Code LLC")]
[assembly: InternalsVisibleTo("Landis.Landscapes")]
// So private methods of site-related structs can be utilized | apache-2.0 | C# |
a54ccd3881681a35bd135ac7651ba7f25460269d | Fix ScrollTriggerTests | atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata.Tests/ScrollTriggerTests.cs | src/Atata.Tests/ScrollTriggerTests.cs | using NUnit.Framework;
using OpenQA.Selenium;
namespace Atata.Tests
{
public class ScrollTriggerTests : UITestFixture
{
private ScrollablePage page;
protected override bool ReuseDriver => false;
protected override void OnSetUp()
{
page = Go.To<ScrollablePage>();
... | using NUnit.Framework;
using OpenQA.Selenium;
namespace Atata.Tests
{
public class ScrollTriggerTests : UITestFixture
{
private ScrollablePage page;
protected override void OnSetUp()
{
page = Go.To<ScrollablePage>();
}
[Test]
public void ScrollDown... | apache-2.0 | C# |
02f94dcc24f9d3a4f569a9124704d780fdcc2722 | Add autosize coverage to spinning boxes benchmark | peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework.Benchmarks/BenchmarkManySpinningBoxes.cs | osu.Framework.Benchmarks/BenchmarkManySpinningBoxes.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 BenchmarkDotNet.Attributes;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using... | // 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 BenchmarkDotNet.Attributes;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Framework... | mit | C# |
24fe7538fd0e7eb7d9592760978e716636751069 | Use new logo name for showcase screen | ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu | osu.Game.Tournament/Screens/Showcase/TournamentLogo.cs | osu.Game.Tournament/Screens/Showcase/TournamentLogo.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.... | mit | C# |
4e479a917768be7e105fbf98a02ae30a12216757 | Remove unsupported column attribute convention with no sql connection. | xaviermonin/EntityCore | Core/EntityCore/Context.cs | Core/EntityCore/Context.cs | using EntityCore.DynamicEntity;
using EntityCore.Utils;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Data.SqlClient;
using System.Linq;
namespace EntityCore
{
public static class Context
{
... | using EntityCore.DynamicEntity;
using EntityCore.Utils;
using System.Configuration;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace EntityCore
{
public static class Context
{
public static DynamicEntityContext New(string nameOrConnectionString)
... | mit | C# |
8b6206d2db45d441fdabdaacbb55cccaee07345d | Refactor variable to make clearer | 0culus/ElectronicCash | BitCommitment/BitCommitmentProvider.cs | BitCommitment/BitCommitmentProvider.cs | using System;
using System.Security.Cryptography;
using ElectronicCash;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way
/// function m... | using System;
using System.Security.Cryptography;
using ElectronicCash;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way
/// function m... | mit | C# |
bb2338cb86d0a151c83613a049db3db91a8589e4 | upgrade version. | Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue,geffzhang/equeue,Aaron-Liu/equeue,tangxuehua/equeue,tangxuehua/equeue | src/EQueue/Properties/AssemblyInfo.cs | src/EQueue/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | mit | C# |
81768a1239041df745955ee24632359be2abef10 | Support more polygon trigger types | feliwir/openSage,feliwir/openSage | src/OpenZH.Data/Map/PolygonTrigger.cs | src/OpenZH.Data/Map/PolygonTrigger.cs | using System;
using System.IO;
using OpenZH.Data.Utilities.Extensions;
namespace OpenZH.Data.Map
{
public sealed class PolygonTrigger
{
public string Name { get; private set; }
public string LayerName { get; private set; }
public uint UniqueId { get; private set; }
public Polyg... | using System.IO;
using OpenZH.Data.Utilities.Extensions;
namespace OpenZH.Data.Map
{
public sealed class PolygonTrigger
{
public string Name { get; private set; }
public string LayerName { get; private set; }
public uint UniqueId { get; private set; }
public PolygonTriggerType ... | mit | C# |
0c6ee556278c486cb3bf0c2daaef54f40588b68a | increase version | CIMEL/CIMEL,baikangwang/Aeronet | CIMEL.Chart/Properties/AssemblyInfo.cs | CIMEL.Chart/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... | apache-2.0 | C# |
898c49ab1921a6f8ed06894c99fc954c620d9a2c | test from VS | tym32167/SSExec,tym32167/SSExec | src/SSExec.Button/Models/HomeModel.cs | src/SSExec.Button/Models/HomeModel.cs | using System.Collections.Generic;
using SSExec.Button.Core;
namespace SSExec.Button.Models
{
public class HomeModel
{
public IEnumerable<ProcessInfoView> ProcessInfoViews { get; set; }
}
} | using System.Collections.Generic;
using SSExec.Button.Core;
namespace SSExec.Button.Models
{
public class HomeModel
{
public IEnumerable<ProcessInfoView> ProcessInfoViews { get; set; }
}
} | apache-2.0 | C# |
a469d3aeae422797ae56225fe8dc3665698768b6 | Update InputListener.cs | ghandhikus/Xna-Basic-Input-Detection | Code/InputControlling/InputListener.cs | Code/InputControlling/InputListener.cs | #region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#endregion
namespace Game
{
class InputListener
{
virtual public void Down() { }
virtual public void Up() { }
virtual public void Click() { }
virtual public void Hold()... | #region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#endregion
namespace Game
{
abstract class InputListener
{
abstract public void Down();
abstract public void Up();
abstract public void Click();
abstract public void H... | apache-2.0 | C# |
bcc624073303441bd17c173db87c2620ec4c1828 | Update copyright year | conniey/icu-dotnet,sillsdev/icu-dotnet,conniey/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,ermshiperete/icu-dotnet | source/icu.net/Properties/AssemblyInfo.cs | source/icu.net/Properties/AssemblyInfo.cs | // Copyright (c) 2007-2017 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute v... | // Copyright (c) 2007-2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute v... | mit | C# |
b71cea2722ae1f080f9ef72228cc48482a70c2f7 | Add tests for the status flags set by iny. | joshpeterson/mos,joshpeterson/mos,joshpeterson/mos | Mos6510.Tests/Instructions/InyTests.cs | Mos6510.Tests/Instructions/InyTests.cs | using NUnit.Framework;
using Mos6510.Instructions;
namespace Mos6510.Tests.Instructions
{
[TestFixture]
public class InyTests
{
[Test]
public void IncrementsTheValueInRegisterY()
{
const int initialValue = 42;
var model = new ProgrammingModel();
model.GetRegister(RegisterName.Y).Se... | using NUnit.Framework;
using Mos6510.Instructions;
namespace Mos6510.Tests.Instructions
{
[TestFixture]
public class InyTests
{
[Test]
public void IncrementsTheValueInRegisterY()
{
const int initialValue = 42;
var model = new ProgrammingModel();
model.GetRegister(RegisterName.Y).Se... | mit | C# |
6e603871528b5c74ae09647befcc03b70643f1b0 | Allow MongoDB.Driver.Tests to see internals of MongoDB.Driver. | samus/mongodb-csharp,mongodb-csharp/mongodb-csharp,zh-huan/mongodb | MongoDBDriver/AssemblyInfo.cs | MongoDBDriver/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Permissions;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MongoDBDriver")]
[assembly: AssemblyDescripti... | using System;
using System.Reflection;
using System.Security.Permissions;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MongoDBDriver")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration... | apache-2.0 | C# |
09a78e3b847e8fa880e88a9f6f57145b39215912 | Update Teacher Index View's table with some bootstrap. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Views/Teachers/Index.cshtml | src/Open-School-Library/Views/Teachers/Index.cshtml | @model IEnumerable<Open_School_Library.Models.TeacherViewModels.TeacherIndexViewModel>
@{
ViewData["Title"] = "Teachers";
}
<h2>Teachers</h2>
<p>
<a asp-action="Create">Create New Teacher</a>
</p>
<table class="table table-striped table-responsive">
<thead>
<tr>
<th>
@... | @model IEnumerable<Open_School_Library.Models.TeacherViewModels.TeacherIndexViewModel>
@{
ViewData["Title"] = "Index";
}
<h2>Index</h2>
<p>
<a asp-action="Create">Create New Teacher</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Fi... | mit | C# |
1d19aa56f7f3c916c22d8c35a8eb933d1adf994f | update library version | akaSybe/Disqus.NET | src/Disqus.NET/Properties/AssemblyInfo.cs | src/Disqus.NET/Properties/AssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: ... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: ... | mit | C# |
599f3e00407f6bf84b5be82a1c6d3c30f75be6f9 | Rename document to shard in item edges | jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,mavasani/roslyn,mavasani/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn... | src/Features/Lsif/Generator/Graph/Item.cs | src/Features/Lsif/Generator/Graph/Item.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 Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.Graph
{
/// <summary>
/// Represents a... | // 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 Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.Graph
{
/// <summary>
/// Represents a... | mit | C# |
cfbb71c9544d76b4ca2171332cc3d968d88734a3 | Fix Feed URL | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/RoberthStrand.cs | src/Firehose.Web/Authors/RoberthStrand.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 RoberthStrand : IAmACommunityMember
{
public string FirstName => "Roberth";
public string ... | 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 RoberthStrand : IAmACommunityMember
{
public string FirstName => "Roberth";
public string ... | mit | C# |
0fb53c635e4b23a9fd69a10aab7aaf475c354fd2 | Make this class public | mono/maccore,cwensley/maccore,jorik041/maccore | src/MonoNativeFunctionWrapperAttribute.cs | src/MonoNativeFunctionWrapperAttribute.cs | //
// MonoPInvokeCallbackAttribute.cs: necessary for AOT ports of Mono
//
// 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 restriction, including
// without limitation the rights to... | //
// MonoPInvokeCallbackAttribute.cs: necessary for AOT ports of Mono
//
// 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 restriction, including
// without limitation the rights to... | apache-2.0 | C# |
2002fa4195ca7b0dae2772169ad26ac6423910de | Remove GetExecutingAssembly call from WinPhone | arashkeivan/LiveSDK-for-Windows,xiaomi7732/LiveSDK-for-Windows,liveservices/LiveSDK-for-Windows,arashkeivan/LiveSDK-for-Windows,arashkeivan/LiveSDK-for-Windows,xiaomi7732/LiveSDK-for-Windows,arashkeivan/LiveSDK-for-Windows,liveservices/LiveSDK-for-Windows,xiaomi7732/LiveSDK-for-Windows,xiaomi7732/LiveSDK-for-Windows,li... | src/WP8/Source/Internal/ResourceHelper.cs | src/WP8/Source/Internal/ResourceHelper.cs | // ------------------------------------------------------------------------------
// Copyright (c) 2014 Microsoft Corporation
//
// 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 ... | // ------------------------------------------------------------------------------
// Copyright (c) 2014 Microsoft Corporation
//
// 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 ... | mit | C# |
2a56f28db833b3586d7d93de82277b759575f727 | Change the RowKey type from string to byte[] in RowInfo. | gridsum/NHBaseAPI | NHBaseThrift/Objects/RowInfo.cs | NHBaseThrift/Objects/RowInfo.cs | using System.Collections.Generic;
using Gridsum.NHBaseThrift.Attributes;
using Gridsum.NHBaseThrift.Contracts;
using Gridsum.NHBaseThrift.Enums;
namespace Gridsum.NHBaseThrift.Objects
{
/// <summary>
/// HBase数据行信息
/// </summary>
public class RowInfo : ThriftObject
{
#region Members.
... | using System.Collections.Generic;
using Gridsum.NHBaseThrift.Attributes;
using Gridsum.NHBaseThrift.Contracts;
using Gridsum.NHBaseThrift.Enums;
namespace Gridsum.NHBaseThrift.Objects
{
/// <summary>
/// HBase数据行信息
/// </summary>
public class RowInfo : ThriftObject
{
#region Members.
... | mit | C# |
8c0fc92f9ba107483e732cbfdfcc28388535470b | Fix service provider extensions. | AvaloniaUI/PerspexVS | AvaloniaVS/ServiceProviderExtensions.cs | AvaloniaVS/ServiceProviderExtensions.cs | using System;
using Microsoft;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Shell;
namespace AvaloniaVS
{
internal static class ServiceProviderExtensions
{
public static T GetService<T>(this IServiceProvider sp)
{
ThreadHelper.ThrowIfNotOnUIThread()... | using System;
using Microsoft.VisualStudio.Shell;
namespace AvaloniaVS
{
internal static class ServiceProviderExtensions
{
public static T GetService<T>(this IServiceProvider sp)
{
ThreadHelper.ThrowIfNotOnUIThread();
return (T)sp.GetService(typeof(T));
}
... | mit | C# |
d3d0aaa36a3a1c90aac1861035bae3ffe5b93cd9 | fix event send when no address specified. | svtz/homeControl,livingLegend/homeControl,svtz/homeControl | src/homeControl.Interop.Rabbit/RabbitEventSender.cs | src/homeControl.Interop.Rabbit/RabbitEventSender.cs | using System;
using homeControl.Domain.Events;
using JetBrains.Annotations;
using RabbitMQ.Client;
namespace homeControl.Interop.Rabbit
{
[UsedImplicitly]
internal sealed class RabbitEventSender : AbstractRabbitEventProcessor, IEventSender
{
public RabbitEventSender(
IConnection connect... | using homeControl.Domain.Events;
using JetBrains.Annotations;
using RabbitMQ.Client;
namespace homeControl.Interop.Rabbit
{
[UsedImplicitly]
internal sealed class RabbitEventSender : AbstractRabbitEventProcessor, IEventSender
{
public RabbitEventSender(
IConnection connection,
... | mit | C# |
d612ec288aa08cc4144d04de3b0d23c5bdaae3f8 | Update DeviceOperator.cs | jhocking/uia-2e,jhocking/uia-2e,jhocking/uia-2e,jhocking/uia-2e | ch09/Assets/Scripts/Devices/DeviceOperator.cs | ch09/Assets/Scripts/Devices/DeviceOperator.cs | using UnityEngine;
using System.Collections;
public class DeviceOperator : MonoBehaviour {
public float radius = 1.5f;
void Update() {
if (Input.GetButtonDown("Fire3")) {
Collider[] hitColliders = Physics.OverlapSphere(transform.position, radius);
foreach (Collider hitCollider in hitColliders) {
Vector... | using UnityEngine;
using System.Collections;
public class DeviceOperator : MonoBehaviour {
public float radius = 1.5f;
void Update() {
if (Input.GetButtonDown("Fire3")) {
Collider[] hitColliders = Physics.OverlapSphere(transform.position, radius);
foreach (Collider hitCollider in hitColliders) {
Vector... | mit | C# |
796809645f73435e187bbc8939eb4a39f8a46af5 | Make HttpRequestData properties settable (#9456) | titusfortner/selenium,joshmgrant/selenium,valfirst/selenium,valfirst/selenium,HtmlUnit/selenium,HtmlUnit/selenium,joshmgrant/selenium,joshmgrant/selenium,titusfortner/selenium,joshmgrant/selenium,titusfortner/selenium,HtmlUnit/selenium,titusfortner/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,valf... | dotnet/src/webdriver/HttpRequestData.cs | dotnet/src/webdriver/HttpRequestData.cs | // <copyright file="HttpRequestData.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// ... | // <copyright file="HttpRequestData.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// ... | apache-2.0 | C# |
c8326ab0e78597dd2e5c1c915d4983486724e22e | change scopes to enumerable | IdentityServer/IdentityServer4,siyo-wang/IdentityServer4,siyo-wang/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,... | src/IdentityServer4/Models/Messages/ConsentResponse.cs | src/IdentityServer4/Models/Messages/ConsentResponse.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
using System.Linq;
namespace IdentityServer4.Core.Models
{
/// <summary>
/// Models the user's resp... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Linq;
namespace IdentityServer4.Core.Models
{
/// <summary>
/// Models the user's response to the consent screen.
//... | apache-2.0 | C# |
9d214a416198f8978c5c3311d5c7e0463de853e6 | fix build | libjared/iris,sourcerect/iris | Iris/Classes/Deathmatch.cs | Iris/Classes/Deathmatch.cs | using SFML.Graphics;
using SFML.System;
using System.Collections.Generic;
using System.Linq;
namespace Iris
{
public class Deathmatch
{
public ClientMailman Mailman { get; set; }
public List<Player> Players { get; set; }
private Sprite mapSprite;
private byte[] mapBytes;
... | using SFML.Graphics;
using SFML.System;
using System.Collections.Generic;
using System.Linq;
namespace Iris
{
public class Deathmatch
{
public ClientMailman Mailman { get; set; }
public List<Player> Players { get; set; }
public ClientPlayer ClientPlayer { get; set; }
private Spr... | mit | C# |
5a36df10705d6a6ac3e44e920a15cf4cce73bddc | Fix Issue #14. | kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX,kaby76/AntlrVSIX | AntlrVSIX/Mouse/MouseHandlerProvider.cs | AntlrVSIX/Mouse/MouseHandlerProvider.cs | namespace AntlrVSIX.Mouse
{
using AntlrVSIX.Keyboard;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualS... | namespace AntlrVSIX.Mouse
{
using AntlrVSIX.Keyboard;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualS... | mit | C# |
27142f11970f9bd7397081467dd536646affe4dd | Update Constants. | uruk/SharpTox,Impyy/SharpTox | SharpTox/Core/ToxConstants.cs | SharpTox/Core/ToxConstants.cs | namespace SharpTox.Core
{
/// <summary>
/// Represents a collection of tox constants.
/// </summary>
public static class ToxConstants
{
/// <summary>
/// The maximum message length in bytes.
/// </summary>
public const int MaxMessageLength = 1372;
/// <summa... | namespace SharpTox.Core
{
/// <summary>
/// Represents a collection of tox constants.
/// </summary>
public static class ToxConstants
{
/// <summary>
/// The maximum message length in bytes.
/// </summary>
public const int MaxMessageLength = 1368;
/// <summa... | mit | C# |
7ebda9d31ff0b31a676f199e08e85869ea996d21 | complete the file | wwg2222/TestGitHub | MathLibrary/AlgebraMath.cs | MathLibrary/AlgebraMath.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MathLibrary
{
public class AlgebraMath
{
public int Add(int x, int y)
{
return x + y;
}
public int Multipy(int x, int y)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MathLibrary
{
public class AlgebraMath
{
public int Add(int x, int y)
{
return x + y;
}
public int Multipy(int x, int y)
}
}
| mit | C# |
ad5cc24b163e51b046cfa666a82eaecd194927db | Remove unusued using statement (fixes #35840) (#35841) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Program.cs | src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Program.cs | #if (OrganizationalAuth || IndividualB2CAuth)
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
#endif
#if (GenerateGraph)
using Graph = Microsoft.Graph;
#endif
#if (OrganizationalAuth || IndividualB2CAuth)
using Microsoft.Identity.Web;
#endif
#if (OrganizationalAuth || Ind... | #if (OrganizationalAuth || IndividualB2CAuth)
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
#endif
#if (GenerateGraph)
using Graph = Microsoft.Graph;
#endif
#if (OrganizationalAuth || IndividualB2CAuth)
using Microsoft.Identity.Web;
#endif
#if (EnableOpenAPI)
using Micr... | apache-2.0 | C# |
6be7bea82d68bbf1c027152aeb3e84608389879c | Update Startup.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Startup.cs | src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
#if (RequiresHttps)
using Microsoft.AspNetCore.HttpsPolicy;
#endif
using Microsoft.AspNetCore.Mvc;
#if (OrganizationalAuth || IndividualB2CAuth)
using ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
#if (RequiresHttps)
using Microsoft.AspNetCore.HttpsPolicy;
#endif
using Microsoft.AspNetCore.Mvc;
#if (OrganizationalAuth || IndividualB2CAuth)
using... | apache-2.0 | C# |
4b8e7a1905c870c6b06689717fe364120a202173 | 更新.NET 4.5项目版本号 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | apache-2.0 | C# |
84a5d3dc94e8969da6cec20a4c1bed03b83c6805 | Make point factory method internal. | JohanLarsson/Gu.Wpf.UiAutomation | Gu.Wpf.UiAutomation/WindowsAPI/POINT.cs | Gu.Wpf.UiAutomation/WindowsAPI/POINT.cs | // ReSharper disable InconsistentNaming
#pragma warning disable
namespace Gu.Wpf.UiAutomation.WindowsAPI
{
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
[DebuggerDisplay("({X}, {Y})")]
[StructLayout(LayoutKind.Sequential)]
public struct ... | // ReSharper disable InconsistentNaming
#pragma warning disable
namespace Gu.Wpf.UiAutomation.WindowsAPI
{
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
[DebuggerDisplay("({X}, {Y})")]
[StructLayout(LayoutKind.Sequential)]
public struct ... | mit | C# |
f7138326a23533f72e1de787f97c95a48281458b | Add OUTPUT chain to raw, remove POSTROUTING | splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net | IPTables.Net/Iptables/IPTablesTables.cs | IPTables.Net/Iptables/IPTablesTables.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IPTables.Net.Exceptions;
namespace IPTables.Net.Iptables
{
/// <summary>
/// Data to define the default IPTables tables and chains
/// </summary>
internal class IPTablesTables
{
static internal Dict... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IPTables.Net.Exceptions;
namespace IPTables.Net.Iptables
{
/// <summary>
/// Data to define the default IPTables tables and chains
/// </summary>
internal class IPTablesTables
{
static internal Dict... | apache-2.0 | C# |
209e97907421f21d6164b7314b68a72e9e417fea | Update description | Simie/PrecisionEngineering | Src/PrecisionEngineering/Mod.cs | Src/PrecisionEngineering/Mod.cs | using ICities;
namespace PrecisionEngineering
{
public class Mod : IUserMod
{
public string Name
{
get { return "Precision Engineering"; }
}
public string Description
{
get { return "Build with precision. Hold CTRL to enable angle snapping, SHIFT to show more information, ALT to snap to g... | using ICities;
namespace PrecisionEngineering
{
public class Mod : IUserMod
{
public string Name
{
get { return "Precision Engineering"; }
}
public string Description
{
get { return "Build roads with precision. Hold CTRL to enable angle snapping, hold SHIFT to show more information."; }
}
}
}
| mit | C# |
b218046fa28ef9ebb257663adf5388d9174345ee | Remove redundant line from mod usage | ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Rulesets/Mods/ModUsage.cs | osu.Game/Rulesets/Mods/ModUsage.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.Rulesets.Mods
{
/// <summary>
/// The usage of this mod to determine whether it's playable in such context.
/// </summary>
public enum ... | // 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.Rulesets.Mods
{
/// <summary>
/// The usage of this mod to determine whether it's playable in such context.
/// </summary>
public enum ... | mit | C# |
ca19d014968def899d78e7e8b117959aaf1bd8b9 | Add AssemblyInformationalVersion attribute to AssemblyInfo | shana/libgit2sharp,oliver-feng/libgit2sharp,AArnott/libgit2sharp,Skybladev2/libgit2sharp,Skybladev2/libgit2sharp,xoofx/libgit2sharp,rcorre/libgit2sharp,jeffhostetler/public_libgit2sharp,jorgeamado/libgit2sharp,jorgeamado/libgit2sharp,AArnott/libgit2sharp,vorou/libgit2sharp,ethomson/libgit2sharp,sushihangover/libgit2sha... | LibGit2Sharp/Properties/AssemblyInfo.cs | LibGit2Sharp/Properties/AssemblyInfo.cs | using System;
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("LibGit2Sharp")]
[assembly: ... | using System;
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("LibGit2Sharp")]
[assembly: ... | mit | C# |
20d8a25d55a093a685218a76de32a6960e4305d9 | Add requirements for teachers | victoria92/university-program-generator,victoria92/university-program-generator | UniProgramGen/Data/Teacher.cs | UniProgramGen/Data/Teacher.cs | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Teacher
{
public List<Requirement> requirements;
public readonly string name;
public Teacher(List<Requirement> requirements, string name)
{
this.requirements = requirements;
t... | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Teacher
{
// TODO: add list of requirements (as Requirement)
public readonly string name;
public Teacher(string name)
{
this.name = name;
}
}
}
| bsd-2-clause | C# |
5cbf385914240a7ab4b8d6886482ba7870070db7 | Build please | InterlakeHighSchoolMachineLearningClub/Colorizer | Colorizer/Colorizer/Imaging/IsingFilter.cs | Colorizer/Colorizer/Imaging/IsingFilter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Accord.Math;
namespace Colorizer.Imaging
{
class IsingFilter : BaseImageFilter
{
public override LockBitmap Filter(LockBitmap source)
{
return null;
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Accord.Math;
namespace Colorizer.Imaging
{
class IsingFilter : BaseImageFilter
{
public override LockBitmap Filter(LockBitmap source)
{
}
publ... | apache-2.0 | C# |
a452f84f487866846b32eb61b8af442a78e4a530 | support unity | ketoo/NFrame,ketoo/NFrame,ketoo/NFrame | NFComm/NFKernelPlugin/NFKernelPlugin.cs | NFComm/NFKernelPlugin/NFKernelPlugin.cs | #if UNITY_EDITOR
#define NF_CLIENT_FRAME
#elif UNITY_IPHONE
#define NF_CLIENT_FRAME
#elif UNITY_ANDROID
#define NF_CLIENT_FRAME
#elif UNITY_STANDALONE_OSX
#define NF_CLIENT_FRAME
#elif UNITY_STANDALONE_WIN
#define NF_CLIENT_FRAME
#endif
//-----------------------------------------------------------------------
// <copyr... | //-----------------------------------------------------------------------
// <copyright file="NFCHeartBeat.cs">
// Copyright (C) 2015-2015 lvsheng.huang <https://github.com/ketoo/NFrame>
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Linq;
using ... | apache-2.0 | C# |
b348bcddbd3c213f80b128f2964a17c3d8314af5 | Modify Assembly Version | ryan-h/WebImageCreator | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | 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: AssemblyTi... | apache-2.0 | C# |
e7378149344393665508b4942540354ff5263547 | bump to version 1.2.0.0 | dnauck/AspSQLProvider,dnauck/AspSQLProvider | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | //
// $Id$
//
// Copyright 2006 - 2008 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 witho... | //
// $Id$
//
// Copyright 2006 - 2008 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 witho... | mit | C# |
f9b5ce7257ea8676ed6b4e1d00d30b6d9e854168 | Change HTTP Verbs | orodriguez/FTF,orodriguez/FTF,orodriguez/FTF | FTF.Api.Web/Controllers/NotesController.cs | FTF.Api.Web/Controllers/NotesController.cs | using System.Collections.Generic;
using System.Web.Http;
using FTF.Api.Requests.Notes;
using FTF.Api.Responses;
using FTF.Api.Services;
namespace FTF.Api.Web.Controllers
{
public class NotesController : ApiController
{
private readonly INotesService _notes;
public NotesController(INotesServic... | using System.Collections.Generic;
using System.Web.Http;
using FTF.Api.Requests.Notes;
using FTF.Api.Responses;
using FTF.Api.Services;
namespace FTF.Api.Web.Controllers
{
public class NotesController : ApiController
{
private readonly INotesService _notes;
public NotesController(INotesServic... | mit | C# |
403541b3aaf0c3cdeb16c26de10f3a4d5fc0137f | Remove project tab | travistme/PersonalSite | TElkins.Web/Views/Shared/_Layout.cshtml | TElkins.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<link href="~/Content/bootstrap.css" rel="stylesheet" />
<link href="~/Content/bootstrap-theme.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width" />
<link href="~/Content/Styles.css" rel="stylesheet" />
<title>@ViewBag.Title</title>
</head>
<b... | <!DOCTYPE html>
<html>
<head>
<link href="~/Content/bootstrap.css" rel="stylesheet" />
<link href="~/Content/bootstrap-theme.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width" />
<link href="~/Content/Styles.css" rel="stylesheet" />
<title>@ViewBag.Title</title>
</head>
<b... | mit | C# |
cdc2fe2ba785de28117bf7fc94999531ae2f58d0 | Update version number: 1.4 | HeddaZ/ServiceOnset | ServiceOnset/Properties/AssemblyInfo.cs | ServiceOnset/Properties/AssemblyInfo.cs | using ServiceOnset;
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.
... | using ServiceOnset;
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.
... | apache-2.0 | C# |
24ce613c180a985290d0312940ab1db629da25d7 | update assembly number to 3.0.2 for MVC 5.1 update | MattHoneycutt/SpecsFor,joaofx/SpecsFor | SpecsFor.Mvc/Properties/AssemblyInfo.cs | SpecsFor.Mvc/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SpecsFor.Mvc")]
[assembly: Assembl... | 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("SpecsFor.Mvc")]
[assembly: Assembl... | mit | C# |
b139434396ef7ed985a5e0f58bcbf41bdc8c18a4 | Bump version to 0.9.1.0 | carlosalberto/libhoney-cs | Src/LibHoney/Properties/AssemblyInfo.cs | Src/LibHoney/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("LibHoney")]
[assembly: AssemblyDescription("LibHoney connector for .Net")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LibHoney")]
[assembly: AssemblyCopyright("Copyright © C... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("LibHoney")]
[assembly: AssemblyDescription("LibHoney connector for .Net")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LibHoney")]
[assembly: AssemblyCopyright("Copyright © C... | apache-2.0 | C# |
079c6b6be6dc8775888acd9df5b47a582b619d36 | Make `FallbackTestFramework` a *fallback* instead of a *supported* test framework | fluentassertions/fluentassertions,jnyrup/fluentassertions,dennisdoomen/fluentassertions,dennisdoomen/fluentassertions,jnyrup/fluentassertions,fluentassertions/fluentassertions | Src/FluentAssertions/Execution/TestFrameworkProvider.cs | Src/FluentAssertions/Execution/TestFrameworkProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions.Common;
namespace FluentAssertions.Execution
{
internal static class TestFrameworkProvider
{
#region Private Definitions
private static readonly Dictionary<string, ITestFramework> Frameworks = new Dictio... | using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions.Common;
namespace FluentAssertions.Execution
{
internal static class TestFrameworkProvider
{
#region Private Definitions
private static readonly Dictionary<string, ITestFramework> Frameworks = new Dictio... | apache-2.0 | C# |
04ae9c332083887e2d3128e288b9baa26cf76f13 | Fix table heading | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | CRP.Mvc/Views/ItemManagement/_TabTransactions.cshtml | @using CRP.Controllers
@using Microsoft.Web.Mvc
@model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions">
<thead>
<tr>
<th></th>
<th>Transaction</th>
<th>Quantity... | @using CRP.Controllers
@using Microsoft.Web.Mvc
@model IEnumerable<CRP.Core.Domain.Transaction>
<div class="tab-pane active" id="Transactions">
<table id="table-Transactions">
<thead>
<tr>
<th></th>
<th>Transaction</th>
<th>Quantity... | mit | C# |
6eab3e77a88a42374e06a1691727078784f04e09 | Change for Methods HW | tddold/Telerik-Academy-2,tddold/Telerik-Academy-2,tddold/Telerik-Academy-2 | Csharp-Part2/03.Methods/09.SortingArray/sortingArray.cs | Csharp-Part2/03.Methods/09.SortingArray/sortingArray.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Problem 9. Sorting array
//Write a method that return the maximal element in a portion of array of integers starting at given index.
//Using it write another method that sorts an array in ascending / ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Problem 9. Sorting array
//Write a method that return the maximal element in a portion of array of integers starting at given index.
//Using it write another method that sorts an array in ascending / ... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.