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 |
|---|---|---|---|---|---|---|---|---|
362007e5d352d3eafcc260a2270fa8833d2bbf05 | correct the assembly information for SQLiteNG | TomDataworks/opensim,RavenB/opensim,RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenS... | OpenSim/Data/SQLiteNG/Properties/AssemblyInfo.cs | OpenSim/Data/SQLiteNG/Properties/AssemblyInfo.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | bsd-3-clause | C# |
d0bead69a709d8dfaeb827746e5f492b7e295915 | Fix clear of histogram | FSchiltz/RawParser,FSchiltz/RawParser,FSchiltz/RawParser | Source/RawParser/View/UIHelper/Histogram.cs | Source/RawParser/View/UIHelper/Histogram.cs | using System;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Shapes;
namespace RawEditor.View.UIHelper
{
class Histogram
{
//TODO simplify if memory saver mode
public static async ... | using System;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Shapes;
namespace RawEditor.View.UIHelper
{
class Histogram
{
//TODO simplify if memory saver mode
public static async ... | mit | C# |
c0ade649cda80ad143d4ba48a63fe9dc598f24bb | Fix CF - comment | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Extensions/MemoryExtensions.cs | WalletWasabi/Extensions/MemoryExtensions.cs | using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Extensions.Caching.Memory
{
public static class MemoryExtensions
{
private static Dictionary<IMemoryCache, Dictionary<object, AsyncLock>> AsyncLocks { get; } =... | using Nito.AsyncEx;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Extensions.Caching.Memory
{
public static class MemoryExtensions
{
private static Dictionary<IMemoryCache, Dictionary<object, AsyncLock>> AsyncLocks { get; } =... | mit | C# |
8e65642dc2ba5dcfc710ae35ead6bf9f4a684872 | Rename variable. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Extensions/StreamExtensions.cs | WalletWasabi/Extensions/StreamExtensions.cs | using System.Buffers;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO
{
public static class StreamExtensions
{
public static async Task<int> ReadByteAsync(this Stream stream, CancellationToken ctsToken = default)
{
ArrayPool<byte> pool = ArrayPool<byte>.Shared;
byte[] buffer = poo... | using System.Buffers;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO
{
public static class StreamExtensions
{
public static async Task<int> ReadByteAsync(this Stream stream, CancellationToken ctsToken = default)
{
ArrayPool<byte> pool = ArrayPool<byte>.Shared;
byte[] buffer = poo... | mit | C# |
07f2b1e75386275480869858b22f43fb22c6b823 | Tweak to wrapper | mcintyre321/Noodles,mcintyre321/Noodles | WebNoodle/Reflection/ObjectMethodWrapper.cs | WebNoodle/Reflection/ObjectMethodWrapper.cs | using System.Collections.Generic;
namespace WebNoodle
{
public class ObjectMethodWrapper : IObjectMethod, IHasPath
{
private readonly IObjectMethod _inner;
private string _innerName;
private string _innerDisplayName;
public string Name
{
get { return _innerNa... | using System.Collections.Generic;
namespace WebNoodle
{
public class ObjectMethodWrapper : IObjectMethod, IHasPath
{
private readonly IObjectMethod _inner;
private string _innerName;
private string _innerDisplayName;
private string _path;
public string Name
{
... | mit | C# |
f03b8206da2c2a3e7eaa045b8631c882c352785f | Make banana showers always last in combo (explodey) | ZLima12/osu,peppy/osu-new,ZLima12/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,Frontear/osuKyzer,2yangk23/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,Nabile-Rahmani/o... | osu.Game.Rulesets.Catch/Objects/BananaShower.cs | osu.Game.Rulesets.Catch/Objects/BananaShower.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 osu.Framework.MathUtils;
using osu.Game.Rulesets.Objects.Types;
using OpenTK.Graphics;
namespace osu.Game.Rulesets.Catch.Objects
{
public class Bana... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.MathUtils;
using osu.Game.Rulesets.Objects.Types;
using OpenTK.Graphics;
namespace osu.Game.Rulesets.Catch.Objects
{
public class Bana... | mit | C# |
452faa02c1fdfe092e35607d267b471f9a5ca204 | Update SlimyYoyo.cs | Minesap/TheMinepack | Items/Weapons/SlimyYoyo.cs | Items/Weapons/SlimyYoyo.cs | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Minepack.Items;
namespace Minepack.Items.Weapons {
public class SlimyYoyo : ModItem
{
public override void SetDefaults()
... | using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
using Minepack.Items;
namespace Minepack.Items.Weapons {
public class SlimyYoyo : ModItem
{
public override void SetDefaults()
... | mit | C# |
6965f1400f8fdfb8d292c70639c22e725f6d86a1 | Add string extension method | emoacht/Monitorian | Source/Monitorian.Core/Helper/StringExtension.cs | Source/Monitorian.Core/Helper/StringExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Monitorian.Core.Helper
{
/// <summary>
/// Extension methods for <see cref="String"/>
/// </summary>
public static class StringExtension
{
/// <summary>
/// Indicates wh... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Monitorian.Core.Helper
{
/// <summary>
/// Extension methods for <see cref="String"/>
/// </summary>
public static class StringExtension
{
public static bool IsAscii(this s... | mit | C# |
59474a611b59ffaa64ada299a37a4305ba7879a8 | Improve logging. | rmcardle/LazerTagHost,rmcardle/LazerTagHost | LazerTagHostLibrary/Log.cs | LazerTagHostLibrary/Log.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace LazerTagHostLibrary
{
public class Log
{
#region Public methods
public static void Add(Severity severity, string format, params object[] arguments)
{
try
{
var time = DateTime.Now;
var message = string.Format(format,... | using System;
using System.ComponentModel;
using System.Diagnostics;
namespace LazerTagHostLibrary
{
public class Log
{
public static void Add(Severity severity, string format, params object[] arguments)
{
if (severity < LogLevel) return;
try
{
var message = string.Format(format, arguments);
va... | mit | C# |
8f15681a87d59a30e7f42bdb9012f975d94446c4 | Update DistributedCacheQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Cache/Distributed/DistributedCacheQueryRepository.cs | TIKSN.Core/Data/Cache/Distributed/DistributedCacheQueryRepository.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Options;
using TIKSN.Serialization;
namespace TIKSN.Data.Cache.Distributed
{
public class DistributedCacheQueryRepository<TEntity, TIdent... | using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Serialization;
namespace TIKSN.Data.Cache.Distributed
{
public class DistributedCacheQueryRepository<TEntity, TIdent... | mit | C# |
b00169a6cfdfd8ca01a0b0a3c3c3ffcc90830607 | Add a helper method for multi delegates | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | binding/HarfBuzzSharp.Shared/DelegateProxies.cs | binding/HarfBuzzSharp.Shared/DelegateProxies.cs | using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace HarfBuzzSharp
{
// public delegates
public delegate void ReleaseDelegate (object context);
public delegate Blob GetTableDelegate (Face face, Tag tag, object context);
// bad choices.
// this should not have ha... | using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace HarfBuzzSharp
{
// public delegates
public delegate void ReleaseDelegate (object context);
public delegate Blob GetTableDelegate (Face face, Tag tag, object context);
// bad choices.
// this should not have had... | mit | C# |
d8167aaf807d0e2fe91cb79763e7ad8664cf3014 | Add fog to PizzaModel. | saschb2b/mugo | mugo/PizzaModel.cs | mugo/PizzaModel.cs | using System;
using Engine.cgimin.material.simpletexture;
using Engine.cgimin.object3d;
using Engine.cgimin.texture;
using OpenTK;
using Engine.cgimin.material.normalmappingfog;
namespace Mugo
{
class PizzaModel : ClonedObject<PizzaModelInternal>, ITunnelSegementElementModel
{
private static readonly NormalMappin... | using System;
using Engine.cgimin.material.simpletexture;
using Engine.cgimin.object3d;
using Engine.cgimin.texture;
using OpenTK;
namespace Mugo
{
class PizzaModel : ClonedObject<PizzaModelInternal>, ITunnelSegementElementModel
{
private static readonly SimpleTextureMaterial material = new SimpleTextureMaterial(... | mit | C# |
392bc247e993db277f10aff164c07cb57d7e1379 | remove code that would be deprecated on arrival | FacturAPI/facturapi-net | facturapi-net/Models/Organization.cs | facturapi-net/Models/Organization.cs | using System;
using System.Collections.Generic;
namespace Facturapi
{
public class Organization
{
public string Id { get; set; }
public DateTime CreatedAt { get; set; }
public bool IsProductionReady { get; set; }
public List<CompletionStep> PendingSteps { get; set; }
pub... | using Facturapi.Wrappers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Facturapi
{
public class Organization
{
public string Id { get; set; }
public DateTime CreatedAt { get; set; }
public bool IsProductionReady { get; set; }
... | mit | C# |
a772ca5acffd65cb216aa4078f3eb4152f025830 | Tweak skybox rotation direction and speed | iridinite/shiftdrive | Client/Skybox.cs | Client/Skybox.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
/// <summary>
/// Contains static utilities to render a skybox.
/// </summary>
internal static class Skybox {
private static float rotation;... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
/// <summary>
/// Contains static utilities to render a skybox.
/// </summary>
internal static class Skybox {
private static float rotation;... | bsd-3-clause | C# |
6df8346f58e5a2e523ffe567ae46e358259b317c | Set Assembly Information | msarchet/Flipper | Flipper/Properties/AssemblyInfo.cs | Flipper/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fl... | mit | C# |
b95176587ec911d4cff55216ef06b58e37c8f480 | Add LocalMemoryType.None | sharwell/NOpenCL,tunnelvisionlabs/NOpenCL | NOpenCL/LocalMemoryType.cs | NOpenCL/LocalMemoryType.cs | namespace NOpenCL
{
public enum LocalMemoryType
{
None = 0,
Local = 1,
Global = 2,
}
}
| namespace NOpenCL
{
public enum LocalMemoryType
{
Local = 1,
Global = 2,
}
}
| mit | C# |
335fe3e3037d2320e763087f76d19ddfb7255e0f | update version | ezaurum/dapper | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
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.
[assembly: AssemblyTitle("Dapper Repository... | using System.Reflection;
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.
[assembly: AssemblyTitle("Dapper Repository... | mit | C# |
574ca1f4824549b5542985f873d231a80392beba | Update nullable annotations in Experiments folder | wvdd007/roslyn,KirillOsenkov/roslyn,mavasani/roslyn,jmarolf/roslyn,jmarolf/roslyn,ErikSchierboom/roslyn,genlu/roslyn,weltkante/roslyn,KevinRansom/roslyn,tmat/roslyn,genlu/roslyn,panopticoncentral/roslyn,brettfo/roslyn,diryboy/roslyn,dotnet/roslyn,dotnet/roslyn,KirillOsenkov/roslyn,dotnet/roslyn,AmadeusW/roslyn,jmarolf/... | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | src/Workspaces/Core/Portable/Experiments/IExperimentationService.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.
#nullable enable
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAn... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
... | mit | C# |
92498865aa4728074d6cdff2c3b9547d1a345979 | update version to 25 | ezaurum/dapper | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
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.
[assembly: AssemblyTitle("Dapper Repository... | using System.Reflection;
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.
[assembly: AssemblyTitle("Dapper Repository... | mit | C# |
d686a84a759e52c3f72b92bcf15d2d4aad9bfcce | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | dparra0007/Autofac.Mvc,jango2015/Autofac.Mvc,autofac/Autofac.Mvc | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Web;
using Autofac.Integration.Mvc;
[assembly: AssemblyTitle("Autofac.Integration.Mvc")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Mvc, PublicKey=00240000048000009400000006020000002... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Web;
using Autofac.Integration.Mvc;
[assembly: AssemblyTitle("Autofac.Integration.Mvc")]
[assembly: AssemblyDescription("Autofac ASP.NET MVC 4 Integration")]
[assembly: InternalsVi... | mit | C# |
d3058c5cd2ca1820178e6ac61c7121f1b8f7ecbb | Throw a CommandException if no hostname is specified | appharbor/appharbor-cli | src/AppHarbor/Commands/AddHostnameCommand.cs | src/AppHarbor/Commands/AddHostnameCommand.cs | using System;
namespace AppHarbor.Commands
{
public class AddHostnameCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public AddHostnameCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient ap... | using System;
namespace AppHarbor.Commands
{
public class AddHostnameCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public AddHostnameCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient ap... | mit | C# |
8dd7fa10d7d54d1fa5fbba73ba1679d38e83953e | Fix documentation on IEnumIDENTITY_ATTRIBUTE | CDuke/FusionPInvoke,CDuke/FusionPInvoke | src/FusionPInvoke/IEnumIDENTITY_ATTRIBUTE.cs | src/FusionPInvoke/IEnumIDENTITY_ATTRIBUTE.cs | using System;
using System.Runtime.InteropServices;
using System.Security;
namespace FusionPInvoke
{
/// <summary>
/// Serves as an enumerator for the attributes of the code object in the current scope.
/// </summary>
[Guid("9cdaae75-246e-4b00-a26d-b9aec137a3eb")]
[InterfaceType(ComInterfaceType.I... | using System;
using System.Runtime.InteropServices;
using System.Security;
namespace FusionPInvoke
{
/// <summary>
/// Serves as an enumerator for the attributes of the code object in the current scope.
/// </summary>
[Guid("9cdaae75-246e-4b00-a26d-b9aec137a3eb")]
[InterfaceType(ComInterfaceType.I... | mit | C# |
59e5bd1bc068e5427b3e0ce276a6373761667aad | Clean up LockRecursionException | murador/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,stormleoxia/xsp,arthot/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp | src/Mono.WebServer/LockRecursionException.cs | src/Mono.WebServer/LockRecursionException.cs | /*
* System.Threading.LockRecursionException
*
* Author(s)
* Marek Safar <marek.safar@gmail.com>
*
* 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
* w... | /*
* System.Threading.LockRecursionException
*
* Author(s)
* Marek Safar <marek.safar@gmail.com>
*
* 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
* w... | mit | C# |
a2a35568873543f83698067b38274c07290b4792 | Update JSON.cs | Ryanb58/JSONTool | JSONTool/JSON.cs | JSONTool/JSON.cs | namespace JSONTool
{
public class JSON
{
public static string minify(string json)
{
//Return the json string.
return System.Text.RegularExpressions.Regex.Replace(json, "(\"(?:[^\"\\\\]|\\\\.)*\")|\\s+", "$1");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JSONTool
{
public class JSON
{
public string minify(string json)
{
//This will hold the result of the string.
string jsonResult = "";
//int to tell which " or ' ... | mit | C# |
4b20c893598bd48e3bdb2a2698dfa8d6bdb1952d | add method to report local time | Liwoj/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,Recognos/Metrics.NET,cvent/Metrics.NET,Liwoj/Metrics.NET,mnadel/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,etishor/Metrics.NET,alhardy/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,huoxudong... | Src/Metrics/Utils/Clock.cs | Src/Metrics/Utils/Clock.cs |
using System;
using System.Diagnostics;
namespace Metrics.Utils
{
public abstract class Clock
{
private sealed class StopwatchClock : Clock
{
private static readonly long factor = (1000L * 1000L * 1000L) / Stopwatch.Frequency;
public override long Nanoseconds { get { r... |
using System;
namespace Metrics.Utils
{
public abstract class Clock
{
private sealed class StopwatchClock : Clock
{
private static readonly long factor = (1000L * 1000L * 1000L) / System.Diagnostics.Stopwatch.Frequency;
public override long Nanoseconds { get { return S... | apache-2.0 | C# |
4e55f787e26961f81b6bafcbf2d28c66345d6d59 | add XML doc to ObjectExtensions | OlegKleyman/Omego.Extensions | core/Omego.Extensions/NullExtensions/SmartGet.cs | core/Omego.Extensions/NullExtensions/SmartGet.cs | namespace Omego.Extensions.NullExtensions
{
using System;
using System.Linq.Expressions;
using Poco;
/// <summary>
/// Contains extension methods for <see cref="object"/>.
/// </summary>
public static class ObjectExtensions
{
/// <summary>
/// Gets an instance or value... | namespace Omego.Extensions.NullExtensions
{
using System;
using System.Linq.Expressions;
using Omego.Extensions.Poco;
public static class ObjectExtensions
{
public static TResult SmartGet<TTarget, TOrig, TResult>(
this TTarget target,
Expression<Func<TTarget, TOrig... | unlicense | C# |
f993923eeafdef8575e3d5278bdf5f03f3f79b60 | Update to Region | malcolmstill/Wayland.NET,malcolmstill/Wayland.NET | Server/Region.cs | Server/Region.cs |
using System;
using System.Collections.Generic;
namespace Wayland.Server
{
public class WlRect
{
public enum Operation
{
ADD,
SUBTRACT
};
public WlRect(int x, int y, int width, int height, Operation op)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
operation ... |
using System;
using System.Collections.Generic;
namespace Wayland.Server
{
public class WlRect
{
public enum Operation
{
ADD,
SUBTRACT
};
public int x { get; set; }
public int y { get; set; }
public int width { get; set; }
public int height { get; set; }
public Operation operation { get; s... | bsd-3-clause | C# |
768701dc393bf675338a4d7bec3d6c57b639a9c7 | Fix non-critical typo in hex constant. (#586) | LtRipley36706/ACE,LtRipley36706/ACE,Lidefeath/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE | Source/ACE/Network/PacketHeader.cs | Source/ACE/Network/PacketHeader.cs | using System.IO;
using System.Runtime.InteropServices;
using ACE.Common.Cryptography;
namespace ACE.Network
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public class PacketHeader
{
public static uint HeaderSize { get; } = 20u;
public uint Sequence { get; set; }
public Packet... | using System.IO;
using System.Runtime.InteropServices;
using ACE.Common.Cryptography;
namespace ACE.Network
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public class PacketHeader
{
public static uint HeaderSize { get; } = 20u;
public uint Sequence { get; set; }
public Packet... | agpl-3.0 | C# |
10e0479268d3f0c5367fb5c2f471aa4b76f3997c | add gui labels for counts | vankovilija/everyoneisafriend,vankovilija/everyoneisafriend,vankovilija/everyoneisafriend | Assets/Scripts/GameSetup.cs | Assets/Scripts/GameSetup.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameSetup : MonoBehaviour {
public static List<GameObject> happyFriends = new List<GameObject>();
public static List<GameObject> angryFriends = new List<GameObject>();
public int lifesLost = 0;
private Camera mainCam;
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameSetup : MonoBehaviour {
public static List<GameObject> happyFriends = new List<GameObject>();
public static List<GameObject> angryFriends = new List<GameObject>();
public int lifesLost = 0;
private Camera mainCam;
... | mit | C# |
727517baa7f26a04355abbdc0c2a0fe1f75b1385 | Move sound to mouth open | renaudbedard/cooldog-assistant | Assets/Scripts/TextTyper.cs | Assets/Scripts/TextTyper.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
[System.Serializable]
public class DialoguePart {
public string Line;
public float speed = 1.5f;
public DialoguePart(string line, float speed) {
this.Line = line;
this.speed = speed;
}
}
public class TextTyp... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
[System.Serializable]
public class DialoguePart {
public string Line;
public float speed = 1.5f;
public DialoguePart(string line, float speed) {
this.Line = line;
this.speed = speed;
}
}
public class TextTyp... | mit | C# |
836953370d0468c8f38a1d0281650a78682edc6b | Remove unused IoC resolve from SharedCombatModeComponent.cs | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/GameObjects/Components/Mobs/SharedCombatModeComponent.cs | Content.Shared/GameObjects/Components/Mobs/SharedCombatModeComponent.cs | using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
namespace Content.Shared.GameObjects.Components.Mobs
{
public abstract class SharedCombatModeComponent : Component
{
public sealed override uint? NetID => ContentNetIDs.COMBATMODE;
... | using System;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
using Robust.Shared.Serialization;
using Robust.Shared.ViewVariables;
namespace Content.Shared.GameObjects.Components.Mobs
{
public abstract class SharedCombatModeComponent : Component
{
publi... | mit | C# |
80acafc132366fd6a7b5674f07913e314bfe3e33 | Fix wrong column name. | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/MinistryPlatform.Translation/Repositories/ChildCheckinRepository.cs | SignInCheckIn/MinistryPlatform.Translation/Repositories/ChildCheckinRepository.cs | using System.Collections.Generic;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories.Interfaces;
using Crossroads.Utilities.Services.Interfaces;
namespace MinistryPlatform.Translation.Repositories
{
public class ChildCheckinRepository : IChildCheckinRepository
{
... | using System.Collections.Generic;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories.Interfaces;
using Crossroads.Utilities.Services.Interfaces;
namespace MinistryPlatform.Translation.Repositories
{
public class ChildCheckinRepository : IChildCheckinRepository
{
... | bsd-2-clause | C# |
ab0ca13dcdad5fa1f4783fa37efbe043ef8fcd6d | fix NullReferenceException in ClickedItem | tibel/Caliburn.Light | samples/Demo.HelloSpecialValues/ClickedItem.cs | samples/Demo.HelloSpecialValues/ClickedItem.cs | using Caliburn.Light;
using Windows.UI.Xaml.Controls;
namespace Demo.HelloSpecialValues
{
public class ClickedItem : ISpecialValue
{
public object Resolve(CoroutineExecutionContext context)
{
var args = context.EventArgs as ItemClickEventArgs;
return (args != null) ? ar... | using Caliburn.Light;
using Windows.UI.Xaml.Controls;
namespace Demo.HelloSpecialValues
{
public class ClickedItem : ISpecialValue
{
public object Resolve(CoroutineExecutionContext context)
{
return ((ItemClickEventArgs)context.EventArgs).ClickedItem;
}
}
}
| mit | C# |
0212051ba6ad28ec2bd17ce9cc7a5c297a5c204e | update json constructor | DynamoDS/DynamoSamples | src/SampleLibraryUI/Examples/DropDown.cs | src/SampleLibraryUI/Examples/DropDown.cs | using System.Collections.Generic;
using CoreNodeModels;
using Dynamo.Graph.Nodes;
using Dynamo.Utilities;
using ProtoCore.AST.AssociativeAST;
using Newtonsoft.Json;
namespace SampleLibraryUI.Examples
{
[NodeName("Drop Down Example")]
[NodeDescription("An example drop down node.")]
[IsDesignScriptCompatibl... | using System.Collections.Generic;
using CoreNodeModels;
using Dynamo.Graph.Nodes;
using Dynamo.Utilities;
using ProtoCore.AST.AssociativeAST;
using Newtonsoft.Json;
namespace SampleLibraryUI.Examples
{
[NodeName("Drop Down Example")]
[NodeDescription("An example drop down node.")]
[IsDesignScriptCompatibl... | mit | C# |
85462c97fabd0f48d6314c79ae3a543816b4b870 | Add StatusCode to options | mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototy... | src/Glimpse.Agent.Web/GlimpseAgentWebOptions.cs | src/Glimpse.Agent.Web/GlimpseAgentWebOptions.cs | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Glimpse.Agent.Web.Options;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptions
{
public GlimpseAgentWebOptions()
{
IgnoredUris = new List<IgnoredUrisDescriptor>();
... | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Glimpse.Agent.Web.Options;
namespace Glimpse.Agent.Web
{
public class GlimpseAgentWebOptions
{
public GlimpseAgentWebOptions()
{
IgnoredUris = new List<IgnoredUrisDescriptor>();
... | mit | C# |
b04858eacd129abdcbc4739a1215b1e19b6ed4a6 | update header | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/mi... | src/ADAL.PCL.Desktop/UserPasswordCredential.cs | src/ADAL.PCL.Desktop/UserPasswordCredential.cs | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentati... | //----------------------------------------------------------------------
// 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 o... | mit | C# |
bd836472419fefc0416a06bdbdd9eaabde86b7b9 | add of program area | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | apache-2.0 | C# |
f09a4e9c5b0e5507d9d3a22b92682a2190030832 | Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available | peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu | osu.Game/Configuration/DevelopmentOsuConfigManager.cs | osu.Game/Configuration/DevelopmentOsuConfigManager.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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | // 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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | mit | C# |
004dbf70c07fd2e1a8f801ef3950a77a464e55a2 | Update AspNetExtensions.cs | NLog/NLog.Framework.Logging,NLog/NLog.Framework.Logging,NLog/NLog.Extensions.Logging | src/NLog.Framework.logging/AspNetExtensions.cs | src/NLog.Framework.logging/AspNetExtensions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.PlatformAbstractions;
using NLog.Config;
namespace NLog.Framework.Logging
{
/// <summary>
/// Helpers for ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.PlatformAbstractions;
using NLog.Config;
namespace NLog.Framework.Logging
{
/// <summary>
/// Helpers for ... | bsd-2-clause | C# |
f21ef89ce2124bdb755106bc03c0bd44d2ecf6de | Allow overwriting code files on update (#350) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | src/dotnet/APIView/APIViewWeb/Repositories/BlobCodeFileRepository.cs | src/dotnet/APIView/APIViewWeb/Repositories/BlobCodeFileRepository.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.IO;
using System.Threading.Tasks;
using ApiView;
using Azure.Storage.Blobs;
using Microsoft.Extensions.Configuration;
namespace APIViewWeb
{
public class BlobCodeFileRepository
{
private BlobC... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.IO;
using System.Threading.Tasks;
using ApiView;
using Azure.Storage.Blobs;
using Microsoft.Extensions.Configuration;
namespace APIViewWeb
{
public class BlobCodeFileRepository
{
private BlobC... | mit | C# |
5a2adee0446a788335d4d74e232998d4c084792a | change converters to use dark Mode variable | takenet/lime-csharp | src/Lime.Client.TestConsole/Converters/DataOperationToBrushConverter.cs | src/Lime.Client.TestConsole/Converters/DataOperationToBrushConverter.cs | using Lime.Protocol.Network;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace Lime.Client.TestConsole.Converters
{
public class DataOperationToBrushConverter : ... | using Lime.Protocol.Network;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace Lime.Client.TestConsole.Converters
{
public class DataOperationToBrushConverter : ... | apache-2.0 | C# |
dd14a1b3ce0b6177af47c12e4fd5e9c59ff37075 | Support reference types | jjnguy/LRU.Net | LRU.Net/LRU.Net/LruCache.cs | LRU.Net/LRU.Net/LruCache.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LRU.Net
{
public class LruCache<TKey, TValue>
{
private readonly int _maxObjects;
private OrderedDictionary _data;
public... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LRU.Net
{
public class LruCache<TKey, TValue> where TValue : class
{
private readonly int _maxObjects;
private OrderedDictionary _... | mit | C# |
b2059f29b97037e509186cc378297890d60327d4 | Fix for wrong keys when using python binding | zebraxxl/Winium.Desktop,2gis/Winium.Desktop,jorik041/Winium.Desktop | src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs | src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs | namespace Winium.Desktop.Driver.CommandExecutors
{
internal class SendKeysToElementExecutor : CommandExecutorBase
{
#region Methods
protected override string DoImpl()
{
var registeredKey = this.ExecutedCommand.Parameters["ID"].ToString();
var text = string.Join(... | namespace Winium.Desktop.Driver.CommandExecutors
{
internal class SendKeysToElementExecutor : CommandExecutorBase
{
#region Methods
protected override string DoImpl()
{
var registeredKey = this.ExecutedCommand.Parameters["ID"].ToString();
var text = this.Execute... | mpl-2.0 | C# |
0efd1c78210b41dbe7294998ed1d817b652e857f | Clean up build script | robertcoltheart/Conductor,robertcoltheart/Conductor | build.cake | build.cake | #tool "nuget:?package=GitVersion.CommandLine&version=3.6.1"
#tool "nuget:?package=NUnit.ConsoleRunner&version=3.4.1"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var... | #addin "nuget:?package=Cake.DocFx&version=0.1.6"
#addin "nuget:?package=Cake.ReSharperReports&version=0.3.1"
#tool "nuget:?package=GitVersion.CommandLine&version=3.6.1"
#tool "nuget:?package=NUnit.ConsoleRunner&version=3.4.1"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////... | mit | C# |
9de7d0f69d4e40aff5edef24c533a2a72f20e964 | speed up msbuild | zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos | source/Cosmos.Build.Builder/BuildTasks/MSBuildTargetBuildTaskBase.cs | source/Cosmos.Build.Builder/BuildTasks/MSBuildTargetBuildTaskBase.cs | using System;
using System.Collections.Generic;
using Cosmos.Build.Builder.Services;
namespace Cosmos.Build.Builder.BuildTasks
{
internal abstract class MSBuildTargetBuildTaskBase : ProcessBuildTaskBase
{
public abstract string ProjectFilePath { get; }
public abstract IEnumerable<string> Targ... | using System;
using System.Collections.Generic;
using Cosmos.Build.Builder.Services;
namespace Cosmos.Build.Builder.BuildTasks
{
internal abstract class MSBuildTargetBuildTaskBase : ProcessBuildTaskBase
{
public abstract string ProjectFilePath { get; }
public abstract IEnumerable<string> Targ... | bsd-3-clause | C# |
f6284970f6e0af5921578f73c4b39fc1d9d18600 | Update NewtonsoftJsonSerializer.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/Modules/Serializer.Newtonsoft/NewtonsoftJsonSerializer.cs | src/Core2D/Modules/Serializer.Newtonsoft/NewtonsoftJsonSerializer.cs | using System;
using Core2D;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Core2D.Serializer.Newtonsoft
{
public sealed class NewtonsoftJsonSerializer : IJsonSerializer
{
private readonly IServiceProvider _serviceProvider;
private static readonly JsonSerializerSettings Set... | using System;
using Core2D;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Core2D.Serializer.Newtonsoft
{
public sealed class NewtonsoftJsonSerializer : IJsonSerializer
{
private readonly IServiceProvider _serviceProvider;
private static readonly JsonSerializerSettings Set... | mit | C# |
672bb565e8891d29ad1a213860e5f1c8f32a9ba7 | Update QuoteRepository.cs | ScarletKuro/NadekoBot,miraai/NadekoBot,shikhir-arora/NadekoBot,halitalf/NadekoMods,Nielk1/NadekoBot,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Blacnova/NadekoBot,powered-by-moe/MikuBot,Midnight-Myth/Mitternacht-NEW,PravEF/EFNadekoBot,Grinjr/NadekoBot,WoodenGlaze/NadekoBot,ShadowNoire/NadekoBot,Taknok/N... | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | mit | C# |
305736221f75af6fa3d90d045af81ee45e0b0bde | Fix DI test | toddams/RazorLight,toddams/RazorLight | tests/RazorLight.Tests/Extensions/ServiceCollectionExtensionsTest.cs | tests/RazorLight.Tests/Extensions/ServiceCollectionExtensionsTest.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Xunit;
using RazorLight.Extensions;
using System;
namespace RazorLight.Tests.Extensions
{
public class ServiceCollectionExtensionsTest
{
private string rootPath = PathUtility.GetViewsPath();
private IServ... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Xunit;
using RazorLight.Extensions;
using System;
namespace RazorLight.Tests.Extensions
{
public class ServiceCollectionExtensionsTest
{
private string rootPath = PathUtility.GetViewsPath();
private IServ... | apache-2.0 | C# |
ab869b84b6f73be51ed02b273d782c09164738eb | use ints for ids for simpler integration w/domain | tbstudee/IntacctClient | Entities/IntacctLineItem.cs | Entities/IntacctLineItem.cs | using System;
using System.Xml.Linq;
using Intacct.Infrastructure;
namespace Intacct.Entities
{
public class IntacctLineItem : IntacctObject
{
public IntacctLineItem(XElement data)
{
this.SetPropertyValue(x => AccountNumber, data);
this.SetPropertyValue(x => AccountLabel, data, true);
... | using System;
using System.Xml.Linq;
using Intacct.Infrastructure;
namespace Intacct.Entities
{
public class IntacctLineItem : IntacctObject
{
public IntacctLineItem(XElement data)
{
this.SetPropertyValue(x => AccountNumber, data);
this.SetPropertyValue(x => AccountLabel, data, true);
... | mit | C# |
a43948857c84b963ca057192a274e046db017eee | Add license disclaimer | dga711/CefSharp,windygu/CefSharp,joshvera/CefSharp,gregmartinhtc/CefSharp,ITGlobal/CefSharp,rlmcneary2/CefSharp,haozhouxu/CefSharp,NumbersInternational/CefSharp,wangzheng888520/CefSharp,illfang/CefSharp,haozhouxu/CefSharp,Haraguroicha/CefSharp,gregmartinhtc/CefSharp,Octopus-ITSM/CefSharp,ITGlobal/CefSharp,zhangjingpu/C... | CefSharp/TransitionType.cs | CefSharp/TransitionType.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
{
[Flags]
public enum TransitionType : uint
{
/// <summary>
/// Source is a link click or the JavaScript ... | using System;
namespace CefSharp
{
[Flags]
public enum TransitionType : uint
{
/// <summary>
/// Source is a link click or the JavaScript window.open function. This is
/// also the default value for requests like sub-resource loads that are not navigations.
/// </summary>
LinkClicked = 0,
/// <summary... | bsd-3-clause | C# |
090ce84431543fac48da9c8e02260b8a43a4dcb1 | Fix test failing when line endings change | exodrifter/unity-rumor | Compiler/Tests/Script.cs | Compiler/Tests/Script.cs | using Exodrifter.Rumor.Engine;
using Exodrifter.Rumor.Parser;
using NUnit.Framework;
using System.Collections.Generic;
namespace Exodrifter.Rumor.Compiler.Tests
{
using Rumor = Engine.Rumor;
public static class Script
{
[Test]
public static void ScriptOneSuccess()
{
var state = new ParserState("Alice: He... | using Exodrifter.Rumor.Engine;
using Exodrifter.Rumor.Parser;
using NUnit.Framework;
using System.Collections.Generic;
namespace Exodrifter.Rumor.Compiler.Tests
{
using Rumor = Engine.Rumor;
public static class Script
{
[Test]
public static void ScriptOneSuccess()
{
var state = new ParserState("Alice: He... | mit | C# |
9ab55277cc3f67a81553be8610675953bdf7820f | Move comment closer to pertaining region | ddpruitt/morelinq,fsateler/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,morelinq/MoreLINQ,ddpruitt/morelinq | MoreLinq/GenerateByIndex.cs | MoreLinq/GenerateByIndex.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2009 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) 2009 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# |
fbaeb36a4d2363bdf47c993b7fdb717829d43733 | Add comment to IXamlWidgetRenderer interface for #722 | charlenni/Mapsui,charlenni/Mapsui,pauldendulk/Mapsui | Mapsui.Rendering.Xaml/XamlWidgets/IXamlWidgetRenderer.cs | Mapsui.Rendering.Xaml/XamlWidgets/IXamlWidgetRenderer.cs | using System.Windows.Controls;
using Mapsui.Widgets;
namespace Mapsui.Rendering.Xaml.XamlWidgets
{
/// <summary>
/// The IXamlWidgetRenderer interface is not public because xaml rendering will
/// probably be removed on some point and we do not want users to go further
/// in that direction.
/// ... | using System.Windows.Controls;
using Mapsui.Widgets;
namespace Mapsui.Rendering.Xaml.XamlWidgets
{
interface IXamlWidgetRenderer : IWidgetRenderer
{
void Draw(Canvas canvas, IReadOnlyViewport viewport, IWidget widget);
}
}
| mit | C# |
193bdb7912e8c76b66bb564dd136cfcc6bff5d9b | Fix compile error | Yonom/BotBits,EEJesse/BotBits,Tunous/BotBits | BotBits/Properties/AssemblyInfo.cs | BotBits/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("B... | 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("B... | mit | C# |
12cd9cd47c686500bca3c0c3b2e64c3c0428ea7d | Change the indentation margin same as Solution Explorer | eriawan/roslyn,physhi/roslyn,mavasani/roslyn,dotnet/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,dotnet/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,wvdd007/roslyn,weltkante/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,mavasa... | src/VisualStudio/Core/Def/Implementation/InheritanceMargin/MarginGlyph/TargetMenuItemViewModel.cs | src/VisualStudio/Core/Def/Implementation/InheritanceMargin/MarginGlyph/TargetMenuItemViewModel.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Windows;
using Microsoft.CodeAnalysis.Editor.Wpf;
using Microsoft.CodeAnalysis.FindUsages;
using Micro... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Windows;
using Microsoft.CodeAnalysis.Editor.Wpf;
using Microsoft.CodeAnalysis.FindUsages;
using Micro... | mit | C# |
e9a04516b0e9aa08318d674297dc6daa8521b3d0 | Update ShapeRenderer.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.Core/Renderers/ShapeRenderer.cs | src/Draw2D.Core/Renderers/ShapeRenderer.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Draw2D.Core.Shapes;
using Draw2D.Core.Style;
namespace Draw2D.Core.Renderers
{
public abstract class ShapeRenderer : O... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Draw2D.Core.Style;
namespace Draw2D.Core.Renderers
{
public abstract class ShapeRenderer : ObservableObject
{
... | mit | C# |
4af4102b2b819a894a4d1e6574d99c6073c3b4bd | Update homepage URL | GetTabster/Tabster | Tabster/Forms/AboutDialog.cs | Tabster/Forms/AboutDialog.cs | #region
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Tabster.Properties;
using Tabster.Utilities.Extensions;
using Tabster.Utilities.Reflection;
#endregion
namespace Tabster.Forms
{
internal partial class AboutDialog : Form
... | #region
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Tabster.Properties;
using Tabster.Utilities.Extensions;
using Tabster.Utilities.Reflection;
#endregion
namespace Tabster.Forms
{
internal partial class AboutDialog : Form
... | apache-2.0 | C# |
909e88cb112c59e5256f14771c675202b5a8c0f4 | Create Label failing due to null Color & ExternalID being sent to API | MartynJones87/clubhouse.io.net | Clubhouse.io.net/Entities/Labels/ClubhouseCreateLabelParams.cs | Clubhouse.io.net/Entities/Labels/ClubhouseCreateLabelParams.cs | using Newtonsoft.Json;
namespace Clubhouse.io.net.Entities.Labels
{
public class ClubhouseCreateLabelParams
{
[JsonProperty(PropertyName = "color", NullValueHandling = NullValueHandling.Ignore)]
public string Color { get; set; }
[JsonProperty(PropertyName = "external_id", NullValueHan... | using Newtonsoft.Json;
namespace Clubhouse.io.net.Entities.Labels
{
public class ClubhouseCreateLabelParams
{
[JsonProperty(PropertyName = "color")]
public string Color { get; set; }
[JsonProperty(PropertyName = "external_id")]
public string ExternalID { get; set; }
[... | mit | C# |
d912e132619f8c3f0819c81c344349b844ea6b0a | Remove HasErrors override as it is never called on background json symbols anymore. | PenguinF/sandra-three | Eutherion/Shared/Text/Json/JsonUnterminatedMultiLineComment.cs | Eutherion/Shared/Text/Json/JsonUnterminatedMultiLineComment.cs | #region License
/*********************************************************************************
* JsonUnterminatedMultiLineComment.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 Lic... | #region License
/*********************************************************************************
* JsonUnterminatedMultiLineComment.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 Lic... | apache-2.0 | C# |
97e131a795de8d37402a9f0d60f5e31a9c9b3714 | Add a values method | ngallagher/simplexml,ngallagher/simplexml,ngallagher/simplexml | collections/Map.cs | collections/Map.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimpleFramework.Xml {
public abstract class Map<K, V> {
public abstract int Count {
get;
}
public abstract bool Empty {
get;
}
public abstract K[] Keys {
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimpleFramework.Xml {
public abstract class Map<K, V> {
public abstract int Count {
get;
}
public abstract bool Empty {
get;
}
public abstract K[] Keys {
... | apache-2.0 | C# |
44e473577913e5a3e5c84c46c2411afadfb41734 | Update AntimalwareScanResult.cs | tiksn/TIKSN-Framework | TIKSN.Core/Security/Antimalware/AntimalwareScanResult.cs | TIKSN.Core/Security/Antimalware/AntimalwareScanResult.cs | namespace TIKSN.Security.Antimalware
{
public enum AntimalwareScanResult
{
Safe,
Unsafe,
Unknown
}
}
| namespace TIKSN.Security.Antimalware
{
public enum AntimalwareScanResult
{
Safe,
Unsafe,
Unknown
}
} | mit | C# |
eac8b325566a5e1af207f79778a616a052f61584 | Fix unescape code for EmulatedFolderHierachy (failed for more than one escaped character) | Mikescher/AlephNote | Source/AlephNote.PluginInterface/Objects/HierarchyEmulationConfig.cs | Source/AlephNote.PluginInterface/Objects/HierarchyEmulationConfig.cs | using System.Collections.Generic;
using System.Text;
namespace AlephNote.PluginInterface.Util
{
public class HierarchyEmulationConfig
{
public readonly bool EmulateSubfolders;
public readonly string SeperatorString;
public readonly char EscapeChar;
public HierarchyEmulationConfig(bool enabled, string seper... | using System.Collections.Generic;
using System.Text;
namespace AlephNote.PluginInterface.Util
{
public class HierarchyEmulationConfig
{
public readonly bool EmulateSubfolders;
public readonly string SeperatorString;
public readonly char EscapeChar;
public HierarchyEmulationConfig(bool enabled, string seper... | mit | C# |
d6e0e0ce7e1d6787b061af91bab802ac0c60e848 | Update IPartialConfigurationValidator.cs | tiksn/TIKSN-Framework | TIKSN.Core/Configuration/Validator/IPartialConfigurationValidator.cs | TIKSN.Core/Configuration/Validator/IPartialConfigurationValidator.cs | namespace TIKSN.Configuration.Validator
{
public interface IPartialConfigurationValidator<in T>
{
void ValidateConfiguration(T instance);
}
}
| namespace TIKSN.Configuration.Validator
{
public interface IPartialConfigurationValidator<in T>
{
void ValidateConfiguration(T instance);
}
} | mit | C# |
519eccc0126fc901725e1f2e72e3c168056ab724 | Add convenience ctor to Span | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui | Ooui/Span.cs | Ooui/Span.cs | using System;
namespace Ooui
{
public class Span : Element
{
public Span ()
: base ("span")
{
}
public Span (string text)
: this ()
{
Text = text;
}
}
}
| using System;
namespace Ooui
{
public class Span : Element
{
public Span ()
: base ("span")
{
}
}
}
| mit | C# |
93e369d0942cb42df4fb092543091295daa17481 | Add DocumentDb connection to main kotori config | kotorihq/kotori-core | KotoriCore/Configuration/Kotori.cs | KotoriCore/Configuration/Kotori.cs | using System.Collections.Generic;
namespace KotoriCore.Configuration
{
/// <summary>
/// Kotori main configuration.
/// </summary>
public class Kotori
{
/// <summary>
/// Gets or sets the instance.
/// </summary>
/// <value>The instance.</value>
public strin... | using System.Collections.Generic;
namespace KotoriCore.Configuration
{
/// <summary>
/// Kotori main configuration.
/// </summary>
public class Kotori
{
/// <summary>
/// Gets or sets the instance.
/// </summary>
/// <value>The instance.</value>
public strin... | mit | C# |
c29dc262d1ebe25fc8021ae1972180d1df85353c | Simplify implementation of IsNullOrWhiteSpace | glorylee/FluentValidation,IRlyDontKnow/FluentValidation,deluxetiky/FluentValidation,ruisebastiao/FluentValidation,cecilphillip/FluentValidation,mgmoody42/FluentValidation,robv8r/FluentValidation,GDoronin/FluentValidation,regisbsb/FluentValidation,olcayseker/FluentValidation | src/FluentValidation/Validators/NotEmptyValidator.cs | src/FluentValidation/Validators/NotEmptyValidator.cs | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | apache-2.0 | C# |
20d162d6128aece4e670d0ba08bfd75108a2c5b2 | Update tests. | andygjp/EntityFramework-Reverse-POCO-Code-First-Generator,davidsk/EntityFramework-Reverse-POCO-Code-First-Generator,sjh37/efreversepoco | Tester/TableValuedFunctionTests.cs | Tester/TableValuedFunctionTests.cs | using System.Linq;
using NUnit.Framework;
namespace Tester
{
[TestFixture]
public class TableValuedFunctionTests
{
[Test]
public void Standard_test()
{
// Arrange
var db = new TestDatabaseStandard.TestDbContext();
// Act
var data = d... | using System.Linq;
using NUnit.Framework;
namespace Tester
{
[TestFixture]
public class TableValuedFunctionTests
{
[Test]
public void Standard_test()
{
// Arrange
var db = new TestDatabaseStandard.TestDbContext();
// Act
var data = d... | apache-2.0 | C# |
b04555654a7e4dcedadc74b30f597c474108a1ba | Update _Layout.cshtml | aurelia/cli,aurelia/cli | lib/resources/content/javascriptservices/Views/Shared/_Layout.cshtml | lib/resources/content/javascriptservices/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewData["Title"] - Aurelia</title>
<link rel="stylesheet" asp-append-version="true" asp-href-include="~/dist/css/*.css"/>
</head>
<body>
... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewData["Title"] - Aurelia</title>
</head>
<body>
@RenderBody()
@RenderSection("scripts", required: false)
</body>
</html... | mit | C# |
79353be905d0e8147be2f86175e7b441b7e17a92 | Increase the sleep time when polling for diagnostic integration tests. (#894) | benwulfe/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/gcloud-dotnet,iantalarico/google-cloud-dotnet,iantala... | apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.IntegrationTests/BaseEntryPolling.cs | apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.IntegrationTests/BaseEntryPolling.cs | // Copyright 2016 Google Inc. 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | // Copyright 2016 Google Inc. 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | apache-2.0 | C# |
8d412de750da8df3da62afcd138b08232e44fa32 | Change because lqr support was added to the Linux and macOS build. | dlemstra/Magick.NET,dlemstra/Magick.NET | tests/Magick.NET.Tests/Shared/MagickNETTests/TheDelegatesProperty.cs | tests/Magick.NET.Tests/Shared/MagickNETTests/TheDelegatesProperty.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
f9e12f2adece463f7bfe00120818f1198d9b7b75 | Remove debug code | Remi-Tech/compass-core | Compass.CoreServer/Controllers/SubscribeController.cs | Compass.CoreServer/Controllers/SubscribeController.cs | using System.Threading.Tasks;
using Compass.Domain.Models;
using Compass.Domain.Services.Subscription;
using Microsoft.AspNetCore.Mvc;
namespace Compass.CoreServer.Controllers
{
[Produces("application/json")]
public class SubscribeController : Controller
{
private readonly ISubscriptionService _sub... | using System.Threading.Tasks;
using Compass.Domain.Models;
using Compass.Domain.Services.Subscription;
using Microsoft.AspNetCore.Mvc;
namespace Compass.CoreServer.Controllers
{
[Produces("application/json")]
public class SubscribeController : Controller
{
private readonly ISubscriptionService _sub... | apache-2.0 | C# |
8a1acd93921ad3f2fd4e6a62e497ed26461ed640 | Remove comment | nickbabcock/Farmhash.Sharp,nickbabcock/Farmhash.Sharp,nickbabcock/Farmhash.Sharp,nickbabcock/Farmhash.Sharp | Farmhash.Sharp.Benchmarks/HashBenchmark32.cs | Farmhash.Sharp.Benchmarks/HashBenchmark32.cs | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using System.Security.Cryptography;
using System.Text;
#if !CORE
using System.Data.HashFunction;
using xxHashSharp;
#endif
namespace Farmhash.Sharp.Benchmarks
{
[Config(typeof(Config))]
public class HashBenchmark32
{
private... | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Attributes.Jobs;
using System.Security.Cryptography;
using System.Text;
#if !CORE
using System.Data.HashFunction;
using xxHashSharp;
#endif
namespace Farmhash.Sharp.Benchmarks
{
//#if CORE
// [CoreJob]
//#elif MONO
// [MonoJob]
//#else
// [ClrJob]
// ... | mit | C# |
97a4d00d0fe6b8d550a5c31dd2abea5694433243 | Update AdjacencyMatrix.cs | nabaird/Unity-Pathfinding- | Horizontal%20Movement/PathingNodes/AdjacencyMatrix.cs | Horizontal%20Movement/PathingNodes/AdjacencyMatrix.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdjacencyMatrix : MonoBehaviour {
public class vertex
{
public GameObject node;
public float weight;
public vertex(GameObject n, float w)
{
node = n;
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdjacencyMatrix : MonoBehaviour {
public class vertex
{
public GameObject node;
public float weight;
public vertex(GameObject n, float w)
{
node = n;
... | mit | C# |
ce9c323d5d134f6cb7ff9fb0d8cff6e4a3eaef73 | Enable jsonCamelCase option | gregmac/NServiceMVC.Examples.Todomvc,gregmac/NServiceMVC.Examples.Todomvc | NServiceMVC.Examples.Todomvc/App_Start/NServiceMVC.cs | NServiceMVC.Examples.Todomvc/App_Start/NServiceMVC.cs | using System.Web.Mvc;
using System.Web.Routing;
using System.Reflection;
using NServiceMVC;
[assembly: WebActivator.PreApplicationStartMethod(typeof(NServiceMVC.Examples.Todomvc.App_Start.NServiceMVCActivator), "Start")]
namespace NServiceMVC.Examples.Todomvc.App_Start
{
public static class NServiceMVCAc... | using System.Web.Mvc;
using System.Web.Routing;
using System.Reflection;
using NServiceMVC;
[assembly: WebActivator.PreApplicationStartMethod(typeof(NServiceMVC.Examples.Todomvc.App_Start.NServiceMVCActivator), "Start")]
namespace NServiceMVC.Examples.Todomvc.App_Start
{
public static class NServiceMVCAc... | mit | C# |
5a9de9d039042c6d56e3700b43932cf164f240c3 | Fix mono bug in the FontHelper class | chrisvire/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,chrisvire/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,hatton/libpalaso,mccarthyrb/libpalaso,darcywong00/libpalaso,ermshiperete/libpalaso,JohnThomson/libpalaso,glasseyes/libpalaso,JohnThomson/libpalaso,chrisvire/libpalaso,gtryus/li... | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs | using System;
using System.Drawing;
using System.Linq;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[Test]
public void MakeFont_FontName_ValidFont()
{
using (var sourceFont = SystemFonts.DefaultFont)
{... | using System;
using System.Drawing;
using NUnit.Framework;
using Palaso.UI.WindowsForms;
namespace PalasoUIWindowsForms.Tests.FontTests
{
[TestFixture]
public class FontHelperTests
{
[SetUp]
public void SetUp()
{
// setup code goes here
}
[TearDown]
public void TearDown()
{
// tear down code ... | mit | C# |
0ce53bd396a8914e58f3fdea23af703187f03b08 | Implement the MoveNodesAsync method. | AlexGhiondea/SmugMug.NET | src/SmugMugModel.v2/Types/Entities/Node/Node.manual.cs | src/SmugMugModel.v2/Types/Entities/Node/Node.manual.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading.Tasks;
using SmugMug.v2.Authentication;
using System.Collections.Generic;
using System.Linq;
using SmugMug.v2.Utility;
namespa... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading.Tasks;
using SmugMug.v2.Authentication;
namespace SmugMug.v2.Types
{
public partial class NodeEntity : SmugMugEntity
{... | mit | C# |
9ffd3a2a1b9f1b70b6e7f97f788d5f0fd5a572a2 | Update FormulaParser.cs | Excel-DNA/IntelliSense | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
// TODO: What's the Unicode situation?
... | using System;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
// TODO: What's the Unicode situation?
... | mit | C# |
d040870607b98846bd782e958041474f75dac5c9 | add some delay to async void calls to give the disk time to catchup | RoninWest/Ronin.ML | Ronin.ML.Classifier.Test/TestClassifierDataInMongoDB.cs | Ronin.ML.Classifier.Test/TestClassifierDataInMongoDB.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Ronin.ML.Classifier.Test
{
public class TestClassifierDataInMongoDB<F, C> : ClassifierDataInMongoDB<F, C>
{
public TestClassifierDataInMongoDB()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Ronin.ML.Classifier.Test
{
public class TestClassifierDataInMongoDB<F, C> : ClassifierDataInMongoDB<F, C>
{
public TestClassifierDataInMongoDB()
... | agpl-3.0 | C# |
79f82f52eb67f8ab3b137cb381cd4a35d39fa87f | Remove caching from ImmutableSortedSet.Builder.DebuggerProxy | the-dwyer/corefx,axelheer/corefx,nchikanov/corefx,tijoytom/corefx,gkhanna79/corefx,tijoytom/corefx,Ermiar/corefx,tijoytom/corefx,jlin177/corefx,rubo/corefx,mazong1123/corefx,billwert/corefx,the-dwyer/corefx,stone-li/corefx,rubo/corefx,richlander/corefx,jlin177/corefx,gkhanna79/corefx,twsouthwick/corefx,nchikanov/corefx... | src/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedSet_1.Builder.DebuggerProxy.cs | src/System.Collections.Immutable/src/System/Collections/Immutable/ImmutableSortedSet_1.Builder.DebuggerProxy.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Collections.Immutable
{
/// <summary>
/// A simple view of the i... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Collections.Immutable
{
/// <summary>
/// A simple view of the i... | mit | C# |
cd8edb7db83d96fe39daa293b3e0b95c80742e83 | Standardize the AssemblyInfo | Jericho/CakeMail.RestClient | Source/CakeMail.RestClient/Properties/AssemblyInfo.cs | Source/CakeMail.RestClient/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("CakeMail.RestClient")]
[assembly: Assembly... | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a ... | mit | C# |
cdaff8b6b895c0fdfd916b15d9a0a389f5f44af5 | Update base exception documentation. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Exceptions/TraktException.cs | Source/Lib/TraktApiSharp/Exceptions/TraktException.cs | namespace TraktApiSharp.Exceptions
{
using System;
using System.Net;
/// <summary>
/// Base class for all TraktApiSharp exceptions.<para />
/// Can contain additional information like the response's status code, the request's url, a reason phrase of the server,
/// the request body, if it was ... | namespace TraktApiSharp.Exceptions
{
using System;
using System.Net;
/// <summary>
/// Base class for all TraktApiSharp exceptions.<para />
/// Can contain additional information like the response's status code, the request's url, a reason phrase of the server,
/// the request body, if it was ... | mit | C# |
1233fd30da3263d173e97d0b7b2c3c427e1a096f | Rename CreateResourceKey | JohanLarsson/SkinBox | SkinBox.Controls/Keys.cs | SkinBox.Controls/Keys.cs | using System.Windows.Input;
namespace SkinBox.Controls
{
using System.Runtime.CompilerServices;
using System.Windows;
public static class Keys
{
public static ResourceKey BackgroundBrushKey { get; } = CreateResourceKey();
public static ResourceKey CustomControlTemplateKey { get; } = ... | using System.Windows.Input;
namespace SkinBox.Controls
{
using System.Runtime.CompilerServices;
using System.Windows;
public static class Keys
{
public static ResourceKey BackgroundBrushKey { get; } = Get();
public static ResourceKey CustomControlTemplateKey { get; } = Get();
... | mit | C# |
c08e5bf06497979ea0f3387a282cc4d2ad90cf9d | Fix typo with AuthorizationCodeRequestBase (#437) | auth0/auth0.net,auth0/auth0.net | src/Auth0.AuthenticationApi/Models/AuthorizationCodeRequestBase.cs | src/Auth0.AuthenticationApi/Models/AuthorizationCodeRequestBase.cs | namespace Auth0.AuthenticationApi.Models
{
/// <summary>
/// Base class for all types of Authorization Code requests.
/// </summary>
public abstract class AuthorizationCodeRequestBase
{
/// <summary>
/// Authorization code to be exchanged.
/// </summary>
public strin... | namespace Auth0.AuthenticationApi.Models
{
/// <summary>
/// Base class for all types of Authorization Code requests.
/// </summary>
public abstract class AuthorizationCodeRequestBase
{
/// <summary>
/// Authorization code to be exchanged.
/// </summary>
public strin... | mit | C# |
d46fd7dfe176ff043d8b7881e0304529430a14c0 | Fix bug in CompilationCSharpDiagnostic | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | src/DotvvmAcademy.Validation.CSharp/CompilationCSharpDiagnostic.cs | src/DotvvmAcademy.Validation.CSharp/CompilationCSharpDiagnostic.cs | using Microsoft.CodeAnalysis;
namespace DotvvmAcademy.Validation.CSharp
{
public class CompilationCSharpDiagnostic : IValidationDiagnostic
{
public CompilationCSharpDiagnostic(Diagnostic diagnostic, CSharpSourceCode source)
{
Diagnostic = diagnostic;
Source = source;
... | using Microsoft.CodeAnalysis;
namespace DotvvmAcademy.Validation.CSharp
{
public class CompilationCSharpDiagnostic : IValidationDiagnostic
{
public CompilationCSharpDiagnostic(Diagnostic diagnostic, CSharpSourceCode source)
{
Diagnostic = diagnostic;
Source = source;
... | apache-2.0 | C# |
223541cf6a7f30c3dbec8a975f3a842f8a0f7f0f | Fix comment grammar (#31326) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Http/Authentication.Abstractions/src/IAuthenticationHandler.cs | src/Http/Authentication.Abstractions/src/IAuthenticationHandler.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Authentication
{
/// <summary>
/// Created per re... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Authentication
{
/// <summary>
/// Created per re... | apache-2.0 | C# |
318e8075ca22f98f54dcb20ea06a8e8d06b4d139 | Bump version | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | configuration/SharedAssemblyInfo.cs | configuration/SharedAssemblyInfo.cs | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0-rc1")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCopyr... | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0-beta10")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCo... | mit | C# |
e098dbf01b900378b92ca8ba20d05d5bb25d9b59 | Refactor to GetOverrideTargetName() | corngood/omnisharp-server,OmniSharp/omnisharp-server,svermeulen/omnisharp-server,mispencer/OmniSharpServer,x335/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server | OmniSharp/AutoComplete/Overrides/GetOverrideTargetsResponse.cs | OmniSharp/AutoComplete/Overrides/GetOverrideTargetsResponse.cs | using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.CSharp.Refactoring;
using ICSharpCode.NRefactory.CSharp.Resolver;
using ICSharpCode.NRefactory.CSharp.TypeSystem;
using ICSharpCode.NRefactory.TypeSystem;
using OmniSharp.AutoComplete.Overrides;
namespace OmniSharp.AutoComplete.Overrides {
... | using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.CSharp.Refactoring;
using ICSharpCode.NRefactory.CSharp.Resolver;
using ICSharpCode.NRefactory.CSharp.TypeSystem;
using ICSharpCode.NRefactory.TypeSystem;
using OmniSharp.AutoComplete.Overrides;
namespace OmniSharp.AutoComplete.Overrides {
... | mit | C# |
87f7c7e6915757752a6b978cbf5ca859bc03368f | Implement scoreboard-specific time formatting | peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu | osu.Game/Overlays/BeatmapSet/Scores/ScoreboardTime.cs | osu.Game/Overlays/BeatmapSet/Scores/ScoreboardTime.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 Humanizer;
using osu.Game.Graphics;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.BeatmapSet.Scores
{
public class Score... | // 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.Game.Graphics;
namespace osu.Game.Overlays.BeatmapSet.Scores
{
public class ScoreboardTime : DrawableDate
{
public ScoreboardTime... | mit | C# |
ce2e4cf47d4edcb357630d0f8db8732cf16e6ad8 | Add some default values for StitchConfiguration | Whiteknight/CrossStitch,Whiteknight/CrossStitch | Src/CrossStitch.Core/Modules/Stitches/StitchesConfiguration.cs | Src/CrossStitch.Core/Modules/Stitches/StitchesConfiguration.cs | using CrossStitch.Core.Configuration;
namespace CrossStitch.Core.Modules.Stitches
{
public class StitchesConfiguration : IModuleConfiguration
{
public static StitchesConfiguration GetDefault()
{
return ConfigurationLoader.GetConfiguration<StitchesConfiguration>("stitches.json");
... | using CrossStitch.Core.Configuration;
namespace CrossStitch.Core.Modules.Stitches
{
public class StitchesConfiguration : IModuleConfiguration
{
public static StitchesConfiguration GetDefault()
{
return ConfigurationLoader.GetConfiguration<StitchesConfiguration>("stitches.json");
... | apache-2.0 | C# |
df1a3db785e11281b6e4ea23c1ae7a14deb11036 | Remove unexpected whitespace | jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterContr... | Tests/MatterControl.AutomationTests/HardwareLevelingUITests.cs | Tests/MatterControl.AutomationTests/HardwareLevelingUITests.cs | using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), RunInApplicationDomain, Apartment(ApartmentState.STA)]
public class HardwareLevelingUITests
{
[Test]
public async Task Has... | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using MatterHackers.GuiAutomation;
using MatterHackers.MatterControl.SlicerConfiguration;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Autom... | bsd-2-clause | C# |
4215499a9c9d61a03013278bf8bebd3bc491d112 | Remove unused setting PluralizeResourceTypeNames from JsonApiConfiguration | huysentruitw/simple-json-api | src/SimpleJsonApi/Configuration/JsonApiConfiguration.cs | src/SimpleJsonApi/Configuration/JsonApiConfiguration.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SimpleJsonApi.Configuration
{
public sealed class JsonApiConfiguration
{
public const string JsonApiMediaType = "application/vnd.api+json";
public JsonApiConfiguration()
{
SerializerSettings.C... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SimpleJsonApi.Configuration
{
public sealed class JsonApiConfiguration
{
public const string JsonApiMediaType = "application/vnd.api+json";
public JsonApiConfiguration()
{
SerializerSettings.C... | apache-2.0 | C# |
0bf1e337b8294a55f24fb625b080de190631a70e | Correct ToString failure | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/SyncThing/Api/LocalIndexUpdatedEvent.cs | src/SyncTrayzor/SyncThing/Api/LocalIndexUpdatedEvent.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.Api
{
public class LocalIndexUpdatedEventData
{
[JsonProperty("flags")]
public string Flags { get; set; }
[JsonPro... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyncTrayzor.SyncThing.Api
{
public class LocalIndexUpdatedEventData
{
[JsonProperty("flags")]
public string Flags { get; set; }
[JsonPro... | mit | C# |
e30ae8cc3dbe4e59ae999a870c99c7cda9898f77 | Fix typo (#1559) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.Extensions.Hosting.Abstractions/IHostLifetime.cs | src/Microsoft.Extensions.Hosting.Abstractions/IHostLifetime.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Extensions.Hosting
{
public interface IHostLifetime
{
/// <s... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Extensions.Hosting
{
public interface IHostLifetime
{
/// <s... | apache-2.0 | C# |
f04c137e1d1cec7995fa5bba439e0871fe70c741 | Edit MenuItem name | kiyoaki/AssetBundleSample,kiyoaki/AssetBundleSample | Assets/AssetBundleBuilder/Editor/AssetBundleClientSettingsEditor.cs | Assets/AssetBundleBuilder/Editor/AssetBundleClientSettingsEditor.cs | using UnityEditor;
[CustomEditor(typeof(AssetBundleClientSettings))]
public class AssetBundleClientSettingsEditor : SettingsEditorBase<AssetBundleClientSettings>
{
protected const string SettingsFileName = "AssetBundleClientSettings";
[MenuItem("AssetBundles/Show Settings")]
public static void ShowSettin... | using UnityEditor;
[CustomEditor(typeof(AssetBundleClientSettings))]
public class AssetBundleClientSettingsEditor : SettingsEditorBase<AssetBundleClientSettings>
{
protected const string SettingsFileName = "AssetBundleClientSettings";
[MenuItem("AssetBundles/Show AssetBundleClientSettings")]
public stati... | mit | C# |
82c402d42289faedc5ef3509b16bb77490cb744c | Clean up LessThanorEqualToValidator tests | cecilphillip/FluentValidation,roend83/FluentValidation,regisbsb/FluentValidation,glorylee/FluentValidation,olcayseker/FluentValidation,deluxetiky/FluentValidation,robv8r/FluentValidation,GDoronin/FluentValidation,ruisebastiao/FluentValidation,pacificIT/FluentValidation,roend83/FluentValidation,IRlyDontKnow/FluentValida... | src/FluentValidation.Tests/LessThanOrEqualToValidatorTester.cs | src/FluentValidation.Tests/LessThanOrEqualToValidatorTester.cs | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | apache-2.0 | C# |
53b718e842665b0142125f007c681a5b8ca1e3a2 | Add reference to System.Configuration | SkillsFundingAgency/das-referencedata,SkillsFundingAgency/das-referencedata | src/SFA.DAS.ReferenceData.Infrastructure/Caching/RedisCache.cs | src/SFA.DAS.ReferenceData.Infrastructure/Caching/RedisCache.cs | using System;
using System.Configuration;
using System.Threading.Tasks;
using Microsoft.Azure;
using Newtonsoft.Json;
using SFA.DAS.ReferenceData.Domain.Interfaces.Caching;
using StackExchange.Redis;
namespace SFA.DAS.ReferenceData.Infrastructure.Caching
{
public class RedisCache : ICache
{
private re... | using System;
using System.Threading.Tasks;
using Microsoft.Azure;
using Newtonsoft.Json;
using SFA.DAS.ReferenceData.Domain.Interfaces.Caching;
using StackExchange.Redis;
namespace SFA.DAS.ReferenceData.Infrastructure.Caching
{
public class RedisCache : ICache
{
private readonly IDatabase _cache;
... | mit | C# |
53d09684f0cf3b52cc736caeed6e80012e54d51a | Modify versions. | nuitsjp/Xamarin.Forms.GoogleMaps.Bindings | Soruce/Xamarin.Forms.GoogleMaps.Bindings/Properties/AssemblyInfo.cs | Soruce/Xamarin.Forms.GoogleMaps.Bindings/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Xamarin.Forms.GoogleMaps.Bindings")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: A... | using System.Resources;
using System.Reflection;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Xamarin.Forms.GoogleMaps.Bindings")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: A... | mit | C# |
e50df97b1092eac24210f3f86fed53249cfa41fc | Increase test wait times (appveyor be slow) | peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | osu.Framework.Tests/Audio/AudioCollectionManagerTest.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.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class AudioCollectionManage... | // 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.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class AudioCollectionManage... | mit | C# |
e0e19ad63e20fed8b611547f9d864c867cd7d54e | Fix 7437 - Load test binary from random temp location to avoid locking conflicts that may result in test failure | shmao/corefx,alexperovich/corefx,seanshpark/corefx,BrennanConroy/corefx,billwert/corefx,MaggieTsang/corefx,manu-silicon/corefx,twsouthwick/corefx,ellismg/corefx,manu-silicon/corefx,gkhanna79/corefx,nbarbettini/corefx,manu-silicon/corefx,Petermarcu/corefx,parjong/corefx,weltkante/corefx,cydhaselton/corefx,ericstj/corefx... | src/System.Runtime.Loader/tests/ResourceAssemblyLoadContext.cs | src/System.Runtime.Loader/tests/ResourceAssemblyLoadContext.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Reflection;
namespace System.Runtime.Loader.Tests
{
public enum Loa... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Reflection;
namespace System.Runtime.Loader.Tests
{
public enum Loa... | mit | C# |
dd7d6523ff531e5c09e63f087444e73b3c3ae2a1 | Use sprite.textureRect instead of calculating yourself | JuhaKiili/RagePixel2 | Assets/RagePixel2/Editor/RagePixelUtility.cs | Assets/RagePixel2/Editor/RagePixelUtility.cs | using UnityEditor;
using UnityEngine;
using System.Collections;
public static class RagePixelUtility
{
public static Vector2 UVToPixel(Vector2 uv, Sprite sprite)
{
return new Vector2(uv.x * sprite.texture.width, uv.y * sprite.texture.height);
}
public static Vector2 LocalToUV(Vector3 localPosition, Sprite spri... | using UnityEditor;
using UnityEngine;
using System.Collections;
public static class RagePixelUtility
{
public static Vector2 UVToPixel(Vector2 uv, Sprite sprite)
{
return new Vector2(uv.x * sprite.texture.width, uv.y * sprite.texture.height);
}
public static Vector2 LocalToUV(Vector3 localPosition, Sprite spri... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.