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 |
|---|---|---|---|---|---|---|---|---|
24e0ea62358c2f9ed6df7be1974a62e26be51f5c | Throw a better exception for bad InternalCalls | gregkalapos/corert,gregkalapos/corert,shrah/corert,sandreenko/corert,krytarowski/corert,botaberg/corert,sandreenko/corert,tijoytom/corert,shrah/corert,shrah/corert,shrah/corert,botaberg/corert,tijoytom/corert,gregkalapos/corert,krytarowski/corert,yizhang82/corert,yizhang82/corert,botaberg/corert,yizhang82/corert,sandre... | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/RyuJitNodeFactory.cs | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/RyuJitNodeFactory.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
namespace ILCompiler.Dependency... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
namespace ILCompiler.Dependency... | mit | C# |
ad01ce984ff757de088beafeb264bb77e2612d62 | Fix C# Tests | adbrowne/Eventful,PicnicBasket/Eventful,adbrowne/Eventful,PicnicBasket/Eventful | src/Eventful.CsTests/ParellelInOrderTransformerTest.cs | src/Eventful.CsTests/ParellelInOrderTransformerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Eventful.CsTests
{
public class ParellelInOrderTransformerTest
{
[Fact]
[Trait("category", "unit")]
public async Task CanRunItemsInParallel()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Eventful.CsTests
{
public class ParellelInOrderTransformerTest
{
[Fact]
[Trait("category", "unit")]
public async Task CanRunItemsInParallel()
{
va... | apache-2.0 | C# |
f1b71ee70e634886d0a3c2e0fb3c6276aa433748 | Fix IpRange aggregration integration test | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Aggregations/Bucket/IpRange/IpRangeAggregationUsageTests.cs | src/Tests/Aggregations/Bucket/IpRange/IpRangeAggregationUsageTests.cs | using System;
using System.Collections.Generic;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.Aggregations.Bucket.IpRange
{
[SkipVersion("5.0.0... | using System;
using System.Collections.Generic;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.Aggregations.Bucket.IpRange
{
[SkipVersion("5.0.0... | apache-2.0 | C# |
0aee6e9d86357dfb52feb434688235823892bf98 | Convert ChangeToAsyncTests to the new test framework | dotnet/roslyn,diryboy/roslyn,aelij/roslyn,gafter/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,physhi/roslyn,agocke/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,sharwell/roslyn,wvdd007/roslyn,brettfo/roslyn,KevinRansom/roslyn,physhi/roslyn,weltkante/roslyn,reaction1989/roslyn,brettfo/roslyn,genlu/r... | src/EditorFeatures/CSharpTest/Diagnostics/Async/ChangeToAsyncTests.cs | src/EditorFeatures/CSharpTest/Diagnostics/Async/ChangeToAsyncTests.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.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
using VerifyCS = Microsoft.... | // 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.CodeFixes... | mit | C# |
80c5d5d46fd016c9d4e8d3a4efaab427f008af6f | Use correct formatter | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Cluster/ReloadSecureSettings/ReloadSecureSettingsResponse.cs | src/Nest/Cluster/ReloadSecureSettings/ReloadSecureSettingsResponse.cs | using System.Collections.Generic;
using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
public interface IReloadSecureSettingsResponse : INodesResponse
{
[DataMember(Name = "cluster_name")]
string ClusterName { get; }
[DataMember(Name = "nodes")]
[JsonFormatter(typeof(VerbatimInterf... | using System.Collections.Generic;
using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
public interface IReloadSecureSettingsResponse : INodesResponse
{
[DataMember(Name = "cluster_name")]
string ClusterName { get; }
[DataMember(Name = "nodes")]
[JsonFormatter(typeof(VerbatimDictio... | apache-2.0 | C# |
5dd49bbf50908e67bbabe634bb83a52058480803 | Update unit tests | grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia | tests/Avalonia.Skia.UnitTests/Media/SKTypefaceCollectionCacheTests.cs | tests/Avalonia.Skia.UnitTests/Media/SKTypefaceCollectionCacheTests.cs | using Avalonia.Media;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Skia.UnitTests.Media
{
public class SKTypefaceCollectionCacheTests
{
private const string s_notoMono =
"resm:Avalonia.Skia.UnitTests.Assets?assembly=Avalonia.Skia.UnitTests#Noto Mono";
[InlineD... | using Avalonia.Media;
using Avalonia.UnitTests;
using Xunit;
namespace Avalonia.Skia.UnitTests.Media
{
public class SKTypefaceCollectionCacheTests
{
private const string s_notoMono =
"resm:Avalonia.Skia.UnitTests.Assets?assembly=Avalonia.Skia.UnitTests#Noto Mono";
[InlineD... | mit | C# |
e8eea72c997b09400608b8c8124f92dfd56e8dd5 | Build version 1.0.1 | blorgbeard/pickles,irfanah/pickles,dirkrombauts/pickles,irfanah/pickles,picklesdoc/pickles,magicmonty/pickles,picklesdoc/pickles,picklesdoc/pickles,blorgbeard/pickles,irfanah/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,blorgbeard/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,picklesdoc/... | src/Pickles/VersionInfo.cs | src/Pickles/VersionInfo.cs | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProductAttribute("Pickles")]
[assembly: AssemblyCompanyAttribute("Pickles")]
[assembly: AssemblyCopyrightAttribute("Copyright (c) Jeffrey Cameron 2010-2012, PicklesDoc 2012-present")]
[assembly: AssemblyTrademarkAtt... | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProductAttribute("Pickles")]
[assembly: AssemblyCompanyAttribute("Pickles")]
[assembly: AssemblyCopyrightAttribute("Copyright (c) Jeffrey Cameron 2010-2012, PicklesDoc 2012-present")]
[assembly: AssemblyTrademarkAtt... | apache-2.0 | C# |
a9fc012f4d91b56ce3d3930cbfb36fdbb3b9b6f7 | Simplify IsReferenceTypeOrTypeParameter | tannergooding/roslyn,panopticoncentral/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,diryboy/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,stephentoub/roslyn,tannergooding/roslyn,physhi/roslyn,weltkante/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,mavasani/roslyn,dotnet/roslyn,gafter/roslyn,jasonmalinowski/roslyn,sharwel... | src/Features/Core/Portable/CodeRefactorings/ConvertConversionsOperators/ITypeSymbolExtensions.cs | src/Features/Core/Portable/CodeRefactorings/ConvertConversionsOperators/ITypeSymbolExtensions.cs | using System.Linq;
#nullable enable
namespace Microsoft.CodeAnalysis.CodeRefactorings.ConvertConversionOperators
{
internal static class ITypeSymbolExtensions
{
public static bool IsReferenceTypeOrTypeParameter(this ITypeSymbol? type)
=> type switch
{
null => f... | using System.Linq;
#nullable enable
namespace Microsoft.CodeAnalysis.CodeRefactorings.ConvertConversionOperators
{
internal static class ITypeSymbolExtensions
{
public static bool IsReferenceTypeOrTypeParameter(this ITypeSymbol? type)
=> type switch
{
null => f... | mit | C# |
52ef7799cef0a118a95a9f63c33836ab2d6a573e | Add support for passing in a transaction when creating a UnitOfWork | Lavinski/Enexure.Fire.Data | src/Enexure.Fire.Data/UnitOfWork.cs | src/Enexure.Fire.Data/UnitOfWork.cs | using System;
using System.Data;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace Enexure.Fire.Data
{
public class UnitOfWork : IUnitOfWork
{
private readonly DbConnection connection;
private readonly IsolationLevel isolationLevel;
private DbTransaction transaction;
... | using System;
using System.Data;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace Enexure.Fire.Data
{
public class UnitOfWork : IUnitOfWork
{
private readonly DbConnection connection;
private readonly IsolationLevel isolationLevel;
private DbTransaction transaction;
... | mit | C# |
f945da5c4a125a627b5906e1acc7716fe8e6e3aa | Add constructor of SerializableProperty<T> | Grabacr07/MetroTrilithon | source/MetroTrilithon.Desktop/Serialization/SerializableProperty.cs | source/MetroTrilithon.Desktop/Serialization/SerializableProperty.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MetroTrilithon.Serialization
{
public sealed class SerializableProperty<T> : SerializablePropertyBase<T>
{
public SerializableProperty(string key) : this(key, default(T)) { }
public Serializabl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MetroTrilithon.Serialization
{
public sealed class SerializableProperty<T> : SerializablePropertyBase<T>
{
public SerializableProperty(string key) : this(key, default(T)) { }
public Serializabl... | mit | C# |
412c0e340eb7942ac0dd71c02595df48a7aebb88 | fix argument null error | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/Framework/Framework/Controls/DotvvmControlDebugJsonConverter.cs | src/Framework/Framework/Controls/DotvvmControlDebugJsonConverter.cs | using System;
using System.Linq;
using DotVVM.Framework.Binding.Expressions;
using DotVVM.Framework.Configuration;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace DotVVM.Framework.Controls
{
internal class DotvvmControlDebugJsonConverter : JsonConverter
{
// public bool IncludeChildren { g... | using System;
using System.Linq;
using DotVVM.Framework.Binding.Expressions;
using DotVVM.Framework.Configuration;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace DotVVM.Framework.Controls
{
internal class DotvvmControlDebugJsonConverter : JsonConverter
{
// public bool IncludeChildren { g... | apache-2.0 | C# |
5a47acceda45e4431ef8268a71ced3738b79d96c | Raise SendingContentModel event for each element type in blocklist (#10869) | robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,abje... | src/Umbraco.Web/WebApi/Filters/OutgoingEditorModelEventAttribute.cs | src/Umbraco.Web/WebApi/Filters/OutgoingEditorModelEventAttribute.cs | using System.Collections;
using System.Net.Http;
using System.Web.Http.Filters;
using Umbraco.Web.Composing;
using Umbraco.Web.Editors;
namespace Umbraco.Web.WebApi.Filters
{
/// <summary>
/// Used to emit outgoing editor model events
/// </summary>
internal sealed class OutgoingEditorModelEventAttrib... | using System;
using System.Net.Http;
using System.Web.Http.Filters;
using Umbraco.Core;
using Umbraco.Web.Composing;
using Umbraco.Web.Editors;
using Umbraco.Web.Models.ContentEditing;
namespace Umbraco.Web.WebApi.Filters
{
/// <summary>
/// Used to emit outgoing editor model events
/// </summary>
int... | mit | C# |
c662723b5cdc6be3618af54c0798cd59fa0d0613 | Update plugin example | lyftzeigen/SnakeBattle | BotRandomSnake/RandomSnake.cs | BotRandomSnake/RandomSnake.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PluginInterface;
namespace BotRandomSnake
{
public class RandomSnake : ISmartSnake
{
public Move Direction { get; set; }
public bool Reverse { get; se... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PluginInterface;
namespace BotRandomSnake
{
public class RandomSnake : ISmartSnake
{
public string Name { get; set; } = "RandomSnake";
public Move Dir... | mit | C# |
3d85dc11c62aedccda43b373326463c9d5be5162 | Adjust documentation | ppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu | osu.Game/Utils/PowerStatus.cs | osu.Game/Utils/PowerStatus.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Utils
{
/// <summary>
/// Provides access to the system's power status.
/// Currently implemented on iOS and Android only.
/// </summar... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Utils
{
/// <summary>
/// Provides access to the system's power status.
/// Currently implemented on iOS and Android only.
/// </summar... | mit | C# |
c5fd969568c1c9c2e22acde5559007d55d5325ba | Fix 0 size in test scene | peppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedPlaylist.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedPlaylist.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Multi.Compon... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Multi.Compon... | mit | C# |
373c2c9389f6a2995ebd0ad3bcd8a76882a16a81 | Make "pre" test explicit. | yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli | test/MsgPack.Rpc.Client.UnitTest/Rpc/Client/PreTest.cs | test/MsgPack.Rpc.Client.UnitTest/Rpc/Client/PreTest.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# |
1cee09d43653863e69902281a94dd007c664399e | use a better name for parameter | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev | tests/integration/AlphaDev.Web.Tests.Integration/Support/WebPage.cs | tests/integration/AlphaDev.Web.Tests.Integration/Support/WebPage.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using OpenQA.Selenium;
namespace AlphaDev.Web.Tests.Integration.Support
{
public abstract class WebPage
{
protected readonly IWebDriver Driver;
protected WebPage(IWebDriver driver, Uri baseUrl)
... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using OpenQA.Selenium;
namespace AlphaDev.Web.Tests.Integration.Support
{
public abstract class WebPage
{
protected readonly IWebDriver Driver;
protected WebPage(IWebDriver driver, Uri baseUrl)
... | unlicense | C# |
392e7c4e73e255ac7ef32375c8061e1aee9af4ae | Update tests | peppy/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs | osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | // 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.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Osu.Difficulty;
using osu.Game.Rulesets.Osu.Mods;
using osu.Ga... | mit | C# |
fee8edb7f4d41e07c72be2b120fda43b5d118151 | Remove unnecessary code. | tomliversidge/protoactor-dotnet,tomliversidge/protoactor-dotnet,AsynkronIT/protoactor-dotnet,masteryee/protoactor-dotnet,masteryee/protoactor-dotnet | tests/Proto.Actor.Extensions.Tests/ActorFactoryTest.cs | tests/Proto.Actor.Extensions.Tests/ActorFactoryTest.cs | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
using Proto;
using Xunit;
namespace protobug
{
public class SampleActor : IActor
{
public static bool Created = false;
public SampleActor()
{
Created = true;
}
publi... | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Threading.Tasks;
using Proto;
using Xunit;
using System.IO;
namespace protobug
{
public class SampleActor : IActor
{
public static bool Created = false;
public SampleActor()
{
File.AppendAllText("Tes... | apache-2.0 | C# |
3679fbf01a133ae3116518fcb12def005aac165b | Add LogLevel to SocketConfig | Aux/NTwitch,Aux/NTwitch | src/NTwitch.WebSocket/TwitchSocketConfig.cs | src/NTwitch.WebSocket/TwitchSocketConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch.WebSocket
{
public class TwitchSocketConfig
{
public string SocketUrl { get; set; } = "wss://pubsub-edge.twitch.tv";
public LogLevel LogLevel { get; set; } = LogLevel.Error;
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch.WebSocket
{
public class TwitchSocketConfig
{
public string SocketUrl { get; set; } = "wss://pubsub-edge.twitch.tv";
}
}
| mit | C# |
f5ab62426140ee58162fa2610ae40f301c1c829d | Update http request count default name. | andrasm/prometheus-net | Prometheus.HttpExporter.AspNetCore/HttpRequestCount/HttpRequestCountOptions.cs | Prometheus.HttpExporter.AspNetCore/HttpRequestCount/HttpRequestCountOptions.cs | namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount
{
public class HttpRequestCountOptions : HttpExporterOptionsBase
{
public Counter Counter { get; set; } =
Metrics.CreateCounter(DefaultName, DefaultHelp, HttpRequestLabelNames.All);
private const string DefaultNam... | namespace Prometheus.HttpExporter.AspNetCore.HttpRequestCount
{
public class HttpRequestCountOptions : HttpExporterOptionsBase
{
public Counter Counter { get; set; } =
Metrics.CreateCounter(DefaultName, DefaultHelp, HttpRequestLabelNames.All);
private const string DefaultNam... | mit | C# |
f056f2e390fb836124e4994add8ca92e267aa754 | Remove unused imports | ptupitsyn/ignite,andrey-kuznetsov/ignite,ptupitsyn/ignite,vladisav/ignite,SharplEr/ignite,chandresh-pancholi/ignite,SomeFire/ignite,daradurvs/ignite,NSAmelchev/ignite,ascherbakoff/ignite,ntikhonov/ignite,samaitra/ignite,shroman/ignite,wmz7year/ignite,WilliamDo/ignite,alexzaitzev/ignite,mcherkasov/ignite,irudyak/ignite,... | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Io/IBinaryStreamProcessor.cs | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Io/IBinaryStreamProcessor.cs | /*
* 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
* (the "License"); you may ... | /*
* 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
* (the "License"); you may ... | apache-2.0 | C# |
e42f08cfb74ab97af7b858c43a64b466d6b7f753 | Add Exclusion Service to SerializeStep | HelloKitty/Testity,HelloKitty/Testity | src/Testity.BuildProcess.Unity3D/BuildSteps/AddSerializedMemberStep.cs | src/Testity.BuildProcess.Unity3D/BuildSteps/AddSerializedMemberStep.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Fasterflect;
namespace Testity.BuildProcess.Unity3D
{
public class AddSerializedMemberStep : ITestityBuildStep
{
private readonly ITypeRelationalMapper typeResolver;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Fasterflect;
namespace Testity.BuildProcess.Unity3D
{
public class AddSerializedMemberStep : ITestityBuildStep
{
private readonly ITypeRelationalMapper typeResolver;
... | mit | C# |
fcdef78a56b44bd4ec37109b548c1897ea116345 | Fix MigrationUpgradeUrlTests | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/XPack/Migration/MigrationUpgrade/MigrationUpgradeUrlTests.cs | src/Tests/XPack/Migration/MigrationUpgrade/MigrationUpgradeUrlTests.cs | using System.Threading.Tasks;
using Nest;
using Tests.Framework;
using static Tests.Framework.UrlTester;
namespace Tests.XPack.Migration.MigrationUpgrade
{
public class MigrationUpgradeUrlTests : IUrlTests
{
[U] public async Task Urls()
{
await POST($"/_xpack/migration/upgrade/index")
.Fluent(c => c.Migr... | using System.Threading.Tasks;
using Nest;
using Tests.Framework;
namespace Tests.XPack.Migration.MigrationUpgrade
{
public class MigrationUpgradeUrlTests : IUrlTests
{
[U] public async Task Urls()
{
await UrlTester.GET("/_xpack/migration/assistance")
.Fluent(c => c.MigrationAssistance())
.Request(c =... | apache-2.0 | C# |
e8288a5f6afe6cc365d0c9d49243bfd1f0abdf8e | Add required config property to json client adapter | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs | IntegrationEngine.Core/ServiceStack/JsonServiceClientAdapter.cs | using IntegrationEngine.Core.Configuration;
using ServiceStack.ServiceClient.Web;
using System.Net;
namespace IntegrationEngine.Core.ServiceStack
{
public class JsonServiceClientAdapter : JsonServiceClient, IJsonServiceClient
{
public IJsonServiceConfiguration JsonServiceConfiguration { get; set; }
... | using IntegrationEngine.Core.Configuration;
using ServiceStack.ServiceClient.Web;
using System.Net;
namespace IntegrationEngine.Core.ServiceStack
{
public class JsonServiceClientAdapter : JsonServiceClient, IJsonServiceClient
{
public JsonServiceClientAdapter(IJsonServiceConfiguration jsonServiceConfi... | mit | C# |
ae3c53279815ccfaa1c75b329cee34af35bd6e24 | delete message | jona8690/Project-Exam | RoomReservationSystem/UI.GUI/View/SeeMyReservationsV.xaml.cs | RoomReservationSystem/UI.GUI/View/SeeMyReservationsV.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
4183fa034f93829f193b1e4951e49d836395cdf8 | test for naming things (fails) | fschwiet/DreamNJasmine | NJasmine.Tests/FailingFixtures/test_name_joins_specification.cs | NJasmine.Tests/FailingFixtures/test_name_joins_specification.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NJasmine;
using NUnit.Framework;
namespace NJasmineTests.FailingFixtures
{
[Explicit]
[RunExternal(false, ExpectedStrings = new string[]
{
@"NJasmineTests.FailingFixtures.test_name_joins_specifi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NJasmine;
using NUnit.Framework;
namespace NJasmineTests.FailingFixtures
{
[Explicit]
//[RunExternal(false, ExpectedStrings = new string[] { @"in progress......"})]
public class test_name_joins_specifica... | mit | C# |
027a13fe5b8a42b80db0bf5d5d763d284fa34927 | Update CharacterStats.cs | linxcat/CMPT406-VR | Assets/Scripts/CharacterStats.cs | Assets/Scripts/CharacterStats.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour {
public int PLAYER_HEALTH = 100;
public int PLAYER_MANA = 100;
public int PLAYER_STAMINA = 100;
// Update is called once per frame
void Update () {
if(PLAYER_HEALTH == ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NewBehaviourScript : MonoBehaviour {
public int PLAYER_HEALTH = 100;
public int PLAYER_MANA = 100;
public int PLAYER_STAMINA = 100;
// Use this for initialization
void Start ()
{
}
// Update is called once per ... | mit | C# |
079513c32032c7e92d1332054b7498c87cbb4a30 | replace multimap example | kaosborn/KaosCollections | Bench/RbExample02/RbExample02.cs | Bench/RbExample02/RbExample02.cs | using System;
using Kaos.Collections;
namespace ExampleApp
{
public class CharMap : IComparable<CharMap>
{
public char Ch { get; private set; }
public int Pos { get; private set; }
public CharMap (char ch, int pos) { Ch = ch; Pos = pos; }
public int CompareTo (CharMap other) =>... | using System;
using Kaos.Collections;
namespace ExampleApp
{
public class PersonAgeComparer : System.Collections.Generic.Comparer<Person>
{
public override int Compare (Person x, Person y) =>
x.Age != y.Age ? x.Age - y.Age : String.Compare (x.Name, y.Name);
}
public class Person
... | mit | C# |
6ed04f6172f58fa1a6c825af0b6cad9026401ba9 | Include source in symbols package. | cake-build/frosting | build/Tasks/Package.cs | build/Tasks/Package.cs | using Cake.Common.Tools.DotNetCore;
using Cake.Common.Tools.DotNetCore.Pack;
using Cake.Core;
using Cake.Core.IO;
using Cake.Frosting;
[Dependency(typeof(UnitTests))]
public class Package : FrostingTask<Context>
{
public override void Run(Context context)
{
var path = new FilePath("./src/Cake.Frosting/... | using Cake.Common.Tools.DotNetCore;
using Cake.Common.Tools.DotNetCore.Pack;
using Cake.Core;
using Cake.Core.IO;
using Cake.Frosting;
[Dependency(typeof(UnitTests))]
public class Package : FrostingTask<Context>
{
public override void Run(Context context)
{
var path = new FilePath("./src/Cake.Frosting/... | mit | C# |
1ce74633499c74eea8df29ff54a8c55d0f852c33 | Move NuGetRestore latest restore task. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | bootstrapping/DefaultBuild.cs | bootstrapping/DefaultBuild.cs | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.IO.FileSystemTasks;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using static Nuke.C... | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.IO.FileSystemTasks;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using static Nuke.C... | mit | C# |
dae4cd24fb2c52200028a4bb377b53b23d482ce1 | Set version to 1.6.0 | ye4241/MahApps.Metro,xxMUROxx/MahApps.Metro,Jack109/MahApps.Metro,Evangelink/MahApps.Metro,MahApps/MahApps.Metro,pfattisc/MahApps.Metro,psinl/MahApps.Metro,batzen/MahApps.Metro | src/MahApps.Metro/MahApps.Metro/Properties/AssemblyInfo.cs | src/MahApps.Metro/MahApps.Metro/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: ComVisible(false)]
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
[assembly: XmlnsDefinition("http://metro.mahapps.com/winfx/xaml/shared", "M... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: ComVisible(false)]
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
[assembly: XmlnsDefinition("http://metro.mahapps.com/winfx/xaml/shared", "M... | mit | C# |
6d72e982378404cdd417ec9bdb7f9b1ffabd4abe | add updatevehicle/reportrider/setavailability/modifydriverprofile impelementation | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Logic/DriverLogic.cs | revashare-svc-webapi/revashare-svc-webapi.Logic/DriverLogic.cs | using revashare_svc_webapi.Logic.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using revashare_svc_webapi.Logic.Mappers;
namespace reva... | using revashare_svc_webapi.Logic.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
namespace revashare_svc_webapi.Logic {
public class Dr... | mit | C# |
81d32365708688df1003833ecb0c89dd2b18d91f | Correct value URL | pardahlman/RawRabbit | sample/RawRabbit.AspNet.Sample/Controllers/ValuesController.cs | sample/RawRabbit.AspNet.Sample/Controllers/ValuesController.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RawRabbit.Context;
using RawRabbit.Messages.Sample;
using RawRabbit.Operations.MessageSequence;
using Serilog;
using ILogger = Microsoft.Extensions.Logging.ILogger;
n... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RawRabbit.Context;
using RawRabbit.Messages.Sample;
using RawRabbit.Operations.MessageSequence;
using Serilog;
using ILogger = Microsoft.Extensions.Logging.ILogger;
n... | mit | C# |
f1fe920c93e417d63697b1d9bfd2f2d938786aba | Disable argument checks for now | blebougge/Catel | src/Catel.Extensions.Data/Catel.Extensions.Data.Shared/ExtensionsDataModule.cs | src/Catel.Extensions.Data/Catel.Extensions.Data.Shared/ExtensionsDataModule.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtensionsDataModule.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ExtensionsDataModule.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -------------------------... | mit | C# |
4bc1a4d36f23dfca7d0649bb003972bb7834cbaa | Use TypeNameHandling.Objects when serializing objects to json. | Hihaj/SlashTodo,Hihaj/SlashTodo | src/SlashTodo.Infrastructure/AzureTables/ComplexTableEntity.cs | src/SlashTodo.Infrastructure/AzureTables/ComplexTableEntity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
namespace SlashTodo.Infrastructure.AzureTables
{
public abstract class ComplexTableEntity<T> : TableEntity
{
private st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
namespace SlashTodo.Infrastructure.AzureTables
{
public abstract class ComplexTableEntity<T> : TableEntity
{
private st... | mit | C# |
fdaa6e75ab23a073243011d64cf640f04a92bba6 | Fix extensions when using dotnet adapter | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Shared/Extensions/WindowsExtensions.cs | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Shared/Extensions/WindowsExtensions.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Utilities;
#if WINDOWS_UWP
using Windows.UI.Input.Spatial;
#elif DOTNETWINRT_PRESENT
using Microsoft.Windows.UI.Input.Spatial;
#endif
#endif // (UNITY_W... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Utilities;
using Windows.UI.Input.Spatial;
#endif // (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
namespace Microsoft.MixedReality.Toolkit.Windows... | mit | C# |
e608d807f4c8db1c90741cf80fff56dc769f292a | Handle SelectPrevious / SelectNext as volume change operations if nothing else handled game-wide | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu-new,EVAST9919/osu,ppy/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | mit | C# |
8537c5562a8ba071e69fbf7004fdf3573c1fb816 | Fix issue with multiple Dialog and dismiss in Android MessageDialogService | snipervld/StormXamarin,Julien-Mialon/StormXamarin,Julien-Mialon/StormXamarin,Julien-Mialon/StormXamarin,snipervld/StormXamarin,snipervld/StormXamarin | StormXamarin/Storm.Mvvm.Android.Shared/Services/MessageDialogService.cs | StormXamarin/Storm.Mvvm.Android.Shared/Services/MessageDialogService.cs | using System;
using System.Collections.Generic;
using System.Linq;
#if SUPPORT
using Android.Support.V4.App;
#endif
using Storm.Mvvm.Dialogs;
using Storm.Mvvm.Inject;
using Storm.Mvvm.Interfaces;
using Storm.Mvvm.Navigation;
namespace Storm.Mvvm.Services
{
public class MessageDialogService : AbstractMessageDialogSer... | using System;
using System.Collections.Generic;
#if SUPPORT
using Android.Support.V4.App;
#endif
using Storm.Mvvm.Dialogs;
using Storm.Mvvm.Inject;
using Storm.Mvvm.Interfaces;
using Storm.Mvvm.Navigation;
namespace Storm.Mvvm.Services
{
public class MessageDialogService : AbstractMessageDialogService, IMessageDialo... | mit | C# |
43071c29e3c1e8900ef368b7d7b93986bfc346e8 | Fix Payment object encoding | kendallb/easypost-async-csharp | EasyPost/Payment.cs | EasyPost/Payment.cs | /*
* Licensed under The MIT License (MIT)
*
* Copyright (c) 2014 EasyPost
* Copyright (C) 2017 AMain.com, Inc.
* All Rights Reserved
*/
namespace EasyPost
{
public class Payment : Resource
{
/// <summary>
/// Defines the payment type. Supported values are "SENDER", "THIRD_PARTY", "RECEIV... | /*
* Licensed under The MIT License (MIT)
*
* Copyright (c) 2014 EasyPost
* Copyright (C) 2017 AMain.com, Inc.
* All Rights Reserved
*/
namespace EasyPost
{
public class Payment
{
/// <summary>
/// Defines the payment type. Supported values are "SENDER", "THIRD_PARTY", "RECEIVER", "COLLE... | mit | C# |
179e1e4cb08cd11f27409359ebc92ad42462fd46 | Unpublish off Admin Search Error | phillipsj/Orchard,OrchardCMS/Orchard-Harvest-Website,hbulzy/Orchard,harmony7/Orchard,emretiryaki/Orchard,rtpHarry/Orchard,salarvand/Portal,Serlead/Orchard,brownjordaninternational/OrchardCMS,Serlead/Orchard,angelapper/Orchard,bedegaming-aleksej/Orchard,qt1/orchard4ibn,arminkarimi/Orchard,huoxudong125/Orchard,mgrowan/Or... | src/Orchard.Web/Modules/Orchard.Search/Views/Admin/Index.cshtml | src/Orchard.Web/Modules/Orchard.Search/Views/Admin/Index.cshtml | @{
var pageTitle = T("Search Content");
Layout.Title = pageTitle;
}
@using (Html.BeginFormAntiForgeryPost(Url.Action("index", new { controller = "admin", area = "Orchard.Search" }), FormMethod.Get)) {
<label for="search-text">@T("Search")</label>
@Html.TextBox("searchText", (string)Model.Search... | @{
var pageTitle = T("Search Content");
Layout.Title = pageTitle;
}
@using (Html.BeginForm("index", "admin", new { area = "Orchard.Search" }, FormMethod.Get)) {
<label for="search-text">@T("Search")</label>
@Html.TextBox("searchText", (string)Model.SearchText, new { @class = "text medium", auto... | bsd-3-clause | C# |
88cb903c4350f9ab6dd9fc6499c37bb4745f0334 | fix mapping stato squadra composizione | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Classi/Composizione/ComposizioneSquadra.cs | src/backend/SO115App.Models/Classi/Composizione/ComposizioneSquadra.cs | using SO115App.API.Models.Classi.Condivise;
using System.Collections.Generic;
namespace SO115App.Models.Classi.Composizione
{
public class ComposizioneSquadra
{
public string Codice { get; set; }
public string Nome { get; set; }
public StatoSquadraComposizione Stato { get; set; }
... | using SO115App.API.Models.Classi.Condivise;
using System.Collections.Generic;
namespace SO115App.Models.Classi.Composizione
{
public class ComposizioneSquadra
{
public string Codice { get; set; }
public string Nome { get; set; }
public StatoSquadraComposizione Stato { get; set; }
... | agpl-3.0 | C# |
c6abeda53b99e0d8d7a0457b0fd771fa6eb04674 | Fix AI inventory deleted exc (#1810) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content | Content.Server/AI/WorldState/States/Inventory/InventoryState.cs | Content.Server/AI/WorldState/States/Inventory/InventoryState.cs | using System.Collections.Generic;
using Content.Server.GameObjects.Components.GUI;
using JetBrains.Annotations;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Server.AI.WorldState.States.Inventory
{
[UsedImplicitly]
public sealed class EnumerableInventoryState : StateData<IEnumerable<IEntity>>
... | using System.Collections.Generic;
using Content.Server.GameObjects.Components.GUI;
using JetBrains.Annotations;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Server.AI.WorldState.States.Inventory
{
[UsedImplicitly]
public sealed class EnumerableInventoryState : StateData<IEnumerable<IEntity>>
... | mit | C# |
35f63cb2aa774daec62fc13fb7085cb9f05aef9f | Set Anchor/Origin and RelativePositionAxes. | ppy/osu,RedNesto/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,naoey/osu,osu-RP/osu-RP,peppy/osu-new,tacchinotacchi/osu,EVAST9919/osu,2yangk23/osu,smoogipoo/osu,DrabWeb/osu,Nabile-Rahmani/osu,peppy/osu,peppy/osu,johnneijzen/osu,Damnae/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,DrabWeb/osu,UselessToucan/osu,Frontear/os... | osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs | osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.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 OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Taiko.Judgements;
namespace osu.Game.Modes.Ta... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Modes.Taiko.Judgements;
namespace osu.Game.Modes.Taiko.Objects.Drawable
{
pu... | mit | C# |
16b04b192ca9c7faea4f625aa860bf099176d372 | Make class public | jagrem/slang,jagrem/slang,jagrem/slang | slang/Lexing/Rules/Core/Or.cs | slang/Lexing/Rules/Core/Or.cs | namespace slang.Lexing.Rules.Core
{
public class Or : Rule
{
public Rule Left { get; set; }
public Rule Right { get; set; }
public Or (Rule left, Rule right)
{
Right = right;
Left = left;
}
}
}
| namespace slang.Lexing.Rules.Core
{
class Or : Rule
{
public Rule Left { get; set; }
public Rule Right { get; set; }
public Or (Rule left, Rule right)
{
Right = right;
Left = left;
}
}
}
| mit | C# |
a6a56e4791afc3ab42836b8663cbc3b6cc11c211 | fix controller | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Controllers/GreenField/HealthController.cs | BTCPayServer/Controllers/GreenField/HealthController.cs | using BTCPayServer.HostedServices;
using BTCPayServer.Client.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace BTCPayServer.Controllers.GreenField
{
[Controller]
public class HealthController : ControllerBase
{
[AllowAnonymous]
[HttpGet("~/api/v1/he... | using BTCPayServer.HostedServices;
using BTCPayServer.Client.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace BTCPayServer.Controllers.GreenField
{
[ApiController]
public class HealthController : ControllerBase
{
[AllowAnonymous]
[HttpGet("~/api/v1... | mit | C# |
e05aa936f10623eff6ced41eed5c45a94dd26637 | fix build | tparnell8/Varanus | src/NOCQ.Application/Program.cs | src/NOCQ.Application/Program.cs | using System;
using System.Dynamic;
using NOCQ.Settings;
using NOCQ.Plugins.Email;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NOCQ.Extensability;
using System.IO;
namespace NOCQ.Application
{
class MainClass
{
public static void Main (string[] ... | using System;
using System.Dynamic;
using NOCQ.Settings;
using NOCQ.Plugins.Email;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NOCQ.Extensability;
using System.IO;
namespace NOCQ.Application
{
class MainClass
{
public static void Main (string[] ... | mit | C# |
62679467683aa675ccc473ce3e87bca89faa2fa8 | Revert breaking change | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/extractor/Semmle.Extraction.CIL/Entities/File.cs | csharp/extractor/Semmle.Extraction.CIL/Entities/File.cs | using System.Collections.Generic;
namespace Semmle.Extraction.CIL.Entities
{
interface IFileOrFolder : IEntity
{
}
interface IFile : IFileOrFolder
{
}
public class File : LabelledEntity, IFile
{
protected readonly string path;
public File(Context cx, string path) : b... | using System.Collections.Generic;
namespace Semmle.Extraction.CIL.Entities
{
interface IFileOrFolder : IEntity
{
}
interface IFile : IFileOrFolder
{
}
public class File : LabelledEntity, IFile
{
protected readonly string path;
public File(Context cx, string path) : b... | mit | C# |
9647f9505e0173c3bfa998c2d2f81d5e90d59418 | move new enum type to the end of the list | AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Compute/Commands.Compute/Models/AzureDiskEncryptionStatusContext.cs | src/ResourceManager/Compute/Commands.Compute/Models/AzureDiskEncryptionStatusContext.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.apa... | // ----------------------------------------------------------------------------------
//
// 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.apa... | apache-2.0 | C# |
522868698aab90c702349a8c75a0149fa2677219 | Remove debug output | 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 IInteropWrapper interop;
static FFmpegReader() {
if (Int... | 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 IInteropWrapper interop;
static FFmpegReader() {
Console... | agpl-3.0 | C# |
5efe9453a67f3fc02da819febe834abeb512577a | Add Stop functionality. | dimixar/audio-controller-unity | AudioController/Assets/Source/AudioObject.cs | AudioController/Assets/Source/AudioObject.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioObject : MonoBehaviour {
public System.Action<AudioObject> OnFinishedPlaying;
#region private fields
private string _id;
private AudioClip _clip;
private AudioSource _source;
private Coroutine _... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioObject : MonoBehaviour {
public System.Action<AudioObject> OnFinishedPlaying;
#region private fields
private string _id;
private AudioClip _clip;
private AudioSource _source;
private Coroutine _... | mit | C# |
ced1dbaa82ec3aaaacf391eb2b4ad8ced6f36876 | Extend share access rights | diolive/cache,diolive/cache | DioLive.Cache/src/DioLive.Cache.WebUI/Models/ShareAccess.cs | DioLive.Cache/src/DioLive.Cache.WebUI/Models/ShareAccess.cs | namespace DioLive.Cache.WebUI.Models
{
public enum ShareAccess : byte
{
ReadOnly = 0,
Purchases = 1,
Categories = 2,
Manage = 64,
Delete = 128,
FullAccess = 255,
}
} | namespace DioLive.Cache.WebUI.Models
{
public enum ShareAccess : byte
{
ReadOnly = 0,
Purchases = 1,
Categories = 2,
FullAccess = 255,
}
} | mit | C# |
2c0628f3ad7391216af732ebed264efcd1667bcf | Initialize controller and settings on first get - else "this" reference doesn't contains information about module, so settings is not stored nor loaded properly | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Division/components/DivisionModuleBase.cs | R7.University.Division/components/DivisionModuleBase.cs | //
// DivisionModuleBase.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014
//
// 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 withou... | //
// DivisionModuleBase.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014
//
// 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 withou... | agpl-3.0 | C# |
13d3ff7dd13a05af135d42323136f0f9ed3a43e0 | Secure environement | HolyNoodle/Utility | HolyNoodle.Utility/HolyNoodle.Utility/WebLocalisationProvider.cs | HolyNoodle.Utility/HolyNoodle.Utility/WebLocalisationProvider.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HolyNoodle.Utility
{
public class WebLocalisationProvider : ILocalisationProvider
{
public CultureInfo GetLanguage()
{
if (Syste... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HolyNoodle.Utility
{
public class WebLocalisationProvider : ILocalisationProvider
{
public CultureInfo GetLanguage()
{
if(System... | mit | C# |
2ae3acd2defd141c03452f6b96fc2de1d14e2b5a | Bump version to 3.0.1 | PolarbearDK/Miracle.FileZilla.Api | Source/Miracle.FileZilla.Api/Properties/AssemblyInfo.cs | Source/Miracle.FileZilla.Api/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("Mi... | 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("Mi... | mit | C# |
7fca3b111792f444c0fef87559a0561edf4d0237 | Fix CF | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs | WalletWasabi/Tor/Socks5/Models/Messages/TorSocks5Request.cs | using System;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor.Socks5.Models.Messages
{
public class TorSocks5Request : ByteArraySerializableBase
{
... | using System;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Socks5.Models.Bases;
using WalletWasabi.Tor.Socks5.Models.Fields.ByteArrayFields;
using WalletWasabi.Tor.Socks5.Models.Fields.OctetFields;
namespace WalletWasabi.Tor.Socks5.Models.Messages
{
public class TorSocks5Request : ByteArraySerializableBase
{
... | mit | C# |
f97e080087005cfdfb2fa9412926211ff488e50d | simplify check on if brickset api key has been acquired | zmira/abremir.AllMyBricks | abremir.AllMyBricks.Device/Services/SecureStorageService.cs | abremir.AllMyBricks.Device/Services/SecureStorageService.cs | using abremir.AllMyBricks.Device.Configuration;
using abremir.AllMyBricks.Device.Interfaces;
using Xamarin.Essentials.Interfaces;
namespace abremir.AllMyBricks.Device.Services
{
public class SecureStorageService : ISecureStorageService
{
private readonly ISecureStorage _secureStorage;
public S... | using abremir.AllMyBricks.Device.Configuration;
using abremir.AllMyBricks.Device.Interfaces;
using Xamarin.Essentials.Interfaces;
namespace abremir.AllMyBricks.Device.Services
{
public class SecureStorageService : ISecureStorageService
{
private readonly ISecureStorage _secureStorage;
public S... | mit | C# |
b61e56cda519ffa4cb1c284e3134e36077be8a52 | Resolve post-merge issue | smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu-new,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,smoogipooo/osu | osu.Game.Tournament/Screens/Gameplay/Components/TeamScore.cs | osu.Game.Tournament/Screens/Gameplay/Components/TeamScore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osuTK;
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 osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osuTK;
namespace osu.G... | mit | C# |
a8c85ed882f2e7c7424e86d4a79ac7a6e05387ba | Add test for filtered mode | peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Settings/TestSceneFileSelector.cs | osu.Game.Tests/Visual/Settings/TestSceneFileSelector.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.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.Settings
{
public class TestSceneFileSe... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.Settings
{
public class TestSc... | mit | C# |
d114a14552b282d317edfa191af45e838e1aadb2 | Use UrlEncode from OAuth lib | AnthonySteele/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Ap... | src/SevenDigital.Api.Wrapper/EndpointResolution/DictionaryExtensions.cs | src/SevenDigital.Api.Wrapper/EndpointResolution/DictionaryExtensions.cs | using System.Collections.Generic;
using System.Text;
using OAuth;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public static class DictionaryExtensions
{
public static string ToQueryString(this IDictionary<string, string> collection)
{
var sb = new StringBuilder();
foreach (var key i... | using System;
using System.Collections.Generic;
using System.Text;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public static class DictionaryExtensions
{
public static string ToQueryString(this IDictionary<string, string> collection)
{
var sb = new StringBuilder();
foreach (var key ... | mit | C# |
b94d08f048407a724ade2873b2ec86c1a341b336 | Refactor Hash Equals | ajlopez/BlockchainSharp | Src/BlockchainSharp/Core/Hash.cs | Src/BlockchainSharp/Core/Hash.cs | namespace BlockchainSharp.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Hash
{
private static Random random = new Random();
private byte[] bytes;
public Hash()
{
this.bytes = ... | namespace BlockchainSharp.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Hash
{
private static Random random = new Random();
private byte[] bytes;
public Hash()
{
this.bytes = ... | mit | C# |
a25389f49c03f58a66366958503cd038d691fc28 | Update to correct version | twenzel/Cake.MarkdownToPdf,twenzel/Cake.MarkdownToPdf,twenzel/Cake.MarkdownToPdf | src/Cake.MarkdownToPdf/Properties/AssemblyInfo.cs | src/Cake.MarkdownToPdf/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("Cak... | 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("Cak... | mit | C# |
29e1a6d39d8cbe6e0a5d454b17a46395722d86b8 | add public GetAll(); mark Values() Obsolete in favor of GetAll() | mvbalaw/MvbaCore | src/MvbaCore/NamedConstant.cs | src/MvbaCore/NamedConstant.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using MvbaCore.Extensions;
namespace MvbaCore
{
[Serializable]
#pragma warning disable 661,660
public class NamedConstant<T> : INamedConstant
#pragma warning restore 661,660
where T : NamedConstant<T>
{
private static readonly Dictionary<... | using System;
using System.Collections.Generic;
using System.Reflection;
using MvbaCore.Extensions;
namespace MvbaCore
{
[Serializable]
#pragma warning disable 661,660
public class NamedConstant<T> : INamedConstant
#pragma warning restore 661,660
where T : NamedConstant<T>
{
private static readonly Dictionary<... | mit | C# |
cb8ba4e8f12b09d3c3dfe3f50691926185f28957 | Change GetSectionTitles to return first char | hisystems/MonoTouch.Dialog,newky2k/MonoTouch.Dialog,benoitjadinon/MonoTouch.Dialog,Milan1992/MonoTouch.Dialog,migueldeicaza/MonoTouch.Dialog,ClusterReplyBUS/MonoTouch.Dialog,danmiser/MonoTouch.Dialog,jstedfast/MonoTouch.Dialog | Sample/DemoIndex.cs | Sample/DemoIndex.cs | //
// This sample shows how to present an index.
//
// This requires the user to create two subclasses for the
// internal model used in DialogViewController and a new
// subclass of DialogViewController that activates it.
//
// See the source in IndexedViewController
//
// The reason for Source and SourceSizing derive... | //
// This sample shows how to present an index.
//
// This requires the user to create two subclasses for the
// internal model used in DialogViewController and a new
// subclass of DialogViewController that activates it.
//
// See the source in IndexedViewController
//
// The reason for Source and SourceSizing derive... | mit | C# |
671f252e40104352953aa893a6f610d136489254 | Fix test failure. | jherby2k/AudioWorks | AudioWorks/tests/AudioWorks.Api.Tests/ExtensionInstallerTests.cs | AudioWorks/tests/AudioWorks.Api.Tests/ExtensionInstallerTests.cs | /* Copyright 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Audi... | /* Copyright 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Audi... | agpl-3.0 | C# |
28bc8bd89a15f319dc61fbd4f4eea8277729b13c | add display name for column | Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject | EntertainmentSystem/Web/EntertainmentSystem.Web/Areas/Administration/ViewModels/AdminMediaContentViewModel.cs | EntertainmentSystem/Web/EntertainmentSystem.Web/Areas/Administration/ViewModels/AdminMediaContentViewModel.cs | namespace EntertainmentSystem.Web.Areas.Administration.ViewModels
{
using System.ComponentModel.DataAnnotations;
using AutoMapper;
using Data.Models.Media;
using Infrastructure.Mapping;
public class AdminMediaContentViewModel : AdminBaseGuidViewModel, IMapFrom<MediaContent>, IHaveCustomMappings
... | namespace EntertainmentSystem.Web.Areas.Administration.ViewModels
{
using System.ComponentModel.DataAnnotations;
using AutoMapper;
using Data.Models.Media;
using Infrastructure.Mapping;
public class AdminMediaContentViewModel : AdminBaseGuidViewModel, IMapFrom<MediaContent>, IHaveCustomMappings
... | mit | C# |
ce13f2c8b1747aa5a4705aab124d956a02f63c02 | Remove whitespace | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net/Storage/IRaygunFile.cs | Mindscape.Raygun4Net/Storage/IRaygunFile.cs | namespace Mindscape.Raygun4Net.Storage
{
public interface IRaygunFile
{
/// <summary>
/// The filename as seen in local storage.
/// </summary>
string Name { get; }
/// <summary>
/// The raw data stored locally.
/// </summary>
string Contents { get; }
}
} | namespace Mindscape.Raygun4Net.Storage
{
public interface IRaygunFile
{
/// <summary>
/// The filename as seen in local storage.
/// </summary>
string Name { get; }
/// <summary>
/// The raw data stored locally.
/// </summary>
string Contents { get; }
}
} | mit | C# |
52451e7f3f820d07d5dcb179bbad5299c64fa8d2 | Update korrigiert | ManuelHu/octoawesome,ManuelHu/octoawesome,OctoAwesome/octoawesome,OctoAwesome/octoawesome | OctoAwesome/OctoAwesome/IGlobalChunkCache.cs | OctoAwesome/OctoAwesome/IGlobalChunkCache.cs | namespace OctoAwesome
{
public interface IGlobalChunkCache
{
/// <summary>
/// Abonniert einen Chunk.
/// </summary>
/// <param name="position">Position des Chunks</param>
/// <returns>Den abonnierten Chunk</returns>
IChunk Subscribe(PlanetIndex3 position, b... | namespace OctoAwesome
{
public interface IGlobalChunkCache
{
/// <summary>
/// Abonniert einen Chunk.
/// </summary>
/// <param name="position">Position des Chunks</param>
/// <returns></returns>
IChunk Subscribe(PlanetIndex3 position, bool writable);
in... | mit | C# |
cb490bdd6e770481528f1325a8417aa41b3093f1 | Modify class isWealthyEnough | Guityyo/minerparty,Guityyo/minerparty | Assets/AI/Actions/isWealthyEnough.cs | Assets/AI/Actions/isWealthyEnough.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using RAIN.Action;
using RAIN.Core;
[RAINAction]
public class isWealthyEnough : RAINAction
{
private Thief thief;
public override void Start(RAIN.Core.AI ai){
base.Start(ai);
thief = GameObject.Find("Thief").GetComponent<Thie... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using RAIN.Action;
using RAIN.Core;
[RAINAction]
public class isWealthyEnough : RAINAction
{
public override void Start(RAIN.Core.AI ai)
{
base.Start(ai);
}
public override ActionResult Execute(RAIN.Core.AI ai)
... | apache-2.0 | C# |
9b1cd1d840ffad5ab9371bbd3e1c8c82821f8183 | Update AddingLinkToAnotherCell.cs | aspose-cells/Aspose.Cells-for-.NET,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,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-sha... | Examples/CSharp/Data/AddOn/Hyperlinks/AddingLinkToAnotherCell.cs | Examples/CSharp/Data/AddOn/Hyperlinks/AddingLinkToAnotherCell.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.Hyperlinks
{
public class AddingLinkToAnotherCell
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Exa... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.Hyperlinks
{
public class AddingLinkToAnotherCell
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S... | mit | C# |
639cb1d28b2592f82758f008cc590249304af45c | Refresh AAL cache only when required | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder | PathfinderAPI/Util/AssemblyAssociatedList.cs | PathfinderAPI/Util/AssemblyAssociatedList.cs | using System.Collections.ObjectModel;
using System.Reflection;
namespace Pathfinder.Util;
public class AssemblyAssociatedList<T>
{
private Dictionary<Assembly, List<T>> asmDictionary = new Dictionary<Assembly, List<T>>();
private ReadOnlyCollection<T>? _allItems = null;
public ReadOnlyCollection<T> AllIt... | using System.Collections.ObjectModel;
using System.Reflection;
namespace Pathfinder.Util;
public class AssemblyAssociatedList<T>
{
private Dictionary<Assembly, List<T>> asmDictionary = new Dictionary<Assembly, List<T>>();
public ReadOnlyCollection<T> AllItems { get; private set; } = new ReadOnlyCollection<T>... | mit | C# |
f0aee1d11f03882e10d37032221aaf079bb57ba3 | add link detail | tonanumart/tdd-carfuel,tonanumart/tdd-carfuel,tonanumart/tdd-carfuel | CarFuelWeb/Views/Cars/Deatail.cshtml | CarFuelWeb/Views/Cars/Deatail.cshtml | @using CarFuel.Model
@model Car
@{
ViewBag.Title = "Deatail";
}
@helper Message()
{
if (Model.AvgRateFillUp.HasValue)
{
<span> Avg rate <p> @Model.AvgRateFillUp.Value.ToString("n2") </p> km / l</span>
}
else
{
<span>Cannot calculate ...</span><a hre... | @using CarFuel.Model
@model Car
@{
ViewBag.Title = "Deatail";
}
<div class="well wellsm">
@Model.Make - @Model.Model
</div>
<div class="well well-sm">
Avg rate @(Model.AvgRateFillUp?.ToString("n2")) km/l
</div>
<a href="@Url.Content("~/Cars/Index")" class="btn btn-default">Back</a> | unlicense | C# |
9b336b905f608ddf016d4b118ba85a3c4e54462e | Configure Home controller | ahmedmatem/primus-flex,ahmedmatem/primus-flex,ahmedmatem/primus-flex | PrimusFlex.Web/Controllers/HomeController.cs | PrimusFlex.Web/Controllers/HomeController.cs | namespace PrimusFlex.Web.Controllers
{
using Microsoft.AspNet.Identity;
using System.Web.Mvc;
[Authorize]
public class HomeController : BaseController
{
public ActionResult Index()
{
ViewBag.UserId = this.User.Identity.GetUserId();
return View();
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PrimusFlex.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | mit | C# |
31078c5c996e5a206fd985141e4a95026bc01de1 | Change logger interface | tinylabproductions/google-analytics | parts/0000-core/Assets/Plugins/Vendor/GoogleAnalytics/Implementations/Logging.cs | parts/0000-core/Assets/Plugins/Vendor/GoogleAnalytics/Implementations/Logging.cs | using com.tinylabproductions.TLPLib.Logger;
namespace com.tinylabproductions.GoogleAnalytics.Implementations {
public class GAClientLoggingImpl : IGAClient {
public const Log.Level DEFAULT_LEVEL = Log.Level.DEBUG;
readonly ILog logger;
readonly Log.Level level;
public GAClientLoggingImpl(ILog logg... | using com.tinylabproductions.TLPLib.Logger;
namespace com.tinylabproductions.GoogleAnalytics.Implementations {
public class GAClientLoggingImpl : IGAClient {
public const Log.Level DEFAULT_LEVEL = Log.Level.DEBUG;
readonly ILog logger;
readonly Log.Level level;
public GAClientLoggingImpl(ILog logg... | mit | C# |
d898a41529261befcc443b4c076de78017e02d7f | Rename morphisms | sharper-library/Sharper.C.Testing | Sharper.C.Testing/Testing/Properties/FunctionPropertiesModule.cs | Sharper.C.Testing/Testing/Properties/FunctionPropertiesModule.cs | using System;
using FsCheck;
namespace Sharper.C.Testing.Properties
{
using static PropertyModule;
public static class FunctionPropertiesModule
{
public static Invariant IsInjection<A, B>
( Func<A, B> f
, Func<B, A> g
, Func<A, A, bool> eq
, Arbitrary<A> arbA
)
=>
"Injec... | using System;
using FsCheck;
namespace Sharper.C.Testing.Properties
{
using static PropertyModule;
public static class FunctionPropertiesModule
{
public static Invariant IsMonomorphism<A, B>
( Func<A, B> f
, Func<B, A> g
, Func<A, A, bool> eq
, Arbitrary<A> arbA
)
=>
"Mo... | mit | C# |
e5d2e87feb584701c1cc221467168ab4f2f8cde4 | Add flying players setting to extension loader | Tunous/BotBitsExt.Rounds | BotBitsExt.Rounds/RoundsExtension.cs | BotBitsExt.Rounds/RoundsExtension.cs | using System;
using BotBits;
namespace BotBitsExt.Rounds
{
public sealed class RoundsExtension : Extension<RoundsExtension>
{
private class Settings
{
public int MinimumPlayers { get; private set; }
public int WaitTime { get; private set; }
public bool Flyin... | using System;
using BotBits;
namespace BotBitsExt.Rounds
{
public sealed class RoundsExtension : Extension<RoundsExtension>
{
private class Settings
{
public int MinimumPlayers { get; private set; }
public int WaitTime { get; private set; }
public bool Flyin... | mit | C# |
08da564a9320108cc1ea58500e9ecfbbd069b602 | Remove unused members | claudiospizzi/DSCPullServerWeb | Sources/DSCPullServerWeb/Models/FileBase.cs | Sources/DSCPullServerWeb/Models/FileBase.cs | using DSCPullServerWeb.Helpers;
using System;
using System.IO;
namespace DSCPullServerWeb.Models
{
public abstract class FileBase
{
protected FileInfo _dscFile;
protected FileInfo _sumFile;
public FileBase(FileInfo dscFile)
{
_dscFile = dscFile;
_sumFi... | using DSCPullServerWeb.Helpers;
using System;
using System.IO;
namespace DSCPullServerWeb.Models
{
public abstract class FileBase
{
protected FileInfo _dscFile;
protected FileInfo _sumFile;
private String v;
private Stream stream;
public FileBase(FileInfo dscFile)
... | mit | C# |
91e71cd170d3e7b706d2e0121d1492fe0a573883 | Remove date of possible requirement | gep13/package-validator,gep13/package-validator,chocolatey/package-validator,chocolatey/package-validator | src/chocolatey.package.validator/infrastructure.app/rules/AdminTagShouldBeIncludedWhenUsingAdminHelpersGuideline.cs | src/chocolatey.package.validator/infrastructure.app/rules/AdminTagShouldBeIncludedWhenUsingAdminHelpersGuideline.cs | // Copyright © 2015 - Present RealDimensions Software, LLC
//
// 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 a... | // Copyright © 2015 - Present RealDimensions Software, LLC
//
// 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 a... | apache-2.0 | C# |
6cf98241c56102618cc8ca529d00ae1dbde7a6e9 | bump version | ewhauser/zookeeper,pengweiqhca/zookeeper,Giten2004/zookeeper,Giten2004/zookeeper,pengweiqhca/zookeeper,crtynes/zookeeper,mikeqian/zookeeper,pengweiqhca/zookeeper,crtynes/zookeeper,crtynes/zookeeper,ewhauser/zookeeper,mikeqian/zookeeper,tausten/zookeeper,tausten/zookeeper,pengweiqhca/zookeeper,tausten/zookeeper,ewhauser... | src/dotnet/SolutionVersion.cs | src/dotnet/SolutionVersion.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
[assembly: AssemblyDescription("ZooKeeper Client for .NET http://zookeeper.apache.org")]
[assembly: AssemblyProduct("ZooKeeperNet")]
[assembly: AssemblyCopyright("Copyright 2007-2012 ewhauser, omwok. - All rights reserv... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
[assembly: AssemblyDescription("ZooKeeper Client for .NET http://zookeeper.apache.org")]
[assembly: AssemblyProduct("ZooKeeperNet")]
[assembly: AssemblyCopyright("Copyright 2007-2012 ewhauser, omwok. - All rights reserv... | apache-2.0 | C# |
a7c0cbfb3ef60c62b15dccee3f1ec9916ed6f88e | Fix using for Release build | yozora-hitagi/Saber,JohnTheGr8/Wox,dstiert/Wox,dstiert/Wox,dstiert/Wox,jondaniels/Wox,Launchify/Launchify,Megasware128/Wox,danisein/Wox,jondaniels/Wox,JohnTheGr8/Wox,medoni/Wox,Launchify/Launchify,Megasware128/Wox,zlphoenix/Wox,medoni/Wox,yozora-hitagi/Saber,danisein/Wox,zlphoenix/Wox | Wox.Infrastructure/Logger/Log.cs | Wox.Infrastructure/Logger/Log.cs | using NLog;
using Wox.Infrastructure.Exception;
namespace Wox.Infrastructure.Logger
{
public class Log
{
private static NLog.Logger logger = LogManager.GetCurrentClassLogger();
public static void Error(System.Exception e)
{
#if DEBUG
throw e;
#else
while (e.Inn... | using NLog;
namespace Wox.Infrastructure.Logger
{
public class Log
{
private static NLog.Logger logger = LogManager.GetCurrentClassLogger();
public static void Error(System.Exception e)
{
#if DEBUG
throw e;
#else
while (e.InnerException != null)
{
... | mit | C# |
9186dd7e0c3d28688eccb7284cd5600307a18254 | Add field binding check | mminns/xwt,lytico/xwt,sevoku/xwt,steffenWi/xwt,cra0zy/xwt,mono/xwt,akrisiun/xwt,directhex/xwt,iainx/xwt,hwthomas/xwt,antmicro/xwt,mminns/xwt,hamekoz/xwt,TheBrainTech/xwt,residuum/xwt | Xwt/Xwt/CellView.cs | Xwt/Xwt/CellView.cs | //
// CellView.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction,... | //
// CellView.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction,... | mit | C# |
47acbba7d2ea20dea6fe05328ed1a44813fa29c7 | Fix tests | serilog/serilog-generator,kensykora/serilog-generator,serilog/serilog-generator | test/Serilog.Generator.Tests/Configuration/CommandLineDslParserTests.cs | test/Serilog.Generator.Tests/Configuration/CommandLineDslParserTests.cs | using System.Linq;
using NUnit.Framework;
using Serilog.Generator.Configuration;
namespace Serilog.Generator.Tests.Configuration
{
[TestFixture]
public class CommandLineDslParserTests
{
[Test]
public void ParsesDirectives()
{
var d = CommandLineDslParser.ParseCommandLin... | using System.Linq;
using NUnit.Framework;
using Serilog.Generator.Configuration;
namespace Serilog.Generator.Tests.Configuration
{
[TestFixture]
public class CommandLineDslParserTests
{
[Test]
public void ParsesDirectives()
{
var d = CommandLineDslParser.ParseCommandLin... | apache-2.0 | C# |
f28c31c5f1be4c29904b3d9cdb9c30deb3bea486 | Update CsvHelperWriter.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/TextFieldWriter.CsvHelper/CsvHelperWriter.cs | src/Core2D/Modules/TextFieldWriter.CsvHelper/CsvHelperWriter.cs | #nullable disable
using System;
using System.Globalization;
using System.IO;
using Core2D.Model;
using Core2D.ViewModels;
using Core2D.ViewModels.Data;
using CSV = CsvHelper;
namespace Core2D.Modules.TextFieldWriter.CsvHelper
{
public sealed class CsvHelperWriter : ITextFieldWriter<DatabaseViewModel>
{
... | #nullable disable
using System;
using System.Globalization;
using System.IO;
using Core2D.Model;
using Core2D.ViewModels;
using Core2D.ViewModels.Data;
using CSV = CsvHelper;
namespace Core2D.Modules.TextFieldWriter.CsvHelper
{
public sealed class CsvHelperWriter : ITextFieldWriter<DatabaseViewModel>
{
... | mit | C# |
13bdf5b65481cca8e178857f2b45449b66aad700 | Update OAuthUserInfo.cs | JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK | src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthUserInfo.cs | src/Senparc.Weixin.Open/Senparc.Weixin.Open/OAuthAPIs/OAuthJson/OAuthUserInfo.cs | /*----------------------------------------------------------------
Copyright (C) 2018 Senparc
文件名:OAuthUserInfo.cs
文件功能描述:通过OAuth的获取到的用户信息
创建标识:Senparc - 20150712
----------------------------------------------------------------*/
using System;
namespace Senparc.Weixin.Open.OAuthAP... | /*----------------------------------------------------------------
Copyright (C) 2018 Senparc
文件名:OAuthUserInfo.cs
文件功能描述:通过OAuth的获取到的用户信息
创建标识:Senparc - 20150712
----------------------------------------------------------------*/
namespace Senparc.Weixin.Open.OAuthAPIs
{
/// <s... | apache-2.0 | C# |
67db7fef8db1d0f3a165c0dc26b43b4895e98f98 | Change Init Method Name for code gen | HelloKitty/Testity,HelloKitty/Testity | src/Testity.BuildProcess.Unity3D/BuildSteps/AddMemberInitializationMethodStep.cs | src/Testity.BuildProcess.Unity3D/BuildSteps/AddMemberInitializationMethodStep.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Fasterflect;
using Testity.Common;
using Testity.EngineComponents.Unity3D;
namespace Testity.BuildProcess.Unity3D
{
public class AddMemberInitializationMethodStep : ITest... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Fasterflect;
using Testity.Common;
using Testity.EngineComponents.Unity3D;
namespace Testity.BuildProcess.Unity3D
{
public class AddMemberInitializationMethodStep : ITest... | mit | C# |
d1c52323f2134dc0f51eb3a9f251d9f9383bb0ec | Revert "Revert "Reacting to CLI breaking change"" | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.DotNet.Watcher.Core/Internal/Implementation/Project.cs | src/Microsoft.DotNet.Watcher.Core/Internal/Implementation/Project.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.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.DotNet.ProjectModel.Graph;
namespace Microsoft.DotNet.Watcher.Co... | // 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.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.DotNet.ProjectModel.Graph;
namespace Microsoft.DotNet.Watcher.Co... | apache-2.0 | C# |
212c216b963fd41250379bb7ad5915a638881b32 | Add DataState into RoutinProblemData | nfleet/.net-sdk | NFleetSDK/Data/RoutingProblemData.cs | NFleetSDK/Data/RoutingProblemData.cs | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace NFleet.Data
{
[DataContract]
public class RoutingProblemData : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.problem";
public static string MIMEVersion = ... | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace NFleet.Data
{
[DataContract]
public class RoutingProblemData : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.problem";
public static string MIMEVersion = ... | mit | C# |
351c98b8352ffa089b3cd585405055db39fb1591 | fix indent | omise/omise-dotnet | Omise/Models/PaymentSourceRequest.cs | Omise/Models/PaymentSourceRequest.cs | using Newtonsoft.Json;
namespace Omise.Models
{
public class CreatePaymentSourceRequest : Request
{
public OffsiteTypes Type { get; set; }
public FlowTypes Flow { get; set; }
[JsonProperty("platform_type")]
public PlatformTypes PlatformType { get; set; }
public long Amo... | using Newtonsoft.Json;
namespace Omise.Models
{
public class CreatePaymentSourceRequest : Request
{
public OffsiteTypes Type { get; set; }
public FlowTypes Flow { get; set; }
[JsonProperty("platform_type")]
public PlatformTypes PlatformType { get; set; }
public long Am... | mit | C# |
6222bb3726b49044cb32687c8a3661a7c216c2ef | Patch from Michele Cantelli, handling NH mapping rewrite with schema | brumschlag/rhino-tools,brumschlag/rhino-tools,codechip/rhino-tools,codechip/rhino-tools | rhino-security/Rhino.Security/Impl/MappingRewriting/SchemaChanger.cs | rhino-security/Rhino.Security/Impl/MappingRewriting/SchemaChanger.cs | using System.Collections.Generic;
using NHibernate.Cfg;
using NHibernate.Mapping;
namespace Rhino.Security.Impl.MappingRewriting
{
/// <summary>
/// Modify the NH configuration to set the correct schema
/// </summary>
public class SchemaChanger
{
private readonly Configuration cfg;
private readonl... | using System.Collections.Generic;
using NHibernate.Cfg;
using NHibernate.Mapping;
namespace Rhino.Security.Impl.MappingRewriting
{
/// <summary>
/// Modify the NH configuration to set the correct schema
/// </summary>
public class SchemaChanger
{
private readonly Configuration cfg;
private readonl... | bsd-3-clause | C# |
98d26d28995d96c56e4baff76353cf41d4254358 | Fix Android database path | monkeyx/phoenix-imperator | PhoenixImperator/PhoenixImperator.cs | PhoenixImperator/PhoenixImperator.cs | //
// PhoenixImperator.cs
//
// Author:
// Seyed Razavi <monkeyx@gmail.com>
//
// Copyright (c) 2015 Seyed Razavi
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restric... | //
// PhoenixImperator.cs
//
// Author:
// Seyed Razavi <monkeyx@gmail.com>
//
// Copyright (c) 2015 Seyed Razavi
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restric... | mit | C# |
51034697bfc49e1d96c62bffd0105ba657999fef | Remove My Profile Page Menu Item Seed | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Entities/Seed/MenuSeed.cs | Portal.CMS.Entities/Seed/MenuSeed.cs | using Portal.CMS.Entities.Entities;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Entities.Seed
{
public static class MenuSeed
{
public static void Seed(PortalEntityModel context)
{
if (!context.Menus.Any(x => x.MenuName == "Main Menu"))
{
... | using Portal.CMS.Entities.Entities;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Entities.Seed
{
public static class MenuSeed
{
public static void Seed(PortalEntityModel context)
{
if (!context.Menus.Any(x => x.MenuName == "Main Menu"))
{
... | mit | C# |
f8bc0006673cb1b24e1cb009414cf2d952cdc5f8 | Fix namespaces in ios interopconfig | realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet | RealmNet.XamarinIOS/InteropConfig.cs | RealmNet.XamarinIOS/InteropConfig.cs | /* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System;
using UIKit;
using Foundation;
using System.IO;
namespace RealmNet
{
public static class InteropConfig
{
public static bool Is64Bit
{
#if REALM_32
get {
Debu... | /* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System;
namespace RealmNet
{
public static class InteropConfig
{
public static bool Is64Bit
{
#if REALM_32
get {
Debug.Assert(IntPtr.Size == 4);
retu... | apache-2.0 | C# |
b21c8e4e0f131e95c2083a6195aeb297669b8d93 | Make ActivatorConstructor public. | eylvisaker/AgateLib | AgateLib.Platform.WindowsForms/Factories/ActivatorConstructor.cs | AgateLib.Platform.WindowsForms/Factories/ActivatorConstructor.cs | using AgateLib.Drivers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AgateLib.Platform.WindowsForms.Factories
{
public class ActivatorConstructor : IObjectConstructor
{
public object CreateInstance(Type t)
{
return Activator.CreateInstance(t, tru... | using AgateLib.Drivers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AgateLib.Platform.WindowsForms.Factories
{
class ActivatorConstructor : IObjectConstructor
{
public object CreateInstance(Type t)
{
return Activator.CreateInstance(t, true);
... | mit | C# |
1e9464a86509002884a3827d8afca5e42b1cbc66 | Add remark about failure scenarios | KevinRansom/roslyn,weltkante/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,bartdesmet/roslyn,dotnet/roslyn,physhi/roslyn,wvdd007/roslyn,wvdd007/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,AmadeusW/roslyn,wvdd007/roslyn,mavasani/roslyn,b... | src/VisualStudio/Core/Def/ExternalAccess/ProjectSystem/Api/IProjectSystemUpdateReferenceOperation.cs | src/VisualStudio/Core/Def/ExternalAccess/ProjectSystem/Api/IProjectSystemUpdateReferenceOperation.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Threading.Tasks;
namespace Microsoft.VisualStudio.LanguageServices.ExternalAccess.Proje... | // 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.Threading.Tasks;
namespace Microsoft.VisualStudio.LanguageServices.ExternalAccess.ProjectSystem.Api
{... | mit | C# |
b06f9be7affd5b6ef3dd5c84db7423c080056df2 | fix typo in seedings | YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site | src/MathSite.Db/DataSeeding/Seeders/PostSeoSettingsSeeder.cs | src/MathSite.Db/DataSeeding/Seeders/PostSeoSettingsSeeder.cs | using System.Collections.Generic;
using System.Linq;
using MathSite.Db.DataSeeding.StaticData;
using MathSite.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace MathSite.Db.DataSeeding.Seeders
{
public class PostSeoSettingsSeeder : AbstractSeeder
{
/// <inheritdoc />
publ... | using System.Collections.Generic;
using System.Linq;
using MathSite.Db.DataSeeding.StaticData;
using MathSite.Models;
using Microsoft.Extensions.Logging;
namespace MathSite.Db.DataSeeding.Seeders
{
public class PostSeoSettingsSeeder : AbstractSeeder
{
/// <inheritdoc />
public PostSeoSettingsSeeder(ILogger logg... | mit | C# |
abe5e276f125655abf0dfcfd3640c9bf41eef305 | Fix registering wrong namespace | gregmac/NServiceMVC,gregmac/NServiceMVC,gregmac/NServiceMVC,ManuelRin/NServiceMVC,ManuelRin/NServiceMVC | src/NServiceMVC.Examples.HelloWorld/App_Start/NServiceMVC.cs | src/NServiceMVC.Examples.HelloWorld/App_Start/NServiceMVC.cs | using System.Web.Mvc;
using System.Web.Routing;
using System.Reflection;
[assembly: WebActivator.PreApplicationStartMethod(typeof(NServiceMVC.Examples.HelloWorld.App_Start.NServiceMVCActivator), "Start")]
namespace NServiceMVC.Examples.HelloWorld.App_Start
{
public static class NServiceMVCActivator
... | using System.Web.Mvc;
using System.Web.Routing;
using System.Reflection;
[assembly: WebActivator.PreApplicationStartMethod(typeof(NServiceMVC.Examples.HelloWorld.App_Start.NServiceMVCActivator), "Start")]
namespace NServiceMVC.Examples.HelloWorld.App_Start
{
public static class NServiceMVCActivator
... | mit | C# |
0f1b7b64475fa6c844fbb49b0f2483d33e0182c8 | increment version | mailosaurapp/mailosaur-dotnet | Mailosaur/Properties/AssemblyInfo.cs | Mailosaur/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Mailosaur")]
[assembly: AssemblyDescription(".NET bindings for Mailosaur.com")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Clickity Ltd")]
[assembly: AssemblyProduct("mailosaur.com")]
[assembly: AssemblyCop... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Mailosaur")]
[assembly: AssemblyDescription(".NET bindings for Mailosaur.com")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Clickity Ltd")]
[assembly: AssemblyProduct("mailosaur.com")]
[assembly: AssemblyCop... | mit | C# |
2824d950e5187a02d96e1334f18c61409905a47b | Include faction info in the RedeemVoucher event | EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,andreaspada/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery | EDDiscovery/EliteDangerous/JournalEvents/JournalRedeemVoucher.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalRedeemVoucher.cs | /*
* Copyright © 2016 EDDiscovery development team
*
* 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... | /*
* Copyright © 2016 EDDiscovery development team
*
* 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... | apache-2.0 | C# |
c360e86de5d0c27ff92e4c66dee4e6f7e510b3ec | REvert these values. | davkean/roslyn,DustinCampbell/roslyn,mavasani/roslyn,reaction1989/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,AlekseyTs/roslyn,dpoeschl/roslyn,heejaechang/roslyn,jasonmalinowski/roslyn,mmitche/roslyn,tannergooding/roslyn,lorcanmooney/roslyn,jmarolf/roslyn,swaroop-sridhar/roslyn,mattwar/roslyn,Giftednewt/roslyn,jasonmali... | src/Workspaces/Core/Portable/SymbolSearch/SymbolSearchOptions.cs | src/Workspaces/Core/Portable/SymbolSearch/SymbolSearchOptions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
internal static class SymbolSearchOptions
{
private co... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
internal static class SymbolSearchOptions
{
private co... | mit | C# |
0c1b2a30ace3e6ee73b7fbd96a71f3ceedde9961 | Add comment. | KevinRansom/roslyn,KevinRansom/roslyn,jcouv/roslyn,AmadeusW/roslyn,KirillOsenkov/roslyn,panopticoncentral/roslyn,heejaechang/roslyn,physhi/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,cston/roslyn,aelij/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,weltkante/roslyn,brettfo/roslyn,aelij/roslyn,dpoeschl/roslyn,james... | src/Workspaces/Core/Portable/VirtualChars/IVirtualCharService.cs | src/Workspaces/Core/Portable/VirtualChars/IVirtualCharService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.VirtualChars
{
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.VirtualChars
{
/// <summary>
/// Helper serv... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.