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
c68aba4f63b23a6dfd69342732b01fa85dd2094e
Test Fix
harshjain2/cli,ravimeda/cli,svick/cli,Faizan2304/cli,blackdwarf/cli,svick/cli,blackdwarf/cli,dasMulli/cli,Faizan2304/cli,svick/cli,harshjain2/cli,dasMulli/cli,blackdwarf/cli,livarcocc/cli-1,livarcocc/cli-1,johnbeisner/cli,EdwardBlair/cli,johnbeisner/cli,EdwardBlair/cli,EdwardBlair/cli,blackdwarf/cli,Faizan2304/cli,ravi...
src/dotnet/commands/dotnet-build/Program.cs
src/dotnet/commands/dotnet-build/Program.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.Tools.MSBuild...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.Tools.MSBuild...
mit
C#
76978b58c9120a85df9b9024f108df43e24ecb6b
Adjust comment for DateTimeZoneNotFoundException
malcolmr/nodatime,nodatime/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,jskeet/nodatime,malcolmr/nodatime
src/NodaTime/TimeZones/DateTimeZoneNotFoundException.cs
src/NodaTime/TimeZones/DateTimeZoneNotFoundException.cs
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; using NodaTime.Annotations; namespace NodaTime.TimeZones { /// <summary> /// Exception thrown when time zone is requested from an <...
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; using NodaTime.Annotations; namespace NodaTime.TimeZones { /// <summary> /// Exception thrown when time zone is requested from an <...
apache-2.0
C#
b986bc4caa9b6190e72d383d6dcac7e5f9f18bc1
Fix compile job recursion crash
Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Host/Models/RevisionInformation.cs
src/Tgstation.Server.Host/Models/RevisionInformation.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class RevisionInformation : Api.Models.Internal.RevisionInformation, IApiConvertable<Api.Models.RevisionInformation> { /// <summary> /// Th...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class RevisionInformation : Api.Models.Internal.RevisionInformation, IApiConvertable<Api.Models.RevisionInformation> { /// <summary> /// Th...
agpl-3.0
C#
7afa7f7a50aab4ec7abc4c6710ce167ca2c51429
Remove a test Buttom
daltonbr/TopDownShooter
Assets/Editor/MapEditor.cs
Assets/Editor/MapEditor.cs
using UnityEngine; using UnityEditor; [CustomEditor (typeof(MapGenerator))] public class MapEditor : Editor { public override void OnInspectorGUI() { base.OnInspectorGUI(); // Always updating ... cpu intensive sometimes //MapGenerator map = target as MapGenerator; //map.Gener...
using UnityEngine; using UnityEditor; [CustomEditor (typeof(MapGenerator))] public class MapEditor : Editor { public override void OnInspectorGUI() { base.OnInspectorGUI(); // Always updating ... cpu intensive sometimes //MapGenerator map = target as MapGenerator; //map.Gener...
mit
C#
355928ce35bfb546b284fe0b4cd9185aa7b61fa7
fix typo
verybadcat/CSharpMath
CSharpMath/Helpers/Pair.cs
CSharpMath/Helpers/Pair.cs
namespace CSharpMath.Helpers { readonly struct Pair<T, K> { public Pair(T first, K second) { First = first; Second = second; } public T First { get; } public K Second { get; } } static class Pair { public static Pair<T, K> C...
namespace CSharpMath.Helpers { readonly struct Pair<T, K> { public Pair(T first, K second) { First = first; Second = second; } public T First { get; } public K Second { get; } } abstract class Pair { public static Pair<T, K>...
mit
C#
bdbed1e6656396351b62f035c61408fd07440ab1
Allow adminnotes to use username (#9388)
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.Server/Administration/Commands/OpenAdminNotesCommand.cs
Content.Server/Administration/Commands/OpenAdminNotesCommand.cs
using Content.Server.Administration.Notes; using Content.Server.Database; using Content.Shared.Administration; using Robust.Server.Player; using Robust.Shared.Console; namespace Content.Server.Administration.Commands; [AdminCommand(AdminFlags.ViewNotes)] public sealed class OpenAdminNotesCommand : IConsoleCommand { ...
using Content.Server.Administration.Notes; using Content.Shared.Administration; using Robust.Server.Player; using Robust.Shared.Console; namespace Content.Server.Administration.Commands; [AdminCommand(AdminFlags.ViewNotes)] public sealed class OpenAdminNotesCommand : IConsoleCommand { public const string Command...
mit
C#
8639ada4cd6e600d3508e93c4b40657ae3c23de2
Allow spaces in !meme command.
Ervie/Homunculus
Homunculus/MarekMotykaBot/ExtensionsMethods/StringExtensions.cs
Homunculus/MarekMotykaBot/ExtensionsMethods/StringExtensions.cs
using System.Text.RegularExpressions; namespace MarekMotykaBot.ExtensionsMethods { public static class StringExtensions { public static string RemoveRepeatingChars(this string inputString) { string newString = string.Empty; char[] charArray = inputString.ToCharArray(); for (int i = 0; i < charArray.Le...
using System.Text.RegularExpressions; namespace MarekMotykaBot.ExtensionsMethods { public static class StringExtensions { public static string RemoveRepeatingChars(this string inputString) { string newString = string.Empty; char[] charArray = inputString.ToCharArray(); for (int i = 0; i < charArray.Le...
mit
C#
66749653c5cb337a76b4dec8ed160a84b341611f
Test class _PersonConversion is now marked as Explicit rather than Ignored
magenta-aps/cprbroker,OS2CPRbroker/cprbroker,magenta-aps/cprbroker,magenta-aps/cprbroker,OS2CPRbroker/cprbroker
PART/Source/CprBroker/DBR.Tests/Comparison/_PersonConversion.cs
PART/Source/CprBroker/DBR.Tests/Comparison/_PersonConversion.cs
using CprBroker.DBR; using CprBroker.Providers.CPRDirect; using CprBroker.Providers.DPR; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CprBroker.Tests.DBR.Comparison.Person { [TestFixture] [Explicit] pub...
using CprBroker.DBR; using CprBroker.Providers.CPRDirect; using CprBroker.Providers.DPR; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CprBroker.Tests.DBR.Comparison.Person { [TestFixture] [Ignore] publi...
mpl-2.0
C#
2303ed3bf7329c82b684f6d24b94596bf2131e51
Update MessagePackDeserializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/MessagePack/MessagePackDeserializer.cs
TIKSN.Core/Serialization/MessagePack/MessagePackDeserializer.cs
using System.IO; using MsgPack.Serialization; namespace TIKSN.Serialization.MessagePack { public class MessagePackDeserializer : DeserializerBase<byte[]> { private readonly SerializationContext _serializationContext; public MessagePackDeserializer(SerializationContext serializationContext) => ...
using System.IO; using MsgPack.Serialization; namespace TIKSN.Serialization.MessagePack { public class MessagePackDeserializer : DeserializerBase<byte[]> { private readonly SerializationContext _serializationContext; public MessagePackDeserializer(SerializationContext serializationContext) => ...
mit
C#
319abc63f9861e2e392a0b984366203b06575934
fix instance id generation
ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks
src/BuildingBlocks.CopyManagement/SmartClientApplicationIdentity.cs
src/BuildingBlocks.CopyManagement/SmartClientApplicationIdentity.cs
using System; namespace BuildingBlocks.CopyManagement { public class SmartClientApplicationIdentity : IApplicationIdentity { private static readonly Lazy<IApplicationIdentity> _current; static SmartClientApplicationIdentity() { _current = new Lazy<IApplicationIden...
using System; namespace BuildingBlocks.CopyManagement { public class SmartClientApplicationIdentity : IApplicationIdentity { private static readonly Lazy<IApplicationIdentity> _current; static SmartClientApplicationIdentity() { _current = new Lazy<IApplicationIden...
apache-2.0
C#
7b7ff3ab99e19c8bfd8f770c1fce7a8e64b5d661
add missing copyright message
nunit/nunit,nunit/nunit,mjedrzejek/nunit,mjedrzejek/nunit
src/NUnitFramework/framework/Internal/Execution/IMethodValidator.cs
src/NUnitFramework/framework/Internal/Execution/IMethodValidator.cs
// *********************************************************************** // Copyright (c) 2012-2020 Charlie Poole, Rob Prouse // // 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 r...
using System.Reflection; namespace NUnit.Framework.Internal.Execution { /// <summary> /// Validates method to execute. /// </summary> public interface IMethodValidator { /// <summary> /// Determines whether a method is allowed to execute and throws an exception otherwise. //...
mit
C#
78da8870a296a1be854933df6ae6806f5670fd90
Change version to a reasonable value
sbennett1990/libcmdline
libcmdline/Properties/AssemblyInfo.cs
libcmdline/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("li...
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("li...
isc
C#
03f033508809809188cd785aa366d2e8506ec369
clarify the meaning of 'Port'; include link to reference material
EdVinyard/DddSandbox
DomainDrivenDesign/Port.cs
DomainDrivenDesign/Port.cs
namespace DDD { /// <summary> /// <p> /// Each Port represents a reason the Domain (application) is trying /// to talk with the outside world. That is, a Service that is /// implemented outside the Domain. Examples include a clock, a /// geocoding web service, and a database-backed Reposit...
namespace DDD { /// <summary> /// A Port is a Service that is implemented outside the Domain. /// Examples include a clock, an outside web service, and a Repository. /// </summary> public interface Port : Service { } }
mit
C#
9017fc6adbc37d0fa0457e60d5975ac6674ac882
check note
linfx/LinFx,linfx/LinFx
src/LinFx/Check.cs
src/LinFx/Check.cs
using LinFx.Extensions; using System; using System.Collections.Generic; namespace LinFx { /// <summary> /// 检查 /// </summary> public static class Check { public static T NotNull<T>(T value, string paramName) { if (value == null) throw new ArgumentNullExc...
using LinFx.Extensions; using System; using System.Collections.Generic; namespace LinFx { public static class Check { public static T NotNull<T>(T value, string paramName) { if (value == null) throw new ArgumentNullException(paramName); return value; ...
mit
C#
e755dadbc86e7c3a902534ba57196002f890d287
fix unit test
loresoft/KickStart
test/KickStart.AutoMapper.Tests/AutoMapperKickerTest.cs
test/KickStart.AutoMapper.Tests/AutoMapperKickerTest.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoMapper; using FluentAssertions; using Test.Core; using Xunit; using Xunit.Abstractions; namespace KickStart.AutoMapper.Tests { public class AutoMapperKickerTest ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoMapper; using FluentAssertions; using Test.Core; using Xunit; using Xunit.Abstractions; namespace KickStart.AutoMapper.Tests { public class AutoMapperKickerTest ...
mit
C#
58b988df14f41d345bbd61a3d464b89e661b2b1b
Add call to exception logger
tuyndv/IdentityServer3,tonyeung/IdentityServer3,delRyan/IdentityServer3,Agrando/IdentityServer3,remunda/IdentityServer3,buddhike/IdentityServer3,IdentityServer/IdentityServer3,tuyndv/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,paulofoliveira/IdentityServer3,wondertrap/IdentityServer3,bestwpw/IdentityServer3,jo...
source/Core/Hosting/ErrorPageFilterAttribute.cs
source/Core/Hosting/ErrorPageFilterAttribute.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
apache-2.0
C#
c06fee285a34e0fc769051f64215984eb950d1c0
Allow multiple response examples
martincostello/api,martincostello/api,martincostello/api
src/API/Swagger/SwaggerResponseExampleAttribute.cs
src/API/Swagger/SwaggerResponseExampleAttribute.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.Swagger { using System; /// <summary> /// Defines an example response for an API method. This class cannot be...
// 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.Swagger { using System; /// <summary> /// Defines an example response for an API method. This class cannot be...
mit
C#
03f2c80a8eccacca7b43dec769e55d2e76dd6736
Improve event skipper
JeremyAnsel/helix-toolkit,chrkon/helix-toolkit,holance/helix-toolkit,helix-toolkit/helix-toolkit,Iluvatar82/helix-toolkit,smischke/helix-toolkit
Source/HelixToolkit.Wpf.SharpDX/Helpers/EventSkipper.cs
Source/HelixToolkit.Wpf.SharpDX/Helpers/EventSkipper.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelixToolkit.Wpf.SharpDX.Helpers { /// <summary> /// Use to skip event if event frequency is too high. /// </summary> public sealed class EventSkipper...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelixToolkit.Wpf.SharpDX.Helpers { /// <summary> /// Use to skip event if event frequency is too high. /// </summary> public sealed class EventSkipper...
mit
C#
7507314e0dd5f122a49a3dca3adcaf0bdfa9ffae
Fix a bug where dates are sometimes '-'
Genbox/VirusTotal.NET
VirusTotal.NET/DateTimeParsers/YearMonthDayConverter.cs
VirusTotal.NET/DateTimeParsers/YearMonthDayConverter.cs
using System; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using VirusTotalNET.Exceptions; namespace VirusTotalNET.DateTimeParsers { public class YearMonthDayConverter : DateTimeConverterBase { private readonly CultureInfo _culture = new CultureInfo("en-us"); ...
using System; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using VirusTotalNET.Exceptions; namespace VirusTotalNET.DateTimeParsers { public class YearMonthDayConverter : DateTimeConverterBase { private readonly CultureInfo _culture = new CultureInfo("en-us"); ...
apache-2.0
C#
c69e88eb97b90c73b3e2dcd2bebe18c8aa4b8540
Add more types to dropdown
johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,johnneijzen/osu,peppy/osu
osu.Game/Configuration/ScoreMeterType.cs
osu.Game/Configuration/ScoreMeterType.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; namespace osu.Game.Configuration { public enum ScoreMeterType { [Description("None")] None, [Description("...
// 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; namespace osu.Game.Configuration { public enum ScoreMeterType { [Description("None")] None, [Description("...
mit
C#
4e74b085098f7249852de8358d3e73be1f91616c
Add new refund list request without paymentId parameter
Viincenttt/MollieApi,Viincenttt/MollieApi
Mollie.Api/Client/RefundClient.cs
Mollie.Api/Client/RefundClient.cs
using System.Net.Http; using System.Threading.Tasks; using Mollie.Api.Client.Abstract; using Mollie.Api.Models.List; using Mollie.Api.Models.Refund; using Mollie.Api.Models.Url; namespace Mollie.Api.Client { public class RefundClient : BaseMollieClient, IRefundClient { public RefundClient(string apiKey, H...
using System.Net.Http; using System.Threading.Tasks; using Mollie.Api.Client.Abstract; using Mollie.Api.Models.List; using Mollie.Api.Models.Refund; using Mollie.Api.Models.Url; namespace Mollie.Api.Client { public class RefundClient : BaseMollieClient, IRefundClient { public RefundClient(string apiKey, H...
mit
C#
772a308b8d1587ab724ec9436ef6ee490d4f6fec
Add missing XML comments.
andyfmiller/LtiLibrary
src/LtiLibrary.NetCore/OAuth/SignatureMethod.cs
src/LtiLibrary.NetCore/OAuth/SignatureMethod.cs
namespace LtiLibrary.NetCore.OAuth { /// <summary> /// LTI signature methods for computing hashes. /// </summary> public enum SignatureMethod { /// <summary> /// Computes the <see cref="System.Security.Cryptography.SHA1"/> hash for the input data. /// This is the default for...
using System; using System.Collections.Generic; using System.Text; namespace LtiLibrary.NetCore.OAuth { public enum SignatureMethod { HmacSha1, HmacSha256, HmacSha384, HmacSha512, } }
apache-2.0
C#
355dc6a634c421bdf14e8b7cbbf39a226b3d56ac
Implement compare/equality methods on UInt24
OpensourceScape/RsCacheLibrary
src/Runescape.Cache.Structures/Common/UInt24.cs
src/Runescape.Cache.Structures/Common/UInt24.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using FreecraftCore.Serializer; using JetBrains.Annotations; namespace Runescape.Cache.Structures.Common { //Based on: https://stackoverflow.com/questions/12549197/are-there-any-int24-implement...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using FreecraftCore.Serializer; using JetBrains.Annotations; namespace Runescape.Cache.Structures.Common { //Based on: https://stackoverflow.com/questions/12549197/are-there-any-int24-implement...
mit
C#
c1fcedc7052e4a09950434a3941e61840e2af249
fix build
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Extensions/CronExtension.cs
src/WeihanLi.Common/Extensions/CronExtension.cs
using System; using System.Collections.Generic; using WeihanLi.Common.Helpers.Cron; // ReSharper disable once CheckNamespace namespace WeihanLi.Extensions { public static class CronExtension { /// <summary> /// GetNextOccurrence /// </summary> /// <param name="expression">cron ...
using System; using System.Collections.Generic; using WeihanLi.Common.Helpers.Cron; // ReSharper disable once CheckNamespace namespace WeihanLi.Extensions { public static class CronExtension { /// <summary> /// GetNextOccurrence /// </summary> /// <param name="expression">cron ...
mit
C#
46ffed8f89aac522df2dcf9d8ee7db433ab7e439
Fix nullref if no title is given
denxorz/HotChocolatey
HotChocolatey/Logic/ChocoItem.cs
HotChocolatey/Logic/ChocoItem.cs
using NuGet; using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; namespace HotChocolatey.Logic { [UI.Magic] public class ChocoItem : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public IPack...
using NuGet; using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; namespace HotChocolatey.Logic { [UI.Magic] public class ChocoItem : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public IPack...
mit
C#
bef6e4c80e6c81b50343b7b2f0f8ce97219ccbcf
Add min-max RNG.
SaxxonPike/NextLevelSeven
NextLevelSeven.Test/Randomized.cs
NextLevelSeven.Test/Randomized.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NextLevelSeven.Test { static public class Randomized { private static readonly Random Rng = new Random(); static public int Number() { return Rng.N...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NextLevelSeven.Test { static public class Randomized { private static readonly Random Rng = new Random(); static public int Number() { return Rng.N...
isc
C#
05dee98c829a0c0ad31fa862cba833584ed719a2
Solve Spider warnings
NitorInc/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Resources/Microgames/Spider/Scripts/SpiderFood.cs
Assets/Resources/Microgames/Spider/Scripts/SpiderFood.cs
using UnityEngine; using System.Collections; public class SpiderFood : MonoBehaviour { public float grabRadius; public float initialScale; public bool grabbed, eaten; public float particleRate; public float y; private SpriteRenderer spriteRenderer; private ParticleSystem particles; void Awake () { part...
using UnityEngine; using System.Collections; public class SpiderFood : MonoBehaviour { public float grabRadius; public float initialScale; public bool grabbed, eaten; public float particleRate; public float y; private SpriteRenderer spriteRenderer; private ParticleSystem particles; void Awake () { part...
mit
C#
b17b4e65f18d17dec8967f0b7455744c59edb8b1
Add random selector
marcotmp/BehaviorTree
Assets/Scripts/BehaviorTree/Composites/RandomSelector.cs
Assets/Scripts/BehaviorTree/Composites/RandomSelector.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RandomSelector : Selector { private int taskIndex = 0; public RandomSelector(string name) : base(name) { } override public ReturnCode Update() { var returnCode = tasks[taskIndex].Update(); if...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RandomSelector : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
unlicense
C#
02a7ada6f13de462989a252a098e2143fb7fbb9d
Correct issue where settings.json cannot be found when using a shadow copied DLL.
jherby2k/AudioWorks
AudioWorks/src/AudioWorks.Common/ConfigurationManager.cs
AudioWorks/src/AudioWorks.Common/ConfigurationManager.cs
using System; using System.IO; using System.Reflection; using JetBrains.Annotations; using Microsoft.Extensions.Configuration; namespace AudioWorks.Common { /// <summary> /// Manages the retrieval of configuration settings from disk. /// </summary> public static class ConfigurationManager { ...
using System; using System.IO; using System.Reflection; using JetBrains.Annotations; using Microsoft.Extensions.Configuration; namespace AudioWorks.Common { /// <summary> /// Manages the retrieval of configuration settings from disk. /// </summary> public static class ConfigurationManager { ...
agpl-3.0
C#
4b4568d274560cb7334e0e2a08d12bd67effb610
Add FSharp entry to Document
sailro/cecil,joj/cecil,kzu/cecil,mono/cecil,xen2/cecil,jbevain/cecil,fnajera-rac-de/cecil,cgourlay/cecil,gluck/cecil,SiliconStudio/Mono.Cecil,saynomoo/cecil,furesoft/cecil,ttRevan/cecil
Mono.Cecil.Cil/Document.cs
Mono.Cecil.Cil/Document.cs
// // Document.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2011 Jb Evain // // 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...
// // Document.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2011 Jb Evain // // 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...
mit
C#
9e0ae2122b8bd6fc801fb715e80d50791bea5f09
Add verbose option alias to console app
atifaziz/NCrontab,atifaziz/NCrontab
NCrontabConsole/Program.cs
NCrontabConsole/Program.cs
#region License and Terms // // NCrontab - Crontab for .NET // Copyright (c) 2008 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
#region License and Terms // // NCrontab - Crontab for .NET // Copyright (c) 2008 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apac...
apache-2.0
C#
7b88cd194a07fc40642642ceca621ac8e8fbc18c
Add test category to authenticated test
xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,notdev/RohlikAPI,xobed/RohlikAPI
RohlikAPITests/RohlikovacTests.cs
RohlikAPITests/RohlikovacTests.cs
using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using RohlikAPI; namespace RohlikAPITests { [TestClass] public class RohlikovacTests { private string[] GetCredentials() { string filePath = @"..\..\..\loginPassword.txt"; if (!File.Exists(filePath...
using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using RohlikAPI; namespace RohlikAPITests { [TestClass] public class RohlikovacTests { private string[] GetCredentials() { string filePath = @"..\..\..\loginPassword.txt"; if (!File.Exists(filePath...
mit
C#
92a6e6c6bc2a6e978c98efca92dc98b5a457ad8b
Tweak to content for display on ES marketing site
ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples,ReachmailInc/WebAPISamples
dotnet/samples/dotnet_send.cs
dotnet/samples/dotnet_send.cs
using System; using Reachmail.Easysmtp.Post.Request; public void Main() { var reachmail = Reachmail.Api.Create("<API Token>"); var request = new DeliveryRequest { FromAddress = "from@from.com", Recipients = new Recipients { new Recipient { Address = "to@to.com" ...
using System; using Reachmail.Easysmtp.Post.Request; public void Main() { var reachmail = Reachmail.Api.Create("<API Token>"); var request = new DeliveryRequest { FromAddress = "from@from.com", Recipients = new Recipients { new Recipient { Address = "to@to.com" ...
mit
C#
aa0ab9952519bc69715d7fb056f4305655a156a3
Send message as DM, not default channel
discord-csharp/Contacts,MarkusGordathian/Contacts
ContactsBot/Modules/UserMotd.cs
ContactsBot/Modules/UserMotd.cs
using System; using System.Collections.Generic; using System.Text; using System.Linq; using Discord; using Discord.WebSocket; using Discord.Commands; using System.Threading.Tasks; namespace ContactsBot.Modules { class UserMotd : IMessageAction { private DiscordSocketClient _client; private Bot...
using System; using System.Collections.Generic; using System.Text; using System.Linq; using Discord; using Discord.WebSocket; using Discord.Commands; using System.Threading.Tasks; namespace ContactsBot.Modules { class UserMotd : IMessageAction { private DiscordSocketClient _client; private Bot...
mit
C#
3dbf6a9d612b971fec258dfb8a64b0964c6dcbd0
ADD display names to URL stat properties
diksito/url-shortner,diksito/url-shortner
ShortURLService/Models/UrlStat.cs
ShortURLService/Models/UrlStat.cs
using ShortURLService.Infrastructure; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; namespace ShortURLService.Models { public class UrlStat { public int UrlStatId { get; set; } [DisplayName("User Agent")] public string...
using ShortURLService.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ShortURLService.Models { public class UrlStat { public int UrlStatId { get; set; } public string UserAgent { get; set; } public string UserHostAddress { ...
mit
C#
ab17db50f0ccd76d9ca2014501eb296590e1a596
Update IdConverter.cs
yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples
Simple.Common/Text/IdConverter.cs
Simple.Common/Text/IdConverter.cs
namespace Simple.Common.Text { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; public static class IdConverter { public static UInt64 ToLong(String id) { var bytes = Convert.FromBase64String(id); ...
namespace Simple.Common.Text { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; public static class IdConverter { public static UInt64 ToLong(String id) { var bytes = Convert.FromBase64String(id); ...
apache-2.0
C#
0b8da5267d9cb4606dc81073c3b43b1fb295bc78
Set assembly version correctly. xibosignage/xibo#834
xibosignage/xibo-dotnetclient,dasgarner/xibo-dotnetclient
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
agpl-3.0
C#
ac108226fe4e50140bbe175e84fc420d2e1d5728
Fix abstract methods not renamed
farmaair/ConfuserEx,fretelweb/ConfuserEx,yuligang1234/ConfuserEx,apexrichard/ConfuserEx,modulexcite/ConfuserEx,arpitpanwar/ConfuserEx,HalidCisse/ConfuserEx,manojdjoshi/ConfuserEx,AgileJoshua/ConfuserEx,Desolath/ConfuserEx3,Desolath/Confuserex,timnboys/ConfuserEx,mirbegtlax/ConfuserEx,jbeshir/ConfuserEx,JPVenson/Confuse...
Confuser.Renamer/Analyzers/VTableAnalyzer.cs
Confuser.Renamer/Analyzers/VTableAnalyzer.cs
using System; using System.Collections.Generic; using System.Diagnostics; using Confuser.Core; using Confuser.Renamer.References; using dnlib.DotNet; namespace Confuser.Renamer.Analyzers { internal class VTableAnalyzer : IRenamer { public void Analyze(ConfuserContext context, INameService service, IDnlibDef def) {...
using System; using System.Collections.Generic; using System.Diagnostics; using Confuser.Core; using Confuser.Renamer.References; using dnlib.DotNet; namespace Confuser.Renamer.Analyzers { internal class VTableAnalyzer : IRenamer { public void Analyze(ConfuserContext context, INameService service, IDnlibDef def) {...
mit
C#
f71fd3943a8b2fc95caedfe3782cb5d06447acef
Debug flag
sintefneodroid/droid,sintefneodroid/droid
Editor/Windows/WindowManager.cs
Editor/Windows/WindowManager.cs
#if UNITY_EDITOR using System; using UnityEditor; namespace droid.Editor.Windows { public class WindowManager : EditorWindow { static Type[] _desired_dock_next_toos = { typeof(RenderTextureConfiguratorWindow), typeof(CameraSynchronisationWindow), #if NEODROID_DEBUG typeof(DebugWi...
#if UNITY_EDITOR using System; using UnityEditor; namespace droid.Editor.Windows { public class WindowManager : EditorWindow { static Type[] _desired_dock_next_toos = { typeof(RenderTextureConfiguratorWindow), typeof(CameraSynchronisationWindow), typeof(DebugWindow), typeof(Segme...
apache-2.0
C#
4151504ed8c6f20e964a862d8ccd9e1f89dad19b
Fix tools being installed to wrong path
nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.Platform,bdukes/Dnn.Platform,mitchelsellers/Dnn.Platform,bdukes/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,...
Build/Program.cs
Build/Program.cs
using System; using Cake.Frosting; public class Program { public static int Main(string[] args) { return new CakeHost() .UseContext<Context>() .UseLifetime<Lifetime>() .UseWorkingDirectory("..") .SetToolPath("../tools") .Install...
using System; using Cake.Frosting; public class Program { public static int Main(string[] args) { return new CakeHost() .UseContext<Context>() .UseLifetime<Lifetime>() .UseWorkingDirectory("..") .InstallTool(new Uri("nuget:?package=GitVersio...
mit
C#
7a96d3d7ed98afa032540500b6fadd1fff091707
build errors
mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,mnaiman/duplicati,duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati
Duplicati/Library/Backend/Storj/StorjFile.cs
Duplicati/Library/Backend/Storj/StorjFile.cs
using Duplicati.Library.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Duplicati.Library.Backend.Storj { public class StorjFile : IFileEntry { public static readonly string STORJ_LAST_ACCESS = "DUPLICATI:LAST-ACC...
using Duplicati.Library.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Duplicati.Library.Backend.Storj { public class StorjFile : IFileEntry { public static readonly string STORJ_LAST_ACCESS = "DUPLICATI:LAST-ACC...
lgpl-2.1
C#
cc44af1ce0adfee5afa12594641709e831c32e9f
move State from App namespace to App.Connection
rit-sse-mycroft/core
Mycroft/App/Connection/State.cs
Mycroft/App/Connection/State.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mycroft.App.Connection { abstract class State { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mycroft.App { abstract class State { } }
bsd-3-clause
C#
e0659b3e936ba7bf8f64ecb17cb5a118fe399f7a
use KeyedVirtualFolder
itamar82/simpleDLNA,nmaier/simpleDLNA,antonio-bakula/simpleDLNA,bra1nb3am3r/simpleDLNA
fsserver/Views/ByTitleView.cs
fsserver/Views/ByTitleView.cs
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using NMaier.sdlna.FileMediaServer.Folders; using NMaier.sdlna.Server; namespace NMaier.sdlna.FileMediaServer.Views { class ByTitleView : IView { private class TitlesFolder : KeyedVirtualFolder<VirtualFolder> { ...
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using NMaier.sdlna.FileMediaServer.Folders; using NMaier.sdlna.Server; namespace NMaier.sdlna.FileMediaServer.Views { class ByTitleView : IView { private static Regex regClean = new Regex(@"[^\d\w]+", RegexOptions.Compi...
bsd-2-clause
C#
8eec4001efcb93098ef2fa657a3e174925f2f218
Add back and cancel button commands
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWalletPageViewModel.cs
using System.Reactive.Linq; using ReactiveUI; using System; using System.Windows.Input; namespace WalletWasabi.Fluent.ViewModels { public class AddWalletPageViewModel : NavBarItemViewModel { private string _walletName = ""; private bool _optionsEnabled; public AddWalletPageViewModel(NavigationStateViewModel n...
using System.Reactive.Linq; using ReactiveUI; using System; namespace WalletWasabi.Fluent.ViewModels { public class AddWalletPageViewModel : NavBarItemViewModel { private string _walletName = ""; private bool _optionsEnabled; public AddWalletPageViewModel(NavigationStateViewModel navigationState) : base(navig...
mit
C#
39139cdbab5b92eee5b3f12a3dc01b0109fbf387
Bump 0.17.1
lstefano71/Nowin,pysco68/Nowin,pysco68/Nowin,lstefano71/Nowin,et1975/Nowin,modulexcite/Nowin,et1975/Nowin,pysco68/Nowin,modulexcite/Nowin,Bobris/Nowin,Bobris/Nowin,et1975/Nowin,Bobris/Nowin,modulexcite/Nowin,lstefano71/Nowin
Nowin/Properties/AssemblyInfo.cs
Nowin/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("Nowin")] [assembly: AssemblyDescription("...
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("Nowin")] [assembly: AssemblyDescription("...
mit
C#
b61d21b570c44bafbadd7892f9dddd0cff33cce1
Make configurablerules class internal
dlwyatt/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer,daviwil/PSScriptAnalyzer,juneb/PSScriptAnalyzer
Rules/ConfigurableScriptRule.cs
Rules/ConfigurableScriptRule.cs
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation.Language; using System.Text; using System.Threading.Tasks; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { // This is still an experimental class and we do not want to expose it // as a public...
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation.Language; using System.Text; using System.Threading.Tasks; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic { public abstract class ConfigurableScriptRule : IScriptRule { public bool IsRu...
mit
C#
588be13727830cf02ce72e6fe385922bbb3fccc1
clear tests
chsword/ResizingServer
source/ResizingClient.Tests/UnitTest1.cs
source/ResizingClient.Tests/UnitTest1.cs
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ResizingClient.Tests { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { //var result=ResizingUtil.Upload(File.ReadAllBytes("d:\\a.jpg"), "a.jpg", "f...
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ResizingClient.Tests { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { var result=ResizingUtil.Upload(File.ReadAllBytes("d:\\a.jpg"), "a.jpg", "fac...
apache-2.0
C#
f1239676d91666360fbc744efa37e243da4a64fd
fix subtitles but actually for real?
overtools/OWLib
TankLib/teSubtitleThing.cs
TankLib/teSubtitleThing.cs
using System.Collections.Generic; using System.IO; using System.Text; namespace TankLib { public class teSubtitleThing { public const int COUNT = 4; public List<string> m_strings; public teSubtitleThing(Stream stream) { using (var reader = new BinaryReader(stream)) { ...
using System.Collections.Generic; using System.IO; using System.Text; namespace TankLib { public class teSubtitleThing { public const int COUNT = 4; public List<string> m_strings; public teSubtitleThing(Stream stream) { using (var reader = new BinaryReader(stream)) { ...
mit
C#
9739ae78b375044e2d68502b0cb296dd3aa194d8
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryExplorer.MountedDevices/ValuesOut.cs
RegistryExplorer.MountedDevices/ValuesOut.cs
using RegistryPluginBase.Interfaces; namespace RegistryPlugin.MountedDevices { public class ValuesOut:IValueOut { public ValuesOut(string deviceName, string deviceData) { DeviceName = deviceName; DeviceData = deviceData; } public string DeviceName { get...
using RegistryPluginBase.Interfaces; namespace RegistryPlugin.MountedDevices { public class ValuesOut:IValueOut { public ValuesOut(string deviceName, string deviceData) { DeviceName = deviceName; DeviceData = deviceData; } public string DeviceName { get...
mit
C#
f05ce1b951319683455bfc3d31a94668393c396b
Use SequenceEqual and check null
kazyx/kz-remote-api
Project/Util/SharedStructures.cs
Project/Util/SharedStructures.cs
using System.Collections.Generic; using System.Linq; namespace Kazyx.RemoteApi { /// <summary> /// Response of getMethodTypes API. /// </summary> public class MethodType { /// <summary> /// Name of API /// </summary> public string Name { set; get; } /// <sum...
using System.Collections.Generic; namespace Kazyx.RemoteApi { /// <summary> /// Response of getMethodTypes API. /// </summary> public class MethodType { /// <summary> /// Name of API /// </summary> public string Name { set; get; } /// <summary> /// R...
mit
C#
11678f30528dfc2ecc5463ad693822d1af2ad1ff
verify test failure
sailthru/sailthru-net-client
Sailthru/Sailthru.Tests/Test.cs
Sailthru/Sailthru.Tests/Test.cs
using NUnit.Framework; using System; namespace Sailthru.Tests { [TestFixture()] public class Test { [Test()] public void TestCase() { Assert.Fail(); } } }
using NUnit.Framework; using System; namespace Sailthru.Tests { [TestFixture()] public class Test { [Test()] public void TestCase() { } } }
mit
C#
223107811b4f3536ceeced869bae45461bcf4fed
Fix heartbeat interval
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Server/Context/ServerContext.cs
Server/Context/ServerContext.cs
using Lidgren.Network; using LunaCommon.Message; using Server.Client; using Server.Lidgren; using Server.Settings; using System; using System.Collections.Concurrent; using System.Diagnostics; using System.IO; using System.Net; namespace Server.Context { public static class ServerContext { public stati...
using Lidgren.Network; using LunaCommon.Message; using Server.Client; using Server.Lidgren; using Server.Settings; using System; using System.Collections.Concurrent; using System.Diagnostics; using System.IO; using System.Net; namespace Server.Context { public static class ServerContext { public stati...
mit
C#
631887d0cd7b2292255d36b48424a184be83e25a
Comment on NixCalamariPhysicalFileSystem
NoesisLabs/Calamari,allansson/Calamari,NoesisLabs/Calamari,merbla/Calamari,allansson/Calamari,merbla/Calamari
source/Calamari/Integration/FileSystem/NixPhysicalFileSystem.cs
source/Calamari/Integration/FileSystem/NixPhysicalFileSystem.cs
using System.IO; namespace Calamari.Integration.FileSystem { public class NixCalamariPhysicalFileSystem : CalamariPhysicalFileSystem { protected override bool GetFiskFreeSpace(string directoryPath, out ulong totalNumberOfFreeBytes) { // This method will not work for UNC paths on wi...
using System.IO; namespace Calamari.Integration.FileSystem { public class NixCalamariPhysicalFileSystem : CalamariPhysicalFileSystem { protected override bool GetFiskFreeSpace(string directoryPath, out ulong totalNumberOfFreeBytes) { var pathRoot = Path.GetPathRoot(directoryPath); ...
apache-2.0
C#
4a9bc29971ff72ac9f7eef8f6aaca7ba47f2e849
Update the GelocationHandler example - seems people are still struggling with the callback concept.
jamespearce2006/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,Livit/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp
CefSharp.Wpf.Example/Handlers/GeolocationHandler.cs
CefSharp.Wpf.Example/Handlers/GeolocationHandler.cs
// Copyright © 2010-2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows; namespace CefSharp.Wpf.Example.Handlers { internal class GeolocationHandler : IGeolocationHandler { ...
// Copyright © 2010-2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows; namespace CefSharp.Wpf.Example.Handlers { internal class GeolocationHandler : IGeolocationHandler { ...
bsd-3-clause
C#
ccc3c573abd6e1ae018947db37f5f27d7475b483
Fix resharper not fixing
DrabWeb/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,naoey/osu,2yangk23/osu,naoey/osu,smoogipoo/osu,Frontear/osuKyzer,smoogipoo/osu,Nabile-Rahmani/osu,peppy/osu,DrabWeb/osu,johnneijzen/osu...
osu.Game.Rulesets.Osu/Tests/TestCaseGameplayCursor.cs
osu.Game.Rulesets.Osu/Tests/TestCaseGameplayCursor.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphic...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphic...
mit
C#
a1aeac567710b95f27b07daede58b9a1ad56ab45
Remove remaining cruft from `SkinnableAccuracyCounter`
peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu
osu.Game/Screens/Play/HUD/SkinnableAccuracyCounter.cs
osu.Game/Screens/Play/HUD/SkinnableAccuracyCounter.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.Game.Skinning; namespace osu.Game.Screens.Play.HUD { public class SkinnableAccuracyCounter : SkinnableDrawable { public SkinnableAccuracyCounte...
// 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.Bindables; using osu.Game.Skinning; namespace osu.Game.Screens.Play.HUD { public class SkinnableAccuracyCounter : SkinnableDrawable { ...
mit
C#
6896d61c6a42fb55019202744ce64266e9b4444d
Update RestEndpointAttribute.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/Rest/RestEndpointAttribute.cs
TIKSN.Core/Web/Rest/RestEndpointAttribute.cs
using System; namespace TIKSN.Web.Rest { [AttributeUsage(AttributeTargets.Class)] public class RestEndpointAttribute : Attribute { public RestEndpointAttribute(string apiKey, RestVerb verb, string resourceTemplate, RestAuthenticationType authentication = RestAuthenticationType.None, st...
using System; namespace TIKSN.Web.Rest { [AttributeUsage(AttributeTargets.Class)] public class RestEndpointAttribute : Attribute { public RestEndpointAttribute(string apiKey, RestVerb verb, string resourceTemplate, RestAuthenticationType authentication = RestAuthenticationType.None, st...
mit
C#
632d72f9802bd4155c007d99d2b85e174d422e12
Use Operator<T>.Negate
farity/farity
Farity/Negate.cs
Farity/Negate.cs
using System; using System.Linq.Expressions; namespace Farity { public static partial class F { public static T Negate<T>(T n) where T : struct, IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable => Operator<T>...
using System; using System.Linq.Expressions; namespace Farity { public static partial class F { public static T Negate<T>(T n) where T : struct, IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable => (T) (object...
mit
C#
56a68b664a39d62c910502f5beaf5e9dda66e8ed
Handle message changing inventory size
k-t/SharpHaven
MonoHaven.Client/UI/Remote/ServerInventoryWidget.cs
MonoHaven.Client/UI/Remote/ServerInventoryWidget.cs
using System.Drawing; using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerInventoryWidget : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var size = (Point)args[0]; var widget = new InventoryWidget(parent.Widget); widget.Set...
using System.Drawing; using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerInventoryWidget : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var size = (Point)args[0]; var widget = new InventoryWidget(parent.Widget); widget.Set...
mit
C#
96090eef85f1d62c62c740cce3058ce7be84fda8
Change version to 1.3.0
alexanderar/Mvc.CascadeDropDown,alexanderar/Mvc.CascadeDropDown,Li-Yanzhi/Mvc.CascadeDropDown,alexanderar/Mvc.CascadeDropDown,Li-Yanzhi/Mvc.CascadeDropDown,Li-Yanzhi/Mvc.CascadeDropDown
Mvc.CascadeDropDown.Test/Properties/AssemblyInfo.cs
Mvc.CascadeDropDown.Test/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("Mvc...
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("Mvc...
mit
C#
0257cbc516a0390031c1f1bc302fd40258757c6d
Bump version to 0.7.3
quisquous/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#
ade17fc5e1935e36c8c5029f0bc905457376dc1d
Use the real command line.
GoogleCloudPlatform/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,ivannaranjo/google-cloud-visualstudio,Deren-Liao/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,ivannaranjo/google-cloud-visualstudio,ILMTitan/google-cloud-v...
GoogleCloudExtension/GoogleCloudExtension/ErrorDialogs/ValidationErrorDialogViewModel.cs
GoogleCloudExtension/GoogleCloudExtension/ErrorDialogs/ValidationErrorDialogViewModel.cs
// Copyright 2015 Google Inc. All Rights Reserved. // Licensed under the Apache License Version 2.0. using GoogleCloudExtension.Utils; using System; using System.Linq; using System.Windows.Input; namespace GoogleCloudExtension.ErrorDialogs { /// <summary> /// The view model for the ValidationErrorDialog. ...
// Copyright 2015 Google Inc. All Rights Reserved. // Licensed under the Apache License Version 2.0. using GoogleCloudExtension.Utils; using System; using System.Linq; using System.Windows.Input; namespace GoogleCloudExtension.ErrorDialogs { /// <summary> /// The view model for the ValidationErrorDialog. ...
apache-2.0
C#
f151bfc0efea4f16b612509b6f7f30ba686dd888
Bump version to 0.8
jamesfoster/DeepEqual
src/DeepEqual/Properties/AssemblyInfo.cs
src/DeepEqual/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("De...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("De...
mit
C#
81862323c036d6dbb1e88c1135d7a689df1468a2
Update BradleyWyatt.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/BradleyWyatt.cs
src/Firehose.Web/Authors/BradleyWyatt.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 BradleyWyatt : IAmACommunityMember { public string FirstName => "Bradley"; public string L...
public class BradleyWyatt : IAmACommunityMember { public string FirstName => "Bradley"; public string LastName => "Wyatt"; public string ShortBioOrTagLine => "Finding wayt to do the most work with the least effort possible"; public string StateOrRegion => "Chicago, Illinois"; ...
mit
C#
e2a9f256b8eba0030eccc05463019aeb81e50dc1
Use polling rate of 30
LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC
WebScriptHook.Service/Program.cs
WebScriptHook.Service/Program.cs
using CommandLine; using System; using System.IO; using System.Threading; using WebScriptHook.Framework; using WebScriptHook.Framework.BuiltinPlugins; using WebScriptHook.Framework.Plugins; using WebScriptHook.Service.Plugins; namespace WebScriptHook.Service { class Program { static WebScriptHookCompo...
using CommandLine; using System; using System.IO; using System.Threading; using WebScriptHook.Framework; using WebScriptHook.Framework.BuiltinPlugins; using WebScriptHook.Framework.Plugins; using WebScriptHook.Service.Plugins; namespace WebScriptHook.Service { class Program { static WebScriptHookCompo...
mit
C#
d36c896df736bc30ba79d5b6825443137fa48213
Mark version as alpha
fvilers/WebApi.Contrib
src/AssemblyVersion.cs
src/AssemblyVersion.cs
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [a...
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [a...
mit
C#
ea067b72838bee73bbc297ee182d8e844e3be1db
Add HttpTestHandler.IsConnected
yufeih/Common
src/HttpTestHandler.cs
src/HttpTestHandler.cs
namespace System.Net.Http { using System; using System.Threading; using System.Threading.Tasks; class HttpTestHandler : DelegatingHandler { private static Random random = new Random(); private bool once; public TimeSpan Latency { get; set; } = TimeSpan.Zero; ...
namespace System.Net.Http { using System; using System.Threading; using System.Threading.Tasks; class HttpTestHandler : DelegatingHandler { private static Random random = new Random(); private bool once; public TimeSpan Latency { get; set; } = TimeSpan.Zero; ...
mit
C#
b000a4f87aa506f8857cf6263807a701b5c97972
Update RemoteNLogViewerOptionsPartialConfigurationValidator.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs
TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs
using FluentValidation; using TIKSN.Configuration.Validator; namespace TIKSN.Analytics.Logging.NLog { public class RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase< RemoteNLogViewerOptions> { public RemoteNLogViewerOptionsPartialConfigu...
using FluentValidation; using TIKSN.Configuration.Validator; namespace TIKSN.Analytics.Logging.NLog { public class RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<RemoteNLogViewerOptions> { public RemoteNLogViewerOptionsPartialConfigurationValidator() ...
mit
C#
1d975e352cd52bd0c06d7f3d1353990f3b5fafe5
Change Json Library
CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity
Assets/Scripts/CloudBread/AzureAuthentication.cs
Assets/Scripts/CloudBread/AzureAuthentication.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class AzureAuthentication : MonoBehaviour { public class AuthenticationToken { } public class FacebookGoogleAuthenticationToken : AuthenticationToken { public string access_token; } public class MicrosoftAu...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using AssemblyCSharp; public class AzureAuthentication : MonoBehaviour { public class AuthenticationToken { } public class FacebookGoogleAuthenticationToken : AuthenticationToken { public string access_token; } pub...
mit
C#
15af11569eaf2d47c5a4251645b92dd17b26876c
Fix cherry pick
ITGlobal/CefSharp,gregmartinhtc/CefSharp,rlmcneary2/CefSharp,jamespearce2006/CefSharp,AJDev77/CefSharp,battewr/CefSharp,Livit/CefSharp,illfang/CefSharp,Livit/CefSharp,Octopus-ITSM/CefSharp,rlmcneary2/CefSharp,zhangjingpu/CefSharp,haozhouxu/CefSharp,joshvera/CefSharp,Haraguroicha/CefSharp,rlmcneary2/CefSharp,VioletLife/...
CefSharp/IsBrowserInitializedChangedEventArgs.cs
CefSharp/IsBrowserInitializedChangedEventArgs.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { /// <summary> /// Event arguments to the IsBrowserInitializedChanged event handler. /// </summary> public ...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; namespace CefSharp { /// <summary> /// Event arguments to the IsBrowserInitializedChanged event handler. /// </summary>...
bsd-3-clause
C#
d4e144d4f33f9b5e61b0b242096431314ed7ea33
remove console logs from tests
yevhen/OrleansDashboard,yevhen/OrleansDashboard,OrleansContrib/OrleansDashboard,OrleansContrib/OrleansDashboard,yevhen/OrleansDashboard,OrleansContrib/OrleansDashboard
UnitTests/TypeFormatterTests.cs
UnitTests/TypeFormatterTests.cs
using System; using OrleansDashboard; using TestGrains; using Xunit; namespace UnitTests { public class TypeFormatterTests { [Fact] public void TestSimpleType() { var example = "System.String"; var name = TypeFormatter.Parse(example); Assert.Equal(...
using System; using OrleansDashboard; using TestGrains; using Xunit; namespace UnitTests { public class TypeFormatterTests { [Fact] public void TestSimpleType() { var example = "System.String"; var name = TypeFormatter.Parse(example); Assert.Equal(...
mit
C#
a7bb761521e44eeeaa5eb8bd3d22c9fdfde41a30
Update Read.cshtml
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Views/Feed/Read.cshtml
src/Firehose.Web/Views/Feed/Read.cshtml
@using BlogMonster.Extensions @using Firehose.Web.Infrastructure @using Firehose.Web.Extensions @using ThirdDrawer.Extensions.ClassExtensionMethods @model System.ServiceModel.Syndication.SyndicationFeed @{ Layout = "~/Views/Shared/_ContainerLayout.cshtml"; } @foreach (var item in Model.Items) { var author =...
@using BlogMonster.Extensions @using Firehose.Web.Infrastructure @using ThirdDrawer.Extensions.ClassExtensionMethods @model System.ServiceModel.Syndication.SyndicationFeed @{ Layout = "~/Views/Shared/_ContainerLayout.cshtml"; } @foreach (var item in Model.Items) { var author = item.Authors.FirstOrDefault(); ...
mit
C#
a8cf02acb9e1a037e798319dc23556af11402d6b
fix ToInt to use InvariantCulture for parsing integer
acple/ParsecSharp
ParsecSharp/Parser/Text.Combinator.Extensions.cs
ParsecSharp/Parser/Text.Combinator.Extensions.cs
using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Runtime.CompilerServices; namespace ParsecSharp { public static partial class Text { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<char, string> AsString(this Parser<char, cha...
using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace ParsecSharp { public static partial class Text { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<char, string> AsString(this Parser<char, char> parser) => pa...
mit
C#
c3fbe6da88daf89e73bd7b10a9fff9ed1915b878
Add comments for DefaultBuild.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
bootstrapping/DefaultBuild.cs
bootstrapping/DefaultBuild.cs
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.FileSystem.FileSystemTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using static Nuke.Core.EnvironmentInfo; class DefaultBuild : ...
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.FileSystem.FileSystemTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using static Nuke.Core.EnvironmentInfo; class DefaultBuild : ...
mit
C#
bcf80ca98dfb946c60c48cff0ff648077ebc5794
Update fake-host.cs
axotion/Fake-Host
fake-host.cs
fake-host.cs
using System; using System.IO; using System.Security.Principal; /* For example * 127.0.0.1 google.com * Where 127.0.0.1 is your server/whatever * Also you can run it with parametr like xxx.xxx.xxx.xxx www.something.com * */ struct Var{ public static string IP = "127.0.0.1"; public static string Dest = "www.google...
using System; using System.IO; using System.Security.Principal; /* For example * 127.0.0.1 google.com * Where 127.0.0.1 is your server/whatever * Also yo can run it with parametr xxx.xxx.xxx.xxx www.something.com * */ class Var{ public static string IP = "127.0.0.1"; public static string Dest = "www.google.com"; ...
mit
C#
0ca71e02b9d259d5bd46c0cc7e3f39ebb0513d61
Add doc
arkeine/Fierce-Galaxy,arkeine/Fierce-Galaxy
fierce-galaxy/FierceGalaxyInterface/IInvalidable.cs
fierce-galaxy/FierceGalaxyInterface/IInvalidable.cs
using System; namespace FierceGalaxyInterface { /// <summary> /// An invalidable object is an object "valid" /// until the invalidate method is call. /// /// Invalidable object can be share with other objects /// without fear that they continu using it if no /// longuer valid. /// ...
using System; namespace FierceGalaxyInterface { public interface IInvalidable { event EventHandler OnInvalidate; /// <summary> /// When a player is invalidate, it send a event to all listener. /// This event mean the listener shoult stop to use it. /// </summary> ...
apache-2.0
C#
b2ebcabdd5c56fa734a6eaf8eacc8b8c5c3db9a6
Fix potential crash during stable install migration due to multiple configuration files
NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game/IO/StableStorage.cs
osu.Game/IO/StableStorage.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.Linq; using osu.Framework.Platform; namespace osu.Game.IO { /// <summary> /// A storage pointing to an osu-stable in...
// 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.Linq; using osu.Framework.Platform; namespace osu.Game.IO { /// <summary> /// A storage pointing to an osu-stable in...
mit
C#
106f5a99ace2220da62f3c7b37b1d49f16fc2b84
build routes immediately
Drawaes/CondenserDotNet,deanshackley/CondenserDotNet
src/CondenserDotNet.Server.Extensions/ApplicationBuilderExtensions.cs
src/CondenserDotNet.Server.Extensions/ApplicationBuilderExtensions.cs
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using System.Threading.Tasks; namespace CondenserDotNet.Server { public static class ApplicationBuilderExtensions { public static IApplicationBuilder UseCondenser(this IApplicationBuilder self) { se...
using Microsoft.AspNetCore.Builder; namespace CondenserDotNet.Server { public static class ApplicationBuilderExtensions { public static IApplicationBuilder UseCondenser(this IApplicationBuilder self) { self.UseMiddleware<RoutingMiddleware>(); //self.UseMiddleware<Websoc...
mit
C#
65d94777a45daaaec5a04caf1d701f63d7f4d48c
simplify part settings retrieval for TitlePartDisplay (#5372)
petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Or...
src/OrchardCore.Modules/OrchardCore.Title/Drivers/TitlePartDisplay.cs
src/OrchardCore.Modules/OrchardCore.Title/Drivers/TitlePartDisplay.cs
using System.Threading.Tasks; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.ContentManagement.Display.Models; using OrchardCore.DisplayManagement.ModelBinding; using OrchardCore.DisplayManagement.Views; using OrchardCore.Title.Models; using OrchardCore.Title.ViewModels; namespace Orchar...
using System.Linq; using System.Threading.Tasks; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.ContentManagement.Metadata; using OrchardCore.DisplayManagement.ModelBinding; using OrchardCore.DisplayManagement.Views; using OrchardCore.Title.Models; using OrchardCore.Title.ViewModels; nam...
bsd-3-clause
C#
df3e8fb0ef3564fd7f1e95e91b915c88da3bd868
Update Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs
Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine; using System.Collections.Generic; using Microsoft.MixedReality.Toolkit.UI; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// Utilities for the management of constraints. /// </summary> in...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine; using System.Collections.Generic; using Microsoft.MixedReality.Toolkit.UI; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// Utilities for the management of constraints. /// </summary> in...
mit
C#
7fd0175d643ad48af596013ce2350d13bef7cce3
Fix handling of transient bindings to accomodate bindings that have been specified for an ancestral type
x335/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs
WootzJs.Injection/Context.cs
WootzJs.Injection/Context.cs
using System; using System.Collections.Generic; namespace WootzJs.Injection { public class Context { private ICache cache; private IDictionary<Type, IBinding> transientBindings; public Context(Context context = null, ICache cache = null, IDictionary<Type, IBinding> transientBindings =...
using System; using System.Collections.Generic; namespace WootzJs.Injection { public class Context { private ICache cache; private IDictionary<Type, IBinding> transientBindings; public Context(Context context = null, ICache cache = null, IDictionary<Type, IBinding> transientBindings =...
mit
C#
0c8f9be45984a58a62fad5bded588c4a7d3c3978
change to public
Agrando/IdentityServer3,AscendXYZ/Thinktecture.IdentityServer.v3,maz100/Thinktecture.IdentityServer.v3,buddhike/IdentityServer3,huoxudong125/Thinktecture.IdentityServer.v3,chicoribas/IdentityServer3,delloncba/IdentityServer3,paulofoliveira/IdentityServer3,mvalipour/IdentityServer3,SonOfSam/IdentityServer3,johnkors/Thin...
source/Core/Plumbing/ClaimComparer.cs
source/Core/Plumbing/ClaimComparer.cs
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System; using System.Collections.Generic; using System.Security.Claims; namespace Thinktecture.IdentityServer.Core.Plumbing { public class ClaimComparer : IEqualityComparer<Claim> { public bool Equals(Clai...
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System; using System.Collections.Generic; using System.Security.Claims; namespace Thinktecture.IdentityServer.Core.Plumbing { class ClaimComparer : IEqualityComparer<Claim> { public bool Equals(Claim x, Cl...
apache-2.0
C#
2469b77eda2bcc77cad681737070a3dcabff8ee0
Improve asynchronous listener invocation
danielmundt/csremote
source/Remoting.Service/EventProxy.cs
source/Remoting.Service/EventProxy.cs
#region Header // Copyright (C) 2012 Daniel Schubert // // 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, modify, ...
#region Header // Copyright (C) 2012 Daniel Schubert // // 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, modify, ...
mit
C#
93c42ec6a585fe9b141897d95dbeaa2dc420879e
prepare for release.
AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/mi...
src/ADAL.Common/CommonAssemblyInfo.cs
src/ADAL.Common/CommonAssemblyInfo.cs
//---------------------------------------------------------------------- // Copyright (c) Microsoft Open Technologies, Inc. // All Rights Reserved // Apache License 2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
//---------------------------------------------------------------------- // Copyright (c) Microsoft Open Technologies, Inc. // All Rights Reserved // Apache License 2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
mit
C#
ee47834e9ac4be3ab7875593ea92d08ec11ba6f6
Switch to IAmACommunityMember
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/ThomasLee.cs
src/Firehose.Web/Authors/ThomasLee.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 ThomasLee : IAmACommunityMember { public string FirstName => "Thomas"; public string LastN...
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 ThomasLee : IAmAMicrosoftMVP { public string FirstName => "Thomas"; public string LastName...
mit
C#
71aacfe0e26169289c8a4be306c44d90bea35ae2
add comment to IdentityNameHelper
peopleware/net-ppwcode-util-oddsandends
src/II/Security/IdentityNameHelper.cs
src/II/Security/IdentityNameHelper.cs
// Copyright 2014 by PeopleWare n.v.. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright 2014 by PeopleWare n.v.. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
C#
a4189351827dc7d54bd8f3bd82b9745106c1bc58
Fix tests.
JohanLarsson/Gu.Analyzers
Gu.Analyzers.Test/GU0080TestAttributeCountMismatchTests/Diagnostics.cs
Gu.Analyzers.Test/GU0080TestAttributeCountMismatchTests/Diagnostics.cs
namespace Gu.Analyzers.Test.GU0080TestAttributeCountMismatchTests { using Gu.Roslyn.Asserts; using NUnit.Framework; internal class Diagnostics { private static readonly TestMethodAnalyzer Analyzer = new TestMethodAnalyzer(); private static readonly ExpectedDiagnostic ExpectedDiagnostic ...
namespace Gu.Analyzers.Test.GU0080TestAttributeCountMismatchTests { using Gu.Roslyn.Asserts; using NUnit.Framework; internal class Diagnostics { private static readonly TestMethodAnalyzer Analyzer = new TestMethodAnalyzer(); private static readonly ExpectedDiagnostic ExpectedDiagnostic ...
mit
C#
7144b4d9766a915ba41d4fb2bff1ebedc8ff73da
revert to name Nimbus from Anubus in AssemblyInfo
rebase42/Anubus,rebase42/Anubus,rebase42/Anubus
src/Nimbus/Properties/AssemblyInfo.cs
src/Nimbus/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("N...
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("A...
mit
C#
8a1c8475b8ec68d113c79dbab3a4519612bad701
Update Interfaces BaseContext
countrywide/Umbraco-CMS,VDBBjorn/Umbraco-CMS,rasmusfjord/Umbraco-CMS,lars-erik/Umbraco-CMS,hfloyd/Umbraco-CMS,romanlytvyn/Umbraco-CMS,gavinfaux/Umbraco-CMS,lingxyd/Umbraco-CMS,wtct/Umbraco-CMS,dampee/Umbraco-CMS,leekelleher/Umbraco-CMS,Tronhus/Umbraco-CMS,lingxyd/Umbraco-CMS,iahdevelop/Umbraco-CMS,wtct/Umbraco-CMS,YsqE...
umbraco.MacroEngines.Juno/BaseContext.cs
umbraco.MacroEngines.Juno/BaseContext.cs
using System; using System.Web.WebPages; using umbraco.cms.businesslogic.macro; using umbraco.interfaces; namespace umbraco.MacroEngines { public abstract class BaseContext<T> : WebPage, IMacroContext { private MacroModel _macro; private INode _node; protected T CurrentModel; ...
using System; using System.Web.WebPages; using umbraco.cms.businesslogic.macro; using umbraco.interfaces; namespace umbraco.MacroEngines { public abstract class BaseContext<T> : WebPage, IMacroContext { private MacroModel _macro; private INode _node; protected T CurrentModel; ...
mit
C#
2cfd69eebb0e231fbf3c9024354ac0e37ea0c4f9
Use 1.0.0 as the default informational version so it's easy to spot when it might have been un-patched during a build
merbla/serilog,vossad01/serilog,serilog/serilog,ajayanandgit/serilog,serilog/serilog,skomis-mm/serilog,CaioProiete/serilog,SaltyDH/serilog,richardlawley/serilog,Applicita/serilog,colin-young/serilog,adamchester/serilog,adamchester/serilog,colin-young/serilog,nblumhardt/serilog,zmaruo/serilog,joelweiss/serilog,Jaben/ser...
assets/CommonAssemblyInfo.cs
assets/CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.4.0.0")] [assembly: AssemblyFileVersion("1.4.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")]
using System.Reflection; [assembly: AssemblyVersion("1.4.0.0")] [assembly: AssemblyFileVersion("1.4.0.0")] [assembly: AssemblyInformationalVersion("1.4.15")]
apache-2.0
C#
3e3569d53f539ff0c8aec1ca0dcadbcdbc4973b0
Fix application exit.
MvvmFx/MvvmFx,tfreitasleal/MvvmFx
Samples/CaliburnMicro/BoundTreeView/BoundTreeView.WisejWeb/MainForm.cs
Samples/CaliburnMicro/BoundTreeView/BoundTreeView.WisejWeb/MainForm.cs
using System; using System.Collections.Generic; using MvvmFx.CaliburnMicro; using MvvmFx.Windows.Data; #if WISEJ using Wisej.Web; using LogManager = MvvmFx.WisejWeb.LogManager; #else using System.Windows.Forms; using LogManager = MvvmFx.Windows.Forms.LogManager; #endif namespace BoundTreeView { public partial cla...
using System; using System.Collections.Generic; using MvvmFx.CaliburnMicro; using MvvmFx.Windows.Data; #if WISEJ using Wisej.Web; using LogManager = MvvmFx.WisejWeb.LogManager; #else using System.Windows.Forms; using LogManager = MvvmFx.Windows.Forms.LogManager; #endif namespace BoundTreeView { public partial cla...
mit
C#
ca895608494b07ab142034c75d9a6be305a3a4fd
Remove unnecessary `!`
github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql
csharp/extractor/Semmle.Extraction.CIL/Entities/Base/LabelledEntity.cs
csharp/extractor/Semmle.Extraction.CIL/Entities/Base/LabelledEntity.cs
using System; using System.Collections.Generic; using System.IO; namespace Semmle.Extraction.CIL { /// <summary> /// An entity that needs to be populated during extraction. /// This assigns a key and optionally extracts its contents. /// </summary> internal abstract class LabelledEntity : Extractio...
using System; using System.Collections.Generic; using System.IO; namespace Semmle.Extraction.CIL { /// <summary> /// An entity that needs to be populated during extraction. /// This assigns a key and optionally extracts its contents. /// </summary> internal abstract class LabelledEntity : Extractio...
mit
C#
6ed8c7c242beefc498465b3d2b60ca741ba9574d
Update AssemblyInfo.cs
fredatgithub/UsefulFunctions
ConsoleApplicationUsageDemo/Properties/AssemblyInfo.cs
ConsoleApplicationUsageDemo/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("Co...
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("Co...
mit
C#
bb661abfa65d44f1fb15f6d351f3fbcbb8e3984a
Clean up `OsuModSettingsTextBox`
smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu
osu.Game/Graphics/UserInterface/OsuModSettingsTextBox.cs
osu.Game/Graphics/UserInterface/OsuModSettingsTextBox.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Input.Events; using osuTK.Graphics; namespace osu.Game.Graphics.User...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics.Colour; using osu.Framework.Input.Events; namespace osu.Gam...
mit
C#
503c5532714c2be5c00341c467b40bd475463816
Update StephenOwen.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/StephenOwen.cs
src/Firehose.Web/Authors/StephenOwen.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 StephenOwen : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Stephen"; pub...
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 StephenOwen : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Stephen"; pub...
mit
C#
5a1f3c9364000fdf905bdd2b773d567367859e12
Add Try block. bugid: 623
MarimerLLC/csla,JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,rockfordlhotka/csla,jonnybee/csla,ronnymgm/csla-light,BrettJaner/csla,ronnymgm/csla-light,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,jonnybee/csla,jonnybee/csla,JasonBock/csla,rockfordlhotka/csla,BrettJaner/csla,JasonBock/csla
Source/Csla.test/Silverlight/Rollback/RollbackTests.cs
Source/Csla.test/Silverlight/Rollback/RollbackTests.cs
#if NUNIT using NUnit.Framework; using TestClass = NUnit.Framework.TestFixtureAttribute; using TestInitialize = NUnit.Framework.SetUpAttribute; using TestCleanup = NUnit.Framework.TearDownAttribute; using TestMethod = NUnit.Framework.TestAttribute; using TestSetup = NUnit.Framework.SetUpAttribute; #elif MSTEST ...
#if NUNIT using NUnit.Framework; using TestClass = NUnit.Framework.TestFixtureAttribute; using TestInitialize = NUnit.Framework.SetUpAttribute; using TestCleanup = NUnit.Framework.TearDownAttribute; using TestMethod = NUnit.Framework.TestAttribute; using TestSetup = NUnit.Framework.SetUpAttribute; #elif MSTEST ...
mit
C#
81dabbaa1e4cafebd5b6adb40c733d31b089a46a
Add null check to CommitCollection
gep13/GitVersion,GitTools/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,gep13/GitVersion,asbjornu/GitVersion
src/GitVersion.LibGit2Sharp/Git/CommitCollection.cs
src/GitVersion.LibGit2Sharp/Git/CommitCollection.cs
using GitVersion.Extensions; using LibGit2Sharp; namespace GitVersion; internal sealed class CommitCollection : ICommitCollection { private readonly ICommitLog innerCollection; internal CommitCollection(ICommitLog collection) => this.innerCollection = collection.NotNull(); public IEnumerator<ICommit> Ge...
using LibGit2Sharp; namespace GitVersion; internal sealed class CommitCollection : ICommitCollection { private readonly ICommitLog innerCollection; internal CommitCollection(ICommitLog collection) => this.innerCollection = collection; public IEnumerator<ICommit> GetEnumerator() => this.innerCollection.Se...
mit
C#
7aaf4faff7d211ce2428103be258225244c0c608
remove redundant conditional compilation
joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet
src/GraphQL/DataLoader/DataLoaderContextAccessor.cs
src/GraphQL/DataLoader/DataLoaderContextAccessor.cs
using System.Threading; namespace GraphQL.DataLoader { public class DataLoaderContextAccessor : IDataLoaderContextAccessor { private readonly AsyncLocal<DataLoaderContext> _current = new AsyncLocal<DataLoaderContext>(); public DataLoaderContext Context { get => _current.Val...
#if NET45 using System.Runtime.Remoting.Messaging; using System.Runtime.Remoting; #else using System.Threading; #endif namespace GraphQL.DataLoader { public class DataLoaderContextAccessor : IDataLoaderContextAccessor { #if NET45 private const string LogicalDataKey = "__DataLoaderContext_Current__"; ...
mit
C#
95ef73bc40b66e5ed00af86f7b67d87271b84793
Remove random context cleanup console output
gphoto/libgphoto2,gphoto/libgphoto2,msmeissn/libgphoto2,gphoto/libgphoto2,msmeissn/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,jbreeden/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,msmeissn/libgphoto2,thusoy/libgphoto2,jbreeden/libgphoto2,msmeissn/libgphoto2,jbreeden/libgpho...
bindings/csharp/Context.cs
bindings/csharp/Context.cs
using System; using System.Runtime.InteropServices; namespace LibGPhoto2 { public class Context : Object { [DllImport ("libgphoto2.so")] internal static extern IntPtr gp_context_new (); public Context () { this.handle = new HandleRef (this, gp_context_new ()); } [DllImport ("libgphoto2.so")] int...
using System; using System.Runtime.InteropServices; namespace LibGPhoto2 { public class Context : Object { [DllImport ("libgphoto2.so")] internal static extern IntPtr gp_context_new (); public Context () { this.handle = new HandleRef (this, gp_context_new ()); } [DllImport ("libgphoto2.so")] int...
lgpl-2.1
C#
150162594d83cfb7c12d9ceb6ccc638234af0ab3
Update doc to match latest version on nuget.org
softlion/XamarinFormsGesture
Demo/DemoApp/DemoApp/MainPageViewModel.cs
Demo/DemoApp/DemoApp/MainPageViewModel.cs
using System; using System.Windows.Input; using Vapolia.Lib.Ui; using Xamarin.Forms; namespace DemoApp { public class MainPageViewModel : BindableObject { private readonly INavigation navigation; private Point pan, pinch; private double rotation, scale; public Point Pan { get ...
using System; using System.Windows.Input; using Vapolia.Lib.Ui; using Xamarin.Forms; namespace DemoApp { public class MainPageViewModel : BindableObject { private readonly INavigation navigation; private Point pan, pinch; private double rotation, scale; public Point Pan { get ...
apache-2.0
C#