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 |
|---|---|---|---|---|---|---|---|---|
d41692b9da6c48df8fbacad7791f9ca2155ac937 | Use CheckStatus helper in AdjustableArrowCap.Unix.cs. | ericstj/corefx,rubo/corefx,Ermiar/corefx,Ermiar/corefx,zhenlan/corefx,wtgodbe/corefx,ViktorHofer/corefx,MaggieTsang/corefx,ravimeda/corefx,seanshpark/corefx,wtgodbe/corefx,parjong/corefx,nchikanov/corefx,the-dwyer/corefx,ericstj/corefx,mazong1123/corefx,JosephTremoulet/corefx,jlin177/corefx,MaggieTsang/corefx,BrennanCo... | src/System.Drawing.Common/src/System/Drawing/Drawing2D/AdjustableArrowCap.Unix.cs | src/System.Drawing.Common/src/System/Drawing/Drawing2D/AdjustableArrowCap.Unix.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.Runtime.InteropServices;
namespace System.Drawing.Drawing2D
{
public sealed partial class Adjustab... | // 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.Runtime.InteropServices;
namespace System.Drawing.Drawing2D
{
public sealed partial class Adjustab... | mit | C# |
a7ffd72dc58eb231365b58bb650e961f3cc0e3de | Remove unneeded method | ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework | osu.Framework/Input/StateChanges/JoystickAxisInput.cs | osu.Framework/Input/StateChanges/JoystickAxisInput.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Input.StateChanges.Events;
using osu.Framework.Input.States;
using osu.Framework.Utils;
namespac... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Input.StateChanges.Events;
using osu.Framework.Input.States;
using osu.Framework.Utils;
namespac... | mit | C# |
de8d05bb0cbc64c80877ca2ee98a5388ff56c037 | Remove unnecessary setting of sample name to same value | smoogipooo/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,ppy/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,DrabWeb/osu,EVAST9919/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,peppy/osu,Useless... | osu.Game/Beatmaps/ControlPoints/SampleControlPoint.cs | osu.Game/Beatmaps/ControlPoints/SampleControlPoint.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.Game.Audio;
namespace osu.Game.Beatmaps.ControlPoints
{
public class SampleControlPoint : ControlPoint
{
public const string DEFAULT_BANK = "n... | // 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.Game.Audio;
namespace osu.Game.Beatmaps.ControlPoints
{
public class SampleControlPoint : ControlPoint
{
public const string DEFAULT_BANK = "n... | mit | C# |
5df5f0b88f7d7de9d16c6dd44c0196a53bf71783 | Add more IncludeIf extensions for EF Core | luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,fengyeju/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,virtualcca/aspnetboilerplate,ilyhacker/aspnetboilerplate,zclmoon/aspnetboilerplate,zclmoon... | src/Abp.EntityFrameworkCore/EntityFrameworkCore/Extensions/QueryableExtensions.cs | src/Abp.EntityFrameworkCore/EntityFrameworkCore/Extensions/QueryableExtensions.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query;
namespace Abp.EntityFrameworkCore.Extensions
{
/// <summary>
/// Extension methods for <see cref="IQueryable"/> and <see cref="IQueryable{T}"/>.
/// </summary>
... | using System;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore;
namespace Abp.EntityFrameworkCore.Extensions
{
/// <summary>
/// Extension methods for <see cref="IQueryable"/> and <see cref="IQueryable{T}"/>.
/// </summary>
public static class QueryableExtensions
... | mit | C# |
d980f318229f9e37b3269dcef2cde12fac423b34 | Update so it's once again in line with the interface and preferred paradigm (RegisterTrigger). | IvionSauce/MeidoBot | plugin.skeleton.cs | plugin.skeleton.cs | using System.Collections.Generic;
// Using directives for plugin use.
using MeidoCommon;
using System.ComponentModel.Composition;
// IMeidoHook wants you to implement `Name`, `Version`, `Help` and the `Stop` method.
[Export(typeof(IMeidoHook))]
public class MyClass : IMeidoHook
{
public string Name
{
g... | using System.Collections.Generic;
// Using directives for plugin use.
using MeidoCommon;
using System.ComponentModel.Composition;
[Export(typeof(IMeidoHook))]
public class MyClass : IMeidoHook
{
readonly IIrcComm irc;
public string Prefix { get; set; }
public string Name
{
get { return "MyCla... | bsd-2-clause | C# |
9d5d6b54fd1f17a07335f082e36dbc49c9cc2233 | Fix a bug caught by Zhao. | roice3/Honeycombs | code/R3/R3.Core/Math/Utils.cs | code/R3/R3.Core/Math/Utils.cs | namespace R3.Core
{
using R3.Geometry;
public static class Tolerance
{
//public static readonly double Threshold = 0.0000001;
public static readonly double Threshold = 0.000001; // Made less strict to avoid some problems near Poincare boundary.
public static bool Equal( double d1, double d2 )
{
return ... | namespace R3.Core
{
using R3.Geometry;
public static class Tolerance
{
//public static readonly double Threshold = 0.0000001;
public static readonly double Threshold = 0.000001; // Made less strict to avoid some problems near Poincare boundary.
public static bool Equal( double d1, double d2 )
{
return ... | mit | C# |
e1490a3ad5b42e14d5793f9b487bf7865e1bc5d8 | Revert "CV-500 Added ApprenticeshipCompleted to UserAction" | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Messages/Events/EntityStateChangedEvent.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Messages/Events/EntityStateChangedEvent.cs | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Messages.Events
{
public class EntityStateChangedEvent
{
public Guid CorrelationId { get; set; }
public UserAction StateChangeType { get; set; }
public string EntityType { get; set; }
public long E... | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Messages.Events
{
public class EntityStateChangedEvent
{
public Guid CorrelationId { get; set; }
public UserAction StateChangeType { get; set; }
public string EntityType { get; set; }
public long E... | mit | C# |
6770a927769865424c377deab30d00d300ba743f | Add Android SDK Build Tools Version | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/GooglePlaces/build.cake | Android/GooglePlaces/build.cake |
#load "../../common.cake"
var TARGET = Argument ("t", Argument ("target", "Default"));
var PLACES_VERSION = "1.1.0";
var PLACES_NUGET_VERSION = PLACES_VERSION;
var PLACES_URL = $"https://maven.google.com/com/google/android/libraries/places/places/{PLACES_VERSION}/places-{PLACES_VERSION}.aar";
var ANDROID_SDK_BUILD_T... |
#load "../../common.cake"
var TARGET = Argument ("t", Argument ("target", "Default"));
var PLACES_VERSION = "1.1.0";
var PLACES_NUGET_VERSION = PLACES_VERSION;
var PLACES_URL = $"https://maven.google.com/com/google/android/libraries/places/places/{PLACES_VERSION}/places-{PLACES_VERSION}.aar";
Task ("externals")
.W... | mit | C# |
08590a4c31dfc7d4a767f1e6f672ba54af92d867 | Change ctor parameter from byte to ArraySegment<byte> | mstrother/BmpListener | BmpListener/Bgp/IPAddrPrefix.cs | BmpListener/Bgp/IPAddrPrefix.cs | using System;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
public IPAddrPrefix(ArraySegment<byte> data, AddressFamily afi = AddressFamily.IP)
{
Length = data.Array[data.Offset];
var ipBytes = new byte[ByteLength - 1];
Array.Copy(... | using System;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
public IPAddrPrefix(byte[] data, AddressFamily afi = AddressFamily.IP)
{
DecodeFromBytes(data, afi);
}
public byte Length { get; private set; }
public IPAddress Prefix {... | mit | C# |
ee90d178cba5fabc0c496a0140229e18bd9b7d12 | Add a little bit of logging to CombineBenchmarks to help diagnose issue #362. | zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,nodatime/nodatime,nodatime/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,jskeet/nodatime,malcolmr/nodatime | build/CombineBenchmarks/Program.cs | build/CombineBenchmarks/Program.cs | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace CombineBenchmarks
{
/// <summary>
/// Just a tiny utility to p... | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace CombineBenchmarks
{
/// <summary>
/// Just a tiny utility to p... | apache-2.0 | C# |
1580728ff34e2d743244707285f9f685590c8685 | fix tests | ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,assaframan/MoviesRestForAppHarbor,zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,assaframan/MoviesRestForAppHarbor,assaframan/Movi... | tests/ServiceStack.Examples.Tests/MovieRestTests.cs | tests/ServiceStack.Examples.Tests/MovieRestTests.cs | using System;
using System.Collections.Generic;
using NUnit.Framework;
using ServiceStack.Examples.ServiceInterface.Support;
using ServiceStack.Examples.ServiceModel.Operations;
using ServiceStack.Examples.ServiceModel.Types;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
namespace ServiceStack.Examples.Test... | using System;
using System.Collections.Generic;
using NUnit.Framework;
using ServiceStack.Examples.ServiceInterface.Support;
using ServiceStack.Examples.ServiceModel.Operations;
using ServiceStack.Examples.ServiceModel.Types;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
namespace ServiceStack.Examples.Test... | bsd-3-clause | C# |
b0cfe7dbd998d6ea89cc339f86e101c26ccf57d4 | Fix bug in plugin loader - does not play with Shadow Copy | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | CSF.Zpt/PluginAssemblyLoader.cs | CSF.Zpt/PluginAssemblyLoader.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.IO;
using CSF.IO;
namespace CSF.Zpt
{
/// <summary>
/// Default implementation of <see cref="IPluginAssemblyLoader"/>.
/// </summary>
public class PluginAssemblyLoader : IPluginAssemblyLoader
{
/// <... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.IO;
using CSF.IO;
namespace CSF.Zpt
{
/// <summary>
/// Default implementation of <see cref="IPluginAssemblyLoader"/>.
/// </summary>
public class PluginAssemblyLoader : IPluginAssemblyLoader
{
/// <... | mit | C# |
62c42dfbfe1bd21ecf068539f11d12ce11372dbe | Remove setup wizard from integration tests | Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools | tests/Tgstation.Server.Tests/TestingServer.cs | tests/Tgstation.Server.Tests/TestingServer.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host;
using Tgstation.Server.Host.Configuration;
namespace Tgstation.Server.Tests
{
sealed clas... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host;
namespace Tgstation.Server.Tests
{
sealed class TestingServer : IServer
{
public Uri U... | agpl-3.0 | C# |
27f4b06c26481fee75f3b81ea0b7219cec82c9aa | Use conditional for applying hair clip shader (Linux only) | ethanmoffat/EndlessClient | EndlessClient/Rendering/CharacterProperties/HatRenderer.cs | EndlessClient/Rendering/CharacterProperties/HatRenderer.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 EndlessClient.Content;
using EndlessClient.Rendering.Sprites;
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using Microsoft.Xna.Framewor... | // 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 EndlessClient.Content;
using EndlessClient.Rendering.Sprites;
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using Microsoft.Xna.Framewor... | mit | C# |
3bd039b7bee23af169966322216145c7689e5f56 | Apply new constructor | Deliay/Sync,Deliay/osuSync | OtherPlugins/PPQuery/PPQuery.cs | OtherPlugins/PPQuery/PPQuery.cs | using Sync.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sync;
using Sync.Command;
using Sync.MessageFilter;
using Sync.Tools;
namespace PPQuery
{
public class PPQuery : Plugin, IFilter, ISourceOsu
{
public PPQuery() : base("PP Query", "Deliay")
... | using Sync.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sync;
using Sync.Command;
using Sync.MessageFilter;
using Sync.Tools;
namespace PPQuery
{
public class PPQuery : Plugin, IFilter, ISourceOsu
{
public const string Name = "PP Query";
... | mit | C# |
f7bb3f7d274042913c66b9dd08c6df7897a9d094 | Fix incorrect XML comment | martincostello/website,martincostello/website,martincostello/website,martincostello/website | tests/Website.Tests/Integration/IntegrationTest.cs | tests/Website.Tests/Integration/IntegrationTest.cs | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Website.Integration
{
using Xunit;
/// <summary>
/// The base class for integration tests.
/// </summa... | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Website.Integration
{
using Xunit;
/// <summary>
/// The base class for integration tests.
/// </summa... | apache-2.0 | C# |
bd0545ee67da7aa0b15ddae7ff0f937ca0a35fe7 | Fix edit page for evals | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Evaluations/Edit.cshtml | Battery-Commander.Web/Views/Evaluations/Edit.cshtml | @model Evaluation
@using (Html.BeginForm("Save", "Evaluations", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => mod... | @model Evaluation
@using (Html.BeginForm("Save", "Evaluation", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => mode... | mit | C# |
597bb1f6a907fbdead406290767f4d1ed127f536 | Fix titlebar buttons becoming blocked after viewing a pop-over view | EdiWang/UWP-CharacterMap,EdiWang/UWP-CharacterMap,EdiWang/UWP-CharacterMap | CharacterMap/CharacterMap/Helpers/TitleBarHelper.cs | CharacterMap/CharacterMap/Helpers/TitleBarHelper.cs | using CharacterMap.Controls;
using Microsoft.Toolkit.Mvvm.Messaging;
using System;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace CharacterMap.Helpers
{
[Bindable]
public class TitleBarHelper : DependencyObje... | using CharacterMap.Controls;
using Microsoft.Toolkit.Mvvm.Messaging;
using System;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace CharacterMap.Helpers
{
[Bindable]
public class TitleBarHelper : DependencyObje... | mit | C# |
b5181425de20b6d8b520bcd5bf4a02c396f8055e | fix window not closing properly | skid9000/Crunchyroll-Downloader | Crunchyroll-Downloader/Views/ProgressWindow.xaml.cs | Crunchyroll-Downloader/Views/ProgressWindow.xaml.cs | using System.ComponentModel;
using System.Windows;
using CrunchyrollDownloader.ViewModels;
namespace CrunchyrollDownloader.Views
{
/// <summary>
/// Interaction logic for download.xaml
/// </summary>
///
public partial class ProgressWindow : Window
{
private ProgressViewModel _vm;
public ProgressWindow(Pr... | using System.ComponentModel;
using System.Windows;
using CrunchyrollDownloader.ViewModels;
namespace CrunchyrollDownloader.Views
{
/// <summary>
/// Interaction logic for download.xaml
/// </summary>
///
public partial class ProgressWindow : Window
{
private ProgressViewModel _vm;
public ProgressWindow(Pr... | agpl-3.0 | C# |
d9eef3d4ccbd3d6e831e1e7698f3432a3fc84155 | update range tree | justcoding121/Algorithm-Sandbox,justcoding121/Advanced-Algorithms | Algorithm.Sandbox/DataStructures/Tree/AsRangeTree.cs | Algorithm.Sandbox/DataStructures/Tree/AsRangeTree.cs | using System;
namespace Algorithm.Sandbox.DataStructures
{
internal class AsRangeTreeNode<T> where T : IComparable
{
internal T Value => Values[0];
/// <summary>
/// Hold duplicates
/// </summary>
internal AsArrayList<T> Values { get; set; }
internal AsRangeTre... | using System;
namespace Algorithm.Sandbox.DataStructures
{
internal class AsRangeTreeNode<T> where T:IComparable
{
internal AsRangeTreeNode<T> Left { get; set; }
internal AsRangeTreeNode<T> Right { get; set; }
internal AsRangeTreeNode<T> Parent { get; set; }
}
public class As... | mit | C# |
b11a82618d23db5905c28b642a1227817b6d34a6 | Fix report references | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Reports/DscaReady.cshtml | Battery-Commander.Web/Views/Reports/DscaReady.cshtml | @model IEnumerable<Soldier>
@{
ViewBag.Title = "DSCA Roster";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Count()</span></h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>Unit</th>
<th>Soldier</th>
<th>IWQ Date</th... | @model IEnumerable<Soldier>
@{
ViewBag.Title = "DSCA Roster";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Count()</span></h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>Unit</th>
<th>Soldier</th>
<th>IWQ Date</th... | mit | C# |
52cce1f21d57d6f76421ea63b05d3878a03e301a | remove debug code | dkackman/FakeHttp | FakeHttp.NetStandard/Resources/AssemblyResources.cs | FakeHttp.NetStandard/Resources/AssemblyResources.cs | using System;
using System.IO;
using System.Reflection;
using System.Linq;
namespace FakeHttp.Resources
{
/// <summary>
/// Resources that reside in IsolatedStorage (used for store apps
/// </summary>
public sealed class AssemblyResources : IReadOnlyResources
{
private readonly Assembly _a... | using System;
using System.IO;
using System.Reflection;
using System.Linq;
namespace FakeHttp.Resources
{
/// <summary>
/// Resources that reside in IsolatedStorage (used for store apps
/// </summary>
public sealed class AssemblyResources : IReadOnlyResources
{
private readonly Assembly _a... | apache-2.0 | C# |
808214f9736e389d189ce27ed2097a760a16e1a2 | Fix Rates Test (Dash rate source switched to bitfinex) (#2324) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Dash.cs | BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Dash.cs | using NBitcoin;
namespace BTCPayServer
{
public partial class BTCPayNetworkProvider
{
public void InitDash()
{
//not needed: NBitcoin.Altcoins.Dash.Instance.EnsureRegistered();
var nbxplorerNetwork = NBXplorerNetworkProvider.GetFromCryptoCode("DASH");
Add(new... | using NBitcoin;
namespace BTCPayServer
{
public partial class BTCPayNetworkProvider
{
public void InitDash()
{
//not needed: NBitcoin.Altcoins.Dash.Instance.EnsureRegistered();
var nbxplorerNetwork = NBXplorerNetworkProvider.GetFromCryptoCode("DASH");
Add(new... | mit | C# |
e0ea775d76720c8fb8742f90f5b36156f1584a78 | fix SumSIMDTests | jackmott/LinqFaster | Tests/SIMDTests/SumSIMDTests.cs | Tests/SIMDTests/SumSIMDTests.cs | using NUnit.Framework;
using JM.LinqFaster.SIMD;
using System.Linq;
using System;
namespace Tests
{
[TestFixture]
class SumSIMDTests
{
[Test]
public void SumSIMDInts()
{
var a = Test.intArray.Sum();
var b = Test.intArray.SumS();
Assert.That(a, ... | using NUnit.Framework;
using JM.LinqFaster.SIMD;
using System.Linq;
using System;
namespace Tests
{
[TestFixture]
class SumSIMDTests
{
[Test]
public void SumSIMDInts()
{
var a = Test.intArray.Sum();
var b = Test.intArray.SumS();
Assert.That(a, ... | mit | C# |
1366d634ea334d24f6a8fcf5f520a9c044c09d8e | make tests version independent | tom-englert/TomsToolbox | TomsToolbox.Composition.Tests/MetadataReaderTest.cs | TomsToolbox.Composition.Tests/MetadataReaderTest.cs | namespace TomsToolbox.Composition.Tests
{
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using ApprovalTests;
using ApprovalTests.Reporters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
[Te... | namespace TomsToolbox.Composition.Tests
{
using System.Runtime.CompilerServices;
using ApprovalTests;
using ApprovalTests.Reporters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
[TestClass]
[UseReporter(typeof(DiffReporter))]
public class MetadataReader... | mit | C# |
8f3d4a3279b9b7a867682ac6bccd1b6ccbc2de6d | Update CrossDeviceInfo.cs | jamesmontemagno/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,tim-hoff/Xamarin.Plugins,monostefan/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins,labdogg1003/Xamarin.Plugins | DeviceInfo/DeviceInfo/DeviceInfo.Plugin/CrossDeviceInfo.cs | DeviceInfo/DeviceInfo/DeviceInfo.Plugin/CrossDeviceInfo.cs | /*
* Ported with permission from: Thomasz Cielecki @Cheesebaron
* AppId: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins
*/
//---------------------------------------------------------------------------------
// Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk)
// Licensed under the Apache License, Versio... | using DeviceInfo.Plugin.Abstractions;
using System;
namespace DeviceInfo.Plugin
{
/// <summary>
/// Cross platform DeviceInfo implemenations
/// </summary>
public class CrossDeviceInfo
{
static Lazy<IDeviceInfo> Implementation = new Lazy<IDeviceInfo>(() => CreateDeviceInfo(), System.Threading.LazyThread... | mit | C# |
be7f7448030ce1a2edadf7cfe0f904de069f3685 | Remove hard coded variable name. | NickLargen/Junctionizer | Junctionizer/UI/Columns/DependentOnFinalSizeColumn.xaml.cs | Junctionizer/UI/Columns/DependentOnFinalSizeColumn.xaml.cs | using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Junctionizer.Model;
namespace Junctionizer.UI.Columns
{
public partial class DependentOnFinalSizeColumn
{
public DependentOnFinalSizeColumn()
{
InitializeComponent();
}
public ov... | using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace Junctionizer.UI.Columns
{
public partial class DependentOnFinalSizeColumn
{
public DependentOnFinalSizeColumn()
{
InitializeComponent();
}
public override BindingBase Binding
... | mit | C# |
cfbf4f3076e62c5c456e0add837d83894724e06e | Refactor update-dependencies to handle multi-line ENVs (#1847) | dotnet/dotnet-docker,MichaelSimons/dotnet-docker,dotnet/dotnet-docker,MichaelSimons/dotnet-docker | eng/update-dependencies/VariableHelper.cs | eng/update-dependencies/VariableHelper.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.RegularExpressions;
namespace Dotnet.Docker
{
public static class VariableHelper
{
public const string AspNetV... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.RegularExpressions;
namespace Dotnet.Docker
{
public static class VariableHelper
{
public const string AspNetV... | mit | C# |
dc64ba8ed81d21aef0c4368f53c5fcfda795161a | Remove unused variable | 2yangk23/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu | osu.Game.Tests/Visual/Online/TestSceneRankingsCountryFilter.cs | osu.Game.Tests/Visual/Online/TestSceneRankingsCountryFilter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Game.Overlays.Rankings;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.O... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Game.Overlays.Rankings;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.O... | mit | C# |
7ee01ee3233a5a3d7eee3b1f41a018d923567e35 | Use assignment instead of binding | smoogipoo/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,Neo... | osu.Game.Tests/Visual/Online/TestSceneRankingsScopeSelector.cs | osu.Game.Tests/Visual/Online/TestSceneRankingsScopeSelector.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Shapes;
using osu.Framework.All... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Shapes;
using osu.Framework.All... | mit | C# |
a59fa722e7b88c5b32641d563db5fe544ea69507 | Update logging.cs | Confruggy/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net,RogueException/Discord.Net | docs/guides/samples/logging.cs | docs/guides/samples/logging.cs | using Discord;
using Discord.Rest;
public class Program
{
// Note: This is the light client, it only supports REST calls.
private DiscordSocketClient _client;
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
_client = new Di... | using Discord;
using Discord.Rest;
public class Program
{
// Note: This is the light client, it only supports REST calls.
private DiscordClient _client;
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
_client = new DiscordC... | mit | C# |
f307267c81b04d93a51b314936fac08eda8518e0 | Update CopyingColumns.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as... | Examples/CSharp/RowsColumns/Copying/CopyingColumns.cs | Examples/CSharp/RowsColumns/Copying/CopyingColumns.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.Copying
{
public class CopyingColumns
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.Copying
{
public class CopyingColumns
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Refle... | mit | C# |
4b4a2d02ed39c1db15669eeb87c5dff461d1eeec | Add Random Generate Bezier Control Point | Andy-Sun/Unity3d-Plugins | B.cs | B.cs | /*
Author: AndySun
Date: 2015-08-11
Description:二次B样曲线
ChangeLog:
2015-8-12
Added:
1.添加随机生成控制点列表
2.将绘制面板置于UI面板之下
*/
using UnityEngine;
using Vectrosity;
using System.Collections.Generic;
public class B : MonoBehaviour
{
bool setparent =... | /*
Author: AndySun
Date: 2015-08-11
Description:二次B样曲线
*/
using UnityEngine;
using Vectrosity;
using System.Collections.Generic;
public class B : MonoBehaviour
{
public List<Vector2> controlPos;
public Material mat;
int PointIndex = 0;
public float speed = 0.01f;
float t = 0;... | mit | C# |
44757be92df13d1694ad67d65c5196d4ec75c5f9 | Update AssignMacroToFormControl.cs | asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-sh... | Examples/CSharp/Articles/AssignMacroToFormControl.cs | Examples/CSharp/Articles/AssignMacroToFormControl.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Cells.Examples.Articles
{
class AssignMacroToFormControl
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the docume... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Cells.Examples.Articles
{
class AssignMacroToFormControl
{
public static void Main(string[] args)
{
// The path to the documents directory.
... | mit | C# |
918158e21898fd730081ef3cf0599929e53dd149 | Resolve the comment regarding the issue when use LogicalCallContext with cross appdomain communication | karolz-ms/diagnostics-eventflow | src/Microsoft.Diagnostics.EventFlow.Inputs.MicrosoftLogging/Logger/EventFlowLoggerScope.cs | src/Microsoft.Diagnostics.EventFlow.Inputs.MicrosoftLogging/Logger/EventFlowLoggerScope.cs | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
#if NET451
us... | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
#if NET451
us... | mit | C# |
1dffd91f1e868e437e514e58bf4f4498fbe531f9 | Tweak to use the fact that we now have nanosecond precision in Duration. | malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,nodatime/nodatime,BenJenkinson/nodatime,nodatime/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime | src/NodaTime.Benchmarks/Framework/BenchmarkResult.cs | src/NodaTime.Benchmarks/Framework/BenchmarkResult.cs | // Copyright 2009 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Reflection;
namespace NodaTime.Benchmarks.Framework
{
/// <summary>
/// The results of running a single test.
/// </su... | // Copyright 2009 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Reflection;
namespace NodaTime.Benchmarks.Framework
{
/// <summary>
/// The results of running a single test.
/// </su... | apache-2.0 | C# |
b12760b7204cfe701667ba2ebcddb1e1292fa937 | Remove unnecessary try-catch | BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/Blo... | src/BloomExe/Book/XMatterInfo.cs | src/BloomExe/Book/XMatterInfo.cs | using System;
using System.Globalization;
using System.IO;
using L10NSharp;
namespace Bloom.Book
{
public class XMatterInfo
{
public readonly string PathToFolder;
public XMatterInfo(string pathToFolder)
{
PathToFolder = pathToFolder;
}
public override string ToString()
{
return Key;
}
/// <s... | using System;
using System.Globalization;
using System.IO;
using L10NSharp;
namespace Bloom.Book
{
public class XMatterInfo
{
public readonly string PathToFolder;
public XMatterInfo(string pathToFolder)
{
PathToFolder = pathToFolder;
}
public override string ToString()
{
return Key;
}
/// <s... | mit | C# |
5397cac939ca1aa10bf07163a641b2993007c780 | Remove whitespace from dotnet-new C# library template | AbhitejJohn/cli,weshaggard/cli,EdwardBlair/cli,svick/cli,jonsequitur/cli,dasMulli/cli,blackdwarf/cli,dasMulli/cli,weshaggard/cli,ravimeda/cli,naamunds/cli,AbhitejJohn/cli,Faizan2304/cli,blackdwarf/cli,jonsequitur/cli,nguerrera/cli,livarcocc/cli-1,dasMulli/cli,johnbeisner/cli,ravimeda/cli,harshjain2/cli,naamunds/cli,har... | src/dotnet/commands/dotnet-new/CSharp_Lib/Library.cs | src/dotnet/commands/dotnet-new/CSharp_Lib/Library.cs | using System;
namespace ClassLibrary
{
public class Class1
{
public void Method1()
{
}
}
}
| using System;
namespace ClassLibrary
{
public class Class1
{
public void Method1()
{
}
}
}
| mit | C# |
7d7ebf51a268bdd6922751f00e478156e818e4df | Hide SharedSecret.ToString | ektrah/nsec | src/Cryptography/SharedSecret.cs | src/Cryptography/SharedSecret.cs | using System;
using System.ComponentModel;
using System.Diagnostics;
using static Interop.Libsodium;
namespace NSec.Cryptography
{
[DebuggerDisplay("Size = {Size}")]
public sealed class SharedSecret : IDisposable
{
private readonly SecureMemoryHandle _handle;
internal SharedSecret(
... | using System;
using System.Diagnostics;
using static Interop.Libsodium;
namespace NSec.Cryptography
{
[DebuggerDisplay("Size = {Size}")]
public sealed class SharedSecret : IDisposable
{
private readonly SecureMemoryHandle _handle;
internal SharedSecret(
SecureMemoryHandle share... | mit | C# |
a12b8f70529de668e1fa1b22f951d1055f56344e | fix capitalization that broke a test (go tests!) | JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesk... | src/BloomExe/Book/DataSet.cs | src/BloomExe/Book/DataSet.cs | using System.Collections.Generic;
using Palaso.Text;
namespace Bloom.Book
{
/// <summary>
/// Holds the values we inject and gather from the document.
/// </summary>
public class DataSet
{
public DataSet()
{
WritingSystemCodes = new Dictionary<string, string>();
TextVariables = new Dictionary<string, Da... | using System.Collections.Generic;
using Palaso.Text;
namespace Bloom.Book
{
/// <summary>
/// Holds the values we inject and gather from the document.
/// </summary>
public class DataSet
{
public DataSet()
{
WritingSystemCodes = new Dictionary<string, string>();
TextVariables = new Dictionary<string, Da... | mit | C# |
48cf9ce2a0ae63bc7d2b92892be100162d2f5904 | 修改 ReleaseDate 顯示設定. | NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie | src/MvcMovie/Models/Movie.cs | src/MvcMovie/Models/Movie.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace MvcMovie.Models
{
public class Movie
{
public int ID { get; set; }
public string Title { get; set; }
[Display(Name = "Release Date")]
[DataType(DataType.Date)]
public DateTime ReleaseDate { get; set; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MvcMovie.Models
{
public class Movie
{
public int ID { get; set; }
public string Title { get; set; }
public DateTime ReleaseDate { get; set; }
public string Genre { get; s... | apache-2.0 | C# |
4c884e0865ec43a398e5b425af77f5caec07d28e | Remove incorrect function name | USDXStartups/CalendarHelper | shared/AppSettingsHelper.csx | shared/AppSettingsHelper.csx | #load "LogHelper.csx"
#load "FunctionNameHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
string methodName = "GetAppSettin"; //GetType().FullName;
... | #load "LogHelper.csx"
#load "FunctionNameHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
string methodName = "GetAppSettin"; //GetType().FullName;
... | mit | C# |
8261efcec7f4e96f12c5926f239cbc2bfdefb5eb | Add ILLibrary ModuleAttribute | sailro/cecil,jbevain/cecil,fnajera-rac-de/cecil,mono/cecil | Mono.Cecil/ModuleKind.cs | Mono.Cecil/ModuleKind.cs | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
namespace Mono.Cecil {
public enum ModuleKind {
Dll,
Console,
Windows,
NetModule,
}
public enum MetadataKind {
Ec... | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
namespace Mono.Cecil {
public enum ModuleKind {
Dll,
Console,
Windows,
NetModule,
}
public enum MetadataKind {
Ec... | mit | C# |
7be6cc4460543834b81ee546519425d07b771468 | Fix Test Pad | badgio/XboxOneController,badgio/XboxOneController,badgio/XboxOneController | PadReaderTest/Program.cs | PadReaderTest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using XboxOnePadReader;
namespace PadReaderTest
{
class Program
{
static void Main(string[] args)
{
ControllerReader myController = Controller... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using XboxOnePadReader;
namespace PadReaderTest
{
class Program
{
static void Main(string[] args)
{
ControllerReader myController = Controller... | apache-2.0 | C# |
bb782c5d479fbcf1d9aa84653877c63528ded090 | Update SharedAssemblyVersion.cs | OsmSharp/reminiscence | src/SharedAssemblyVersion.cs | src/SharedAssemblyVersion.cs | // The MIT License (MIT)
// Copyright (c) 2016 Ben Abelshausen
// 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, co... | // The MIT License (MIT)
// Copyright (c) 2016 Ben Abelshausen
// 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, co... | mit | C# |
2f47258453aa01fd7c2aedc4e82d742da69ef1cf | fix namespaces in LoginPartial | productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,andrelmp/eShopOnContainers,andrelmp/eShopOnContainers,albertodall/eS... | src/Services/Identity/Identity.API/Views/Shared/_LoginPartial.cshtml | src/Services/Identity/Identity.API/Views/Shared/_LoginPartial.cshtml | @using Microsoft.AspNetCore.Identity
@using Microsoft.eShopOnContainers.Services.Identity.API.Models
@inject SignInManager<ApplicationUser> SignInManager
@inject UserManager<ApplicationUser> UserManager
@if (SignInManager.IsSignedIn(User))
{
<form asp-area="" asp-controller="Account" asp-action="LogOff" method="... | @using Microsoft.AspNetCore.Identity
@using Identity.API.Models
@inject SignInManager<ApplicationUser> SignInManager
@inject UserManager<ApplicationUser> UserManager
@if (SignInManager.IsSignedIn(User))
{
<form asp-area="" asp-controller="Account" asp-action="LogOff" method="post" id="logoutForm" class="navbar-r... | mit | C# |
310440ce79576b2db4859ec862b1829cab74101d | remove context on response | yanggujun/commonsfornet,yanggujun/commonsfornet | src/Commons.Messaging/OutboundController.cs | src/Commons.Messaging/OutboundController.cs | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | apache-2.0 | C# |
189d6cedef9985520c108c161a044dbaf22c4491 | Modify Exception | vip30/GodaddyWrapper.Net | src/GodaddyWrapper/Base/GodaddyException.cs | src/GodaddyWrapper/Base/GodaddyException.cs | using GodaddyWrapper.Responses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace GodaddyWrapper.Base
{
public class GodaddyException : Exception
{
public HttpStatusCode StatusCode { get; private set; }
public ErrorResp... | using GodaddyWrapper.Responses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace GodaddyWrapper.Base
{
internal class GodaddyException : Exception
{
public HttpStatusCode StatusCode { get; private set; }
public ErrorRe... | mit | C# |
a14aac881ff7022060759f3fd39d73639b76690a | Make enable method name consistent on TTL field | elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsearch-net,TheFireCookie/elastic... | src/Nest/Mapping/MetaFields/Ttl/TtlField.cs | src/Nest/Mapping/MetaFields/Ttl/TtlField.cs | using Newtonsoft.Json;
namespace Nest
{
[JsonConverter(typeof(ReadAsTypeJsonConverter<TtlField>))]
public interface ITtlField : IFieldMapping
{
[JsonProperty("enabled")]
bool? Enabled { get; set; }
[JsonProperty("default")]
Time Default { get; set; }
}
public class TtlField : ITtlField
{
public bool... | using Newtonsoft.Json;
namespace Nest
{
[JsonConverter(typeof(ReadAsTypeJsonConverter<TtlField>))]
public interface ITtlField : IFieldMapping
{
[JsonProperty("enabled")]
bool? Enabled { get; set; }
[JsonProperty("default")]
Time Default { get; set; }
}
public class TtlField : ITtlField
{
public bool... | apache-2.0 | C# |
f6a088e699854eb449047410e6ef6835ea79451a | add request logic in wiki overlay | UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu | osu.Game/Overlays/WikiOverlay.cs | osu.Game/Overlays/WikiOverlay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.... | // 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.Overlays.Wiki;
namespace osu.Game.Overlays
{
public class WikiOverlay : OnlineOverlay<WikiHeader>
{
public WikiOverlay()
: bas... | mit | C# |
d2b4be994dc63faf00f1d1bb45bcce3918019526 | Update TotalMaxFileSizeValidator.cs | stilren/EpiForm-extensions | EpiFormsCustom/Elements/TotalMaxFileSizeValidator.cs | EpiFormsCustom/Elements/TotalMaxFileSizeValidator.cs | using System.Collections.Generic;
using System.Linq;
using System.Web;
using EPiServer.Forms.Core.Models;
using EPiServer.Forms.Core.Validation;
using EPiServer.Forms.Implementation.Validation;
namespace Alloy.EpiFormsCustom.Elements
{
public class TotalMaxFileSizeValidator : InternalElementValidatorBase... | using System.Collections.Generic;
using System.Linq;
using System.Web;
using EPiServer.Forms.Core.Models;
using EPiServer.Forms.Core.Validation;
using EPiServer.Forms.Implementation.Validation;
namespace Alloy.EpiFormsCustom.Elements
{
public class TotalMaxFileSizeValidator : InternalElementValidatorBase... | mit | C# |
d47248037e6abf86fa9f494fe284c8d2521ce998 | 更新 .net 4.5 项目版本号 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | apache-2.0 | C# |
dfd26fba900499b95316cf9e119183284bd4c7e5 | Fix file name produced by ExecutionStateInfoLogger when logging non terminated states. | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | src/Symbooglix/Executor/ExecutionStateHandlers/ExecutionStateInfoLogger.cs | src/Symbooglix/Executor/ExecutionStateHandlers/ExecutionStateInfoLogger.cs | using System;
using System.IO;
namespace Symbooglix
{
public class ExecutionStateInfoLogger : ExecutionStateLogger
{
public ExecutionStateInfoLogger(ExecutionStateLogger.ExecutorEventType eventToLog) : base(eventToLog) { }
protected override void DoTask(Executor e, ExecutionState State)
... | using System;
using System.IO;
namespace Symbooglix
{
public class ExecutionStateInfoLogger : ExecutionStateLogger
{
public ExecutionStateInfoLogger(ExecutionStateLogger.ExecutorEventType eventToLog) : base(eventToLog) { }
protected override void DoTask(Executor e, ExecutionState State)
... | bsd-2-clause | C# |
22969db75afd809f78952eafd8b1b089416ea4f8 | Change test to use new subtract method | TheEadie/PlayerRank,TheEadie/PlayerRank | UnitTests/PlayerTests.cs | UnitTests/PlayerTests.cs | using Xunit;
namespace PlayerRank.UnitTests
{
public class PlayerTests
{
[Fact]
public void CanIncreasePlayersScore()
{
var player = new PlayerScore("Foo");
player.AddPoints(new Points(100));
Assert.Equal(new Points(100), player.Points);
... | using Xunit;
namespace PlayerRank.UnitTests
{
public class PlayerTests
{
[Fact]
public void CanIncreasePlayersScore()
{
var player = new PlayerScore("Foo");
player.AddPoints(new Points(100));
Assert.Equal(new Points(100), player.Points);
... | mit | C# |
52e2c2feb81e340ba8555180a4a882ecd0f8fa59 | set eol-style for AssemblyInfo.cs | keletskiy/ode,keletskiy/ode,nabijaczleweli/ODE,nabijaczleweli/ODE,keletskiy/ode,nabijaczleweli/ODE,nabijaczleweli/ODE,keletskiy/ode,keletskiy/ode,nabijaczleweli/ODE,nabijaczleweli/ODE,keletskiy/ode | contrib/Ode.NET/Ode/AssemblyInfo.cs | contrib/Ode.NET/Ode/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Ode.NET")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Ode.NET")]
[assembly: AssemblyC... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Ode.NET")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Ode.NET")]
[assembly:... | lgpl-2.1 | C# |
80f825c43b5f6bcc05c81f8c6c98be980f86984f | Fix typo | scopely/msgpack-cli,modulexcite/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli,msgpack/msgpack-cli,scopely/msgpack-cli,undeadlabs/msgpack-cli,undeadlabs/msgpack-cli | cli/test/MsgPack.UnitTest/Properties/AssemblyInfo.cs | cli/test/MsgPack.UnitTest/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.or... | #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.or... | apache-2.0 | C# |
54024434d22b66f391330846b7b926e0cac4cdf8 | Update Welcome images | IanEarnest/Unity-GUI | Assets/Welcome.cs | Assets/Welcome.cs | using UnityEngine;
using System.Collections;
public class Welcome : MonoBehaviour {
Rect welcomeRect = new Rect(0, 0, Screen.width, Screen.height);
Rect[] rectArray = new Rect[9];
Images ScriptImages;
void Start(){
// First level "Main menu" does not have Script1 as it does not go
// back anywhere, so attac... | using UnityEngine;
using System.Collections;
public class Welcome : MonoBehaviour {
Rect welcomeRect = new Rect(0, 0, Screen.width, Screen.height);
Images ScriptImages;
void Start(){
// First level "Main menu" does not have Script1 as it does not go
// back anywhere, so attach images script to main camera in... | mit | C# |
163e3e27749c73fb7454c3e212e3ee2d80218edd | Fix RefCountedCache | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/Portable/Runtime/RefCountedCache.cs | Bindings/Portable/Runtime/RefCountedCache.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace Urho
{
/// <summary>
/// </summary>
internal class RefCountedCache
{
Dictionary<IntPtr, ReferenceHolder<RefCounted>> knownObjects = new Dictionary<IntPtr, ReferenceHolder<RefCounted>>(... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Urho
{
/// <summary>
/// </summary>
internal class RefCountedCache
{
Dictionary<IntPtr, ReferenceHolder<RefCounted>> knownObjects = new Dictionary<IntPtr, ReferenceHolder<RefCounted>>(256); //based on samples ... | mit | C# |
52c86fce695311361c2e2334609f74e453fa5ae6 | Update XssFilterMiddlewareTests.cs | ziyasal/helmet.net | Helmet.Net.Tests/XssFilterMiddlewareTests.cs | Helmet.Net.Tests/XssFilterMiddlewareTests.cs | namespace Helmet.Net.Tests
{
public class XssFilterMiddlewareTests : TestBase
{
[Test]
public async Task HelloTest()
{
Assert.IsTrue(true);
}
}
}
| namespace Helmet.Net.Tests
{
public class XssFilterMiddlewareTests : TestBase
{
}
}
| mit | C# |
204a19d2c245ff8aa300dc33df5ea094cde48981 | Stop unwatch from failing on shutdown | StefanBertels/language-ext,StanJav/language-ext,louthy/language-ext | LanguageExt.Process/ActorDispatchNotExist.cs | LanguageExt.Process/ActorDispatchNotExist.cs | using System;
using System.Reactive.Linq;
using static LanguageExt.Prelude;
using static LanguageExt.Process;
namespace LanguageExt
{
internal class ActorDispatchNotExist : IActorDispatch
{
public readonly ProcessId ProcessId;
public ActorDispatchNotExist(ProcessId pid)
{
... | using System;
using System.Reactive.Linq;
using static LanguageExt.Prelude;
using static LanguageExt.Process;
namespace LanguageExt
{
internal class ActorDispatchNotExist : IActorDispatch
{
public readonly ProcessId ProcessId;
public ActorDispatchNotExist(ProcessId pid)
{
... | mit | C# |
e4d163f63d44a8c90d06a47abdcf1c832c8805fc | implement get on eventcontroller | prozum/solitude | Solitude.Server/Controllers/EventController.cs | Solitude.Server/Controllers/EventController.cs | using System.Web.Http;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using System.Collections.Generic;
using Model;
namespace Solitude.Server
{
[RoutePrefix("api/event")]
public class EventController : SolitudeController
{
public async Task<IHttpActionResult> Get()
{
... | using System.Web.Http;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using System.Collections.Generic;
using Model;
namespace Solitude.Server
{
[RoutePrefix("api/event")]
public class EventController : SolitudeController
{
public IHttpActionResult Get()
{
List<Eve... | mit | C# |
07c15fa44400305ec468b44494e5fb739b8a90ea | Add support for Microsoft.WindowsAzure.Configuration 3.0.0.0 via reflection due to CloudConfigurationManager namespace change | madhon/Formo | src/Formo.Cloud/CloudConfiguration.cs | src/Formo.Cloud/CloudConfiguration.cs | using System.Reflection;
namespace Formo.Cloud
{
public class CloudConfiguration : Configuration
{
private static readonly MethodInfo GetSettingMethod;
static CloudConfiguration()
{
var assembly = Assembly.Load("Microsoft.WindowsAzure.Configuration");
var type ... | using Microsoft.WindowsAzure;
namespace Formo.Cloud
{
public class CloudConfiguration : Configuration
{
protected override string GetValue(string name)
{
return CloudConfigurationManager.GetSetting(name);
}
}
}
| mit | C# |
9f7ab3fc778bb78fce8fc83a557fbc46575371bc | Update AssemblyInfo | LPardue/SpotifyStatusApplet | SpotifyStatusApplet/Properties/AssemblyInfo.cs | SpotifyStatusApplet/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("Sp... | 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("Sp... | apache-2.0 | C# |
46143b5c77ee47ece0c3baf8c76e7d7cb27cdd7c | Add default data to db initializer | Azure-Samples/app-service-mobile-donet-fieldengineer,Azure-Samples/app-service-mobile-dotnet-fieldengineer,lindydonna/fieldengineer,Azure/fieldengineer,benlam62/app-service-mobile-dotnet-fieldengineer | server/FieldEngineer/Models/JobDbContext.cs | server/FieldEngineer/Models/JobDbContext.cs | using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using Microsoft.Azure.Mobile.Server;
using Microsoft.Azure.Mobile.Server.Tables;
using FieldEngineerLiteService.DataObjects;
using System.Collections.Generic;
namespace FieldEngineerLiteService.Models
{
public cl... | using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using Microsoft.Azure.Mobile.Server;
using Microsoft.Azure.Mobile.Server.Tables;
using FieldEngineerLiteService.DataObjects;
using System.Collections.Generic;
namespace FieldEngineerLiteService.Models
{
public cl... | mit | C# |
335ecc314ca31e8b551b6af4bf69190439770d81 | Bump to 1.16.0 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | agpl-3.0 | C# |
b3f88505a919b2b001e8ea72a0f4b29e86936fb4 | Disable console test for now | CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos | Tests/Cosmos.TestRunner.Full/TestKernelSets.cs | Tests/Cosmos.TestRunner.Full/TestKernelSets.cs | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Full
{
public static class TestKernelSets
{
// Kernel types to run: the ones that will run in test runners that use the default engine configuration.
public static IEnumerable<Type> GetKernelTypesToRun()
{
... | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Full
{
public static class TestKernelSets
{
// Kernel types to run: the ones that will run in test runners that use the default engine configuration.
public static IEnumerable<Type> GetKernelTypesToRun()
{
... | bsd-3-clause | C# |
beb7e8d6fb70d03fff89fa341bdfbfb9761f1dcd | Update AssemblyInfo.cs | Sitefinity/Less | Telerik.Less.Test/Properties/AssemblyInfo.cs | Telerik.Less.Test/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("Telerik.Less.UnitTests")]
[assembly: Asse... | 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("Telerik.Less.UnitTests")]
[assembly: Asse... | mit | C# |
c974b2588e96fd259029939f3fcbb6a606bd1899 | Add webhook health model | contentful/contentful.net | Contentful.Core/Models/Management/WebHookHealthResponse.cs | Contentful.Core/Models/Management/WebHookHealthResponse.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Represents the response of a webhook health check.
/// </summary>
public class WebHookHealthResponse : IContentfulResource
{
/// <summar... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Represents the response of a webhook health check.
/// </summary>
public class WebHookHealthResponse : IContentfulResource
{
/// <summar... | mit | C# |
925413e2c34419062a760a69acd479df1f161a4c | Update ISession.cs | jpdante/HTCSharp | Modules/HtcSharp.HttpModule/Http.Features/ISession.cs | Modules/HtcSharp.HttpModule/Http.Features/ISession.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace HtcSharp.HttpModule.Http.Features {
// SourceTools-Start
// Remote-File C:\ASP\... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace HtcSharp.HttpModule.Http.Features {
// SourceTools-Start
// Remote-File C:\ASP\... | mit | C# |
99634a60113eb8128959c48bcd03ba5e7b8dbe91 | Mark settings as read only | nikmd23/signatory,nikmd23/signatory | source/Signatory/Settings.cs | source/Signatory/Settings.cs | using System.Configuration;
namespace Signatory
{
public static class Settings
{
public static readonly string Authority = ConfigurationManager.AppSettings["Authority"];
public static readonly string GitHubKey = ConfigurationManager.AppSettings["GitHubKey"];
public static readonly stri... | using System.Configuration;
namespace Signatory
{
public static class Settings
{
public static string Authority = ConfigurationManager.AppSettings["Authority"];
public static string GitHubKey = ConfigurationManager.AppSettings["GitHubKey"];
public static string GitHubSecret = Configura... | apache-2.0 | C# |
e0188ab1609ec82b12b4582b62f9ec97f7faa7fe | Update Copyright | StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,gmartin7/myBloomFork,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,an... | src/BloomExe/Properties/AssemblyInfo.cs | src/BloomExe/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("Bloo... | 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("Bloo... | mit | C# |
f8c3301768595e69a757f0649cc6d2704377751e | Update BenceLenart.cs (#707) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/BenceLenart.cs | src/Firehose.Web/Authors/BenceLenart.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class BenceLenart : IAmACommunityMember
{
public string FirstName => "Bence";
public string LastName => "Lenart";
public string ShortBioOrTagLine => "Xamarin developer and blogger.";
... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class BenceLenart : IAmACommunityMember
{
public string FirstName => "Bence";
public string LastName => "Lenart";
public string ShortBioOrTagLine => "Xamarin developer and blogger.";
... | mit | C# |
16fb6a5233f511b54102264551d91fbe7dbfe4f2 | Allow CredentialScope to be written direct to a writer | carbon/Amazon | src/Amazon.Core/Security/CredentialScope.cs | src/Amazon.Core/Security/CredentialScope.cs | using System;
using System.Globalization;
using System.IO;
namespace Amazon.Security
{
public readonly struct CredentialScope
{
public CredentialScope(DateTime date, AwsRegion region, AwsService service)
{
Date = date;
Region = region ?? throw new Argume... | using System;
namespace Amazon.Security
{
public readonly struct CredentialScope
{
public CredentialScope(DateTime date, AwsRegion region, AwsService service)
{
Date = date;
Region = region ?? throw new ArgumentNullException(nameof(region));
S... | mit | C# |
ebe63b46d1a59adb12099c53899132336be88c3e | Remove NUnit attribute accidently left on a class. The attribute is pointless because the class has no tests. | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | src/ExprBuilderTests/ConstantFoldingBuilderTests/ConstantFoldingExprBuilderTests.cs | src/ExprBuilderTests/ConstantFoldingBuilderTests/ConstantFoldingExprBuilderTests.cs | using NUnit.Framework;
using System;
using System.Collections;
using Symbooglix;
using Microsoft.Boogie;
using Microsoft.Basetypes;
namespace ExprBuilderTests
{
public class ConstantFoldingExprBuilderTests : SimpleExprBuilderTestBase
{
protected Tuple<SimpleExprBuilder, ConstantFoldingExprBuilder> Get... | using NUnit.Framework;
using System;
using System.Collections;
using Symbooglix;
using Microsoft.Boogie;
using Microsoft.Basetypes;
namespace ExprBuilderTests
{
[TestFixture()]
public class ConstantFoldingExprBuilderTests : SimpleExprBuilderTestBase
{
protected Tuple<SimpleExprBuilder, ConstantFol... | bsd-2-clause | C# |
cde80e9fced224dc672a5c07e576349a626a24a8 | Update version | ndouthit/Certify,Marcus-L/Certify,Prerequisite/Certify,webprofusion/Certify | src/Certify.Core/Properties/AssemblyInfo.cs | src/Certify.Core/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("... | 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("... | mit | C# |
4fcb28a0ca6cdb92a00caabb00614712a2b5d23b | Add a ToString method for UNICODE_STRING | JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop | src/Common/Authentication/UNICODE_STRING.cs | src/Common/Authentication/UNICODE_STRING.cs | // ------------------------
// WInterop Framework
// ------------------------
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
using WInterop.Buffers;
namespace WInter... | // ------------------------
// WInterop Framework
// ------------------------
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.InteropServices;
using WInterop.Buffers;
namespace WInter... | mit | C# |
1f092c4f4824d7da5f06256bb088efeb8e318d07 | Fix job cancelled showing up as State = Unknown | drdk/ffmpeg-farm,ongobongo/ffmpeg-farm | ffmpeg-farm-server/Contract/Models/FfmpegJobModel.cs | ffmpeg-farm-server/Contract/Models/FfmpegJobModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Contract.Models
{
public class FfmpegJobModel
{
public FfmpegJobModel()
{
Tasks = new List<FfmpegTaskModel>();
}
public Guid JobCorrelationId { get; set; }
public TranscodingJobSta... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Contract.Models
{
public class FfmpegJobModel
{
public FfmpegJobModel()
{
Tasks = new List<FfmpegTaskModel>();
}
public Guid JobCorrelationId { get; set; }
public TranscodingJobSta... | bsd-3-clause | C# |
e9c074c5e780dcbc2e00016b2de36062577f4572 | Fix the build | RogerKratz/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,gliljas/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,lnu... | src/NHibernate.JetDriver/JetCaseFragment.cs | src/NHibernate.JetDriver/JetCaseFragment.cs | using System.Collections;
using System.Text;
using NHibernate.SqlCommand;
using NHibernate.Util;
namespace NHibernate.JetDriver
{
/// <summary>
/// Jet engine doesn't support CASE ... WHEN ... END syntax, but has a proprietary "Switch".
/// </summary>
/// <remarks>
/// Author: <a href="mailto:lukask@welldatatec... | using System.Collections;
using System.Text;
using NHibernate.SqlCommand;
using NHibernate.Util;
namespace NHibernate.JetDriver
{
/// <summary>
/// Jet engine doesn't support CASE ... WHEN ... END syntax, but has a proprietary "Switch".
/// </summary>
/// <remarks>
/// Author: <a href="mailto:lukask@welldatatec... | lgpl-2.1 | C# |
7caec571b4c40a1e37f792aedb1fa1086a487fdd | Fix attract mode crash caused by change in wpf templating. Buddy: Blair | wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/w... | windows/ExampleApp/ExampleAppWPF/Views/AttractModeOverlay/AttractModeOverlayView.cs | windows/ExampleApp/ExampleAppWPF/Views/AttractModeOverlay/AttractModeOverlayView.cs | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace ExampleAppWPF
{
class AttractModeOverlayView : ControlBase
{
private IntPtr m_nativeCallerPointer;
private MainWindow m_currentWindow;
private Storyboard m_rese... | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Animation;
namespace ExampleAppWPF
{
class AttractModeOverlayView : ControlBase
{
private IntPtr m_nativeCallerPointer;
private MainWindow m_currentWindow;
private Storyboard m_rese... | bsd-2-clause | C# |
b5a61dac4fa6b54b18a703634f9b9364d87f4d16 | Fix menuItemsList graphql query. (#2797) | xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orc... | src/OrchardCore.Modules/OrchardCore.Menu/GraphQL/MenuItemInterface.cs | src/OrchardCore.Modules/OrchardCore.Menu/GraphQL/MenuItemInterface.cs | using GraphQL.Types;
using OrchardCore.ContentManagement;
using OrchardCore.Menu.Models;
namespace OrchardCore.Menu.GraphQL
{
public class MenuItemInterface : InterfaceGraphType<ContentItem>
{
public MenuItemInterface()
{
Name = "MenuItem";
Field(typeof(MenuItemsListQue... | using GraphQL.Types;
using OrchardCore.ContentManagement;
using OrchardCore.Menu.Models;
namespace OrchardCore.Menu.GraphQL
{
public class MenuItemInterface : InterfaceGraphType<ContentItem>
{
public MenuItemInterface()
{
Name = "MenuItem";
Field(typeof(MenuItemsListQue... | bsd-3-clause | C# |
536bfc4532da72f74a4ccab780e71f79bb6260e5 | Add description and exception properties to MediaFailedEventArgs | mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,martijn00/XamarinMediaManager,modplug/XamarinMediaManager,mike-rowley/XamarinMediaManager,bubavanhalen/XamarinMediaManager | MediaManager/Plugin.MediaManager.Abstractions/EventArguments/MediaFailedEventArgs.cs | MediaManager/Plugin.MediaManager.Abstractions/EventArguments/MediaFailedEventArgs.cs | using System;
namespace Plugin.MediaManager.Abstractions.EventArguments
{
public class MediaFailedEventArgs : EventArgs
{
public MediaFailedEventArgs(string description, Exception exception)
{
Description = description;
Exception = exception;
}
public Ex... | using System;
namespace Plugin.MediaManager.Abstractions.EventArguments
{
public class MediaFailedEventArgs : EventArgs
{
public MediaFailedEventArgs()
{
}
}
}
| mit | C# |
d09fe5a765d9a8182f15e5b8be625f0e29e25909 | test fixed | dfch/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfensgmbh/biz.dfch.CS.Appclusive.UI,dfensgmbh/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI | src/biz.dfch.CS.Appclusive.UI.Tests/Controllers/HomeControllerTest.cs | src/biz.dfch.CS.Appclusive.UI.Tests/Controllers/HomeControllerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using biz.dfch.CS.Appclusive.UI;
using biz.dfch.CS.Appclusive.UI.Controllers;
namespace biz.dfch.CS.Appclusive.UI.Tests.Controllers
{
[TestClass]
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using biz.dfch.CS.Appclusive.UI;
using biz.dfch.CS.Appclusive.UI.Controllers;
namespace biz.dfch.CS.Appclusive.UI.Tests.Controllers
{
[TestClass]
publ... | apache-2.0 | C# |
9756c2eaf9a4e516cb7a8992f911542c1ea675ac | Add copy constructor | jnwatts/cs320_project2_group11,jnwatts/cs320_project2_group11 | Model/partentry.cs | Model/partentry.cs | using System;
using System.Data;
using System.Collections.Generic;
public class PartEntry
{
public string Part_num { get; set; }
public int Part_type_id { get; set; }
public string Part_type { get; set; }
public Dictionary<string, string> Attributes;
public Dictionary<string, string> ExtendedAttrib... | using System;
using System.Data;
using System.Collections.Generic;
public class PartEntry
{
public string Part_num { get; set; }
public int Part_type_id { get; set; }
public string Part_type { get; set; }
public Dictionary<string, string> Attributes;
public Dictionary<string, string> ExtendedAttrib... | apache-2.0 | C# |
19b719f853396765d89dfc730c8e4ebe2533c160 | add upload file test | OlegKleyman/IntegrationFtpServer | tests/integration/Omego.SimpleFtp.Tests.Integration/FtpServerTests.cs | tests/integration/Omego.SimpleFtp.Tests.Integration/FtpServerTests.cs | namespace Omego.SimpleFtp.Tests.Integration
{
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using System.Net;
using FluentAssertions;
using NUnit.Framework;
[TestFixture]
public class FtpServerTests
{
private readonly string ftpHomeDirectory = Path.Com... | namespace Omego.SimpleFtp.Tests.Integration
{
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
[TestFixture]
public class FtpServerTests
{
private readonly string ftpHomeDirectory = Path.Combine(Path.GetTempPath(... | unlicense | C# |
5cdd88613ff2e189c4b5711386dbab29962e91e1 | Add application status key to ApplicationSummaryDto | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationSummaryDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationSummaryDto.cs | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using PS.Mothership.Core.Common.Template.Gen;
namespace PS.Mothership.Core.Common.Dto.Application
{
[DataContract]
public class ApplicationSummaryDto
{
[DataMember]
public Guid ApplicationGuid { get; set; }... | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace PS.Mothership.Core.Common.Dto.Application
{
[DataContract]
public class ApplicationSummaryDto
{
[DataMember]
public Guid ApplicationGuid { get; set; }
[DataMember]
public string R... | mit | C# |
85864a3fcca951a5fbff7195e2633b0155761ba4 | fix #297 Ignore the audit fields in the update user method Dto CreationTime and LastLoginTime. | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Users/Dto/UserMapProfile.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Users/Dto/UserMapProfile.cs | using AutoMapper;
using AbpCompanyName.AbpProjectName.Authorization.Users;
namespace AbpCompanyName.AbpProjectName.Users.Dto
{
public class UserMapProfile : Profile
{
public UserMapProfile()
{
CreateMap<UserDto, User>();
CreateMap<UserDto, User>(MemberList.Source)
... | using AutoMapper;
using AbpCompanyName.AbpProjectName.Authorization.Users;
namespace AbpCompanyName.AbpProjectName.Users.Dto
{
public class UserMapProfile : Profile
{
public UserMapProfile()
{
CreateMap<UserDto, User>();
CreateMap<UserDto, User>().ForMember(x => x.Roles... | mit | C# |
a872694668377e0bbdbf72dc1008153b23c79542 | Fix ThenTheFieldShouldHaveTheValue | giacomelli/SpecFlowHelper,giacomelli/SpecFlowHelper,giacomelli/SpecFlowHelper | SpecFlowHelper/Steps/Strategies/Default/DefaultTextboxStepsStrategy.cs | SpecFlowHelper/Steps/Strategies/Default/DefaultTextboxStepsStrategy.cs | using HelperSharp;
using NUnit.Framework;
using OpenQA.Selenium;
namespace SpecFlowHelper.Steps.Strategies.Default
{
/// <summary>
/// Default textbox steps strategy.
/// </summary>
public class DefaultTextboxStepsStrategy : StepsStrategyBase<TextboxSteps>, ITextboxStepsStrategy
{
public v... | using HelperSharp;
using NUnit.Framework;
using OpenQA.Selenium;
namespace SpecFlowHelper.Steps.Strategies.Default
{
/// <summary>
/// Default textbox steps strategy.
/// </summary>
public class DefaultTextboxStepsStrategy : StepsStrategyBase<TextboxSteps>, ITextboxStepsStrategy
{
public v... | mit | C# |
34aee4fea0eae02556b6f9c07dc8ab05f68e61fd | Improve comments | UselessToucan/osu,smoogipooo/osu,ZLima12/osu,DrabWeb/osu,Frontear/osuKyzer,johnneijzen/osu,ppy/osu,Nabile-Rahmani/osu,peppy/osu-new,ppy/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,ZLima12/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,DrabWeb... | osu.Game/Graphics/Cursor/IProvideCursor.cs | osu.Game/Graphics/Cursor/IProvideCursor.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.Graphics;
using osu.Framework.Graphics.Cursor;
namespace osu.Game.Graphics.Cursor
{
/// <summary>
/// Interface for <see cref="IDra... | // 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.Graphics.Cursor;
namespace osu.Game.Graphics.Cursor
{
public interface IProvideCursor : IDrawable
{
... | mit | C# |
7d589ab36481d147d381e8e87bd9efb588006852 | Remove Culture attribute from AtataSettings | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata.Tests/AtataSettings.cs | src/Atata.Tests/AtataSettings.cs | using Atata;
[assembly: VerifyTitleSettings(Format = "{0} - Atata")]
| using Atata;
[assembly: Culture("en-us")]
[assembly: VerifyTitleSettings(Format = "{0} - Atata")]
| apache-2.0 | C# |
aa325b45d48a74de7bf25ff2cb88ba66cb7946fd | Add tests for TSession creation | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/Repository/RepositoryGetAllTests.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/Repository/RepositoryGetAllTests.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FakeItEasy;
using NUnit.Framework;
using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.Exa... | using System.Collections.Generic;
using System.Linq;
using FakeItEasy;
using NUnit.Framework;
using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.ExampleTests.Repository
{
[Te... | mit | C# |
42dce82507b0d31644cdf74c702c2b5e831900c6 | Correct iOS assembly title | ze-pequeno/oxyplot,TheAlmightyBob/oxyplot,Sbosanquet/oxyplot,Rustemt/oxyplot,DotNetDoctor/oxyplot,freudenthal/oxyplot,Isolocis/oxyplot,mattleibow/oxyplot,zur003/oxyplot,H2ONaCl/oxyplot,jeremyiverson/oxyplot,HermanEldering/oxyplot,TheAlmightyBob/oxyplot,lynxkor/oxyplot,lynxkor/oxyplot,olegtarasov/oxyplot,svendu/oxyplot,... | Source/OxyPlot.Xamarin.iOS/Properties/AssemblyInfo.cs | Source/OxyPlot.Xamarin.iOS/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// --------------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// --------------------------------------------------------------------------------... | mit | C# |
e773af839d6be6c405575542de775ac0c77b08aa | resolve #610 | rollbar/Rollbar.NET | UnitTest.RollbarTestCommon/RollbarUnitTestSettings.cs | UnitTest.RollbarTestCommon/RollbarUnitTestSettings.cs | #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace UnitTest.Rollbar
{
public static class RollbarUnitTestSettings
{
public const string AccessToken = "efdc4b85d66045f293a7f9e99c732f61";
public const string Environment = "Rollbar.Net-UnitTests";
... | #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace UnitTest.Rollbar
{
public static class RollbarUnitTestSettings
{
public const string AccessToken = "17965fa5041749b6bf7095a190001ded";
public const string Environment = "_Rollbar-unit-tests";
... | mit | C# |
e406394463269c2e85cc780ce20865e212fc5370 | fix pkas | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Items/Weapons/Projectiles/Behaviours/ProjectileDamageIntegrityKinetic.cs | UnityProject/Assets/Scripts/Items/Weapons/Projectiles/Behaviours/ProjectileDamageIntegrityKinetic.cs | using System;
using UnityEngine;
using ScriptableObjects.Gun;
namespace Weapons.Projectiles.Behaviours
{
/// <summary>
/// Damages integrity on collision
/// only for kinetic weapons
/// </summary>
public class ProjectileDamageIntegrityKinetic : MonoBehaviour, IOnShoot, IOnHit
{
private ProjectileKineticDamag... | using System;
using UnityEngine;
using ScriptableObjects.Gun;
namespace Weapons.Projectiles.Behaviours
{
/// <summary>
/// Damages integrity on collision
/// only for kinetic weapons
/// </summary>
public class ProjectileDamageIntegrityKinetic : MonoBehaviour, IOnShoot, IOnHit
{
private ProjectileKineticDamag... | agpl-3.0 | C# |
e8e6e19dc7f2bab968dab35a64fb08a778176af9 | improve example | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | DbUp/DBMigrationWithExternalScripts/DBMigrationWithExternalScripts/Program.cs | DbUp/DBMigrationWithExternalScripts/DBMigrationWithExternalScripts/Program.cs | using System;
using System.Linq;
using System.Reflection;
using DbUp;
namespace DBMigrationWithExternalScripts
{
class Program
{
static int Main(string[] args)
{
var connectionString =
args.FirstOrDefault()
?? "Data Source=.;Initial Catalog=BlogSnipp... | using System;
using System.Linq;
using System.Reflection;
using DbUp;
namespace DBMigrationWithExternalScripts
{
class Program
{
static int Main(string[] args)
{
var connectionString =
args.FirstOrDefault()
?? "Data Source=.;Initial Catalog=BlogSnipp... | apache-2.0 | C# |
d6ac677a79d6b5ce3c099114f6af380129f17a8e | Change the way characters are recognized. | Eusth/HoneySelectVR | HoneySelectVR/HoneyInterpreter.cs | HoneySelectVR/HoneyInterpreter.cs | using Manager;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using VRGIN.Core;
using VRGIN.Helpers;
using System.Linq;
namespace HoneySelectVR
{
internal class HoneyInterpreter : GameInterpreter
{
public HScene Scene;
priv... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using VRGIN.Core;
using VRGIN.Helpers;
namespace HoneySelectVR
{
internal class HoneyInterpreter : GameInterpreter
{
public HScene Scene;
private IList<IActor> _Actors = new Li... | mit | C# |
b44c95a983ba95d4d589c3d3e48390446b0a6042 | fix TextAreaEditorOptions rows and cols null reference error | dfaruque/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolember... | Serenity.Script.UI/Editor/TextAreaEditor.cs | Serenity.Script.UI/Editor/TextAreaEditor.cs | using jQueryApi;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Serenity
{
[Editor, DisplayName("Çok Satırlı Metin"), OptionsType(typeof(TextAreaEditorOptions))]
[Element("<textarea />")]
public class TextAreaEditor : Widget<TextAreaEditorOptions>, ISt... | using jQueryApi;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Serenity
{
[Editor, DisplayName("Çok Satırlı Metin"), OptionsType(typeof(TextAreaEditorOptions))]
[Element("<textarea />")]
public class TextAreaEditor : Widget<TextAreaEditorOptions>, ISt... | mit | C# |
95ec85e191d9f7385afb6c5d6a755140d32a7d1d | Remove empty type param doc | ddpruitt/morelinq,ddpruitt/morelinq,fsateler/MoreLINQ,fsateler/MoreLINQ,morelinq/MoreLINQ,morelinq/MoreLINQ | MoreLinq.Test/UnenumerableList.cs | MoreLinq.Test/UnenumerableList.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace MoreLinq.Test
{
/// <summary>
/// This class implement <see cref="IList{T}"/> but specifically prohibits enumeration using GetEnumerator().
/// It is provided to assist in testing extension methods that MUST NOT call the Ge... | using System;
using System.Collections;
using System.Collections.Generic;
namespace MoreLinq.Test
{
/// <summary>
/// This class implement <see cref="IList{T}"/> but specifically prohibits enumeration using GetEnumerator().
/// It is provided to assist in testing extension methods that MUST NOT call the Ge... | apache-2.0 | C# |
29d49ab51f94852d3b91705df375c1d2713750f8 | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | autofac/Autofac.Extras.EnterpriseLibraryConfigurator | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
4c36784c5750ee8b3af97175ee094beef95f609f | Set version to 9.4 for analytics | googleanalytics/google-analytics-plugin-for-unity,googleanalytics/google-analytics-plugin-for-unity,googleanalytics/google-analytics-plugin-for-unity,googleanalytics/google-analytics-plugin-for-unity | source/PlayServicesResolver/Editor/GADependencies.cs | source/PlayServicesResolver/Editor/GADependencies.cs | using Google.JarResolver;
using UnityEditor;
[InitializeOnLoad]
public static class GADependencies
{
private static readonly string PluginName = "gaUnityPlugin";
public static PlayServicesSupport svcSupport;
static GADependencies()
{
svcSupport = PlayServicesSupport.CreateInstance(
... | using Google.JarResolver;
using UnityEditor;
[InitializeOnLoad]
public static class GADependencies
{
private static readonly string PluginName = "gaUnityPlugin";
public static PlayServicesSupport svcSupport;
static GADependencies()
{
svcSupport = PlayServicesSupport.CreateInstance(
... | apache-2.0 | C# |
073a14ea43543a81bb0a7706f53be6cef7304d7b | Update version to 9.7-beta | logjam2/logjam,logjam2/logjam | build/Version.cs | build/Version.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Version.cs">
// Copyright (c) 2011-2014 logjam.codeplex.com.
// </copyright>
// Licensed under the <a href="http://logjam.codeplex.com/license">Apache License, Version 2.0</a>;
/... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Version.cs">
// Copyright (c) 2011-2014 logjam.codeplex.com.
// </copyright>
// Licensed under the <a href="http://logjam.codeplex.com/license">Apache License, Version 2.0</a>;
/... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.