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 |
|---|---|---|---|---|---|---|---|---|
8da69e42cca4a125aee1544a9cd903b2f5d3c84b | remove unused using | EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework/Graphics/Video/VideoTextureUpload.cs | osu.Framework/Graphics/Video/VideoTextureUpload.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.Primitives;
using osuTK.Graphics.ES30;
using FFmpeg.AutoGen;
using SixLabors.ImageSharp.PixelFormats;
namespace osu.Framework... | // 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.Primitives;
using osuTK.Graphics.ES30;
using FFmpeg.AutoGen;
using AGffmpeg = FFmpeg.AutoGen.ffmpeg;
using SixLabors.ImageShar... | mit | C# |
2a0db8aeac74ba0dc41d7ee53c3cf96c10be8829 | add missing access modifier | ppy/osu,2yangk23/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu | osu.Game.Rulesets.Catch/UI/CatchCursorContainer.cs | osu.Game.Rulesets.Catch/UI/CatchCursorContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Catch.UI
{
public class CatchCursorContainer : GameplayCursorContainer
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Catch.UI
{
class CatchCursorContainer : GameplayCursorContainer
{
... | mit | C# |
e24a5949c5a61c105e9f4670c07cdbccf0d7def6 | Fix resolve | UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu | osu.Game/Screens/OnlinePlay/OnlinePlayComposite.cs | osu.Game/Screens/OnlinePlay/OnlinePlayComposite.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.R... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.R... | mit | C# |
d5f2aab52e4ba4f155118fe3450dc7e57a3979a5 | Tidy up SkinnableComboCounter class slightly | ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new | osu.Game/Screens/Play/HUD/SkinnableComboCounter.cs | osu.Game/Screens/Play/HUD/SkinnableComboCounter.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.Game.Skinning;
namespace osu.Game.Screens.Play.HUD
{
public class SkinnableComboCounter : SkinnableDrawable, IComboCounter
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Skinning;
namespace osu.Game.Screens.Play.HUD
{
public class SkinnableComboCounter : Skin... | mit | C# |
e169de659c365560b13b8c657fcea40458b5d064 | Fix typo | vertica-as/AnalyticsTracker,larsbj1988/AnalyticsTracker,larsbj1988/AnalyticsTracker,vertica-as/AnalyticsTracker | src/AnalyticsTracker.Tests/Commands/CookieGuardedCommandTester.cs | src/AnalyticsTracker.Tests/Commands/CookieGuardedCommandTester.cs | using System;
using NUnit.Framework;
using Vertica.AnalyticsTracker.Commands;
using Vertica.AnalyticsTracker.Commands.Events;
namespace AnalyticsTracker.Tests.Commands
{
[TestFixture]
public class CookieGuardedCommandTester
{
[Test]
public void Render_CleanId_CookieSetAndChecked()
{
DateTime? now = new Da... | using System;
using NUnit.Framework;
using Vertica.AnalyticsTracker.Commands;
using Vertica.AnalyticsTracker.Commands.Events;
namespace AnalyticsTracker.Tests.Commands
{
[TestFixture]
public class CookieGuardedCommandTester
{
[Test]
public void Render_CleanId_CookieSetAndChecked()
{
DateTime? now = new Da... | mit | C# |
44ba93eb49ec2acf25736ebcacc1313ee3d9716c | Hide internals from Peachpie.LanguageServer | iolevel/peachpie-concept,iolevel/peachpie-concept,iolevel/peachpie,peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,iolevel/peachpie | src/Peachpie.CodeAnalysis/Properties/AssemblyInfo.cs | src/Peachpie.CodeAnalysis/Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | using System.Resources;
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.
[ass... | apache-2.0 | C# |
80edc6389654eea5fe3b8b092c2c653b3b4d7bcd | support Any and IPv6 as listening IP | kerryjiang/SuperSocket,kerryjiang/SuperSocket,memleaks/SuperSocket | src/SuperSocket.Server/Internal/SuperSocketEndPointInformation.cs | src/SuperSocket.Server/Internal/SuperSocketEndPointInformation.cs | using System;
using System.IO.Pipelines;
using System.Net.Sockets;
using System.Threading.Tasks;
using System.Buffers;
using SuperSocket.Channel;
using SuperSocket.ProtoBase;
using Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal;
using System.Net;
namespace SuperSocket.Server
{
internal class S... | using System;
using System.IO.Pipelines;
using System.Net.Sockets;
using System.Threading.Tasks;
using System.Buffers;
using SuperSocket.Channel;
using SuperSocket.ProtoBase;
using Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal;
using System.Net;
namespace SuperSocket.Server
{
internal class S... | apache-2.0 | C# |
4caf74c0293e6daaeebef4e22d6d84560dc9d40f | indent changes | yoghadj/or-tools,LeslieW/or-tools2,LeslieW/or-tools,petesburgh/or-tools,zafar-hussain/or-tools,gtara/or-tools,petesburgh/or-tools,LeslieW/or-tools2,petesburgh/or-tools,omerucn/or-tools,bulentsoykan/or-tools,bulentsoykan/or-tools,LeslieW/or-tools,omerucn/or-tools,zafar-hussain/or-tools,gtara/or-tools,LeslieW/or-tools2,j... | src/com/google/ortools/constraintsolver/IntervalVarArrayHelper.cs | src/com/google/ortools/constraintsolver/IntervalVarArrayHelper.cs | // Copyright 2010-2012 Google
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wri... | // Copyright 2010-2012 Google
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | apache-2.0 | C# |
b3cb45de37bf6983780b9960265abaef0be398b4 | Add ToBitArray overload with length | killnine/s7netplus | S7.Net/Types/Bit.cs | S7.Net/Types/Bit.cs | using System;
using System.Collections;
namespace S7.Net.Types
{
/// <summary>
/// Contains the conversion methods to convert Bit from S7 plc to C#.
/// </summary>
public static class Bit
{
/// <summary>
/// Converts a Bit to bool
/// </summary>
public static bool F... | using System.Collections;
namespace S7.Net.Types
{
/// <summary>
/// Contains the conversion methods to convert Bit from S7 plc to C#.
/// </summary>
public static class Bit
{
/// <summary>
/// Converts a Bit to bool
/// </summary>
public static bool FromByte(byte v... | mit | C# |
908bf539b320acfa63b7c1b706617d5e3f3e099f | Add some missing user statuses | Goz3rr/SkypeSharp | SkypeSharp/IUser.cs | SkypeSharp/IUser.cs | namespace SkypeSharp {
public enum UserStatus {
OnlineStatus,
BuddyStatus,
ReceivedAuthRequest,
IsAuthorized,
IsBlocked,
Timezone,
NROF_AUTHED_BUDDIES
}
public interface IUser : ISkypeObject {
string FullName { get; }
string Language ... | namespace SkypeSharp {
public enum UserStatus {
OnlineStatus,
BuddyStatus,
ReceivedAuthRequest
}
public interface IUser : ISkypeObject {
string FullName { get; }
string Language { get; }
string Country { get; }
string City { get; }
void Auth... | mit | C# |
e39d90fe4965ead6262994b4e59976095bdc410e | fix brace layout | NickStrupat/CacheLineSize.NET | CacheLine.cs | CacheLine.cs | using System;
using System.Runtime.InteropServices;
namespace NickStrupat
{
public static class CacheLine
{
public static readonly Int32 Size = GetSize();
private static Int32 GetSize()
{
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
... | using System;
using System.Runtime.InteropServices;
namespace NickStrupat
{
public static class CacheLine {
public static readonly Int32 Size = GetSize();
private static Int32 GetSize() {
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
return Windows... | mit | C# |
1ca84a751a39503215f8ca0cc2f25cfc5615d5ad | Fix load issue with UnknownMapEntity (NullReferenceException) | ethanmoffat/EndlessClient | EOLib.IO/Map/UnknownMapEntity.cs | EOLib.IO/Map/UnknownMapEntity.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
namespace EOLib.IO.Map
{
public class UnknownMapEntity : IMapEntity
{
public const int DATA_SIZE = 4;
public int X { get; private ... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
namespace EOLib.IO.Map
{
public class UnknownMapEntity : IMapEntity
{
public const int DATA_SIZE = 4;
public int X { get; private ... | mit | C# |
f7b519fe2c78254dd38d15ecc23025c2e9965e6e | Change NuGetRestore to be executed unconditionally. | 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.FileSystem.FileSystemTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using static Nuke.Core.EnvironmentInfo;
class DefaultBuild : ... | using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Tools.MSBuild;
using Nuke.Core;
using static Nuke.Common.FileSystem.FileSystemTasks;
using static Nuke.Common.Tools.MSBuild.MSBuildTasks;
using static Nuke.Common.Tools.NuGet.NuGetTasks;
using static Nuke.Core.EnvironmentInfo;
// ReSharper disable ... | mit | C# |
289f87cbc3e4992484c8571bf63af531b45ad891 | Switch to version 1.2.9 | Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Directory | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.2.9")]
[assembly: AssemblyFileVersion("1.2.9")]
[assembly: AssemblyInformationalVersion("1.2.9")] | using System.Reflection;
[assembly: AssemblyVersion("1.2.8")]
[assembly: AssemblyFileVersion("1.2.8")]
[assembly: AssemblyInformationalVersion("1.2.8")] | mit | C# |
434253517ef27f08d1ad6edf22f2fdb16ec459b5 | Update WalletWasabi.Gui/CommandLine/MixerCommand.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CommandLine/MixerCommand.cs | WalletWasabi.Gui/CommandLine/MixerCommand.cs | using Mono.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CommandLine
{
internal class MixerCommand : Command
{
public MixerCommand(Daemon daemon)
: base("mix", "Start mixing without the GUI with the specified wallet.... | using Mono.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CommandLine
{
internal class MixerCommand : Command
{
public MixerCommand(Daemon daemon)
: base("mix", "Start mixing without the GUI with the specified wallet.... | mit | C# |
723562727cdaae5f564f9ee6d473709eeda873fb | Update XmlnsDefinitionsDock.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/Serializer/Xaml/XmlnsDefinitionsDock.cs | src/Core2D/Serializer/Xaml/XmlnsDefinitionsDock.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Serializer.Xaml;
using Portable.Xaml.Markup;
[assembly: XmlnsDefinition(XamlConstants.DockNamespace, "Dock.Model", AssemblyName = "Dock.Model")]
[as... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Portable.Xaml.Markup;
using Core2D.Serializer.Xaml;
[assembly: XmlnsDefinition(XamlConstants.DockNamespace, "Dock.Model", AssemblyName = "Dock.Model")]
[as... | mit | C# |
f87afa79017ebf8939d39dbc58303df7f8af4199 | align source | marufbd/Zephyr.NET,marufbd/Zephyr.NET | src/DemoApp.Web/Controllers/PublisherController.cs | src/DemoApp.Web/Controllers/PublisherController.cs | using System;
using System.Web.Mvc;
using DemoApp.Web.DomainModels;
using Microsoft.Practices.ServiceLocation;
using Zephyr.Data.Repository;
using Zephyr.Data.Repository.Contract;
using Zephyr.Data.UnitOfWork;
using Zephyr.Web.Mvc.Controllers;
using System.Linq;
using Zephyr.Web.Mvc.Extentions;
using Zephyr.Web.Mvc.Ht... | using System;
using System.Web.Mvc;
using DemoApp.Web.DomainModels;
using Microsoft.Practices.ServiceLocation;
using Zephyr.Data.Repository;
using Zephyr.Data.Repository.Contract;
using Zephyr.Data.UnitOfWork;
using Zephyr.Web.Mvc.Controllers;
using System.Linq;
using Zephyr.Web.Mvc.Extentions;
using Zephyr.Web.Mvc.Ht... | apache-2.0 | C# |
5ee5a8a0a11af78adfbbe5d40d6727c064da93cf | Improve usage of pointers in StringBuilder.Append(ROS) | thnetii/dotnet-common | src/THNETII.Common/Text/StringBuilderExtensions.cs | src/THNETII.Common/Text/StringBuilderExtensions.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace THNETII.Common.Text
{
/// <summary>
/// Provides extension methods for the <see cref="StringBuilder"/> class.
///... | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace THNETII.Common.Text
{
/// <summary>
/// Provides extension methods for the <see cref="StringBuilder"/> class.
///... | mit | C# |
289aa829ed18b17161f5abfd2920e41f4eb01765 | Update WebSocketManagerExtensions.cs | radu-matei/websocket-manager,radu-matei/websocket-manager,radu-matei/websocket-manager | src/WebSocketManager/WebSocketManagerExtensions.cs | src/WebSocketManager/WebSocketManagerExtensions.cs | using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace WebSocketManager
{
public static class WebSocketManagerExtensions
{
public static IServiceCollection AddWebSocketManager(this IServiceCollection servi... | using System.Reflection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace WebSocketManager
{
public static class WebSocketManagerExtensions
{
public static IServiceCollection AddWebSocketManager(this IServiceCollection servi... | mit | C# |
a4330e7204fb7def83ebab8369caaf85d31db24a | add default help screen for parser | nmklotas/GitLabCLI | src/GitlabCmd.Console/App/Container.cs | src/GitlabCmd.Console/App/Container.cs | using Castle.MicroKernel.Registration;
using Castle.Windsor;
using CommandLine;
using GitlabCmd.Console.Configuration;
using GitlabCmd.Console.GitLab;
using Microsoft.Extensions.Configuration;
namespace GitlabCmd.Console.App
{
public static class Container
{
public static WindsorContainer Build()
... | using System;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using CommandLine;
using GitlabCmd.Console.Configuration;
using GitlabCmd.Console.GitLab;
using Microsoft.Extensions.Configuration;
using NGitLab;
namespace GitlabCmd.Console.App
{
public static class Container
{
public static W... | mit | C# |
6a44f9d7a4b318d0193460faf761af24ae350112 | fix - missing AssemblyVersion for AppVeyor Assembly Patching | jdevillard/JmesPath.Net | src/jmespath.net.signed/Properties/AssemblyInfo.cs | src/jmespath.net.signed/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: AssemblyCon... | 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: AssemblyCon... | apache-2.0 | C# |
9bf2c450615aa6ef5c3050d8467a7a7a082f6ca4 | fix destoryitem2 bug. | kanonmelodis/ElectronicObserver,tsanie/ElectronicObserver,CNA-Bld/ElectronicObserver | ElectronicObserver/Observer/kcsapi/api_req_kousyou/destroyitem2.cs | ElectronicObserver/Observer/kcsapi/api_req_kousyou/destroyitem2.cs | using ElectronicObserver.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Observer.kcsapi.api_req_kousyou {
public class destroyitem2 : APIBase {
public override void OnRequestReceived( Dictionary<string, strin... | using ElectronicObserver.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Observer.kcsapi.api_req_kousyou {
public class destroyitem2 : APIBase {
Dictionary<string, string> request;
public override void OnReq... | mit | C# |
985dc93d17c6e388de9ab70d009b260ab7b2c83d | fix misspelling of Kubernetes (#904) | ILMTitan/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,ILMTitan/google-cloud-visualstudio,GoogleCloudPlatform/google-cloud-visualstudio,ILMTitan/google-clou... | GoogleCloudExtension/GoogleCloudExtension.GCloud/Models/GkeList.cs | GoogleCloudExtension/GoogleCloudExtension.GCloud/Models/GkeList.cs | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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 applicabl... | // Copyright 2017 Google Inc. All Rights Reserved.
//
// 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 applicabl... | apache-2.0 | C# |
0c4e27fbab2b23095cece63594856197dfa1d3ff | Remove some initialzation code | PeterOrneholm/session-aspnetcore,PeterOrneholm/session-aspnetcore | AspNetCore/MyWebappCore/Startup.cs | AspNetCore/MyWebappCore/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace MyWebappCore
{
public class Startup
{
public Startup(IHostingEnvironment env)
{
... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace MyWebappCore
{
public class Startup
{
public Startup(IHostingEnvironment env)
{
... | mit | C# |
ea0146dc85eae657cd72e3aae5b42baa9e0df16a | Fix for using (IDisposable) statement | phenixdotnet/cake,mholo65/cake,UnbelievablyRitchie/cake,gep13/cake,vlesierse/cake,yvschmid/cake,cake-build/cake,DixonD-git/cake,adamhathcock/cake,danielrozo/cake,ferventcoder/cake,daveaglick/cake,marcosnz/cake,UnbelievablyRitchie/cake,DavidDeSloovere/cake,devlead/cake,wallymathieu/cake,Invenietis/cake,daveaglick/cake,c... | src/Cake.Core/Scripting/Processors/UsingStatementProcessor.cs | src/Cake.Core/Scripting/Processors/UsingStatementProcessor.cs | using System;
using Cake.Core.IO;
namespace Cake.Core.Scripting.Processors
{
/// <summary>
/// Processor for using statements.
/// </summary>
public sealed class UsingStatementProcessor : LineProcessor
{
/// <summary>
/// Initializes a new instance of the <see cref="UsingStatementPr... | using System;
using Cake.Core.IO;
namespace Cake.Core.Scripting.Processors
{
/// <summary>
/// Processor for using statements.
/// </summary>
public sealed class UsingStatementProcessor : LineProcessor
{
/// <summary>
/// Initializes a new instance of the <see cref="UsingStatementPr... | mit | C# |
c521dd85115ea5b71f2b6ec36196d57b2875274e | Improve CheckLinkPresence | Free1man/SeleniumTestFramework,Free1man/SeleniumTestsRunner | SeleniumFramework/SeleniumInfrastructure/Browsers/DriverService.cs | SeleniumFramework/SeleniumInfrastructure/Browsers/DriverService.cs | using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.PhantomJS;
using OpenQA.Selenium.Remote;
using System.Net;
namespace SeleniumFramework.SeleniumInfrastructure.Browsers
{
public class DriverService
{
public IWebDriver GetDriver(stri... | using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.PhantomJS;
using OpenQA.Selenium.Remote;
namespace SeleniumFramework.SeleniumInfrastructure.Browsers
{
public class DriverService
{
public IWebDriver GetDriver(string browser)
... | mit | C# |
f9e7b6e81729eb8904d79778ba97dbbca789a809 | fix merge solution | LayoutFarm/PixelFarm | src/Tools/BuildMergeProject/Program.cs | src/Tools/BuildMergeProject/Program.cs | //MIT, 2017, WinterDev
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace BuildMergeProject
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | //MIT, 2017, WinterDev
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace BuildMergeProject
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | bsd-2-clause | C# |
b270db360f8b17feac55223c2b5c71fac5fd680f | Improve cancellation behavior in ListFileSource | adv12/FileSharper | src/FileSharper/FileSharperCore/FileSources/ListFileSource.cs | src/FileSharper/FileSharperCore/FileSources/ListFileSource.cs | // Copyright (c) 2017 Andrew Vardeman. Published under the MIT license.
// See license.txt in the FileSharper distribution or repository for the
// full text of the license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xceed... | // Copyright (c) 2017 Andrew Vardeman. Published under the MIT license.
// See license.txt in the FileSharper distribution or repository for the
// full text of the license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xceed... | mit | C# |
fdf0fc5fc4332a8ac8f86a455a9175ef38f704eb | Hide PrefixProcess from outside | lou1306/CIV,lou1306/CIV | CIV.Ccs/Processes/PrefixProcess.cs | CIV.Ccs/Processes/PrefixProcess.cs | using System;
using System.Collections.Generic;
using CIV.Interfaces;
namespace CIV.Ccs
{
class PrefixProcess : CcsProcess
{
public String Label { get; set; }
public CcsProcess Inner { get; set; }
public override bool Equals(CcsProcess other)
{
var otherPrefix = ot... | using System;
using System.Collections.Generic;
using CIV.Interfaces;
namespace CIV.Ccs
{
public class PrefixProcess : CcsProcess
{
public String Label { get; set; }
public CcsProcess Inner { get; set; }
public override bool Equals(CcsProcess other)
{
var otherPref... | mit | C# |
4c940a6ea78947466adb8915de18e286a7718382 | add Foreach support for ControlPersistenceData for backward compatibility | danielgerlag/workflow-core | src/WorkflowCore/Primitives/Foreach.cs | src/WorkflowCore/Primitives/Foreach.cs | using System.Linq;
using System.Collections;
using System.Collections.Generic;
using WorkflowCore.Interface;
using WorkflowCore.Models;
namespace WorkflowCore.Primitives
{
public class Foreach : ContainerStepBody
{
public IEnumerable Collection { get; set; }
public bool RunParallel { get; set;... | using System.Linq;
using System.Collections;
using System.Collections.Generic;
using WorkflowCore.Interface;
using WorkflowCore.Models;
namespace WorkflowCore.Primitives
{
public class Foreach : ContainerStepBody
{
public IEnumerable Collection { get; set; }
public bool RunParallel { get; set;... | mit | C# |
fb2794321c5ed7c9db7b25fde85767b23726fa59 | Fix a bug that causes the parameter created by the method DataParameters.CreateParameter to not be automatically included in the related DbCommand object. | nohros/must,nohros/must,nohros/must | src/base/common/data/DataParameters.cs | src/base/common/data/DataParameters.cs | using System;
using System.Data;
namespace Nohros.Data
{
/// <summary>
/// Provides facilities methods for create data parameters.
/// </summary>
public sealed class DataParameters
{
/// <summary>
/// Initializes a new instance of the <see cref="IDbDataParameter"/> class
/// that use... | using System;
using System.Data;
namespace Nohros.Data
{
/// <summary>
/// Provides facilities methods for create data parameters.
/// </summary>
public sealed class DataParameters
{
/// <summary>
/// Initializes a new instance of the <see cref="IDbDataParameter"/> class
/// that use... | mit | C# |
5ee7966318f426377361eadff32f2ac7d69f00b9 | Use a stub of ITimer instead of an actual implementation | dotNetNocturne/Pacman_Episode1_GreenTeam | PacManGameTests/GameTimerTest.cs | PacManGameTests/GameTimerTest.cs | using System;
using System.Threading;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using PacManGame;
namespace PacManGameTests
{
[TestFixture]
public class GameTimerTest
{
[Test]
public void GivenABoard3x4WithPacmanLookingUpAt1x2_When500msPass_ThenPacmanIsAt1x1()
{
... | using System;
using System.Threading;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using PacManGame;
namespace PacManGameTests
{
[TestFixture]
public class GameTimerTest
{
[Test]
public void GivenABoard3x4WithPacmanLookingUpAt1x2_When500msPass_ThenPacmanIsAt1x1()
{
... | mit | C# |
b8be6f0f5247f7e942a819033587282fedcadad9 | Fix for making the library work on Meteor v1.4.1.2 | green-coder/unity3d-ddp-client,green-coder/unity3d-ddp-client,green-coder/unity3d-ddp-client,green-coder/unity3d-ddp-client | unity-project/Assets/unity3d-ddp-client/account/DdpAccount.cs | unity-project/Assets/unity3d-ddp-client/account/DdpAccount.cs | using UnityEngine;
using System;
using System.Text;
using System.Security.Cryptography;
using System.Collections;
public class DdpAccount {
private DdpConnection connection;
public bool isLogged;
public string userId;
public string token;
public DateTime tokenExpiration;
public DdpError error;
public DdpAc... | using UnityEngine;
using System;
using System.Text;
using System.Security.Cryptography;
using System.Collections;
public class DdpAccount {
private DdpConnection connection;
public bool isLogged;
public string username;
public string userId;
public string token;
public DateTime tokenExpiration;
public DdpEr... | mit | C# |
f20c643b625027c0917df6949fceabdd762d12b1 | Fix DatePicker.cshtml | atata-framework/atata-kendoui,atata-framework/atata-kendoui | test/Atata.KendoUI.TestApp/Pages/DatePicker.cshtml | test/Atata.KendoUI.TestApp/Pages/DatePicker.cshtml | @page
@{
ViewBag.Title = "DatePicker";
}
<label for="regular">Regular</label>
<input id="regular" />
<label for="using-date-input">Using Date Input</label>
<input id="using-date-input" />
<label for="using-date-input-with-value">Using Date Input With Value</label>
<input id="using-date-input-with-value" value="2... | @page
@{
ViewBag.Title = "DatePicker";
}
<label for="regular">Regular</label>
<input id="regular" />
<label for="using-date-input">Using Date Input</label>
<input id="using-date-input" />
<label for="using-date-input-with-value">Using Date Input with Value</label>
<input id="using-date-input-with-value" value="2... | apache-2.0 | C# |
4a639128b211f4818cf00cdfccddfb7b8bbb4bb8 | Fix hadle -> handle in comment (#1776) | jamespearce2006/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp | CefSharp.Wpf.Example/Handlers/GeolocationHandler.cs | CefSharp.Wpf.Example/Handlers/GeolocationHandler.cs | // Copyright © 2010-2016 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows;
namespace CefSharp.Wpf.Example.Handlers
{
internal class GeolocationHandler : IGeolocationHandler
{
... | // Copyright © 2010-2016 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Windows;
namespace CefSharp.Wpf.Example.Handlers
{
internal class GeolocationHandler : IGeolocationHandler
{
... | bsd-3-clause | C# |
71ae0a66a104694499f728a502570feff1ee7f45 | Fix hardcoded DAP log path | Norbyte/lslib,Norbyte/lslib,Norbyte/lslib | DebuggerFrontend/Program.cs | DebuggerFrontend/Program.cs | using CommandLineParser.Exceptions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LSTools.DebuggerFrontend
{
class Program
{
static void Main(string[] args)
{
var currentPath = AppDomai... | using CommandLineParser.Exceptions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LSTools.DebuggerFrontend
{
class Program
{
static void Main(string[] args)
{
var logFile = new FileStre... | mit | C# |
c6bbe89a37ec7fda55d69b5af41ba54162031f2d | Update Form1.cs | Lime-Parallelogram/Socket-Tutorial,Lime-Parallelogram/Socket-Tutorial,Lime-Parallelogram/Socket-Tutorial | ReverseDirection/SocketClient/SocketClient/Form1.cs | ReverseDirection/SocketClient/SocketClient/Form1.cs | //Required Libs
using System;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
namespace SocketClient //Sorry about the naming issue (This is a server)
{
public partial class Form1 : Form
{
//Vars
TcpListener server;
TcpClient clientconnection;
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
namespace SocketClient
{
public partial class Form1 : Fo... | mit | C# |
b3f1f35ba2a5898fe01bd9418f5e582a545dd8c8 | add ExtractTransform | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/MathTransformExtensions.cs | SolidworksAddinFramework/MathTransformExtensions.cs | using System.Linq;
using MathNet.Numerics.LinearAlgebra.Double;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class MathTransformExtensions
{
public static void ExtractTransform(this IMathTransform transform, out DenseMatrix rotation, out DenseVector translation)... | using System.Linq;
using MathNet.Numerics.LinearAlgebra.Double;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class MathTransformExtensions
{
public static void ExtractTransform(this IMathTransform transform, out DenseMatrix rotation, out DenseVector translation)... | mit | C# |
083a0cd14b980e5c79702bfc0cb14e75d96b222b | Fix adding controls to PixelLayout with a different container object | l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto | Source/Eto.Platform.Gtk/Forms/PixelLayoutHandler.cs | Source/Eto.Platform.Gtk/Forms/PixelLayoutHandler.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.GtkSharp
{
public class PixelLayoutHandler : GtkLayout<Gtk.Fixed, PixelLayout>, IPixelLayout
{
public PixelLayoutHandler ()
{
Control = new Gtk.Fixed ();
}
public void Add (Control child, int x, int y)
{
var ctl = ((IGtkContr... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Platform.GtkSharp
{
public class PixelLayoutHandler : GtkLayout<Gtk.Fixed, PixelLayout>, IPixelLayout
{
public PixelLayoutHandler()
{
Control = new Gtk.Fixed();
}
public void Add(Control child, int x, int y)
{
IGtkControl ctl = ((I... | bsd-3-clause | C# |
2e71882ff6b6131d76bcc9146dc5a0acf9dec595 | Update FilterDef.cs | Sohra/mvc.jquery.datatables,Sohra/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,seguemark/mvc.jquery.datatables | Mvc.JQuery.Datatables/FilterDef.cs | Mvc.JQuery.Datatables/FilterDef.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Mvc.JQuery.Datatables
{
public class FilterDef : Hashtable
{
internal object[] values { set { this["values"] = value; } }
internal string type { set { this["type"] = value; } }
publi... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Mvc.JQuery.Datatables
{
public class FilterDef : Hashtable
{
internal object[] values { set { this["values"] = value; } }
internal string type { set { this["type"] = value; } }
publi... | mit | C# |
0418c4c46c02e885e553ce19ee083181013992db | Update CompactBinaryBondDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/CompactBinaryBondDeserializer.cs | TIKSN.Core/Serialization/Bond/CompactBinaryBondDeserializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondDeserializer : DeserializerBase<byte[]>
{
protected override T DeserializeInternal<T>(byte[] serial)
{
var input = new InputBuffer(serial);
var reader = new Comp... | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondDeserializer : DeserializerBase<byte[]>
{
protected override T DeserializeInternal<T>(byte[] serial)
{
var input = new InputBuffer(serial);
var reader = new Comp... | mit | C# |
27115da951fb02dbc887ad29a959d7782050e2ce | Update StaticTestModel.cs | NMSLanX/Natasha | NatashaUT/Model/StaticTestModel.cs | NatashaUT/Model/StaticTestModel.cs | using System;
namespace NatashaUT.Model
{
public static class StaticTestModel
{
public static int Age;
public static string Name { get; set; }
public static DateTime Temp;
public static float Money;
}
public class FakeStaticTestModel
{
public static int A... | using System;
namespace NatashaUT.Model
{
public static class StaticTestModel
{
public static int Age;
public static string Name { get; set; }
public static DateTime Temp;
public static float Money;
}
public class FakeStaticTestModel
{
public static int A... | mpl-2.0 | C# |
753c53bc18dafd5bc29f80b073ba34c7d3845558 | Update Spacefolder.cs | KerbaeAdAstra/KerbalFuture | KerbalFuture/Spacefolder.cs | KerbalFuture/Spacefolder.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpacefolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpacefolderData : MonoBehavior
{
public static string path()
{
return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca... | mit | C# |
7f27450fe7b5a98462d863e633eb4372779c5e05 | Fix tag casing | Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS | src/IFS.Web/Areas/Administration/Views/Files/Log.cshtml | src/IFS.Web/Areas/Administration/Views/Files/Log.cshtml | @using System.Linq
@using Humanizer
@model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Access log of {Model.Metadata.OriginalFileName}";
var accessLog = Model.Metadata.Access;
}
<h2>@ViewBag.Title</h2>
@if (accessLog.LogEntries.Count > 0) {
<table class="table table-striped">
<thead>
... | @using System.Linq
@using Humanizer
@model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Access log of {Model.Metadata.OriginalFileName}";
var accessLog = Model.Metadata.Access;
}
<h2>@ViewBag.Title</h2>
@if (accessLog.LogEntries.Count > 0) {
<table class="table table-striped">
<thead>
... | mit | C# |
95f0e6d447e2b10458e920046f8d70045a2a3e6a | refactor of tests | lukekavanagh/Text-Parser-Code-Challenge | TextParser_Unit_Tests/UnitTest1.cs | TextParser_Unit_Tests/UnitTest1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using TextParser;
namespace TextParser_Unit_Tests
{
[TestFixture]
public class UnitTest1
{
public TextParserTool textparser = new TextParserTool();
[Test]
public void Retur... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using TextParser;
namespace TextParser_Unit_Tests
{
[TestFixture]
public class UnitTest1
{
public TextParserTool textparser = new TextParserTool();
[Test]
public void Retur... | apache-2.0 | C# |
0d0485438cd2544c422b05d7de7cd69acabb9bb1 | Disable shortcuts and ContextMenu in web browser control. | Jarrey/wizard-framework,Jarrey/wizard-framework,Jarrey/wizard-framework | src/WizardFramework.HTML/HtmlWizardPage{TM}.Designer.cs | src/WizardFramework.HTML/HtmlWizardPage{TM}.Designer.cs | namespace WizardFramework.HTML
{
partial class HtmlWizardPage<TM>
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// R... | namespace WizardFramework.HTML
{
partial class HtmlWizardPage<TM>
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// R... | mit | C# |
296b363a667cbca00a82cc207d5cc942a4d77bbc | set protector and signout url | yanjustino/IdentityServer3.Samples,jmalca14/IdentityServer3.Samples,kouweizhong/IdentityServer3.Samples,nguyentk90/IdentityServer3.Samples,codehedgehog/IdentityServer3.Samples,andyshao/IdentityServer3.Samples,sumedhmeshram/IdentityServer3.Samples,faithword/IdentityServer3.Samples,daptiv/IdentityServer3.Samples,EternalX... | source/SelfHost/SelfHost/Startup.cs | source/SelfHost/SelfHost/Startup.cs | using Owin;
using SelfHost.Config;
using Thinktecture.IdentityServer.Core.Configuration;
using Thinktecture.IdentityServer.Host.Config;
using Thinktecture.IdentityServer.WsFederation.Configuration;
using Thinktecture.IdentityServer.WsFederation.Services;
namespace SelfHost
{
internal class Startup
{
... | using Owin;
using SelfHost.Config;
using Thinktecture.IdentityServer.Core.Configuration;
using Thinktecture.IdentityServer.Host.Config;
using Thinktecture.IdentityServer.WsFederation.Configuration;
using Thinktecture.IdentityServer.WsFederation.Services;
namespace SelfHost
{
internal class Startup
{
... | apache-2.0 | C# |
8d6a603553d5449c15cbc417cde909f5d60b10ee | Update unit tests | dfensgmbh/biz.dfch.CS.Activiti.Client | src/biz.dfch.CS.Activiti.Client.Tests/RestClientTest.cs | src/biz.dfch.CS.Activiti.Client.Tests/RestClientTest.cs | /**
* Copyright 2015 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | /**
* Copyright 2015 d-fens GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | apache-2.0 | C# |
e348f8b63acbce16f3234f35c3ab33e4f483638f | Add property to whether mark new Messages as read or not | InfiniteSoul/Azuria | Azuria/Community/MessageEnumerable.cs | Azuria/Community/MessageEnumerable.cs | using System.Collections;
using System.Collections.Generic;
namespace Azuria.Community
{
/// <summary>
/// </summary>
public class MessageEnumerable : IEnumerable<Message>
{
private readonly int _conferenceId;
private readonly Senpai _senpai;
internal MessageEnumerable(int con... | using System.Collections;
using System.Collections.Generic;
namespace Azuria.Community
{
/// <summary>
/// </summary>
public class MessageEnumerable : IEnumerable<Message>
{
private readonly int _conferenceId;
private readonly bool _markAsRead;
private readonly Senpai _senpai;
... | mit | C# |
332ee4f6b01dbea6bbf55eff1b2d1552e77fdd68 | Update NetUtil.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/NetUtil.cs | ProcessBlockUtil/NetUtil.cs | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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# | |
19703360f7286bf8f5faac1cc9be63209c88b5e1 | Apply own control theme before templated parent's. | AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/Styling/Styler.cs | src/Avalonia.Base/Styling/Styler.cs | using System;
namespace Avalonia.Styling
{
public class Styler : IStyler
{
public void ApplyStyles(IStyleable target)
{
_ = target ?? throw new ArgumentNullException(nameof(target));
// Apply the control theme.
target.GetEffectiveTheme()?.TryAttach(target, t... | using System;
namespace Avalonia.Styling
{
public class Styler : IStyler
{
public void ApplyStyles(IStyleable target)
{
_ = target ?? throw new ArgumentNullException(nameof(target));
// If the control has a themed templated parent then first apply the styles from
... | mit | C# |
095bee00d4623244c582c713165415e71453e0f0 | Undo changes | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Services/IFinancialService.cs | Anlab.Mvc/Services/IFinancialService.cs | using Anlab.Jobs.MoneyMovement;
using Microsoft.Extensions.Options;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Anlab.Core.Extensions;
using Newtonsoft.Json;
namespace AnlabMvc.Services
{
public interface IFinancialService
{
Task<string> GetAccountName(string account);
... | using Anlab.Jobs.MoneyMovement;
using Microsoft.Extensions.Options;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Anlab.Core.Extensions;
using Newtonsoft.Json;
namespace AnlabMvc.Services
{
public interface IFinancialService
{
Task<string> GetAccountName(string account);
... | mit | C# |
41f9953ceab85275bcede917dc5b1063acbe6614 | Fix code analysis | k94ll13nn3/Strinken | src/Strinken/Core/IsExternalInit.cs | src/Strinken/Core/IsExternalInit.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.ComponentModel;
namespace System.Runtime.CompilerServices;
/// <summary>
/// Reserved to be used by t... | // 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.ComponentModel;
namespace System.Runtime.CompilerServices;
/// <summary>
/// Reserved to be used by ... | mit | C# |
8af19254bab87df5adcdf6c05f887d8950c43383 | Add default constructor for product rating | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop | src/ZobShop.Models/ProductRating.cs | src/ZobShop.Models/ProductRating.cs | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ZobShop.Models
{
public class ProductRating
{
public ProductRating()
{
}
public ProductRating(int rating, string content, Product product, User author)
{
... | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ZobShop.Models
{
public class ProductRating
{
public ProductRating(int rating, string content, int productId, User author)
{
this.Rating = rating;
this.Content = c... | mit | C# |
7982f01c45817ff7be9c21da3914bae811fdfe0b | Update microdata for actual number of students table | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.EduProgramProfiles/Views/Contingent/_ActualRow.cshtml | R7.University.EduProgramProfiles/Views/Contingent/_ActualRow.cshtml | @inherits DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<ContingentViewModel>
@using DotNetNuke.Web.Mvc.Helpers
@using R7.University.EduProgramProfiles.ViewModels
<td itemprop="eduCode">@Model.EduProfile.EduProgram.Code</td>
<td itemprop="eduName">@Model.EduProfileTitle</td>
<td itemprop="eduLevel">@Model.EduProfile.EduL... | @inherits DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<ContingentViewModel>
@using DotNetNuke.Web.Mvc.Helpers
@using R7.University.EduProgramProfiles.ViewModels
<td itemprop="eduCode">@Model.EduProfile.EduProgram.Code</td>
<td itemprop="eduName">@Model.EduProfileTitle</td>
<td itemprop="eduLevel">@Model.EduProfile.EduL... | agpl-3.0 | C# |
ade1feffedfac514f9c39cdcee1a2089ce5f8db0 | fix typo | sassembla/Miyamasu,sassembla/Miyamasu | Assets/SampleTests/Editor/SampleTest.cs | Assets/SampleTests/Editor/SampleTest.cs | using System;
using System.Net;
using System.Net.Sockets;
using Miyamasu;
/**
samples of test.
*/
public class Tests : MiyamasuTestRunner {
[MSetup] public void Setup () {
TestLogger.Log("setup");
}
[MTeardown] public void Teardown () {
TestLogger.Log("teardown");
}
/**
always a = b.
"Assert(bool asser... | using System;
using System.Net;
using System.Net.Sockets;
using Miyamasu;
/**
samples of test.
*/
public class Tests : MiyamasuTestRunner {
[MSetup] public void Setup () {
TestLogger.Log("setup");
}
[MTeardown] public void Teardown () {
TestLogger.Log("teardown");
}
/**
always a = b.
"Assert(bool asser... | mit | C# |
aceb5ddcaadbfaabbc4bb1bd94641d035238e8a7 | Add smooth rotation for MetallKefer | emazzotta/unity-tower-defense | Assets/Scripts/MetallKeferController.cs | Assets/Scripts/MetallKeferController.cs | using UnityEngine;
using System.Collections;
public class MetallKeferController : MonoBehaviour {
private GameController gameController;
private GameObject[] baseBuildable;
private GameObject nextWaypiont;
private float health;
private int currentWaypointIndex = 0;
private int movementSpeed = 2;
void Star... | using UnityEngine;
using System.Collections;
public class MetallKeferController : MonoBehaviour {
private GameController gameController;
private GameObject[] baseBuildable;
private GameObject nextWaypiont;
private float health;
private int currentWaypointIndex = 0;
private int movementSpeed = 2;
void Star... | mit | C# |
b838b27b75a09308e472b838d18031716e093a18 | Save project when addin reference removed | mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker | AddinReferenceNodeBuilder.cs | AddinReferenceNodeBuilder.cs | using System;
using MonoDevelop.Components.Commands;
using MonoDevelop.Core;
using MonoDevelop.Ide;
using MonoDevelop.Ide.Gui.Components;
using MonoDevelop.AddinMaker.AddinBrowser;
namespace MonoDevelop.AddinMaker
{
class AddinReferenceNodeBuilder : TypeNodeBuilder
{
public override Type NodeDataType
{
get ... | using System;
using MonoDevelop.Components.Commands;
using MonoDevelop.Core;
using MonoDevelop.Ide.Gui.Components;
using MonoDevelop.AddinMaker.AddinBrowser;
namespace MonoDevelop.AddinMaker
{
class AddinReferenceNodeBuilder : TypeNodeBuilder
{
public override Type NodeDataType
{
get { return typeof (AddinR... | mit | C# |
fafb91a62c60750f42983d57cbf2fb7cc99e42fc | Make Shuffle<T> return IEnumerable<T> instead of IList<T>. | AIWolfSharp/AIWolf_NET | AIWolfLib/ShuffleExtensions.cs | AIWolfLib/ShuffleExtensions.cs | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | mit | C# |
54ed7d5872c3c1d0bda21da7efe06fb4020d653a | Switch from public properties to serializable private ones | tanuva/planegame | Assets/Scripts/UIController.cs | Assets/Scripts/UIController.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
/// <summary>
/// UIController holds references to GUI widgets and acts as data receiver for them.
/// </summary>
public class UIController : MonoBehaviour, IGUIUpdateTarget
{
[SerializeField]
private Text m_SpeedText;
[SerializeField]
private Text... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
/// <summary>
/// UIController holds references to GUI widgets and acts as data receiver for them.
/// </summary>
public class UIController : MonoBehaviour, IGUIUpdateTarget
{
public Text SpeedText;
public Slider ThrottleSlider;
public Slider Engine... | mit | C# |
82105ba81d0cd6b866454402a8b064ecc7ebd514 | Change the actual versions allowed to connect, which is different from the interface major version | TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,OpenSimian/opensimulator,TomDataworks/opensim,OpenSimian/opensimulator,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,OpenSimi... | OpenSim/Server/Base/ProtocolVersions.cs | OpenSim/Server/Base/ProtocolVersions.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must ... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must ... | bsd-3-clause | C# |
4a348d82b2e850c3e4831736ec02053a6668cff2 | Fix typo in XML docs | NRules/NRules | src/NRules/NRules/Agenda.cs | src/NRules/NRules/Agenda.cs | namespace NRules
{
/// <summary>
/// Agenda stores matches between rules and facts. These matches are called activations.
/// Multiple activations are ordered according to the conflict resolution strategy.
/// </summary>
public interface IAgenda
{
/// <summary>
/// Indicates whe... | namespace NRules
{
/// <summary>
/// Agenda stored matches between rules and facts. These matches are called activations.
/// Multiple activations are ordered according to the conflict resolution strategy.
/// </summary>
public interface IAgenda
{
/// <summary>
/// Indicates whe... | mit | C# |
3b855f5e4aec7f818d219060fb84f49d87f4000a | Update StatModifiable | jkpenner/RPGSystemTutorial | Assets/Scripts/RPGSystems/StatTypes/RPGStatModifiable.cs | Assets/Scripts/RPGSystems/StatTypes/RPGStatModifiable.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class RPGStatModifiable : RPGStat, IStatModifiable, IStatValueChange {
private List<RPGStatModifier> _statMods;
private int _statModValue;
public event System.EventHandler OnValueChange;
public o... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class RPGStatModifiable : RPGStat, IStatModifiable, IStatValueChange {
private List<RPGStatModifier> _statMods;
private int _statModValue;
public event System.EventHandler OnValueChange;
public o... | mit | C# |
60d9171c620cfd567d087f019c4ee4af6d62d427 | Fix NRE | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Client/Systems/VesselImmortalSys/VesselImmortalEvents.cs | Client/Systems/VesselImmortalSys/VesselImmortalEvents.cs | using LunaClient.Base;
using UniLinq;
namespace LunaClient.Systems.VesselImmortalSys
{
public class VesselImmortalEvents : SubSystem<VesselImmortalSystem>
{
/// <summary>
/// Set vessel immortal state just when the vessel loads
/// </summary>
public void VesselLoaded(Vessel ves... | using LunaClient.Base;
using UniLinq;
namespace LunaClient.Systems.VesselImmortalSys
{
public class VesselImmortalEvents : SubSystem<VesselImmortalSystem>
{
/// <summary>
/// Set vessel immortal state just when the vessel loads
/// </summary>
public void VesselLoaded(Vessel ves... | mit | C# |
b69605d2659f08a296614189ab17e42393393ab3 | Fix GitLock's Default member | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | src/GitHub.Api/Git/GitLock.cs | src/GitHub.Api/Git/GitLock.cs | using System;
namespace GitHub.Unity
{
[Serializable]
public struct GitLock
{
public static GitLock Default = new GitLock();
public int ID;
public string Path;
public string FullPath;
public string User;
public GitLock(string path, string fullPath, string u... | using System;
namespace GitHub.Unity
{
[Serializable]
public struct GitLock
{
public static GitLock Default = new GitLock { ID = -1 };
public int ID;
public string Path;
public string FullPath;
public string User;
public GitLock(string path, string fullPath... | mit | C# |
38ee43fbd077f2cc4d3408d795d89216509f6146 | Use instantiator from injector | DivineInject/DivineInject,DivineInject/DivineInject | DivineInject/DivineInjector.cs | DivineInject/DivineInjector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DivineInject
{
public interface IBindingBuilder<TInterface>
{
DivineInjector To<TImpl>()
where TImpl : class;
}
public class DivineInjector
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DivineInject
{
public interface IBindingBuilder<TInterface>
{
DivineInjector To<TImpl>();
}
public class DivineInjector
{
private IDictionary<Type, object>... | mit | C# |
2187db0dc9675915f72dafa65fad11c1e31725c9 | Improve error code throwing | krisbbb/Experiments,krisbbb/Experiments,krisbbb/Experiments,krisbbb/Experiments,krisbbb/Experiments | ProjectEuler/Euler1/Euler1/Program.cs | ProjectEuler/Euler1/Euler1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler1
{
class Program
{
static int Main(string[] args)
{
int countTo = 0;
if(args.Length != 1 || !int.TryParse(args[0], out countTo) || countTo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Euler1
{
class Program
{
static void Main(string[] args)
{
int countTo = 0;
if(args.Length != 1 || !int.TryParse(args[0], out countTo) || countT... | mit | C# |
fe0af5f2d5e7db144486e4e7232fdf73103f4a86 | Allow to clear user defined vars. | lukyad/Eco | Eco/Variables/UserVariables.cs | Eco/Variables/UserVariables.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco
{
public class UserVariables : IVariableProvider
{
static readonly Dictionary<string, Func<string>> _variables = new Dictionary<string, Func<string>>();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Eco
{
public class UserVariables : IVariableProvider
{
static readonly Dictionary<string, Func<string>> _variables = new Dictionary<string, Func<string>>();
... | apache-2.0 | C# |
dc8100eb0c84ccee38a390c4fb64639c46c61754 | Refactor the QueueInformation partial view to use the new AJAX status widget. | rakutensf-malex/slinqy,rakutensf-malex/slinqy | Source/ExampleApp.Web/Views/Home/QueueInformation.cshtml | Source/ExampleApp.Web/Views/Home/QueueInformation.cshtml | @model ExampleApp.Web.Models.QueueInformationViewModel
<div id="QueueInformation">
@Html.LabelFor(m => m.QueueName) <span id="QueueInformation_QueueName">@Model.QueueName</span>
@Html.LabelFor(m => m.CurrentQueueSizeMegabytes) <span id="QueueInformation_CurrentQueueSize">@Model.CurrentQ... | @model ExampleApp.Web.Models.QueueInformationViewModel
<div id="QueueInformation">
@Html.LabelFor(m => m.QueueName) <span id="QueueInformation_QueueName">@Model.QueueName</span>
@Html.LabelFor(m => m.CurrentQueueSizeMegabytes) <span id="QueueInformation_CurrentQueueSize">@Model.CurrentQ... | mit | C# |
b54820dd748300ffb2ba9ad8843d4581ea6c6786 | Move touch screen initialization to property getter | goldbillka/Winium.StoreApps,goldbillka/Winium.StoreApps,krishachetan89/Winium.StoreApps,2gis/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,krishachetan89/Winium.StoreApps,2gis/Winium.StoreApps | Winium/TestApp.Test/Samples/WpDriver.cs | Winium/TestApp.Test/Samples/WpDriver.cs | namespace Samples
{
#region
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
#endregion
public class WpDriver : RemoteWebDriver, IHasTouchScreen
{
#region Fields
private ITouchScreen touchScreen;
#endregion
#region Constructors and De... | namespace Samples
{
using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Remote;
public class WpDriver : RemoteWebDriver, IHasTouchScreen
{
public WpDriver(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
: base(commandExecutor, desiredCapabilities)
... | mpl-2.0 | C# |
01be5c15c642df83035363600afbadf180165843 | test commit | Krzyrok/FsxWebApi,Krzyrok/FsxWithGoogleMaps | FsxWebApi/FsxWebApi/Program.cs | FsxWebApi/FsxWebApi/Program.cs | namespace FsxWebApi
{
using System.Web.Http.SelfHost;
class Program
{
static void Main(string[] args)
{
var configuration = new HttpSelfHostConfiguration("http://localhost:8080");
WebApiConfig.Register(configuration);
WebApiStarter.StartServer(configurat... | namespace FsxWebApi
{
using System.Web.Http.SelfHost;
class Program
{
static void Main(string[] args)
{
var configuration = new HttpSelfHostConfiguration("http://localhost:8080");
WebApiConfig.Register(configuration);
WebApiStarter.StartServer(configurat... | mit | C# |
3296f5e7d0f00067abfa658c5caf8f560a4e30d9 | add different directions for teleport destination depending on how the owner is moving | billtowin/mega-epic-super-tankz,billtowin/mega-epic-super-tankz | modules/myModule/scripts/behaviors/combat/powerups/Teleport.cs | modules/myModule/scripts/behaviors/combat/powerups/Teleport.cs | if (!isObject(TeleportBehavior))
{
%template = new BehaviorTemplate(TeleportBehavior);
%template.friendlyName = "Tank Teleport Ability";
%template.behaviorType = "Combat";
%template.description = "Tank teleport ability";
%template.addBehaviorField(duration, "Duration of Powerup/Ability (negative numbe... | if (!isObject(TeleportBehavior))
{
%template = new BehaviorTemplate(TeleportBehavior);
%template.friendlyName = "Tank Teleport Ability";
%template.behaviorType = "Combat";
%template.description = "Tank teleport ability";
%template.addBehaviorField(duration, "Duration of Powerup/Ability (negative numbe... | mit | C# |
6a09b2401229d3dc6ef06cadc6667c3549601838 | add WithUniqueIndexMList | AlejandroCano/framework,avifatal/framework,avifatal/framework,AlejandroCano/framework,signumsoftware/framework,signumsoftware/framework | Signum.Engine/Schema/FluentInclude.cs | Signum.Engine/Schema/FluentInclude.cs | using Signum.Engine.Maps;
using Signum.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Engine.Maps
{
public class FluentInclude<T> where T : Entity
{
public Schema... | using Signum.Engine.Maps;
using Signum.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Engine.Maps
{
public class FluentInclude<T> where T : Entity
{
public Schema... | mit | C# |
422ac74cdf77f363e6f997c87e75f7e2bfc7f323 | Add compilation message debug log | laedit/vika | NVika/BuildServers/AppVeyor.cs | NVika/BuildServers/AppVeyor.cs | using System;
using System.ComponentModel.Composition;
using System.Net.Http;
namespace NVika
{
internal sealed class AppVeyorBuildServer : IBuildServer
{
private readonly Logger _logger;
private readonly string _appVeyorAPIUrl;
public string Name
{
get { return "A... | using System;
using System.ComponentModel.Composition;
using System.Net.Http;
namespace NVika
{
internal sealed class AppVeyorBuildServer : IBuildServer
{
private readonly Logger _logger;
public string Name
{
get { return "AppVeyor"; }
}
[ImportingConstruc... | apache-2.0 | C# |
9d5e3a6db938ff229f28d6896adaa66a96ec856e | Update Resources.cs | Eversm4nn/Project | GTE/GTE/GTE/GTE/Resources.cs | GTE/GTE/GTE/GTE/Resources.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
namespace GTE
{
public class Resources
{
//STATIC FIELDS
public static Texture2D texture_player, texture_pointer, texture_bullet,... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
namespace GTE
{
public class Resources
{
//STATIC FIELDS
public static Texture2D texture_player, texture_pointer, texture_bullet,... | unlicense | C# |
66d6d73384024ca608bebfad0e6e5772bcf8e7c4 | Fix event nullability. | GGG-KILLER/GUtils.NET | GUtils.MVVM/ViewModelBase.cs | GUtils.MVVM/ViewModelBase.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace GUtils.MVVM
{
/// <summary>
/// Implements a few utility functions for a ViewModel base
/// </summary>
public abstract class ViewModelBase : INotifyPropertyChanged
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace GUtils.MVVM
{
/// <summary>
/// Implements a few utility functions for a ViewModel base
/// </summary>
public abstract class ViewModelBase : INotifyPropertyChanged
{
... | mit | C# |
1e1c1b3e56af323fb15a552f24f8ce5222038838 | Remove unused Linq and Text usings. | joeyespo/google-apps-client | GoogleAppsClient/MainForm.cs | GoogleAppsClient/MainForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace GoogleAppsClient
{
public partial class MainForm : Form
{
const string BASE_URL = "https://mail.google.com/";
const string DOMAIN_SEPARATOR = "a/";
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GoogleAppsClient
{
public partial class MainForm : Form
{
const string BASE_URL = "https://mail.google.com/";
c... | mit | C# |
dea1b78e7902aebf0c3b6313a91a726d95b4b8e5 | Add UWP method for obtaining the default folder (#1314) | realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet | Realm/Realm/InteropConfig.cs | Realm/Realm/InteropConfig.cs | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/li... | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/li... | apache-2.0 | C# |
8ba518b4425cc67a739cd847da93633fd43bb110 | Update copyright | kendfrey/Tui | Tui/Properties/AssemblyInfo.cs | Tui/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("Tu... | 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("Tu... | mit | C# |
2a7675a9472398161b090e92ade289c2b572d9f1 | build version: 3.9.71.8 | wiesel78/Canwell.OrmLite.MSAccess2003 | Source/GlobalAssemblyInfo.cs | Source/GlobalAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyCompany("canwell - IT Solutions... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyCompany("canwell - IT Solutions... | bsd-3-clause | C# |
6068aaa4c9e71e57d47e7d7914591f2c369cf8a9 | Improve documentation for BatchType enum | AtwooTM/csharp-driver,mintsoft/csharp-driver,maxwellb/csharp-driver,kishkaru/csharp-driver,oguimbal/csharp-driver,datastax/csharp-driver,trurl123/csharp-driver,jorgebay/csharp-driver,bridgewell/csharp-driver,datastax/csharp-driver,aNutForAJarOfTuna/csharp-driver,maxwellb/csharp-driver,alprema/csharp-driver | src/Cassandra/Requests/BatchType.cs | src/Cassandra/Requests/BatchType.cs | //
// Copyright (C) 2012-2014 DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | //
// Copyright (C) 2012-2014 DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | apache-2.0 | C# |
135ceffc55817817594948cac6ce2eec8429f135 | Fix crash if GetMatches response is not 200 OK. | dustinsoftware/Challonge-Scheduler | src/Challonge.Data/ChallongeClient.cs | src/Challonge.Data/ChallongeClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Challonge.Data.Properties;
using RestSharp;
namespace Challonge.Data
{
public sealed class ChallongeClient
{
public ChallongeClient()
{
m_client = new RestClient
{
BaseUrl = Settings.Default.BaseUri + Settings.D... | using System;
using System.Collections.Generic;
using System.Linq;
using Challonge.Data.Properties;
using RestSharp;
namespace Challonge.Data
{
public sealed class ChallongeClient
{
public ChallongeClient()
{
m_client = new RestClient
{
BaseUrl = Settings.Default.BaseUri + Settings.Default.TournamentI... | apache-2.0 | C# |
78c9cfb8a93637227ff79f788a12bb87f1ac4ede | Set basic assembly attributes. | LogosBible/Leeroy | src/Leeroy/Properties/AssemblyInfo.cs | src/Leeroy/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Leeroy Build Service")]
[assembly: AssemblyDescription("Updates a build git repo when submodules change.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Leeroy")]
[assembly: As... | 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("Le... | mit | C# |
b754ee878e6ad8490c48bae8f66e988a8052075b | Remove Linq usage in TextRenderer | SixLabors/Fonts | src/SixLabors.Fonts/TextRenderer.cs | src/SixLabors.Fonts/TextRenderer.cs | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using System.Numerics;
using SixLabors.Primitives;
namespace SixLabors.Fonts
{
/// <summary>
/// Encapulated logic for laying out and then rendering text to a <see cref="IGlyphRe... | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using SixLabors.Primitives;
namespace SixLabors.Fonts
{
/// <summary>
/// Encapulated logic for laying out and then rendering text to a ... | apache-2.0 | C# |
866f98c9794f5317021998ef4a0e960448558db4 | Add types | rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary | CSGL.Vulkan/types.cs | CSGL.Vulkan/types.cs | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public struct VkOffset2D {
public int x;
public int y;
}
public struct VkOffset3D {
public int x;
public int y;
public int z;
}
public struct VkExtent2D {
public int width;
... | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
}
| mit | C# |
1b264451a4b2a3341521c3a3656a1464aa893fa6 | Fix Projectile.Update signature | iridinite/shiftdrive | Client/Projectile.cs | Client/Projectile.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using System.IO;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// Represents a projectile in flight.
/// </summary>
internal sealed class Projectile : GameObject {
public float lifetime;
... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using System.IO;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// Represents a projectile in flight.
/// </summary>
internal sealed class Projectile : GameObject {
public float lifetime;
... | bsd-3-clause | C# |
8ffe0bbd9092adf157c6dba95c270ba0f6e4fa25 | refactor complete, ready to pull back to main | Threadnaught/CDS | CDS/RemoteTest/Program.cs | CDS/RemoteTest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CDS.Common;
using CDS.Remote;
namespace RemoteTest
{
class Program
{
static void Main(string[] args)
{
System.Threading.Thread.Sleep(1000);
Remote.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CDS.Common;
using CDS.Remote;
namespace RemoteTest
{
class Program
{
static void Main(string[] args)
{
System.Threading.Thread.Sleep(1000);
Remote.... | apache-2.0 | C# |
3557c0425fc0c1b95b951fa2324867e112fcabf7 | Update AccountAgreementType.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Api.Types/AccountAgreementType.cs | src/SFA.DAS.EmployerAccounts.Api.Types/AccountAgreementType.cs | namespace SFA.DAS.EmployerAccounts.Api.Types
{
public enum AccountAgreementType
{
Levy = 0,
NonLevyExpressionOfInterest = 1,
Combined = 2,
Unknown
}
}
| namespace SFA.DAS.EmployerAccounts.Api.Types
{
public enum AccountAgreementType
{
Levy = 0,
Combined = 2,
Unknown
}
}
| mit | C# |
57162606a493b6ebea0811c0e88e00dc69f948bf | remove comment | takenet/blip-sdk-csharp | src/Take.Blip.Builder.UnitTests/Actions/RedirectActionTests.cs | src/Take.Blip.Builder.UnitTests/Actions/RedirectActionTests.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using NSubstitute;
using Serilog;
using Take.Blip.Builder.Actions.Redirect;
using Take.Blip.Builder.Actions.SetVariable;
using Xunit;
namespace Take.Blip.Builder.UnitTests.Actions
{
public class RedirectAction... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using NSubstitute;
using Serilog;
using Take.Blip.Builder.Actions.Redirect;
using Take.Blip.Builder.Actions.SetVariable;
using Xunit;
namespace Take.Blip.Builder.UnitTests.Actions
{
public class RedirectAction... | apache-2.0 | C# |
0de5209f9d0663b37a6b44d7817e56738469bd4a | Remove Window.AddFlags() from OnCreate() | EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework... | osu.Framework.Android/AndroidGameActivity.cs | osu.Framework.Android/AndroidGameActivity.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using Android.App;
using Android.OS;
namespace osu.Framework.Android
{
public abstract class AndroidGameActivity : Activity
{
protected abstr... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using Android.App;
using Android.OS;
using Android.Views;
namespace osu.Framework.Android
{
public abstract class AndroidGameActivity : Activity
{
... | mit | C# |
5f74dc2c1746dec30ead8270bf58c1635146653d | Simplify osu-ruleset statistics | UselessToucan/osu,2yangk23/osu,peppy/osu-new,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,ZLima12/osu,DrabWeb/osu,ppy/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen/osu,naoey/osu,naoey/osu,naoey/osu,peppy/osu,peppy/osu,ppy/osu,sm... | osu.Game.Rulesets.Osu/Beatmaps/OsuBeatmap.cs | osu.Game.Rulesets.Osu/Beatmaps/OsuBeatmap.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Obje... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.... | mit | C# |
b3babd07aaabcbe1e633cde9eda1a335ddf1bbd5 | Rework APIEndpoint.cs | fjch1997/SteamAuth,r2d2rigo/SteamAuth,geel9/SteamAuth,zigagrcar/Steam2faGenerator | SteamAuth/APIEndpoints.cs | SteamAuth/APIEndpoints.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamAuth
{
public static class APIEndpoints
{
public const string STEAMAPI_BASE = "https://api.steampowered.com";
public const string COMMUNITY_BASE = "https://steamco... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamAuth
{
public static class APIEndpoints
{
public static string STEAMAPI_BASE = "https://api.steampowered.com";
public static string TWO_FACTOR_BASE = STEAMAPI_BASE... | mit | C# |
a1b3b96471113657e580db78aaa2e288d1085f9d | Remove unused member. | PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta | Pinta/WindowShell.cs | Pinta/WindowShell.cs | //
// WindowShell.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2011 Jonathan Pobst
//
// 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 rest... | //
// WindowShell.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2011 Jonathan Pobst
//
// 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 rest... | mit | C# |
a5bcef4475bf1d52b12ac2b8c029e7e179049863 | Fix #2128 Outlining cuts off closing } | jamesqo/roslyn,panopticoncentral/roslyn,genlu/roslyn,cston/roslyn,xasx/roslyn,DustinCampbell/roslyn,VSadov/roslyn,reaction1989/roslyn,tmeschter/roslyn,cston/roslyn,swaroop-sridhar/roslyn,gafter/roslyn,jamesqo/roslyn,mgoertz-msft/roslyn,xasx/roslyn,xasx/roslyn,tmat/roslyn,nguerrera/roslyn,AmadeusW/roslyn,dpoeschl/roslyn... | src/EditorFeatures/Core.Wpf/IWpfTextViewExtensions.cs | src/EditorFeatures/Core.Wpf/IWpfTextViewExtensions.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;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.CodeAnalysis.Editor.Shared.Extensions
{
internal static class IWpfTextViewEx... | // 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;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.CodeAnalysis.Editor.Shared.Extensions
{
internal static class IWpfTextViewEx... | mit | C# |
53f85aaf6a4724818bd4dbf18524759930b83c3d | Use Cached attribute rather than CreateChildDependencies | ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework | osu.Framework/Graphics/Containers/SnapTargetContainer.cs | osu.Framework/Graphics/Containers/SnapTargetContainer.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.Allocation;
using osu.Framework.Graphics.Primitives;
namespace osu.Framework.Graphics.Containers
{
public class SnapTargetContainer : SnapTarget... | // 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.Primitives;
namespace osu.Framework.Graphics.Containers
{
public class SnapTargetContainer : SnapTarget... | mit | C# |
011b951a29d7a1754ad8e058bc2c092c78c281e3 | Update QuoteRepository.cs | powered-by-moe/MikuBot,Taknok/NadekoBot,shikhir-arora/NadekoBot,ScarletKuro/NadekoBot,gfrewqpoiu/NadekoBot,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,miraai/NadekoBot,Youngsie1997/NadekoBot,Midnight-Myth/Mitternacht-NEW,ShadowNoire/NadekoBot,WoodenGlaze/NadekoBot,Nielk1/NadekoBot,PravEF/EFNadekoBot,Mid... | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | mit | C# |
8d5ec303427f810043109109773168e296d2a959 | Fix a typo | domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore | src/Swashbuckle.AspNetCore.SwaggerGen/Generator/IDocumentProvider.cs | src/Swashbuckle.AspNetCore.SwaggerGen/Generator/IDocumentProvider.cs | using System.IO;
using System.Threading.Tasks;
namespace Microsoft.Extensions.ApiDescription
{
/// <summary>
/// This service will be looked up by name from the service collection when using
/// the Microsoft.Extensions.ApiDescription tool. Public only for testing.
/// </summary>
public interface ... | using System.IO;
using System.Threading.Tasks;
namespace Microsoft.Extensions.ApiDescription
{
/// <summary>
/// his service will be looked up by name from the service collection when using
/// the Microsoft.Extensions.ApiDescription tool. Public only for testing.
/// </summary>
public interface I... | mit | C# |
5843b3f37e4c1bf8509780deed05abc7e25e16d7 | add OpenConnection test and fix other test names | tombogle/libpalaso,gmartin7/libpalaso,JohnThomson/libpalaso,andrew-polk/libpalaso,marksvc/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,hatton/libpalaso,ddaspit/libpalaso,hatton/libpalaso,sillsdev/libpalaso,ddaspit/libpalaso,gtryus/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,gtryus/libpalas... | PalasoUIWindowsForms.Tests/Keyboarding/IBusAdaptorTestsWithoutIBus.cs | PalasoUIWindowsForms.Tests/Keyboarding/IBusAdaptorTestsWithoutIBus.cs | #if MONO
using System;
using NUnit.Framework;
using Palaso.Reporting;
using Palaso.UI.WindowsForms.Keyboarding;
using System.Windows.Forms;
using System.Collections.Generic;
namespace PalasoUIWindowsForms.Tests.Keyboarding
{
[TestFixture]
[Category("SkipOnTeamCity")]
public class IBusAdaptorTestsWithoutIBus
{
... | #if MONO
using System;
using NUnit.Framework;
using Palaso.Reporting;
using Palaso.UI.WindowsForms.Keyboarding;
using System.Windows.Forms;
using System.Collections.Generic;
namespace PalasoUIWindowsForms.Tests.Keyboarding
{
[TestFixture]
[Category("SkipOnTeamCity")]
public class IBusAdaptorTestsWithoutIBus
{
... | mit | C# |
0de0684fd6bd45e7d223d8f384e1a1c0e2a82a95 | Update DocumentTextBindingBehavior.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Behaviors/DocumentTextBindingBehavior.cs | src/Core2D/Behaviors/DocumentTextBindingBehavior.cs | #nullable enable
using System;
using Avalonia;
using Avalonia.Xaml.Interactivity;
using AvaloniaEdit;
namespace Core2D.Behaviors;
public class DocumentTextBindingBehavior : Behavior<TextEditor>
{
private TextEditor? _textEditor;
public static readonly StyledProperty<string?> TextProperty =
AvaloniaP... | #nullable enable
using System;
using Avalonia;
using Avalonia.Xaml.Interactivity;
using AvaloniaEdit;
namespace Core2D.Behaviors;
public class DocumentTextBindingBehavior : Behavior<TextEditor>
{
private TextEditor _textEditor;
public static readonly StyledProperty<string> TextProperty =
AvaloniaPro... | mit | C# |
67d7cbfea638583416aebe2690a6823d8d921741 | Fix refl config | DevTeam/patterns | DevTeam.Platform.Reflection/ReflectionContainerConfiguration.cs | DevTeam.Platform.Reflection/ReflectionContainerConfiguration.cs | namespace DevTeam.Platform.Reflection
{
using System;
using System.Collections.Generic;
using Patterns.IoC;
/// <inheritdoc/>
public class ReflectionContainerConfiguration : IConfiguration
{
/// <inheritdoc/>
public IEnumerable<IConfiguration> GetDependencies()
{
... | namespace DevTeam.Platform.Reflection
{
using System;
using System.Collections.Generic;
using Patterns.IoC;
/// <inheritdoc/>
public class ReflectionContainerConfiguration : IConfiguration
{
/// <inheritdoc/>
public IEnumerable<IConfiguration> GetDependencies()
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.