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
a87fbb2372e0d552560eff76923e20ce5aae6dec
Set the camera position
EightBitBoy/EcoRealms
Assets/Scripts/Camera/CameraMovement.cs
Assets/Scripts/Camera/CameraMovement.cs
using UnityEngine; using System.Collections; namespace ecorealms.camera { public class CameraMovement : MonoBehaviour { private Vector3 startPosition = new Vector3(0.0f, 10.0f, -5.0f); private Transform cameraTransform; private Quaternion startRotation; void Start () { cameraTransform = Camera.main.tran...
using UnityEngine; using System.Collections; namespace ecorealms.camera { public class CameraMovement : MonoBehaviour { void Start () { } void Update () { } } }
apache-2.0
C#
3cd70d6acd922e6a99046e4b17532d806756b7bd
Change movement, player folow mouse
d0niek/PGK-2016,d0niek/PGK-2016
Assets/Scripts/Player/PlayerMovement.cs
Assets/Scripts/Player/PlayerMovement.cs
using UnityEngine; using System.Collections; public class PlayerMovement : MonoBehaviour { public float speed = 6f; public float jumpSpeed = 8.0F; public float gravity = 20.0F; private Vector3 moveDirection = Vector3.zero; private CharacterController cc; private float cameraRayLength = 100; private int floorM...
using UnityEngine; using System.Collections; public class PlayerMovement : MonoBehaviour { public float speed = 6f; Vector3 movement; Rigidbody rb; float cameraRayLength = 100; int floorMask; void Awake() { floorMask = LayerMask.GetMask ("Floor"); rb = GetComponent<Rigidbody> (); } void FixedUpdate() ...
mit
C#
1fbda78746dd88a2f046e6dbf6eb79bf3743edfc
Update PuzzleRepository's methods
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/AtomicChessPuzzles/DbRepositories/PuzzleRepository.cs
src/AtomicChessPuzzles/DbRepositories/PuzzleRepository.cs
using AtomicChessPuzzles.Models; using MongoDB.Bson; using MongoDB.Driver; using System; using System.Linq; namespace AtomicChessPuzzles.DbRepositories { public class PuzzleRepository : IPuzzleRepository { MongoSettings settings; IMongoCollection<Puzzle> puzzleCollection; Random rnd; ...
using AtomicChessPuzzles.Models; using MongoDB.Driver; using System; using System.Linq; namespace AtomicChessPuzzles.DbRepositories { public class PuzzleRepository : IPuzzleRepository { MongoSettings settings; IMongoCollection<Puzzle> puzzleCollection; Random rnd; public Puzzl...
agpl-3.0
C#
b1fe089b4381e79e57b3db4d59b7a2859d15c37d
return TypeName=any
cknaap/fhir-net-fhirpath,ewoutkramer/fhir-net-fluentpath
src/HL7.Fhir.FluentPath.Tests/Navigation/TreeNavigator.cs
src/HL7.Fhir.FluentPath.Tests/Navigation/TreeNavigator.cs
using System; using Hl7.Fhir.FluentPath; using Hl7.Fhir.FluentPath.InstanceTree; namespace Hl7.Fhir.Navigation { public class TreeNavigator : IElementNavigator { FhirInstanceTree tree; FhirInstanceTree current; public TreeNavigator(FhirInstanceTree tree) { this.tre...
using System; using Hl7.Fhir.FluentPath; using Hl7.Fhir.FluentPath.InstanceTree; namespace Hl7.Fhir.Navigation { public class TreeNavigator : IElementNavigator { FhirInstanceTree tree; FhirInstanceTree current; public TreeNavigator(FhirInstanceTree tree) { this.tre...
bsd-3-clause
C#
f20a1c88ce0cdd05b843c87950f2bbebcb153f93
Add enemy step animation
lukehb/ld37
Assets/Scripts/Enemy.cs
Assets/Scripts/Enemy.cs
using UnityEngine; /** * Enemy always slowly turns to face players. * Enemy always slowly walks toward the player * **/ public class Enemy : MonoBehaviour { [SerializeField] private float stepInterval = 0.0f; [SerializeField] private float turnSpeed; [SerializeField] private float mov...
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * Enemy always slowly turns to face players. * Enemy always slowly walks toward the player * **/ public class Enemy : MonoBehaviour { [SerializeField] private float turnSpeed; [SerializeField] private float move...
mit
C#
6c7d35a6fc2d9c208941d4d5a08048c52185f3ed
Add CharacterForDelete to CharacterSelectorRepository
ethanmoffat/EndlessClient
EOLib/Domain/Login/ICharacterSelectorRepository.cs
EOLib/Domain/Login/ICharacterSelectorRepository.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System.Collections.Generic; using EOLib.Domain.BLL; namespace EOLib.Domain.Login { public interface ICharacterSelectorRepository { IReadOnlyList<ICharacter> Ch...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System.Collections.Generic; using EOLib.Domain.BLL; namespace EOLib.Domain.Login { public interface ICharacterSelectorRepository { IReadOnlyList<ICharacter> Ch...
mit
C#
20024de1199084b0dcf4d08da78a78a02f141f2b
Update PrintCharacter.cshtml
leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Views/Print/PrintCharacter.cshtml
Joinrpg/Views/Print/PrintCharacter.cshtml
@using System.Web.Mvc.Html @using JoinRpg.Web.Models.Plot @model JoinRpg.Web.Models.Print.PrintCharacterViewModel <h1 style="page-break-before: always">@Model.CharacterName</h1> @Html.DisplayFor(model => model.CharacterDescription) <h1>Группы</h1> <dl> @foreach (var group in Model.Groups) { <dt>@group....
@using System.Web.Mvc.Html @using JoinRpg.Web.Models.Plot @model JoinRpg.Web.Models.Print.PrintCharacterViewModel <h1 style="page-break-before: always">@Model.CharacterName</h1> @Html.DisplayFor(model => model.CharacterDescription) <h1>Группы</h1> <dl> @foreach (var group in Model.Groups) { <dt>@group....
mit
C#
9f089e31557826fdf0950e00dd4145f86c10c706
Test refactoring.
matthewrwilton/Ef6Uml
Ef6Uml.UnitTests/Output/Yuml/YumlOutputterTests.cs
Ef6Uml.UnitTests/Output/Yuml/YumlOutputterTests.cs
using Ef6Uml.Uml; using Ef6Uml.Output.Yuml; using FluentAssertions; using Xunit; using System.Collections.Generic; namespace Ef6Uml.UnitTests.Output.Yuml { public class YumlOutputterTests { [Fact] public void Single_Class() { var target = new YumlOutputter(); va...
using Ef6Uml.Uml; using Ef6Uml.Output.Yuml; using FluentAssertions; using Xunit; using System.Collections.Generic; namespace Ef6Uml.UnitTests.Output.Yuml { public class YumlOutputterTests { [Fact] public void Single_Class() { var target = new YumlOutputter(); va...
apache-2.0
C#
4bb66b41bbe8425adf2e5cb08ea89d79bdb7114c
Test Commit
Monchit/tdd-carfuel,Monchit/tdd-carfuel
GFX.Core/FakeRepository_T.cs
GFX.Core/FakeRepository_T.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; namespace GFX.Core { public class FakeRepository<T> : IRepository<T> where T : class, new() { //Test private ICollection<T> data = new HashSet<T>(); public v...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; namespace GFX.Core { public class FakeRepository<T> : IRepository<T> where T : class, new() { private ICollection<T> data = new HashSet<T>(); public virtual IQuerya...
mit
C#
3a7b49f51022cd65f39ed45fb6734c0af7da3af8
Fix link at CreateElement
leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Views/Plot/CreateElement.cshtml
Joinrpg/Views/Plot/CreateElement.cshtml
@model JoinRpg.Web.Models.Plot.AddPlotElementViewModel @{ ViewBag.Title = "Добавить вводную"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>Cюжет @Html.ActionLink(Model.PlotFolderName, "Edit", "Plot", new {Model.PlotFolder...
@model JoinRpg.Web.Models.Plot.AddPlotElementViewModel @{ ViewBag.Title = "Добавить вводную"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <h4>Cюжет @Html.ActionLink(Model.PlotFolderName, "Edit", "Plot", new {Model.PlotFolder...
mit
C#
279bc28685b6e9c38a32ee76cb4e8b0dc8e24f75
fix missing help menu
nerai/CMenu
src/ExampleMenu/Examples/ExamplesMenu.cs
src/ExampleMenu/Examples/ExamplesMenu.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ConsoleMenu; using ExampleMenu.Examples.Procedures; using ExampleMenu.Examples.Recording; namespace ExampleMenu.Examples { class ExamplesMenu : CMenu { public ExamplesMenu () { Selector = "examples"; PromptCharacte...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ConsoleMenu; using ExampleMenu.Examples.Procedures; using ExampleMenu.Examples.Recording; namespace ExampleMenu.Examples { class ExamplesMenu : CMenu { public ExamplesMenu () : base ("examples") { PromptCharacter =...
mit
C#
e145c39b21d79baadcdc76dd1484cce22cd836af
Update HarmVeenstra.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/HarmVeenstra.cs
src/Firehose.Web/Authors/HarmVeenstra.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 HarmVeenstra : IAmACommunityMember { public string FirstName => "Harm"; public string LastName...
public class HarmVeenstra : IAmACommunityMember { public string FirstName => "Harm"; public string LastName => "Veenstra"; public string ShortBioOrTagLine => "Cloud Consultant at NEXXT (Https://www.nexxt.one)"; public string StateOrRegion => "Overijssel"; public string Emai...
mit
C#
502e9420e813e14117a8b04972eb46059692d5c6
Fix quaternion conversion
grobm/OSVR-Unity,DuFF14/OSVR-Unity,JeroMiya/OSVR-Unity,OSVR/OSVR-Unity,grobm/OSVR-Unity
OSVR-Unity/Assets/OSVRUnity/src/Math.cs
OSVR-Unity/Assets/OSVRUnity/src/Math.cs
/* OSVR-Unity Connection * * <http://sensics.com/osvr> * Copyright 2014 Sensics, Inc. * All rights reserved. * * Final version intended to be licensed under Apache v2.0 */ using UnityEngine; namespace OSVR { namespace Unity { /// <summary> /// Class of static methods for converting fr...
/* OSVR-Unity Connection * * <http://sensics.com/osvr> * Copyright 2014 Sensics, Inc. * All rights reserved. * * Final version intended to be licensed under Apache v2.0 */ using UnityEngine; namespace OSVR { namespace Unity { /// <summary> /// Class of static methods for converting fr...
apache-2.0
C#
d26f1497a00182110e8548329e2d2778762c1467
Fix bad casing for readme tests
rolledback/LegoSharp
LegoSharpTest/ReadmeTests.cs
LegoSharpTest/ReadmeTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using LegoSharp; using System.Linq; using System.Reflection; using System.IO.MemoryMappedFiles; namespace LegoSharpTest { [TestClass] public class ReadmeTests ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using LegoSharp; using System.Linq; using System.Reflection; using System.IO.MemoryMappedFiles; namespace LegoSharpTest { [TestClass] public class ReadmeTests ...
mit
C#
8ac5beb2b14bf80c4587f6897edbaa02e419455f
Add AssemblyInformationalVersion
hazzik/Humanizer,Flatlineato/Humanizer,jaxx-rep/Humanizer,MehdiK/Humanizer,aloisdg/Humanizer,Flatlineato/Humanizer
src/Humanizer/Properties/AssemblyInfo.cs
src/Humanizer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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("Humanizer")] [ass...
using System.Reflection; using System.Resources; 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("Humanizer")] [ass...
mit
C#
7db0d92238e44831098a3e7934c0383aee4df5fb
Update SqliteDropCreateDatabaseAlways.cs
liujunhua/SQLiteCodeFirst,msallin/SQLiteCodeFirst
SQLite.CodeFirst/SqliteDropCreateDatabaseAlways.cs
SQLite.CodeFirst/SqliteDropCreateDatabaseAlways.cs
using System.Data.Entity; using System.IO; namespace SQLite.CodeFirst { public class SqliteDropCreateDatabaseAlways<TContext> : SqliteInitializerBase<TContext> where TContext : DbContext { public SqliteDropCreateDatabaseAlways(string connectionString, DbModelBuilder modelBuilder) :...
using System.Data.Entity; using System.IO; namespace SQLite.CodeFirst { public class SqliteDropCreateDatabaseAlwaysInitializerBase<TContext> : SqliteInitializerBase<TContext> where TContext : DbContext { public SqliteDropCreateDatabaseAlwaysInitializerBase(string connectionString, DbModelBuild...
apache-2.0
C#
9d499afe585e92a0b32d502fe2733ea5b484bc80
Fix build warning
AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning
src/NerdBank.GitVersioning/CloudBuild.cs
src/NerdBank.GitVersioning/CloudBuild.cs
namespace Nerdbank.GitVersioning { using System; using System.Linq; using CloudBuildServices; /// <summary> /// Provides access to cloud build providers. /// </summary> public static class CloudBuild { /// <summary> /// An array of cloud build systems we support. ...
namespace Nerdbank.GitVersioning { using System; using System.Linq; using CloudBuildServices; /// <summary> /// Provides access to cloud build providers. /// </summary> public static class CloudBuild { /// <summary> /// An array of cloud build systems we support. ...
mit
C#
008371066c9de4168f86532d76f612fdba9c5c6e
Add key location
depp/ggj15-hacker
Hacker/Assets/Hacker/Key.cs
Hacker/Assets/Hacker/Key.cs
using UnityEngine; using System.Collections; using UnitySampleAssets._2D; public class Key : MonoBehaviour { void OnTriggerEnter2D(Collider2D other) { Platformer2DUserControl p = other.GetComponent<Platformer2DUserControl>(); if (p == null || p.HasKey) return; Destroy (GetComponent<Collider2D>()); Transf...
using UnityEngine; using System.Collections; using UnitySampleAssets._2D; public class Key : MonoBehaviour { void OnTriggerEnter2D(Collider2D other) { Platformer2DUserControl p = other.GetComponent<Platformer2DUserControl>(); if (p == null || p.HasKey) return; Destroy (GetComponent<Collider2D>()); transf...
bsd-2-clause
C#
fdbe6e354a485b7f63f4724205df2b4770fe46d6
Simplify cache key
Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java
HttpMock/RequestCacheKey.cs
HttpMock/RequestCacheKey.cs
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Primitives; using System; using System.Collections.Generic; using System.Linq; namespace HttpMock { public class RequestCacheKey { public string Scheme { get; private set; } public string Host { get; pr...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Primitives; using System; using System.Collections.Generic; using System.Linq; namespace HttpMock { public class RequestCacheKey { public string Scheme { get; private set; } public string Host { get; pr...
mit
C#
412a4bdd1f50567ad8c2863eb205b19464faf2bc
Make mines destroy nanobots.
MarjieVolk/Backfire
Assets/CellFeatures/ExplodeyThing.cs
Assets/CellFeatures/ExplodeyThing.cs
using UnityEngine; using System.Collections; public class ExplodeyThing : CellFeature { private GridPosition[] _adjacentOffsets = new GridPosition[4] { new GridPosition(1, 0), new GridPosition(0, 1), new GridPosition(-1, 0), new GridPosition(0, -1) }; private BulletGridGenerator _grid; public Sprite Dang...
using UnityEngine; using System.Collections; public class ExplodeyThing : CellFeature { private GridPosition[] _adjacentOffsets = new GridPosition[4] { new GridPosition(1, 0), new GridPosition(0, 1), new GridPosition(-1, 0), new GridPosition(0, -1) }; private BulletGridGenerator _grid; public Sprite Dang...
mit
C#
515a1c31185b340aea5665d438f4d64608a2f1d1
Fix Skeletron summoning message decoding.
DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod
Terraria_Server/Messages/SummonSkeletronMessage.cs
Terraria_Server/Messages/SummonSkeletronMessage.cs
using System; namespace Terraria_Server.Messages { public class SummonSkeletronMessage : IMessage { public Packet GetPacket() { return Packet.SUMMON_SKELETRON; } public void Process(int start, int length, int num, int whoAmI, byte[] readBuffer, byte bufferData) ...
using System; namespace Terraria_Server.Messages { public class SummonSkeletronMessage : IMessage { public Packet GetPacket() { return Packet.SUMMON_SKELETRON; } public void Process(int start, int length, int num, int whoAmI, byte[] readBuffer, byte bufferData) ...
mit
C#
8c17786ad776ceb450036d8d1c76ffd7de37b9e3
Update ISettingsService.cs
tiksn/TIKSN-Framework
TIKSN.Core/Settings/ISettingsService.cs
TIKSN.Core/Settings/ISettingsService.cs
using System.Collections.Generic; namespace TIKSN.Settings { public interface ISettingsService { T GetLocalSetting<T>(string name, T defaultValue); T GetRoamingSetting<T>(string name, T defaultValue); IReadOnlyCollection<string> ListLocalSetting(); IReadOnlyCollection<string...
using System.Collections.Generic; namespace TIKSN.Settings { public interface ISettingsService { T GetLocalSetting<T>(string name, T defaultValue); T GetRoamingSetting<T>(string name, T defaultValue); IReadOnlyCollection<string> ListLocalSetting(); IReadOnlyCollection<string...
mit
C#
99fb4dc0fec485297dc287c7c2bbaa0a25a97daa
Use `base.CursorState`
ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework
osu.Framework.Android/AndroidGameWindow.cs
osu.Framework.Android/AndroidGameWindow.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.Collections.Generic; using osu.Framework.Configuration; using osu.Framework.Platform; using osuTK; using osuTK.Graphics; namespace osu.Framew...
// 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 osu.Framework.Configuration; using osu.Framework.Platform; using osuTK; using osuTK.Graphics; namespace osu.Framew...
mit
C#
8698c17c9e1fb629bb3d594abb18310c543f330a
Fix level 4
knexer/Chinese-Rooms-what-do-they-know-do-they-know-things-lets-find-out
Assets/Scripts/Levels/Level4.cs
Assets/Scripts/Levels/Level4.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Level4 : Level { public override ITablet Evaluate(ITablet input) { ITablet output = new RawTablet().SetState(input); output.BottomRight.Symbol = output.TopLeft.Symbol; return ou...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Level4 : Level { public override ITablet Evaluate(ITablet input) { ITablet output = new RawTablet().SetState(input); output.TopRight.Symbol = output.TopLeft.Symbol; output.TopRi...
mit
C#
39ea16fbd4cd795a5cd1c4f3d1d1e9aa7eeab58f
Fix NPE when Wasabi wallet is run with the following arguments: wassabee --help
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/CommandLine/CommandInterpreter.cs
WalletWasabi.Gui/CommandLine/CommandInterpreter.cs
using Mono.Options; using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; using WalletWasabi.Helpers; using WalletWasabi.Logging; namespace WalletWasabi.Gui.CommandLine { public class CommandInterpreter { /// <returns>If the GUI should run or not.</re...
using Mono.Options; using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; using WalletWasabi.Helpers; using WalletWasabi.Logging; namespace WalletWasabi.Gui.CommandLine { public class CommandInterpreter { /// <returns>If the GUI should run or not.</re...
mit
C#
6d90bcaace5fd58e0de3614db63f56b370662694
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/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("storybrew editor")] [assembly: AssemblyDe...
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("storybrew editor")] [assembly: AssemblyDe...
mit
C#
f5b1be06770d9e1e27a5ea714da2e9db08953808
Handle possible nullref in WindowsGameWindow
smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework
osu.Framework/Platform/Windows/WindowsGameWindow.cs
osu.Framework/Platform/Windows/WindowsGameWindow.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.IO; using System.Runtime.InteropServices; using osu.Framework.Platform.Windows.Native; namespace osu.Framework.Platform.Windows { interna...
// 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.IO; using System.Runtime.InteropServices; using osu.Framework.Platform.Windows.Native; namespace osu.Framework.Platform.Windows { interna...
mit
C#
a1b7bf3986666e7ec07a226988386a3b84b75507
Use a minimum fade length for clamping rather than zero
NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu
osu.Game.Rulesets.Osu/Skinning/Default/KiaiFlash.cs
osu.Game.Rulesets.Osu/Skinning/Default/KiaiFlash.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.Audio.Track; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Gr...
// 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.Audio.Track; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Gr...
mit
C#
3b0e3cd71a3ae257ec3f21f774c1ba2c63cf8e53
Remove using statements
NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu
osu.Game.Tests/Visual/Gameplay/TestSceneAutoplay.cs
osu.Game.Tests/Visual/Gameplay/TestSceneAutoplay.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.ComponentModel; using System.Linq; using osu.Game.Rulesets; using osu.Game.Screens.Play; namespace osu.Game.Tests.Visual.Gameplay { [Description("Playe...
// 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.ComponentModel; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Screens.Play; using osu.Game.Storyboards; namespace osu...
mit
C#
bbe08bd69afe7a492f021beacdc2fa20f0fce2b0
Update Cake.Figlet to 1.2.0
cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe
Cake.Recipe/Content/addins.cake
Cake.Recipe/Content/addins.cake
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.2.0 #...
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.1.0 #...
mit
C#
27496e6ad2c8e8b247dcec71d082e949978af075
Update ModelManager.cs
wangyaron/VRProject
TestGit/Assets/ModelManager.cs
TestGit/Assets/ModelManager.cs
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 0; private string model_name = "hello"; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { transform.Rotate(Vector3.up, T...
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 0; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { transform.Rotate(Vector3.up, Time.deltaTime * 280); } private void PrintMsg() {...
apache-2.0
C#
2d04369396c732608743689835cf901cd456cfd1
Fix score keeping.
orasimus/interwall
Source/Assets/Code/Sheets.cs
Source/Assets/Code/Sheets.cs
using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; public class Sheets : MonoBehaviour { private static bool answered; void Start() { answered = false; var level = Game.CurrentLevel; var sheets = GetComponentsInChildren<Notes>(); ...
using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; public class Sheets : MonoBehaviour { void Start() { var level = Game.CurrentLevel; var sheets = GetComponentsInChildren<Notes>(); var intervals = new List<string> { level....
mit
C#
bae94504808ef075552027ca2855e72db6993506
Update version number
terrajobst/xsddoc
Source/CommonAssemblyInfo.cs
Source/CommonAssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCopyright("Copyright 2009-2011 Immo Landwerth")] [assembly: AssemblyCompany("Immo Landwerth")] [assembly: AssemblyProduct("XML Schema Documenter")] [assembly: CLSCompliant(false)] [assemb...
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCopyright("Copyright 2009-2011 Immo Landwerth")] [assembly: AssemblyCompany("Immo Landwerth")] [assembly: AssemblyProduct("XML Schema Documenter")] [assembly: CLSCompliant(false)] [assemb...
mit
C#
a264df55825f0b9750fd4a664e6681ac5a677959
Move to version to 2.1.0 for next release.
sharpdx/Toolkit,sharpdx/Toolkit,tomba/Toolkit
Source/SharedAssemblyInfo.cs
Source/SharedAssemblyInfo.cs
// Copyright (c) 2010-2011 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,...
// Copyright (c) 2010-2011 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,...
mit
C#
f4aaa1766873e5ce37166ad549d0c611e0937a76
Update NetUtil.cs
win120a/ACClassRoomUtil,win120a/ACClassRoomUtil
ProcessBlockUtil/NetUtil.cs
ProcessBlockUtil/NetUtil.cs
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
apache-2.0
C#
3efe2ab49bedb402b73a173fffd2900cad631d5c
Add action "Works If Muted", "Works If Foreground Is Fullscreen" options
danielchalmers/DesktopWidgets
DesktopWidgets/Actions/ActionBase.cs
DesktopWidgets/Actions/ActionBase.cs
using System; using System.ComponentModel; using System.Windows; using DesktopWidgets.Classes; using DesktopWidgets.Helpers; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Actions { public abstract class ActionBase { [PropertyOrder(0)] [DisplayName("Delay")] ...
using System; using System.ComponentModel; using System.Windows; using DesktopWidgets.Classes; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Actions { public abstract class ActionBase { [PropertyOrder(0)] [DisplayName("Delay")] public TimeSpan Delay { get; s...
apache-2.0
C#
9d6189f9ee3c22c8cec12c2b4697176345c52dba
Correct copyright notice in AssemblyInfo
InfiniteSoul/Azuria
Azuria/Properties/AssemblyInfo.cs
Azuria/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; #if PORTABLE [assembly: AssemblyTitle("Azuria.Portable")] [assembly: AssemblyProduct("Azuria.Portable")] #else [assembly: AssemblyTitle("Azuria")] [assembly: AssemblyProduct("Azuria")] #endif [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [...
using System.Reflection; using System.Resources; #if PORTABLE [assembly: AssemblyTitle("Azuria.Portable")] [assembly: AssemblyProduct("Azuria.Portable")] #else [assembly: AssemblyTitle("Azuria")] [assembly: AssemblyProduct("Azuria")] #endif [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [...
mit
C#
d729d4c7434501bf16eac7c8072d763d765cb7c3
Update Filesystem.cs
shintadono/Win32
Win32/Filesystem/Filesystem.cs
Win32/Filesystem/Filesystem.cs
using System; using System.Runtime.InteropServices; namespace Win32 { /// <summary> /// Class for file system operations. /// </summary> public static class Filesystem { const string DLLName="Kernel32.dll"; const string CreateHardLinkW="CreateHardLinkW"; /// <summary> /// Creates a hard li...
using System; using System.Runtime.InteropServices; namespace Win32 { /// <summary> /// Class for file system opertations. /// </summary> public static class Filesystem { const string DLLName="Kernel32.dll"; const string CreateHardLinkW="CreateHardLinkW"; /// <summary> /// Creates a hard l...
mit
C#
2c3a38a56231868f4df278d425b3992f1e2b1f3d
bump revision
FacturAPI/facturapi-net
facturapi-net/Properties/AssemblyInfo.cs
facturapi-net/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("Fac...
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("Fac...
mit
C#
f2e857aa2936a181bc34257c02c027fa2b67d9f4
Update GlennSarti.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/GlennSarti.cs
src/Firehose.Web/Authors/GlennSarti.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 GlennSarti : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Glenn"; ...
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 GlennSarti : IFilterMyBlogPosts { public string FirstName => "Glenn"; public string LastNa...
mit
C#
cee202e06740f5c13998d3dfaa07d508bc55bfde
Fix AppVeyor build number to avoid duplicated version numbers (#420)
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tools/GitVersion/GitVersionAttribute.cs
source/Nuke.Common/Tools/GitVersion/GitVersionAttribute.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using System.Reflection; using JetBrains.Annotations; using Nuke.Common.CI.AppVeyor; using Nuke.Common.CI.AzurePipelines; using Nuke.Common.CI.GitHubA...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using System.Reflection; using JetBrains.Annotations; using Nuke.Common.CI.AppVeyor; using Nuke.Common.CI.AzurePipelines; using Nuke.Common.CI.GitHubA...
mit
C#
d9846fad37d4d2b9453621c2b225b9a3cf12cc8c
Remove fallback texture parameter
ppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu
osu.Game/Graphics/Backgrounds/SeasonalBackgroundLoader.cs
osu.Game/Graphics/Backgrounds/SeasonalBackgroundLoader.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.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Grap...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graph...
mit
C#
a24e7e439a3ba45b70dff855e35f6b270943be26
fix setting link header
wikibus/Argolis
src/Nancy.Hydra/PipelinesExtensions.cs
src/Nancy.Hydra/PipelinesExtensions.cs
using System; using Nancy.Bootstrapper; namespace Nancy.Hydra { /// <summary> /// Wires Hydra with the application /// </summary> public static class PipelinesExtensions { private const string HydraHeaderFormat = "<{0}>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""; /...
using System; using Nancy.Bootstrapper; namespace Nancy.Hydra { /// <summary> /// Wires Hydra with the application /// </summary> public static class PipelinesExtensions { private const string HydraHeaderFormat = "<{0}>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""; /...
mit
C#
d71bbc0ae7ba6d83f74c8e7fdc5a0097e63dfbcb
Update ConnectableShapeExtensions.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/ViewModels/Shapes/ConnectableShapeExtensions.cs
src/Core2D/ViewModels/Shapes/ConnectableShapeExtensions.cs
#nullable enable using Core2D.Model.Renderer; namespace Core2D.ViewModels.Shapes { public static class ConnectableShapeExtensions { public static void AddConnectorAsNone(this ConnectableShapeViewModel shape, PointShapeViewModel point) { point.Owner = shape; point.State ...
#nullable disable using Core2D.Model.Renderer; namespace Core2D.ViewModels.Shapes { public static class ConnectableShapeExtensions { public static void AddConnectorAsNone(this ConnectableShapeViewModel shape, PointShapeViewModel point) { point.Owner = shape; point.State...
mit
C#
12cb723d03eb9822741c2643c675d84a5fbdc359
Add warning message for discarded tags, for #59
bendetat/GitReleaseNotes,theleancoder/GitReleaseNotes,GitTools/GitReleaseNotes,MacDennis76/GitReleaseNotes,MacDennis76/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,GitTools/GitReleaseNotes,JakeGinnivan/GitReleaseNotes,bendetat/GitReleaseNotes,theleancoder/GitReleaseNotes,JakeGinnivan/GitReleaseNotes
src/GitReleaseNotes/ReleaseFinder.cs
src/GitReleaseNotes/ReleaseFinder.cs
using System; using System.Collections.Generic; using System.Linq; using GitReleaseNotes.Git; using LibGit2Sharp; namespace GitReleaseNotes { public static class ReleaseFinder { public static List<ReleaseInfo> FindReleases(IRepository gitRepo, TaggedCommit tagToStartFrom, ...
using System.Collections.Generic; using System.Linq; using GitReleaseNotes.Git; using LibGit2Sharp; namespace GitReleaseNotes { public static class ReleaseFinder { public static List<ReleaseInfo> FindReleases(IRepository gitRepo, TaggedCommit tagToStartFrom, ReleaseInfo current) { ...
mit
C#
df26e317950aac8c9f35266e655e49f30b59613b
Change calling WriteEntities with non-empty data
Totopolis/monik
src/Monik.Common/Caches/CacheBase.cs
src/Monik.Common/Caches/CacheBase.cs
using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using Monik.Common; namespace Monik.Service { public abstract class CacheBase<TEntity> : ICacheBase<TEntity> where TEntity : ICacheEntity { protected readonly IRepository _repository; protected reado...
using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using Monik.Common; namespace Monik.Service { public abstract class CacheBase<TEntity> : ICacheBase<TEntity> where TEntity : ICacheEntity { protected readonly IRepository _repository; protected reado...
mit
C#
f286438fe6112b9612fcdf9fdf104958defc37fd
Fix port of GithubIssue3210
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Tests/Reproduce/GithubIssue3210.cs
src/Tests/Reproduce/GithubIssue3210.cs
using System; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Elasticsearch.Net; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Xunit; using FluentAssertions; namespace Tests.Reproduce { public class GithubIss...
using System; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Elasticsearch.Net; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Xunit; using FluentAssertions; namespace Tests.Reproduce { public class GithubIss...
apache-2.0
C#
ad17dc576aff29037196772769e34c2b2c7a5d15
Change title
rprouse/IdeaWeb,rprouse/IdeaWeb
IdeaWeb/Views/Home/Index.cshtml
IdeaWeb/Views/Home/Index.cshtml
@model IEnumerable<IdeaWeb.Models.Idea> @{ ViewData["Title"] = "Home"; } <h2>My Many Ideas</h2> <ul class="idea"> @foreach (var item in Model) { <li> <a asp-action="Details" asp-controller="Ideas" asp-route-id="@item.Id"> <span class="rating btn btn-default btn-sm">@item.Rating</span> ...
@model IEnumerable<IdeaWeb.Models.Idea> @{ ViewData["Title"] = "Home"; } <h2>My Ideas</h2> <ul class="idea"> @foreach (var item in Model) { <li> <a asp-action="Details" asp-controller="Ideas" asp-route-id="@item.Id"> <span class="rating btn btn-default btn-sm">@item.Rating</span> <s...
mit
C#
d81fac9753591415fd8418fdcdb89d5445957888
Bump version to 8.14.0
abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcemarc/Umbraco-CMS,bjarnef/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-C...
src/SolutionInfo.cs
src/SolutionInfo.cs
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
mit
C#
24b92dc980ed1d3f6ac35a4c1bc7b5eb193893ee
Update UserCreateRequest password property xml documentation (#497)
auth0/auth0.net,auth0/auth0.net
src/Auth0.ManagementApi/Models/UserCreateRequest.cs
src/Auth0.ManagementApi/Models/UserCreateRequest.cs
using Newtonsoft.Json; namespace Auth0.ManagementApi.Models { /// <summary> /// Represents the request to create a <see cref="User"/>. /// </summary> public class UserCreateRequest : UserBase { /// <summary> /// Gets or sets the connection the user belongs to. /// </summary...
using Newtonsoft.Json; namespace Auth0.ManagementApi.Models { /// <summary> /// Represents the request to create a <see cref="User"/>. /// </summary> public class UserCreateRequest : UserBase { /// <summary> /// Gets or sets the connection the user belongs to. /// </summary...
mit
C#
f61854e306b9818d4d696410671bf354502a0191
Remove ununsed variable
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/ChessVariantsTraining/Models/PasswordRecoveryToken.cs
src/ChessVariantsTraining/Models/PasswordRecoveryToken.cs
using MongoDB.Bson.Serialization.Attributes; using System; using System.Security.Cryptography; namespace ChessVariantsTraining.Models { public class PasswordRecoveryToken { [BsonElement("tokenHashed")] public string TokenHashed { get; set; } [BsonIgnore] public string TokenUnh...
using MongoDB.Bson.Serialization.Attributes; using System; using System.Security.Cryptography; namespace ChessVariantsTraining.Models { public class PasswordRecoveryToken { const int HASH_ITERATIONS = 10000; [BsonElement("tokenHashed")] public string TokenHashed { get; set; } ...
agpl-3.0
C#
3d97c328d9fdb5fbc9f2f3263129c3bb2e088c57
Tidy up script tag helper
MiniProfiler/dotnet,MiniProfiler/dotnet
src/MiniProfiler.AspNetCore.Mvc/ProfileScriptTagHelper.cs
src/MiniProfiler.AspNetCore.Mvc/ProfileScriptTagHelper.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; namespace StackExchange.Profiling { /// <summary> /// Tag helper to profile script execution in ASP.NET Core views, e.g. /// &lt;profile-script...
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; namespace StackExchange.Profiling { /// <summary> /// Tag helper to profile script execution in ASP.NET Core views, e.g. /// &lt;profile-script...
mit
C#
a384afc7482f8690dea4fd37bc70c39ebee7d814
add base api client
mika-f/Sagitta
Source/PixivNet/Clients/ApiClient.cs
Source/PixivNet/Clients/ApiClient.cs
using System.Collections.Generic; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using Pixiv.Extensions; namespace Pixiv.Clients { public class ApiClient { private readonly string _base; protected PixivClient Client { get; } public ApiClient(PixivClient client, string @ba...
namespace Pixiv.Clients { /// <summary> /// API Client ベースクラス /// </summary> public class ApiClient { /// <summary> /// <see cref="PixivClient" /> インスタンス /// </summary> protected PixivClient PixivClient { get; } protected ApiClient(PixivClient pixivC...
mit
C#
295b8019af96c056904c1e8912d79513ae024e74
Revert "Fixed compile error in shell view"
cschwarz/AppShell,cschwarz/AppShell
src/AppShell.Mobile/Views/ShellView.xaml.cs
src/AppShell.Mobile/Views/ShellView.xaml.cs
 using Xamarin.Forms; namespace AppShell.Mobile.Views { [ContentProperty("ShellContent")] public partial class ShellView : ContentView { public static readonly BindableProperty ShellContentProperty = BindableProperty.Create<ShellView, View>(d => d.ShellContent, null, propertyChanged: ShellContentP...
 using Xamarin.Forms; namespace AppShell.Mobile.Views { [ContentProperty("ShellContent")] public partial class ShellView : ContentView { public static readonly BindableProperty ShellContentProperty = BindableProperty.Create<ShellView, View>(d => d.ShellContent, null, propertyChanged: ShellContentP...
mit
C#
c2ad787b06719304d2e9cbdc1bff533134a7801f
Modify about.cshtml
CodeComb/YuukoBlog,CodeComb/YuukoBlog,CodeComb/YuukoBlog
src/YuukoBlog/Templates/Default/Shared/About.cshtml
src/YuukoBlog/Templates/Default/Shared/About.cshtml
@if (Model != null && Model.GetType() != typeof(Post)) { <div class="sidebar-module sidebar-about"> <h3>ABOUT</h3> <div class="sidebar-body"> <div class="face"><img src="@ViewBag.AvatarUrl"></div> <div> <a href="https://mvp.microsoft.com/zh-cn/PublicProfile/5001885" yuuko-sta...
@if (Model != null && Model.GetType() != typeof(Post)) { <div class="sidebar-module sidebar-about"> <h3>ABOUT</h3> <div class="sidebar-body"> <div class="face"><img src="@ViewBag.AvatarUrl"></div> <div> <a href="https://mvp.microsoft.com/zh-cn/mvp/Yisheng%20%20Zheng-5001885" ...
mit
C#
87a3e2f336aad1002b46c61661f21d2e978c081b
Remove extraneous comment
pjf/StuffManager
StuffManager/Commands/InfoCommand.cs
StuffManager/Commands/InfoCommand.cs
using System; using System.Linq; namespace StuffManager.Commands { public static class InfoCommand { private static string Truncate(string s, int l) { if (s.Length < l) return s; s = s.Substring(0, l - 3); return s + "..."; } ...
using System; using System.Linq; namespace StuffManager.Commands { public static class InfoCommand { private static string Truncate(string s, int l) { if (s.Length < l) return s; s = s.Substring(0, l - 3); return s + "..."; } ...
mit
C#
5d6a5aa4cea8f9bde56dcfec9426eb5f3c7371ab
ADD tag validation to ground check
JohannesDeml/adaptingGravityUnity3D
Assets/Library/Physics/Gravity/AdaptingGravity.cs
Assets/Library/Physics/Gravity/AdaptingGravity.cs
using UnityEngine; using System.Collections; [RequireComponent(typeof(Rigidbody))] public class AdaptingGravity : MonoBehaviour { [SerializeField] private float gravityStrength = 15f; [SerializeField] private float gravityCheckDistance = 5f; [SerializeField] private float groundCheckDistance =...
using UnityEngine; using System.Collections; [RequireComponent(typeof(Rigidbody))] public class AdaptingGravity : MonoBehaviour { [SerializeField] private float gravityStrength = 15f; [SerializeField] private float gravityCheckDistance = 5f; [SerializeField] private float groundCheckDistance =...
mit
C#
721d0e4049694af0f59db7b0abf172b8237a8f72
Add category
farity/farity
Farity/ToList.cs
Farity/ToList.cs
using System.Collections.Generic; using System.Collections.Immutable; namespace Farity { public static partial class F { /// <summary> /// Converts the source into a read only list. /// </summary> /// <typeparam name="T">The type of element in the list.</typeparam> /// ...
using System.Collections.Generic; using System.Collections.Immutable; namespace Farity { public static partial class F { /// <summary> /// Converts the source into a read only list. /// </summary> /// <typeparam name="T">The type of element in the list.</typeparam> /// ...
mit
C#
c203ca00fbd2b3d354f4cd7cded8fcea200adbe5
Fix Ping Pong RTT Bug
KDSBest/Unity-Azure-Network-Engine
Core/ReliableUdp/PacketHandler/PingPongHandler.cs
Core/ReliableUdp/PacketHandler/PingPongHandler.cs
using ReliableUdp.Enums; using ReliableUdp.Packet; using ReliableUdp.Utility; using System.Diagnostics; namespace ReliableUdp.PacketHandler { public class PingPongHandler { private int pingSendTimer = 0; private UdpPacket pingPaket = new UdpPacket(PacketType.Ping, 0); private UdpPacket pongPaket = new UdpP...
using ReliableUdp.Enums; using ReliableUdp.Packet; using ReliableUdp.Utility; using System.Diagnostics; namespace ReliableUdp.PacketHandler { public class PingPongHandler { private int pingSendTimer = 0; private UdpPacket pingPaket = new UdpPacket(PacketType.Ping, 0); private UdpPacket pongPaket = new UdpP...
mit
C#
bc5acb575157d7b5530b7be61524c501be118716
fix build
ProstoA/spower
src/ProstoA.Spower.Core/MonitoringHelper.cs
src/ProstoA.Spower.Core/MonitoringHelper.cs
using System; using Microsoft.SharePoint.Utilities; namespace ProstoA.Spower { public static class Monitoring { #if DEBUG internal class EmptyDisposable : IDisposable { public void Dispose() { } } private static readonly EmptyDisposable Empty = new EmptyDisposable(); #endif ...
using System; using Microsoft.SharePoint.Utilities; namespace ProstoA.Spower { public static class Monitoring { #if DEBUG internal class EmptyDisposable : IDisposable { public void Dispose() { } } private static readonly EmptyDisposable Empty = new EmptyDisposable(); #endif ...
apache-2.0
C#
7d156713f731532318eee1340f46bedbd98c6d68
remove ctor virtual calls
mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker
Ductus.FluentDocker.XUnit/FluentDockerTestBase.cs
Ductus.FluentDocker.XUnit/FluentDockerTestBase.cs
using System; using Ductus.FluentDocker.Builders; using Ductus.FluentDocker.Services; namespace Ductus.FluentDocker.XUnit { public abstract class FluentDockerTestBase : IDisposable { protected IContainerService Container; protected abstract ContainerBuilder Build(); public FluentDockerTestBase() ...
using System; using Ductus.FluentDocker.Builders; using Ductus.FluentDocker.Services; namespace Ductus.FluentDocker.XUnit { public abstract class FluentDockerTestBase : IDisposable { protected IContainerService Container; protected abstract ContainerBuilder Build(); public FluentDockerTestBase() ...
apache-2.0
C#
804cbe5aae2d0796331435a691258e077851317b
Copy deflate stream to temporary memory stream.
Meowtrix/osu-Auto-Mapping-Toolkit
Training/DataGenerator/OszArchive.cs
Training/DataGenerator/OszArchive.cs
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; namespace Meowtrix.osuAMT.Training.DataGenerator { class OszArchive : Archive, IDisposable { public ZipArchive archive; private FileInfo fileinfo; public OszArchive(FileIn...
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; namespace Meowtrix.osuAMT.Training.DataGenerator { class OszArchive : Archive, IDisposable { public ZipArchive archive; private FileInfo fileinfo; public OszArchive(FileIn...
mit
C#
2f4634dcf6806e04d5a041b2f6c367f4801b992d
Remove reference to settings section in routePath (so we can move the tree in theory)
KevinJump/uSync,KevinJump/uSync,KevinJump/uSync
uSync8.BackOffice/Controllers/Trees/uSyncTreeController.cs
uSync8.BackOffice/Controllers/Trees/uSyncTreeController.cs
using System.Net.Http.Formatting; using System.Web.Http.ModelBinding; using Umbraco.Core; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.Trees; using Umbraco.Web.WebApi.Filters; namespace uSync8.BackOffice.Controllers.Trees { [Tree(Constants.Applications.Settings, uSync.Trees.uSync, ...
using System.Net.Http.Formatting; using System.Web.Http.ModelBinding; using Umbraco.Core; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.Trees; using Umbraco.Web.WebApi.Filters; namespace uSync8.BackOffice.Controllers.Trees { [Tree(Constants.Applications.Settings, uSync.Trees.uSync, ...
mpl-2.0
C#
ed0ea035d8bcc6efd765ae7e9d8ad75150173e1e
Make model readonly
EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework
osu.Framework/Graphics/Containers/RearrangeableListItem.cs
osu.Framework/Graphics/Containers/RearrangeableListItem.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.Input.Events; using osuTK; namespace osu.Framework.Graphics.Containers { /// <summary> /// An item of a <see cref="Rearrangeabl...
// 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.Input.Events; using osuTK; namespace osu.Framework.Graphics.Containers { /// <summary> /// An item of a <see cref="Rearrangeabl...
mit
C#
81d7ff2152ab8cd04dd35332f17cea2abd48cbbb
Initialize UnlinkAppCommand with an IApplicationConfiguration
appharbor/appharbor-cli
src/AppHarbor/Commands/UnlinkAppCommand.cs
src/AppHarbor/Commands/UnlinkAppCommand.cs
using System; namespace AppHarbor.Commands { [CommandHelp("Unlink application from directory", alias: "unlink")] public class UnlinkAppCommand : ICommand { private readonly IApplicationConfiguration _applicationConfiguration; public UnlinkAppCommand(IApplicationConfiguration applicationConfiguration) { _...
using System; namespace AppHarbor.Commands { [CommandHelp("Unlink application from directory", alias: "unlink")] public class UnlinkAppCommand : ICommand { public void Execute(string[] arguments) { throw new NotImplementedException(); } } }
mit
C#
331d8ab5b762bd20be1135ef0dec1217f46020bb
Update Cake addin to allow the documentation to flow through the website
ejball/XmlDocMarkdown
src/Cake.XmlDocMarkdown/XmlDocCakeAddin.cs
src/Cake.XmlDocMarkdown/XmlDocCakeAddin.cs
using Cake.Core; using Cake.Core.Annotations; using Cake.Core.IO; using XmlDocMarkdown.Core; using LogLevel = Cake.Core.Diagnostics.LogLevel; using Verbosity = Cake.Core.Diagnostics.Verbosity; namespace Cake.XmlDocMarkdown { /// <summary> /// The Cake addin. /// </summary> [CakeAliasCategory("XmlDocMarkdown")] [C...
using Cake.Core; using Cake.Core.Annotations; using Cake.Core.IO; using XmlDocMarkdown.Core; using LogLevel = Cake.Core.Diagnostics.LogLevel; using Verbosity = Cake.Core.Diagnostics.Verbosity; namespace Cake.XmlDocMarkdown { /// <summary> /// The Cake addin. /// </summary> [CakeNamespaceImport("XmlDocMarkdown.Core...
mit
C#
67cc462b9f94c32a94f4819f1f4ceb76fbd1b971
Remove old code.
exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless
Source/App/App_Start/SimpleInjectorInitializer.cs
Source/App/App_Start/SimpleInjectorInitializer.cs
#region Copyright 2014 Exceptionless // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // http://ww...
#region Copyright 2014 Exceptionless // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // http://ww...
apache-2.0
C#
42da10fda03bd497d1a8ea1a183add34cb76e2f6
Implement StateBagKey.Equals and GetHashCode
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/DynamicData/DynamicData/StateBagKey.cs
src/DynamicData/DynamicData/StateBagKey.cs
using System; using System.Collections.Generic; using System.Reflection; namespace DotVVM.Framework.Controls.DynamicData { public struct StateBagKey : IEquatable<StateBagKey> { public object Provider { get; private set; } public PropertyInfo Property { get; private set; } public Stat...
using System.Reflection; namespace DotVVM.Framework.Controls.DynamicData { public struct StateBagKey { public object Provider { get; private set; } public PropertyInfo Property { get; private set; } public StateBagKey(object provider, PropertyInfo property) : this() { ...
apache-2.0
C#
b4d3a94d0cf36297913ec469b15c856487fe43d3
remove unused code
kreeben/resin,kreeben/resin
src/Sir.Wikipedia/WriteWikipediaCommand.cs
src/Sir.Wikipedia/WriteWikipediaCommand.cs
using Microsoft.Extensions.Logging; using Sir.Documents; using Sir.Search; using Sir.VectorSpace; using System.Collections.Generic; using System.IO; namespace Sir.Wikipedia { /// <summary> /// Download JSON search index dump here: /// https://dumps.wikimedia.org/other/cirrussearch/current/enwiki-20201026...
using Microsoft.Extensions.Logging; using Sir.Documents; using Sir.Search; using Sir.VectorSpace; using System.Collections.Generic; using System.IO; namespace Sir.Wikipedia { /// <summary> /// Download JSON search index dump here: /// https://dumps.wikimedia.org/other/cirrussearch/current/enwiki-20201026...
mit
C#
a816d606eac0022be00818ea70c284695260c4f5
Update StringLocalizerMonitor.cs
tiksn/TIKSN-Framework
TIKSN.Core/Localization/StringLocalizerMonitor.cs
TIKSN.Core/Localization/StringLocalizerMonitor.cs
using System.Collections.Generic; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace TIKSN.Localization { /// <summary> /// IStringLocalizer decorator for monitoring not found resources. /// </summary> public class StringLocal...
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System.Collections.Generic; using System.Globalization; namespace TIKSN.Localization { /// <summary> /// IStringLocalizer decorator for monitoring not found resources. /// </summary> ...
mit
C#
20618ed459bed8785d18c73adb424047f74f5e61
Update Reaction.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Chemistry/Reaction.cs
UnityProject/Assets/Scripts/Chemistry/Reaction.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; namespace Chemistry { [CreateAssetMenu(fileName = "reaction", menuName = "ScriptableObjects/Chemistry/Reaction")] public class Reaction : ScriptableObject { public DictionaryReagentInt ingredients; p...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using System.Linq; namespace Chemistry { [CreateAssetMenu(fileName = "reaction", menuName = "ScriptableObjects/Chemistry/Reaction")] public class Reaction : ScriptableObject { public DictionaryReagentInt ingredients; p...
agpl-3.0
C#
eec9c2151a21744dff37670d28f8dd43cef8a73f
Add NamedValueDictionaryDatumConverterFactory to newtonsoft converter
Ernesto99/rethinkdb-net,nkreipke/rethinkdb-net,kangkot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,Ernesto99/rethinkdb-net,LukeForder/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net,nkreipke/rethinkdb-net
rethinkdb-net-newtonsoft/Configuration/NewtonSerializer.cs
rethinkdb-net-newtonsoft/Configuration/NewtonSerializer.cs
using RethinkDb.DatumConverters; namespace RethinkDb.Newtonsoft.Configuration { public class NewtonSerializer : AggregateDatumConverterFactory { public NewtonSerializer() : base( PrimitiveDatumConverterFactory.Instance, TupleDatumConverterFactory.Instance, Anonymous...
using RethinkDb.DatumConverters; namespace RethinkDb.Newtonsoft.Configuration { public class NewtonSerializer : AggregateDatumConverterFactory { public NewtonSerializer() : base( PrimitiveDatumConverterFactory.Instance, TupleDatumConverterFactory.Instance, Anonymous...
apache-2.0
C#
928d28f5f0d1355ff56debc47fffaddb522a0632
Update EdgeConfig.cs (#77)
rosolko/WebDriverManager.Net
WebDriverManager/DriverConfigs/Impl/EdgeConfig.cs
WebDriverManager/DriverConfigs/Impl/EdgeConfig.cs
using System; using System.IO; using System.Net; using System.Runtime.InteropServices; namespace WebDriverManager.DriverConfigs.Impl { public class EdgeConfig : IDriverConfig { private const string BaseVersionPatternUrl = "https://msedgedriver.azureedge.net/<version>/"; public virtual string G...
using System; using System.IO; using System.Net; using System.Runtime.InteropServices; namespace WebDriverManager.DriverConfigs.Impl { public class EdgeConfig : IDriverConfig { private const string BaseVersionPatternUrl = "https://msedgedriver.azureedge.net/<version>/"; public virtual string G...
mit
C#
6cf848f197a19a2d9ffca6d442ff050138e6bca5
remove empty file
justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,codevlabs/DirigoEdge,codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest
DirigoEdge/Views/Shared/Partials/SeoMetaModalPartial.cshtml
DirigoEdge/Views/Shared/Partials/SeoMetaModalPartial.cshtml
<div id="SEOMetaModal" class="modal medium"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="pb-modal"> <span aria-hidden="true">&times;</span> <span class...

mit
C#
6064aa01688dc9b101584ed1e2213567466b1fea
Set Color for StepCounter charts
AlbertoMoreta/Dr.Handy
TFG.Droid/Fragments/StepCounter/StepCounterChartFragment.cs
TFG.Droid/Fragments/StepCounter/StepCounterChartFragment.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Support.V4.Content; using Android.Util; using Android.Views; using Android.Widget; using Java.Lang; using MikePhil.Charting.Charts; usin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Util; using Android.Views; using Android.Widget; using Java.Lang; using MikePhil.Charting.Charts; using MikePhil.Charting.Components; us...
mit
C#
5314c3f63b0881d14db20b06151b516eef367a87
add primary users to db if they are set up in the settings file and are not already there
zmira/abremir.AllMyBricks
abremir.AllMyBricks.DatabaseSeeder/NonInteractiveConsole.cs
abremir.AllMyBricks.DatabaseSeeder/NonInteractiveConsole.cs
using abremir.AllMyBricks.Data.Enumerations; using abremir.AllMyBricks.Data.Interfaces; using abremir.AllMyBricks.DatabaseSeeder.Configuration; using abremir.AllMyBricks.DatabaseSeeder.Services; using abremir.AllMyBricks.DataSynchronizer.Interfaces; using System.Collections.Generic; using System.Threading.Tasks; name...
using abremir.AllMyBricks.DatabaseSeeder.Configuration; using abremir.AllMyBricks.DatabaseSeeder.Services; using abremir.AllMyBricks.DataSynchronizer.Interfaces; using System.Collections.Generic; using System.Threading.Tasks; namespace abremir.AllMyBricks.DatabaseSeeder { public static class NonInteractiveConsole...
mit
C#
bdf644790572fc8b72d08ffa6b4f5285c0645a6e
Rework InternalAny to take IDisposables into account and short-cut on ICollections.
ExRam/ExRam.Gremlinq
src/ExRam.Gremlinq.Core/Extensions/EnumerableExtensions.cs
src/ExRam.Gremlinq.Core/Extensions/EnumerableExtensions.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using ExRam.Gremlinq.Core.Projections; using ExRam.Gremlinq.Core.Steps; namespace ExRam.Gremlinq.Core { public static class EnumerableExtensions { public static Traversal ToTraversal(th...
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using ExRam.Gremlinq.Core.Projections; using ExRam.Gremlinq.Core.Steps; namespace ExRam.Gremlinq.Core { public static class EnumerableExtensions { public static Traversal ToTraversal(this IEnumerable...
mit
C#
f6e2cdccf101fcd6bc830ff0291a4d57753f23e1
fix property type
Eskat0n/NArms
src/NArms.BunkerBuster.Tests/StringPropertyReadingTests.cs
src/NArms.BunkerBuster.Tests/StringPropertyReadingTests.cs
namespace NArms.BunkerBuster.Tests { using Annotations; using NUnit.Framework; [TestFixture] public class StringPropertyReadingTests { private Config _config; private class Config : ConfigBase { public string StringProperty { get; set; } [ConfigKey...
namespace NArms.BunkerBuster.Tests { using Annotations; using NUnit.Framework; [TestFixture] public class StringPropertyReadingTests { private Config _config; private class Config : ConfigBase { public string StringProperty { get; set; } [ConfigKey...
mit
C#
fab6adfe8336817f3604dae350f2f9585cfe04d0
add area route param to admin area registration
IdentityServer/IdentityServer2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktect...
src/OnPremise/WebSite/Areas/Admin/AdminAreaRegistration.cs
src/OnPremise/WebSite/Areas/Admin/AdminAreaRegistration.cs
using System.Web.Mvc; namespace Thinktecture.IdentityServer.Web.Areas.Admin { public class AdminAreaRegistration : AreaRegistration { public override string AreaName { get { return "Admin"; } } public override void RegisterAr...
using System.Web.Mvc; namespace Thinktecture.IdentityServer.Web.Areas.Admin { public class AdminAreaRegistration : AreaRegistration { public override string AreaName { get { return "Admin"; } } public override void RegisterAr...
bsd-3-clause
C#
5f1428069f4f5681e5d1d6dbce2f4bf1f0a8705c
fix build
LykkeCity/bitcoinservice,LykkeCity/bitcoinservice
tests/Init/Config.cs
tests/Init/Config.cs
using System; using System.IO; using Autofac; using Autofac.Extensions.DependencyInjection; using AzureRepositories; using Common; using Common.Log; using Core.Bitcoin; using Core.Settings; using LkeServices; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; // ReSharper disable once CheckNamespa...
using System; using System.IO; using Autofac; using Autofac.Extensions.DependencyInjection; using AzureRepositories; using Common; using Common.Log; using Core.Bitcoin; using Core.Settings; using LkeServices; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; // ReSharper disable once CheckNamespa...
mit
C#
21a782732e23b95c280a575b57b14a61edb4c994
Rename some variables for consistency
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Utils/GameManager.cs
Assets/Scripts/HarryPotterUnity/Utils/GameManager.cs
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using HarryPotterUnity.Tween; using UnityEngine; namespace HarryPotterUnity.Utils { public static class GameManager { public const int PREVIEW_LAYER = 9; public const int CARD_LAYER = 10; public const int VALID_CHOICE...
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using HarryPotterUnity.Tween; using UnityEngine; namespace HarryPotterUnity.Utils { public static class GameManager { public const int PreviewLayer = 9; public const int CardLayer = 10; public const int ValidChoiceLay...
mit
C#
55870f81a34eeb6b6dfa285c40aceddb941ed079
Build fix.
Luaancz/Yggmire
Core/Luaan.Yggmire.Core/Behaviours/ItemStorageBehaviour.cs
Core/Luaan.Yggmire.Core/Behaviours/ItemStorageBehaviour.cs
using Luaan.Yggmire.Core.Structures; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Luaan.Yggmire.Core.Behaviours { [Serializable] public class ItemStorageBehaviour : IItemBehaviour<ItemStorageBehaviourState>, IItemBehaviourWithAct...
using Luaan.Yggmire.Core.Structures; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Luaan.Yggmire.Core.Behaviours { [Serializable] public class ItemStorageBehaviour : IItemBehaviour<ItemStorageBehaviourState>, IItemBehaviourWithAct...
mit
C#
8a10035c2cbd5ad635386c8675c2489f624f882d
Make test types internal
Zoxive/libgit2sharp,Zoxive/libgit2sharp,PKRoma/libgit2sharp,libgit2/libgit2sharp
LibGit2Sharp.Tests/TestHelpers/ConditionalFactAttribute.cs
LibGit2Sharp.Tests/TestHelpers/ConditionalFactAttribute.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using LibGit2Sharp.Core; using Xunit; namespace LibGit2Sharp.Tests { internal class ConditionalFactAttribute : FactAttribute { ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using LibGit2Sharp.Core; using Xunit; namespace LibGit2Sharp.Tests { public class ConditionalFactAttribute : FactAttribute { p...
mit
C#
6241ed631a43b655c6bf5bc08b1106bb13d26bc6
Add null check to avoid an exception that was encountered.
bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1
Source/Eto.Platform.Mac/Forms/Menu/ImageMenuItemHandler.cs
Source/Eto.Platform.Mac/Forms/Menu/ImageMenuItemHandler.cs
using System; using System.Reflection; using Eto.Drawing; using Eto.Forms; using MonoMac.AppKit; using MonoMac.Foundation; using MonoMac.ObjCRuntime; using sd = System.Drawing; namespace Eto.Platform.Mac { public class ImageMenuItemHandler : MenuHandler<NSMenuItem, ImageMenuItem>, IImageMenuItem, IMenuActionHandler ...
using System; using System.Reflection; using Eto.Drawing; using Eto.Forms; using MonoMac.AppKit; using MonoMac.Foundation; using MonoMac.ObjCRuntime; using sd = System.Drawing; namespace Eto.Platform.Mac { public class ImageMenuItemHandler : MenuHandler<NSMenuItem, ImageMenuItem>, IImageMenuItem, IMenuActionHandler ...
bsd-3-clause
C#
baf9cc665708da20332289d3e9f14148679c2064
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/ArgumentNotFoundException.cs
Source/NSubstitute/Exceptions/ArgumentNotFoundException.cs
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class ArgumentNotFoundException : SubstituteException { public ArgumentNotFoundException(string message) : base(message) { } protected ArgumentNotFoundException(SerializationInfo info, StreamingCont...
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class ArgumentNotFoundException : SubstituteException { public ArgumentNotFoundException(string message) : base(message) { } protected ArgumentNotFoundException(SerializationInfo info, StreamingContext context) : base...
bsd-3-clause
C#
35fc0afd0200af3c49278076b5e2d030c38d4812
move smoke in axis vertical
ratozumbi/focus
Focus/Assets/Resources/Scripts/Ruilan/Power/Smoke.cs
Focus/Assets/Resources/Scripts/Ruilan/Power/Smoke.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Smoke : MonoBehaviour { private Vector3 initPos; private Rigidbody2D rb; private Transform player; private bool collPlayer; // Use this for initialization private void Awake() { rb = Get...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Smoke : MonoBehaviour { private Vector3 initPos; private Rigidbody2D rb; private Transform player; private bool collPlayer; // Use this for initialization private void Awake() { rb = Get...
apache-2.0
C#
1d09c204192d58fda1cbc0a37f4972c9c0f2ab19
Make the namespace uniform accross the project
12joan/hangman
table.cs
table.cs
using System; namespace Hangman { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } }
using System; namespace Table { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } }
unlicense
C#
556f37bd6443bcc42512480f43ce4d5fe2e6fbf7
Simplify parameters.
sharpjs/PSql,sharpjs/PSql
PSql.Core/_Commands/ExpandSqlCmdDirectivesCommand.cs
PSql.Core/_Commands/ExpandSqlCmdDirectivesCommand.cs
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Management.Automation; namespace PSql { [Cmdlet(VerbsData.Expand, "SqlCmdDirectives")] [OutputType(typeof(string[]))] public class ExpandSqlCmdDirectivesCommand : Cmdlet { // -Sql...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Management.Automation; namespace PSql { [Cmdlet(VerbsData.Expand, "SqlCmdDirectives")] [OutputType(typeof(string[]))] public class ExpandSqlCmdDirectivesCommand : Cmdlet { // -Sql...
isc
C#
bb4426a27cbcb01d8b27c87601cce58d891b0631
Improve AOR test form on Linux
tombogle/libpalaso,gmartin7/libpalaso,chrisvire/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,hatton/libpalaso,glasseyes/libpalaso,andrew-polk/libpalaso,glasseyes/libpalaso,hatton/libpalaso,hatton/libpalaso,gtryus/libpalaso,chrisvire/libpalaso,JohnThomson/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,ddaspi...
PalasoUIWindowsForms.TestApp/ArtOfReadingTestForm.cs
PalasoUIWindowsForms.TestApp/ArtOfReadingTestForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Reflection; using System.Text; using System.Windows.Forms; using Palaso.UI.WindowsForms.ImageGallery; using Palaso.UI.WindowsForms.Keyboarding; using Palaso.UI.WindowsFor...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Reflection; using System.Text; using System.Windows.Forms; using Palaso.UI.WindowsForms.ImageGallery; using Palaso.UI.WindowsForms.Keyboarding; using Palaso.UI.WindowsFor...
mit
C#
3afa6aa9605f4262bc6782da5fe57108d1f9f7e6
Use ternary operator
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Converters/BooleanOnOffConverter.cs
WalletWasabi.Gui/Converters/BooleanOnOffConverter.cs
using Avalonia.Data.Converters; using System; using System.Globalization; namespace WalletWasabi.Gui.Converters { public class BooleanOnOffConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is bool boolean) { return ...
using Avalonia.Data.Converters; using System; using System.Globalization; namespace WalletWasabi.Gui.Converters { public class BooleanOnOffConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is bool boolean) { if (boo...
mit
C#
f69e1e96091fdafb1b75602723fcbcc4aa77e3e9
Use proper library/abi for qt on linux.
txdv/CppSharp,ddobrev/CppSharp,mydogisbox/CppSharp,KonajuGames/CppSharp,genuinelucifer/CppSharp,mydogisbox/CppSharp,imazen/CppSharp,imazen/CppSharp,zillemarco/CppSharp,Samana/CppSharp,u255436/CppSharp,xistoso/CppSharp,mono/CppSharp,inordertotest/CppSharp,mydogisbox/CppSharp,zillemarco/CppSharp,corngood/cxxi,Samana/CppS...
src/QtBindings/Libs.cs
src/QtBindings/Libs.cs
using System; using Mono.VisualC.Interop; using Mono.VisualC.Interop.ABI; namespace Qt { // Will be internal; public for testing public static class Libs { public static CppLibrary QtCore = null; public static CppLibrary QtGui = null; static Libs () ...
using System; using Mono.VisualC.Interop; using Mono.VisualC.Interop.ABI; namespace Qt { // Will be internal; public for testing public static class Libs { public static CppLibrary QtCore = null; public static CppLibrary QtGui = null; static Libs () ...
mit
C#
802cd1acfaa5f7e9b7dbdbad076b2c534cee2f59
Disable compression.
FacilityApi/FacilityCSharp
src/Facility.Core/MessagePackServiceSerializer.cs
src/Facility.Core/MessagePackServiceSerializer.cs
using MessagePack; namespace Facility.Core; /// <summary> /// Serializes and deserializes values using MessagePack. /// </summary> public sealed class MessagePackServiceSerializer : ServiceSerializer { /// <summary> /// The serializer instance. /// </summary> public static readonly MessagePackServiceSerializer In...
using MessagePack; namespace Facility.Core; /// <summary> /// Serializes and deserializes values using MessagePack. /// </summary> public sealed class MessagePackServiceSerializer : ServiceSerializer { /// <summary> /// The serializer instance. /// </summary> public static readonly MessagePackServiceSerializer In...
mit
C#
65475d3d675bee45d2063bd10e470b946e66839c
Remove the exclamation mark to find embedded templates (#2735)
RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag
src/NSwag.CodeGeneration/DefaultTemplateFactory.cs
src/NSwag.CodeGeneration/DefaultTemplateFactory.cs
//----------------------------------------------------------------------- // <copyright file="DefaultTemplateFactory.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsu...
//----------------------------------------------------------------------- // <copyright file="DefaultTemplateFactory.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsu...
mit
C#
ed8c19d61f1fd01fc6acbfaefdaf20782a0eaa30
check for null/empty input for room key
UpBeet/mating-ritual-client
Assets/Scripts/StateManagement/GameStates/JoinGameScreen.cs
Assets/Scripts/StateManagement/GameStates/JoinGameScreen.cs
using UnityEngine; using UnityEngine.UI; // Controls the join game screen. public class JoinGameScreen : IGameState { // The currently entered room code. public string RoomCode { get; set; } // Called when the join game button is clicked. public void OnClickJoinGameButton () { Debug.LogWarning ("Attempting to...
using UnityEngine; // Controls the join game screen. public class JoinGameScreen : IGameState { // The currently entered room code. public string RoomCode { get; set; } // Called when the join game button is clicked. public void OnClickJoinGameButton () { Debug.LogWarning ("Attempting to join room " + RoomCod...
mit
C#
6b6f40433dbbf87980e2edcdee8d9210a4975e4d
fix for compile warning in Unity 5.4+
gpvigano/SteamVR_Unity_Toolkit,mattboy64/SteamVR_Unity_Toolkit,phr00t/SteamVR_Unity_Toolkit,TMaloteaux/SteamVR_Unity_Toolkit,jcrombez/SteamVR_Unity_Toolkit,thestonefox/SteamVR_Unity_Toolkit,mbbmbbmm/SteamVR_Unity_Toolkit,bengolds/SteamVR_Unity_Toolkit,pargee/SteamVR_Unity_Toolkit,mimminito/SteamVR_Unity_Toolkit,Fulby/V...
Assets/SteamVR_Unity_Toolkit/Scripts/Helper/DeviceFinder.cs
Assets/SteamVR_Unity_Toolkit/Scripts/Helper/DeviceFinder.cs
namespace VRTK { using UnityEngine; using System.Collections; using System.Collections.Generic; using Valve.VR; public class DeviceFinder : MonoBehaviour { //Seconds to keep trying to initialise public static float initTries = 15f; public static SteamVR_TrackedObject C...
namespace VRTK { using UnityEngine; using System.Collections; using System.Collections.Generic; using Valve.VR; public class DeviceFinder : MonoBehaviour { //Seconds to keep trying to initialise public static float initTries = 15f; public static SteamVR_TrackedObject C...
mit
C#
d097e7ef17c4cbb438d7064117ef891e1e6b9a68
make tests more robust
jorbor/Kekiri,chris-peterson/Kekiri,jorbor/Kekiri
src/Tests/UnitTests/Reporting/Reporting_helpers.cs
src/Tests/UnitTests/Reporting/Reporting_helpers.cs
using System.Collections.Generic; using FluentAssertions; using Kekiri.Impl; using NUnit.Framework; namespace Kekiri.UnitTests.Reporting { [TestFixture] public class Reporting_helpers { [Test] [TestCase("ABC", true)] [TestCase(" ABC", true)] [TestCase("abc", false)] ...
using System.Collections.Generic; using FluentAssertions; using Kekiri.Impl; using NUnit.Framework; namespace Kekiri.UnitTests.Reporting { [TestFixture] public class Reporting_helpers { [Test] public void TestStartsWithMultipleUppercaseLetters() { "ABC".StartsWithMultip...
mit
C#
a48a0ba4f38fd38510f922f2a1475009e69225eb
Change RestartRoundTest to also startup a client (#2683)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.IntegrationTests/Tests/Commands/RestartRoundTest.cs
Content.IntegrationTests/Tests/Commands/RestartRoundTest.cs
using System.Threading.Tasks; using Content.Server.GameTicking; using Content.Server.Interfaces.GameTicking; using Content.Shared; using NUnit.Framework; using Robust.Shared.Interfaces.Configuration; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Timing; namespace Content.IntegrationTests.Tests.Comma...
using System.Threading.Tasks; using Content.Server.GameTicking; using Content.Server.Interfaces.GameTicking; using Content.Shared; using NUnit.Framework; using Robust.Shared.Interfaces.Configuration; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Timing; namespace Content.IntegrationTests.Tests.Comma...
mit
C#
5fe2baaf62bbbb38b8b4e25431cfdec1c2dc7d5d
Change Camera zooming speed
ReiiYuki/KU-Structure
Assets/Scripts/UtilityScript/CameraZoomer.cs
Assets/Scripts/UtilityScript/CameraZoomer.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraZoomer : MonoBehaviour { public float perspectiveZoomSpeed = 0.00000001f; // The rate of change of the field of view in perspective mode. public float orthoZoomSpeed = 0.00000001f; // The rate of c...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraZoomer : MonoBehaviour { public float perspectiveZoomSpeed = 0.5f; // The rate of change of the field of view in perspective mode. public float orthoZoomSpeed = 0.001f; // The rate of change of the...
mit
C#
ed33b0be8584d5541e89505a4b7dd70efb7e511c
Update DataSorting.cs
asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-sh...
Examples/CSharp/Data/Handling/DataSorting.cs
Examples/CSharp/Data/Handling/DataSorting.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Handling { public class DataSorting { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataD...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Handling { public class DataSorting { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Met...
mit
C#
afd6e2410576c46986ba9e11e9498c77726daf37
Add a top anchor.
bigfont/sweet-water-revolver
mvcWebApp/Views/Home/Index.cshtml
mvcWebApp/Views/Home/Index.cshtml
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <title>Sweet Water Revolver</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="assets/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="assets...
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <title>Sweet Water Revolver</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="assets/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link href="assets...
mit
C#