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 |
|---|---|---|---|---|---|---|---|---|
9c366a9d9c08487b52013f7caf21bd54bbdf10ad | Disable tests in System.Net.Mail for UAP | JosephTremoulet/corefx,richlander/corefx,fgreinacher/corefx,ravimeda/corefx,zhenlan/corefx,ViktorHofer/corefx,ptoonen/corefx,zhenlan/corefx,ViktorHofer/corefx,DnlHarvey/corefx,ericstj/corefx,the-dwyer/corefx,nbarbettini/corefx,parjong/corefx,nchikanov/corefx,twsouthwick/corefx,tijoytom/corefx,seanshpark/corefx,seanshpa... | src/System.Net.Mail/tests/Functional/LoggingTest.cs | src/System.Net.Mail/tests/Functional/LoggingTest.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.Collections.Concurrent;
using System.Diagnostics;
using System.Diagnostics.Tracing;
using Xunit;
names... | // 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.Collections.Concurrent;
using System.Diagnostics;
using System.Diagnostics.Tracing;
using Xunit;
names... | mit | C# |
438fe1405ef3b67fa5385d4ac6622dc450062a34 | handle if httpRequest property is null in wcf request message | FatihSahin/test-flask,FatihSahin/test-flask | TestFlask.Assistant.Mvc/WcfExtensions/WcfMessageInspector.cs | TestFlask.Assistant.Mvc/WcfExtensions/WcfMessageInspector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
using System.Web;
using TestFlask.Assistant.Core.Config;
using TestFlask.Assistant.Mvc.Models;
using TestFlask.Models.Context;
namespace TestFlask.Ass... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
using System.Web;
using TestFlask.Assistant.Core.Config;
using TestFlask.Assistant.Mvc.Models;
using TestFlask.Models.Context;
namespace TestFlask.Ass... | mit | C# |
303a2faa29cd13611523f1d00a232403d8c1c891 | add drives for file dialog on linux | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserSources.cs | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserSources.cs | using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace WalletWasabi.Gui.ManagedDialogs
{
public class ManagedFileChooserSources
{
public Func<ManagedFileChooserNavigationItem[]> GetUserDirectories { get; set; }
= DefaultGetUserDirectories;
public Func<ManagedFileCho... | using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace WalletWasabi.Gui.ManagedDialogs
{
public class ManagedFileChooserSources
{
public Func<ManagedFileChooserNavigationItem[]> GetUserDirectories { get; set; }
= DefaultGetUserDirectories;
public Func<ManagedFileCho... | mit | C# |
bcaaf2527892e3ac2a02fc64e8226f5664a4a5f0 | Fix Spun Out mod being affected by rate-changing mods | peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.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.Graphics.Sprites;
using osu.Framework.Utils;
using osu.Game.Graphics;
u... | // 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.Graphics.Sprites;
using osu.Framework.Utils;
using osu.Game.Graphics;
u... | mit | C# |
9e6fde7d09ebc8376df331f9b4e629bf34fe54f5 | Add license header | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game.Tests/Chat/MessageNotifierTests.cs | osu.Game.Tests/Chat/MessageNotifierTests.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 NUnit.Framework;
using osu.Game.Online.Chat;
namespace osu.Game.Tests.Chat
{
[TestFixture]
public class MessageNotifierTests
{
private readonl... | using NUnit.Framework;
using osu.Game.Online.Chat;
namespace osu.Game.Tests.Chat
{
[TestFixture]
public class MessageNotifierTests
{
private readonly MessageNotifier messageNotifier = new MessageNotifier();
[Test]
public void TestMentions()
{
// Message (with m... | mit | C# |
ed5f7e5353a77d05203a596cb0c3bee4380fd237 | Make OsuJsonDecoder apply defaults similar to OsuLegacyDecoder | johnneijzen/osu,EVAST9919/osu,ZLima12/osu,2yangk23/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,naoey/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,Frontear/osuKyzer,peppy/osu,johnneijzen/osu,Nabile-Rahmani/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,ppy/osu,EVAST9... | osu.Game/Beatmaps/Formats/OsuJsonDecoder.cs | osu.Game/Beatmaps/Formats/OsuJsonDecoder.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using osu.Game.IO.Serialization;
namespace osu.Game.Beatmaps.Formats
{
public class OsuJsonDecoder : BeatmapDecoder
{
public... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using osu.Game.IO.Serialization;
namespace osu.Game.Beatmaps.Formats
{
public class OsuJsonDecoder : BeatmapDecoder
{
public... | mit | C# |
2ff97ab90baf8be3ca1001c169cf266e1b46809f | Update Startup.cs | aspnet-plus/AspNet.Plus.Infrastructure | samples/WebApi.ExceptionInterceptSample/Startup.cs | samples/WebApi.ExceptionInterceptSample/Startup.cs | using AspNet.Plus.Infrastructure.Builder;
using AspNet.Plus.Infrastructure.ExceptionInterceptHandler;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.DependencyInjection;
using WebApi.ExceptionInterceptSample.ExceptionIntercepts;
using WebApi.ExceptionInterceptSample.Exception... | using AspNet.Plus.Infrastructure.Builder;
using AspNet.Plus.Infrastructure.ExceptionInterceptHandler;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.DependencyInjection;
using WebApi.ExceptionInterceptSample.ExceptionIntercepts;
using WebApi.ExceptionInterceptSample.Exception... | apache-2.0 | C# |
331ba711d62f5d20b5c934122fd27a00722342ea | make required | ucdavis/JsModels.Net,ucdavis/JsModels.Net,ucdavis/JsModels.Net | JsModels.Cmd/Options.cs | JsModels.Cmd/Options.cs | using CommandLine;
using CommandLine.Text;
namespace JsModels.Cmd
{
class Options
{
[Option('i', "inputAssembly", HelpText = "Target Input Assebmly.", Required = true)]
public string InputAssembly { get; set; }
[Option('x', "classes", HelpText = "Comma delimited list of classes to exp... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
using CommandLine.Text;
namespace JsModels.Cmd
{
class Options
{
[Option('i', "inputAssembly", DefaultValue = "", HelpText = "Target Input... | mit | C# |
02f5fda330306b6ae9b3a67dad6f50b2373562c6 | Add missing final newline in file | peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu | osu.Game/Online/RealtimeMultiplayer/NotJoinedRoomException.cs | osu.Game/Online/RealtimeMultiplayer/NotJoinedRoomException.cs | using System;
namespace osu.Game.Online.RealtimeMultiplayer
{
public class NotJoinedRoomException : Exception
{
public NotJoinedRoomException()
: base("This user has not yet joined a multiplayer room.")
{
}
}
}
| using System;
namespace osu.Game.Online.RealtimeMultiplayer
{
public class NotJoinedRoomException : Exception
{
public NotJoinedRoomException()
: base("This user has not yet joined a multiplayer room.")
{
}
}
} | mit | C# |
c1ec753a7321cbdab56a8602dc097d7957365433 | use WhereNotNull | eriawan/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,physhi/roslyn,mavasani/roslyn,AmadeusW/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,mavasani/roslyn,eriawan/roslyn,bartdesmet/roslyn,diryboy/roslyn,physhi/roslyn,diryboy/roslyn,bartdesmet... | src/EditorFeatures/Core/EditorConfigSettings/DataProvider/CombinedProvider.cs | src/EditorFeatures/Core/EditorConfigSettings/DataProvider/CombinedProvider.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.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tas... | // 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.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tas... | mit | C# |
0b35ec1807d4bd4ac49a2540c68b5ac277a2e3c3 | Increase MinIterationTime (Accuracy improvement) | Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/Ben... | src/BenchmarkDotNet.Core/Engines/EngineResolver.cs | src/BenchmarkDotNet.Core/Engines/EngineResolver.cs | using System;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Horology;
using BenchmarkDotNet.Jobs;
namespace BenchmarkDotNet.Engines
{
public class EngineResolver : Resolver
{
public static readonly IResolver Instance = new EngineResolver();
private EngineResolver()
{
... | using System;
using BenchmarkDotNet.Characteristics;
using BenchmarkDotNet.Horology;
using BenchmarkDotNet.Jobs;
namespace BenchmarkDotNet.Engines
{
public class EngineResolver : Resolver
{
public static readonly IResolver Instance = new EngineResolver();
private EngineResolver()
{
... | mit | C# |
6dbd8695ecae45c661060ebc0562d97ce1da09c1 | Fix DefaultTemplateFactory, #1063 | quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,NSwag/NSwag,quails4Eva/NSwag,RSuter/NSwag,NSwag/NSwag,NSwag/NSwag,RSuter/NSwag,quails4Eva/NSwag,NSwag/NSwag | src/NSwag.CodeGeneration/DefaultTemplateFactory.cs | src/NSwag.CodeGeneration/DefaultTemplateFactory.cs | //-----------------------------------------------------------------------
// <copyright file="DefaultTemplateFactory.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter.... | //-----------------------------------------------------------------------
// <copyright file="DefaultTemplateFactory.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter.... | mit | C# |
db1c700c65b5fe25512e2bb185bce6d466c9b3ae | add namespace to solverinspector | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.SDK/Inspectors/Utilities/Solvers/SolverInspector.cs | Assets/MixedRealityToolkit.SDK/Inspectors/Utilities/Solvers/SolverInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities.Solvers;
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor.Solvers
{
[CustomEditor(ty... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities.Solvers;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(Solver))]
[CanEditMultipleObjects]
public class ... | mit | C# |
92ad556c02b9a1a8011596b70f3fc63aa8b5eefc | Correct typo in XML comment of FindByColumnIndexStrategy.CellXPath | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/ScopeSearch/Strategies/FindByColumnIndexStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByColumnIndexStrategy.cs | namespace Atata
{
/// <summary>
/// Represents a strategy that finds a control in a cell searched by the specified column index.
/// </summary>
public class FindByColumnIndexStrategy : XPathComponentScopeLocateStrategy
{
/// <summary>
/// Initializes a new instance of the <see cref=... | namespace Atata
{
/// <summary>
/// Represents a strategy that finds a control in a cell searched by the specified column index.
/// </summary>
public class FindByColumnIndexStrategy : XPathComponentScopeLocateStrategy
{
/// <summary>
/// Initializes a new instance of the <see cref=... | apache-2.0 | C# |
52c6ca129f97986199fa06bf81738bbaca8b9a3e | Increase ManjiSpace power to 1.3 and 1.6 | bunashibu/kikan | Assets/Scripts/Skill/Manji/ManjiSpace.cs | Assets/Scripts/Skill/Manji/ManjiSpace.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using UniRx.Triggers;
namespace Bunashibu.Kikan {
public class ManjiSpace : Skill {
void Awake() {
this.UpdateAsObservable()
.Where(_ => _skillUserObj != null)
.Take(1)
.Subscr... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UniRx;
using UniRx.Triggers;
namespace Bunashibu.Kikan {
public class ManjiSpace : Skill {
void Awake() {
this.UpdateAsObservable()
.Where(_ => _skillUserObj != null)
.Take(1)
.Subscr... | mit | C# |
af2a049b3e9c25e53c0407daeb507ccaa566c9cb | Update AssemblyInfo. | cheezburger/Cheezburger-BDSM,ststeiger/Cheezburger-BDSM | Cheezburger.SchemaManager/Properties/AssemblyInfo.cs | Cheezburger.SchemaManager/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("Cheezburger.SchemaManager")]
[asse... | 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# |
bec06cfac7827423bbea001dd9cd5fd039b8bb09 | Reword `StableDirectoryLocationDialog` header | smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu | osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectorySelectScreen.cs | osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectorySelectScreen.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.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Screens;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
namespace osu.G... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Screens;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
namespace osu.G... | mit | C# |
b94e601077ee9facc4f5f2e5b1bb93ea5269361d | fix some gramm mistakes | egorplotnikov/NeuralCryptography | CSharpCode_v0.1/NeuralCryptography/Code/Program.cs | CSharpCode_v0.1/NeuralCryptography/Code/Program.cs | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
namespace NeuroNetTest
{
class MainClass
{
private static int CountOfHiddenNeirons = 3;
private static int Range = 20;
private static int CountOfInputsInOneNeuron = 4;
private static bool IsDebugOn = false;
public stat... | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
namespace NeuroNetTest
{
class MainClass
{
private static int CountOfHiddenNeirons = 3;
private static int Range = 20;
private static int CountOfInputsInOneNeuron = 4;
private static bool IsDebugOn = false;
public stat... | mit | C# |
211dba22415aacd0a358789a433e14dcd6635cf3 | Remove unecassary stuff. | App2Night/App2Night.Xamarin | App2Night/App2Night/PageModel/Subpages/EditProfileViewModel.cs | App2Night/App2Night/PageModel/Subpages/EditProfileViewModel.cs | using System.Threading.Tasks;
using App2Night.CustomView.View;
using App2Night.Model.Enum;
using App2Night.Service.Interface;
using FreshMvvm;
using PropertyChanged;
using Xamarin.Forms;
namespace App2Night.PageModel.SubPages
{
[ImplementPropertyChanged]
public class EditProfileViewModel : FreshBasePageModel
... | using System.Threading.Tasks;
using App2Night.CustomView.View;
using App2Night.Model.Enum;
using App2Night.Service.Interface;
using FreshMvvm;
using PropertyChanged;
using Xamarin.Forms;
namespace App2Night.PageModel.SubPages
{
[ImplementPropertyChanged]
public class EditProfileViewModel : FreshBasePageModel
... | mit | C# |
52582ee1af103455fdb595bc81faad56c6dcc017 | Remove Obsolete attribute | Vorlias/Andromeda | Entities/Components/World/SoundEffect.cs | Entities/Components/World/SoundEffect.cs | using SFML.Audio;
using SFML.System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VorliasEngine2D.Entities.Components.Internal;
using VorliasEngine2D.System;
namespace VorliasEngine2D.Entities.Components
{
public class SoundEffect : Comp... | using SFML.Audio;
using SFML.System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VorliasEngine2D.Entities.Components.Internal;
using VorliasEngine2D.System;
namespace VorliasEngine2D.Entities.Components
{
[Obsolete("Don't use this class... | mit | C# |
ce9fe690d5c071240cc0ddf45b83a300c19e07b8 | add extensions to control filtering by specific type | NickStrupat/EntityFramework.SoftDeletable | EntityFramework.SoftDeletable/DbContextExtensions.cs | EntityFramework.SoftDeletable/DbContextExtensions.cs | using System;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Configuration;
using EntityFramework.Filters;
namespace EntityFramework.SoftDeletable {
public static class DbContextExtensions {
private const String SoftDeletableFilterName = "SoftDeletable";
public static void ... | using System;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Configuration;
using EntityFramework.Filters;
namespace EntityFramework.SoftDeletable {
public static class DbContextExtensions {
private const String SoftDeletableFilterName = "SoftDeletable";
public static void ... | mit | C# |
e28e50db75b11c39fa6e1c344b4aa864d162130d | fix set order switch | maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp | Source/SafetySharp/Analysis/Heuristics/SubsumptionHeuristic.cs | Source/SafetySharp/Analysis/Heuristics/SubsumptionHeuristic.cs | namespace SafetySharp.Analysis.Heuristics
{
using System.Collections.Generic;
using Modeling;
using Runtime;
public class SubsumptionHeuristic : IFaultSetHeuristic
{
private Fault[] allFaults;
private readonly HashSet<FaultSet> subsumedSets = new HashSet<FaultSet>();
priv... | namespace SafetySharp.Analysis.Heuristics
{
using System.Collections.Generic;
using Modeling;
using Runtime;
public class SubsumptionHeuristic : IFaultSetHeuristic
{
private Fault[] allFaults;
private readonly HashSet<FaultSet> subsumedSets = new HashSet<FaultSet>();
priv... | mit | C# |
ba84e7b9b66158eab835fc54ce5ea4b7f9e674c5 | Fix test ShouldThrowInvalidOperationExceptionIfAppResourceCannotBeFound | thomasgalliker/ValueConverters.NET | Tests/ValueConverters.NetFx.Tests/EnumWrapperConverterTests.cs | Tests/ValueConverters.NetFx.Tests/EnumWrapperConverterTests.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using ValueConverters.NetFx.Tests.TestData;
using Xunit;
using FluentAssertions;
namespace ValueConverters.NetFx.Tests
{
public class EnumWrapperConverterTests
{
[Fact]
public void ShouldConvert()
... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using ValueConverters.NetFx.Tests.TestData;
using Xunit;
using FluentAssertions;
namespace ValueConverters.NetFx.Tests
{
public class EnumWrapperConverterTests
{
[Fact]
public void ShouldConvert()
... | mit | C# |
b3578b0cb8f6b43f299a0978d11cc0caedecdb2a | Apply suggestions from code review | robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,abryu... | src/Umbraco.Core/Services/ICacheInstructionService.cs | src/Umbraco.Core/Services/ICacheInstructionService.cs | using System;
using System.Collections.Generic;
using Umbraco.Cms.Core.Sync;
namespace Umbraco.Cms.Core.Services
{
public interface ICacheInstructionService
{
/// <summary>
/// Checks to see if a cold boot is required, either because instructions exist and none have been synced or
/// b... | using System;
using System.Collections.Generic;
using Umbraco.Cms.Core.Sync;
namespace Umbraco.Cms.Core.Services
{
public interface ICacheInstructionService
{
/// <summary>
/// Checks to see if a cold boot is required, either because instructions exist and none have been synced or
/// b... | mit | C# |
04008653170cb10ddce75f7c35d1720e45b2f0b3 | Fix a bug where you could create an already existing playlist | OatmealDome/SplatoonUtilities | MusicRandomizer/MusicRandomizer/NewPlaylistForm.cs | MusicRandomizer/MusicRandomizer/NewPlaylistForm.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace MusicRandomizer
{
public partial class NewPlaylistForm : Form
{
public String name;
public NewPlaylistForm()
{
InitializeComponent();
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace MusicRandomizer
{
public partial class NewPlaylistForm : Form
{
public String name;
public NewPlaylistForm()
{
InitializeComponent();
... | mit | C# |
c73a9a649c3602a1b51fc9fed559f1cb9261c194 | return to usually cycle | IlyasGaripov/Math-Shapes | MathShapesProject/Assets/Scripts/Game.cs | MathShapesProject/Assets/Scripts/Game.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Game : MonoBehaviour {
private int coins;
// Use this for initialization
void Start () {
for(int i = 0; i <10; i++)
{
coins++;
}
}
// Update is called once per frame
void Update () {
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Game : MonoBehaviour {
private int coins;
// Use this for initialization
void Start () {
for (int i = 0; i < 20; i++)
{
coins++;
if (coins > 10)
{
Deb... | mit | C# |
f81eb2de65cf6f162e69836b1a0c0ccca0584f9a | Remove unnecessary local store | UselessToucan/osu,Frontear/osuKyzer,2yangk23/osu,peppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,Nabile-Rahmani/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,DrabWeb/osu,naoey/osu,ppy/osu,NeoAdonis/osu,naoey/osu,ZL... | osu.Game/Skinning/LegacySkin.cs | osu.Game/Skinning/LegacySkin.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 System;
using System.IO;
using System.Linq;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Graphics;
using osu.Framewor... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.IO;
using System.Linq;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Graphics;
using osu.Framewor... | mit | C# |
2b4af53ec52648ca88679ec83e2b101a3c3dec08 | fix body | darrenkopp/SassyStudio | SassyStudio.Compiler/Parsing/ControlDirectiveBody.cs | SassyStudio.Compiler/Parsing/ControlDirectiveBody.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SassyStudio.Compiler.Parsing
{
public class ControlDirectiveBody : BlockItem
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SassyStudio.Compiler.Parsing
{
public class ControlDirectiveBody : RuleBlock
{
}
}
| mit | C# |
25efe0cbd01016d49c1033119fb70c944f624fa6 | Change "Slideshow" "Root Folder" option name | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/PictureSlideshow/Settings.cs | DesktopWidgets/Widgets/PictureSlideshow/Settings.cs | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.PictureSlideshow
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 384;
Height = 216;
}
[Category("General")]
... | using System;
using System.ComponentModel;
using DesktopWidgets.WidgetBase.Settings;
namespace DesktopWidgets.Widgets.PictureSlideshow
{
public class Settings : WidgetSettingsBase
{
public Settings()
{
Width = 384;
Height = 216;
}
[Category("General")]
... | apache-2.0 | C# |
59b897fb110d48ec82daaa030a87478d9747d8b3 | fix oversight | sebas77/Svelto.ECS | Svelto.ECS/Serialization/DefaultVersioningFactory.cs | Svelto.ECS/Serialization/DefaultVersioningFactory.cs | using System.Collections.Generic;
namespace Svelto.ECS.Serialization
{
public class DefaultVersioningFactory<T> : IDeserializationFactory where T : IEntityDescriptor, new()
{
public EntityStructInitializer BuildDeserializedEntity(EGID egid,
... | using System.Collections.Generic;
namespace Svelto.ECS.Serialization
{
public class DefaultVersioningFactory<T> : IDeserializationFactory where T : IEntityDescriptor, new()
{
public EntityStructInitializer BuildDeserializedEntity(EGID egid,
... | mit | C# |
82c9fd6c488a3e9b85c533223fc8e2b1bdf0a47a | add Description as keyword | rhwy/iago | src/lib/describe.cs | src/lib/describe.cs | using static System.Console;
namespace Iago
{
public delegate string Specify();
public delegate string Description();
public delegate void TestAction();
public static class Specs {
public static void When(string definition, TestAction act) {
WriteLine("\t[when] "+definition);
act();
}
... | using static System.Console;
namespace NDescribe
{
public delegate string Specify();
public delegate void TestAction();
public static class Specs {
public static void When(string definition, TestAction act) {
WriteLine("\t[when] "+definition);
act();
}
public static void Then(string defi... | mit | C# |
2ae07d3277ae5b55bc66831e8355ddba9873d4da | Reduce the priority in AvaloniaSynchronizationContext. | SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia | src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs | src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs | using System;
using System.Runtime.ConstrainedExecution;
using System.Threading;
namespace Avalonia.Threading
{
/// <summary>
/// SynchronizationContext to be used on main thread
/// </summary>
public class AvaloniaSynchronizationContext : SynchronizationContext
{
/// <summary>
/// ... | using System;
using System.Runtime.ConstrainedExecution;
using System.Threading;
namespace Avalonia.Threading
{
/// <summary>
/// SynchronizationContext to be used on main thread
/// </summary>
public class AvaloniaSynchronizationContext : SynchronizationContext
{
/// <summary>
/// ... | mit | C# |
7e5532a6f4121b590d0e4c3b0bd39ce3eef6bcd6 | update MarkdownFragmentsFileModel (#2421) | dotnet/docfx,dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,superyyrrzz/docfx,superyyrrzz/docfx | src/Microsoft.DocAsCode.Plugins/MarkdownFragmentsFileModel.cs | src/Microsoft.DocAsCode.Plugins/MarkdownFragmentsFileModel.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Plugins
{
using System.Runtime.Serialization;
public class MarkdownFragmentsFileModel
{
public FileAndType OriginalF... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Plugins
{
using System.Runtime.Serialization;
public class MarkdownFragmentsFileModel
{
public FileAndType OriginalF... | mit | C# |
8241ab0144d9a0f67a1987e7517671e2b70dbc69 | Remove FieldCategoryFilter from emailConfiguration. | rhythmagency/formulate,rhythmagency/formulate,rhythmagency/formulate | src/formulate.app/Forms/Handlers/Email/EmailConfiguration.cs | src/formulate.app/Forms/Handlers/Email/EmailConfiguration.cs | namespace formulate.app.Forms.Handlers.Email
{
using System.Collections.Generic;
public class EmailConfiguration
{
public string SenderEmail { get; set; }
public IEnumerable<string> Recipients { get; set; }
public string Message { get; set; }
public string Subject { get; set... | namespace formulate.app.Forms.Handlers.Email
{
using System.Collections.Generic;
public class EmailConfiguration
{
public string SenderEmail { get; set; }
public IEnumerable<string> Recipients { get; set; }
public string Message { get; set; }
public string Subject { get; set... | mit | C# |
33e843d1ce360327d9f618a8abbe0ae2c52a4f86 | fix build | dfensgmbh/biz.dfch.CS.Entity.LifeCycleManager,dfensgmbh/biz.dfch.CS.Entity.LifeCycleManager,dfensgmbh/biz.dfch.CS.Entity.LifeCycleManager | src/biz.dfch.CS.Entity.LifeCycleManager/Controller/TenantAwareODataController.cs | src/biz.dfch.CS.Entity.LifeCycleManager/Controller/TenantAwareODataController.cs | /**
* Copyright 2015 Marc Rufer, d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /**
* Copyright 2015 Marc Rufer, d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | C# |
370eee589e7e2764a17380e617ac187632d17831 | Fix for permission adding with incorrect cast | phogue/Potato,phogue/Potato,phogue/Potato | src/Procon.Core.Shared/Models/GroupModel.cs | src/Procon.Core.Shared/Models/GroupModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Procon.Net.Shared.Actions;
namespace Procon.Core.Shared.Models {
[Serializable]
public class GroupModel : CoreModel, IDisposable {
/// <summary>
/// The unique name of this group.
/// </summary>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Procon.Net.Shared.Actions;
namespace Procon.Core.Shared.Models {
[Serializable]
public class GroupModel : CoreModel, IDisposable {
/// <summary>
/// The unique name of this group.
/// </summary>... | apache-2.0 | C# |
9d8c46a5de08ba6b42255d5636e9f62b6cfc685e | Add unit test | DigDes/SoapCore | src/SoapCore.Tests/RawRequestSoap11Tests.cs | src/SoapCore.Tests/RawRequestSoap11Tests.cs | using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SoapCore.Tests
{
[TestClass]
public class RawRequestSoap11Tests
{
[TestMethod]
public async Task Soap11Em... | using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SoapCore.Tests
{
[TestClass]
public class RawRequestSoap11Tests
{
[TestMethod]
public async Task Soap11Em... | mit | C# |
9cfd8b25b1b2cb36f0d75aca27a7edbe0a20840a | fix exceptions in validator code. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace WalletWasabi.Gui.ViewModels.Validation
{
public static class Validator
{
public static List<string> ValidateAllProperties(object instance)
{
List<string> result = new List<string>();
foreach (PropertyInfo property in R... | using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace WalletWasabi.Gui.ViewModels.Validation
{
public static class Validator
{
public static List<string> ValidateAllProperties(object instance)
{
List<string> result = new List<string>();
foreach (PropertyInfo property in R... | mit | C# |
845c8925b76d31a906fc8ca8b005aa1244f41362 | Add set | akromm/azure-sdk-tools,akromm/azure-sdk-tools,DinoV/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sd... | WindowsAzurePowershell/src/Management.Utilities/Common/WindowsAzureEnvironment.cs | WindowsAzurePowershell/src/Management.Utilities/Common/WindowsAzureEnvironment.cs | // ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// 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... | // ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// 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... | apache-2.0 | C# |
48e710031e85e8563084737012593862a1494865 | Disable unstable test https://github.com/Azure/azure-webjobs-sdk-script/issues/1715 | fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script | test/WebJobs.Script.Tests.Integration/ListenerFailureTests.cs | test/WebJobs.Script.Tests.Integration/ListenerFailureTests.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Azure.WebJobs.Script.Tests
{
public class List... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Azure.WebJobs.Script.Tests
{
public class List... | mit | C# |
d61a8327da94243b65d7761ee23d9a5f4649a5fe | Fix rim flying hits changing colour | peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableFlyingHit.cs | osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableFlyingHit.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
/// <summary>
/// A hit used specifically f... | // 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.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Rulesets.Taiko.Objects.Drawables
{
/// <summary>
/// A hit used specifically f... | mit | C# |
68fdcbe695a20df9b67eb266caa9f084e76237f4 | Update UsingCellIndex.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells... | Examples/CSharp/Data/Handling/AccessingCells/UsingCellIndex.cs | Examples/CSharp/Data/Handling/AccessingCells/UsingCellIndex.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.AccessingCells
{
public class UsingCellIndex
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspo... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.AccessingCells
{
public class UsingCellIndex
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.... | mit | C# |
5d6e996eeed7a27013652bcc4bb1c440b84ce374 | Remove "Contact Developer" item from nav | stephengtuggy/AspNetMvcEF6ContactManager,stephengtuggy/AspNetMvcEF6ContactManager,stephengtuggy/AspNetMvcEF6ContactManager | AspNetMvcEF6ContactManager/Views/Shared/_Layout.cshtml | AspNetMvcEF6ContactManager/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-in... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-in... | mit | C# |
66cc46ab94bde46bf8f1c740684fbca76380806d | Fix key name constants. | AditiTechnologies/Aditi.Scheduler,AditiTechnologies/Aditi.Scheduler | src/Aditi.Scheduler.Models/TaskParamKeys.cs | src/Aditi.Scheduler.Models/TaskParamKeys.cs | namespace Aditi.Scheduler.Models
{
public static class TaskParamKeys
{
public const string Url = "url";
public const string ValidateSsl = "validateSsl";
public const string Verb = "verb";
public const string Content = "content";
public const string DataType = "dataType";
... | namespace Aditi.Scheduler.Models
{
public static class TaskParamKeys
{
public const string Url = "url";
public const string ValidateSsl = "validateSsl";
public const string Verb = "verb";
public const string Content = "content";
public const string DataType = "dataType";
... | apache-2.0 | C# |
d5b53d9511bfeddb37932af7d39287474372f9eb | Update DanielMonetelli.cs (#552) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/DanielMonetelli.cs | src/Firehose.Web/Authors/DanielMonetelli.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DanielMonetelli : IAmAYoutuber
{
public string FirstName => "Daniel";
public string LastName => "Monetelli";
public string ShortBioOrTagLine => "is a Xamarin Mobile Developer, UI/U... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class DanielMonetelli : IAmAYoutuber
{
public string FirstName => "Daniel";
public string LastName => "Monetelli";
public string ShortBioOrTagLine => "Daniel Monetelli is a Xamarin Mobil... | mit | C# |
f275c111d5a0404d32c6959ce7f561714b25e3d0 | Remove IOwned | yufeih/Nine.Storage,studio-nine/Nine.Storage | src/Nine.Storage.Abstractions/Interfaces.cs | src/Nine.Storage.Abstractions/Interfaces.cs | namespace Nine.Storage
{
using System;
/// <summary>
/// Represents a storage object that can be saved
/// </summary>
public interface IKeyed
{
/// <summary>
/// Gets or sets a key that identifies this object.
/// </summary>
string GetKey();
}
/// <... | namespace Nine.Storage
{
using System;
/// <summary>
/// Represents a storage object that can be saved
/// </summary>
public interface IKeyed
{
/// <summary>
/// Gets or sets a key that identifies this object.
/// </summary>
string GetKey();
}
/// <... | mit | C# |
6b09e8b1c809b36cb3d8b2528633eb90f728bef8 | Change Namespace/Accessor | mstum/Simplexcel,mstum/Simplexcel | src/Simplexcel/Cells/XlsxColumnAttribute.cs | src/Simplexcel/Cells/XlsxColumnAttribute.cs | using System;
namespace Simplexcel
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class XlsxColumnAttribute : Attribute
{
/// <summary>
/// The name of the Column, used as the Header row
/// </summary>
... | using System;
namespace Simplexcel.Cells
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
internal class XlsxColumnAttribute : Attribute
{
/// <summary>
/// The name of the Column, used as the Header row
/// </summary>
... | mit | C# |
76d2a8cf743f81e570f3ab61dac80db02148ed20 | Refactor editor script | jkereako/PillBlasta | Assets/Editor/MapEditor.cs | Assets/Editor/MapEditor.cs | using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(MapGenerator))]
public class MapEditor: Editor {
public override void OnInspectorGUI() {
MapGenerator map = target as MapGenerator;
// Generate the map when a value changes.
if (DrawDefaultInspector()) {
map.GenerateMap();
}
// ... | using UnityEditor;
[CustomEditor(typeof(MapGenerator))]
public class MapEditor: Editor {
public override void OnInspectorGUI() {
base.OnInspectorGUI();
MapGenerator map = target as MapGenerator;
map.GenerateMap();
}
}
| mit | C# |
943430a1f101c56840968d7ec580b6a37b7c4bcd | remove unnecessary System.Linq reference | tonyqus/npoi,antony-liu/npoi | main/SS/UserModel/Charts/BarChartSeries.cs | main/SS/UserModel/Charts/BarChartSeries.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace NPOI.SS.UserModel.Charts
{
public interface IBarChartSeries<Tx, Ty> : IChartSeries
{
/**
* @return data source used for category axis data.
*/
IChartDataSource<Tx> GetCategoryAxisData();
/**... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NPOI.SS.UserModel.Charts
{
public interface IBarChartSeries<Tx, Ty> : IChartSeries
{
/**
* @return data source used for category axis data.
*/
IChartDataSource<Tx> GetCategoryAxisD... | apache-2.0 | C# |
c89d34e69418c46884edad4ac361c844958d9d6c | Add list of Nonce orders in App model | e5r/E5R.Framework,e5r/E5R.Framework | src/E5R.Framework.Security.Auth.Data/Models/App.cs | src/E5R.Framework.Security.Auth.Data/Models/App.cs | // Copyright (C) E5R Development Team. All rights reserved.
// Licensed under the MIT License. See LICENSE file for license information.
using System;
using System.Collections.Generic;
namespace E5R.Framework.Security.Auth.Data.Models
{
#pragma warning disable 108
public class App : DataModel<App, AuthId>
... | // Copyright (C) E5R Development Team. All rights reserved.
// Licensed under the MIT License. See LICENSE file for license information.
namespace E5R.Framework.Security.Auth.Data.Models
{
#pragma warning disable 108
public class App : DataModel<App, AuthId>
{
public string Name { get; set; }
... | mit | C# |
ef8b1aa7858be45bf8705faaf477b3dba41f7853 | Update Mike's Working with Images sample. | nervevau2/monotouch-samples,a9upam/monotouch-samples,labdogg1003/monotouch-samples,nervevau2/monotouch-samples,sakthivelnagarajan/monotouch-samples,andypaul/monotouch-samples,albertoms/monotouch-samples,YOTOV-LIMITED/monotouch-samples,andypaul/monotouch-samples,robinlaide/monotouch-samples,W3SS/monotouch-samples,hongng... | Working_with_images/Working_with_images/AppDelegate.cs | Working_with_images/Working_with_images/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Working_with_images
{
/// <summary>
/// The UIApplicationDelegate for the application. This class is responsible for launching the
/// User Interface of the application, as well ... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Working_with_images
{
/// <summary>
/// The UIApplicationDelegate for the application. This class is responsible for launching the
/// User Interface of the application, as well ... | mit | C# |
bfaba2fe74bb3749cf0b544153f08bd7e8d07265 | Change some some syntax conventions. | Warhead-Entertainment/OpenWorld | Assets/Scripts/HUD.cs | Assets/Scripts/HUD.cs | using UnityEngine;
using System.Collections;
public sealed class HUD : MonoBehaviour {
private int FrameCount = 0;
private float DeltaTime = 0.0F;
private float FPS = 0.0F;
private float UpdateRate = 5.0F;
void Start () {
}
void Update () {
FrameCount++;
DeltaTime += Time.deltaTime;
if (DeltaTime > 1.... | using UnityEngine;
using System.Collections;
public sealed class HUD : MonoBehaviour {
private int frameCount = 0;
private float dt = 0.0F;
private float fps = 0.0F;
private float updateRate = 4.0F;
void Start () {
}
void Update () {
frameCount++;
dt += Time.deltaTime;
if (dt > 1.0F / updateRate) {
... | mit | C# |
d1ddbc58b8149cd7c57d145971c7a8d80c5dce77 | Fix build break in TFS build (#3304) | gregkalapos/corert,shrah/corert,yizhang82/corert,yizhang82/corert,tijoytom/corert,tijoytom/corert,shrah/corert,botaberg/corert,botaberg/corert,tijoytom/corert,krytarowski/corert,shrah/corert,yizhang82/corert,botaberg/corert,gregkalapos/corert,krytarowski/corert,tijoytom/corert,shrah/corert,krytarowski/corert,botaberg/c... | src/Common/src/TypeSystem/Sorting/SignatureVariable.Sorting.cs | src/Common/src/TypeSystem/Sorting/SignatureVariable.Sorting.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Internal.TypeSystem
{
// Functionality related to determinstic ordering of types
pa... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace Internal.TypeSystem
{
// Functionality related to determinstic ordering of types
pa... | mit | C# |
951268fe810a653516f8f4c28e38fa521fc33809 | update version info | AppSpaceIT/PaylevenWebAppSharp | src/PaylevenWebAppSharp/Properties/AssemblyInfo.cs | src/PaylevenWebAppSharp/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("PaylevenWebAppSharp")]
[assembly: ... | 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("PaylevenWebAppSharp")]
[assembly: ... | apache-2.0 | C# |
ea13d43e8418f2f99090b4c747420ce5ae84e21e | use new tooltip | neowutran/ShinraMeter,neowutran/TeraDamageMeter,radasuka/ShinraMeter,Seyuna/ShinraMeter | DamageMeter.UI/HistoryLink.xaml.cs | DamageMeter.UI/HistoryLink.xaml.cs | using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using DamageMeter.TeraDpsApi;
using Data;
using Tera.Game;
namespace DamageMeter.UI
{
/// <summary>
/// Logique d'interaction pour HistoryLink.xaml
/// <... | using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using Data;
using Tera.Game;
namespace DamageMeter.UI
{
/// <summary>
/// Logique d'interaction pour HistoryLink.xaml
/// </summary>
public partial class HistoryLink
{
... | mit | C# |
cc1720241e8d63fb3d9d56333eb348d89933eafb | Fix DifficultyCalculator using incorrect mods | 2yangk23/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,Nabile-Rahmani/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,Drezi126/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,naoey/osu,ZLima12/osu,peppy/o... | osu.Game/Beatmaps/DifficultyCalculator.cs | osu.Game/Beatmaps/DifficultyCalculator.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects;
using System.Collections.Generic;
using osu.Game.Rulesets.Mods;
using osu.Framework.Timing;
using System.Linq;
using osu.Framew... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Objects;
using System.Collections.Generic;
using osu.Game.Rulesets.Mods;
using osu.Framework.Timing;
using System.Linq;
using osu.Framew... | mit | C# |
295c8ae0b9df92573821b478668c94b3bbc33baa | Fix typo. | stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support | nuget-extensions/nuget-commands/src/CommandBase.cs | nuget-extensions/nuget-commands/src/CommandBase.cs | using System;
using NuGet;
using NuGet.Commands;
namespace JetBrains.TeamCity.NuGet.ExtendedCommands
{
public abstract class CommandBase : Command
{
public sealed override void ExecuteCommand()
{
try
{
ExecuteCommandImpl();
} catch(Exception e)
{
Syste... | using System;
using NuGet;
using NuGet.Commands;
namespace JetBrains.TeamCity.NuGet.ExtendedCommands
{
public abstract class CommandBase : Command
{
public sealed override void ExecuteCommand()
{
try
{
ExecuteCommandImpl();
} catch(Exception e)
{
Syste... | apache-2.0 | C# |
b424d20f267b26104eca245cf1f3de926f29849b | Fix rounded buttons not allowing custom colour specifications | NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs | osu.Game/Graphics/UserInterfaceV2/RoundedButton.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
usin... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
usin... | mit | C# |
59e40904ad6d6cbd68f4c1c3eecda73a02973c03 | Remove redundant websocket sample code. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/SampleApp/Startup.cs | samples/SampleApp/Startup.cs | using System;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
namespace SampleApp
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.Run(async context =>
{
Console.WriteLine("{0} {1}{2}{3}",
con... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using System;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
namespace SampleApp
{
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.Run(async context =>
... | apache-2.0 | C# |
283de80c77cfb08d2f1f381c5e75e6621f8b381d | Use switch instead of ifs | DrabWeb/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ZLima12/osu-... | osu.Framework/Input/UserInputManager.cs | osu.Framework/Input/UserInputManager.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.Collections.Generic;
using osu.Framework.Event;
using osu.Framework.Input.Handlers;
using osu.Framework.Platform;
using OpenTK;
namespace osu.Fr... | // 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.Collections.Generic;
using osu.Framework.Event;
using osu.Framework.Input.Handlers;
using osu.Framework.Platform;
using OpenTK;
namespace osu.Fr... | mit | C# |
2d4ae0b4a8f467b24eb6034adc1ebcf0cf113509 | Switch logging to local time | Noikoio/RegexBot | Services/Logging/LoggingService.cs | Services/Logging/LoggingService.cs | using Discord;
using System.Reflection;
using System.Text;
namespace RegexBot.Services.Logging;
/// <summary>
/// Implements program-wide logging.
/// </summary>
class LoggingService : Service {
// NOTE: Service.Log's functionality is implemented here. DO NOT use within this class.
private readonly string _lo... | using Discord;
using System.Reflection;
using System.Text;
namespace RegexBot.Services.Logging;
/// <summary>
/// Implements program-wide logging.
/// </summary>
class LoggingService : Service {
// NOTE: Service.Log's functionality is implemented here. DO NOT use within this class.
private readonly string? _l... | mit | C# |
61f7c65c111395f76b18c9b114e0f527354ea2e2 | Update RobSewell.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/RobSewell.cs | src/Firehose.Web/Authors/RobSewell.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RobSewell : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Rob";
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RobSewell : IFilterMyBlogPosts
{
public string FirstName => "Rob";
public string LastName... | mit | C# |
42f594611bb8d04d61acb6f2593896906f7853bc | comment to AuthActionFilter | amitla/google-api-dotnet-client,hurcane/google-api-dotnet-client,aoisensi/google-api-dotnet-client,karishmal/google-api-dotnet-client,olofd/google-api-dotnet-client,bacm/google-api-dotnet-client,eshangin/google-api-dotnet-client,joesoc/google-api-dotnet-client,arjunRanosys/google-api-dotnet-client,luantn2/google-api-do... | Src/GoogleApis.Auth.Mvc4/OAuth2/Mvc/Filters/AuthActionFilter.cs | Src/GoogleApis.Auth.Mvc4/OAuth2/Mvc/Filters/AuthActionFilter.cs | /*
Copyright 2013 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | /*
Copyright 2013 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | apache-2.0 | C# |
9e7a84c34768335b696f25e39bc4403eeda26cdd | Correct formatting on class template file (#194) | nanoframework/nf-Visual-Studio-extension | source/CSharp.ClassTemplate/Class.cs | source/CSharp.ClassTemplate/Class.cs | using System;
namespace $rootnamespace$
{
class $safeitemname$
{
}
}
| using System;
namespace $rootnamespace$
{
class $safeitemname$
{
}
}
| mit | C# |
60dcd02dd69f25864b5144bfc8a9cf129df72d75 | Add not decorator | marcotmp/BehaviorTree | Assets/Scripts/BehaviorTree/Decorators/Not.cs | Assets/Scripts/BehaviorTree/Decorators/Not.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Not : DecoratorTask
{
public Not(string name) : base(name)
{
}
public override ReturnCode Update()
{
var returnCode = task.Update();
if (returnCode == ReturnCode.Fail)
return Re... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Not : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| unlicense | C# |
73008217eeae9f31c71726aea58a5b90399cfda1 | Disable endpoint routing | andyfmiller/LtiLibrary | test/LtiLibrary.AspNetCore.Tests/Startup.cs | test/LtiLibrary.AspNetCore.Tests/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace LtiLibrary.AspNetCore.Tests
{
public class Startup
{
// ReSharper disable once UnusedParameter.Local
public Startup(IHostingEnvi... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace LtiLibrary.AspNetCore.Tests
{
public class Startup
{
// ReSharper disable once UnusedParameter.Local
public Startup(IHostingEnvi... | apache-2.0 | C# |
ed4547de4284462406af133a7bc55a5082cf92cf | Update AssemblyInfo.cs | omostan/CustomAssemblyInfo | CustomAssemblyInfo/Properties/AssemblyInfo.cs | CustomAssemblyInfo/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using CustomAssemblyInfo.Properties;
// 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("Cust... | using System.Reflection;
using System.Runtime.InteropServices;
using CustomAssemblyInfo.Properties;
// 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("Cust... | mit | C# |
688ddf2c54ab56ca0b74ab2dc7af5589b400e899 | Fix a problem with Button control. Previously, UI-related initialization code was being performed in Initialize(). Now, it's being done in the appropriate place - LoadContent(). | dneelyep/MonoGameUtils | MonoGameUtils/UI/Button.cs | MonoGameUtils/UI/Button.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGameUtils.UI
{
/// <summary>
/// Represents a rectangular button that can be clicked in a game.
/// </summary>
public class Button : DrawableGameComponent
{
public SpriteFont Font { get; set; }
pub... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGameUtils.UI
{
/// <summary>
/// Represents a rectangular button that can be clicked in a game.
/// </summary>
public class Button : DrawableGameComponent
{
public SpriteFont Font { get; set; }
pub... | mit | C# |
f7428577f98dee290a2efc911a761b3c60271ccc | Add new add-in repository, replacing wonky old one | jakeclawson/Pinta,Mailaender/Pinta,Fenex/Pinta,Mailaender/Pinta,PintaProject/Pinta,jakeclawson/Pinta,PintaProject/Pinta,Fenex/Pinta,PintaProject/Pinta | Pinta/AddinSetupService.cs | Pinta/AddinSetupService.cs | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | //
// AddinSetupService.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2011 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | mit | C# |
1ba93bca8a9ee94d5abdc9559178c86ee00c422b | Delete `default` from `AckResponseCode` | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/AckResponseCode.cs | Scripts/AckResponseCode.cs | namespace LiteNetLibManager
{
public enum AckResponseCode : byte
{
Success = 0,
Timeout = 1,
Error = 2,
Unimplemented = 3,
}
}
| namespace LiteNetLibManager
{
public enum AckResponseCode : byte
{
Default = 0,
Success = 1,
Timeout = 2,
Error = 3,
Unimplemented = 4,
}
}
| mit | C# |
b8a1ea40d647445a289ad1b73e5d15728c01f3f4 | Make test more generic... | Steve-Fenton/Katelyn,Steve-Fenton/Katelyn,Steve-Fenton/Katelyn | Katelyn.Core/Katelyn.Tests/IntegrationTest.cs | Katelyn.Core/Katelyn.Tests/IntegrationTest.cs | using Katelyn.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using System;
using System.Collections.Generic;
namespace Katelyn.Tests
{
[TestClass]
public class IntegrationTest
: IListener
{
public void OnEnd()
{
_errorCount.ShouldBe(0);
... | using Katelyn.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using System;
using System.Collections.Generic;
namespace Katelyn.Tests
{
[TestClass]
public class IntegrationTest
: IListener
{
public void OnEnd()
{
_errorCount.ShouldBe(0);
... | apache-2.0 | C# |
0422cb3776fe19b19a5e14ecb49c637c87c3ab12 | Bump version | Yuisbean/WebMConverter,o11c/WebMConverter,nixxquality/WebMConverter | Properties/AssemblyInfo.cs | 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("We... | 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("We... | mit | C# |
c0cc8de0fedad88496086292c17123091b524755 | Add AssemblyInformationalVersion. | NickCraver/cs-schtick.redis,schyntax/cs-schtick.redis,schyntax/cs-Schyntax.RedisLock,modulexcite/cs-schtick.redis | Schyntax.RedisLock/Properties/AssemblyInfo.cs | Schyntax.RedisLock/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("Sc... | 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("Sc... | mit | C# |
57d39cc0cc1a6c31ca0528d6c5d19d0bc2ee1f27 | add test | martinlindhe/Punku | PunkuTests/Extensions/ByteArrayExtensions.cs | PunkuTests/Extensions/ByteArrayExtensions.cs | using System;
using System.Text;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Extensions")]
public class Extensions_ByteArray
{
[Test]
public void ToCharArray01 ()
{
byte[] x = { (byte)'a', (byte)'b', (byte)'c' };
Assert.AreEqual (
x.ToCharArray (),
new char[] { 'a', 'b', 'c' }
);
... | using System;
using System.Text;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Extensions")]
public class Extensions_ByteArray
{
[Test]
public void DosString01 ()
{
byte[] x = { (byte)'a', (byte)'b', (byte)'c', (byte)'$' };
Assert.AreEqual (
x.ToDosString (),
"abc"
);
}
[Test]
pu... | mit | C# |
fc7e072defcbc313fccf340a9c39d41da93e27fd | make MappedIdField settable | rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,dfaruque/Serenit... | Serenity.Services/RequestHandlers/IntegratedFeatures/CaptureLog/CaptureLogAttribute.cs | Serenity.Services/RequestHandlers/IntegratedFeatures/CaptureLog/CaptureLogAttribute.cs | using System;
namespace Serenity.Data
{
public class CaptureLogAttribute : Attribute
{
public CaptureLogAttribute(Type logRow)
{
this.LogRow = logRow;
}
public Type LogRow { get; private set; }
public string MappedIdField { get; set; }
}
} | using System;
namespace Serenity.Data
{
public class CaptureLogAttribute : Attribute
{
public CaptureLogAttribute(Type logRow)
{
this.LogRow = logRow;
}
public Type LogRow { get; private set; }
public string MappedIdField { get; private set; }
... | mit | C# |
6b9a4d9c08e5d587c14c7249e083ad17008f83e4 | fix reference to showErrorHandling in Saltaralle | WasimAhmad/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,dfaruque/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,dfaruque/Serenity,rolember... | Serenity.Script.Imports/Q/Q.ErrorHandling.cs | Serenity.Script.Imports/Q/Q.ErrorHandling.cs | using System.Runtime.CompilerServices;
namespace Serenity
{
public static partial class Q
{
[Imported]
public static class ErrorHandling
{
[InlineCode("Q.ErrorHandling.showServiceError({error})")]
public static void ShowServiceError(ServiceError error)... | using System.Runtime.CompilerServices;
namespace Serenity
{
public static partial class Q
{
[Imported]
public static class ErrorHandling
{
[InlineCode("Q.showServiceError({error})")]
public static void ShowServiceError(ServiceError error)
... | mit | C# |
3538431784be41ddc2c2a22648924b2901527fb0 | Fix crash when navigating back to ScheduleView | arthurrump/Zermelo.App.UWP | Zermelo.App.UWP/Schedule/ScheduleView.xaml.cs | Zermelo.App.UWP/Schedule/ScheduleView.xaml.cs | using System;
using System.Linq;
using Autofac;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace Zermelo.App.UWP.Schedule
{
public sealed partial class ScheduleView : Page
{
public ScheduleView()
{
this.InitializeComponent();
NavigationCacheM... | using System;
using System.Linq;
using Autofac;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace Zermelo.App.UWP.Schedule
{
public sealed partial class ScheduleView : Page
{
public ScheduleView()
{
this.InitializeComponent();
NavigationCacheM... | mit | C# |
bf309dc9dc82048da62304f855d570fb21eef90b | fix screen capture | tawnkramer/sdsandbox,tawnkramer/sdsandbox | sdsim/Assets/Scripts/ScreenSaver.cs | sdsim/Assets/Scripts/ScreenSaver.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScreenSaver : MonoBehaviour
{
public bool bRecordOnAwake = true;
public bool bRecording = false;
public static int frameCounter = 0;
public string filenameRoot = "capture";
void Awake()
{
if(bRecordOnAwake)
bRecor... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScreenSaver : MonoBehaviour
{
public bool bRecordOnAwake = true;
public bool bRecording = false;
public static int frameCounter = 0;
public string filenameRoot = "capture";
void Awake()
{
if(bRecordOnAwake)
bRecor... | bsd-3-clause | C# |
e2e703c2c298ca3fc32d5e305c266a0bec0adfbd | Add encryption support to relying party model | bodell/IdentityServer3,codeice/IdentityServer3,18098924759/IdentityServer3,tbitowner/IdentityServer3,roflkins/IdentityServer3,iamkoch/IdentityServer3,ryanvgates/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,remunda/IdentityServer3,kouweizhong/IdentityServer3,faithword/IdentityServer3,tonyeung/IdentityServer3,fea... | source/WsFed/Models/RelyingParty.cs | source/WsFed/Models/RelyingParty.cs | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license
*/
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
namespace Thinktecture.IdentityServer.WsFed.Models
{
public class RelyingParty
{
public string Name { get; set; }
pub... | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license
*/
using System.Collections.Generic;
namespace Thinktecture.IdentityServer.WsFed.Models
{
public class RelyingParty
{
public string Name { get; set; }
public bool Enabled { get; set; }
public string... | apache-2.0 | C# |
fc6548d87bb740c60dd2d3fe1b7dc7cba9ad3507 | Fix issue where Id was not set when loading all entity paths | JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimington/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,rasmuseeg/Umbraco-CMS,robertjf/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump... | src/Umbraco.Core/Models/Entities/TreeEntityPath.cs | src/Umbraco.Core/Models/Entities/TreeEntityPath.cs | namespace Umbraco.Core.Models.Entities
{
/// <summary>
/// Represents the path of a tree entity.
/// </summary>
public class TreeEntityPath
{
/// <summary>
/// Gets or sets the identifier of the entity.
/// </summary>
public int Id { get; set; }
/// <summary... | namespace Umbraco.Core.Models.Entities
{
/// <summary>
/// Represents the path of a tree entity.
/// </summary>
public class TreeEntityPath
{
/// <summary>
/// Gets or sets the identifier of the entity.
/// </summary>
public int Id { get; set; }
/// <summary... | mit | C# |
866725d9d00d6a50b07964426b0c53672f3ea94f | Use 'char' instead of 'ushort' for unicode character | jmelosegui/pinvoke,vbfox/pinvoke,AArnott/pinvoke | src/Kernel32.Desktop/Kernel32+CHAR_INFO_ENCODING.cs | src/Kernel32.Desktop/Kernel32+CHAR_INFO_ENCODING.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System.Runtime.InteropServices;
/// <content>
/// Conta... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System.Runtime.InteropServices;
/// <content>
/// Conta... | mit | C# |
757a722f64948ce624211a4bd944b2fa6399cda1 | Add missing instance specification to ConfigurationClient.DeleteEmptyDirectory | tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Client/Components/ConfigurationClient.cs | src/Tgstation.Server.Client/Components/ConfigurationClient.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client.Components
{
/// <inheritdoc />
sealed class ConfigurationClient : IConfigurationClient
{
/// <summary>
/// The ... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client.Components
{
/// <inheritdoc />
sealed class ConfigurationClient : IConfigurationClient
{
/// <summary>
/// The ... | agpl-3.0 | C# |
9dfa91ffa33e55eb5719c196ab350482feb036c6 | Fix config in Sessions | microstuff/microstuff,microstuff/microstuff | src/MicroStuff/Data/Sessions.cs | src/MicroStuff/Data/Sessions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using MicroStuff.Models;
using Newtonsoft.Json;
namespace MicroStuff.Data
{
public interface ISessions
{
Task<IList<Session>> Ge... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using MicroStuff.Models;
using Newtonsoft.Json;
namespace MicroStuff.Data
{
public interface ISessions
{
Task<IList<Session>> Ge... | mit | C# |
7b18870a2064b4882eba031b698ea051c1d444d0 | Increment minor build number | MatthewSteeples/XeroAPI.Net,TDaphneB/XeroAPI.Net,jcvandan/XeroAPI.Net,XeroAPI/XeroAPI.Net | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/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("XeroApi")]
[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("XeroApi")]
[assembly: AssemblyDescription... | mit | C# |
ee4c74eee1ef34e6baa86a10ed8cf6ad13b43430 | Normalise line-endings. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/NinjectModules/RavenModule.cs | src/CGO.Web/NinjectModules/RavenModule.cs | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => Ini... | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | mit | C# |
0e6a3ae392fbb2b2b723426a85664b016310004a | Change static content to dynamic | AustinFelipe/website,AustinFelipe/website,AustinFelipe/website | src/Views/Articles/Index.cshtml | src/Views/Articles/Index.cshtml | @model IEnumerable<ArticleModel>
@{
ViewData["Title"] = "List of Articles I've Written";
}
<h1 id="page_title">Articles I've written</h1>
<div class="centered_wrapper">
<input type="text" class="search" placeholder="Filter by title/tag">
@foreach (var article in Model)
{
<article>
<p clas... | @{
ViewData["Title"] = "List of Articles I've Written";
}
<h1 id="page_title">Articles I've written</h1>
<div class="centered_wrapper">
<input type="text" class="search" placeholder="Filter by title/tag">
<article>
<p class="date">Monday Aug 28</p>
<h2><a href="#">Change Kestrel default ur... | mit | C# |
3c62b5e572e029a84bf0a5f428463ca1e897dd8b | add UseStreamsForBinary | nhibernate/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhiber... | src/NHibernate/Cfg/Environment.cs | src/NHibernate/Cfg/Environment.cs | using System;
using System.Xml;
using System.Collections;
using System.Configuration;
using NHibernate.Util;
namespace NHibernate.Cfg {
/// <summary>
/// Provides access to configuration info
/// </summary>
/// <remarks>
/// Hibernate has two property scopes:
/// <list>
/// <item>
/// Factory-Level propert... | using System;
using System.Xml;
using System.Collections;
using System.Configuration;
using NHibernate.Util;
namespace NHibernate.Cfg {
/// <summary>
/// Provides access to configuration info
/// </summary>
/// <remarks>
/// Hibernate has two property scopes:
/// <list>
/// <item>
/// Factory-Level propert... | lgpl-2.1 | C# |
b298b3cbf56c5ac3eb4da726c7ffc8b4f5c67528 | Change verison. | JetStream96/MinMaxHeap | src/MinMaxHeap/Properties/AssemblyInfo.cs | src/MinMaxHeap/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("MinMaxHeap")]
[assembly: AssemblyDescript... | 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("MinMaxHeap")]
[assembly: AssemblyDescript... | unlicense | C# |
d3aad5eaa7638676e3fe9c856ef9bedeea166e15 | Update SvgSkiaSharpExporter.cs | wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/FileWriter.SkiaSharp/SvgSkiaSharpExporter.cs | src/Core2D/Modules/FileWriter.SkiaSharp/SvgSkiaSharpExporter.cs | using System;
using System.IO;
using Core2D;
using Core2D.Containers;
using Core2D.Renderer;
using SkiaSharp;
namespace Core2D.FileWriter.SkiaSharpSvg
{
/// <summary>
/// SkiaSharp svg <see cref="IProjectExporter"/> implementation.
/// </summary>
public sealed class SvgSkiaSharpExporter : IProjectExpo... | using System;
using System.IO;
using Core2D;
using Core2D.Containers;
using Core2D.Renderer;
using SkiaSharp;
namespace Core2D.FileWriter.SkiaSharpSvg
{
/// <summary>
/// SkiaSharp svg <see cref="IProjectExporter"/> implementation.
/// </summary>
public sealed class SvgSkiaSharpExporter : IProjectExpo... | mit | C# |
3f914ca98d699a7a8c693ee05601363cf2e65098 | Update test PyImport path | Konstantin-Posudevskiy/pythonnet,denfromufa/pythonnet,Konstantin-Posudevskiy/pythonnet,dmitriyse/pythonnet,dmitriyse/pythonnet,yagweb/pythonnet,vmuriart/pythonnet,pythonnet/pythonnet,yagweb/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet,yagweb/pythonnet,AlexCatarino/pythonnet,vmuriart/pythonnet,pythonnet/pytho... | src/embed_tests/pyimport.cs | src/embed_tests/pyimport.cs | using System;
using System.Reflection;
using System.Collections.Generic;
using NUnit.Framework;
using Python.Runtime;
using System.IO;
namespace Python.EmbeddingTest
{
[TestFixture]
public class PyImportTest
{
private IntPtr gs;
[SetUp]
public void SetUp()
{
Pyt... | using System;
using System.Reflection;
using System.Collections.Generic;
using NUnit.Framework;
using Python.Runtime;
using System.IO;
namespace Python.EmbeddingTest
{
[TestFixture]
public class PyImportTest
{
private IntPtr gs;
[SetUp]
public void SetUp()
{
Pyt... | mit | C# |
bbdefeff320a862abc26e3d57fde16579bf6c147 | Update to Abp.Zero 0.7.0.0 | ilyhacker/module-zero,volkd/module-zero,Jerome2606/module-zero,lemestrez/module-zero,daywrite/module-zero,aspnetboilerplate/module-zero,volkd/module-zero,CooperLiu/module-zero,andmattia/module-zero,AndHuang/module-zero,lemestrez/module-zero,Jerome2606/module-zero,asauriol/module-zero,chilin/module-zero,AndHuang/module-... | sample/ModuleZeroSampleProject.Core/Users/UserStore.cs | sample/ModuleZeroSampleProject.Core/Users/UserStore.cs | using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Runtime.Session;
using ModuleZeroSampleProject.Authorization;
using ModuleZeroSampleProject.MultiTenancy;
namespace ModuleZeroSampleProject.Users
{
public class UserStore : AbpUserStore<Tenant, Role, User>
{
... | using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Runtime.Session;
using ModuleZeroSampleProject.Authorization;
using ModuleZeroSampleProject.MultiTenancy;
namespace ModuleZeroSampleProject.Users
{
public class UserStore : AbpUserStore<Tenant, Role, User>
{
... | mit | C# |
610d34e63842812221a9ef6459bb26a8041892cf | Fix encoding | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.ServiceHost/Interception/InterceptedTestClass.cs | InfinniPlatform.ServiceHost/Interception/InterceptedTestClass.cs | using System.Threading;
using System.Threading.Tasks;
using InfinniPlatform.Aspects;
namespace InfinniPlatform.ServiceHost.Interception
{
[Aspect(typeof(PerformanceLoggerInterceptor))]
public class InterceptedTestClass : IInterceptedTestInterface
{
private const int Time = 100;
public voi... | using System.Threading;
using System.Threading.Tasks;
using InfinniPlatform.Aspects;
namespace InfinniPlatform.ServiceHost.Interception
{
[Aspect(typeof(PerformanceLoggerInterceptor))]
public class InterceptedTestClass : IInterceptedTestInterface
{
private const int Time = 100;
public void... | agpl-3.0 | C# |
87f281fd4e01167d9c34dfeea4e025d9b8d4ba89 | Remove untested versions | ChristopherJennings/KInspector,ChristopherJennings/KInspector,JosefDvorak/KInspector,Kentico/KInspector,Kentico/KInspector,JosefDvorak/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,JosefDvorak/KInspector,ChristopherJennings/KInspector,Kentico/KInspector | KInspector.Modules/Modules/General/TaskProcessingIssuesModule.cs | KInspector.Modules/Modules/General/TaskProcessingIssuesModule.cs | using System;
using System.Data;
using Kentico.KInspector.Core;
namespace Kentico.KInspector.Modules
{
public class TaskProcessingIssues : IModule
{
public ModuleMetadata GetModuleMetadata()
{
return new ModuleMetadata
{
Name = "Task processing issues",
... | using System;
using System.Data;
using Kentico.KInspector.Core;
namespace Kentico.KInspector.Modules
{
public class TaskProcessingIssues : IModule
{
public ModuleMetadata GetModuleMetadata()
{
return new ModuleMetadata
{
Name = "Task processing issues",
... | mit | C# |
925f416ca867958c76e5d7850e1e261469aff7ba | Add Prefab as a shortcut type | intentor/shortcuter | src/Assets/Plugins/Editor/Shortcuter/Util/TypeUtils.cs | src/Assets/Plugins/Editor/Shortcuter/Util/TypeUtils.cs | using UnityEngine;
using UnityEditor.Animations;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Intentor.Shortcuter.Util {
/// <summary>
/// Utility class for types.
/// </summary>
public static class TypeUtils {
/// <summary>
/// Gets all available shortcut types.
/// </s... | using UnityEngine;
using UnityEditor.Animations;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Intentor.Shortcuter.Util {
/// <summary>
/// Utility class for types.
/// </summary>
public static class TypeUtils {
/// <summary>
/// Gets all available shortcut types.
/// </s... | mit | C# |
3a2c8564fb9b6969652c2ee33db92d9b28e262ef | Remove unused namespace | ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates | Tests/Boilerplate.Templates.Test/ApiTemplateTest.cs | Tests/Boilerplate.Templates.Test/ApiTemplateTest.cs | namespace Boilerplate.Templates.Test
{
using System.Threading.Tasks;
using Xunit;
public class ApiTemplateTest
{
public ApiTemplateTest() => TemplateAssert.DotnetNewInstall<ApiTemplateTest>("ApiTemplate.csproj").Wait();
[Fact]
public async Task Home_BuildsAndRuns_Returns200Ok()... | namespace Boilerplate.Templates.Test
{
using System.Reflection;
using System.Threading.Tasks;
using Xunit;
public class ApiTemplateTest
{
public ApiTemplateTest() => TemplateAssert.DotnetNewInstall<ApiTemplateTest>("ApiTemplate.csproj").Wait();
[Fact]
public async Task Home... | mit | C# |
e63dbf61426be00cb1eb6db0beb9f82858b3f221 | Remove unnecessary F# emulation method. | fixie/fixie | src/Fixie.Tests/FSharpAsync.cs | src/Fixie.Tests/FSharpAsync.cs | // Test stub for F#'s Async<'T> such that we can
// reflect on it in the same way as we can against
// the real implementation during F# test runs.
namespace Microsoft.FSharp.Control
{
using System;
using System.Threading;
using System.Threading.Tasks;
public class FSharpAsync<TResult>
{
... | // Test stub for F#'s Async<'T> such that we can
// reflect on it in the same way as we can against
// the real implementation during F# test runs.
namespace Microsoft.FSharp.Control
{
using System;
using System.Threading;
using System.Threading.Tasks;
public class FSharpAsync<TResult>
{
... | mit | C# |
d66f7a2e67ebe2edf320ecf304f56412efe0390a | Add constructor for FileInfo source | protyposis/Aurio,protyposis/Aurio | AudioAlign/AudioAlign.FFmpeg/FFmpegReader.cs | AudioAlign/AudioAlign.FFmpeg/FFmpegReader.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace AudioAlign.FFmpeg {
public class FFmpegReader : IDisposable {
private static InteropWrapper interop;
static FFmpegReader() {
interop ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace AudioAlign.FFmpeg {
public class FFmpegReader : IDisposable {
private static InteropWrapper interop;
static FFmpegReader() {
interop ... | agpl-3.0 | C# |
2d7e4facf59b994aac0b7a03621e7ae41401a8fe | fix bug when using package.owningPackage | GeertBellekens/Enterprise-Architect-Add-in-Framework,GeertBellekens/Enterprise-Architect-Add-in-Framework | EAAddinFramework/EAWrappers/RootPackage.cs | EAAddinFramework/EAWrappers/RootPackage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using UML=TSF.UmlToolingFramework.UML;
namespace TSF.UmlToolingFramework.Wrappers.EA
{
/// <summary>
/// Description of rootPackage.
/// </summary>
public class RootPackage:Package
{
public RootPackage(Model model,global::EA.Package package):b... | using System;
using System.Collections.Generic;
using System.Linq;
using UML=TSF.UmlToolingFramework.UML;
namespace TSF.UmlToolingFramework.Wrappers.EA
{
/// <summary>
/// Description of rootPackage.
/// </summary>
public class RootPackage:Package
{
public RootPackage(Model model,global::EA.Package package):b... | bsd-2-clause | C# |
668d8159bd20a4b9d9f958b70a2e5a8402e36333 | add assert for IgesDirection (type 123) | IxMilia/Iges,IxMilia/Iges | src/IxMilia.Iges/Entities/IgesDirection.cs | src/IxMilia.Iges/Entities/IgesDirection.cs | // Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics;
namespace IxMilia.Iges.Entities
{
public partial class IgesDirection : IgesEntity
{
... | // Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Diagnostics;
namespace IxMilia.Iges.Entities
{
public partial class IgesDirection : IgesEntity
{
... | apache-2.0 | C# |
459d48a86141850148b76eca48f240d0eb30b920 | 修正:returlUrl->returnUrl | Kation/ComBoost,Kation/ComBoost,Kation/ComBoost,Kation/ComBoost | src/Wodsoft.ComBoost.Mvc/ComBoostAuthorizeAttribute.cs | src/Wodsoft.ComBoost.Mvc/ComBoostAuthorizeAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using Wodsoft.ComBoost.Security;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http.Features.Authentication;
using Microsoft.Extensions.DependencyInjection;
using Micros... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using Wodsoft.ComBoost.Security;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http.Features.Authentication;
using Microsoft.Extensions.DependencyInjection;
using Micros... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.