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
7d37c4df8cc6d1e043b06cb1b887bc443b7ad5c2
Fix broken osu tests
ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu
osu.Game.Rulesets.Osu.Tests/OsuSkinnableTestScene.cs
osu.Game.Rulesets.Osu.Tests/OsuSkinnableTestScene.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Tests.Visual; namespace osu.Game.Rulesets.Osu.Tests { public abstract class 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 osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Tests.Visual; namespace osu.Game.Rulesets.Osu.Tests { public abstract class Osu...
mit
C#
381961626710bb193a750a11b83fb301f7b7e194
allow AlembicStreamSync to control other AlembicStreamSync
unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter
AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStreamSync.cs
AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStreamSync.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; #if UNITY_EDITOR using UnityEditor; #endif [ExecuteInEditMode] public class AlembicStreamSync : MonoBehaviour { public float m_time; float m_lastTime; float m_timeEps = 0.001f; [Serializable] public class Syn...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; #if UNITY_EDITOR using UnityEditor; #endif [ExecuteInEditMode] public class AlembicStreamSync : MonoBehaviour { public float m_time; float m_lastTime; float m_timeEps = 0.001f; [Serializable] public class Syn...
mit
C#
feebea3aa269ab4025cec7ae7f0ae03b4effd754
Set the name correctly
jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl
MatterControlLib/Library/Providers/MatterControl/LibraryJsonFile.cs
MatterControlLib/Library/Providers/MatterControl/LibraryJsonFile.cs
/* Copyright (c) 2019, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* Copyright (c) 2019, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
bsd-2-clause
C#
8ff57e647a7c240db3eddfb2de7539c320815ad9
Update ITestMongoRepository.cs
tiksn/TIKSN-Framework
TIKSN.Framework.IntegrationTests/Data/Mongo/ITestMongoRepository.cs
TIKSN.Framework.IntegrationTests/Data/Mongo/ITestMongoRepository.cs
using System; using TIKSN.Data.Mongo; namespace TIKSN.Framework.IntegrationTests.Data.Mongo { public interface ITestMongoRepository : IMongoRepository<TestMongoEntity, Guid> { } }
using System; using TIKSN.Data.Mongo; namespace TIKSN.Framework.IntegrationTests.Data.Mongo { public interface ITestMongoRepository : IMongoRepository<TestMongoEntity, Guid> { } }
mit
C#
c9d9cc574aa27e1e6684f32e01d3d2b81de63799
Add doc comment explaining difference between ProtectedAndInternal vs ProtectedOrInternal (#50228)
mavasani/roslyn,eriawan/roslyn,wvdd007/roslyn,dotnet/roslyn,physhi/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,diryboy/roslyn,eriawan/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,tmat/roslyn,AmadeusW/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,KevinRan...
src/Compilers/Core/Portable/Symbols/Accessibility.cs
src/Compilers/Core/Portable/Symbols/Accessibility.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// Enumeration for co...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// Enumeration for co...
mit
C#
72d4f05c5faba01a3ef1f85ca91b123e1eba89de
Move and rotate towards player
skarnl/asteroids-game
Assets/Scripts/_EnemyBehavior/MoveTowardsPlayer.cs
Assets/Scripts/_EnemyBehavior/MoveTowardsPlayer.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveTowardsPlayer : MonoBehaviour { private GameObject player; public float speed = 5f; private Vector3 goal; public float RotationSpeed = 200f; public float distance = 1.2f; // Use this...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveTowardsPlayer : MonoBehaviour { private GameObject player; public float speed = 5f; private Vector3 goal; public float RotationSpeed = 200f; // Use this for initialization void Start () ...
mit
C#
3c54236698465e6ac5a46c8899a1b2fa845ecce0
Change percentage display
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/UnitStatsViewModel.cs
Battery-Commander.Web/Models/UnitStatsViewModel.cs
using System; namespace BatteryCommander.Web.Models { public class UnitStatsViewModel { public Unit Unit { get; set; } // Assigned Passed Failed Not Tested % Pass/Assigned public Stat ABCP { get; set; } = new Stat { }; public Stat APFT { get; set; } = new Stat { }; ...
using System; namespace BatteryCommander.Web.Models { public class UnitStatsViewModel { public Unit Unit { get; set; } // Assigned Passed Failed Not Tested % Pass/Assigned public Stat ABCP { get; set; } = new Stat { }; public Stat APFT { get; set; } = new Stat { }; ...
mit
C#
3b2580b646759af8b658f425ff040c8e9de62c88
implement pagination
solomobro/Instagram,solomobro/Instagram,solomobro/Instagram
src/Solomobro.Instagram/Models/CollectionResponse.cs
src/Solomobro.Instagram/Models/CollectionResponse.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Threading.Tasks; using Solomobro.Instagram.Endpoints; using Solomobro.Instagram.Interfaces; namespace Solomobro.Instagram.Models { [DataContract] public class Collectio...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Threading.Tasks; namespace Solomobro.Instagram.Models { [DataContract] public class CollectionResponse<T> : IResponse, IEnumerable { internal CollectionResp...
apache-2.0
C#
12c52685313524eacfccee4a2af8f515845da96e
Remove empty line
thinktecture/relayserver,thinktecture/relayserver,thinktecture/relayserver
Thinktecture.Relay/Server/Communication/IOnPremiseConnectionContext.cs
Thinktecture.Relay/Server/Communication/IOnPremiseConnectionContext.cs
using System; using System.Threading; using System.Threading.Tasks; using Thinktecture.Relay.Server.OnPremise; namespace Thinktecture.Relay.Server.Communication { /// <summary> /// Represents the context for an on-premise connection. /// </summary> public interface IOnPremiseConnectionContext { /// <summary> ...
using System; using System.Threading; using System.Threading.Tasks; using Thinktecture.Relay.Server.OnPremise; namespace Thinktecture.Relay.Server.Communication { /// <summary> /// Represents the context for an on-premise connection. /// </summary> public interface IOnPremiseConnectionContext { /// <summary> ...
bsd-3-clause
C#
cfd85c07c46b74424b2f790157bd8ceff01b4d56
Synchronize JsonWhitespaceSyntax with PgnWhitespaceSyntax.
PenguinF/sandra-three
Eutherion/Shared/Text/Json/JsonWhitespaceSyntax.cs
Eutherion/Shared/Text/Json/JsonWhitespaceSyntax.cs
#region License /********************************************************************************* * JsonWhitespaceSyntax.cs * * Copyright (c) 2004-2020 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
#region License /********************************************************************************* * JsonWhitespaceSyntax.cs * * Copyright (c) 2004-2020 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
apache-2.0
C#
5ac5e34f8585fc0910ef4d6cf81307ca90e51b47
Use a cleaner distance function
UselessToucan/osu,2yangk23/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu-new,peppy/osu,ppy/osu,EVAST9919/osu,peppy/osu,peppy/osu,smoogipoo/osu,2yangk23/osu
osu.Game/Screens/Edit/Compose/Components/CircularBeatSnapGrid.cs
osu.Game/Screens/Edit/Compose/Components/CircularBeatSnapGrid.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.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Rulesets.Objects; using osuTK; namespace osu.Game.Screens.Edit.Com...
// 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.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game.Rulesets.Objects; using osuTK; namespace osu.Game.Screens.Edit.Com...
mit
C#
7afd9322542bfb1b5fe9f38e316ac7b14bb836e3
Add Sleep(int) and Sleep(TimeSpan) to threading proxy.
ItzWarty/ItzWarty.Proxies.Api,the-dargon-project/ItzWarty.Proxies.Api
Threading/IThreadingProxy.cs
Threading/IThreadingProxy.cs
using System; namespace ItzWarty.Threading { public interface IThreadingProxy { void Sleep(int durationMilliseconds); void Sleep(TimeSpan duration); IThread CreateThread(ThreadEntryPoint entryPoint, ThreadCreationOptions options); ISemaphore CreateSemaphore(int initialCount, int maximumCoun...
using System; namespace ItzWarty.Threading { public interface IThreadingProxy { IThread CreateThread(ThreadEntryPoint entryPoint, ThreadCreationOptions options); ISemaphore CreateSemaphore(int initialCount, int maximumCount); ICountdownEvent CreateCountdownEvent(int initialCount); ICancella...
bsd-2-clause
C#
0cc1b9daa0bae55916c35ba4a1aec26fb9e20b29
Store game status in private instance variable
12joan/hangman
game.cs
game.cs
using System; using System.Collections.Generic; using System.Text; namespace Hangman { public class Game { public string Word; private List<char> GuessedLetters; private string StatusMessage; public Game(string word) { Word = word; GuessedLetters = new List<char>(); StatusMessage =...
using System; using System.Collections.Generic; using System.Text; namespace Hangman { public class Game { public string Word; private List<char> GuessedLetters; public Game(string word) { Word = word; GuessedLetters = new List<char>(); } public string ShownWord() { var obscur...
unlicense
C#
a0311a658c032247df049e33deb582359bcf7379
Clean up assembly info
versionone/arq,versionone/arq
arq/Properties/AssemblyInfo.cs
arq/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("arq")] [assembly: AssemblyDescription("Spark View Precompiler")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("VersionOne, Inc.")] [assembly: AssemblyProduct("arq")] [assembly: AssemblyCopyright("Copyright © VersionOne 2011")] [assembly: A...
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...
bsd-3-clause
C#
2d2b187012667389067ccdebe26ad6e88deb3141
remove idletimeout
ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azur...
src/ResourceManager/Network/Commands.Network/Models/PSPublicIpPrefix.cs
src/ResourceManager/Network/Commands.Network/Models/PSPublicIpPrefix.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
C#
38347a5bfa4335aa9beae119efe48149d644db15
Remove hard coded Url
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance/Configuration/EmployerFinanceConfiguration.cs
src/SFA.DAS.EmployerFinance/Configuration/EmployerFinanceConfiguration.cs
using SFA.DAS.Authentication; using SFA.DAS.EAS.Account.Api.Client; using SFA.DAS.Hmrc.Configuration; using SFA.DAS.Messaging.AzureServiceBus.StructureMap; namespace SFA.DAS.EmployerFinance.Configuration { public class EmployerFinanceConfiguration : ITopicMessagePublisherConfiguration { public string ...
using SFA.DAS.Authentication; using SFA.DAS.EAS.Account.Api.Client; using SFA.DAS.Hmrc.Configuration; using SFA.DAS.Messaging.AzureServiceBus.StructureMap; namespace SFA.DAS.EmployerFinance.Configuration { public class EmployerFinanceConfiguration : ITopicMessagePublisherConfiguration { public string ...
mit
C#
defcc2297795e36b252c5b3f0b0a6d8ce67f2ab9
change span to i until later date
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/stockportgov/Shared/Semantic/GlobalAlert.cshtml
src/StockportWebapp/Views/stockportgov/Shared/Semantic/GlobalAlert.cshtml
@using StockportWebapp.Models @using StockportWebapp.Utils @inject ICookiesHelper CookiesHelper @model Alert @{ var icons = new Dictionary<string, string>() { {Severity.Error, "exclamation-circle"}, {Severity.Information, "info-circle"}, {Severity.Warning, "exclamation-triangle"}, {Severity.Success, "check-circle...
@using StockportWebapp.Models @using StockportWebapp.Utils @inject ICookiesHelper CookiesHelper @model Alert @{ var icons = new Dictionary<string, string>() { {Severity.Error, "exclamation-circle"}, {Severity.Information, "info-circle"}, {Severity.Warning, "exclamation-triangle"}, {Severity.Success, "check-circle...
mit
C#
ac9c2202f354b8034dac6af9ed35fcff406debc1
Add default value for FlipTransformation in Droid
luberda-molinet/FFImageLoading,molinch/FFImageLoading,daniel-luberda/FFImageLoading,AndreiMisiukevich/FFImageLoading
source/FFImageLoading.Transformations.Droid/FlipTransformation.cs
source/FFImageLoading.Transformations.Droid/FlipTransformation.cs
using System; using Android.Graphics; using Android.Runtime; using Android.Util; namespace FFImageLoading.Transformations { [Preserve(AllMembers = true)] public class FlipTransformation: TransformationBase { public FlipTransformation() : this(FlipType.Horizontal) { } public FlipTransformation(FlipType f...
using System; using Android.Graphics; using Android.Runtime; using Android.Util; namespace FFImageLoading.Transformations { [Preserve(AllMembers = true)] public class FlipTransformation: TransformationBase { public FlipTransformation(FlipType flipType) { FlipType = flipType; } public override string Ke...
mit
C#
45fb36ce48d721c3a3c725aab0c7e711c8286325
Add MatchedProcess() to HmlLabelFormula
lou1306/CIV,lou1306/CIV
CIV.Hml/HmlFormula/HmlLabelFormula.cs
CIV.Hml/HmlFormula/HmlLabelFormula.cs
using System; using System.Linq; using System.Collections.Generic; using CIV.Interfaces; namespace CIV.Hml { /// <summary> /// Common implementation of Box, Diamond, WeakBox and WeakDiamond. /// </summary> /// <remarks> /// Notice that WeakBox and WeakDiamond will default to their "strong" ///...
using System; using System.Linq; using System.Collections.Generic; using CIV.Interfaces; namespace CIV.Hml { /// <summary> /// Common implementation of Box, Diamond, WeakBox and WeakDiamond. /// </summary> /// <remarks> /// Notice that WeakBox and WeakDiamond will default to their "strong" ///...
mit
C#
c291f39f81888b09fc2ef115e128c6ac67cfa1a9
Add missing test method call
martincostello/api,martincostello/api,martincostello/api
tests/API.Benchmarks/Program.cs
tests/API.Benchmarks/Program.cs
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the MIT license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Api.Benchmarks { using System; using System.Threading.Tasks; using BenchmarkDotNet.Running; /// <summary> ...
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the MIT license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Api.Benchmarks { using System; using System.Threading.Tasks; using BenchmarkDotNet.Running; /// <summary> ...
mit
C#
9a12909f09a377f9348a496f0e95a52c2b51cedf
Test ModDifficultyAdjust is actually taking effect
peppy/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu
osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModDifficultyAdjust.cs
osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModDifficultyAdjust.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Framework.Testing; using osu.Framework.Utils; using osu.Game.Graphics.Contai...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Rulesets.Osu.Mods; using osu.Game.Tests.Visual; namespace osu.Game.Rulesets.Osu.Tests.Mods { public class TestSceneOsuModDiffi...
mit
C#
71a8ecc3e3db693acabdee2171e37ba3003fb986
Fix oops
andrew-schofield/keepass2-haveibeenpwned
HaveIBeenPwned/HaveIBeenPwnedEntry.cs
HaveIBeenPwned/HaveIBeenPwnedEntry.cs
using System; namespace HaveIBeenPwned { public class HaveIBeenPwnedEntry : IBreach { public string Name { get; set; } public string Title { get; set; } public string Domain { get; set; } public DateTime BreachDate { get; set; } public DateTime AddDate { get; set; } ...
using System; namespace HaveIBeenPwned { public class HaveIBeenPwnedEntry public class HaveIBeenPwnedEntry : IBreach { public string Name { get; set; } public string Title { get; set; } public string Domain { get; set; } public DateTime BreachDate { get; set; } publ...
mit
C#
1c9a4bdf19c6665a913e769ef17c7dab5cf2adac
add dbsets for meal, ingrediants and mealplans
Deepikajovy/Meal-Planner,Deepikajovy/Meal-Planner,Deepikajovy/Meal-Planner
Backend/Backend/Models/IdentityModels.cs
Backend/Backend/Models/IdentityModels.cs
using System.Data.Entity; using System.Data.Entity.Core.Common.CommandTrees; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; namespace Backend.Models { // You can add profile data fo...
using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; namespace Backend.Models { // You can add profile data for the user by adding more properties to your ApplicationUser class, please vi...
apache-2.0
C#
c15a8cc9683519d6e0058fc27d44d1563bb2aca1
Fix not using correct path to runtime library
mirbegtlax/ConfuserEx,mirbegtlax/ConfuserEx,timnboys/ConfuserEx,Desolath/ConfuserEx3,JPVenson/ConfuserEx,HalidCisse/ConfuserEx,apexrichard/ConfuserEx,farmaair/ConfuserEx,MetSystem/ConfuserEx,AgileJoshua/ConfuserEx,manojdjoshi/ConfuserEx,HalidCisse/ConfuserEx,JPVenson/ConfuserEx,Immortal-/ConfuserEx,yeaicc/ConfuserEx,yu...
Confuser.Core/Services/RuntimeService.cs
Confuser.Core/Services/RuntimeService.cs
using System; using System.IO; using System.Reflection; using dnlib.DotNet; namespace Confuser.Core.Services { internal class RuntimeService : IRuntimeService { private ModuleDef rtModule; /// <inheritdoc /> public TypeDef GetRuntimeType(string fullName) { if (rtModule == null) { Module module = typeof...
using dnlib.DotNet; namespace Confuser.Core.Services { internal class RuntimeService : IRuntimeService { private ModuleDef rtModule; /// <inheritdoc /> public TypeDef GetRuntimeType(string fullName) { if (rtModule == null) { rtModule = ModuleDefMD.Load("Confuser.Runtime.dll"); rtModule.EnableTypeDe...
mit
C#
e467814489a0d86730f578e507691c84701e27cd
Change _creationOptions modifier to 'private'
advasoft/cmdargstool
src/net46/Advasoft.CmdArgsTool/Advasoft.CmdArgsTool/OptionsFactoryBase.cs
src/net46/Advasoft.CmdArgsTool/Advasoft.CmdArgsTool/OptionsFactoryBase.cs
 using System; namespace Advasoft.CmdArgsTool { public abstract class OptionsFactoryBase { private IOptionsPolicy _creationPolicy; private ILogger _logger; protected OptionsFactoryBase(IOptionsPolicy creationPolicy, ILogger logger) { _creationPolicy = creationPolic...
 using System; namespace Advasoft.CmdArgsTool { public abstract class OptionsFactoryBase { protected IOptionsPolicy _creationPolicy; private ILogger _logger; protected OptionsFactoryBase(IOptionsPolicy creationPolicy, ILogger logger) { _creationPolicy = creationPol...
mit
C#
d25b590f7891f6579f7f3724585ed202270882eb
Update AssemblyInfo.cs
dol-leodagan/DaocClientLib
DaocClientLib/Properties/AssemblyInfo.cs
DaocClientLib/Properties/AssemblyInfo.cs
#region Using directives using System; using System.Reflection; using System.Runtime.InteropServices; #endregion // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Asse...
#region Using directives using System; using System.Reflection; using System.Runtime.InteropServices; #endregion // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Asse...
mit
C#
edfa7c0f81e949f25643b1e56fabd6011ae14fb1
Fix using directives.
zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,malcolmr/nodatime,nodatime/nodatime,zaccharles/nodatime,jskeet/nodatime,nodatime/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,BenJenkinson/nodatime
src/NodaTime.Serialization.Test/JsonNet/NodaDurationConverterTest.cs
src/NodaTime.Serialization.Test/JsonNet/NodaDurationConverterTest.cs
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2010 Jon Skeet // // 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 // // h...
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2010 Jon Skeet // // 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 // // h...
apache-2.0
C#
ab4ceadf9fe6e0757c75ec5895cbc413ae60181b
revert example
pamidur/queryable-rest
samples/TestWebApp/Startup.cs
samples/TestWebApp/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json.Serialization; using QRest.Compiler.Standard; using QRest.Semantics.MethodChain; namespace TestWebApp { public class Sta...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json.Serialization; using QRest.Compiler.Standard; using QRest.Semantics.MethodChain; using QRest.Semantics.OData; namespace TestW...
mit
C#
c3689a5961237ad679ea17b60273e6e9955bdea3
Fix --max for Render-Palette.
Prof9/PixelPet
PixelPet/Commands/RenderPaletteCmd.cs
PixelPet/Commands/RenderPaletteCmd.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Text; namespace PixelPet.Commands { internal class RenderPaletteCmd : CliCommand { public RenderPaletteCmd() : base("Render-Palette", new Parameter[] { new Parameter("max", "...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Text; namespace PixelPet.Commands { internal class RenderPaletteCmd : CliCommand { public RenderPaletteCmd() : base("Render-Palette", new Parameter[] { new Parameter("max", "...
mit
C#
9eacf06da0295c94a016dc7b1e42c5ce96bcab5c
Use InvariantCulture to parse integers
carbon/Amazon
src/Amazon.Ses.Extensions/EmailMessageDecryptor.cs
src/Amazon.Ses.Extensions/EmailMessageDecryptor.cs
using System.Globalization; using System.Security.Cryptography; using System.Text.Json; using Amazon.Kms; using Amazon.S3; namespace Amazon.Ses; public sealed class EmailMessageDecryptor { private readonly KmsClient _kms; public EmailMessageDecryptor(KmsClient kms) { _kms = kms; } publ...
using System.Security.Cryptography; using System.Text.Json; using Amazon.Kms; using Amazon.S3; namespace Amazon.Ses; public sealed class EmailMessageDecryptor { private readonly KmsClient _kms; public EmailMessageDecryptor(KmsClient kms) { _kms = kms; } public async Task<byte[]> Decryp...
mit
C#
3db0482c8ff991c64ca8bda2247aedc69f3dd949
connect to the database
CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator
windows/ConviviumCalculator/MainViewModel.cs
windows/ConviviumCalculator/MainViewModel.cs
using SQLite.Net; using SQLite.Net.Platform.WinRT; using System.Collections.ObjectModel; namespace ConviviumCalculator { public class MainViewModel { private ObservableCollection<ListItem> listItems = new ObservableCollection<ListItem>(); public ObservableCollection<ListItem> ListItems ...
using Realms; using System.Collections.ObjectModel; using System.Linq; namespace ConviviumCalculator { public class MainViewModel { private ObservableCollection<ListItem> listItems = new ObservableCollection<ListItem>(); public ObservableCollection<ListItem> ListItems { get...
apache-2.0
C#
a8df53f199550cb178e8b8158f5c27e1c85e86e5
Set assembly version to 1.2.0.0
renber/SeafClient
SeafClient/Properties/AssemblyInfo.cs
SeafClient/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über folgende // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet si...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über folgende // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet si...
mit
C#
8652792563c8c0bd971f3e36c78ad43b66103d31
address review
Perspex/Perspex,wieslawsoltes/Perspex,grokys/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,jkoritzinsk...
src/Avalonia.Visuals/Rendering/SceneGraph/BitmapBlendModeNode.cs
src/Avalonia.Visuals/Rendering/SceneGraph/BitmapBlendModeNode.cs
using Avalonia.Platform; using Avalonia.Visuals.Media.Imaging; namespace Avalonia.Rendering.SceneGraph { /// <summary> /// A node in the scene graph which represents an opacity push or pop. /// </summary> internal class BitmapBlendModeNode : IDrawOperation { /// <summary> /// Initia...
using Avalonia.Platform; using Avalonia.Visuals.Media.Imaging; namespace Avalonia.Rendering.SceneGraph { /// <summary> /// A node in the scene graph which represents an opacity push or pop. /// </summary> internal class BitmapBlendModeNode : IDrawOperation { /// <summary> /// Initia...
mit
C#
7be2b046df5954b673879cee976d5ef75ee51cd1
Add assembly informational version
melcloud/WindowsServiceBootstrapper
source/GlobalAssemblyInfo/VersionAssemblyInfo.cs
source/GlobalAssemblyInfo/VersionAssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="VersionAssemblyInfo.cs" company="Yin Zhang"> // Copyright (c) 2013 Yin Zhang // // Permission is hereby granted, free of charge, to any person obtaining a copy of this soft...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="VersionAssemblyInfo.cs" company="Yin Zhang"> // Copyright (c) 2013 Yin Zhang // // Permission is hereby granted, free of charge, to any person obtaining a copy of this soft...
mit
C#
1c02f715d27fdf6c064464b9cc098a87a1fa84a9
make cookie keys case-insensitive
taka-oyama/UniHttp
Assets/UniHttp/Support/Cookie/CookieParser.cs
Assets/UniHttp/Support/Cookie/CookieParser.cs
using UnityEngine; using System.Collections.Generic; using System.Linq; using System; using System.Text; namespace UniHttp { internal sealed class CookieParser { internal List<Cookie> Parse(HttpResponse response) { List<Cookie> setCookies = new List<Cookie>(); if(response.Headers.Exist(HeaderField.SetCoo...
using UnityEngine; using System.Collections.Generic; using System.Linq; using System; using System.Text; namespace UniHttp { internal sealed class CookieParser { internal List<Cookie> Parse(HttpResponse response) { List<Cookie> setCookies = new List<Cookie>(); if(response.Headers.Exist(HeaderField.SetCoo...
mit
C#
f56bceab51a4e3a642afd27f93c2f643923120e1
add one more case
verybadcat/CSharpMath
CSharpMath.Tests/Generic/BiDictionaryTests.cs
CSharpMath.Tests/Generic/BiDictionaryTests.cs
using Xunit; namespace CSharpMath.Tests.Generic { public class BiDictionaryTests { [Fact] public void TestRemove() { var testBiDictionary = new BiDictionary<int, string> { { 0, "0" }, { 1, "1" }, { 2, "8" }, { 3, "10" } }; Assert.Equal(4, testBiDictionary.Fir...
using Xunit; namespace CSharpMath.Tests.Generic { public class BiDictionaryTests { [Fact] public void TestRemove() { var testBiDictionary = new BiDictionary<int, string> { { 0, "0" }, { 1, "1" }, { 2, "8" }, { 3, "10" } }; Assert.Equal(4, testBiDictionary.Fir...
mit
C#
cf827c39a186859b9f8613aaa7c0b258784a928f
add area api
netxph/cards
src/Cards.Web/Controllers/Api/AreasController.cs
src/Cards.Web/Controllers/Api/AreasController.cs
using Cards.Core; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Cards.Web.Controllers.Api { public class AreasController : ApiController { public List<Area> GetAll() { return Area.GetAll...
using Cards.Core; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Cards.Web.Controllers.Api { public class AreasController : ApiController { // GET api/areas public List<Area> Get() { ...
mit
C#
74db210f4d1629a88f32094b086a97a5d6affa28
Add function to IProvideExpenditureData GetAllEntries
xyon1/Expenditure-App
GeneralUseClasses/Services/IProvideExpenditureData.cs
GeneralUseClasses/Services/IProvideExpenditureData.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GeneralUseClasses.Contracts; namespace GeneralUseClasses.Services { public interface IProvideExpenditureData { IEnumerable<IExpenditureEntry> GetAllEntries(); IEnumerable<...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GeneralUseClasses.Contracts; namespace GeneralUseClasses.Services { public interface IProvideExpenditureData { IEnumerable<string> GetDominantTags(); IEnumerable<string> ...
apache-2.0
C#
1623785d49ce279c1c9319c509a2a6a9d3fe05a8
Fix summary of FileFormatVersions.Office2021 (#1059)
tomjebo/Open-XML-SDK,ThomasBarnekow/Open-XML-SDK,OfficeDev/Open-XML-SDK
src/DocumentFormat.OpenXml/FileFormatVersions.cs
src/DocumentFormat.OpenXml/FileFormatVersions.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace DocumentFormat.OpenXml { /// <summary> /// Defines the Office Open XML file format version. /// </summary> [Flags] public ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace DocumentFormat.OpenXml { /// <summary> /// Defines the Office Open XML file format version. /// </summary> [Flags] public ...
mit
C#
ed6468394a45da0ea0ad3f91c7f1177513f8de1f
Refactor AutoAssignRoleCommands.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Modules/Administration/AutoAssignRoleCommands.cs
src/MitternachtBot/Modules/Administration/AutoAssignRoleCommands.cs
using System.Linq; using System.Threading.Tasks; using Discord; using Discord.Commands; using Mitternacht.Common.Attributes; using Mitternacht.Extensions; using Mitternacht.Modules.Administration.Services; using Mitternacht.Database; namespace Mitternacht.Modules.Administration { public partial class Administration ...
using System.Linq; using System.Threading.Tasks; using Discord; using Discord.Commands; using Mitternacht.Common.Attributes; using Mitternacht.Extensions; using Mitternacht.Modules.Administration.Services; using Mitternacht.Database; namespace Mitternacht.Modules.Administration { public partial class Administration ...
mit
C#
b3a3edd30af0c1a403bfb9f8fe9582e09d916eb3
Improve effect runner
mob-sakai/UIEffect,mob-sakai/UIEffect
Assets/Coffee/UIExtensions/UIEffect/Scripts/Common/EffectRunner.cs
Assets/Coffee/UIExtensions/UIEffect/Scripts/Common/EffectRunner.cs
using UnityEngine; using System; using System.Collections.Generic; namespace Coffee.UIExtensions { /// <summary> /// Effect Runner. /// </summary> [Serializable] public class EffectRunner { //################################ // Public Members. //################################ /// <summary> /// Gets ...
using UnityEngine; using System; namespace Coffee.UIExtensions { /// <summary> /// Effect Runner. /// </summary> [Serializable] public class EffectRunner { //################################ // Public Members. //################################ /// <summary> /// Gets or sets a value indicating whether...
mit
C#
9c65e72df3a3a407ecc218763969d4269416d2c0
Fix typo
tzachshabtay/MonoAGS
Source/AGS.API/Editor/Attributes/PropertyAttribute.cs
Source/AGS.API/Editor/Attributes/PropertyAttribute.cs
using System; namespace AGS.API { /// <summary> /// Allows attaching an attribute to a property which controls various aspects on how it will /// look when shown via the inspector. /// </summary> [AttributeUsage(AttributeTargets.Property)] public class PropertyAttribute : Attribute { ...
using System; namespace AGS.API { /// <summary> /// Allows attaching an attribute to a property which controls various aspects on how it will /// look when shown via the inspector. /// </summary> [AttributeUsage(AttributeTargets.Property)] public class PropertyAttribute : Attribute { ...
artistic-2.0
C#
70c6a8bcf8d62ae86f4c02d9b04abd279d26e48e
Add action
muhammedikinci/FuzzyCore
FuzzyCore/ConcreteCommands/GetFile_Command.cs
FuzzyCore/ConcreteCommands/GetFile_Command.cs
using System; using FuzzyCore.Data; using FuzzyCore.Commands; using FuzzyCore.CommandClasses; namespace FuzzyCore.Server { public class GetFile_Command : Command { public GetFile_Command(JsonCommand comm) : base(comm) { } public override void Execute() { Ge...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FuzzyCore.Data; using FuzzyCore.Commands; namespace FuzzyCore.Server { public class GetFile_Command : Command { public GetFile_Command(JsonCommand comm) : base(comm) { ...
mit
C#
2feaf8dba94fbb712106a9fb9796530f63f92742
Fix command usage doc
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/CommandLine/PasswordFinderCommand.cs
WalletWasabi.Gui/CommandLine/PasswordFinderCommand.cs
using System; using System.Collections.Generic; using Mono.Options; using WalletWasabi.KeyManagement; namespace WalletWasabi.Gui.CommandLine { internal class PasswordFinderCommand : Command { public string Wallet { get; set; } public string Language { get; set; } public bool UseNumbers { get; set; } public b...
using System; using System.Collections.Generic; using Mono.Options; using WalletWasabi.KeyManagement; namespace WalletWasabi.Gui.CommandLine { internal class PasswordFinderCommand : Command { public string Wallet { get; set; } public string Language { get; set; } public bool UseNumbers { get; set; } public b...
mit
C#
d95840e3dd30ce2526c7c9cc27367257cd3aba61
Update AssemblyInfo.cs
dotJEM/json-visitor
DotJEM.Json.Visitor/DotJEM.Json.Visitor/Properties/AssemblyInfo.cs
DotJEM.Json.Visitor/DotJEM.Json.Visitor/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("Do...
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("Do...
mit
C#
cfa716c7cff56f03f12469469aef3566cdba060e
Make responsible master more clear
leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Models/EditCharacterGroupViewModel.cs
Joinrpg/Models/EditCharacterGroupViewModel.cs
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using JoinRpg.DataModel; namespace JoinRpg.Web.Models { public abstract class CharacterGroupViewModelBase : EditGameObjectViewModelBase { [DisplayName("Название локации"), Required] ...
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using JoinRpg.DataModel; namespace JoinRpg.Web.Models { public abstract class CharacterGroupViewModelBase : EditGameObjectViewModelBase { [DisplayName("Название локации"), Required] ...
mit
C#
df3a4dd3a2b6e5dc05ed56c590ec192d2ddc863a
Fix prices with only 2 decimal places not working.
babelshift/SourceSchemaParser
SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs
SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceSchemaParser.JsonConverters { public class DotaSchemaItemPriceJsonConverter : JsonConverter { public override void Writ...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceSchemaParser.JsonConverters { public class DotaSchemaItemPriceJsonConverter : JsonConverter { public override void Writ...
mit
C#
dd9d03973872bcfd1e8c0561918fb4a580482dbc
Bump Gson version
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Android/GoogleGson/build.cake
Android/GoogleGson/build.cake
#load "../../common.cake" var TARGET = Argument ("t", Argument ("target", "Default")); var JAR_VERSION = "2.8.5"; var JAR_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/google/code/gson/gson/{0}/gson-{0}.jar", JAR_VERSION); var JAR_DEST = "./externals/gson.jar"; var buildSpec = new BuildSp...
#load "../../common.cake" var TARGET = Argument ("t", Argument ("target", "Default")); var JAR_VERSION = "2.8.1"; var JAR_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/google/code/gson/gson/{0}/gson-{0}.jar", JAR_VERSION); var JAR_DEST = "./externals/gson.jar"; var buildSpec = new BuildSp...
mit
C#
f74fe4962bf06009aa2c818cc3161e67a79675b7
Fix issue with initial directory for game content
weltkante/SharpDX,Ixonos-USA/SharpDX,PavelBrokhman/SharpDX,wyrover/SharpDX,TigerKO/SharpDX,shoelzer/SharpDX,TechPriest/SharpDX,weltkante/SharpDX,VirusFree/SharpDX,weltkante/SharpDX,dazerdude/SharpDX,RobyDX/SharpDX,waltdestler/SharpDX,shoelzer/SharpDX,Ixonos-USA/SharpDX,shoelzer/SharpDX,RobyDX/SharpDX,waltdestler/SharpD...
Source/Toolkit/SharpDX.Toolkit.Game/Desktop/GamePlatformDesktop.cs
Source/Toolkit/SharpDX.Toolkit.Game/Desktop/GamePlatformDesktop.cs
// Copyright (c) 2010-2013 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-2013 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#
da33ea9022e74976b30153b1e0ade43cd283d2d3
Update ApplicationInsightsExceptionTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/ApplicationInsightsExceptionTelemeter.cs
TIKSN.Core/Analytics/Telemetry/ApplicationInsightsExceptionTelemeter.cs
using System; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.ApplicationInsights.DataContracts; namespace TIKSN.Analytics.Telemetry { public class ApplicationInsightsExceptionTelemeter : IExceptionTelemeter { public async Task TrackException(Exception exception) => await this....
using Microsoft.ApplicationInsights.DataContracts; using System; using System.Diagnostics; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class ApplicationInsightsExceptionTelemeter : IExceptionTelemeter { public async Task TrackException(Exception exception) { ...
mit
C#
cedcd4e2c63db898a7d7f1ba7a78da7930fd394f
fix #33 - using settings.xml in working folder if exists
Orbmu2k/nvidiaProfileInspector,Orbmu2k/nvidiaProfileInspector
nspector/Common/Helper/UserSettings.cs
nspector/Common/Helper/UserSettings.cs
using System; using System.IO; using System.Text; using System.Windows.Forms; namespace nspector.Common.Helper { public class UserSettings { public int WindowTop { get; set; } public int WindowLeft { get; set; } public int WindowWidth { get; set; } public int WindowHeight { ...
using System; using System.IO; using System.Text; using System.Windows.Forms; namespace nspector.Common.Helper { public class UserSettings { public int WindowTop { get; set; } public int WindowLeft { get; set; } public int WindowWidth { get; set; } public int WindowHeight { ...
mit
C#
4548977a90bfe7d62203c2a2a3d9284ba595d0f1
Fix broken create pool test.
srottem/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,anastasia-tarasova/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk...
wrappers/dotnet/indy-sdk-dotnet-test/PoolTests/CreatePoolTest.cs
wrappers/dotnet/indy-sdk-dotnet-test/PoolTests/CreatePoolTest.cs
using Hyperledger.Indy.PoolApi; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Threading.Tasks; namespace Hyperledger.Indy.Test.PoolTests { [TestClass] public class CreatePoolTest : IndyIntegrationTestBase { [TestMethod] public async Task TestCreatePoolWo...
using Hyperledger.Indy.PoolApi; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Threading.Tasks; namespace Hyperledger.Indy.Test.PoolTests { [TestClass] public class CreatePoolTest : IndyIntegrationTestBase { [TestMethod] public async Task TestCreatePoolWo...
apache-2.0
C#
3a5ead43672e27740db70d28f84591ade79ca5de
fix crash on S_SYSTEM_MESSAGE
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Parsing/Messages/S_SYSTEM_MESSAGE.cs
TCC.Core/Parsing/Messages/S_SYSTEM_MESSAGE.cs
using TCC.ViewModels; using Tera.Game; using Tera.Game.Messages; namespace TCC.Parsing.Messages { public class S_SYSTEM_MESSAGE : ParsedMessage { public string Message { get; private set; } public S_SYSTEM_MESSAGE(TeraMessageReader reader) : base(reader) { try {...
using Tera.Game; using Tera.Game.Messages; namespace TCC.Parsing.Messages { public class S_SYSTEM_MESSAGE : ParsedMessage { public string Message { get; private set; } public S_SYSTEM_MESSAGE(TeraMessageReader reader) : base(reader) { reader.Skip(2); Message = r...
mit
C#
6ee09ac495cf276079292ae5437c971a4d3915bb
Add configuration to the constructor
bloritsch/DHaven.Faux
DHaven.Faux/FauxCollection.cs
DHaven.Faux/FauxCollection.cs
using DHaven.Faux.Compiler; using DHaven.Faux.HttpSupport; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.IO; using System.Reflection; namespace DHaven.Faux { /// <summary> /// Registers and creates all t...
using DHaven.Faux.Compiler; using DHaven.Faux.HttpSupport; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.IO; using System.Reflection; namespace DHaven.Faux { /// <summary> /// Registers and creates all t...
apache-2.0
C#
d3c19392cb2c7e9227c3dbee12f2ec0639bbc92e
Change Data.cs methods from internal to public
lavaleak/diplomata-unity
Diplomata/Persistence/Data.cs
Diplomata/Persistence/Data.cs
using System; using System.Collections.Generic; using LavaLeak.Diplomata.Helpers; using LavaLeak.Diplomata.Models; namespace LavaLeak.Diplomata.Persistence { /// <summary> /// The abstract class to the main models data store. /// </summary> [Serializable] abstract public class Data { /// <summary> ...
using System; using System.Collections.Generic; using LavaLeak.Diplomata.Helpers; using LavaLeak.Diplomata.Models; namespace LavaLeak.Diplomata.Persistence { /// <summary> /// The abstract class to the main models data store. /// </summary> [Serializable] abstract public class Data { /// <summary> ...
mit
C#
6c3f1fd1cb79636cf99fa7074b4827ac849e18bd
Update PexelsClient.cs
Selz/PexelsNet
PexelsNet/PexelsClient.cs
PexelsNet/PexelsClient.cs
using System; using System.Net.Http; using Newtonsoft.Json; using System.Threading.Tasks; namespace PexelsNet { public class PexelsClient { private const string BaseUrl = "https://api.pexels.com/v1/"; private readonly HttpClient _client = new HttpClient(); public PexelsClient(string a...
using System; using System.Net.Http; using Newtonsoft.Json; using System.Threading.Tasks; namespace PexelsNet { public class PexelsClient { private const string BaseUrl = "http://api.pexels.com/v1/"; private readonly HttpClient _client = new HttpClient(); public PexelsClient(string ap...
mit
C#
46fba249241b89fbbc5721f15bd267147e18c4a6
Indent with 4 spaces
msarchet/Bundler,msarchet/Bundler
BundlerMiddleware/Replacer.cs
BundlerMiddleware/Replacer.cs
namespace BundlerMiddleware { using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; public class Replacer { private List<ReplacementPair> matchers = new List<ReplacementPair>(); ...
namespace BundlerMiddleware { using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; public class Replacer { private List<ReplacementPair> matchers = new List<ReplacementPair>(); ...
mit
C#
22098a3386aa6238a6ad91d489b612e6e44102f1
Remove leftover code
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 static class CommandInterpreter { /// <returns>If the GUI should run or n...
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 static class CommandInterpreter { /// <returns>If the GUI should run or n...
mit
C#
b3023cb1164f25a1917ff500bc6db96d36d94526
remove semicolon ???
mzrimsek/resume-site-api
Web/ActionFilters/ModelStateValidationAttribute.cs
Web/ActionFilters/ModelStateValidationAttribute.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace Web.ActionFilters { public class ModelStateValidationAttribute : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext context) { if (!context.ModelState.IsValid) ...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace Web.ActionFilters { public class ModelStateValidationAttribute : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext context) { if (!context.ModelState.IsValid) ...
mit
C#
3c9ee6abc11f227eb6a18d10b66f0c7e6aedf04b
Use local static to determine score per spinner tick
NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu
osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBonusDisplay.cs
osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBonusDisplay.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using osu.Game.Graphics.Sprites; namespace osu.Game.Rulesets.Osu.Objects....
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using osu.Game.Graphics.Sprites; using osu.Game.Rulesets.Judgements; name...
mit
C#
8157eefe89e104ff26e22275157b901b40ac8fb3
Update Delete.cshtml
CarmelSoftware/Generic-Data-Repository-for-ASP.NET-MVC
Views/Blogs/Delete.cshtml
Views/Blogs/Delete.cshtml
@model GenericRepository.Models.Blog @{ ViewBag.Title = "Delete"; } <div class="jumbotron"> <h2>Generic Data Repository - Delete</h2><br /><h4>By Carmel Schvartzman</h4> </div> <div class="jumbotron"> <h3>Are you sure you want to delete this?</h3> <fieldset> <legend>Blog</legend> <div class="display-l...
mit
C#
a954d9a3337ae545d18c957287099dbc9fe03894
Update FieldLocale
asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET
Examples/CSharp/Programming-Documents/Fields/SpecifylocaleAtFieldlevel.cs
Examples/CSharp/Programming-Documents/Fields/SpecifylocaleAtFieldlevel.cs
using System; using System.Collections; using System.IO; using Aspose.Words; using Aspose.Words.Tables; using Aspose.Words.Fields; using Aspose.Words.Layout; namespace Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Fields { class SpecifylocaleAtFieldlevel { public static void Run() ...
using System; using System.Collections; using System.IO; using Aspose.Words; using Aspose.Words.Tables; using Aspose.Words.Fields; using Aspose.Words.Layout; namespace Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Fields { class SpecifylocaleAtFieldlevel { public static void Run() ...
mit
C#
13582648159adaa12c9b1b2ba57a6fe946b006c8
Fix FEZ not exiting when FEZMod PreInitialize crashes
AngelDE98/FEZMod,AngelDE98/FEZMod
FEZ.Mod.mm/FezGame/Program.cs
FEZ.Mod.mm/FezGame/Program.cs
using System; using FezGame.Mod; namespace FezGame { public class Program { public static void orig_Main(string[] args) { } public static void Main(string[] args) { try { FEZMod.PreInitialize(args); } catch (Exception e) { ModLogger.Log("FEZMod", "Handl...
using System; using FezGame.Mod; namespace FezGame { public class Program { public static void orig_Main(string[] args) { } public static void Main(string[] args) { try { FEZMod.PreInitialize(args); } catch (Exception e) { ModLogger.Log("FEZMod", "Handl...
mit
C#
0fc0c922dc6febcf57f973a182efee1b618bfedd
Refactor HasValue()
rmandvikar/csharp-trie,rmandvikar/csharp-trie
src/rm.Trie/TrieNode.TValue.cs
src/rm.Trie/TrieNode.TValue.cs
using System; using System.Collections.Generic; using System.Linq; namespace rm.Trie { /// <summary> /// TrieNode[TValue] node to save TValue item. /// </summary> /// <typeparam name="TValue">Type of Value at each TrieNode.</typeparam> public class TrieNode<TValue> : TrieNodeBase { #region data members ///...
using System; using System.Collections.Generic; using System.Linq; namespace rm.Trie { /// <summary> /// TrieNode[TValue] node to save TValue item. /// </summary> /// <typeparam name="TValue">Type of Value at each TrieNode.</typeparam> public class TrieNode<TValue> : TrieNodeBase { #region data members ///...
mit
C#
a3c4a630e68182ce30ac59f1f5bd472a59f592ec
Update AssemblyInfo.cs
ehuna/HeroToolbox
src/AssemblyInfo.cs
src/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("ExampleApp")] [assembly: Ass...
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("ExampleApp")] [assembly: Asse...
mit
C#
2123c13a1e434bb856b194f7270bc2fd9bd2fd98
Fix typo in IUnit docs (#5)
ForNeVeR/TankDriver
TankDriver.App/Logic/IUnit.cs
TankDriver.App/Logic/IUnit.cs
using TankDriver.Models; namespace TankDriver.Logic { /// <summary> /// Interface representing any game unit. /// </summary> interface IUnit { /// <summary> /// Unit model. /// </summary> /// <returns>Reference to this unit's model.</returns> IModel GetModel(); } }
using TankDriver.Models; namespace TankDriver.Logic { /// <summary> /// Interface representing any game unit. /// </summary> interface IUnit { /// <summary> /// Unit model. /// </summary> /// <returns>Reference ti this unit's model.</returns> IModel GetModel(); } }
mit
C#
9600a56742079d09ce827d16588179f5635833d3
Fix dependencies
polseane9067/1610-oct17-dotnet
MonsterData/MonsterData.DataClient/IMonsterService.cs
MonsterData/MonsterData.DataClient/IMonsterService.cs
using MonsterData.DataClient.Models; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace MonsterData.DataClient { [ServiceContract] public interface IMonsterService { ...
using MonsterData.DataClient.Models; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace MonsterData.DataClient { [ServiceContract] public interface IMonsterService { ...
mit
C#
5099b11d42588a1f6ab8f5eceab1cf66e7381b25
修正 首頁、聯絡方式、關於 的 Url
hatelove/MyMvcHomework,hatelove/MyMvcHomework,hatelove/MyMvcHomework
MyMoney/MyMoney/Views/Shared/_AccountingLayout.cshtml
MyMoney/MyMoney/Views/Shared/_AccountingLayout.cshtml
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr"...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr"...
mit
C#
d66928c6a88bc4c87cd2029ad357cb60b90f60fa
Introduce difference-enumerating method between touch states
smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework
osu.Framework/Input/States/TouchState.cs
osu.Framework/Input/States/TouchState.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 System.Linq; using osuTK; namespace osu.Framework.Input.States { public class TouchState { /// <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; using osuTK; namespace osu.Framework.Input.States { public class TouchState { /// <summary> /// The maximum amount of touches this ...
mit
C#
815a708ab9abdb8080b9c14b90147b609340464d
Change rule to use delegates, string will move to implemenation detail
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
Engine/Rules/Entities/Rule.cs
Engine/Rules/Entities/Rule.cs
using Engine.Rules.Matcher; using Engine.Rules.ValueDistribution; namespace Engine { public class Rule { public Matcher Matcher; public ValueDistributor ValuesDisturbtion; } }
namespace Engine { public class Rule { public string Matcher; public string ValuesDisturbtion; } }
mit
C#
5c66c214044cf2b9409c213cb011db16baf2e587
Update Viktor.cs
FireBuddy/adevade
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
mit
C#
3d133ec3ba8a06fe9c744cef9a56144bac3b1587
Update description
Pathoschild/StardewMods
Automate/Framework/Models/ModCompatibilityConfig.cs
Automate/Framework/Models/ModCompatibilityConfig.cs
namespace Pathoschild.Stardew.Automate.Framework.Models { /// <summary>Mod compatibility options.</summary> internal class ModCompatibilityConfig { /********* ** Accessors *********/ /// <summary>Whether to enable compatibility with Better Junimos. If it's installed, Junimo h...
namespace Pathoschild.Stardew.Automate.Framework.Models { /// <summary>Mod compatibility options.</summary> internal class ModCompatibilityConfig { /********* ** Accessors *********/ /// <summary>Whether to enable compatibility with Better Junimos. If it's installed, Junimo h...
mit
C#
a249a164f73ae18a2acae5fa2ca3442662690058
Fix HitBTC again
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer.Rating/Providers/HitBTCRateProvider.cs
BTCPayServer.Rating/Providers/HitBTCRateProvider.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Services.Rates; using Newtonsoft.Json.Linq; namespace BTCPayServer.Rating { public class HitBTCRateProvider : IRateProvider { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Services.Rates; using Newtonsoft.Json.Linq; namespace BTCPayServer.Rating { public class HitBTCRateProvider : IRateProvider { ...
mit
C#
ce1379ef9aa5464afb0a2e3abb495a685c8864df
Update PowerShellExceptionTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellExceptionTelemeter.cs
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellExceptionTelemeter.cs
using System; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellExceptionTelemeter : IExceptionTelemeter { private readonly Cmdlet cmdlet; public PowerShellExceptionTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet; ...
using System; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellExceptionTelemeter : IExceptionTelemeter { private readonly Cmdlet cmdlet; public PowerShellExceptionTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet; ...
mit
C#
3259f01a59ada8e3c945342b0a3e7de8a122d19b
Update TestConfigurationRootSetup.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/DependencyInjection/TestConfigurationRootSetup.cs
TIKSN.UnitTests.Shared/DependencyInjection/TestConfigurationRootSetup.cs
using Microsoft.Extensions.Configuration; using TIKSN.Configuration; namespace TIKSN.DependencyInjection.Tests { public class TestConfigurationRootSetup : ConfigurationRootSetupBase { protected override void SetupConfiguration(IConfigurationBuilder builder) => base.SetupConfiguration(builder); } }
using Microsoft.Extensions.Configuration; using TIKSN.Configuration; namespace TIKSN.DependencyInjection.Tests { public class TestConfigurationRootSetup : ConfigurationRootSetupBase { protected override void SetupConfiguration(IConfigurationBuilder builder) { base.SetupConfiguration...
mit
C#
90b458f3aa35a26a1ba0395fd8bfa9d420c6da20
Change the method to expression body definition
tparviainen/oscilloscope
SCPI/RAW.cs
SCPI/RAW.cs
namespace SCPI { public class RAW : ICommand { public string Description => "Send a raw SCPI command to instrument"; public string Command(params string[] parameters) { if (parameters.Length != 0) { if (parameters.Length > 1) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SCPI { public class RAW : ICommand { public string Description => "Send a raw SCPI command to instrument"; public string Command(params string[] parameters) { if (parameters.Len...
mit
C#
af4c6276e46b82b7a6779d2424b2dcad4284323e
Adjust transforms of EditorScreen
ppy/osu,EVAST9919/osu,DrabWeb/osu,2yangk23/osu,naoey/osu,naoey/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,Nabile-Rahmani/osu,smoogipoo/osu,Frontear/osuKyzer,DrabWeb/osu,ppy/osu,ppy/osu,...
osu.Game/Screens/Edit/Screens/EditorScreen.cs
osu.Game/Screens/Edit/Screens/EditorScreen.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 OpenTK; using OpenTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framew...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK; using OpenTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framew...
mit
C#
84710d34f46c5e2fc6fddba5b8cc166602b65245
update DisplayValueDictionary
Picturepark/Picturepark.SDK.DotNet
src/Picturepark.SDK.V1.Contract/Partials/DisplayValueDictionary.cs
src/Picturepark.SDK.V1.Contract/Partials/DisplayValueDictionary.cs
namespace Picturepark.SDK.V1.Contract { public partial class DisplayValueDictionary { /// <summary> /// Display value for <see cref="DisplayPatternType.Name"/> /// </summary> public string Name => this[nameof(DisplayPatternType.Name).ToLowerCamelCase()]; /// <summary> ...
namespace Picturepark.SDK.V1.Contract { public partial class DisplayValueDictionary { /// <summary> /// Display value for <see cref="DisplayPatternType.Name"/> /// </summary> public string Name => this[nameof(DisplayPatternType.Name).ToLowerCamelCase()]; /// <summary> ...
mit
C#
009dbd3d6bf920e91695c1861663101c37b9acfe
add loggging in print error.
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
CSharpGL/GLAPI/GL.PrintError.cs
CSharpGL/GLAPI/GL.PrintError.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; namespace CSharpGL { public partial class GL { /// <summary> /// /// </summary> public void PrintError() { var error = (ErrorCode)GL.Instance.GetErro...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; namespace CSharpGL { public partial class GL { /// <summary> /// /// </summary> public void PrintError() { var error = (ErrorCode)GL.Instance.GetErro...
mit
C#
3ff8bb3e73ebf8d962faa5c7871e3b2385f4c8ce
Implement Math.{Min,Max} for Int32
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
stdlib/corlib/Math.cs
stdlib/corlib/Math.cs
namespace System { /// <summary> /// Defines common mathematical functions and operations. /// </summary> public static class Math { public const double PI = 3.14159265358979; /// <summary> /// Gets the largest of the given two integers. /// </summary> /// <p...
namespace System { /// <summary> /// Defines common mathematical functions and operations. /// </summary> public static class Math { public const double PI = 3.14159265358979; } }
mit
C#
e771993e798c1b4ab4708eae4bf14cc025afce71
update build script
aritchie/userdialogs
build.cake
build.cake
#addin "Cake.Xamarin" #addin "Cake.FileHelpers" var target = Argument("target", Argument("t", "publish")); Setup(() => { DeleteFiles("./output/*.*"); if (!DirectoryExists("./output")) CreateDirectory("./output"); }); Task("build") .Does (() => { NuGetRestore("./src/lib.sln"); MSBuild("./src/lib.sln", x => x...
#addin "Cake.Xamarin" #addin "Cake.FileHelpers" var target = Argument("target", Argument("t", "nuget")); Setup(() => { DeleteFiles("./output/*.*"); if (!DirectoryExists("./output")) CreateDirectory("./output"); }); Task("build") .Does (() => { NuGetRestore("./src/lib.sln"); DotNetBuild("./src/lib.sln", c ...
mit
C#
7d037f41b276c22bf55c85be209744c65a4842e8
Fix build
Catel/Catel.Fody
build.cake
build.cake
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "Catel.Fody"; Parameters["Company"] = "CatenaLogic"; Parameters["Rep...
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "Catel.Fody"; Parameters["Company"] = "CatenaLogic"; Parameters["Rep...
mit
C#
61230bfe826a3f98679d80b492df33c047d53454
Update SchemaIdManager.cs
domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore
src/Swashbuckle.AspNetCore.SwaggerGen/Generator/SchemaIdManager.cs
src/Swashbuckle.AspNetCore.SwaggerGen/Generator/SchemaIdManager.cs
using System; using System.Collections.Generic; using System.Linq; namespace Swashbuckle.AspNetCore.SwaggerGen { public class SchemaIdManager { private readonly Func<Type, string> _schemaIdSelector; private readonly IDictionary<Type, string> _schemaIdMap; public SchemaIdManager(Func<T...
using System; using System.Collections.Generic; using System.Linq; namespace Swashbuckle.AspNetCore.SwaggerGen { public class SchemaIdManager { private readonly Func<Type, string> _schemaIdSelector; private readonly IDictionary<Type, string> _schemaIdMap; public SchemaIdManager(Func<T...
mit
C#
3292b599782984ef15a12b9e1b351fccf059db9e
Replace UrlHelperBase with IUrlHelper so it can be used in Views
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderUrlHelper/Core/ProviderUrlHelperExtensions.cs
src/SFA.DAS.ProviderUrlHelper/Core/ProviderUrlHelperExtensions.cs
#if NETCOREAPP using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; namespace SFA.DAS.ProviderUrlHelper.Core { public static class ProviderUrlHelperExtensions { public static string ProviderCommitmentsLink(this IUrlHelper helper, string path) { var linkGenerator = GetLi...
#if NETCOREAPP using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Routing; namespace SFA.DAS.ProviderUrlHelper.Core { public static class ProviderUrlHelperExtensions { public static string ProviderCommitmentsLink(this UrlHelperBase helper, string path) { var linkGenera...
mit
C#
dd3215178a7eb28bdb4b530ddaf2b8151115f9a8
Improve stack strings in telemetry reports
khyperia/roslyn,jaredpar/roslyn,ljw1004/roslyn,sharwell/roslyn,dotnet/roslyn,jcouv/roslyn,akrisiun/roslyn,xasx/roslyn,ericfe-ms/roslyn,robinsedlaczek/roslyn,khellang/roslyn,jeffanders/roslyn,mgoertz-msft/roslyn,dpoeschl/roslyn,leppie/roslyn,vslsnap/roslyn,bbarry/roslyn,akrisiun/roslyn,weltkante/roslyn,mattscheffer/rosl...
src/VisualStudio/Core/Def/Implementation/Watson/WatsonReporter.cs
src/VisualStudio/Core/Def/Implementation/Watson/WatsonReporter.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.Text; using System.Reflection; using Microsoft.VisualStudio.LanguageServices.Implementation.Watson; usin...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Diagnostics; using System.Text; using System.Reflection; using Microsoft.VisualStudio.LanguageServices.Implementation.Watson; usin...
mit
C#
579247b21201429986dc69ce5bfa080ae3c5c7e2
rename var
aritchie/notifications
Plugin.Notifications.Abstractions/INotifications.cs
Plugin.Notifications.Abstractions/INotifications.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Plugin.Notifications { public interface INotifications { /// <summary> /// This is required on iOS to trigger permission request /// </summary> Task<bool> RequestPermission(); ///...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Plugin.Notifications { public interface INotifications { /// <summary> /// This is required on iOS to trigger permission request /// </summary> Task<bool> RequestPermission(); ///...
mit
C#
463f17b4e79f37901da7f6748812bcd4e0fd3c8d
Use ExpectedExceptionAttribute
mrahhal/Konsola
Konsola.Tests/ParsingTests.cs
Konsola.Tests/ParsingTests.cs
//------------------------------------------------------------------------------ // Copyright (c) 2015, Mohammad Rahhal @mrahhal //------------------------------------------------------------------------------ using Konsola.Attributes; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Lin...
//------------------------------------------------------------------------------ // Copyright (c) 2015, Mohammad Rahhal @mrahhal //------------------------------------------------------------------------------ using Konsola.Attributes; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Lin...
mit
C#
7ded881496ef7e260c8606882251c2a538c652b6
Simplify GenerateIsLazy test
morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,fsateler/MoreLINQ
MoreLinq.Test/GenerateTest.cs
MoreLinq.Test/GenerateTest.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
apache-2.0
C#
7a0973051e9b2663c70cbb269b7843512298527e
Add datasource support for streaming model
tobyclh/UnityCNTK,tobyclh/UnityCNTK
Assets/UnityCNTK/Scripts/Models/StreamingModel.cs
Assets/UnityCNTK/Scripts/Models/StreamingModel.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityCNTK; using CNTK; using System; namespace UnityCNTK{ /// <summary> /// Streaming model streams a datasource to a model every set period /// </summary> public class StreamingModel: Model { public new DataS...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityCNTK; using CNTK; using System; namespace UnityCNTK{ public class StreamingModel<T, V> : Model where T:IConvertible where V:IConvertible { public new T input; public new V output; // Evaluation carry ou...
mit
C#
91fcac070b6675b57894c4c305966e0142b04045
Fix TextParentName not applying
NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Menu/TextParentName.cs
Assets/Scripts/Menu/TextParentName.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [ExecuteInEditMode] public class TextParentName : MonoBehaviour { #pragma warning disable 0649 //Serialized Fields [SerializeField] private Text text; [SerializeField] private bool editorModeOnly = tr...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [ExecuteInEditMode] public class TextParentName : MonoBehaviour { #pragma warning disable 0649 //Serialized Fields [SerializeField] private Text text; #pragma warning restore 0649 void Start() { ...
mit
C#
7b0dacbdf63d67592db39f577c1600fee026a7e4
update DbContext
dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-works...
src/BackEnd/Data/ApplicationDbContext.cs
src/BackEnd/Data/ApplicationDbContext.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore.Design; namespace BackEnd.Data { public class ApplicationDbContext : DbContext { pub...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.EntityFrameworkCore.Design; namespace BackEnd.Data { public class ApplicationDbContext : DbContext { pub...
mit
C#
00b196256a798232deaa3c6d38404cc03a618f4a
Fix bug when a user tries to join an already created multiplayer match
alvarogzp/nextation,alvarogzp/nextation,alvarogzp/nextation
Assets/Scripts/Network/Waiting/Gui/Impl/ClientNetworkWaitingGui.cs
Assets/Scripts/Network/Waiting/Gui/Impl/ClientNetworkWaitingGui.cs
public class ClientNetworkWaitingGui : AbstractNetworkWaitingGui { private ClientNetworkEntityWaiting network; private GuiButtonRendererControl[] buttons = new GuiButtonRendererControl[0]; public ClientNetworkWaitingGui(NetworkEntityWaiting networkEntity) { network = (ClientNetworkEntityWaiting) networkEntity; ...
public class ClientNetworkWaitingGui : AbstractNetworkWaitingGui { private ClientNetworkEntityWaiting network; private GuiButtonRendererControl[] buttons = new GuiButtonRendererControl[0]; public ClientNetworkWaitingGui(NetworkEntityWaiting networkEntity) { network = (ClientNetworkEntityWaiting) networkEntity; ...
apache-2.0
C#
cf1c09c1d3e388b1428b8be550c8dd4ccfed6043
Fix high hitting NRE in non-critical acrylic path
File-New-Project/EarTrumpet
EarTrumpet/Interop/Helpers/AccentPolicyLibrary.cs
EarTrumpet/Interop/Helpers/AccentPolicyLibrary.cs
using EarTrumpet.Extensions; using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Interop; using System.Windows.Media; namespace EarTrumpet.Interop.Helpers { public static class AccentPolicyLibrary { ...
using EarTrumpet.Extensions; using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Interop; using System.Windows.Media; namespace EarTrumpet.Interop.Helpers { public static class AccentPolicyLibrary { ...
mit
C#
3bc25e3fbad196e5e3d651fa3d3378f0e1023cf1
Change AppointmentOptimizatinCode from short to int
dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk
SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentOptimizationCode.cs
SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentOptimizationCode.cs
namespace SnapMD.VirtualCare.ApiModels.Scheduling { /// <summary> /// Appointment optimization code. /// </summary> public enum AppointmentOptimizationCode : int { /// <summary> /// Single booking. /// </summary> SingleBooking, /// <summary> /// Doub...
namespace SnapMD.VirtualCare.ApiModels.Scheduling { /// <summary> /// Appointment optimization code. /// </summary> public enum AppointmentOptimizationCode : short { /// <summary> /// Single booking. /// </summary> SingleBooking, /// <summary> /// Do...
apache-2.0
C#
a1abb3fa530627bcbec6a202c0334dcef6f47234
Fix for first unreliable sequenced message automatically being dropped
SacWebDeveloper/lidgren-network-gen3,jbruening/lidgren-network-gen3,dragutux/lidgren-network-gen3,PowerOfCode/lidgren-network-gen3,forestrf/lidgren-network-gen3,lidgren/lidgren-network-gen3,RainsSoft/lidgren-network-gen3
Lidgren.Network/NetUnreliableSequencedReceiver.cs
Lidgren.Network/NetUnreliableSequencedReceiver.cs
using System; namespace Lidgren.Network { internal sealed class NetUnreliableSequencedReceiver : NetReceiverChannelBase { private int m_lastReceivedSequenceNumber = -1; public NetUnreliableSequencedReceiver(NetConnection connection) : base(connection) { } internal override void ReceiveMe...
using System; namespace Lidgren.Network { internal sealed class NetUnreliableSequencedReceiver : NetReceiverChannelBase { private int m_lastReceivedSequenceNumber; public NetUnreliableSequencedReceiver(NetConnection connection) : base(connection) { } internal override void ReceiveMessage...
mit
C#
8a0c534c4bcb030a99450c4162a798653874187c
Remove redundant drawing code.
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
XamarinApp/MyTrips/MyTrips.iOS/Views/TripMapView.cs
XamarinApp/MyTrips/MyTrips.iOS/Views/TripMapView.cs
using System; using Foundation; using UIKit; using MapKit; using CoreLocation; namespace MyTrips.iOS { public partial class TripMapView : MKMapView { public TripMapView(IntPtr handle) : base(handle) { } public void DrawRoute(CLLocationCoordinate2D[] route) { var routeOverlay = MKPolyline.FromCoo...
using System; using Foundation; using UIKit; using MapKit; using CoreLocation; namespace MyTrips.iOS { public partial class TripMapView : MKMapView { public TripMapView (IntPtr handle) : base (handle) { ConfigureRouteDrawing(); } void ConfigureRouteDrawing() { var routeOverlay = ...
mit
C#
d34ae8410f90de2f611739279592e2d8a536344d
Update XML comments of `TypesTextUsingScriptAttribute`
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/Attributes/Behaviors/TextType/TypesTextUsingScriptAttribute.cs
src/Atata/Attributes/Behaviors/TextType/TypesTextUsingScriptAttribute.cs
namespace Atata { /// <summary> /// Represents the behavior for control text typing by executing /// <c>HTMLElement.value += '{value}'; HTMLElement.dispatchEvent(new Event('change'));</c> JavaScript. /// </summary> public class TypesTextUsingScriptAttribute : TextTypeBehaviorAttribute { ...
namespace Atata { /// <summary> /// Represents the behavior for control value set by executing /// <c>HTMLElement.value += '{value}'; HTMLElement.dispatchEvent(new Event('change'));</c> JavaScript. /// </summary> public class TypesTextUsingScriptAttribute : TextTypeBehaviorAttribute { /...
apache-2.0
C#
28f45b657cb7ccc6c21c820f5e9dd9aef0949b65
remove redundant parentheses
nycdotnet/RedGate.AppHost,red-gate/RedGate.AppHost
RedGate.AppHost.Example.Server/MainWindow.xaml.cs
RedGate.AppHost.Example.Server/MainWindow.xaml.cs
using System; using System.Windows; using System.Windows.Controls; using RedGate.AppHost.Server; namespace RedGate.AppHost.Example.Server { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); try { ...
using System; using System.Windows; using System.Windows.Controls; using RedGate.AppHost.Server; namespace RedGate.AppHost.Example.Server { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); try { ...
apache-2.0
C#
bd79c988eca3932bb68ac40fd3e297a996f79a42
Implement ColorValue struct
alesliehughes/monoDX,alesliehughes/monoDX
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/ColorValue.cs
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/ColorValue.cs
/* * The MIT License (MIT) * * Copyright (c) 2017 Alistair Leslie-Hughes * * 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 ...
/* * The MIT License (MIT) * * Copyright (c) 2017 Alistair Leslie-Hughes * * 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 ...
mit
C#
44d735d962cd61cf17a682b2268dab78cd616e95
support for buypass ACME CA
ndouthit/Certify,webprofusion/Certify
src/Certify.Models/CertificateAuthority.cs
src/Certify.Models/CertificateAuthority.cs
using System.Collections.Generic; namespace Certify.Models { public enum CertAuthorityAPIType { NONE, ACME_V1, ACME_V2 } public enum CertAuthoritySupportedRequests { DOMAIN_SINGLE, DOMAIN_MULTIPLE_SAN, DOMAIN_WILDCARD } public class Certifi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Certify.Models { public enum CertAuthorityType { LetsEncrypt } public class CertificateAuthority { public static List<CertificateAuthority> CertificateAuth...
mit
C#