commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
b61d8563c19f0d0e45ebc3ae6435598d5fd0bfd0 | slang/Lexing/Trees/Transformers/OptionRuleExtensions.cs | slang/Lexing/Trees/Transformers/OptionRuleExtensions.cs | using slang.Lexing.Rules.Extensions;
using slang.Lexing.Trees.Nodes;
namespace slang.Lexing.Trees.Transformers
{
public static class OptionRuleExtensions
{
public static Node Transform (this Option rule, Node parent)
{
var option = rule.Value.Transform (parent);
return ... | using slang.Lexing.Rules.Extensions;
using slang.Lexing.Trees.Nodes;
namespace slang.Lexing.Trees.Transformers
{
public static class OptionRuleExtensions
{
public static Tree Transform (this Option rule, Node parent)
{
return new Tree ();
}
}
}
| Implement transform to tree for option as skeleton only | Implement transform to tree for option as skeleton only
| C# | mit | jagrem/slang,jagrem/slang,jagrem/slang |
b9a5e984f1b5cbc13ce7266bd17f908ea924315d | APIClient.Tests/QueryTests/QueryFindTester.cs | APIClient.Tests/QueryTests/QueryFindTester.cs | using NUnit.Framework;
namespace VersionOne.SDK.APIClient.Tests.QueryTests
{
[TestFixture]
public class QueryFindTester
{
private EnvironmentContext _context;
[TestFixtureSetUp]
public void TestFixtureSetup()
{
_context = new EnvironmentContext();
}
... | using NUnit.Framework;
namespace VersionOne.SDK.APIClient.Tests.QueryTests
{
[TestFixture]
public class QueryFindTester
{
private EnvironmentContext _context;
[TestFixtureSetUp]
public void TestFixtureSetup()
{
_context = new EnvironmentContext();
}
... | Test that finds members with "admin" in username now works when there's more than one. | Test that finds members with "admin" in username now works when there's more than one.
| C# | bsd-3-clause | versionone/VersionOne.SDK.NET.APIClient,versionone/VersionOne.SDK.NET.APIClient |
3c3948bf8d0e26ef54de76165aeb67f80a8920f1 | src/Gui/App.xaml.cs | src/Gui/App.xaml.cs | using System;
using System.IO;
using System.Windows;
using System.Windows.Threading;
using Pingy.Common;
namespace Pingy.Gui
{
public partial class App : Application
{
private readonly static string defaultDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private re... | using System;
using System.IO;
using System.Windows;
using System.Windows.Threading;
using Pingy.Common;
namespace Pingy.Gui
{
public partial class App : Application
{
private static readonly string defaultDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private co... | Mark field as const instead of static readonly | Mark field as const instead of static readonly
| C# | unlicense | Kingloo/Pingy |
c04f2b0840ded76704dc37210273285d2bf8200a | osu.Game.Rulesets.Taiko/UI/TaikoPlayfieldAdjustmentContainer.cs | osu.Game.Rulesets.Taiko/UI/TaikoPlayfieldAdjustmentContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Taiko.UI
{
public class TaikoPlayfieldAdjustmentCont... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Taiko.UI
{
public class TaikoPlayfieldAdjustmentCont... | Reposition taiko playfield to be closer to the top of the screen | Reposition taiko playfield to be closer to the top of the screen
| C# | mit | UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu |
f11bca733aa0b8b85ec9cdecb59b2c2d371e8e12 | DgmlColorConfiguration.cs | DgmlColorConfiguration.cs | namespace NuGetPackageVisualizer
{
public class DgmlColorConfiguration : IColorConfiguration
{
public string VersionMismatchPackageColor
{
get { return "#FF0000"; }
}
public string PackageHasDifferentVersionsColor
{
get { return "#FCE4... | namespace NuGetPackageVisualizer
{
public class DgmlColorConfiguration : IColorConfiguration
{
public string VersionMismatchPackageColor
{
get { return "#FF0000"; }
}
public string PackageHasDifferentVersionsColor
{
get { return "#FCE4... | Make the green slightly darker, so that the text is readable. | Make the green slightly darker, so that the text is readable.
| C# | apache-2.0 | ThomasArdal/NuGetPackageVisualizer |
512cc835a4919fe0cac9676c2b5c048ec10c48c7 | src/Slp.Evi.Storage/Slp.Evi.Test.System/Sparql/SparqlFixture.cs | src/Slp.Evi.Storage/Slp.Evi.Test.System/Sparql/SparqlFixture.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
namespace Slp.Evi.Test.System.Sparql
{
public abstract class SparqlFixture
{
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
namespace Slp.Evi.Test.System.Sparql
{
public abstract class SparqlFixture
{
... | Disable logging so the performance profiling is more accurate. | Disable logging so the performance profiling is more accurate.
| C# | mit | mchaloupka/DotNetR2RMLStore,mchaloupka/EVI |
219e696ef701090df2e88a1435b1c13ce9a45940 | LazyLibraryTests/Storage/Memory/MemoryRepositoryTests.cs | LazyLibraryTests/Storage/Memory/MemoryRepositoryTests.cs | using LazyLibrary.Storage;
using LazyLibrary.Storage.Memory;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace LazyLibrary.Tests.Storage.Memory
{
[TestClass]
public class MemoryRepositoryTests
{
[TestMethod]
public void CanAdd()
{
... | using LazyLibrary.Storage;
using LazyLibrary.Storage.Memory;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace LazyLibrary.Tests.Storage.Memory
{
[TestClass]
public class MemoryRepositoryTests
{
[TestMethod]
public void CanAdd()
{
... | Test can get by LINQ statement | Test can get by LINQ statement
| C# | mit | TheEadie/LazyLibrary,TheEadie/LazyStorage,TheEadie/LazyStorage |
b28e3aa7d32db4d4e3e05d1f623c1b2bf9194272 | src/NUnitFramework/tests/Api/NUnitIssue52.cs | src/NUnitFramework/tests/Api/NUnitIssue52.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework.Constraints;
namespace NUnit.Framework.Api
{
[TestFixture]
public class NUnitIssue52
{
class SelfContainer : IEnumerable
{
public IEnumera... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using NUnit.Framework.Constraints;
namespace NUnit.Framework.Api
{
[TestFixture]
public class NUnitIssue52
{
[TestCaseSource(nameof(GetTestCa... | Add test explicitly checking recursion | Add test explicitly checking recursion
| C# | mit | nunit/nunit,mjedrzejek/nunit,nunit/nunit,mjedrzejek/nunit |
63c36013142aba3b13e7cd38ec470eb5f87aeb8a | src/Serilog.Sinks.File/FileLifecycleHooks.cs | src/Serilog.Sinks.File/FileLifecycleHooks.cs |
namespace Serilog
{
using System.IO;
/// <summary>
/// Enables hooking into log file lifecycle events
/// </summary>
public abstract class FileLifecycleHooks
{
/// <summary>
/// Wraps <paramref name="sourceStream"/> in another stream, such as a GZipStream, then returns the wrap... |
namespace Serilog
{
using System.IO;
/// <summary>
/// Enables hooking into log file lifecycle events
/// </summary>
public abstract class FileLifecycleHooks
{
/// <summary>
/// Wraps <paramref name="underlyingStream"/> in another stream, such as a GZipStream, then returns the ... | Add docs re wrapped stream ownership | Add docs re wrapped stream ownership
| C# | apache-2.0 | serilog/serilog-sinks-file,serilog/serilog-sinks-file |
0cfd73dd264caad30186eb7a3e549ae266510621 | Manatee.Json/Serialization/Internal/AutoRegistration/ArraySerializationDelegateProvider.cs | Manatee.Json/Serialization/Internal/AutoRegistration/ArraySerializationDelegateProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Manatee.Json.Serialization.Internal.AutoRegistration
{
internal class ArraySerializationDelegateProvider : SerializationDelegateProviderBase
{
public override bool CanHandle(Type type)
{
return type.IsArray;
}
prote... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Manatee.Json.Serialization.Internal.AutoRegistration
{
internal class ArraySerializationDelegateProvider : SerializationDelegateProviderBase
{
public override bool CanHandle(Type type)
{
return type.IsArray;
}
prote... | Decrease allocations during array serialization/deserialization | Decrease allocations during array serialization/deserialization
| C# | mit | gregsdennis/Manatee.Json,gregsdennis/Manatee.Json |
6dc2840cbf5bd9764a7090aa85c4b6bdc664fae0 | Core/Services/CSharpExecutor.cs | Core/Services/CSharpExecutor.cs | using System;
using System.IO;
using Compilify.Models;
namespace Compilify.Services
{
public class CSharpExecutor
{
public CSharpExecutor()
: this(new CSharpCompilationProvider()) { }
public CSharpExecutor(ICSharpCompilationProvider compilationProvider)
{
... | using System;
using System.IO;
using Compilify.Models;
namespace Compilify.Services
{
public class CSharpExecutor
{
public CSharpExecutor()
: this(new CSharpCompilationProvider()) { }
public CSharpExecutor(ICSharpCompilationProvider compilationProvider)
{
... | Use simpler constructor when instantiating the Sandbox | Use simpler constructor when instantiating the Sandbox
| C# | mit | jrusbatch/compilify,vendettamit/compilify,vendettamit/compilify,appharbor/ConsolR,jrusbatch/compilify,appharbor/ConsolR |
b07cd2da9959f5f5f5c02a83ac5290268be069da | Source/AuthenticationServer/Properties/AssemblyInfo.cs | Source/AuthenticationServer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Affecto Authentication Server")]
[assembly: AssemblyProduct("Affecto Authentication Server")]
[assembly: AssemblyCompany("Affecto")]
[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Affecto Authentication Server")]
[assembly: AssemblyProduct("Affecto Authentication Server")]
[assembly: AssemblyCompany("Affecto")]
[assembly: AssemblyVersion("2.1.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: A... | Raise authentication server prerelease version number. | Raise authentication server prerelease version number.
| C# | mit | affecto/dotnet-AuthenticationServer |
eedf15a621e0898e19ca4931532c891acae0c7ed | Assets/RainbowFolders/Editor/RainbowFoldersMenu.cs | Assets/RainbowFolders/Editor/RainbowFoldersMenu.cs | /*
* 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 agreed to in writing, software
* distrib... | /*
* 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 agreed to in writing, software
* distrib... | Move settings menu to the "Edit" category | Move settings menu to the "Edit" category
| C# | apache-2.0 | PhannGor/unity3d-rainbow-folders |
f8e2931e60f885f618cd3a679cc51174c83d9948 | Source/SnowyImageCopy/Common/NotificationObject.cs | Source/SnowyImageCopy/Common/NotificationObject.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace SnowyImageCopy.Common
{
public abstract class NotificationObject : INotifyPropert... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace SnowyImageCopy.Common
{
public abstract class NotificationObject : INotifyPropertyChanged
{
public event Pro... | Refactor notification object and add methods for static property changed event | Refactor notification object and add methods for static property changed event
| C# | mit | emoacht/SnowyImageCopy |
746058ff6da172951d7b346085f7f44b023ff679 | Weave/Program.cs | Weave/Program.cs | // -----------------------------------------------------------------------
// <copyright file="Program.cs" company="(none)">
// Copyright © 2013 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.txt for more information.
// </copyright>
// -------------------... | // -----------------------------------------------------------------------
// <copyright file="Program.cs" company="(none)">
// Copyright © 2013 John Gietzen. All Rights Reserved.
// This source is subject to the MIT license.
// Please see license.txt for more information.
// </copyright>
// -------------------... | Allow multiple files on the command line. | Allow multiple files on the command line.
| C# | mit | otac0n/Weave |
6ba82ececf2a2543cfcc9c970e0e2ddb4a8ce78f | Assets/ArabicSupport/Scripts/Samples/FixArabic3DText.cs | Assets/ArabicSupport/Scripts/Samples/FixArabic3DText.cs | using UnityEngine;
using System.Collections;
using ArabicSupport;
public class FixArabic3DText : MonoBehaviour {
public bool showTashkeel = true;
public bool useHinduNumbers = true;
// Use this for initialization
void Start () {
TextMesh textMesh = gameObject.GetComponent<TextMesh>();
... | using UnityEngine;
using System.Collections;
using ArabicSupport;
public class FixArabic3DText : MonoBehaviour {
public bool showTashkeel = true;
public bool useHinduNumbers = true;
// Use this for initialization
void Start () {
TextMesh textMesh = gameObject.GetComponent<TextMesh>();
... | Make var name more descriptive | Make var name more descriptive
* Fix some whitespace issues (there was a mix of spaces and tabs).
| C# | mit | Konash/arabic-support-unity |
7b1d0c3b2d98f92e5df8714519b62b0fe263cd4f | src/PvcLess.cs | src/PvcLess.cs | using PvcCore;
using System.Collections.Generic;
using System.IO;
namespace PvcPlugins
{
public class PvcLess : PvcPlugin
{
public override string[] SupportedTags
{
get
{
return new string[] { ".less" };
}
}
public override I... | using PvcCore;
using System.Collections.Generic;
using System.IO;
namespace PvcPlugins
{
public class PvcLess : PvcPlugin
{
public override string[] SupportedTags
{
get
{
return new string[] { ".less" };
}
}
public override I... | Rename file to .css for new stream | Rename file to .css for new stream
| C# | mit | pvcbuild/pvc-less |
fe5589ed16e5c229990d5c12b28d0165f4001d4b | src/Abp/Reflection/ProxyHelper.cs | src/Abp/Reflection/ProxyHelper.cs | using System.Linq;
using System.Reflection;
namespace Abp.Reflection
{
public static class ProxyHelper
{
/// <summary>
/// Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object.
/// </summary>
public static object UnProxy(object ob... | using Castle.DynamicProxy;
namespace Abp.Reflection
{
public static class ProxyHelper
{
/// <summary>
/// Returns dynamic proxy target object if this is a proxied object, otherwise returns the given object.
/// </summary>
public static object UnProxy(object obj)
{
... | Replace reflection to call API. | Replace reflection to call API.
| C# | mit | zclmoon/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,beratcarsi/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,carldai0106/aspnetboilerpla... |
6fb941289bcd7aa4300c9496bca29cebc51fe776 | src/DrawIt/Helpers/FontHelpers.cs | src/DrawIt/Helpers/FontHelpers.cs | using System;
using System.Drawing;
namespace DrawIt
{
public static class FontHelpers
{
public static Font GetHeaderFont()
{
float fontSize = Configuration.GetSettingOrDefault<float>(Constants.Application.Header.FontSize, float.TryParse, Constants.Application.Defaults.HeaderTextSi... | using System;
using System.Drawing;
namespace DrawIt
{
public static class FontHelpers
{
public static Font GetHeaderFont()
{
float fontSize = Configuration.GetSettingOrDefault<float>(Constants.Application.Header.FontSize, float.TryParse, Constants.Application.Defaults.HeaderTextSi... | Change the default font for the header. | Change the default font for the header.
| C# | mit | AlexGhiondea/DrawIt |
2af0316fae76cecc805ffe4ca4b3fe0c187b4ad0 | src/Runners/Giles.Runner.NUnit/NUnitRunner.cs | src/Runners/Giles.Runner.NUnit/NUnitRunner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Giles.Core.Runners;
using Giles.Core.Utility;
using NUnit.Core;
using NUnit.Core.Filters;
namespace Giles.Runner.NUnit
{
public class NUnitRunner : IFrameworkRunner
{
IEnumerable<string> filte... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Giles.Core.Runners;
using NUnit.Core;
using NUnit.Core.Filters;
namespace Giles.Runner.NUnit
{
public class NUnitRunner : IFrameworkRunner
{
IEnumerable<string> filters;
public SessionResults RunAs... | Fix to not use a test filter in NUnit when no filters has been declared in Giles. This was causing NUnit to not run the tests | Fix to not use a test filter in NUnit when no filters has been declared in Giles. This was causing NUnit to not run the tests
| C# | mit | michaelsync/Giles,michaelsync/Giles,michaelsync/Giles,codereflection/Giles,michaelsync/Giles,codereflection/Giles,codereflection/Giles |
fb46a8d1db888b216aac3ddbe306d8c334c1035b | src/Arkivverket.Arkade.Core/Base/ArchiveXmlUnit.cs | src/Arkivverket.Arkade.Core/Base/ArchiveXmlUnit.cs | using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Base
{
public class ArchiveXmlUnit
{
public ArchiveXmlFile File { get; }
public List<ArchiveXmlSchema> Schemas { get; }
public ArchiveXmlUnit(ArchiveXmlFile file, List<ArchiveXmlSchema> schemas)
... | using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Base
{
public class ArchiveXmlUnit
{
public ArchiveXmlFile File { get; }
public List<ArchiveXmlSchema> Schemas { get; }
public ArchiveXmlUnit(ArchiveXmlFile file, List<ArchiveXmlSchema> schemas)
... | Use name only for reporting missing file | Use name only for reporting missing file
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
48fe6e2b8d053b884cfea4113b1bc4208bc2343c | src/MarkEmbling.Utils/Extensions/EnumExtensions.cs | src/MarkEmbling.Utils/Extensions/EnumExtensions.cs | using System;
using System.ComponentModel;
using System.Reflection;
namespace MarkEmbling.Utils.Extensions {
public static class EnumExtensions {
/// <summary>
/// Gets the description of a field in an enumeration. If there is no
/// description attribute, the raw name of the field is prov... | using System;
using System.ComponentModel;
using System.Reflection;
namespace MarkEmbling.Utils.Extensions {
public static class EnumExtensions {
/// <summary>
/// Gets the description of a field in an enumeration. If there is no
/// description attribute, the raw name of the field is prov... | Tweak for .net Standard 1.1 compatibility | Tweak for .net Standard 1.1 compatibility
| C# | mit | markembling/MarkEmbling.Utils,markembling/MarkEmbling.Utilities |
fc4d7c0089d3df6c7a799c74381c79dde6ad4d87 | Vikekh.Stepbot/Program.cs | Vikekh.Stepbot/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vikekh.Stepbot
{
class Program
{
static void Main(string[] args)
{
}
}
}
| using SlackAPI;
using System;
using System.Threading;
namespace Vikekh.Stepbot
{
class Program
{
static void Main(string[] args)
{
var botAuthToken = "";
var userAuthToken = "";
var name = "@stepdot";
var age = (new DateTime(2017, 1, 18) - DateTime.Now).Days / 365.0;
var ageString ... | Test receive and send message | Test receive and send message
| C# | mit | vikekh/stepbot |
7deffcb1b9c1ad202dbda734c2df241d7b92d48a | ClientServerMix/TimeSeriesService.Client/Program.cs | ClientServerMix/TimeSeriesService.Client/Program.cs | using System;
using System.Collections.Generic;
using TimeSeries;
using TimeSeriesService.Client.TimeSeriesReference;
namespace TimeSeriesService.Client
{
class Program
{
static void Main()
{
var proxy = new TimeSeriesServiceClient();
var oneDataPoint = new List<DataPoi... | using System;
using System.Collections.Generic;
using TimeSeries;
using TimeSeriesService.Client.TimeSeriesReference;
namespace TimeSeriesService.Client
{
class Program
{
static void Main()
{
var proxy = new TimeSeriesServiceClient();
var oneDataPoint = new List<DataPoi... | Add additional functional test cases. | Add additional functional test cases.
Add code to test for two data points (returning a `RegularTimeSeries`)
and for three data points (returning a `SetPointTimeSeries`).
| C# | epl-1.0 | mrwizard82d1/wcf_migration |
5da1b843655f1cb672acc8b916cb97b0bdaa6fd3 | Source/Core.EntityFramework/ScopeStore.cs | Source/Core.EntityFramework/ScopeStore.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Services;
namespace Thinktecture.IdentityServer.Core.EntityFramework
{
public class ScopeStore : IScopeStore
{
private readonly string _connectionString;
public ScopeStore... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Services;
namespace Thinktecture.IdentityServer.Core.EntityFramework
{
public class ScopeStore : IScopeStore
{
private readonly string _connectionString;
public ScopeStore... | Remove redundant LINQ method call | Remove redundant LINQ method call
ToList() already forces the IQueryable to execute. No need to call
ToArray() beforehand.
| C# | apache-2.0 | faithword/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework,henkmeulekamp/IdentityServer3.EntityFramework,chwilliamson/IdentityServer3.EntityFramework,buybackoff/IdentityServer3.EntityFramework |
de4dd353e065c5ceda6bbbe5c4ecc7ca502cf68d | Mappy/Util/ImageSampling/NearestNeighbourWrapper.cs | Mappy/Util/ImageSampling/NearestNeighbourWrapper.cs | namespace Mappy.Util.ImageSampling
{
using System.Drawing;
public class NearestNeighbourWrapper : IPixelImage
{
private readonly IPixelImage source;
public NearestNeighbourWrapper(IPixelImage source, int width, int height)
{
this.source = source;
... | namespace Mappy.Util.ImageSampling
{
using System.Drawing;
public class NearestNeighbourWrapper : IPixelImage
{
private readonly IPixelImage source;
public NearestNeighbourWrapper(IPixelImage source, int width, int height)
{
this.source = source;
... | Fix small offset in low quality minimap image | Fix small offset in low quality minimap image
| C# | mit | MHeasell/Mappy,MHeasell/Mappy |
73d8ff02af320b8ef05156a4268f9996d2c6433b | SaferMutex.Tests/FileBased/ThreadedStressTestsV2.cs | SaferMutex.Tests/FileBased/ThreadedStressTestsV2.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NiceIO;
using NUnit.Framework;
using SaferMutex.Tests.BaseSuites;
namespace SaferMutex.Tests.FileBased
{
[TestFixture]
public class ThreadedStressTestsV2 : BaseThreadedStressTests
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NiceIO;
using NUnit.Framework;
using SaferMutex.Tests.BaseSuites;
namespace SaferMutex.Tests.FileBased
{
[TestFixture]
public class ThreadedStressTestsV2 : BaseThreadedStressTests
{
... | Fix stress test not creating v2 | Fix stress test not creating v2
| C# | mit | mrvoorhe/SaferMutex,mrvoorhe/SaferMutex |
8ef49d527799d6580d3e8f1c1ab43b87794441ac | AspNetAPI/Options.cs | AspNetAPI/Options.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hanc.AspNetAPI
{
/// <summary>
/// The options pattern uses custom options classes to represent a group of related settings.
/// See Startup.cs and ValuesController.cs for implimentation code
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hanc.AspNetAPI
{
/// <summary>
/// The options pattern uses custom options classes to represent a group of related settings.
/// See Startup.cs and ValuesController.cs for implimentation code
///... | Change ApiKey to AppId add RequireApiAuthToken | Change ApiKey to AppId add RequireApiAuthToken
| C# | mit | thewizster/hanc,thewizster/hanc |
3b56b93ba1822149d495d560263679d7d14ab80e | samples/Sandbox/Program.cs | samples/Sandbox/Program.cs | using Avalonia;
namespace Sandbox
{
public class Program
{
static void Main(string[] args)
{
AppBuilder.Configure<App>()
.UsePlatformDetect()
.LogToTrace()
.StartWithClassicDesktopLifetime(args);
}
}
}
| using Avalonia;
namespace Sandbox
{
public class Program
{
static void Main(string[] args) => BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
public static AppBuilder BuildAvaloniaApp() =>
AppBuilder.Configure<App>()
.UsePlatformDetect()
... | Make the designer work in the sandbox project. | Make the designer work in the sandbox project.
| C# | mit | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Ava... |
723799949217fea5438b8b8264a200eb1262a753 | DataReader/DataReader/Controllers/NameQueryController.cs | DataReader/DataReader/Controllers/NameQueryController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using DataReader.BusinessLogic;
using DataReader.Models;
namespace DataReader.Controllers
{
[RoutePrefix("api")]
public class NameQueryController : ApiCon... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using DataReader.BusinessLogic;
using DataReader.Models;
namespace DataReader.Controllers
{
[RoutePrefix("api")]
public class NameQueryController : ApiCon... | Add GET All Names endpoint | Add GET All Names endpoint
| C# | mit | Salgat/EventSourcing-Demo |
8a6849717897bafcfbc6e47d27cf065df1bd1f5d | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | using System;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
public int ParticipantId { get; set; }
public int ContactId { get; set; }
public int Househo... | using System;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
public int ParticipantId { get; set; }
public int ContactId { get; set; }
public int Househo... | Add TODO on fake CallNumber | US5688: Add TODO on fake CallNumber
| C# | bsd-2-clause | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin |
31de56936f3e698284801b8144e63c15eef8d193 | MultiMiner.Xgminer.Api/ApiContext.cs | MultiMiner.Xgminer.Api/ApiContext.cs | using MultiMiner.Xgminer.Api.Parsers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer.Api
{
public class ApiContext
{
private TcpClient tcpClient;
public ApiContext(int po... | using MultiMiner.Xgminer.Api.Parsers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MultiMiner.Xgminer.Api
{
public class ApiContext
{
private TcpClient tcpClient;
public ApiContext(int po... | Improve TCP reading code to read more than 4096 bytes if available | Improve TCP reading code to read more than 4096 bytes if available
| C# | mit | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner |
c963effd59e099cf9dc5ccc9c6120a6276ed57af | Mapsui/MPoint2.cs | Mapsui/MPoint2.cs | namespace Mapsui;
public class MPoint2
{
public double X { get; set; }
public double Y { get; set; }
}
| using Mapsui.Utilities;
namespace Mapsui;
public class MPoint2
{
public double X { get; set; }
public double Y { get; set; }
/// <summary>
/// Calculates a new point by rotating this point clockwise about the specified center point
/// </summary>
/// <param name="degrees">Angle to rotate... | Add Rotate methods contributed by CLA signers | Add Rotate methods contributed by CLA signers
| C# | mit | charlenni/Mapsui,charlenni/Mapsui |
29df2644e0c9f3af0b6be43dca75ca39e0714baf | src/Glimpse.Server/Resources/ClientResource.cs | src/Glimpse.Server/Resources/ClientResource.cs | using System.Reflection;
using Glimpse.Server.Web;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.FileProviders;
using Microsoft.AspNet.StaticFiles;
namespace Glimpse.Server.Resources
{
public class ClientResource : IResourceStartup
{
public void Configure(IResourceBuilder resourceBuilder)
... | using System.Reflection;
using Glimpse.Server.Web;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.FileProviders;
using Microsoft.AspNet.StaticFiles;
namespace Glimpse.Server.Resources
{
public class ClientResource : IResourceStartup
{
public void Configure(IResourceBuilder resourceBuilder)
... | Fix internal path for embedded client | Fix internal path for embedded client
| C# | mit | Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prot... |
092a408911f53dab80a55b3e810b69fe8cb12221 | Version.cs | Version.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Version.cs" company="">
// Copyright 2013 Thomas PIERRAIN
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complianc... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Version.cs" company="">
// Copyright 2013 Thomas PIERRAIN
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in complianc... | Update the version number to 1.4.0 | Update the version number to 1.4.0
| C# | apache-2.0 | tpierrain/NFluent,NFluent/NFluent,dupdob/NFluent,tpierrain/NFluent,NFluent/NFluent,dupdob/NFluent,tpierrain/NFluent,dupdob/NFluent |
c3b3ebc40a47b3daa1151e06d82247d87585037c | src/Server/Bit.OData/ODataControllers/JobsInfoController.cs | src/Server/Bit.OData/ODataControllers/JobsInfoController.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Bit.Core.Contracts;
using Bit.Core.Models;
using Bit.Model.Dtos;
namespace Bit.OData.ODataControllers
{
public class JobsInfoController : DtoController<JobInfoDto>
{
public virtual IBackgroundJobWorker BackgroundJobWorker { get;... | using Bit.Core.Contracts;
using Bit.Core.Models;
using Bit.Model.Dtos;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Bit.OData.ODataControllers
{
public class JobsInfoController : DtoController<JobInfoDto>
{
public virtual IBackgroundJobWorker BackgroundJobWorker { get;... | Check background job worker before using that in jobs info controller | Check background job worker before using that in jobs info controller
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
9a3f9adfa218a67956afe2986ed34fe2d3944d18 | Source/Kinugasa.UI/BindingProxy.cs | Source/Kinugasa.UI/BindingProxy.cs | using System.Windows;
namespace Kinugasa.UI
{
/// <summary>
/// Proxy class for binding sorce.
/// </summary>
public class BindingProxy : Freezable
{
/// <summary>
/// Define dependencyProperty.
/// </summary>
public static readonly DependencyProperty DataProperty =... | using System.Windows;
/// <summary>
/// Provide userinterface components.
/// </summary>
namespace Kinugasa.UI
{
/// <summary>
/// Proxy class for binding sorce.
/// </summary>
public class BindingProxy : Freezable
{
/// <summary>
/// Define dependencyProperty.
/// </summar... | Add xml comment on namespace. | Add xml comment on namespace.
| C# | mit | YoshinoriN/Kinugasa |
d3615d7deea12f8b2a8d863c6959003b624b5c72 | src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs | src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs | namespace Winium.Desktop.Driver.CommandExecutors
{
#region using
using System.Windows.Automation;
using Winium.Cruciatus.Extensions;
using Winium.StoreApps.Common;
#endregion
internal class IsElementSelectedExecutor : CommandExecutorBase
{
#region Methods
protected over... | namespace Winium.Desktop.Driver.CommandExecutors
{
#region using
using System.Windows.Automation;
using Winium.Cruciatus.Exceptions;
using Winium.Cruciatus.Extensions;
using Winium.StoreApps.Common;
#endregion
internal class IsElementSelectedExecutor : CommandExecutorBase
{
... | Check IsTogglePatternAvailable insted of using ControlType | Check IsTogglePatternAvailable insted of using ControlType
| C# | mpl-2.0 | jorik041/Winium.Desktop,2gis/Winium.Desktop,zebraxxl/Winium.Desktop |
68b599fc96a4cf3b62b48abcc4708021767953cd | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Runtime.InteropServices;
using System.Reflection;
#if DEBUG
[assembly: AssemblyProduct("MeepMeep (Debug)")]
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyProduct("MeepMeep (Release)")]
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyDescription("MeepMeep - A ... | using System.Reflection;
#if DEBUG
[assembly: AssemblyProduct("MeepMeep (Debug)")]
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyProduct("MeepMeep (Release)")]
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyDescription("MeepMeep - A super simple workload utility for the ... | Update AssemblyInfo to reference Couchbase as owner / copyright | Update AssemblyInfo to reference Couchbase as owner / copyright
| C# | apache-2.0 | couchbaselabs/meep-meep |
17283a0844515e045329cf48b025aab5c4ab5059 | src/ZBlog/Views/Shared/Components/Catalog/Default.cshtml | src/ZBlog/Views/Shared/Components/Catalog/Default.cshtml | @model List<Catalog>
<div class="am-panel-hd">Catalog</div>
<div class="am-panel-bd">
@foreach (var catalog in Model)
{
<a asp-controller="Home" asp-action="Catalog" asp-route-title="@catalog.Url">
@catalog.Title
<span class="am-badge am-badge-secondary am-round">@catalog.Posts... | @model List<Catalog>
<div class="am-panel-hd">Catalog</div>
<div class="am-panel-bd">
@foreach (var catalog in Model)
{
<a asp-controller="Home" asp-action="Catalog" asp-route-title="@catalog.Url">
@catalog.Title
<span class="am-badge am-badge-success am-round">@catalog.Posts.C... | Update catalog list item style | Update catalog list item style
make it different from tag list item style
| C# | mit | Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net |
d8c7a16aa1e40bea247787ec8dc943449cc395bc | trunk/DefaultCombat/Extensions/TorCharacterExtensions.cs | trunk/DefaultCombat/Extensions/TorCharacterExtensions.cs | using Buddy.Swtor.Objects;
namespace DefaultCombat.Extensions
{
public static class TorCharacterExtensions
{
public static bool ShouldDispel(this TorCharacter target, string debuffName)
{
if (target == null)
return false;
return target.HasDebuff(debuffN... | using System.Collections.Generic;
using System.Linq;
using Buddy.Swtor.Objects;
namespace DefaultCombat.Extensions
{
public static class TorCharacterExtensions
{
private static readonly IReadOnlyList<string> _dispellableDebuffs = new List<string>
{
"Hunting Trap",
"Burn... | Return whether the target has any dispellable debuff | Return whether the target has any dispellable debuff
| C# | apache-2.0 | BosslandGmbH/BuddyWing.DefaultCombat |
894e90f485bd7c024e19152154d75e51c8883c83 | src/Orchard.Web/Modules/Orchard.Lists/Views/Parts.Container.Manage.cshtml | src/Orchard.Web/Modules/Orchard.Lists/Views/Parts.Container.Manage.cshtml | @using Orchard.ContentManagement.MetaData.Models
@{
var containerId = (int) Model.ContainerId;
var itemContentTypes = (IList<ContentTypeDefinition>)Model.ItemContentTypes;
}
<div class="item-properties actions">
<p>
@Html.ActionLink(T("{0} Properties", Html.Raw((string)Model.ContainerDisplay... | @using Orchard.ContentManagement.MetaData.Models
@{
var containerId = (int) Model.ContainerId;
var itemContentTypes = (IList<ContentTypeDefinition>)Model.ItemContentTypes;
}
<div class="item-properties actions">
<p>
@Html.ActionLink(T("{0} Properties", (string)Model.ContainerDisplayName), "E... | Use new ActionLink extension method. | Use new ActionLink extension method.
| C# | bsd-3-clause | fortunearterial/Orchard,huoxudong125/Orchard,JRKelso/Orchard,li0803/Orchard,qt1/Orchard,qt1/Orchard,brownjordaninternational/OrchardCMS,Serlead/Orchard,SeyDutch/Airbrush,dmitry-urenev/extended-orchard-cms-v10.1,sfmskywalker/Orchard,alejandroaldana/Orchard,Fogolan/OrchardForWork,cooclsee/Orchard,aaronamm/Orchard,dcinzon... |
f4d7ba226d545b346d98054c87aa3e64bd8f5f02 | src/FakeHttpContext/Properties/AssemblyInfo.cs | src/FakeHttpContext/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: InternalsVisibleTo("FakeHttpContext.Tests")]
[assembly: AssemblyTitle("FakeHttpContext")]
[assembly: AssemblyDescription("Unit testing utilite for simulate HttpContext.Current.")]
[assembly: AssemblyConfi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: InternalsVisibleTo("FakeHttpContext.Tests")]
[assembly: AssemblyTitle("FakeHttpContext")]
[assembly: AssemblyDescription("Unit testing utilite for simulate HttpContext.Current.")]
[assembly: AssemblyConfi... | Update package version to 0.1.1 | Update package version to 0.1.1
| C# | mit | vadimzozulya/FakeHttpContext |
05bcde73d58f1396447ed9ecd09e81744c673cbd | src/Postal.AspNetCore/EmailServiceOptions.cs | src/Postal.AspNetCore/EmailServiceOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
namespace Postal.AspNetCore
{
public class EmailServiceOptions
{
public EmailServiceOptions()
{
CreateSmtpClient = () => new SmtpClient(Host, Po... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
namespace Postal.AspNetCore
{
public class EmailServiceOptions
{
public EmailServiceOptions()
{
CreateSmtpClient = () => new SmtpClient(Host, Po... | Fix create smtpclient with UseDefaultCredentials | Fix create smtpclient with UseDefaultCredentials
| C# | mit | hermanho/postal |
0f2c49445bb42e16bd5d2569cd8754c31946e854 | src/Microsoft.Cci.Extensions/Extensions/ApiKindExtensions.cs | src/Microsoft.Cci.Extensions/Extensions/ApiKindExtensions.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;
namespace Microsoft.Cci.Extensions
{
public static class ApiKindExtensions
{
public s... | // 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;
namespace Microsoft.Cci.Extensions
{
public static class ApiKindExtensions
{
public s... | Add helper functions for ApiKind | Add helper functions for ApiKind
| C# | mit | ericstj/buildtools,crummel/dotnet_buildtools,AlexGhiondea/buildtools,ChadNedzlek/buildtools,mmitche/buildtools,jthelin/dotnet-buildtools,crummel/dotnet_buildtools,JeremyKuhne/buildtools,alexperovich/buildtools,joperezr/buildtools,tarekgh/buildtools,karajas/buildtools,nguerrera/buildtools,weshaggard/buildtools,tarekgh/b... |
634235af9871efd8a62b05f8d0cb1a1fcbbc3213 | src/Nancy.JohnnyFive/Nancy.JohnnyFive.Sample/SampleModule.cs | src/Nancy.JohnnyFive/Nancy.JohnnyFive.Sample/SampleModule.cs | namespace Nancy.JohnnyFive.Sample
{
using System.Collections.Generic;
using System.IO;
using Circuits;
public class SampleModule : NancyModule
{
public SampleModule()
{
Get["/"] = _ =>
{
this.CanShortCircuit(new NoContentOnErrorCircuit()
... | namespace Nancy.JohnnyFive.Sample
{
using System;
using System.Collections.Generic;
using System.IO;
using Circuits;
public class SampleModule : NancyModule
{
public SampleModule()
{
Get["/"] = _ =>
{
this.CanShortCircuit(new NoContentOnE... | Add under load sample module | Add under load sample module
| C# | mit | DSaunders/Nancy.JohnnyFive |
d6a8ca15e2880edbaf9a4d3b66d8b5ee25e753b0 | test/NEventSocket.Tests/TestSupport/TimeOut.cs | test/NEventSocket.Tests/TestSupport/TimeOut.cs | namespace NEventSocket.Tests.TestSupport
{
public class TimeOut
{
public const int TestTimeOutMs = 30 * 1000;
}
} | namespace NEventSocket.Tests.TestSupport
{
public class TimeOut
{
public const int TestTimeOutMs = 10000;
}
} | Revert "Try bumping up the test timeout" | Revert "Try bumping up the test timeout"
This reverts commit 7fa5df5923ceae2303ab73b88dc9eb6564d7590a.
| C# | mpl-2.0 | danbarua/NEventSocket,pragmatrix/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket |
8ed9062d00843ab06f868bd6a885e6c1704dbcd6 | sample/DokanNetMirror/Program.cs | sample/DokanNetMirror/Program.cs | using System;
using DokanNet;
namespace DokanNetMirror
{
internal class Program
{
private static void Main(string[] args)
{
try
{
bool unsafeReadWrite = args.Length > 0 && args[0].Equals("-unsafe", StringComparison.OrdinalIgnoreCase);
Con... | using System;
using System.Linq;
using DokanNet;
namespace DokanNetMirror
{
internal class Program
{
private const string MirrorKey = "-what";
private const string MountKey = "-where";
private const string UseUnsafeKey = "-unsafe";
private static void Main(string[] args)
... | Allow mirror to accept parameters to specify what to mount and where | Allow mirror to accept parameters to specify what to mount and where
| C# | mit | TrabacchinLuigi/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet |
722a0298f8f35603aaab0ae63247c0de610e62d4 | Assets/Scripts/Enemies/MetallKeferController.cs | Assets/Scripts/Enemies/MetallKeferController.cs | using UnityEngine;
using System.Collections;
public class MetallKeferController : MonoBehaviour {
public GameObject gameControllerObject;
private GameController gameController;
private GameObject[] towerBasesBuildable;
void Start () {
this.gameController = this.gameControllerObject.GetComponent<GameController... | using UnityEngine;
using System.Collections;
public class MetallKeferController : MonoBehaviour {
public GameObject gameControllerObject;
private GameController gameController;
private GameObject[] towerBasesBuildable;
private GameObject nextWaypiont;
private int currentWaypointIndex = 0;
private int movementS... | Add prototype movement for MetallKefer | Add prototype movement for MetallKefer
| C# | mit | emazzotta/unity-tower-defense |
9046002e20bc59511d48996d30c27e65509ed212 | Plugins/MySQLLogger/MySQLLogger/SessionCache.cs | Plugins/MySQLLogger/MySQLLogger/SessionCache.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pGina.Plugin.MySqlLogger
{
class SessionCache
{
private Dictionary<int, string> m_cache;
public SessionCache()
{
m_cache = new Dictionary<int, string>();
}
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace pGina.Plugin.MySqlLogger
{
class SessionCache
{
private Dictionary<int, string> m_cache;
public SessionCache()
{
m_cache = new Dictionary<int, string>();
}
publ... | Add lock around Get in session cache, and add default "unknown" username. | Add lock around Get in session cache, and add default "unknown" username.
| C# | bsd-3-clause | pgina/pgina,pgina/pgina,daviddumas/pgina,daviddumas/pgina,pgina/pgina,daviddumas/pgina,stefanwerfling/pgina,MutonUfoAI/pgina,MutonUfoAI/pgina,MutonUfoAI/pgina,stefanwerfling/pgina,stefanwerfling/pgina |
d0da000af9c5166afe3eb172c4124a616574a004 | src/Shop.Core/Entites/Order.cs | src/Shop.Core/Entites/Order.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shop.Core.BaseObjects;
using Shop.Core.Interfaces;
namespace Shop.Core.Entites
{
public class Order : LifetimeBase, IReferenceable<Order>
{
[Key]
public int OrderId { get; set; }
public string OrderRef... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shop.Core.BaseObjects;
using Shop.Core.Interfaces;
namespace Shop.Core.Entites
{
public class Order : LifetimeBase, IReferenceable<Order>
{
[Key]
public int OrderId { get; set; }
public string OrderRef... | Add order constructor and Payment | Add order constructor and Payment
| C# | mit | jontansey/.Net-Core-Ecommerce-Base,jontansey/.Net-Core-Ecommerce-Base |
4c59925d4b4b11e0797f3c740764f8064ebdb448 | Assets/UniVersionManager/UniVersionManager.cs | Assets/UniVersionManager/UniVersionManager.cs | using UnityEngine;
using System;
using System.Runtime.InteropServices;
#if UNITY_EDITOR
using UnityEditor;
#endif
public static class UniVersionManager
{
[DllImport("__Internal")]
private static extern string GetVersionName_();
[DllImport("__Internal")]
private static extern string GetBuildVersionNam... | using UnityEngine;
using System;
using System.Runtime.InteropServices;
#if UNITY_EDITOR
using UnityEditor;
#endif
public static class UniVersionManager
{
#if UNITY_IOS
[DllImport("__Internal")]
private static extern string GetVersionName_();
[DllImport("__Internal")]
private static extern string GetB... | Make DllImport exclusive to iOS | Make DllImport exclusive to iOS
| C# | mit | sanukin39/UniVersionManager |
a8c09f8e76c06638e00f7bad7c6bcafaa73f00ec | DesignPatternsExercise/CreationalPatterns/FactoryMethod/FactoryMethodTest.cs | DesignPatternsExercise/CreationalPatterns/FactoryMethod/FactoryMethodTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DesignPatternsExercise.CreationalPatterns.FactoryMethod.Mocks;
namespace DesignPatternsExercise.CreationalPatterns.FactoryMethod
{
[TestClass]
public class FactoryMethodTest
{
[TestMethod]
public void TestProduction()
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DesignPatternsExercise.CreationalPatterns.FactoryMethod.Mocks;
using System.Collections.Generic;
namespace DesignPatternsExercise.CreationalPatterns.FactoryMethod
{
[TestClass]
public class FactoryMethodTest
{
private Dictiona... | Split tests and deduplicated code | Split tests and deduplicated code
| C# | unlicense | Wolfolo/DesignPatternsCSharp |
cac41997fc2a94b606541fcc0e5a76f5fe6ce6e4 | InversionOfControl/Castle.MicroKernel/Lifestyle/SingletonLifestyleManager.cs | InversionOfControl/Castle.MicroKernel/Lifestyle/SingletonLifestyleManager.cs | // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
//
// 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 ... | // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
//
// 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 ... | Use double checked lock to improve performance. | Use double checked lock to improve performance.
git-svn-id: bab0c2de90ee11a20376049c2cdee62584491f34@4729 73e77b4c-caa6-f847-a29a-24ab75ae54b6
| C# | apache-2.0 | castleproject/Castle.Transactions,castleproject/Castle.Facilities.Wcf-READONLY,codereflection/Castle.Components.Scheduler,castleproject/castle-READONLY-SVN-dump,castleproject/Castle.Transactions,castleproject/Castle.Facilities.Wcf-READONLY,carcer/Castle.Components.Validator,castleproject/castle-READONLY-SVN-dump,castle... |
05e6c3ef6a0b030234922736c36b4f3cef8f097a | MovieTheater/MovieTheater.Framework/Core/Commands/CreateJsonReaderCommand.cs | MovieTheater/MovieTheater.Framework/Core/Commands/CreateJsonReaderCommand.cs | using System;
using System.Collections.Generic;
using MovieTheater.Framework.Core.Commands.Contracts;
namespace MovieTheater.Framework.Core.Commands
{
public class CreateJsonReaderCommand : ICommand
{
public string Execute(List<string> parameters)
{
throw new NotImplementedExceptio... | using System.Collections.Generic;
using MovieTheater.Framework.Core.Commands.Contracts;
using MovieTheater.Framework.Core.Providers;
using MovieTheater.Framework.Core.Providers.Contracts;
namespace MovieTheater.Framework.Core.Commands
{
public class CreateJsonReaderCommand : ICommand
{
private IReader... | Create JSon Reader command is ready | Create JSon Reader command is ready
| C# | mit | olebg/Movie-Theater-Project |
fc523bdbde7cfeaacce8f7128e775cf112745636 | src/TehPers.FishingOverhaul.Api/Effects/IFishingEffect.cs | src/TehPers.FishingOverhaul.Api/Effects/IFishingEffect.cs | using StardewValley;
namespace TehPers.FishingOverhaul.Api.Effects
{
/// <summary>
/// An effect that can be applied while fishing.
/// </summary>
public interface IFishingEffect
{
/// <summary>
/// Applies this effect.
/// </summary>
/// <param name="fishingInfo">I... | using StardewValley;
namespace TehPers.FishingOverhaul.Api.Effects
{
/// <summary>
/// An effect that can be applied while fishing.
/// </summary>
public interface IFishingEffect
{
/// <summary>
/// Applies this effect.
/// </summary>
/// <param name="fishingInfo">I... | Remove extra `public`s from interface | Remove extra `public`s from interface
| C# | mit | TehPers/StardewValleyMods |
60d42fbb44a590640eb54b338dd66b141771079b | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.DynamicProxy2")]
[assembly: AssemblyDescription("Autofac Castle.DynamicProxy2 Integration")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.DynamicProxy2")]
[assembly: ComVisible(false)] | 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. | 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.
| C# | mit | autofac/Autofac.Extras.DynamicProxy,jango2015/Autofac.Extras.DynamicProxy |
aca0d881ecbf4ccc09d18135883808a76bed13af | src/SparkPost/IClient.cs | src/SparkPost/IClient.cs | namespace SparkPost
{
/// <summary>
/// Provides access to the SparkPost API.
/// </summary>
public interface IClient
{
/// <summary>
/// Gets or sets the key used for requests to the SparkPost API.
/// </summary>
string ApiKey { get; set; }
/// <summary>
... | namespace SparkPost
{
/// <summary>
/// Provides access to the SparkPost API.
/// </summary>
public interface IClient
{
/// <summary>
/// Gets or sets the key used for requests to the SparkPost API.
/// </summary>
string ApiKey { get; set; }
/// <summary>
... | Add webhooks to the client interface. | Add webhooks to the client interface.
| C# | apache-2.0 | kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,ZA1/csharp-sparkpost,SparkPost/csharp-sparkpost,kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost |
4046f07839495c751ceadf5db8446b01bb6b1b37 | BatteryCommander.Web/Controllers/BattleRosterController.cs | BatteryCommander.Web/Controllers/BattleRosterController.cs | using BatteryCommander.Common;
using BatteryCommander.Common.Models;
using BatteryCommander.Web.Models;
using Microsoft.AspNet.Identity;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace BatteryCommander.Web.Controllers
{
public class BattleRosterController... | using BatteryCommander.Common;
using BatteryCommander.Common.Models;
using BatteryCommander.Web.Models;
using Microsoft.AspNet.Identity;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace BatteryCommander.Web.Controllers
{
public class BattleRosterController... | Sort battle roster by group, then by position desc | Sort battle roster by group, then by position desc
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
90c0338ed6406a44015fbe9a547dbe6b932f0e5c | ChamberLib.OpenTK/BuiltinShaderImporter.cs | ChamberLib.OpenTK/BuiltinShaderImporter.cs | using System;
using ChamberLib.Content;
namespace ChamberLib.OpenTK
{
public class BuiltinShaderImporter
{
public BuiltinShaderImporter(ShaderImporter next, ShaderStageImporter next2)
{
if (next == null) throw new ArgumentNullException("next");
if (next2 == null) throw ... | using System;
using ChamberLib.Content;
namespace ChamberLib.OpenTK
{
public class BuiltinShaderImporter
{
public BuiltinShaderImporter(ShaderImporter next, ShaderStageImporter next2)
{
if (next == null) throw new ArgumentNullException("next");
if (next2 == null) throw ... | Return ShaderContent for built-in shader stages. | Return ShaderContent for built-in shader stages.
| C# | lgpl-2.1 | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib |
0b1429cded35cf3b7b3337beeeb8c56bc2a1c080 | Source/GenericGraphEditor/GenericGraphEditor.Build.cs | Source/GenericGraphEditor/GenericGraphEditor.Build.cs | using UnrealBuildTool;
public class GenericGraphEditor : ModuleRules
{
public GenericGraphEditor(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
bLegacyPublicIncludePaths = false;
ShadowVariableWarningLevel = WarningLevel.Error;
PublicIncludePaths.AddRa... | using UnrealBuildTool;
public class GenericGraphEditor : ModuleRules
{
public GenericGraphEditor(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
bLegacyPublicIncludePaths = false;
ShadowVariableWarningLevel = WarningLevel.Error;
PublicIncludePaths.AddRa... | Add Public to build target | Add Public to build target
| C# | mit | jinyuliao/GenericGraph,jinyuliao/GenericGraph,jinyuliao/GenericGraph |
1f4a1872512a6d810d905ded980cf3594844bb40 | src/Stripe.net/Services/Charges/ChargeListOptions.cs | src/Stripe.net/Services/Charges/ChargeListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class ChargeListOptions : ListOptionsWithCreated
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("source")]
public ChargeSourceListOptions Source { get; set; }
}
}
| namespace Stripe
{
using System;
using Newtonsoft.Json;
public class ChargeListOptions : ListOptionsWithCreated
{
/// <summary>
/// Only return charges for the customer specified by this customer ID.
/// </summary>
[JsonProperty("customer")]
public string Custome... | Support listing charges by PaymentIntent id | Support listing charges by PaymentIntent id
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
aecc135d9c7afb9914b74c4c83eee7a8afa99625 | TMDbLibTests/ClientJobTests.cs | TMDbLibTests/ClientJobTests.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TMDbLib.Objects.General;
namespace TMDbLibTests
{
[TestClass]
public class ClientJobTests
{
private TestConfig _config;
/// <summary>
/// Run once, on every test
... | using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TMDbLib.Objects.General;
namespace TMDbLibTests
{
[TestClass]
public class ClientJobTests
{
private TestConfig _config;
/// <summary>
/// Run once, on every test
... | Extend test for Jobs list | Extend test for Jobs list
Issue #99
| C# | mit | LordMike/TMDbLib |
0f05588ab183d4627a0d7213d7bea40a519a7f23 | src/Noobot.Runner/NoobotHost.cs | src/Noobot.Runner/NoobotHost.cs | using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader _confi... | using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader _confi... | Revert "Update comment to reflect possible config.json path" | Revert "Update comment to reflect possible config.json path"
This reverts commit 8a45b9e90f9bfb43c17a74baa8fa9304396b5639.
| C# | mit | Workshop2/noobot,noobot/noobot |
5ae9b4c79152e0e9489cf5e5c3a8e4267a6a92c4 | osu.Game.Rulesets.Catch/Tests/TestCaseCatchStacker.cs | osu.Game.Rulesets.Catch/Tests/TestCaseCatchStacker.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
[Ignor... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
[Ignor... | Make CatchStacker testcase more useful | Make CatchStacker testcase more useful
| C# | mit | smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,Frontear/osuKyzer,johnneijzen/osu,peppy/osu,smoogipoo/osu,naoey/osu,naoey/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,DrabWeb/osu,Nabile-Rahmani/osu,johnneijzen/osu,2yangk23/osu,DrabWeb/osu,EVAST9919/osu,naoey/osu,smoogipooo/osu,Useles... |
c50380ae715ab516e1de0c1a7304fd7a75fde638 | Kudu.Core/Deployment/MsBuildSiteBuilder.cs | Kudu.Core/Deployment/MsBuildSiteBuilder.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Kudu.Contracts.Tracing;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment
{
public abstract class MsBuildSiteBuilder : ISiteBuilder
{
private const string NuGetCachePathKey = "NuGetCachePath";
private readonly E... | using System;
using System.Linq;
using System.Threading.Tasks;
using Kudu.Contracts.Tracing;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment
{
public abstract class MsBuildSiteBuilder : ISiteBuilder
{
private const string NuGetCachePathKey = "NuGetCachePath";
private readonly E... | Remove the nuget environment variable. | Remove the nuget environment variable.
| C# | apache-2.0 | shibayan/kudu,sitereactor/kudu,duncansmart/kudu,juvchan/kudu,WeAreMammoth/kudu-obsolete,chrisrpatterson/kudu,WeAreMammoth/kudu-obsolete,puneet-gupta/kudu,shrimpy/kudu,kali786516/kudu,shibayan/kudu,juoni/kudu,badescuga/kudu,duncansmart/kudu,chrisrpatterson/kudu,badescuga/kudu,sitereactor/kudu,barnyp/kudu,bbauya/kudu,Eri... |
860df035bc7f39b4f043cddf8aa4eaf1cd607641 | src/FlatFile.FixedLength.Attributes/Infrastructure/FixedLayoutDescriptorProvider.cs | src/FlatFile.FixedLength.Attributes/Infrastructure/FixedLayoutDescriptorProvider.cs | namespace FlatFile.FixedLength.Attributes.Infrastructure
{
using System;
using System.Linq;
using FlatFile.Core;
using FlatFile.Core.Attributes.Extensions;
using FlatFile.Core.Attributes.Infrastructure;
using FlatFile.Core.Base;
public class FixedLayoutDescriptorProvider : ILayoutDescriptor... | namespace FlatFile.FixedLength.Attributes.Infrastructure
{
using System;
using System.Linq;
using FlatFile.Core;
using FlatFile.Core.Attributes.Extensions;
using FlatFile.Core.Attributes.Infrastructure;
using FlatFile.Core.Base;
public class FixedLayoutDescriptorProvider : ILayoutDescriptor... | Fix header behavior for the fixed length types | Fix header behavior for the fixed length types
| C# | mit | forcewake/FlatFile |
e3d5f8d39b1d0da877d24bd1c41f675ede719e70 | Stratis.Bitcoin/Builder/Feature/FeaturesExtensions.cs | Stratis.Bitcoin/Builder/Feature/FeaturesExtensions.cs | using System.Collections.Generic;
using System.Linq;
namespace Stratis.Bitcoin.Builder.Feature
{
/// <summary>
/// Extensions to features collection.
/// </summary>
public static class FeaturesExtensions
{
/// <summary>
/// Ensures a dependency feature type is present in the featur... | using System.Collections.Generic;
using System.Linq;
namespace Stratis.Bitcoin.Builder.Feature
{
/// <summary>
/// Extensions to features collection.
/// </summary>
public static class FeaturesExtensions
{
/// <summary>
/// Ensures a dependency feature type is present in the featur... | Clean up type checking code | Clean up type checking code
| C# | mit | stratisproject/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,mikedennis/Stra... |
4280ede14393bc708932c78681eb4a469fe9d74a | GameModel/entities/unitSystems/Weapons/BeamBatterySystem.cs | GameModel/entities/unitSystems/Weapons/BeamBatterySystem.cs | // <copyright file="BeamBatterySystem.cs" company="Patrick Maughan">
// Copyright (c) Patrick Maughan. All rights reserved.
// </copyright>
namespace FireAndManeuver.GameModel
{
using System.Xml.Serialization;
public class BeamBatterySystem : ArcWeaponSystem
{
[XmlIgnore]
privat... | // <copyright file="BeamBatterySystem.cs" company="Patrick Maughan">
// Copyright (c) Patrick Maughan. All rights reserved.
// </copyright>
namespace FireAndManeuver.GameModel
{
using System.Xml.Serialization;
public class BeamBatterySystem : ArcWeaponSystem
{
[XmlIgnore]
privat... | Improve Beam-weapon toString to include rating value | Improve Beam-weapon toString to include rating value
| C# | mit | skeolan/FireAndManeuver |
bbb12d05d13d2276c0205f4257de5c2813f8fed9 | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | #region License
/*
Copyright 2011 Andrew Davey
This file is part of Cassette.
Cassette is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
... | Bump to v0.9 - this is going to be the beta for 1.0 | Bump to v0.9 - this is going to be the beta for 1.0
| C# | mit | andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette |
78dea0156a9bcb6458e98fbf4719d18f27cffa69 | source/Handlebars.Benchmark/LargeArray.cs | source/Handlebars.Benchmark/LargeArray.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Attributes;
using HandlebarsDotNet;
namespace HandlebarsNet.Benchmark
{
public class LargeArray
{
private object _data;
private HandlebarsTemplate<object, object> _default;
[Params... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Attributes;
using HandlebarsDotNet;
namespace HandlebarsNet.Benchmark
{
public class LargeArray
{
private object _data;
private HandlebarsTemplate<TextWriter, object, object> _default;
... | Use TextWriter overload for template filling. Change was requested by pull request reviewer. | Use TextWriter overload for template filling.
Change was requested by pull request reviewer.
| C# | mit | rexm/Handlebars.Net,rexm/Handlebars.Net |
b47d04c049328aa07745db6449d9d29b9b165458 | AppveyorShieldBadges/Program.cs | AppveyorShieldBadges/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace AppveyorShieldBadges
{
public class Program
{
public static void Main(string[] args)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace AppveyorShieldBadges
{
public class Program
{
public static void Main(string[] args)
{
... | Add error to see if CI is blocking Deployment | Add error to see if CI is blocking Deployment | C# | mit | monkey3310/appveyor-shields-badges |
8ea8330e7f5f6b6181a879382455006738acea9c | CoffeeFilter.iOS/AppDelegate.cs | CoffeeFilter.iOS/AppDelegate.cs | using UIKit;
using Foundation;
namespace CoffeeFilter.iOS
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
const string GoogleMapsAPIKey = "AIzaSyAAOpU0qjK0LBTe2UCCxPQP1iTaSv_Xihw";
public override UIWindow Window { get; set; }
public override bool FinishedLaunching (UIApplica... | using UIKit;
using Foundation;
namespace CoffeeFilter.iOS
{
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
const string GoogleMapsAPIKey = "AIzaSyAAOpU0qjK0LBTe2UCCxPQP1iTaSv_Xihw";
public override UIWindow Window { get; set; }
public override bool FinishedLaunching (UIApplica... | Use UITest compiler directive instead of ENABLE_TEST_CLOUD | [CoffeeFilter.UITests] Use UITest compiler directive instead of ENABLE_TEST_CLOUD | C# | mit | jamesmontemagno/Coffee-Filter,hoanganhx86/Coffee-Filter |
5f52fe11a7380d28187c57232a93b24af146788a | GitTfs/Core/TfsChangesetInfo.cs | GitTfs/Core/TfsChangesetInfo.cs | using System.Collections.Generic;
namespace Sep.Git.Tfs.Core
{
public class TfsChangesetInfo
{
public IGitTfsRemote Remote { get; set; }
public long ChangesetId { get; set; }
public string GitCommit { get; set; }
public IEnumerable<ITfsWorkitem> Workitems { get; set; }
}
}
| using System.Collections.Generic;
using System.Linq;
namespace Sep.Git.Tfs.Core
{
public class TfsChangesetInfo
{
public IGitTfsRemote Remote { get; set; }
public long ChangesetId { get; set; }
public string GitCommit { get; set; }
public IEnumerable<ITfsWorkitem> Workitems { g... | Add a default value for changeset.workitems. | Add a default value for changeset.workitems.
| C# | apache-2.0 | guyboltonking/git-tfs,guyboltonking/git-tfs,adbre/git-tfs,PKRoma/git-tfs,irontoby/git-tfs,TheoAndersen/git-tfs,steveandpeggyb/Public,allansson/git-tfs,jeremy-sylvis-tmg/git-tfs,WolfVR/git-tfs,allansson/git-tfs,NathanLBCooper/git-tfs,bleissem/git-tfs,jeremy-sylvis-tmg/git-tfs,codemerlin/git-tfs,hazzik/git-tfs,jeremy-syl... |
726322c523653ce2670a65834c76dfea9ee5bea9 | NBi.Core/Calculation/Predicate/Numeric/NumericWithinRange.cs | NBi.Core/Calculation/Predicate/Numeric/NumericWithinRange.cs | using NBi.Core.ResultSet;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Scalar.Interval;
using NBi.Core.Scalar.Caster;
namespace NBi.Core.Calculation.Predicate.Numeric
{
class NumericWithinRange : Abst... | using NBi.Core.ResultSet;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Scalar.Interval;
using NBi.Core.Scalar.Caster;
namespace NBi.Core.Calculation.Predicate.Numeric
{
class NumericWithinRange : Abst... | Improve handling of bad format for intervals | Improve handling of bad format for intervals
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
27043bec591e481c712e4ed7bac1906122f7d33b | src/Umbraco.Core/Extensions/ConfigConnectionStringExtensions.cs | src/Umbraco.Core/Extensions/ConfigConnectionStringExtensions.cs | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.IO;
using System.Linq;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration;
namespace Umbraco.Extensions
{
public static class ConfigConnectionStringExtensions
{
public static bool IsConnectionStringConfigur... | // Copyright (c) Umbraco.
// See LICENSE for more details.
using Umbraco.Cms.Core.Configuration;
namespace Umbraco.Extensions
{
public static class ConfigConnectionStringExtensions
{
public static bool IsConnectionStringConfigured(this ConfigConnectionString databaseSettings)
=> databaseSe... | Remove custom SQL CE checks from IsConnectionStringConfigured | Remove custom SQL CE checks from IsConnectionStringConfigured
| C# | mit | KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjern... |
680dc50b8451fba4990331e186e1769a4da44c96 | osu.Framework/Testing/TestingExtensions.cs | osu.Framework/Testing/TestingExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Testing
{
public static class Testin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Testing
{
public static class Testin... | Remove type constraint for ChildrenOfType<T> | Remove type constraint for ChildrenOfType<T>
| C# | mit | ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework |
00a5ecb10c338fd877d03071323e837012a9f3fe | src/AsmResolver/IO/IBinaryStreamReaderFactory.cs | src/AsmResolver/IO/IBinaryStreamReaderFactory.cs | using System;
namespace AsmResolver.IO
{
/// <summary>
/// Provides members for creating new binary streams.
/// </summary>
public interface IBinaryStreamReaderFactory : IDisposable
{
/// <summary>
/// Gets the maximum length a single binary stream reader produced by this factory ca... | using System;
using System.IO;
namespace AsmResolver.IO
{
/// <summary>
/// Provides members for creating new binary streams.
/// </summary>
public interface IBinaryStreamReaderFactory : IDisposable
{
/// <summary>
/// Gets the maximum length a single binary stream reader produced b... | Add <exception> tags to CreateReader. | Add <exception> tags to CreateReader.
| C# | mit | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver |
4e9ea01784d4df1e339ad7a14c1bc2a657baeacd | src/BuildingBlocks.CopyManagement/CryptHelper.cs | src/BuildingBlocks.CopyManagement/CryptHelper.cs | using System.Security.Cryptography;
using System.Text;
namespace BuildingBlocks.CopyManagement
{
public static class CryptHelper
{
public static string ToFingerPrintMd5Hash(this string value)
{
var cryptoProvider = new MD5CryptoServiceProvider();
var encoding =... | using System.Security.Cryptography;
using System.Text;
namespace BuildingBlocks.CopyManagement
{
public static class CryptHelper
{
public static string ToFingerPrintMd5Hash(this string value, char? separator = '-')
{
var cryptoProvider = new MD5CryptoServiceProvider();
... | Allow replace separator in crypt helper | Allow replace separator in crypt helper
| C# | apache-2.0 | ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks |
05df51d8e2e78ebeaad38e3f41c10730195fc3cb | src/Glimpse.Agent.Web/GlimpseAgentWebServices.cs | src/Glimpse.Agent.Web/GlimpseAgentWebServices.cs | using Glimpse.Agent;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
using System.Collections.Generic;
using Glimpse.Agent.Web.Options;
namespace Glimpse
{
public class GlimpseAgentWebServices
{
public static IEnumerable<IServiceDescriptor> Ge... | using Glimpse.Agent;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
using System.Collections.Generic;
using Glimpse.Agent.Web;
using Glimpse.Agent.Web.Options;
using Microsoft.Framework.OptionsModel;
namespace Glimpse
{
public class GlimpseAgentWebServic... | Add Options setup registration in DI container | Add Options setup registration in DI container
| C# | mit | mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,... |
24888165919b6df7899a9cfa05abd82399edfe7e | Api/DIServiceRegister/ModelRepositories.cs | Api/DIServiceRegister/ModelRepositories.cs | using Api.Repositories;
using Microsoft.Extensions.DependencyInjection;
namespace Api.DIServiceRegister {
public class Repositories
{
public static void Register(IServiceCollection services) {
services.AddSingleton<IAdministratorsRepository, AdministratorsRepository>();
servic... | using Api.Repositories;
using Microsoft.Extensions.DependencyInjection;
namespace Api.DIServiceRegister {
public class ModelRepositories
{
public static void Register(IServiceCollection services) {
services.AddScoped<IAdministratorsRepository, AdministratorsRepository>();
serv... | Fix typo in Model-Repositories Service Register | Fix typo in Model-Repositories Service Register
| C# | apache-2.0 | Jaskaranbir/InstaPost,Jaskaranbir/InstaPost,Jaskaranbir/InstaPost,Jaskaranbir/InstaPost |
8f5d107169315c5c10e815be58c91b480b16d719 | Facile.Core/ExecutionResult.cs | Facile.Core/ExecutionResult.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facile.Core
{
public class ExecutionResult
{
public bool Success { get; set; }
public IEnumerable<ValidationResult> Errors ... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Facile.Core
{
/// <summary>
/// Defines the result of a command's execution
/// </summary>
public class ExecutionResult
{
public bool Success { get; set; }
public IEnumerable<ValidationResult> ... | Add documentation and remove unused using statements | Add documentation and remove unused using statements
| C# | mit | peasy/Samples,peasy/Samples,peasy/Samples,ahanusa/facile.net,ahanusa/Peasy.NET,peasy/Peasy.NET |
dc3c91bde78c04487811fc0baa21007e5572b9f7 | MbDotNet/Models/Imposters/HttpsImposter.cs | MbDotNet/Models/Imposters/HttpsImposter.cs | using MbDotNet.Models.Stubs;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MbDotNet.Models.Imposters
{
public class HttpsImposter : Imposter
{
[JsonProperty("stubs")]
public ICollection<HttpStub> Stubs { get; private set; }
[JsonProperty("key")]
p... | using MbDotNet.Models.Stubs;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MbDotNet.Models.Imposters
{
public class HttpsImposter : Imposter
{
[JsonProperty("stubs")]
public ICollection<HttpStub> Stubs { get; private set; }
// TODO Need to not include key... | Add TODO to handle serialization for null key | Add TODO to handle serialization for null key
| C# | mit | mattherman/MbDotNet,mattherman/MbDotNet,SuperDrew/MbDotNet |
91d57852b66d0796f1a3799bcd44af7d7ca63949 | NowPlayingLib/SonyDatabase/MediaManager.cs | NowPlayingLib/SonyDatabase/MediaManager.cs | using SonyMediaPlayerXLib;
using SonyVzProperty;
using System;
using System.Data.OleDb;
using System.IO;
using System.Linq;
namespace NowPlayingLib.SonyDatabase
{
/// <summary>
/// x-アプリのデータベースから曲情報を取得します。
/// </summary>
public class MediaManager
{
/// <summary>
/// データベースのパス。
... | using SonyMediaPlayerXLib;
using SonyVzProperty;
using System;
using System.Data.OleDb;
using System.IO;
using System.Linq;
namespace NowPlayingLib.SonyDatabase
{
/// <summary>
/// x-アプリのデータベースから曲情報を取得します。
/// </summary>
public class MediaManager
{
/// <summary>
/// データベースのパス。
... | Remove a redundant ToArray call | Fix: Remove a redundant ToArray call
| C# | mit | chitoku-k/NowPlayingLib |
815895f2f5b56f836255c930909cd06a68148523 | test/RestSharp.IntegrationTests/ProxyTests.cs | test/RestSharp.IntegrationTests/ProxyTests.cs | using System;
using System.Net;
using NUnit.Framework;
using RestSharp.Tests.Shared.Fixtures;
namespace RestSharp.IntegrationTests
{
[TestFixture]
public class ProxyTests
{
class RequestBodyCapturer
{
public const string RESOURCE = "Capture";
}
[Test]
p... | using System;
using System.Net;
using NUnit.Framework;
using RestSharp.Tests.Shared.Fixtures;
namespace RestSharp.IntegrationTests
{
[TestFixture]
public class ProxyTests
{
[Test]
public void Set_Invalid_Proxy_Fails()
{
using var server = HttpServerFixture.StartServer((... | Fix the proxy test, why the body was even there? | Fix the proxy test, why the body was even there?
| C# | apache-2.0 | PKRoma/RestSharp,restsharp/RestSharp |
22711e9623eb9e3b367758b3c3e3865962492ad1 | VstsMetrics/Commands/CycleTime/WorkItemCycleTimeExtensions.cs | VstsMetrics/Commands/CycleTime/WorkItemCycleTimeExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MathNet.Numerics.Statistics;
namespace VstsMetrics.Commands.CycleTime
{
public static class WorkItemCycleTimeExtensions
{
public static IEnumerable<WorkItemCycleTimeSummary> Summarise(this IEnumerable<WorkItemCycleTime> cycleTimes... | using System;
using System.Collections.Generic;
using System.Linq;
using MathNet.Numerics.Statistics;
namespace VstsMetrics.Commands.CycleTime
{
public static class WorkItemCycleTimeExtensions
{
public static IEnumerable<WorkItemCycleTimeSummary> Summarise(this IEnumerable<WorkItemCycleTime> cycleTimes... | Add a comment about when the MoE calculation will be wrong. | Add a comment about when the MoE calculation will be wrong.
| C# | agpl-3.0 | christopher-bimson/VstsMetrics |
fabb3acc505014bd521a915a5abd8537d3974995 | NBitcoin/Secp256k1/Musig/MusigPartialSignature.cs | NBitcoin/Secp256k1/Musig/MusigPartialSignature.cs | #if HAS_SPAN
#nullable enable
using NBitcoin.Secp256k1.Musig;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Text;
namespace NBitcoin.Secp256k1
{
#if SECP256K1_LIB
public
#endif
class MusigPartialSi... | #if HAS_SPAN
#nullable enable
using NBitcoin.Secp256k1.Musig;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Text;
namespace NBitcoin.Secp256k1.Musig
{
#if SECP256K1_LIB
public
#endif
class MusigPar... | Move musig class in the musig namespace | Move musig class in the musig namespace
| C# | mit | MetacoSA/NBitcoin,MetacoSA/NBitcoin |
7e12c63190c5e6e11846ceec005df7a7084c7406 | Assets/AdjustImei/Android/AdjustImeiAndroid.cs | Assets/AdjustImei/Android/AdjustImeiAndroid.cs | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.imei
{
#if UNITY_ANDROID
public class AdjustImeiAndroid
{
private static AndroidJavaClass ajcAdjustImei = new AndroidJavaClass("com.adjust.sdk.imei.AdjustImei");
public static void ReadImei()
... | using System;
using System.Runtime.InteropServices;
using UnityEngine;
namespace com.adjust.sdk.imei
{
#if UNITY_ANDROID
public class AdjustImeiAndroid
{
private static AndroidJavaClass ajcAdjustImei = new AndroidJavaClass("com.adjust.sdk.imei.AdjustImei");
public static void ReadImei()
... | Fix native AdjustImei class path | Fix native AdjustImei class path
| C# | mit | adjust/unity_sdk,adjust/unity_sdk,adjust/unity_sdk |
8d5977d158f87068060c684cb9fc0efb52bf22f8 | StyleCop.Analyzers.Status.Generator/Program.cs | StyleCop.Analyzers.Status.Generator/Program.cs | namespace StyleCop.Analyzers.Status.Generator
{
using System;
using System.IO;
using LibGit2Sharp;
using Newtonsoft.Json;
/// <summary>
/// The starting point of this application.
/// </summary>
internal class Program
{
/// <summary>
/// The starting point of this a... | namespace StyleCop.Analyzers.Status.Generator
{
using System;
using System.IO;
using System.Linq;
using LibGit2Sharp;
using Newtonsoft.Json;
/// <summary>
/// The starting point of this application.
/// </summary>
internal class Program
{
/// <summary>
/// The s... | Include git information in json file | Include git information in json file
| C# | mit | pdelvo/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status,DotNetAnalyzers/StyleCopAnalyzers,sharwell/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status |
011b14ca5cf162b87fd62ade83706de97b8842ef | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Wcf")]
[assembly: AssemblyDescription("Autofac WCF Integration")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Wcf, PublicKey=00240000048... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Integration.Wcf")]
[assembly: InternalsVisibleTo("Autofac.Tests.Integration.Wcf, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e049261... | 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. | 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.
| C# | mit | caioproiete/Autofac.Wcf,autofac/Autofac.Wcf |
4fb93463f5d493c8c5939006ff4763026972c960 | src/Daterpillar.Core/Compare/ComparisonReport.cs | src/Daterpillar.Core/Compare/ComparisonReport.cs | using System.Collections.Generic;
namespace Gigobyte.Daterpillar.Compare
{
public class ComparisonReport
{
public Counter Counters;
public Outcome Summary { get; set; }
public IList<Discrepancy> Discrepancies { get; set; }
public struct Counter
{
public in... | using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Gigobyte.Daterpillar.Compare
{
[DataContract]
public class ComparisonReport : IEnumerable<Discrepancy>
{
public Counter Counters;
[DataMember]
public Outcome Summary { get; se... | Add data contract attributes to ComparisionReport.cs | Add data contract attributes to ComparisionReport.cs
| C# | mit | Ackara/Daterpillar |
451207c6a8c522461c8d253fa5a8abc62b8c81ee | Phoebe/Bugsnag/Data/Event.cs | Phoebe/Bugsnag/Data/Event.cs | using System;
using Newtonsoft.Json;
using Toggl.Phoebe.Bugsnag.Json;
using System.Collections.Generic;
namespace Toggl.Phoebe.Bugsnag.Data
{
[JsonObject (MemberSerialization.OptIn)]
public class Event
{
[JsonProperty ("user", DefaultValueHandling = DefaultValueHandling.Ignore)]
public User... | using System;
using Newtonsoft.Json;
using Toggl.Phoebe.Bugsnag.Json;
using System.Collections.Generic;
namespace Toggl.Phoebe.Bugsnag.Data
{
[JsonObject (MemberSerialization.OptIn)]
public class Event
{
[JsonProperty ("user", DefaultValueHandling = DefaultValueHandling.Ignore)]
public User... | Fix metaData JSON property name case. | Fix metaData JSON property name case.
| C# | bsd-3-clause | peeedge/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,peeedge/mobile,eatskolnikov/mobile,masterrr/mobile,ZhangLeiCharles/mobile,masterrr/mobile |
5bd7913cfb6f187ac2df29d3cab7cc178aa245da | Currency.cs | Currency.cs | using System.Runtime.Serialization;
namespace Plexo
{
[DataContract]
public class Currency
{
[DataMember]
public int CurrencyId { get; set; }
[DataMember]
public string Name { get; set; }
[DataMember]
public string Plural { get; set; }
[DataMember]
... | using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Plexo
{
[DataContract]
public class Currency
{
[DataMember]
public int CurrencyId { get; set; }
[DataMember]
public string Name { get; set; }
[DataMember]
public string Plural { get; set; }
... | Make sure MercuryId do not get serialized. | Make sure MercuryId do not get serialized.
| C# | agpl-3.0 | gOOvaUY/Plexo.Models,gOOvaUY/Goova.Plexo.Models |
b00a8cb069fc72cb33b6e4ccd42c8bdda9d5cbf7 | src/GraphQL/Types/IGraphType.cs | src/GraphQL/Types/IGraphType.cs | namespace GraphQL.Types
{
public interface INamedType
{
string Name { get; set; }
}
public interface IGraphType : IProvideMetadata, INamedType
{
string Description { get; set; }
string DeprecationReason { get; set; }
string CollectTypes(TypeCollectionContext contex... | namespace GraphQL.Types
{
public interface INamedType
{
string Name { get; set; }
}
public interface IGraphType : IProvideMetadata, INamedType
{
string Description { get; set; }
string DeprecationReason { get; set; }
string CollectTypes(TypeCollectionContext contex... | Remove input/output interfaces for now | Remove input/output interfaces for now
Fixes #335
| C# | mit | graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet |
c06e99ef82934f7f07f963ea8b59aa9c36bfffb1 | resharper/resharper-unity/src/AsmDef/Feature/Services/Daemon/Attributes/AsmDefHighlightingAttributeIds.cs | resharper/resharper-unity/src/AsmDef/Feature/Services/Daemon/Attributes/AsmDefHighlightingAttributeIds.cs | using JetBrains.TextControl.DocumentMarkup;
namespace JetBrains.ReSharper.Plugins.Unity.AsmDef.Feature.Services.Daemon.Attributes
{
[RegisterHighlighter(GUID_REFERENCE_TOOLTIP, EffectType = EffectType.TEXT)]
public static class AsmDefHighlightingAttributeIds
{
public const string GUID_REFERENCE_TOO... | using JetBrains.TextControl.DocumentMarkup;
namespace JetBrains.ReSharper.Plugins.Unity.AsmDef.Feature.Services.Daemon.Attributes
{
// Rider doesn't support an empty set of attributes (all the implementations of IRiderHighlighterModelCreator
// return null), so we must define something. If we define an EffectT... | Fix registration of tooltip only highlighter | Fix registration of tooltip only highlighter
Resolves part of RSPL-6988
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
ece15d692e82d1fb39cbb1dbca4591e14109d006 | Source/EventFlow/MetadataKeys.cs | Source/EventFlow/MetadataKeys.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// 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... | Fix metadata key, its the aggregate sequence number not the global one | Fix metadata key, its the aggregate sequence number not the global one
| C# | mit | liemqv/EventFlow,AntoineGa/EventFlow,rasmus/EventFlow |
f1aa99e1033c8115259f4b9dcbc7c9ecf49932b0 | osu.Game.Rulesets.Catch/Edit/Blueprints/CatchSelectionBlueprint.cs | osu.Game.Rulesets.Catch/Edit/Blueprints/CatchSelectionBlueprint.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.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.UI;
using osu.Game.Rulesets.UI.Scrolling;
usi... | // 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.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.UI;
using osu.Game.Rulesets.UI.Scrolling;
usi... | Fix catch selection blueprint not displayed after copy-pasted | Fix catch selection blueprint not displayed after copy-pasted
| C# | mit | peppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu |
d25792a686ffe626744872f4149a6d621ecdd71c | Cake.Xamarin.Build/Models/BuildPlatforms.cs | Cake.Xamarin.Build/Models/BuildPlatforms.cs | using System;
namespace Cake.Xamarin.Build
{
[Flags]
public enum BuildPlatforms
{
Mac = 0,
Windows = 1,
Linux = 2
}
}
| using System;
namespace Cake.Xamarin.Build
{
[Flags]
public enum BuildPlatforms
{
Mac = 1,
Windows = 2,
Linux = 4
}
}
| Fix flags (Mac shouldn't be 0 based) | Fix flags (Mac shouldn't be 0 based) | C# | mit | Redth/Cake.Xamarin.Build |
e21ceb420a439708085e8280d4b59b7c4dea4037 | Kudu.Services/HttpRequestExtensions.cs | Kudu.Services/HttpRequestExtensions.cs | using System.IO;
using System.IO.Compression;
using System.Web;
namespace Kudu.Services
{
public static class HttpRequestExtensions
{
public static Stream GetInputStream(this HttpRequestBase request)
{
var contentEncoding = request.Headers["Content-Encoding"];
if (cont... | using System.IO;
using System.IO.Compression;
using System.Web;
namespace Kudu.Services
{
public static class HttpRequestExtensions
{
public static Stream GetInputStream(this HttpRequestBase request)
{
var contentEncoding = request.Headers["Content-Encoding"];
if (cont... | Use bufferless stream to improve perf and resource usage | Use bufferless stream to improve perf and resource usage
Fixes #518
| C# | apache-2.0 | projectkudu/kudu,shrimpy/kudu,MavenRain/kudu,kenegozi/kudu,kenegozi/kudu,shanselman/kudu,puneet-gupta/kudu,badescuga/kudu,MavenRain/kudu,YOTOV-LIMITED/kudu,sitereactor/kudu,chrisrpatterson/kudu,projectkudu/kudu,shanselman/kudu,sitereactor/kudu,badescuga/kudu,kenegozi/kudu,mauricionr/kudu,puneet-gupta/kudu,uQr/kudu,juvc... |
209176fd0b3bea645e9cd04c607edb9da628416a | test/websites/Glimpse.FunctionalTest.Website/Startup.cs | test/websites/Glimpse.FunctionalTest.Website/Startup.cs | using System.Diagnostics.Tracing;
using Glimpse.Agent.AspNet.Mvc;
using Glimpse.Agent.Web;
using Glimpse.Server.Web;
using Microsoft.AspNet.Builder;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.FunctionalTest.Website
{
public class Startup
{
public void ConfigureServices(IServiceCo... | using System.Diagnostics.Tracing;
using Glimpse.Agent.AspNet.Mvc;
using Glimpse.Agent.Web;
using Glimpse.Server.Web;
using Microsoft.AspNet.Builder;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.FunctionalTest.Website
{
public class Startup
{
public void ConfigureServices(IServiceCo... | Remove need for function test to register telemetry source | Remove need for function test to register telemetry source
| C# | mit | mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.