commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
36e0410fb373a9a9cc84be3acdb0652524a33edf | Fix for nullable doubles in entities | colethecoder/chronological | Chronological/DataType.cs | Chronological/DataType.cs | using System;
using Newtonsoft.Json.Linq;
namespace Chronological
{
public class DataType
{
public string TimeSeriesInsightsType { get; }
internal DataType(string dataType)
{
TimeSeriesInsightsType = dataType;
}
internal JProperty ToJProperty()
{
... | using System;
using Newtonsoft.Json.Linq;
namespace Chronological
{
public class DataType
{
public string TimeSeriesInsightsType { get; }
internal DataType(string dataType)
{
TimeSeriesInsightsType = dataType;
}
internal JProperty ToJProperty()
{
... | mit | C# |
f8eb3502fd2fd9e4f4792a38bb2797922af6625f | Enable log4net logging in the Downloader | serverdensity/sd-agent-windows | BoxedIce.ServerDensity.Agent.Downloader/Properties/AssemblyInfo.cs | BoxedIce.ServerDensity.Agent.Downloader/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | bsd-3-clause | C# |
8324a458889d19f4d72dbf1ff3df5dbe8346d225 | Revert "Temporary fix test" | viciousviper/dokan-dotnet,viciousviper/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,magol/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet | DokanNet.Tests/Mounter.cs | DokanNet.Tests/Mounter.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Globalization;
using System.IO;
using System.Threading;
namespace DokanNet.Tests
{
[TestClass]
public static class Mounter
{
private static Thread mounterThread;
[AssemblyInitialize]
public static void A... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Globalization;
using System.IO;
using System.Threading;
namespace DokanNet.Tests
{
[TestClass]
public static class Mounter
{
private static Thread mounterThread;
[AssemblyInitialize]
public static void A... | mit | C# |
548ac8a8dc7f483c1eb8903ce9daebecffe5613a | Make interface test more interesting | jonathanvdc/ecsc | tests/cs/interface/Interface.cs | tests/cs/interface/Interface.cs | using System;
interface IFlyable
{
void Fly();
string Name { get; }
}
class Bird : IFlyable
{
public Bird()
{
Name = "Bird";
}
public string Name { get; private set; }
public void Fly()
{
Console.WriteLine("Chirp");
}
}
class Plane : IFlyable
{
public Plane()... | using System;
interface IFlyable
{
void Fly();
string Name { get; }
}
class Bird : IFlyable
{
public Bird() { }
public string Name => "Bird";
public void Fly()
{
Console.WriteLine("Chirp");
}
}
class Plane : IFlyable
{
public Plane() { }
public string Name => "Plane";
... | mit | C# |
9f96694c03c1c7114ab781d0bdc52f59e604c179 | Fix weird StaticModel behavior. | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | bindings/src/Shapes/Shape.cs | bindings/src/Shapes/Shape.cs | using Urho.Resources;
namespace Urho.Shapes
{
public abstract class Shape : StaticModel
{
Material material;
public override void OnAttachedToNode(Node node)
{
Model = Application.ResourceCache.GetModel(ModelResource);
Color = color;
}
protected abstract string ModelResource { get; }
Color colo... | using Urho.Resources;
namespace Urho.Shapes
{
public abstract class Shape : StaticModel
{
Material material;
public override void OnAttachedToNode(Node node)
{
Model = Application.ResourceCache.GetModel(ModelResource);
}
protected abstract string ModelResource { get; }
Color color;
public Color ... | mit | C# |
c08a860e209b972e2d520f4a8bc0295f28993f30 | add GetCurrentCultures to SignumAuthenticationAndProfilerAttribute | AlejandroCano/framework,signumsoftware/framework,AlejandroCano/framework,avifatal/framework,signumsoftware/framework,avifatal/framework | Signum.React/Filters/SignumAuthenticationAndProfilerAttribute.cs | Signum.React/Filters/SignumAuthenticationAndProfilerAttribute.cs | using Signum.Engine;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.F... | using Signum.Engine;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.F... | mit | C# |
b77a3a3857b90deb6c995ce96086189bb88d515b | Remove using | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs | WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs | using System.Reactive.Disposables;
using ReactiveUI;
using WalletWasabi.Fluent.Model;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Gui;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
public class SettingsPageViewModel : NavBarItemViewModel
{
private bool _isModified;
private int _selected... | using System.Reactive.Disposables;
using ReactiveUI;
using Splat;
using WalletWasabi.Fluent.Model;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Gui;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
public class SettingsPageViewModel : NavBarItemVi... | mit | C# |
fd9dc7df3f136a324f766773c3165f64835b5cfd | Handle missing files in Noark5-test NumberOfChangesLogged | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Tests/Noark5/NumberOfChangesLogged.cs | src/Arkivverket.Arkade/Tests/Noark5/NumberOfChangesLogged.cs | using System;
using System.Collections.Generic;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Core.Noark5;
using Arkivverket.Arkade.ExternalModels.ChangeLog;
using Arkivverket.Arkade.Resources;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Tests.Noark5
{
/// <summary>
/// Noark5 - ... | using System.Collections.Generic;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Core.Noark5;
using Arkivverket.Arkade.ExternalModels.ChangeLog;
using Arkivverket.Arkade.Resources;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Tests.Noark5
{
/// <summary>
/// Noark5 - test #42
/... | agpl-3.0 | C# |
af45ec43f5f3a77019bff01c0ffecfd3fe8b8f10 | Update MemoryCachedCurrencyConverterEntryKind.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/Cache/MemoryCachedCurrencyConverterEntryKind.cs | TIKSN.Core/Finance/Cache/MemoryCachedCurrencyConverterEntryKind.cs | namespace TIKSN.Finance.Cache
{
public enum MemoryCachedCurrencyConverterEntryKind
{
ExchangeRate,
CurrencyPairs
}
}
| namespace TIKSN.Finance.Cache
{
public enum MemoryCachedCurrencyConverterEntryKind
{
ExchangeRate,
CurrencyPairs
}
} | mit | C# |
9793e6ab5cda20d9dda9576f48f8dafaa1a3581c | Remove unused using | knopki/rabotat-screenshooter | Program.cs | Program.cs | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
namespace rabotat_screenshooter
{
class Program
{
static public string path = "";
static void Main(string[] args)
{
if (args.Length > 0) {
path = args[0];
... | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Diagnostics;
namespace rabotat_screenshooter
{
class Program
{
static public string path = "";
static void Main(string[] args)
{
if (args.Length > 0) {
... | mit | C# |
7ec405f87e44b59fe825ec330d2abaafcdacefa0 | Update binding redirects for 0.3.0 builds | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.cs | tooling/Microsoft.VisualStudio.BlazorExtension/Properties/AssemblyInfo.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell;
// Add binding redirects for each assembly we ship in VS. This is required so that these assemblies show
// up in ... | apache-2.0 | C# |
ed637bc26e8895c5f1efc83408527960ee8542b1 | Hide taiko swell ticks (#5950) | peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,2y... | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.cs | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
public class DrawableSwellTick : DrawableTaikoHi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
public class DrawableSwellTick : DrawableTaikoHitObject<SwellTick>
{
... | mit | C# |
a854b502a89311968d48f20e44d7a115142e82ed | Use ConfigureAwait(false) to work correct on UI | Selz/PexelsNet | PexelsNet/PexelsClient.cs | PexelsNet/PexelsClient.cs | using System;
using System.Net.Http;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace PexelsNet
{
public class PexelsClient
{
private readonly string _apiKey;
private const string BaseUrl = "http://api.pexels.com/v1/";
public PexelsClient(string apiKey)
{
... | using System;
using System.Net.Http;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace PexelsNet
{
public class PexelsClient
{
private readonly string _apiKey;
private const string BaseUrl = "http://api.pexels.com/v1/";
public PexelsClient(string apiKey)
{
... | mit | C# |
948dac8af429d91f9c6a6a6e491a2ce04fbf5443 | Use cross platform compatible paths for debug run. | polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,polyethene/IronAHK,polyethene/IronAHK,yatsek/IronAHK | IronAHK/Debug.cs | IronAHK/Debug.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
namespace IronAHK
{
partial class Program
{
const bool debug =
#if DEBUG
true
#else
false
#endif
;
[Conditional("DEBUG"), DllImport("kernel32.dll")]
static extern void AllocConsole();
... | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
namespace IronAHK
{
partial class Program
{
const bool debug =
#if DEBUG
true
#else
false
#endif
;
[Conditional("DEBUG"), DllImport("kernel32.dll")]
static extern void AllocConsole();
... | bsd-2-clause | C# |
c3bf6a0287c16682e71a750728c40cfc2a99b06f | Remove weird vestigial `Current` reimplementation | smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu | osu.Game/Skinning/LegacyScoreCounter.cs | osu.Game/Skinning/LegacyScoreCounter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Screens.Play.HUD;
using osuTK;
namespace osu.Game.Skinning
{
public class LegacyScoreCo... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Screens.Play.HUD;
using osuTK;
namespace osu.Game.Skinning
{... | mit | C# |
277e925239e7d9a27e977970f1d33b227dac4f73 | Use full URI rather than CURIE for property type | BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB | samples/Samples/Embedded/EntityFramework/FoafCore/IPerson.cs | samples/Samples/Embedded/EntityFramework/FoafCore/IPerson.cs | using System.Collections.Generic;
using BrightstarDB.EntityFramework;
namespace BrightstarDB.Samples.EntityFramework.FoafCore
{
[Entity("http://xmlns.com/foaf/0.1/Person")]
public interface IPerson
{
[Identifier("http://www.brightstardb.com/people/")]
string Id { get; }
[PropertyT... | using System.Collections.Generic;
using BrightstarDB.EntityFramework;
namespace BrightstarDB.Samples.EntityFramework.FoafCore
{
[Entity("http://xmlns.com/foaf/0.1/Person")]
public interface IPerson
{
[Identifier("http://www.brightstardb.com/people/")]
string Id { get; }
[PropertyT... | mit | C# |
f0625fb55adff57e75e30d74dfd8cfc5156635cf | Test broken by QueryWrapper.ShouldContain issue | Novakov/Nancy,EIrwin/Nancy,horsdal/Nancy,fly19890211/Nancy,AlexPuiu/Nancy,cgourlay/Nancy,khellang/Nancy,asbjornu/Nancy,phillip-haydon/Nancy,kekekeks/Nancy,phillip-haydon/Nancy,sloncho/Nancy,jongleur1983/Nancy,phillip-haydon/Nancy,jongleur1983/Nancy,tparnell8/Nancy,sroylance/Nancy,anton-gogolev/Nancy,AcklenAvenue/Nancy,... | src/Nancy.Testing.Tests/BrowserResponseBodyWrapperFixture.cs | src/Nancy.Testing.Tests/BrowserResponseBodyWrapperFixture.cs | namespace Nancy.Testing.Tests
{
using System.IO;
using System.Linq;
using System.Text;
using Nancy;
using Nancy.Tests;
using Xunit;
public class BrowserResponseBodyWrapperFixture
{
[Fact]
public void Should_contain_response_body()
{
// ... | namespace Nancy.Testing.Tests
{
using System.IO;
using System.Linq;
using System.Text;
using Nancy;
using Nancy.Tests;
using Xunit;
public class BrowserResponseBodyWrapperFixture
{
[Fact]
public void Should_contain_response_body()
{
// ... | mit | C# |
4d85137e2c6348b2e6e2ffb0219b0669f833af66 | remove redundant using | saturn72/saturn72 | src/NetCore/Saturn72.Core.Services/Events/IEventPublisher.cs | src/NetCore/Saturn72.Core.Services/Events/IEventPublisher.cs | using System.Threading;
namespace Saturn72.Core.Services.Events
{
public interface IEventPublisher
{
void Publish<TEvent>(TEvent eventMessage) where TEvent : EventBase;
void PublishAsync<TEvent>(TEvent eventMessage, CancellationToken cancelationToken) where TEvent : EventBase;
}
} | using System.Threading;
using System.Threading.Tasks;
namespace Saturn72.Core.Services.Events
{
public interface IEventPublisher
{
void Publish<TEvent>(TEvent eventMessage) where TEvent : EventBase;
void PublishAsync<TEvent>(TEvent eventMessage, CancellationToken cancelationToken) where TEvent ... | mit | C# |
ecbf9a77061aac89cebff489e6e0ff6efa1cca14 | Fix build | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content | Content.Server/GameObjects/Components/Mining/AsteroidRockComponent.cs | Content.Server/GameObjects/Components/Mining/AsteroidRockComponent.cs | using Content.Server.GameObjects.Components.Sound;
using Content.Server.GameObjects.Components.Weapon.Melee;
using Content.Server.GameObjects.EntitySystems;
using Content.Shared.GameObjects;
using Robust.Server.GameObjects;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.Rando... | using System;
using System.Runtime.InteropServices;
using Content.Server.GameObjects.Components.Sound;
using Content.Server.GameObjects.Components.Weapon.Melee;
using Content.Server.GameObjects.EntitySystems;
using Content.Shared.GameObjects;
using Robust.Server.GameObjects;
using Robust.Shared.Audio;
using Robust.Shar... | mit | C# |
c4b9703a02bcdf4fd39aa53e63f1c3057ea1fd12 | Remove warning | mono/cecil,fnajera-rac-de/cecil,sailro/cecil,jbevain/cecil,SiliconStudio/Mono.Cecil | rocks/Test/Mono.Cecil.Tests/SecurityDeclarationRocksTests.cs | rocks/Test/Mono.Cecil.Tests/SecurityDeclarationRocksTests.cs | using System.Security.Permissions;
using NUnit.Framework;
using Mono.Cecil.Rocks;
namespace Mono.Cecil.Tests {
[TestFixture]
public class SecurityDeclarationRocksTests : BaseTestFixture {
[Test]
public void ToPermissionSetFromPermissionSetAttribute ()
{
TestModule ("decsec-xml.dll", module => {
var ... | using System.Security.Permissions;
using NUnit.Framework;
using Mono.Cecil.Rocks;
namespace Mono.Cecil.Tests {
[TestFixture]
public class SecurityDeclarationRocksTests : BaseTestFixture {
[Test]
public void ToPermissionSetFromPermissionSetAttribute ()
{
TestModule ("decsec-xml.dll", module => {
var ... | mit | C# |
683087d55c85a52e1928ab249a16f303f431f784 | remove unused code fron SniffingConnectionPool, already marked obsolete in 5.x | elastic/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net | src/Elasticsearch.Net/ConnectionPool/SniffingConnectionPool.cs | src/Elasticsearch.Net/ConnectionPool/SniffingConnectionPool.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Elasticsearch.Net
{
public class SniffingConnectionPool : StaticConnectionPool
{
private readonly ReaderWriterLockSlim _readerWriter = new ReaderWriterLockSlim();
/// <inheritdoc/>
public override bool Support... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Elasticsearch.Net
{
public class SniffingConnectionPool : StaticConnectionPool
{
private readonly ReaderWriterLockSlim _readerWriter = new ReaderWriterLockSlim();
/// <inheritdoc/>
public override bool Support... | apache-2.0 | C# |
9c0c6f7efc2941d332e00d76b2c5e0d7e0f55387 | fix sub-menus win32 trayicons | grokys/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspe... | src/Windows/Avalonia.Win32/Win32NativeToManagedMenuExporter.cs | src/Windows/Avalonia.Win32/Win32NativeToManagedMenuExporter.cs | using System.Collections.Generic;
using Avalonia.Controls;
using Avalonia.Controls.Platform;
#nullable enable
namespace Avalonia.Win32
{
internal class Win32NativeToManagedMenuExporter : INativeMenuExporter
{
private NativeMenu? _nativeMenu;
public void SetNativeMenu(NativeMenu nativeMenu)
... | using System.Collections.Generic;
using Avalonia.Controls;
using Avalonia.Controls.Platform;
#nullable enable
namespace Avalonia.Win32
{
internal class Win32NativeToManagedMenuExporter : INativeMenuExporter
{
private NativeMenu? _nativeMenu;
public void SetNativeMenu(NativeMenu nativeMenu)
... | mit | C# |
ab74ee13a1efd79b08e6a7d28db22b99b72166aa | Fix test error | adamped/exrin,exrin/Exrin,exrin/Exrin | Exrin/Exrin.Framework.Tests/Helper/NavigationService.cs | Exrin/Exrin.Framework.Tests/Helper/NavigationService.cs | using Exrin.Abstraction;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exrin.Framework.Tests.Helper
{
public class NavigationService : INavigationService
{
public Task GoBack()
{
throw new NotImpleme... | using Exrin.Abstraction;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exrin.Framework.Tests.Helper
{
public class NavigationService : INavigationService
{
public Task GoBack()
{
throw new NotImpleme... | mit | C# |
5108dadfbc0d7fb8aeb0139a993bd40bf05f7ff2 | use inline code in markdown text flow | smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containe... | // 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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containe... | mit | C# |
31da8048c5be06ef22fabd4f37d00b3922fd505c | Remove unnecessary parameter | appharbor/appharbor-cli | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
[Theory, AutoCommandData]
public void ShouldT... | using System;
using System.Collections.Generic;
using System.Linq;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
[Theory, AutoCommandData]
public void ShouldT... | mit | C# |
61397201744dbb1aa44dcc00b6fefb032bf0af87 | add otchestvo | kotikov1994/BlogAdd | TemplateTest1/TemplateTest1/Views/Shared/_Layout.cshtml | TemplateTest1/TemplateTest1/Views/Shared/_Layout.cshtml |
<!doctype html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="~/Content/css/reset.css">
<link rel="stylesheet" href="~/Content/css/style.css">
</head>
<body>
<div class="wrap">
<div class="left-column">
<div class="wrap-avatar">
<i... |
<!doctype html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="~/Content/css/reset.css">
<link rel="stylesheet" href="~/Content/css/style.css">
</head>
<body>
<div class="wrap">
<div class="left-column">
<div class="wrap-avatar">
<i... | mit | C# |
dab8bf25b1e2e500e15901970c1e950bd5a78bf8 | Fix for incorrect getter in MainPageViewModel | rrampersad/TestAppMobileCenter | TestAppMobilecenter/TestAppMobilecenter/ViewModels/MainPageViewModel.cs | TestAppMobilecenter/TestAppMobilecenter/ViewModels/MainPageViewModel.cs | using Microsoft.Azure.Mobile.Analytics;
using Microsoft.Azure.Mobile.Crashes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using TestAppMobilecenter.Commands;
namespace TestAppMobilecenter.ViewModels
{
public class ... | using Microsoft.Azure.Mobile.Analytics;
using Microsoft.Azure.Mobile.Crashes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using TestAppMobilecenter.Commands;
namespace TestAppMobilecenter.ViewModels
{
public class ... | apache-2.0 | C# |
3b2f918cdf06d7f3a7c6f9efb6c5583f924f38db | Call Storyboard.SetTargetName on Children. | escape-llc/yet-another-chart-component | YetAnotherChartComponent/YetAnotherChartComponent/Support/Storyboard.cs | YetAnotherChartComponent/YetAnotherChartComponent/Support/Storyboard.cs | using System;
using System.Reflection;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Animation;
namespace eScapeLLC.UWP.Charts {
/// <summary>
/// Extension methods for <see cref="Storyboard"/> and friends.
/// </summary>
public static class StoryboardExtensions {
/// <summary>
/// Clone the <see cref="T... | using System;
using System.Reflection;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Animation;
namespace eScapeLLC.UWP.Charts {
/// <summary>
/// Extension methods for <see cref="Storyboard"/> and friends.
/// </summary>
public static class StoryboardExtensions {
/// <summary>
/// Clone the <see cref="T... | apache-2.0 | C# |
b8a17d41104139fedc943eafbb4a11584eac2c53 | Format date | mbuhova/JobFinder-System,mbuhova/JobFinder-System | JobFinder-System/JobFinder.Web/Areas/Admin/Views/Offer/Index.cshtml | JobFinder-System/JobFinder.Web/Areas/Admin/Views/Offer/Index.cshtml | @using JobFinder.Web.Models
@{
ViewBag.Title = "Offers";
}
@(Html.Kendo().Grid<AdminOfferViewModel>().Name("offers").Columns(columns =>
{
columns.Bound(c => c.Id).Hidden();
columns.Bound(c => c.Title);
columns.Bound(c => c.Description);
columns.Bound(c => c.DateCreated).Format("{0:dd-MM-yyyy}");
... | @using JobFinder.Web.Models
@{
ViewBag.Title = "Offers";
}
@(Html.Kendo().Grid<AdminOfferViewModel>().Name("offers").Columns(columns =>
{
columns.Bound(c => c.Id).Hidden();
columns.Bound(c => c.Title);
columns.Bound(c => c.Description);
columns.Bound(c => c.DateCreated);
columns.Bound(c => c.Co... | mit | C# |
b67da455c43ed72e1928535e1494ef20875d5291 | debug stuff | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.UI/PacketInspector.cs | TCC.UI/PacketInspector.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TCC.Parsing;
using Tera;
using Tera.Game;
namespace TCC
{
public static class PacketInspector
{
public static void InspectPacket(Message msg)
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TCC.Parsing;
using Tera;
using Tera.Game;
namespace TCC
{
public static class PacketInspector
{
public static void InspectPacket(Message msg)
... | mit | C# |
5e16985ce872636a244fe39df9b676a9f099f262 | Fix parsing problem. | nseckinoral/xomni-sdk-dotnet | XOMNI.SDK/XOMNI.SDK.Public/Clients/Social/AuthorizationURLClient.cs | XOMNI.SDK/XOMNI.SDK.Public/Clients/Social/AuthorizationURLClient.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using XOMNI.SDK.Public.Clients;
using XOMNI.SDK.Public.Models;
namespace XOMNI.SDK.Public.Clients.Social
{
public class AuthorizationURLClient : BaseClient
{
public AuthorizationURLClient(HttpClient httpClient)
: base(httpClient)
{
}
pub... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using XOMNI.SDK.Public.Clients;
using XOMNI.SDK.Public.Models;
namespace XOMNI.SDK.Public.Clients.Social
{
public class AuthorizationURLClient : BaseClient
{
public AuthorizationURLClient(HttpClient httpClient)
: base(httpClient)
{
}
pub... | mit | C# |
4a4bf7a546906a99ed4aacae09c197c69679adb7 | Add new test for String.SubstringRightSafe | DaveSenn/Extend | PortableExtensions.Testing/System.String/String.SubstringRightSafe.Test.cs | PortableExtensions.Testing/System.String/String.SubstringRightSafe.Test.cs | #region Using
using System;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class StringExTest
{
[TestCase]
public void SubstringRightSafeTestCase()
{
var actual = "testabc".SubstringRightSafe( 3 );
Ass... | #region Using
using System;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class StringExTest
{
[TestCase]
public void SubstringRightSafeTestCase()
{
var actual = "testabc".SubstringRightSafe( 3 );
Ass... | mit | C# |
70925113277f5e4194d9294e00c19529454bac06 | Use the IFilteringMigrationSource as source | schambers/fluentmigrator,stsrki/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator,igitur/fluentmigrator,spaccabit/fluentmigrator,amroel/fluentmigrator,eloekset/fluentmigrator,amroel/fluentmigrator,eloekset/fluentmigrator,spaccabit/fluentmigrator,igitur/fluentmigrator,schambers/fluentmigrator,fluentmigr... | src/FluentMigrator.Runner.Core/Initialization/ProfileSource.cs | src/FluentMigrator.Runner.Core/Initialization/ProfileSource.cs | #region License
// Copyright (c) 2018, FluentMigrator Project
//
// 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 ap... | #region License
// Copyright (c) 2018, FluentMigrator Project
//
// 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 ap... | apache-2.0 | C# |
5df03a979ae3ffef50d2e88ab19cdf83421034cd | fix toc crash on new document | mike-ward/Markdown-Edit,punker76/Markdown-Edit | src/MarkdownEdit/Controls/DisplayDocumentStructureViewModel.cs | src/MarkdownEdit/Controls/DisplayDocumentStructureViewModel.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows;
using CommonMark.Syntax;
using MarkdownEdit.Models;
namespace MarkdownEdit.Controls
{
internal class DisplayDocumentStructureViewModel : INotifyPropertyChanged
{
... | using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Windows;
using CommonMark.Syntax;
using MarkdownEdit.Models;
namespace MarkdownEdit.Controls
{
internal class DisplayDocumentStructureViewModel : INotifyPropertyChanged
{
... | mit | C# |
46f6362b96537d51c871604a9850d3263d210983 | Move BankAccountOptions to the Stripe namespace | richardlawley/stripe.net,stripe/stripe-dotnet | src/Stripe.net/Services/_sources_token/BankAccountOptions.cs | src/Stripe.net/Services/_sources_token/BankAccountOptions.cs | using Newtonsoft.Json;
namespace Stripe
{
public class BankAccountOptions : INestedOptions
{
[JsonProperty("bank_account")]
public string TokenId { get; set; }
[JsonProperty("bank_account[account_holder_name]")]
public string AccountHolderName { get; set; }
[JsonPrope... | using Newtonsoft.Json;
using Stripe;
public class BankAccountOptions : INestedOptions
{
[JsonProperty("bank_account")]
public string TokenId { get; set; }
[JsonProperty("bank_account[account_holder_name]")]
public string AccountHolderName { get; set; }
[JsonProperty("bank_account[account_holder_... | apache-2.0 | C# |
eb95322b8596a92b5bb77d1330da4b881efb73ad | Change - Consolidated sub-expressions unit-tests. | jdevillard/JmesPath.Net | tests/jmespath.net.tests/Expressions/JmesPathSubExpressionTest.cs | tests/jmespath.net.tests/Expressions/JmesPathSubExpressionTest.cs | using Newtonsoft.Json.Linq;
using Xunit;
using DevLab.JmesPath.Expressions;
using DevLab.JmesPath.Utils;
namespace jmespath.net.tests.Expressions
{
public class JmesPathSubExpressionTest
{
/*
* http://jmespath.org/specification.html#subexpressions
*
* search(foo.... | using Newtonsoft.Json.Linq;
using Xunit;
using DevLab.JmesPath.Expressions;
using DevLab.JmesPath.Utils;
namespace jmespath.net.tests.Expressions
{
public class JmesPathSubExpressionTest
{
[Fact]
public void JmesPathSubExpression_identifier()
{
const string json ... | apache-2.0 | C# |
5f38444ac569163b4a193d44503a31610337c158 | Update the SqliteAnchorStateBuilder unit tests | openchain/openchain | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.cs | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.cs | // Copyright 2015 Coinprism, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright 2015 Coinprism, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 | C# |
cb7ab70f8fbed617b1ec79dce1caefa6d3a10102 | Add Id property in TraktCheckinPostResponse | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Post/Checkins/Responses/TraktCheckinPostResponse.cs | Source/Lib/TraktApiSharp/Objects/Post/Checkins/Responses/TraktCheckinPostResponse.cs | namespace TraktApiSharp.Objects.Post.Checkins.Responses
{
using Attributes;
using Basic;
using Newtonsoft.Json;
using System;
public abstract class TraktCheckinPostResponse
{
/// <summary>Gets or sets the history id for the checkin response.</summary>
[JsonProperty(PropertyName... | namespace TraktApiSharp.Objects.Post.Checkins.Responses
{
using Attributes;
using Basic;
using Newtonsoft.Json;
using System;
public abstract class TraktCheckinPostResponse
{
/// <summary>Gets or sets the UTC datetime, when the checked in movie or episode was watched.</summary>
... | mit | C# |
6633b47035c419ae798100283f18fcac5e7b6a9e | order checkout missing map to product resolved | mpenchev86/JustOrderIt,mpenchev86/JustOrderIt,mpenchev86/ASP.NET-MVC-FinalProject,mpenchev86/JustOrderIt,mpenchev86/ASP.NET-MVC-FinalProject,mpenchev86/ASP.NET-MVC-FinalProject | Source/Web/MvcProject.Web/Areas/Public/ViewModels/Products/ProductForShoppingCart.cs | Source/Web/MvcProject.Web/Areas/Public/ViewModels/Products/ProductForShoppingCart.cs | namespace MvcProject.Web.Areas.Public.ViewModels.Products
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using Data.Models;
using Data.Models.Catalog;
using Infrastructure.Mapping;
using Services.Web;
public ... | namespace MvcProject.Web.Areas.Public.ViewModels.Products
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using Data.Models;
using Data.Models.Catalog;
using Infrastructure.Mapping;
using Services.Web;
public ... | mit | C# |
3deb34a0bd257ce54c20c9e2fb982f9f02e45b54 | remove nullable mark | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Login/PasswordFinder/PasswordFinderResultViewModel.cs | WalletWasabi.Fluent/ViewModels/Login/PasswordFinder/PasswordFinderResultViewModel.cs | using WalletWasabi.Fluent.ViewModels.Navigation;
namespace WalletWasabi.Fluent.ViewModels.Login.PasswordFinder
{
public partial class PasswordFinderResultViewModel : RoutableViewModel
{
[AutoNotify] private string _password;
[AutoNotify] private bool _success;
public PasswordFinderResultViewModel(string pass... | using WalletWasabi.Fluent.ViewModels.Navigation;
namespace WalletWasabi.Fluent.ViewModels.Login.PasswordFinder
{
public partial class PasswordFinderResultViewModel : RoutableViewModel
{
[AutoNotify] private string? _password;
[AutoNotify] private bool _success;
public PasswordFinderResultViewModel(string pas... | mit | C# |
4eed544671f5f26f7e6ddc65ec473e090cefcd78 | Duplicate test case. | jordangray/WebApiContrib.Formatting.Xlsx,WebApiContrib/WebApiContrib.Formatting.Xlsx,WebApiContrib/WebApiContrib.Formatting.Xlsx,balajichekka/WebApiContrib.Formatting.Xlsx | ExcelWebApi/ExcelWebApi.Tests/ExcelMediaTypeFormatterTests.cs | ExcelWebApi/ExcelWebApi.Tests/ExcelMediaTypeFormatterTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExcelWebApi.Tests
{
[TestClass]
public class ExcelMediaTypeFormatterTests
{
[TestMethod]
public void SupportedMediaTypes_SupportsExcelMediaTypes()
{
}
[TestMethod]
public void CanW... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExcelWebApi.Tests
{
[TestClass]
public class ExcelMediaTypeFormatterTests
{
[TestMethod]
public void SupportedMediaTypes_SupportsExcelMediaTypes()
{
}
[TestMethod]
public void CanW... | mit | C# |
949bb63a128e4e9897d80f79f67457cd5a6c5603 | Update AddingLabelControl.cs | asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-sha... | Examples/CSharp/DrawingObjects/Controls/AddingLabelControl.cs | Examples/CSharp/DrawingObjects/Controls/AddingLabelControl.cs | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Drawing;
using System.Drawing;
namespace Aspose.Cells.Examples.DrawingObjects.Controls
{
public class AddingLabelControl__
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directo... | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Drawing;
using System.Drawing;
namespace Aspose.Cells.Examples.DrawingObjects.Controls
{
public class AddingLabelControl__
{
public static void Main(string[] args)
{
// The path to the documents directory.
string d... | mit | C# |
379ce01db49f74b9f16eebf9206bbd983ee5f9d4 | Add GetClientIP method to the base APi controller. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Web/Controllers/API/BaseApiController.cs | Infopulse.EDemocracy.Web/Controllers/API/BaseApiController.cs | using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Data.Repositories;
using System.Linq;
using System.Net.Http;
using System.Security.Claims;
using System.ServiceModel.Channels;
using System.Web;
using System.Web.Http;
namespace Infopulse.EDemocracy.Web.Controllers.API
{
/// <summary>
/// ... | using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Data.Repositories;
using System.Linq;
using System.Security.Claims;
using System.Web.Http;
namespace Infopulse.EDemocracy.Web.Controllers.API
{
/// <summary>
/// The base class for api controllers
/// </summary>
public class BaseAp... | cc0-1.0 | C# |
00ef65ba2dcaadd329a5a5b8da3169e95dafb16b | create directory | ArsenShnurkov/BitSharp | BitSharp.BlockHelper/Generator.cs | BitSharp.BlockHelper/Generator.cs | using BitSharp.BlockHelper;
using BitSharp.Common.ExtensionMethods;
using BitSharp.Core;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.BlockHelper
{
public class BlockHe... | using BitSharp.BlockHelper;
using BitSharp.Common.ExtensionMethods;
using BitSharp.Core;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.BlockHelper
{
public class BlockHe... | unlicense | C# |
ae461337732e2ef595ce3737c1f18f5e44c3a242 | 优化ReadBytes方法,以提升性能。 | RabbitTeam/WeiXinSDK | Rabbit.WeiXin/SDK/Rabbit.WeiXin/Utility/Extensions/StreamExtensions.cs | Rabbit.WeiXin/SDK/Rabbit.WeiXin/Utility/Extensions/StreamExtensions.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace Rabbit.WeiXin.Utility.Extensions
{
/// <summary>
/// 流扩展方法。
/// </summary>
internal static class StreamExtensions
{
/// <summary>
/// 将流读取成字节组。
/// </summary>
/// <param name="stream">流。</par... | using System;
using System.Collections.Generic;
using System.IO;
namespace Rabbit.WeiXin.Utility.Extensions
{
/// <summary>
/// 流扩展方法。
/// </summary>
internal static class StreamExtensions
{
/// <summary>
/// 将流读取成字节组。
/// </summary>
/// <param name="stream">流。</par... | apache-2.0 | C# |
131bc625bb73d39f5c8ce177614887f800214fe5 | replace deprecated sgid10 with open sgid | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.API/Commands/Address/GetAddressGridsWithAddressPointsCommand.cs | WebAPI.API/Commands/Address/GetAddressGridsWithAddressPointsCommand.cs | using System.Collections.Generic;
using System.Configuration;
using Dapper;
using Npgsql;
using WebAPI.Common.Abstractions;
namespace WebAPI.API.Commands.Address
{
public class GetAddressGridsWithAddressPointsCommand : Command<IEnumerable<string>>
{
public static readonly string ConnectionString = Con... | using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using Dapper;
using WebAPI.Common.Abstractions;
namespace WebAPI.API.Commands.Address
{
public class GetAddressGridsWithAddressPointsCommand : Command<IEnumerable<string>>
{
public GetAddressGridsWithAddressPoin... | mit | C# |
47174449b51d5d17c6754a4315880324a0a7709e | add Settings menu item | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d | Assets/HappyFunTimes/HappyFunTimesCore/Editor/HFTMenuItems.cs | Assets/HappyFunTimes/HappyFunTimesCore/Editor/HFTMenuItems.cs | /*
* Copyright 2014, Gregg Tavares.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | /*
* Copyright 2014, Gregg Tavares.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | bsd-3-clause | C# |
d639557d8c918d8c4a9da9ba9537133dc55bbf53 | Add default security header configuration to app | andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples | adding-default-security-headers/src/AddingDefaultSecurityHeaders/Startup.cs | adding-default-security-headers/src/AddingDefaultSecurityHeaders/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AddingDefaultSecurityHeaders.Middleware;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Exten... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace AddingDefaultSecurity... | mit | C# |
3a682876e5a62769f66ed601f573725211a0438c | clear highlighted objects in a non-event-driven way | davidyu/ld29,davidyu/ld29 | warmup/Assets/MapUIController.cs | warmup/Assets/MapUIController.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
public class MapUIController : MonoBehaviour {
private MapManager manager;
public List<GameObject> highlightedCells = new List<GameObject>();
// Use this for initialization
void Start () {
manager = GetComponent<MapMa... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
public class MapUIController : MonoBehaviour {
private MapManager manager;
public List<GameObject> highlightedCells = new List<GameObject>();
// Use this for initialization
void Start () {
manager = GetComponent<MapMa... | mit | C# |
1d54f0003c093318439a8924535f14b368931a3c | Move JQuery to the top of the layout so scripts inside a page work | CS297Sp16/LCC_Co-op_Site,CS297Sp16/LCC_Co-op_Site,CS297Sp16/LCC_Co-op_Site | Coop_Listing_Site/Coop_Listing_Site/Views/Shared/_Layout.cshtml | Coop_Listing_Site/Coop_Listing_Site/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
@Scripts.Render("~/bundles/jquery")
</head>... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-in... | mit | C# |
b7332a1b9ffe28bdf35219da4df8446b52171bb1 | Remove empty line | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml.cs | WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateVisible... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateVisible... | mit | C# |
7ce816a9936ba939fc916e4bff815f7471914b23 | Clean up white spacing of in ProtobufMessageSerializer.cs | jonnii/chinchilla | src/Chinchilla.Serializers.Protobuf/ProtobufMessageSerializer.cs | src/Chinchilla.Serializers.Protobuf/ProtobufMessageSerializer.cs | using Google.Protobuf;
using System;
using System.Collections.Generic;
namespace Chinchilla.Serializers.Protobuf
{
public class ProtobufMessageSerializer : IMessageSerializer
{
private class SerializerFunc
{
public SerializerFunc(Func<byte[], object> fromProto, Func<object, byte[]>... | using System;
using System.Collections.Generic;
using Google.Protobuf;
namespace Chinchilla.Serializers.Protobuf
{
public class ProtobufMessageSerializer : IMessageSerializer
{
private class SerializerFunc
{
public SerializerFunc(Func<byte[], object> fromProto, Func<object, by... | apache-2.0 | C# |
eee77a8f10dae2cd2221477b6999203844d10772 | Improve XML docs for ActionResultStatusCodeAttribute (#22598) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Mvc/Mvc.Core/src/Infrastructure/ActionResultStatusCodeAttribute.cs | src/Mvc/Mvc.Core/src/Infrastructure/ActionResultStatusCodeAttribute.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Mvc.Infrastructure
{
/// <summary>
/// Attribute annotated on ActionResult constructor and helper... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Mvc.Infrastructure
{
/// <summary>
/// Attribute annoted on ActionResult constructor and helper m... | apache-2.0 | C# |
b4966bd5bd63b8e8b21a3f691eaf32560aecfd61 | Update SinkOptions.cs | serilog/serilog-sinks-mssqlserver | src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/Options/SinkOptions.cs | src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/Options/SinkOptions.cs | using System;
namespace Serilog.Sinks.MSSqlServer.Sinks.MSSqlServer.Options
{
/// <summary>
/// Stores configuration options for the sink
/// </summary>
public class SinkOptions
{
/// <summary>
/// Intiailizes a new SinkOptions instance with default values
/// </summary>
... | using System;
namespace Serilog.Sinks.MSSqlServer.Sinks.MSSqlServer.Options
{
/// <summary>
/// Stores configuration options for the sink
/// </summary>
public class SinkOptions
{
/// <summary>
/// Intiailizes a new SinkOptions instance with default values
/// </summary>
... | apache-2.0 | C# |
76260e5d58f2bea558810ee261c208dab9cb1b51 | Add triple variant of Zip as IEnumerable<> extension | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/Extensions.cs | WalletWasabi/Crypto/Extensions.cs | using System.Collections.Generic;
using WalletWasabi.Helpers;
using WalletWasabi.Crypto.Groups;
namespace System.Linq
{
public static class Extensions
{
public static GroupElement Sum(this IEnumerable<GroupElement> groupElements) =>
groupElements.Aggregate(GroupElement.Infinity, (ge, acc) => ge + acc);
publi... | using System.Collections.Generic;
using WalletWasabi.Crypto.Groups;
namespace System.Linq
{
public static class Extensions
{
public static GroupElement Sum(this IEnumerable<GroupElement> groupElements) =>
groupElements.Aggregate(GroupElement.Infinity, (ge, acc) => ge + acc);
}
}
| mit | C# |
404df82113a47312081144c0114566a30019cb25 | Fix peon build | paulomenezes/warcraft | Warcraft/Commands/BuilderUnits.cs | Warcraft/Commands/BuilderUnits.cs | using Warcraft.Managers;
using Warcraft.Units;
using Warcraft.Util;
namespace Warcraft.Commands
{
class BuilderUnits : ICommand
{
public bool go;
public bool completed;
public bool remove;
public int elapsed;
public InformationUnit informationUnit;
public Uti... | using Warcraft.Managers;
using Warcraft.Units;
using Warcraft.Util;
namespace Warcraft.Commands
{
class BuilderUnits : ICommand
{
public bool go;
public bool completed;
public bool remove;
public int elapsed;
public InformationUnit informationUnit;
public Uti... | mit | C# |
577c057ce4f5a37ad161bd3cfa8de5c55e64e3fb | Fix Slowest() and Fastest() extension methods | Catel/Catel.Benchmarks | src/Catel.BenchmarkCombiner/Models/Extensions/MeasurementGroupExtensions.cs | src/Catel.BenchmarkCombiner/Models/Extensions/MeasurementGroupExtensions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MeasurementGroupExtensions.cs" company="Catel development team">
// Copyright (c) 2008 - 2016 Catel development team. All rights reserved.
// </copyright>
// -------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MeasurementGroupExtensions.cs" company="Catel development team">
// Copyright (c) 2008 - 2016 Catel development team. All rights reserved.
// </copyright>
// -------------------... | mit | C# |
96932fbab5cab645f32be7d9b31fea6d58e4ff57 | Revert of a change which shouldn't be committed. | dapplo/Dapplo.HttpExtensions | src/Dapplo.HttpExtensions/ContentConverter/ByteArrayHttpContentConverter.cs | src/Dapplo.HttpExtensions/ContentConverter/ByteArrayHttpContentConverter.cs | // Copyright (c) Dapplo and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Dapplo.HttpExtensions.ContentConverter;
/// <summary>
/// This can convert HttpContent from/to a byte[]
/// </summary>
public class ByteAr... | // Copyright (c) Dapplo and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Dapplo.HttpExtensions.ContentConverter;
/// <summary>
/// This can convert HttpContent from/to a byte[]
/// </summary>
public class ByteAr... | mit | C# |
8160f16351530b5439722054c0ebca99d0d208cc | Fix codacy complaints | FubarDevelopment/FtpServer | src/FubarDev.FtpServer.Abstractions/FileSystem/Error/FileSystemException.cs | src/FubarDev.FtpServer.Abstractions/FileSystem/Error/FileSystemException.cs | // <copyright file="FileSystemException.cs" company="40three GmbH">
// Copyright (c) 40three GmbH. All rights reserved.
// </copyright>
namespace FubarDev.FtpServer.FileSystem.Error
{
/// <summary>
/// Represents an error condition the underlying file system wants to communicate to the client.
/// </summar... | // <copyright file="FileSystemException.cs" company="40three GmbH">
// Copyright (c) 40three GmbH. All rights reserved.
// </copyright>
namespace FubarDev.FtpServer.FileSystem.Error
{
/// <summary>
/// Represents an error condition the underlying file system wants to communicate to the client.
/// </summar... | mit | C# |
eeba48277fd4491aaa42f4ffda2a84ca130d9c92 | Add summary to SensitiveAttribute,NonSensitiveAttribute | gigya/microdot | Gigya.ServiceContract/Attributes/EventAttrubute.cs | Gigya.ServiceContract/Attributes/EventAttrubute.cs | using System;
namespace Gigya.ServiceContract.Attributes
{
/// <summary>Mark the parameter as containing sensitive data.
/// When sensitive data is automaticity logged (e.g. event publisher) it will be encrypted.
/// </summary>
[AttributeUsage(AttributeTargets.Parameter| AttributeTargets.Method)]
... | using System;
namespace Gigya.ServiceContract.Attributes
{
[AttributeUsage(AttributeTargets.Parameter| AttributeTargets.Method)]
public class SensitiveAttribute : Attribute
{
public bool Secretive { get; set; }
}
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
... | apache-2.0 | C# |
001f5a59f521433bd20fc0bde9bfaac5b7e077cc | Fix model position translation for header views. | ZhangLeiCharles/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,masterrr/mobile,masterrr/mobile,eatskolnikov/mobile,peeedge/mobile,peeedge/mobile | Joey/UI/Fragments/RecentTimeEntriesListFragment.cs | Joey/UI/Fragments/RecentTimeEntriesListFragment.cs | using System;
using System.Linq;
using Android.OS;
using Android.Util;
using Android.Views;
using Android.Widget;
using Toggl.Joey.UI.Adapters;
using ListFragment = Android.Support.V4.App.ListFragment;
namespace Toggl.Joey.UI.Fragments
{
public class RecentTimeEntriesListFragment : ListFragment
{
publ... | using System;
using System.Linq;
using Android.OS;
using Android.Util;
using Android.Views;
using Android.Widget;
using Toggl.Joey.UI.Adapters;
using ListFragment = Android.Support.V4.App.ListFragment;
namespace Toggl.Joey.UI.Fragments
{
public class RecentTimeEntriesListFragment : ListFragment
{
publ... | bsd-3-clause | C# |
9bea5791efcfaec68758609fe45abd9c46fbd942 | Change putMessage function to prevent double serialization. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | AzureStorage/Queue/AzureQueue.cs | AzureStorage/Queue/AzureQueue.cs | using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
namespace AzureStorage.Queue
{
public class AzureQueue<T> : IAzureQueue<T> where T : class
{
private readonly CloudQueue _queue;
public AzureQueue(string conectionString, string qu... | using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
namespace AzureStorage.Queue
{
public class AzureQueue<T> : IAzureQueue<T> where T : class
{
private readonly CloudQueue _queue;
public AzureQueue(string conectionString, string qu... | mit | C# |
1f5979246286111bedb0367e8ef7c5e755922f82 | Update Harass | ClickBuddy/ClickElo | ClickLux/ClickLux/Mode/Harass.cs | ClickLux/ClickLux/Mode/Harass.cs | using EloBuddy;
using EloBuddy.SDK;
using Settings = ClickLux.Config.Modes.Harass;
namespace ClickLux.Modes
{
public sealed class Harass : ModeBase
{
public override bool ShouldBeExecuted()
{
return (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Harass) || Settings.AutoH... | using EloBuddy;
using EloBuddy.SDK;
// Using the config like this makes your life easier, trust me
using Settings = ClickLux.Config.Modes.Harass;
namespace ClickLux.Modes
{
public sealed class Harass : ModeBase
{
public override bool ShouldBeExecuted()
{
return (Orbwalker.ActiveMod... | apache-2.0 | C# |
3edd67dfd9f58af489850b98da1c1f02b934a71e | Add motivational commenting | yanyiyun/LockstepFramework,SnpM/Lockstep-Framework,erebuswolf/LockstepFramework | Core/Simulation/Math/Vector3d.cs | Core/Simulation/Math/Vector3d.cs | using UnityEngine;
using System.Collections;
namespace Lockstep
{
//THIS IS HAPPENING!!!!
public struct Vector3d
{
[FixedNumber]
public long x;
[FixedNumber]
public long y;
[FixedNumber]
public long z; //Height
public void Normalize () {
... | using UnityEngine;
using System.Collections;
namespace Lockstep
{
//TODO: Go on with this venture?
public struct Vector3d
{
[FixedNumber]
public long x;
[FixedNumber]
public long y;
[FixedNumber]
public long z; //Height
public void Normalize () {
... | mit | C# |
15e48b0fffbe4f42d7bb64dc0246ed3a7ad9e28b | Disable Tracing test whihc use private reflection. | BrennanConroy/corefx,seanshpark/corefx,jlin177/corefx,richlander/corefx,gkhanna79/corefx,zhenlan/corefx,parjong/corefx,MaggieTsang/corefx,MaggieTsang/corefx,ericstj/corefx,axelheer/corefx,krk/corefx,MaggieTsang/corefx,ViktorHofer/corefx,nbarbettini/corefx,Jiayili1/corefx,ViktorHofer/corefx,JosephTremoulet/corefx,tijoyt... | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsEventSourceLifetime.cs | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsEventSourceLifetime.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | mit | C# |
d883641d68da5f24510c01c4cafed617c8774e50 | Implement new suspend/resume functionality for DeadSessionController | tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server | src/Tgstation.Server.Host/Components/Watchdog/DeadSessionController.cs | src/Tgstation.Server.Host/Components/Watchdog/DeadSessionController.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Components.Deployment;
namespace Tgstation.Server.Host.Components.Watchdog
{
/// <summary>
/// Implements a fake "dead" <see cref="ISessionController"/>
/// </summary>
sealed class DeadSessionController : ISessionContr... | using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Components.Deployment;
namespace Tgstation.Server.Host.Components.Watchdog
{
/// <summary>
/// Implements a fake "dead" <see cref="ISessionController"/>
/// </summary>
sealed class DeadSessionController : ISessionContr... | agpl-3.0 | C# |
4acc459b009539cb33cb64e80b5fbcdee156b6f7 | Save waypoints in array, provide get method | emazzotta/unity-tower-defense | Assets/Scripts/GameController.cs | Assets/Scripts/GameController.cs | using UnityEngine;
using System.Collections;
public class GameController : MonoBehaviour {
public GameObject towerBaseWrap;
public GameObject originalTowerBase;
public GameObject gameField;
private GameObject[,] towerBases;
private GameObject[] waypoints;
private int gameFieldWidth = 0;
private int gameFiel... | using UnityEngine;
using System.Collections;
public class GameController : MonoBehaviour {
public GameObject towerBaseWrap;
public GameObject originalTowerBase;
public GameObject gameField;
private GameObject[,] towerBases;
private int gameFieldWidth = 0;
private int gameFieldHeight = 0;
private Color wayColo... | mit | C# |
d8974990dd336f59e4f670de4254eb2319ea4089 | Remove old variables | Thealexbarney/LibDspAdpcm,Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio,Thealexbarney/VGAudio | src/DspAdpcm.Benchmark/AdpcmBenchmarks/BuildParseBenchmarks.cs | src/DspAdpcm.Benchmark/AdpcmBenchmarks/BuildParseBenchmarks.cs | using BenchmarkDotNet.Attributes;
using DspAdpcm.Adpcm;
using DspAdpcm.Adpcm.Formats;
namespace DspAdpcm.Benchmark.BuildParse
{
public class BuildParseBenchmarks
{
[Params(300)]
public double lengthSeconds;
[Params(2)]
public int numChannels;
private int sampleRate = 48... | using BenchmarkDotNet.Attributes;
using DspAdpcm.Adpcm;
using DspAdpcm.Adpcm.Formats;
namespace DspAdpcm.Benchmark.BuildParse
{
public class BuildParseBenchmarks
{
[Params(300)]
public double lengthSeconds;
[Params(2)]
public int numChannels;
private int sampleRate = 48... | mit | C# |
2b5c7ce841acdbe8835806d6350f9149bad68466 | Remove unnecessary/bad index call that causes test to hang on 1.1.2 | wawrzyn/elasticsearch-net,adam-mccoy/elasticsearch-net,jonyadamit/elasticsearch-net,Grastveit/NEST,cstlaurent/elasticsearch-net,UdiBen/elasticsearch-net,starckgates/elasticsearch-net,RossLieberman/NEST,TheFireCookie/elasticsearch-net,gayancc/elasticsearch-net,ststeiger/elasticsearch-net,wawrzyn/elasticsearch-net,amyzhe... | src/Tests/Nest.Tests.Integration/Index/IndexUsingUrlIdTests.cs | src/Tests/Nest.Tests.Integration/Index/IndexUsingUrlIdTests.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Index
{
[TestFixture]
public class IndexUsingUrlIdTests : IntegrationTests
{
[Test]
publi... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Index
{
[TestFixture]
public class IndexUsingUrlIdTests : IntegrationTests
{
[Test]
publi... | apache-2.0 | C# |
1bbf6053d736694c6d164dd9ff5c58401a93fae4 | Update EventBoxProfilerEditor.cs | onechenxing/EventBox | Editor/EventBoxProfilerEditor.cs | Editor/EventBoxProfilerEditor.cs | //----------------------------------------------
// C# 简化全局事件监控
// @author: ChenXing
// @email: onechenxing@163.com
// @date: 2015/09/02
//----------------------------------------------
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace CxLib.Editor
{
/// <summary>
/// EventBox监控窗口
... | //----------------------------------------------
// C# 简化全局事件监控
// @author: ChenXing
// @email: onechenxing@163.com
// @date: 2015/09/02
//----------------------------------------------
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace CxLib.EventBox
{
/// <summary>
/// EventBox监控窗口
... | mit | C# |
dd546233f65505a188e46ffee1c6ad5b608daf2f | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
7591c73dae4b1f6a161e88696d39437767fff0c1 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
57d05ac5dca32e167caed9e56680ba744fe567ca | fix opacity not interpolated in animated brush | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia | src/Avalonia.Visuals/Animation/Animators/SolidColorBrushAnimator.cs | src/Avalonia.Visuals/Animation/Animators/SolidColorBrushAnimator.cs | using System;
using Avalonia.Data;
using Avalonia.Media;
using Avalonia.Media.Immutable;
#nullable enable
namespace Avalonia.Animation.Animators
{
/// <summary>
/// Animator that handles <see cref="SolidColorBrush"/> values.
/// </summary>
public class ISolidColorBrushAnimator : Animator<ISolidColor... | using System;
using Avalonia.Data;
using Avalonia.Media;
using Avalonia.Media.Immutable;
#nullable enable
namespace Avalonia.Animation.Animators
{
/// <summary>
/// Animator that handles <see cref="SolidColorBrush"/> values.
/// </summary>
public class ISolidColorBrushAnimator : Animator<ISolidColor... | mit | C# |
17d49f03e09df0554600af3a77e48b7946a2da6c | test cases | tiksn/TIKSN-Framework | TIKSN.Finance.Tests/PricingStrategy/PsychologicalPricingStrategyTests.cs | TIKSN.Finance.Tests/PricingStrategy/PsychologicalPricingStrategyTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using TIKSN.Finance.PricingStrategy;
using System.Collections.Generic;
using System;
using System.Linq;
namespace TIKSN.Finance.Tests.PricingStrategy
{
[TestClass]
public class PsychologicalPricingStrategyTests
{
[TestMethod]
public void BalkTests()
{
va... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using TIKSN.Finance.PricingStrategy;
using System.Collections.Generic;
namespace TIKSN.Finance.Tests.PricingStrategy
{
[TestClass]
public class PsychologicalPricingStrategyTests
{
[TestMethod]
public void BalkTests()
{
var prices = new Dictionary<decimal... | mit | C# |
a7f7087024eaf0a595c5adf610817f9a3f10fef2 | package title change to enable upload to NuGet | sklementiev/mixins | Mixins/Properties/AssemblyInfo.cs | Mixins/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assembly... | mit | C# |
a05f99345634035ad1985eae32bc8ef80971d767 | fix invalid argument order in test | rit-sse-mycroft/core | Mycroft.Tests/Cmd/TestCommand.cs | Mycroft.Tests/Cmd/TestCommand.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Mycroft.Cmd;
using System.IO;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Mycroft.Tests.Cmd
{
[TestClass]
public class TestCommand
{
[TestMethod]
public void TestParse()
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Mycroft.Cmd;
using System.IO;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Mycroft.Tests.Cmd
{
[TestClass]
public class TestCommand
{
[TestMethod]
public void TestParse()
{
... | bsd-3-clause | C# |
8b44bf90e8ef69ff17c8959cf68d784f77426b9b | Fix CodeFactor | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | mit | C# |
7080fd3cb5a9f1a600cccded679a17ea2cbf9cc6 | Use PascalCase | nozzlegear/davenport.net | Davenport/Entities/FindOptions.cs | Davenport/Entities/FindOptions.cs | using System.Collections.Generic;
using Davenport.Infrastructure;
using Newtonsoft.Json;
namespace Davenport.Entities
{
public class FindOptions : Serializable
{
[JsonProperty("fields")]
public string Fields { get; set; }
[JsonProperty("sort")]
public IEnumerable<object... | using System.Collections.Generic;
using Davenport.Infrastructure;
using Newtonsoft.Json;
namespace Davenport.Entities
{
public class FindOptions : Serializable
{
[JsonProperty("fields")]
public string fields { get; set; }
[JsonProperty("sort")]
public IEnumerable<object... | mit | C# |
dc1a06612a4c7272ae5ae8ea9addb63c23d36a41 | refactor AutofacConfig | Borayvor/Templates,Borayvor/Templates,Borayvor/Templates,Borayvor/Templates | MyMvcProjectTemplate/Web/MyMvcProjectTemplate.Web/App_Start/AutofacConfig.cs | MyMvcProjectTemplate/Web/MyMvcProjectTemplate.Web/App_Start/AutofacConfig.cs | namespace MyMvcProjectTemplate.Web.App_Start
{
using System.Data.Entity;
using System.Reflection;
using System.Web.Mvc;
using Autofac;
using Autofac.Integration.Mvc;
using Controllers;
using Data;
using Data.Common.Repositories;
using Services.ApplicationUser;
using Services.Pho... | namespace MyMvcProjectTemplate.Web.App_Start
{
using System.Data.Entity;
using System.Reflection;
using System.Web.Mvc;
using Autofac;
using Autofac.Integration.Mvc;
using Controllers;
using Data;
using Data.Common.Repositories;
using Services.ApplicationUser;
using Services.Pho... | mit | C# |
0b0374f63e80d0a8f54c5df837e99f1584db15f8 | Enable extension scenarios in SynthesisConfigRegistrar | kamsar/Synthesis | Source/Synthesis/Pipelines/Initialize/SynthesisConfigRegistrar.cs | Source/Synthesis/Pipelines/Initialize/SynthesisConfigRegistrar.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using Sitecore.Diagnostics;
using Sitecore.Pipelines;
using Synthesis.Configuration;
using Synthesis.Configuration.Registration;
using Synthesis.Utility;
namespa... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using Sitecore.Diagnostics;
using Sitecore.Pipelines;
using Synthesis.Configuration;
using Synthesis.Configuration.Registration;
using Synthesis.Utility;
namespa... | mit | C# |
b31d5b5b6a56ed418e0b9d3d18986327d9ec355d | Update IAzureTableStorageQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/AzureStorage/IAzureTableStorageQueryRepository.cs | TIKSN.Core/Data/AzureStorage/IAzureTableStorageQueryRepository.cs | using Microsoft.Azure.Cosmos.Table;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.AzureStorage
{
public interface IAzureTableStorageQueryRepository<T> where T : ITableEntity
{
Task<T> RetrieveAsync(string partitionKey, string rowKey, Cance... | using Microsoft.WindowsAzure.Storage.Table;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.AzureStorage
{
public interface IAzureTableStorageQueryRepository<T> where T : ITableEntity
{
Task<T> RetrieveAsync(string partitionKey, string rowKe... | mit | C# |
e0fb31ccc46ac71dc430f683efc84408e536bd6e | Add Do<T> method (evil). | Grabacr07/MetroTrilithon | source/MetroTrilithon/Linq/EnumerableEx.cs | source/MetroTrilithon/Linq/EnumerableEx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MetroTrilithon.Linq
{
public static class EnumerableEx
{
public static IEnumerable<T> Return<T>(T value)
{
yield return value;
}
public static IEnumerable<T> Do<T>(this IEnumerable<T>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MetroTrilithon.Linq
{
public static class EnumerableEx
{
public static IEnumerable<T> Return<T>(T value)
{
yield return value;
}
public static string JoinString<T>(this IEnumerable<T> source, strin... | mit | C# |
9e75b1469164d6cba9bdd2b77b6c65b3bc70389d | Add skeleton code to PhysicalParser.cs | ngEPL/Mocca | Mocca/Physical/PhysicalParser.cs | Mocca/Physical/PhysicalParser.cs | using System;
using System.Collections.Generic;
using Mocca.Compiler;
using Mocca.DataType;
using Mocca.Blocks;
namespace Mocca.Physical {
public enum PhysicalDevice {
Microbit,
Arduino,
RaspberryPi,
Unknown
}
public class PhysicalParser {
public Block block;
public PhysicalDevice device;
public Ph... | using System;
using System.Collections.Generic;
using Mocca.Compiler;
using Mocca.DataType;
namespace Mocca.Physical {
public enum PhysicalDevice {
Microbit,
Arduino,
RaspberryPi,
Unknown
}
public class PhysicalParser {
public MoccaCommand cmd;
public PhysicalDevice device;
public PhysicalParser(Mo... | mit | C# |
6b3174ecc1d832ac91875d6f1b53eddd29ec3b11 | Bump version 2.7 | rabbit-link/rabbit-link,rabbit-link/rabbit-link | src/RabbitLink/Properties/AssemblyInfo.cs | src/RabbitLink/Properties/AssemblyInfo.cs | #region Usings
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("R... | #region Usings
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("R... | mit | C# |
0dd44a75250b1fab51533cf89a668f1868b4ccdd | Update for lint fix | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | bigquery/api/GettingStarted/QuickStart/Properties/AssemblyInfo.cs | bigquery/api/GettingStarted/QuickStart/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
55c03dc04d0505f462c41876a50797acc3698f0b | Fix silly mistake in ordering and update test colour scheme | NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Tests/Visual/Online/TestSceneProfileRulesetSelector.cs | osu.Game.Tests/Visual/Online/TestSceneProfileRulesetSelector.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Overlays.Profile.Header.Components;
using osu.Game.Rulesets.Catch;
using osu.Game.Rulesets.Mania;
using osu.Game.Rulesets.Os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Overlays.Profile.Header.Components;
using osu.Game.Rulesets.Catch;
using osu.Game.Rulesets.Mania;
using osu.Game.Rulesets.Os... | mit | C# |
afc531c0d76376c021491708825e7333938e218e | fix camera rotation (oblique angle) issue (#85) | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter | AlembicImporter/Assets/UTJ/Alembic/Scripts/Importer/AlembicCamera.cs | AlembicImporter/Assets/UTJ/Alembic/Scripts/Importer/AlembicCamera.cs | using UnityEngine;
namespace UTJ.Alembic
{
[ExecuteInEditMode]
public class AlembicCamera : AlembicElement
{
aiCamera m_abcSchema;
aiCameraData m_abcData;
Camera m_camera;
bool m_ignoreClippingPlanes = false;
public override aiSchema abcSchema { get { re... | using UnityEngine;
namespace UTJ.Alembic
{
[ExecuteInEditMode]
public class AlembicCamera : AlembicElement
{
aiCamera m_abcSchema;
aiCameraData m_abcData;
Camera m_camera;
bool m_ignoreClippingPlanes = false;
public override aiSchema abcSchema { get { re... | mit | C# |
c6ba105672b2eb43880d628f0bb68082f3128733 | Update namespace #5 | chrisber/typescript-addin,chrisber/typescript-addin | src/TypeScriptBinding/Hosting/CompletionEntryDetailsProvider.cs | src/TypeScriptBinding/Hosting/CompletionEntryDetailsProvider.cs | //
// CompletionEntryDetailsProvider.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// 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 wit... | //
// CompletionEntryDetailsProvider.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (C) 2013 Matthew Ward
//
// 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 wit... | mit | C# |
eb707987408c3970e058048aded6c5b7de61e171 | Bump assembly to version 2.0.0. | paulyoder/LinqToExcel | src/LinqToExcel/Properties/AssemblyInfo.cs | src/LinqToExcel/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Li... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Li... | mit | C# |
b940ab0fa5d484a477c4aedf2ff95afaf97a55a2 | Make CreateCommand implement ICommand | appharbor/appharbor-cli | src/AppHarbor/Commands/CreateCommand.cs | src/AppHarbor/Commands/CreateCommand.cs | using System;
namespace AppHarbor.Commands
{
public class CreateCommand : ICommand
{
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
}
}
| namespace AppHarbor.Commands
{
public class CreateCommand
{
}
}
| mit | C# |
efdcd749adaff23142fbb72f756fb1b6de98a7bb | Fix nullref during GridContainerContent construction | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework/Graphics/Containers/GridContainerContent.cs | osu.Framework/Graphics/Containers/GridContainerContent.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.
namespace osu.Framework.Graphics.Containers
{
public class GridContainerContent
{
public GridContainerContent(Drawable[][] drawables)
{
... | // 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.
namespace osu.Framework.Graphics.Containers
{
public class GridContainerContent
{
public GridContainerContent(Drawable[][] drawables)
{
... | mit | C# |
e9cb3337b31e39372f3905405366d45d3372bded | Fix 1x1 white pixel appearing in the centre of hitcircles on default skin | EVAST9919/osu,2yangk23/osu,peppy/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/NumberPiece.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/NumberPiece.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.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Effects;
using osu.G... | // 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.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Effects;
using osu.G... | mit | C# |
4b90a27ea0348be486b6258944d3060e85533c19 | fix user hashcode | Iwuh/Wycademy | WycademyV2/src/WycademyV2/Commands/Utilities/UserEqualityComparer.cs | WycademyV2/src/WycademyV2/Commands/Utilities/UserEqualityComparer.cs | using Discord;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WycademyV2.Commands.Utilities
{
public class UserEqualityComparer : IEqualityComparer<IUser>
{
public bool Equals(IUser x, IUser y)
{
return x.Id == y.Id;
... | using Discord;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WycademyV2.Commands.Utilities
{
public class UserEqualityComparer : IEqualityComparer<IUser>
{
public bool Equals(IUser x, IUser y)
{
return x.Id == y.Id;
... | mit | C# |
b2f1d0b3e60ff47f1d82b3cad76b6c83a33aa9f0 | Change class Terminal to be abstract | HaiTo/lury,lury-lang/lury,nokok/lury | src/Lury/Compiling/Elements/Terminal.cs | src/Lury/Compiling/Elements/Terminal.cs | //
// Terminal.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2014-2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to... | //
// Terminal.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2014-2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to... | mit | C# |
d667d4eb93e22d1f76c3d712cdfe45ceef9fff1d | Fix bug with edit/view non-domain users with enabled domain integration | KiritoStudio/Bonobo-Git-Server,KiritoStudio/Bonobo-Git-Server,crowar/Bonobo-Git-Server,NipponSysits/IIS.Git-Connector,hakim89/Bonobo-Git-Server,Ollienator/Bonobo-Git-Server,Acute-sales-ltd/Bonobo-Git-Server,igoryok-zp/Bonobo-Git-Server,lkho/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,Acute-sales-ltd/Bonobo-Git-Serve... | Bonobo.Git.Server/UsernameUrl.cs | Bonobo.Git.Server/UsernameUrl.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
namespace Bonobo.Git.Server
{
public class UsernameUrl
{
//to allow support for email addresses as user names, only encode/decode user name if it is no... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
namespace Bonobo.Git.Server
{
public class UsernameUrl
{
//to allow support for email addresses as user names, only encode/decode user name if it is no... | mit | C# |
588763936fa7e512d2aa4f1469494cc9021d58c6 | Add CreateFlow to interface | bcemmett/SurveyMonkeyApi | SurveyMonkey/ISurveyMonkeyApi.cs | SurveyMonkey/ISurveyMonkeyApi.cs | using System.Collections.Generic;
namespace SurveyMonkey
{
public interface ISurveyMonkeyApi
{
int RequestsMade { get; }
int QuotaAllotted { get; }
int QuotaUsed { get; }
//Endpoints
List<Survey> GetSurveyList();
List<Survey> GetSurveyList(GetSurveyListSettings ... | using System.Collections.Generic;
namespace SurveyMonkey
{
public interface ISurveyMonkeyApi
{
int RequestsMade { get; }
int QuotaAllotted { get; }
int QuotaUsed { get; }
//Endpoints
List<Survey> GetSurveyList();
List<Survey> GetSurveyList(GetSurveyListSettings ... | mit | C# |
31a630141873bc1b01211e5692a3314767aa2710 | Make word available | gawronsk/triedictive-text | TrieExperimentPlatform/TrieExperimentPlatform/TrieExperiment.cs | TrieExperimentPlatform/TrieExperimentPlatform/TrieExperiment.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrieExperimentPlatform
{
class TrieExperiment
{
static void Main(string[] args)
{
string[] lines = System.IO.File.Rea... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrieExperimentPlatform
{
class TrieExperiment
{
static void Main(string[] args)
{
string[] lines = System.IO.File.Rea... | unlicense | C# |
10979673c39fd7d4e28fdf1de85bf6fdea4109e9 | complete Nancy sample for net46 | lvermeulen/Nanophone | samples/SampleService.Nancy.Hosting.Self.Net46/Program.cs | samples/SampleService.Nancy.Hosting.Self.Net46/Program.cs | using System;
using System.Collections.Generic;
using Nancy.Hosting.Self;
using Nanophone.Core;
using Nanophone.RegistryHost.ConsulRegistry;
using Nanophone.RegistryTenant.Nancy;
namespace SampleService.Nancy.Hosting.Self.Net46
{
class Program
{
static void Main()
{
const int PORT ... | using System;
using Nancy.Hosting.Self;
using Nanophone.Core;
using Nanophone.RegistryHost.ConsulRegistry;
using Nanophone.RegistryTenant.Nancy;
namespace SampleService.Nancy.Hosting.Self.Net46
{
class Program
{
static void Main()
{
const int PORT = 8899;
var uri = new... | mit | C# |
34b6e6ad789d230763cfa3b6779cd5bb2156c1f6 | Remove content negotiation project | JosephWoodward/GlobalExceptionHandlerDotNet,JosephWoodward/GlobalExceptionHandlerDotNet | src/GlobalExceptionHandler/ContentNegotiation/EmptyActionContext.cs | src/GlobalExceptionHandler/ContentNegotiation/EmptyActionContext.cs | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Routing;
namespace GlobalExceptionHandler.ContentNegotiation.Mvc
{
internal class EmptyActionContext : ActionContext
{
public EmptyActionContext(HttpContext httpCont... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Routing;
namespace GlobalExceptionHandler.ContentNegotiation.Mvc
{
internal class EmptyActionContext : ActionContext
{
public EmptyActionContext(HttpContext httpCon... | mit | C# |
9722629561260e9507da9ae44c7cc218baa01878 | Fix telephone null exception | MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure | src/GRA.Controllers/ViewModel/ParticipatingLibraries/ParticipatingLibrariesViewModel.cs | src/GRA.Controllers/ViewModel/ParticipatingLibraries/ParticipatingLibrariesViewModel.cs | using System.Collections.Generic;
namespace GRA.Controllers.ViewModel.ParticipatingBranches
{
public class ParticipatingLibrariesViewModel
{
public IEnumerable<Domain.Model.System> Systems { get; set; }
public static string FormatPhoneAddress(Domain.Model.Branch branch)
{
... | using System.Collections.Generic;
namespace GRA.Controllers.ViewModel.ParticipatingBranches
{
public class ParticipatingLibrariesViewModel
{
public IEnumerable<Domain.Model.System> Systems { get; set; }
public static string FormatPhoneAddress(Domain.Model.Branch branch)
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.