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 |
|---|---|---|---|---|---|---|---|---|
a6a835a9768cf51083517405ea898b2dbfa83eb6 | add the template to IClient | kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,SparkPost/csharp-sparkpost | 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>
... | apache-2.0 | C# |
cb2cd4e93ffb7a845a1013f5949fb2dd727ebd0e | Add to source. Early/Unstable | stevefsp/critterai,stevefsp/critterai,stevefsp/critterai,stevefsp/critterai,stevefsp/critterai | nav/rcn-interop/Properties/AssemblyInfo.cs | nav/rcn-interop/Properties/AssemblyInfo.cs | /*
* Copyright (c) 2011 Stephen A. Pratt
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 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... | mit | C# |
733b86eeb93ac7fdb2506318739919e8bba75cc2 | Implement non-abstract socket support | tmds/Tmds.DBus | UnixNativeTransport.cs | UnixNativeTransport.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using Mono.Unix;
using Mono.Unix.Native;
namespace NDesk.DBus
{
public cl... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using Mono.Unix;
using Mono.Unix.Native;
namespace NDesk.DBus
{
public cl... | mit | C# |
5b264cf65cba866b04a34b4571b96f1e2d5630b6 | remove unused using | Microsoft/vscode-mono-debug,Microsoft/vscode-mono-debug | src/sdb/CommandLine.cs | src/sdb/CommandLine.cs | //
// The MIT License (MIT)
//
// Copyright (c) 2014 Alex Rønne Petersen
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
//... | //
// The MIT License (MIT)
//
// Copyright (c) 2014 Alex Rønne Petersen
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
//... | mit | C# |
e7c563fb671f8c2eee44de363e6c04971dad6cd3 | simplify `CreateTextFlow` in quote block | NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownQuoteBlock.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownQuoteBlock.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;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Overlays;
namespace ... | // 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;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Game.Overlays;
namespace ... | mit | C# |
22c8e134d28452f34dd4d57fab58a8dc27b5064c | Change "Sidebar" widget "ParseShortcutFiles" option default value | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/Sidebar/Settings.cs | DesktopWidgets/Widgets/Sidebar/Settings.cs | using System.Collections.ObjectModel;
using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Sidebar
{
public class Settings : WidgetSettingsBase
{
[DisplayName("Shortcuts")]
public ObservableCollection<Shortcut> Shortcuts { get; set; }
[Category("... | using System.Collections.ObjectModel;
using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.Sidebar
{
public class Settings : WidgetSettingsBase
{
[DisplayName("Shortcuts")]
public ObservableCollection<Shortcut> Shortcuts { get; set; }
[Category("... | apache-2.0 | C# |
a9bf8c2bd9d6a4723dfdc963942e1a45918341e2 | fix for double rename | OmniSharp/omnisharp-vim,AndBicScadMedia/omnisharp-vim,nosami/omnisharp-vim,OmniSharp/omnisharp-vim,OmniSharp/omnisharp-vim,anurse/omnisharp-vim,den-mentiei/omnisharp-vim | OmniSharp/Solution/CSharpFile.cs | OmniSharp/Solution/CSharpFile.cs | using System;
using System.IO;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.Editor;
using ICSharpCode.NRefactory.TypeSystem;
namespace OmniSharp.Solution
{
public class CSharpFile
{
public string FileName;
public ITextSource Content;
public SyntaxTree SyntaxTree;
... | using System;
using System.IO;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.Editor;
using ICSharpCode.NRefactory.TypeSystem;
namespace OmniSharp.Solution
{
public class CSharpFile
{
public string FileName;
public ITextSource Content;
public SyntaxTree SyntaxTree;
... | mit | C# |
7ab63a4087e71007edecd0504de88b3fdf54dfcc | Set static member. | Appius/Algorithms-and-Data-Structures | Algorithms/Algorithms.Tests/SortingAlgorithms/QuickSortTests.cs | Algorithms/Algorithms.Tests/SortingAlgorithms/QuickSortTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SortingAlgorimths;
namespace Algorithms.Tests.SortingAlgorithms
{
[TestClass]
public class QuickSortTests
{
private static readonly Random Random = new Random();
[TestMethod]
public void QuickTest()
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SortingAlgorimths;
namespace Algorithms.Tests.SortingAlgorithms
{
[TestClass]
public class QuickSortTests
{
private readonly Random _random = new Random();
[TestMethod]
public void QuickTest()
{
... | apache-2.0 | C# |
285b6d6cd336c02a5ca1e75b1c9da8194af84f0a | Add reasoning in 'ZoneMarkerAndSetUpFixture.cs' | ulrichb/XmlDocInspections,ulrichb/XmlDocInspections,ulrichb/XmlDocInspections | Src/XmlDocInspections.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs | Src/XmlDocInspections.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
using XmlDocInspections.Plugin.Tests;
[assembly: RequiresSTA]
namespace XmlDocInspections.Plugin.Tests
{
[Zone... | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
using XmlDocInspections.Plugin.Tests;
[assembly: RequiresSTA]
namespace XmlDocInspections.Plugin.Tests
{
[Zone... | mit | C# |
0915cef158cfb942ecbd12175c7ad045aa9dee6b | Use Expression body. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModelBase.cs | WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModelBase.cs | using System;
using ReactiveUI;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.LockScreen
{
public abstract class LockScreenViewModelBase : ViewModelBase
{
private bool _isAnimating;
private bool _isLocked;
private bool _can... | using System;
using ReactiveUI;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.LockScreen
{
public abstract class LockScreenViewModelBase : ViewModelBase
{
private bool _isAnimating;
private bool _isLocked;
private bool _can... | mit | C# |
bd69a71c3477f6f5a2c16f01192bef15e4222394 | add raven logo | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.API/Views/Shared/_Navigation.cshtml | WebAPI.API/Views/Shared/_Navigation.cshtml | <ul class="nav nav-pills nav-stacked">
<li class="nav-header">Web API's</li>
<li class="active"><a href="#home">Home</a></li>
<li><a href="#geocoding">Geocoding</a></li>
<li><a href="#search">Searching</a></li>
<li><a href="#info">SGID Information</a></li>
<li><a href="#network">Network Analysi... | <ul class="nav nav-pills nav-stacked">
<li class="nav-header">Web API's</li>
<li class="active"><a href="#home">Home</a></li>
<li><a href="#geocoding">Geocoding</a></li>
<li><a href="#search">Searching</a></li>
<li><a href="#info">SGID Information</a></li>
<li><a href="#network">Network Analysi... | mit | C# |
3f1cffd9786c0fdc1b8afdbe0904b06834243a73 | fix / on windows phone | mikebluestein/YetAnotherApp | YetAnotherAppWindowsPhone/MainPage.xaml.cs | YetAnotherAppWindowsPhone/MainPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using YetAnotherAppWindowsPhone.Resources;
using System.Collections.ObjectModel;
names... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using YetAnotherAppWindowsPhone.Resources;
using System.Collections.ObjectModel;
names... | mit | C# |
1980bed81b811358a1cd5579c90578493177b4b9 | Make StripeException suck less. | xamarin/XamarinStripe,haithemaraissia/XamarinStripe | XamarinStripe/StripeException.cs | XamarinStripe/StripeException.cs | /*
* Copyright 2011 Xamarin, Inc.
*
* Author(s):
* Gonzalo Paniagua Javier (gonzalo@xamarin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... | /*
* Copyright 2011 Xamarin, Inc.
*
* Author(s):
* Gonzalo Paniagua Javier (gonzalo@xamarin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... | apache-2.0 | C# |
2f777f0a562dbfc6dbcbaeba120d84f985d634aa | fix static cube object | Namone/SimpleScene,RealRui/SimpleScene,smoothdeveloper/SimpleScene,jeske/SimpleScene | SimpleScene/Objects/SSObjectCube.cs | SimpleScene/Objects/SSObjectCube.cs | // Copyright(C) David W. Jeske, 2013
// Released to the public domain. Use, modify and relicense at will.
using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace SimpleScene
{
public class SSObjectCube : SSObject
{
private void drawQuadFace(Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3)... | // Copyright(C) David W. Jeske, 2013
// Released to the public domain. Use, modify and relicense at will.
using System;
using OpenTK;
using OpenTK.Graphics.OpenGL;
namespace SimpleScene
{
public class SSObjectCube : SSObject
{
public override void Render(ref SSRenderConfig renderConfig) {
base.... | apache-2.0 | C# |
046564d387df79e83345ee2f9b2d8daf8f17a420 | Configure ElasticSearch from config. | ExRam/ExRam.Gremlinq | src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs | src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
private sealed class UseNeptuneGremlinQuerySourceTransformation : IGremlinQuery... | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
private sealed class UseNeptuneGremlinQuerySourceTransformation : IGremlinQuery... | mit | C# |
0232a8540edcdc5dc46390a374fc9e2006d74dda | Make BucketExtensions.Queryable internal | couchbaselabs/Linq2Couchbase,drGarbinsky/Linq2Couchbase,brantburnett/Linq2Couchbase | Src/Couchbase.Linq/Extensions/BucketExtensions.cs | Src/Couchbase.Linq/Extensions/BucketExtensions.cs | using System.Linq;
using Couchbase.Configuration.Client;
using Couchbase.Core;
using Couchbase.Linq.Filters;
namespace Couchbase.Linq.Extensions
{
public static class BucketExtensions
{
internal static IQueryable<T> Queryable<T>(this IBucket bucket)
{
//TODO refactor so ClientConfi... | using System.Linq;
using Couchbase.Configuration.Client;
using Couchbase.Core;
using Couchbase.Linq.Filters;
namespace Couchbase.Linq.Extensions
{
public static class BucketExtensions
{
public static IQueryable<T> Queryable<T>(this IBucket bucket)
{
//TODO refactor so ClientConfigu... | apache-2.0 | C# |
127bcb27a6c71da6bb8ad06f973b71e416c13847 | Update ReverseString.cs | michaeljwebb/Algorithm-Practice | LeetCode/ReverseString.cs | LeetCode/ReverseString.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class ReverseString
{
public string Reverse_String(string s)
{
char[] sArray = s.ToCharArray();
string result = "";
for (int i = sArray.Length - 1; i >= 0; i--)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class ReverseString
{
public string Reverse_String(string s)
{
char[] sArray = s.ToCharArray();
string result = "";
for (int i = sArray.Length - 1; i >= 0; i--)
... | mit | C# |
80b238dbe7ff90ee098a1486346b03caaa7deb53 | Remove hardcoded example key. | omise/omise-dotnet | Omise.Examples/Example.cs | Omise.Examples/Example.cs | using System;
using System.Threading.Tasks;
using Omise.Models;
namespace Omise.Examples
{
public abstract class Example
{
public const string OMISE_PKEY = "pkey_test_replaceme";
public const string OMISE_SKEY = "skey_test_replaceme";
protected Client Client { get; private set; }
... | using System;
using System.Threading.Tasks;
using Omise.Models;
namespace Omise.Examples
{
public abstract class Example
{
public const string OMISE_PKEY = "pkey_test_58fm89aq2ozrwm4ic5q";
public const string OMISE_SKEY = "skey_test_58fm89nzgfw698uyls3";
protected Client Client { get;... | mit | C# |
35973db9c1b2f4e5ed3e5c9f4ae065ee293cfdd8 | Remove some bogus code | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib.Tests/Expressions/t_ArrayExpressionParser.cs | LINQToTTree/LINQToTTreeLib.Tests/Expressions/t_ArrayExpressionParser.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using LINQToTTreeLib.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Remotion.Data.Linq;
using Remotion.Data.Linq.Clauses.Expressions;
using Remotion.Data.Linq.Parsing.Structure;
namespace LINQToTTreeLib.Tests
{
/// ... | using System;
using System.Linq;
using System.Linq.Expressions;
using LINQToTTreeLib.Expressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Remotion.Data.Linq;
using Remotion.Data.Linq.Parsing.Structure;
using Remotion.Data.Linq.Clauses.Expressions;
namespace LINQToTTreeLib.Tests
{
/// ... | lgpl-2.1 | C# |
ad9f728a9597c4d3cb26c965abe39709d6229eca | Fix App Version string | nikeee/HolzShots | src/HolzShots.Common/LibraryInformation.cs | src/HolzShots.Common/LibraryInformation.cs | using System;
namespace HolzShots.Common
{
public static class LibraryInformation
{
public const string Name = "HolzShots";
public const string PublisherName = "Niklas Mollenhauer";
public const string License = "GPL-3.0";
private const string ReleaseSuffix = "-beta"; // -beta
... | using System;
namespace HolzShots.Common
{
public static class LibraryInformation
{
public const string Name = "HolzShots";
public const string PublisherName = "Niklas Mollenhauer";
public const string License = "GPL-3.0";
private const string ReleaseSuffix = "-beta"; // -beta
... | agpl-3.0 | C# |
5625457b233218abd17c4cf79df8375d2510e760 | Rename Double to DoubleField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Doubles.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Doubles.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public double DoubleField(double value)
{
return DoubleField(string.Empty, value);
}
public double DoubleField(string label, double value)
{
return DoubleField(label, value, null);
}
public double DoubleFiel... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public double Double(double value)
{
return Double(string.Empty, value);
}
public double Double(string label, double value)
{
return Double(label, value, null);
}
public double Double(string label, string t... | mit | C# |
ce2d6175d2c9074c84c4a096ae110f68e0dd5cb6 | Handle MindComponent deletion: | space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/GameObjects/Components/Mobs/MindComponent.cs | Content.Server/GameObjects/Components/Mobs/MindComponent.cs | using Content.Server.GameObjects.Components.Observer;
using Content.Server.Mobs;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Mobs
{
/// <summary>
/// Stores a <see cref="Server.Mobs.Mind"/> ... | using Content.Server.Mobs;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Server.GameObjects.Components.Mobs
{
/// <summary>
/// Stores a <see cref="Server.Mobs.Mind"/> on a mob.
/// </summary>
[RegisterComponent]
... | mit | C# |
b918349e51abbfd3d4208e8b23ecaf7e647a13f6 | set version number to 0.0.3 | wgross/Elementary.Hierarchy.Collections,wgross/Elementary.Hierarchy.Collections,wgross/Elementary.Hierarchy.Collections | Elementary.Hierarchy.Collections/Properties/AssemblyInfo.cs | Elementary.Hierarchy.Collections/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Elementary.Hierarchy.Collections")]
[assembly: As... | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Elementary.Hierarchy.Collections")]
[assembly: As... | mit | C# |
cef86e7dfcb684c72f1bd496b4ae6c1213f424bb | Update CompositeAssemblyStringLocalizer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Localization/CompositeAssemblyStringLocalizer.cs | TIKSN.Core/Localization/CompositeAssemblyStringLocalizer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Resources;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
namespace TIKSN.Localization
{
public abstract class CompositeAssemblyStringLocalizer : CompositeStringLocalizer
{
... | using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Resources;
namespace TIKSN.Localization
{
public abstract class CompositeAssemblyStringLocalizer : CompositeStringLocalizer
{
... | mit | C# |
32c12405357725e0d4ddf30009faf7b306083b47 | Fix failing R# code analysis | SeanFeldman/ServiceBus.AttachmentPlugin | src/ServiceBus.AttachmentPlugin.Tests/When_receiving_message.cs | src/ServiceBus.AttachmentPlugin.Tests/When_receiving_message.cs |
namespace ServiceBus.AttachmentPlugin.Tests
{
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
using Xunit;
public class When_receiving_message : IClassFixture<AzureStorageEmulatorFixture>
{
[Fact]
public async Task Should_t... |
namespace ServiceBus.AttachmentPlugin.Tests
{
using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
using Xunit;
public class When_receiving_message : IClassFixture<AzureStorageEmulatorFixture>
{
[Fact]
public async Task Should_t... | mit | C# |
0ca4dd176ca35a9d43d0c4db292a7c2a99a90942 | Add some comments | marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Um... | src/Umbraco.Infrastructure/Persistence/Dtos/ExternalLoginDto.cs | src/Umbraco.Infrastructure/Persistence/Dtos/ExternalLoginDto.cs | using System;
using NPoco;
using Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations;
using Umbraco.Cms.Infrastructure.Persistence.DatabaseModelDefinitions;
namespace Umbraco.Cms.Infrastructure.Persistence.Dtos
{
[TableName(TableName)]
[ExplicitColumns]
[PrimaryKey("Id")]
internal class External... | using System;
using NPoco;
using Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations;
using Umbraco.Cms.Infrastructure.Persistence.DatabaseModelDefinitions;
namespace Umbraco.Cms.Infrastructure.Persistence.Dtos
{
[TableName(TableName)]
[ExplicitColumns]
[PrimaryKey("Id")]
internal class External... | mit | C# |
e961cd2b8428df9da68579a6448f2a272dae64c6 | Add FIXME note | arfbtwn/hyena,petejohanson/hyena,petejohanson/hyena,dufoli/hyena,arfbtwn/hyena,dufoli/hyena,GNOME/hyena,GNOME/hyena | Hyena/Hyena/DateTimeUtil.cs | Hyena/Hyena/DateTimeUtil.cs | //
// Utilities.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// 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, in... | //
// Utilities.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// 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, in... | mit | C# |
7852c9cf655681c6b2ec7ec38fa223b9b60428d2 | Fix bug with event placeholder image name that would make it not show on iOS | IrvingtonProgramming/InteractApp,IrvingtonProgramming/InteractApp,IrvingtonProgramming/InteractApp | InteractApp/Models/Event.cs | InteractApp/Models/Event.cs | using System;
using System.Linq;
using System.Collections.Generic;
using Parse;
namespace InteractApp
{
[ParseClassName ("Event")]
public class Event : ParseObject
{
public static readonly string DEFAULT_NAME = "An Error Has Occurred";
public static readonly string DEFAULT_LOCATION = "Hooli Headquarters";
p... | using System;
using System.Linq;
using System.Collections.Generic;
using Parse;
namespace InteractApp
{
[ParseClassName ("Event")]
public class Event : ParseObject
{
public static readonly string DEFAULT_NAME = "An Error Has Occurred";
public static readonly string DEFAULT_LOCATION = "Hooli Headquarters";
p... | mit | C# |
359b180a76d3d470b75d2d77defada7a34a193ee | Remove InternalsVisibleTo because it causes tight coupling and type confliction. | msgpack/msgpack-cli,scopely/msgpack-cli,undeadlabs/msgpack-cli,modulexcite/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli,undeadlabs/msgpack-cli,scopely/msgpack-cli | cli/src/MsgPack/Properties/AssemblyInfo.cs | cli/src/MsgPack/Properties/AssemblyInfo.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | apache-2.0 | C# |
693b009372f3d90450065da0196c8c3818b3f93a | Fix error in test for Issue #172 | Thilas/commandline,Ehryk/commandline,Ehryk/commandline,Emergensys/commandline,anthonylangsworth/commandline,nausley/commandline,huoxudong125/commandline,Thilas/commandline,rmboggs/commandline,Emergensys/commandline,huoxudong125/commandline,rmboggs/commandline,kshanafelt/commandline,anthonylangsworth/commandline,nausley... | src/CommandLine.Tests/Fakes/FakeOptionsWithSequenceMinMaxEqual.cs | src/CommandLine.Tests/Fakes/FakeOptionsWithSequenceMinMaxEqual.cs | // Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See doc/License.md in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommandLine.Tests.Fakes
{
class FakeOptionsWithSequenceMinMax... | // Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See doc/License.md in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommandLine.Tests.Fakes
{
class FakeOptionsWithSequenceMinMax... | mit | C# |
3282b4e0d545be6c5d8d230392a28eef22013776 | Improve readability and update link | Arcitectus/Sanderling | src/Sanderling/Sanderling.MemoryReading.Test/MemoryReadingDemo.cs | src/Sanderling/Sanderling.MemoryReading.Test/MemoryReadingDemo.cs | using Bib3;
using NUnit.Framework;
using Sanderling.ExploreProcessMeasurement;
using Sanderling.Parse;
using System;
using System.Linq;
namespace Sanderling.MemoryReading.Test
{
public class MemoryReadingDemo
{
[Test]
[Explicit("Do not include this method when running all tests. The only reason this is marked a... | using Bib3;
using NUnit.Framework;
using Sanderling.ExploreProcessMeasurement;
using Sanderling.Parse;
using System;
using System.Linq;
namespace Sanderling.MemoryReading.Test
{
public class MemoryReadingDemo
{
[Test]
[Explicit("Do not include this method when running all tests. The only reason this is marked a... | apache-2.0 | C# |
5c95b9d312d2b75d785b398d8da2419edcf2ad88 | handle nulle | os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos | Core.ApplicationServices/Authorization/Policies/GlobalReadAccessPolicy.cs | Core.ApplicationServices/Authorization/Policies/GlobalReadAccessPolicy.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Core.DomainModel;
using Core.DomainModel.Advice;
using Core.DomainModel.AdviceSent;
using Core.DomainModel.Organization;
using Core.DomainServices.Extensions;
using Infrastructure.Services.Types;
namespace C... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Core.DomainModel;
using Core.DomainModel.Advice;
using Core.DomainModel.AdviceSent;
using Core.DomainModel.Organization;
using Infrastructure.Services.Types;
namespace Core.ApplicationServices.Authorization.... | mpl-2.0 | C# |
7fe94adca62e5431d86a5ef0245e567b31e341a3 | Update Oracle | sunkaixuan/SqlSugar | Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs | Src/Asp.Net/SqlSugar/Realization/Oracle/SqlBuilder/OracleInsertBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public class OracleInsertBuilder : InsertBuilder
{
public override string SqlTemplate
{
get
{
return @"INSERT INT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public class OracleInsertBuilder : InsertBuilder
{
}
}
| apache-2.0 | C# |
7c2ab87dd34890faa3aa760d37877c1c3f269230 | Fix equality comparer failing | DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-fr... | osu.Framework/Localisation/LocalisationManager_LocalisedBindableString.cs | osu.Framework/Localisation/LocalisationManager_LocalisedBindableString.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Configuration;
using osu.Framework.IO.Stores;
namespace osu.Framework.Localisation
{
public partial class LocalisationMa... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Configuration;
using osu.Framework.IO.Stores;
namespace osu.Framework.Localisation
{
public partial class LocalisationMa... | mit | C# |
b2f2fced9a556fe4899c99397e2d795a2e46a1ae | Check IAllowAnonymousFilter in a simpler way. | SXTSOFT/aspnetboilerplate,4nonym0us/aspnetboilerplate,4nonym0us/aspnetboilerplate,ShiningRush/aspnetboilerplate,yuzukwok/aspnetboilerplate,zquans/aspnetboilerplate,zclmoon/aspnetboilerplate,andmattia/aspnetboilerplate,Nongzhsh/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ilyhacker/aspnetboilerplate,SXTSOFT/aspnetboi... | src/Abp.AspNetCore/AspNetCore/Mvc/Authorization/AbpAuthorizationFilter.cs | src/Abp.AspNetCore/AspNetCore/Mvc/Authorization/AbpAuthorizationFilter.cs | using System.Linq;
using System.Threading.Tasks;
using Abp.AspNetCore.Mvc.Extensions;
using Abp.Authorization;
using Abp.Dependency;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Abp.AspNetCore.Mvc.Authorization
{
//TODO: Register only actions which define AbpMvcA... | using System.Linq;
using System.Threading.Tasks;
using Abp.AspNetCore.Mvc.Extensions;
using Abp.Authorization;
using Abp.Dependency;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Abp.AspNetCore.Mvc.Authorization
{
public class AbpAuthorizationFilter : IAsyncAuthorizat... | mit | C# |
8c51dfc490426e12a9b000befcaecd50f77be504 | Use FCL instead of writing my own | Brightspace/D2L.Security.OAuth2 | D2L.Security.OAuth2/Provisioning/D2L.Security.AuthTokenProvisioning/Invocation/InvocationParameters.cs | D2L.Security.OAuth2/Provisioning/D2L.Security.AuthTokenProvisioning/Invocation/InvocationParameters.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace D2L.Security.AuthTokenProvisioning.Invocation {
/// <summary>
/// Configures an access token provision invocation
/// </summary>
internal sealed class InvocationParameters {
private readonly string m_aut... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace D2L.Security.AuthTokenProvisioning.Invocation {
/// <summary>
/// Configures an access token provision invocation
/// </summary>
internal sealed class InvocationParameters {
private r... | apache-2.0 | C# |
682e7e8d1e8e3aa5a6952268c7b87c9332a73a59 | Change date inside assemblyinfo | mkoscielniak/SSMScripter | SSMScripter/AssemblyInfo.cs | SSMScripter/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
//
// 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("SSMScripter")]
[assembly: Assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
//
// 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("SSMScripter")]
[assembly: Assembly... | mit | C# |
39c4c07d9797c539097366fd9d97f62382324329 | Add AsyncOperation.AsAsyncOperationObservable | TORISOUP/UniRx,ufcpp/UniRx,zillakot/UniRx,zhutaorun/UniRx,Useurmind/UniRx,cruwel/UniRx,cruwel/UniRx,ic-sys/UniRx,m-ishikawa/UniRx,zillakot/UniRx,juggernate/UniRx,InvertGames/UniRx,saruiwa/UniRx,endo0407/UniRx,juggernate/UniRx,cruwel/UniRx,OC-Leon/UniRx,OrangeCube/UniRx,neuecc/UniRx,Useurmind/UniRx,zillakot/UniRx,ppcuni... | Assets/UniRx/Scripts/UnityEngineBridge/AsyncOperationExtensions.cs | Assets/UniRx/Scripts/UnityEngineBridge/AsyncOperationExtensions.cs | using System;
using System.Collections;
using UnityEngine;
namespace UniRx
{
public static partial class AsyncOperationExtensions
{
/// <summary>
/// If you needs return value, use AsAsyncOperationObservable instead.
/// </summary>
public static IObservable<AsyncOperation> AsOb... | using System;
using System.Collections;
using UnityEngine;
namespace UniRx
{
public static partial class AsyncOperationExtensions
{
public static IObservable<AsyncOperation> AsObservable(this AsyncOperation asyncOperation, IProgress<float> progress = null)
{
return Observable.FromC... | mit | C# |
c0e1e2c4efdd8ab6789cfa0dc78c8b453eff407f | make public | fandrei/AppMetrics,fandrei/AppMetrics | AgentService.PluginBase/Control.cs | AgentService.PluginBase/Control.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace AppMetrics.AgentService.PluginBase
{
public class Control
{
public static bool IsMasterRunning
{
get
{
var processFile = Process.GetCurrentProcess().MainModule.FileName.ToLower();
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace AppMetrics.AgentService.PluginBase
{
class Control
{
public static bool IsMasterRunning
{
get
{
var processFile = Process.GetCurrentProcess().MainModule.FileName.ToLower();
if ... | apache-2.0 | C# |
b8ac74946314c6dd5cb3da416b21c4cc57aebce5 | Remove Unused | kiyoaki/bitflyer-api-dotnet-client | BitFlyer.Apis/BitFlyerConstants.cs | BitFlyer.Apis/BitFlyerConstants.cs | using System;
namespace BitFlyer.Apis
{
internal static class BitFlyerConstants
{
internal static readonly Uri BaseUri = new Uri("https://api.bitflyer.jp/");
}
}
| using System;
namespace BitFlyer.Apis
{
internal static class BitFlyerConstants
{
internal static readonly Uri BaseUri = new Uri("https://api.bitflyer.jp/");
internal const string SubscribeKey = "sub-c-52a9ab50-291b-11e5-baaa-0619f8945a4f";
}
}
| mit | C# |
6d5d85a3c76715c7b5ad3a3fb89dc2f20db39ea0 | Build fix | OrleansContrib/Orleans.Providers.MongoDB | Orleans.Providers.MongoDB/StorageProviders/MongoStorageProvider.cs | Orleans.Providers.MongoDB/StorageProviders/MongoStorageProvider.cs | using System.Threading.Tasks;
using Orleans.Runtime;
namespace Orleans.Providers.MongoDB.StorageProviders
{
public class MongoStorageProvider : BaseJSONStorageProvider
{
public const string ConnectionStringProperty = "ConnectionString";
public const string CollectionPrefixProperty = "Collectio... | using System.Threading.Tasks;
using Orleans.Runtime;
namespace Orleans.Providers.MongoDB.StorageProviders
{
public class MongoStorageProvider : BaseJSONStorageProvider
{
public const string ConnectionStringProperty = "ConnectionString";
public const string CollectionPrefixProperty = "Collectio... | mit | C# |
480bd7dbee0e2e24d7c46c6992eaea93aa5f4b2f | Update Program.cs | MShechtman/Test2 | ConsoleApp1/ConsoleApp1/Program.cs | ConsoleApp1/ConsoleApp1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//test 18.1
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//new test on master 2
}
}
}
| mit | C# |
aa2c56367acc0cbe2d5a42611809f55ac05f266a | Fix duplicate constructor | mstevenson/SeudoBuild | SeudoBuild.Modules/SeudoBuild.Modules.ZipArchive/ZipArchiveStep.cs | SeudoBuild.Modules/SeudoBuild.Modules.ZipArchive/ZipArchiveStep.cs | using System;
using System.IO;
using Ionic.Zip;
namespace SeudoBuild.Modules.ZipArchive
{
public class ZipArchiveStep : IArchiveStep
{
ZipArchiveConfig config;
Workspace workspace;
public string Type { get; } = "Zip File";
public ZipArchiveStep(ZipArchiveConfig config, Worksp... | using System;
using System.IO;
using Ionic.Zip;
namespace SeudoBuild.Modules.ZipArchive
{
public class ZipArchiveStep : IArchiveStep
{
ZipArchiveConfig config;
Workspace workspace;
public ZipArchiveStep(ZipArchiveConfig config, Workspace workspace)
{
this.config = ... | mit | C# |
243d6242c99851a87d5e07c81eb6de6ce2c55e4d | Fix for initializing models from assembly. | monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker | Main.cs | Main.cs | using System;
using System.Reflection;
using Gtk;
using Castle.ActiveRecord.Framework.Config;
using Castle.ActiveRecord;
using HumanRightsTracker.Models;
namespace HumanRightsTracker
{
class MainClass
{
public static void Main (string[] args)
{
XmlConfigurationSource config = new XmlConfigurationSource("Confi... | using System;
using Gtk;
using Castle.ActiveRecord.Framework.Config;
using Castle.ActiveRecord;
using HumanRightsTracker.Models;
namespace HumanRightsTracker
{
class MainClass
{
public static void Main (string[] args)
{
XmlConfigurationSource config = new XmlConfigurationSource("Config/ARConfig.xml");
Acti... | lgpl-2.1 | C# |
441934e5cbbfd3a93c0c5df5c5a2944b06c70a65 | Implement method to get version from CLI arguments #5 | Julien-Mialon/Cake.Storm,Julien-Mialon/Cake.Storm | fluent/src/Cake.Storm.Fluent/Extensions/ConfigurationExtensions.cs | fluent/src/Cake.Storm.Fluent/Extensions/ConfigurationExtensions.cs | using System.Collections.Generic;
using Cake.Common;
using Cake.Core;
using Cake.Storm.Fluent.Common;
using Cake.Storm.Fluent.DefaultTooling;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.Models;
namespace Cake.Storm.Fluent.Extensions
{
public static class ConfigurationExtensions
{
public s... | using System.Collections.Generic;
using Cake.Storm.Fluent.Common;
using Cake.Storm.Fluent.DefaultTooling;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.Models;
namespace Cake.Storm.Fluent.Extensions
{
public static class ConfigurationExtensions
{
public static TConfiguration WithSolution<TC... | mit | C# |
cd532cde2d7852d94d8969dbed881c115baec6ae | Fix note masks not working | 2yangk23/osu,smoogipoo/osu,ZLima12/osu,ZLima12/osu,smoogipooo/osu,naoey/osu,DrabWeb/osu,peppy/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,naoey/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,smo... | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.cs | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Mania.Ob... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
us... | mit | C# |
7535d0f1a6e44abc74fe329b2d882ecea8e991e1 | update version info to 1.1.1 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("He... | 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("He... | mit | C# |
6d55601a827fb0692271566995ad21c21dfa2c15 | Make SetDataAnnotationAttributeErrors only called once. | carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,andmattia/aspnetboilerplate,ilyhacker/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,Nongzhsh/aspnetboilerplate,virtualcca/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai010... | src/Abp.Web.Common/Web/Validation/ActionInvocationValidatorBase.cs | src/Abp.Web.Common/Web/Validation/ActionInvocationValidatorBase.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Runtime.Validation.Interception;
namespace Abp.Web.Validation
{
public abstract class ActionInvocationValidatorBase : MethodInvocationValidator
{
private bool IsSet... | using System;
using System.Collections.Generic;
using System.Reflection;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Runtime.Validation.Interception;
namespace Abp.Web.Validation
{
public abstract class ActionInvocationValidatorBase : MethodInvocationValidator
{
protected IList<Ty... | mit | C# |
bee03b39a1f180716587f18c261fb11333a5a51c | Update version number to 0.5.2. | beppler/trayleds | TrayLeds/Properties/AssemblyInfo.cs | TrayLeds/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("TrayLeds")]
[assembly: AssemblyDescription... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TrayLeds")]
[assembly: AssemblyDescription... | mit | C# |
511509c6bef095b864399800a2159de544438e90 | Change client version | jvalladolid/recurly-client-net | Library/Properties/AssemblyInfo.cs | Library/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("Re... | 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("Re... | mit | C# |
7d32b4540def7a9cab3da8850540a334ec346aed | add functionality to hide second column if no items | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/TertiaryItems.cshtml | src/StockportWebapp/Views/stockportgov/Shared/TertiaryItems.cshtml | @using StockportWebapp.FeatureToggling
@model StockportWebapp.Models.Topic
@inject FeatureToggles FeatureToggles
<div class="subitems-tertiary-padding grid-100">
@{
var firstHalfOfItems = (int)Math.Ceiling((decimal)Model.TertiaryItems.Count() / 2);
}
<div class="subitems-tertiary-two-column">
... | @using StockportWebapp.FeatureToggling
@model StockportWebapp.Models.Topic
@inject FeatureToggles FeatureToggles
<div class="subitems-tertiary-padding grid-100">
@{
var firstHalfOfItems = (int)Math.Ceiling((decimal)Model.TertiaryItems.Count() / 2);
}
<div class="subitems-tertiary-two-column">
... | mit | C# |
b8c66b23b2e1bbc88e1c9098221990f9694af77d | correct checkers sequence | Olorin71/RetreatCode,Olorin71/RetreatCode | c#/TexasHoldEmSolution/TexasHoldEm/Internals/HandInvestigator.cs | c#/TexasHoldEmSolution/TexasHoldEm/Internals/HandInvestigator.cs | using System;
using System.Collections.Generic;
using TexasHoldEm.Interfaces;
namespace TexasHoldEm.Internals
{
internal class HandInvestigator : IHandInvestigator
{
private IList<CheckerBase> checkers = new List<CheckerBase>();
private ComparerHelper comparer;
public HandInvestigator... | using System;
using System.Collections.Generic;
using TexasHoldEm.Interfaces;
namespace TexasHoldEm.Internals
{
internal class HandInvestigator : IHandInvestigator
{
private IList<CheckerBase> checkers = new List<CheckerBase>();
private ComparerHelper comparer;
public HandInvestigator... | mit | C# |
7fe68ca1ac163eea336fa44b3e1d3319988c1e50 | read nested yaml | aloneguid/config,jsobell/config | src/Config.Net.Tests/Stores/YamlFileConfigStoreTest.cs | src/Config.Net.Tests/Stores/YamlFileConfigStoreTest.cs | using Config.Net.Stores;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace Config.Net.Tests.Stores
{
public class YamlFileConfigStoreTest : AbstractTestFixture
{
private YamlFileConfigStore _yaml;
public YamlFileConfigStoreTest()
{
... | using Config.Net.Stores;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace Config.Net.Tests.Stores
{
public class YamlFileConfigStoreTest : AbstractTestFixture
{
private YamlFileConfigStore _yaml;
public YamlFileConfigStoreTest()
{
... | mit | C# |
85c875757219da92b49e4d3582def1653ae2c8f6 | Return true on click | smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Overlays/Comments/Buttons/ShowRepliesButton.cs | osu.Game/Overlays/Comments/Buttons/ShowRepliesButton.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 Humanizer;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
namespace osu.Game.Overlays.Comments.Buttons
{
public class ShowRepliesButton : Co... | // 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 Humanizer;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
namespace osu.Game.Overlays.Comments.Buttons
{
public class ShowRepliesButton : Co... | mit | C# |
7a28b098ad0645340d18f5d9ff0a2b8ca536237b | reconfigure data base context | ramzzzay/PhoneBook,ramzzzay/PhoneBook | PhoneBook.Domain/Concrete/DBcon.cs | PhoneBook.Domain/Concrete/DBcon.cs | using Microsoft.AspNet.Identity.EntityFramework;
using PhoneBook.Domain.Abstract;
using PhoneBook.Domain.Entities;
namespace PhoneBook.Domain.Concrete
{
public class DBcon : IdentityDbContext<User>, IRepository
{
public DBcon() : base("DBcon", true)
{
Configuration.ProxyCreationEna... | using Microsoft.AspNet.Identity.EntityFramework;
using PhoneBook.Domain.Abstract;
using PhoneBook.Domain.Entities;
namespace PhoneBook.Domain.Concrete
{
public class DBcon : IdentityDbContext<User>, IRepository
{
public DBcon() : base("DBcon", false)
{
Configuration.ProxyCreationEn... | apache-2.0 | C# |
0deaa863da0b52cf848abb9e330998ce7ce316f0 | Add badge rule test | wbsimms/PracticeTime,wbsimms/PracticeTime,wbsimms/PracticeTime,wbsimms/PracticeTime | src/Web/PracticeTime.Web.Lib.Test/BadgeRules/OneManBandRuleTest.cs | src/Web/PracticeTime.Web.Lib.Test/BadgeRules/OneManBandRuleTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PracticeTime.Web.DataAccess.Models;
using PracticeTime.Web.DataAccess.Repositories;
using PracticeTime.Web.Lib.BadgeRules;
namespace ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using PracticeTime.Web.DataAccess.Models;
using PracticeTime.Web.DataAccess.Repositories;
using PracticeTime.Web.Lib.BadgeRules;
namespace ... | apache-2.0 | C# |
a249628cdc9170df4097ffa1b64f7643e128eec8 | add version comment | yasokada/unity-150905-dynamicDisplay | Assets/PanelDisplayControl.cs | Assets/PanelDisplayControl.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
/*
* v0.1 2015/09/05
* - show/hide panels
*/
public class PanelDisplayControl : MonoBehaviour {
public GameObject PageSelect;
public GameObject PanelGroup;
private Vector2[] orgSize;
void Start() {
orgSize = new Vector2[4];
int idx=0;... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class PanelDisplayControl : MonoBehaviour {
public GameObject PageSelect;
public GameObject PanelGroup;
private Vector2[] orgSize;
void Start() {
orgSize = new Vector2[4];
int idx=0;
foreach (Transform child in PanelGroup.transfor... | mit | C# |
1c03bfe9360e64ad52804c736288bb975941929d | Handle HighScore | yeonghoey/dotge | Assets/Scripts/GameManager.cs | Assets/Scripts/GameManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour {
public GameObject titleCover;
public Text scoreText;
public GameObject prefabPlayer;
public GameObject prefabMaster;
public GameObject prefabScorer;
private float hi... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour {
public GameObject titleCover;
public Text scoreText;
public GameObject prefabPlayer;
public GameObject prefabMaster;
public GameObject prefabScorer;
private float hi... | mit | C# |
ba134b2834480f770b10b506b7639a848015d38e | remove extra comment | ellisonch/CFGLib,ellisonch/CFGLib | CFGLibTest/RegressionTests.cs | CFGLibTest/RegressionTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using CFGLib;
namespace CFGLibTest {
[TestClass]
public class RegressionTests {
[TestMethod]
public void TestHugeWeights() {
var ntproductions = new List<BaseProduction> {
CFGParser.Production(@"<S> -> <A>... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using CFGLib;
namespace CFGLibTest {
[TestClass]
public class RegressionTests {
[TestMethod]
public void TestHugeWeights() {
// S -> aSa | bSb | ε
var ntproductions = new List<BaseProduction> {
CFGParse... | mit | C# |
1ecb0b9668743215fd7b7227c97467ebdd189ccb | update xamarin sample | ABaboshin/FrequentDataMining | Xamarin/FrequentDataMining.XamarinSample/FrequentDataMining.XamarinSample/Controllers/AnalyzeViewController.cs | Xamarin/FrequentDataMining.XamarinSample/FrequentDataMining.XamarinSample/Controllers/AnalyzeViewController.cs | // MIT License.
// (c) 2015, Andrey Baboshin
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using FrequentDataMining.AgrawalFaster;
using FrequentDataMining.FPGrowth;
using SamplesCommon;
using UIKit;
namespace FrequentDataMining.XamarinSample
{
public partial class AnalyzeView... | // MIT License.
// (c) 2015, Andrey Baboshin
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using FrequentDataMining.AgrawalFaster;
using FrequentDataMining.FPGrowth;
using SamplesCommon;
using UIKit;
namespace FrequentDataMining.XamarinSample
{
public partial class AnalyzeViewC... | mit | C# |
f2436f795d99ce3b6bb9275106a67167f70eee68 | Update Restaurant entity | IliaAnastassov/OdeToFood,IliaAnastassov/OdeToFood | OdeToFood/Entities/Restaurant.cs | OdeToFood/Entities/Restaurant.cs | using System.ComponentModel.DataAnnotations;
namespace OdeToFood.Entities
{
public enum CuisineType
{
None,
Italian,
Franch,
Japanese,
American
}
public class Restaurant
{
public int Id { get; set; }
[Required(AllowEmptyStrings = false, Err... | namespace OdeToFood.Entities
{
public enum CuisineType
{
None,
Italian,
Franch,
Japanese,
American
}
public class Restaurant
{
public int Id { get; set; }
public string Name { get; set; }
public CuisineType Cuisine { get; set; }
... | mit | C# |
e6008a2fa849d8c82d89144cc1c186cffb5f820e | tweak log | angeldnd/dap.core.csharp | Scripts/DapCore/core_/Factory.cs | Scripts/DapCore/core_/Factory.cs | using System;
namespace angeldnd.dap {
public static class Factory {
private static readonly Vars _Factories = new Vars(Env.Instance, "Factories");
public static bool Register<T>(string type) where T : class, IObject {
return Register(type, typeof(T));
}
public static ... | using System;
namespace angeldnd.dap {
public static class Factory {
private static readonly Vars _Factories = new Vars(Env.Instance, "Factories");
public static bool Register<T>(string type) where T : class, IObject {
return Register(type, typeof(T));
}
public static ... | mit | C# |
b787b57eb33f8dcf651bcc7968cb1ddd518210f2 | Revert "Minor performance improvement (cachine serialized objects)" | Siccity/UnityNodeEditorCore | Scripts/Editor/NodeEditorBase.cs | Scripts/Editor/NodeEditorBase.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEditor;
namespace XNodeEditor.Internal {
/// <summary> Handles caching of custom editor classes and their target types. Accessible with GetEditor(Type type) </summary>
public class NodeEd... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEditor;
namespace XNodeEditor.Internal {
/// <summary> Handles caching of custom editor classes and their target types. Accessible with GetEditor(Type type) </summary>
public class NodeEd... | mit | C# |
a1d436afcfd931214646ebfa4fa5e42acb3c503e | Update SignIn.cshtml | Azure-Samples/active-directory-dotnet-demo-tdlr,Azure-Samples/active-directory-dotnet-demo-tdlr,AzureADSamples/azureroadshow-web,AzureADSamples/azureroadshow-web,AzureADSamples/azureroadshow-web,Azure-Samples/active-directory-dotnet-demo-tdlr | TDLR/Views/Account/SignIn.cshtml | TDLR/Views/Account/SignIn.cshtml |
@{
ViewBag.Title = "SignIn";
}
@Styles.Render("~/Content/signin")
<h2>SignIn</h2>
<div class="container-fluid">
<div class="row">
<center>
<div class="panel panel-default">
<div class="panel-body">
<p class="brand">tdlr;</p>
<form r... |
@{
ViewBag.Title = "SignIn";
}
@Styles.Render("~/Content/signin")
<h2>SignIn</h2>
<div class="container-fluid">
<div class="row">
<center>
<div class="panel panel-default">
<div class="panel-body">
<p class="brand">tdlr;</p>
<form r... | unknown | C# |
a6cc28d984f28fcda18c1ff25aaf9f6c87e58c5a | test compile module must specify parse options for langversion to work too | StackExchange/StackExchange.Precompilation,StackExchange/StackExchange.Precompilation | Test.Module/TestCompileModule.cs | Test.Module/TestCompileModule.cs | using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using StackExchange.Precompilation;
namespace Test.Module
{
public class TestCompileModule : ICompileModule
{
public void BeforeCompile(BeforeCompileContext context)
... | using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using StackExchange.Precompilation;
namespace Test.Module
{
public class TestCompileModule : ICompileModule
{
public void BeforeCompile(BeforeCompileContext context)
... | mit | C# |
948fba37a213f43b341f5c06e8b3c5453c348544 | Clean up | ProfBird/CS295-Demos,ProfBird/CS295-Demos,ProfBird/CS295-Demos,ProfBird/CS295-Demos | Tic-Tac-Toe/TicTacToe/Startup.cs | Tic-Tac-Toe/TicTacToe/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Tic_Tac_Toe
{
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configurati... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace Tic_Tac_Toe
{
public class Startup
{
... | mit | C# |
e53da8d5072aaf95913ad1da187aae8c43679e33 | Update App.xaml.cs | Althain2/CustomPrintScreen | CustomPrintScreen/App.xaml.cs | CustomPrintScreen/App.xaml.cs | using System.Windows;
namespace CustomPrintScreen
{
/// <summary>
/// Logika interakcji dla klasy App.xaml
/// </summary>
public partial class App : Application
{
}
}
| using System;
using System.Windows;
using System.Threading;
using System.Windows.Threading;
namespace CustomPrintScreen
{
public partial class App : Application
{
private MainWindow window;
public App(KeyboardHook keyboardHook)
{
if (keyboardHook == null)
... | mit | C# |
2d59b5943b354ec5b0c23bb4f55e7cf4fe3f5c50 | Remove obsolete warning | clement911/ShopifySharp,nozzlegear/ShopifySharp | ShopifySharp/Entities/OrderRisk.cs | ShopifySharp/Entities/OrderRisk.cs | using Newtonsoft.Json;
using System;
namespace ShopifySharp
{
/// <summary>
/// An object representing a Shopify order risk.
/// </summary>
public class OrderRisk : ShopifyObject
{
/// <summary>
/// Use this flag when a fraud check is accompanied with a call to the Orders API to can... | using Newtonsoft.Json;
using System;
namespace ShopifySharp
{
/// <summary>
/// An object representing a Shopify order risk.
/// </summary>
public class OrderRisk : ShopifyObject
{
/// <summary>
/// Use this flag when a fraud check is accompanied with a call to the Orders API to can... | mit | C# |
3ccf57accca0cbb4b5945ecdb8c7bf357515f180 | fix android bug | mgj/fetcher,mgj/fetcher | Fetcher.Droid/Services/FetcherWebService.cs | Fetcher.Droid/Services/FetcherWebService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using artm.Fetcher.Core.Services;
using Square.OkHttp;
using artm.Fetcher.Core.Models;
namespace artm.Fet... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using artm.Fetcher.Core.Services;
using Square.OkHttp;
using artm.Fetcher.Core.Models;
namespace artm.Fet... | apache-2.0 | C# |
bbbb04ce22bef3f83990bd11745774441426674e | fix unused var error on mono | Liwoj/Metrics.NET,Recognos/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET | Src/Metrics.TestConsole/Program.cs | Src/Metrics.TestConsole/Program.cs |
using System;
using Metrics.Sampling;
using Metrics.Utils;
namespace Metrics.TestConsole
{
class Program
{
static void Main(string[] args)
{
Metric.Config.WithHttpEndpoint(@"http://localhost:1234/");
var maxValue = TimeUnit.Hours.Convert(TimeUnit.Nanoseconds, 1);
... |
using System;
using Metrics.Sampling;
using Metrics.Utils;
namespace Metrics.TestConsole
{
class Program
{
static void Main(string[] args)
{
Metric.Config.WithHttpEndpoint(@"http://localhost:1234/");
var maxValue = TimeUnit.Hours.Convert(TimeUnit.Nanoseconds, 1);
... | apache-2.0 | C# |
49ca2e558bca44548eef95aff42eab5d5c28c728 | Rename method | dirkrombauts/SpecLogLogoReplacer | UI/ViewModel/SpecLogTransformer.cs | UI/ViewModel/SpecLogTransformer.cs | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO.Abstractions;
namespace SpecLogLogoReplacer.UI.ViewModel
{
public class SpecLogTransformer : ISpecLogTransformer
{
private readonly IFileSystem fileSystem;
public SpecLogTransformer()
: this (new FileSystem())
{
... | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO.Abstractions;
namespace SpecLogLogoReplacer.UI.ViewModel
{
public class SpecLogTransformer : ISpecLogTransformer
{
private readonly IFileSystem fileSystem;
public SpecLogTransformer()
: this (new FileSystem())
{
... | isc | C# |
649d4093e0d278844f9f34b0fd3dbe7f1b2395ce | fix code style | AzureDay/2016-WebSite,AzureDay/2016-WebSite | TeamSpark.AzureDay.WebSite.Host/Views/Profile/My.cshtml | TeamSpark.AzureDay.WebSite.Host/Views/Profile/My.cshtml | @model TeamSpark.AzureDay.WebSite.Host.Models.Profile.MyProfileModel
<div class="boxedcontent">
@Html.Action("Header", "Layout")
<h1>Личный кабинет</h1>
<form method="POST" data-bind="submit: showModal">
<input name="email" readonly="readonly" disabled="disabled" value="@Model.Email"/>
<input name="firstNa... | @model TeamSpark.AzureDay.WebSite.Host.Models.Profile.MyProfileModel
<div class="boxedcontent">
@Html.Action("Header", "Layout")
<h1>Личный кабинет</h1>
<form method="POST" data-bind="submit: showModal">
<input name="email" readonly="readonly" disabled="disabled" value="@Model.Email" />
<input name="firstN... | mit | C# |
b1a3027edd578aaf986b328c9f2241fb4869d678 | set accurancy | atabaksahraei/ifn661 | healthbook/healthbook/xBeacon/Entity/xBeacon.cs | healthbook/healthbook/xBeacon/Entity/xBeacon.cs | using System;
namespace xBeacons
{
public class xBeacon
{
public string UUID { get; set; }
public int Major { get; set; }
public int Minor { get; set; }
public double Accuracy { get; private set; }
public ProximityType Proximity{ get; private set; }
public xBeacon ()
{
}
public xBeacon (str... | using System;
namespace xBeacons
{
public class xBeacon
{
public string UUID { get; set; }
public int Major { get; set; }
public int Minor { get; set; }
public double Accuracy { get; private set; }
public ProximityType Proximity{ get; private set; }
public xBeacon ()
{
}
public xBeacon (str... | mit | C# |
ad6b850652ca5c1e0dd8c944ea557287efdea130 | Update ETagComparerTests.cs | JonasSamuelsson/Handyman | src/Handyman.AspNetCore/test/Handyman.AspNetCore.Tests/ETagComparerTests.cs | src/Handyman.AspNetCore/test/Handyman.AspNetCore.Tests/ETagComparerTests.cs | using Shouldly;
using System.Collections.Generic;
using Xunit;
namespace Handyman.AspNetCore.Tests
{
public class ETagComparerTests
{
[Theory, MemberData(nameof(GetShouldCompareETagsParams))]
public void ShouldCompareETags(string eTag1, string eTag2, bool result)
{
ETagComp... | using Shouldly;
using System.Collections.Generic;
using Xunit;
namespace Handyman.AspNetCore.Tests
{
public class ETagComparerTests
{
[Theory, MemberData(nameof(GetShouldCompareETagsParams))]
public void ShouldCompareETags(string eTag1, string eTag2, bool result)
{
ETagComp... | mit | C# |
fa4777d568b864285aac5d9423914ee1b87a9e55 | Update RavenDB connection string name | jrusbatch/compilify,jrusbatch/compilify,vendettamit/compilify,vendettamit/compilify | Web/Infrastructure/DependencyInjection/RavenDbModule.cs | Web/Infrastructure/DependencyInjection/RavenDbModule.cs | using Autofac;
using Autofac.Integration.Mvc;
using Raven.Client;
using Raven.Client.Document;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RavenDbModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register(c =... | using Autofac;
using Autofac.Integration.Mvc;
using Raven.Client;
using Raven.Client.Document;
namespace Compilify.Web.Infrastructure.DependencyInjection
{
public class RavenDbModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.Register(c =... | mit | C# |
0829b19d3eafdfe4788019daf2713bf0d1a9f771 | Update src/lib/Microsoft.Fx.Portability/Reporting/ObjectModel/MissingMemberInfo.cs | mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport | src/lib/Microsoft.Fx.Portability/Reporting/ObjectModel/MissingMemberInfo.cs | src/lib/Microsoft.Fx.Portability/Reporting/ObjectModel/MissingMemberInfo.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability.ObjectModel;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Fx.Portability.Reporting.ObjectMode... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability.ObjectModel;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Fx.Portability.Reporting.ObjectMode... | mit | C# |
5d87d5c0449002611e59448d2353570a14e754c0 | Stop instructions on server example. | msoler8785/ExoMail | ExoMail.Smtp.Server/Program.cs | ExoMail.Smtp.Server/Program.cs | using ExoMail.Smtp.Server;
using ExoMail.Smtp.Interfaces;
using ExoMail.Smtp.Network;
using ExoMail.Smtp.Server.Authentication;
using ExoMail.Smtp.Server.IO;
using ExoMail.Smtp.Server.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using ... | using ExoMail.Smtp.Server;
using ExoMail.Smtp.Interfaces;
using ExoMail.Smtp.Network;
using ExoMail.Smtp.Server.Authentication;
using ExoMail.Smtp.Server.IO;
using ExoMail.Smtp.Server.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography.X509Certificates;
using ... | mit | C# |
3f44f5c60e8fca9f82abbb37d03b359500214134 | Remove migration log output | NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,2yangk23/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,johnneijzen/osu,naoey/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,DrabWeb/osu... | osu.Game/Migrations/20180621044111_UpdateTaikoDefaultBindings.cs | osu.Game/Migrations/20180621044111_UpdateTaikoDefaultBindings.cs | using Microsoft.EntityFrameworkCore.Migrations;
using osu.Framework.Logging;
namespace osu.Game.Migrations
{
public partial class UpdateTaikoDefaultBindings : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("DELETE FROM KeyBinding WH... | using Microsoft.EntityFrameworkCore.Migrations;
using osu.Framework.Logging;
namespace osu.Game.Migrations
{
public partial class UpdateTaikoDefaultBindings : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("DELETE FROM KeyBinding WH... | mit | C# |
5dbe1e7fa25d21e431763e3b69ec0e7c3d943e81 | Update SuperReducedString.cs | shreeharshas/hackerrank,shreeharshas/hackerrank,shreeharshas/hackerrank,shreeharshas/Algorithms,shreeharshas/Algorithms,shreeharshas/Algorithms,shreeharshas/Algorithms,shreeharshas/hackerrank,shreeharshas/Algorithms | hackerrank/SuperReducedString.cs | hackerrank/SuperReducedString.cs | /*Based on hackerrank question at https://www.hackerrank.com/challenges/reduced-string */
using System;
using System.Collections.Generic;
using System.IO;
class Solution {
static void Main(String[] args) {
string s = Console.ReadLine();
Console.WriteLine(new Solution().reduce(s));
}
pr... | /*Interim version, to be updated*/
/*Based on hackerrank question at https://www.hackerrank.com/challenges/reduced-string */
using System;
using System.Collections.Generic;
using System.IO;
class Solution {
static void Main(String[] args) {
string s = Console.ReadLine();
Console.WriteLine(new Solut... | mit | C# |
d5ab65a993b24ea1350082ce5fe43c6a3dc1a738 | add method to repository interface | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance/Data/IExpiredFundsRepository.cs | src/SFA.DAS.EmployerFinance/Data/IExpiredFundsRepository.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using SFA.DAS.EmployerFinance.Models.ExpiredFunds;
namespace SFA.DAS.EmployerFinance.Data
{
public interface IExpiredFundsRepository
{
Task Create(IEnumerable<ExpiredFund> expiredFunds);
}
}
|
namespace SFA.DAS.EmployerFinance.Data
{
public interface IExpiredFundsRepository
{
}
}
| mit | C# |
f7e2b5e355bde93fcac0fe33ae276bb8698243ba | Add cert-test action to help diagnose issues in azure | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | using System;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web.Mvc;
using Microsoft.Azure;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionR... | using System.Web.Mvc;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionResult Index()
{
return View();
}
public ActionResult CatchAll(string pa... | mit | C# |
db3613461e7720a6a3c98c31f6ef745e28a322b5 | Fix compile bug in C# test. | timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,scalien/scaliendb,scalien/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,scalien/scaliendb | src/Application/Client/CSharp/ScalienClientTest/Test.cs | src/Application/Client/CSharp/ScalienClientTest/Test.cs | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.Serialization.Json;
namespace Scalien
{
public class Test
{
// test entry point
public static void Main(string[] args)
{
//Client.SetTrace(true);
string[] controll... | using System;
using System.IO;
using System.Random;
using System.Collections.Generic;
using System.Runtime.Serialization.Json;
namespace Scalien
{
public class Test
{
// test entry point
public static void Main(string[] args)
{
//Client.SetTrace(true);
... | agpl-3.0 | C# |
2b0a33b185f1a1babd7d57c8ec260c529206f851 | 优化参数集合的代码。 :pager: | Zongsoft/Zongsoft.Data | src/Common/Expressions/ParameterExpressionCollection.cs | src/Common/Expressions/ParameterExpressionCollection.cs | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | lgpl-2.1 | C# |
13ca406f16b98551cc2613699fdb289d876be9fd | Test commit | optivem/optivem-commons-cs,optivem/immerest | src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs | src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs | using System;
using System.Globalization;
namespace Optivem.Commons.Parsing.Default
{
public abstract class BaseNumberParser<T> : BaseParser<T>
{
public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null)
{
NumberStyles = numberStyles;
... | using System;
using System.Globalization;
namespace Optivem.Commons.Parsing.Default
{
public abstract class BaseNumberParser<T> : BaseParser<T>
{
public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null)
{
NumberStyles = numberStyles;
... | apache-2.0 | C# |
5a490414c4483fc6065eaeefb31375a2f4d8d56c | Fix stack overflow in character | ethanmoffat/EndlessClient | EOLib/Data/BLL/Character.cs | EOLib/Data/BLL/Character.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EOLib.Net.API;
namespace EOLib.Data.BLL
{
public class Character : ICharacter
{
public string Name { get; private set; }
public int ID { get; private set; }
... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EOLib.Net.API;
namespace EOLib.Data.BLL
{
public class Character : ICharacter
{
public string Name { get; private set; }
public int ID { get; private set; }
... | mit | C# |
76a3f3bffa07054032f6a7e07ab3b10281671bce | Remove GetResult(Task) | Tyrrrz/Extensions | Extensions/Ext.Threading.cs | Extensions/Ext.Threading.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using System.Threading.Tasks;
namespace Tyrrrz.Extensions
{
public static partial class Ext
{
/// <summary>
/// Continues execution without waiting for the task to complete
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using System.Threading.Tasks;
namespace Tyrrrz.Extensions
{
public static partial class Ext
{
/// <summary>
/// Continues execution without waiting for the task to complete
/// </summary>
... | mit | C# |
740177c019a5552fdbb54140c8d2491b8efc839a | Implement get music | TentacleGuitar/Server,TentacleGuitar/Server | src/TentacleGuitar.Server/Controllers/HomeController.cs | src/TentacleGuitar.Server/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TentacleGuitar.Server.Models;
namespace TentacleGuitar.Server.Controllers
{
public class HomeController : BaseController
{
[HttpPost("/SignIn")]
public IAction... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using TentacleGuitar.Server.Models;
namespace TentacleGuitar.Server.Controllers
{
public class HomeController : BaseController
{
[HttpPost("/SignIn")]
public IAction... | mit | C# |
fc8c194f825b5ccb4785d4323891d56a3b42cfbe | Add roles | EmilMitev/ASP.NET-MVC-Course-Project,EmilMitev/ASP.NET-MVC-Course-Project,EmilMitev/ASP.NET-MVC-Course-Project | Source/StackFaceSystem/Data/StackFaceSystem.Data/Migrations/Configuration.cs | Source/StackFaceSystem/Data/StackFaceSystem.Data/Migrations/Configuration.cs | namespace StackFaceSystem.Data.Migrations
{
using System.Data.Entity.Migrations;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Models;
using StackFaceSystem.Common;
public sealed class Configuration : DbMigrationsConfiguration<Ap... | namespace StackFaceSystem.Data.Migrations
{
using System.Data.Entity.Migrations;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Models;
using StackFaceSystem.Common;
public sealed class Configuration : DbMigrationsConfiguration<Ap... | mit | C# |
a8f3ba6531d7ba85660da87b8a16756ad5b7af97 | add link to Brackey's tutorial in Attractor.cs | snackpackgames/Rubbley | Assets/Scripts/Attractor.cs | Assets/Scripts/Attractor.cs | // Adapted from https://github.com/Brackeys/Gravity-Simulation-Tutorial
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Attractor : MonoBehaviour
{
public const float G = 667.4f;
public Rigidbody body;
public Rigidbody gravigaTarget;
public float gravigaMul... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Attractor : MonoBehaviour
{
public const float G = 667.4f;
public Rigidbody body;
public Rigidbody gravigaTarget;
public float gravigaMultiplier = 1.0f;
void FixedUpdate()
{
Attractor[] attract... | mit | C# |
2919265456fcd51bb012545d306fb27fd406f4da | Remove an extra space. | CityofSantaMonica/Orchard.ParkingData | Models/SensorEventSettings.cs | Models/SensorEventSettings.cs | using Orchard.ContentManagement;
namespace CSM.ParkingData.Models
{
public class SensorEventsSettings : ContentPart
{
public double DefaultLifetimeLength
{
get { return this.Retrieve(x => x.DefaultLifetimeLength); }
set { this.Store(x => x.DefaultLifetimeLength, value);... | using Orchard.ContentManagement;
namespace CSM.ParkingData.Models
{
public class SensorEventsSettings : ContentPart
{
public double DefaultLifetimeLength
{
get { return this.Retrieve(x => x.DefaultLifetimeLength); }
set { this.Store(x => x.DefaultLifetimeLength, value)... | mit | C# |
c75becc72f3a470f97cf35047a75d0e4fd15d142 | fix build after API changes | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CSharp/Daemon/Stages/PerformanceCriticalCodeAnalysis/CallGraph/StringBasedInvocationEdgeProvider.cs | resharper/resharper-unity/src/CSharp/Daemon/Stages/PerformanceCriticalCodeAnalysis/CallGraph/StringBasedInvocationEdgeProvider.cs | using JetBrains.Application;
using JetBrains.ReSharper.Daemon.CallGraph;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Psi.Resolve;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.Performance... | using JetBrains.Application;
using JetBrains.ReSharper.Daemon.CallGraph;
using JetBrains.ReSharper.Daemon.CSharp.CallGraph;
using JetBrains.ReSharper.Daemon.UsageChecking;
using JetBrains.ReSharper.Plugins.Unity.CSharp.Psi.Resolve;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrain... | apache-2.0 | C# |
c08abbe3527fca16b55df53a596164fac97031d4 | Fix potential null ref in RuntimeInformation.FrameworkDescription (#40329) | wtgodbe/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,ericstj/corefx,e... | src/System.Runtime.InteropServices.RuntimeInformation/src/System/Runtime/InteropServices/RuntimeInformation/RuntimeInformation.cs | src/System.Runtime.InteropServices.RuntimeInformation/src/System/Runtime/InteropServices/RuntimeInformation/RuntimeInformation.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.Reflection;
namespace System.Runtime.InteropServices
{
public static partial class RuntimeInformat... | // 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.Reflection;
using System.Diagnostics;
namespace System.Runtime.InteropServices
{
public static par... | mit | C# |
781ae0b08d6301e46509d08e4617b1d304edb4c2 | extend extensions | ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate | src/Abp/DynamicEntityParameters/Extensions/EntityDynamicParameterManagerExtensions.cs | src/Abp/DynamicEntityParameters/Extensions/EntityDynamicParameterManagerExtensions.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Domain.Entities;
namespace Abp.DynamicEntityParameters.Extensions
{
public static class EntityDynamicParameterManagerExtensions
{
public static List<EntityDynamicParameter> GetAll<TEntity, TPrimaryKey>(this IEntityDynamicParamet... | using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Domain.Entities;
namespace Abp.DynamicEntityParameters.Extensions
{
public static class EntityDynamicParameterManagerExtensions
{
public static List<EntityDynamicParameter> GetAll<TEntity, TPrimaryKey>(this EntityDynamicParamete... | mit | C# |
526016f07b4000e35e64501962d614a2c6074481 | Add a parameterless constructor to InteractableOnClickReceiver | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Features/UX/Interactable/Scripts/Events/InteractableOnClickReceiver.cs | Assets/MRTK/SDK/Features/UX/Interactable/Scripts/Events/InteractableOnClickReceiver.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine.Events;
namespace Microsoft.MixedReality.Toolkit.UI
{
/// <summary>
/// A basic receiver for detecting clicks
/// </summary>
public class InteractableOnClickReceive... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine.Events;
namespace Microsoft.MixedReality.Toolkit.UI
{
/// <summary>
/// A basic receiver for detecting clicks
/// </summary>
public class InteractableOnClickReceive... | mit | C# |
3718277e10f8fff0b98e7081ac486586f9c5d67f | Add basic hello server version | avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors | csharp/Hello/HelloServer/Program.cs | csharp/Hello/HelloServer/Program.cs | using System;
using System.Threading.Tasks;
using Grpc.Core;
using Hello;
namespace HelloServer
{
class HelloServerImpl : HelloService.HelloServiceBase
{
// Server side handler of the SayHello RPC
public override Task<HelloResp> SayHello(HelloReq request, ServerCallContext context)
{
return Task.FromResult... | using System;
namespace HelloServer
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
| mit | C# |
3377b0144bf46a01503dfeac7552aec0b58cd4c5 | Fix Bug #886512, from "Open Images" to "Images" | jakeclawson/Pinta,PintaProject/Pinta,PintaProject/Pinta,Fenex/Pinta,PintaProject/Pinta,Fenex/Pinta,jakeclawson/Pinta,Mailaender/Pinta,Mailaender/Pinta | Pinta/Pads/OpenImagesPad.cs | Pinta/Pads/OpenImagesPad.cs | //
// OpenImagesPad.cs
//
// Author:
// Cameron White <cameronwhite91@gmail.com>
//
// Copyright (c) 2011 2011
//
// 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 restric... | //
// OpenImagesPad.cs
//
// Author:
// Cameron White <cameronwhite91@gmail.com>
//
// Copyright (c) 2011 2011
//
// 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 restric... | mit | C# |
dc5ee4c5a7b6f248685241e79c816a856863bbd5 | Update test cases | ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp | source/Htc.Vita.Core.Tests/TestCase.UsbManager.cs | source/Htc.Vita.Core.Tests/TestCase.UsbManager.cs | using System;
using Htc.Vita.Core.IO;
using Htc.Vita.Core.Runtime;
using Xunit;
namespace Htc.Vita.Core.Tests
{
public partial class TestCase
{
[Fact]
public void UsbManager_Default_0_GetDevices()
{
if (!Platform.IsWindows)
{
return;
... | using System;
using Htc.Vita.Core.IO;
using Htc.Vita.Core.Runtime;
using Xunit;
namespace Htc.Vita.Core.Tests
{
public partial class TestCase
{
[Fact]
public void UsbManager_Default_0_GetDevices()
{
if (!Platform.IsWindows)
{
return;
... | mit | C# |
6231e5838393071f30a62db12c4f32c66b777190 | Fix issue with delete query | dawoe/umbraco-nexu,dawoe/umbraco-nexu,dawoe/umbraco-nexu | src/Our.Umbraco.Nexu.Core/Repositories/NexuRelationRepository.cs | src/Our.Umbraco.Nexu.Core/Repositories/NexuRelationRepository.cs | namespace Our.Umbraco.Nexu.Core.Repositories
{
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using global::Umbraco.Core;
using global::Umbraco.Core.Persistence;
using global::Umbraco.Core.Scoping;
using NPoco;
using Our.Umbraco.Nexu.Common.Interfa... | namespace Our.Umbraco.Nexu.Core.Repositories
{
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using global::Umbraco.Core;
using global::Umbraco.Core.Persistence;
using global::Umbraco.Core.Scoping;
using NPoco;
using Our.Umbraco.Nexu.Common.Interfa... | mit | C# |
14b6c043d417eda094457873f90430afb88adcff | Remove forgotten not needed line | xabikos/aspnet-webpack | src/Webpack/WebpackExtenstions.cs | src/Webpack/WebpackExtenstions.cs | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using System;
using System.Diagnostics;
using System.IO;
namespace Webpack {
public static class WebpackExtensions {
private const string webpack = "webpack";
private const string webpacDevServer = "webpack-dev-server";
public static IApplicatio... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using System;
using System.Diagnostics;
using System.IO;
namespace Webpack {
public static class WebpackExtensions {
private const string webpack = "webpack";
private const string webpacDevServer = "webpack-dev-server";
public static IApplicatio... | mit | C# |
74f445dac91d9089788068c228613444b8573340 | fix model path | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/Components/TextComponent.cs | Dashen/Components/TextComponent.cs | namespace Dashen.Components
{
public class TextModel : Model
{
public string Text { get; set; }
}
public class TextComponent : Component<TextModel>
{
public override string GetJsx()
{
return @"{
render: function() {
return (
<p>Test: {this.props.model.Text} :End</p>
);
}... | namespace Dashen.Components
{
public class TextModel : Model
{
public string Text { get; set; }
}
public class TextComponent : Component<TextModel>
{
public override string GetJsx()
{
return @"{
render: function() {
return (
<p>{this.props.Text}</p>
);
}
}";
}
}
}... | lgpl-2.1 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.