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 |
|---|---|---|---|---|---|---|---|---|
361098baaaf8e34c7461729c45db445b098dcc4e | fix build | Mike-EEE/ExtendedXmlSerializer,wojtpl2/ExtendedXmlSerializer,Mike-EEE/ExtendedXmlSerializer,wojtpl2/ExtendedXmlSerializer | test/ExtendedXmlSerializerTest/SerializationPropertyInterfaceOfListTest.cs | test/ExtendedXmlSerializerTest/SerializationPropertyInterfaceOfListTest.cs | // MIT License
//
// Copyright (c) 2016 Wojciech Nagórski
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy... | // MIT License
//
// Copyright (c) 2016 Wojciech Nagórski
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy... | mit | C# |
7301615f687a1092a0e2dc26687bd11397327277 | refactor of solr object | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Program.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
using Dapper;
namespac... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
using Dapper;
namespac... | apache-2.0 | C# |
b95d37a43ffa0fc85c27f2291c6ef48d9bb8474c | Bump version | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | configuration/SharedAssemblyInfo.cs | configuration/SharedAssemblyInfo.cs | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCopyright... | using System.Reflection;
// Assembly Info that is shared across the product
[assembly: AssemblyProduct("InEngine.NET")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0.0-rc2")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ethan Hann")]
[assembly: AssemblyCopyr... | mit | C# |
421499453d6153bedab6240a53a3649d8a8c2808 | Update GenericPipelineBehavior.cs | jbogard/MediatR | samples/MediatR.Examples/GenericPipelineBehavior.cs | samples/MediatR.Examples/GenericPipelineBehavior.cs | using System.IO;
using System.Threading.Tasks;
namespace MediatR.Examples
{
public class GenericPipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
private readonly TextWriter _writer;
public GenericPipelineBehavior(TextWriter writer)
{
_writer... | using System.IO;
using System.Threading.Tasks;
namespace MediatR.Examples
{
public class GenericPipelineBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
{
private readonly TextWriter _writer;
public GenericPipelineBehavior(TextWriter writer)
{
_writer... | apache-2.0 | C# |
834f3b01b8601790ed1e4b6bbe8b35fca47c81bd | Add Not value converter to BoolConverters | Perspex/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,SuperJMN/Aval... | src/Avalonia.Base/Data/Converters/BoolConverters.cs | src/Avalonia.Base/Data/Converters/BoolConverters.cs | using System.Linq;
namespace Avalonia.Data.Converters
{
/// <summary>
/// Provides a set of useful <see cref="IValueConverter"/>s for working with bool values.
/// </summary>
public static class BoolConverters
{
/// <summary>
/// A multi-value converter that returns true if all inpu... | using System.Linq;
namespace Avalonia.Data.Converters
{
/// <summary>
/// Provides a set of useful <see cref="IValueConverter"/>s for working with bool values.
/// </summary>
public static class BoolConverters
{
/// <summary>
/// A multi-value converter that returns true if all inpu... | mit | C# |
84d1efddb2f85080882f47cd27f4fd542ecca4b3 | Remove some unnecessary newlines | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Framework/Compilation/DotHtmlFileInfo.cs | src/DotVVM.Framework/Compilation/DotHtmlFileInfo.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace DotVVM.Framework.Compilation
{
public sealed class DotHtmlFileInfo
{
public CompilationState Status { get; internal set; }
public string? Exception { get; internal set; }
/// <summary>Gets or... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace DotVVM.Framework.Compilation
{
public sealed class DotHtmlFileInfo
{
public CompilationState Status { get; internal set; }
public string? Exception { get; internal set; }
/// <summary>
... | apache-2.0 | C# |
cb0eef1d2535bbb92f47c02b3b15f97d8d5aa1f3 | Improve voicestats command confirm message. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/NadekoBot/Modules/Utility/VoiceStatsCommands.cs | src/NadekoBot/Modules/Utility/VoiceStatsCommands.cs | using Discord;
using Discord.Commands;
using Mitternacht.Common.Attributes;
using Mitternacht.Modules.Utility.Services;
using Mitternacht.Services;
using System;
using System.Threading.Tasks;
namespace Mitternacht.Modules.Utility
{
public partial class Utility
{
public class VoiceStatsCommands : Mitte... | using Discord;
using Discord.Commands;
using Mitternacht.Common.Attributes;
using Mitternacht.Modules.Utility.Services;
using Mitternacht.Services;
using System;
using System.Threading.Tasks;
namespace Mitternacht.Modules.Utility
{
public partial class Utility
{
public class VoiceStatsCommands : Mitte... | mit | C# |
a20dfb52d5ac0461547f63a62bc6d28b6bac3bcd | save on quit too | taka-oyama/UniHttp | Assets/UniHttp/HttpContext.cs | Assets/UniHttp/HttpContext.cs | using UnityEngine;
namespace UniHttp
{
public class HttpContext : MonoBehaviour
{
void Awake()
{
}
void OnApplicationPause(bool isPaused)
{
if(isPaused) {
HttpDispatcher.Save();
}
}
void OnApplicationQuit()
{
HttpDispatcher.Save();
}
}
}
| using UnityEngine;
namespace UniHttp
{
public class HttpContext : MonoBehaviour
{
void Awake()
{
}
void OnApplicationPause(bool isPaused)
{
if(isPaused) {
HttpDispatcher.Save();
}
}
}
}
| mit | C# |
002ccdbb363d874197ad6de2cba6beacaa6b82a6 | Remove participant count from the project details status bar in Registration status. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Project/ProjectDetailsStatusBarPartial.cshtml | src/CompetitionPlatform/Views/Project/ProjectDetailsStatusBarPartial.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectDetailsStatusBarViewModel
@{
var showDeadline = false;
var showParticipantCount = false;
var participantCount = (Model.ParticipantsCount == 1) ? Model.ParticipantsCount + " participant" : Model.ParticipantsCount + " participants";
var deadline... | @model CompetitionPlatform.Models.ProjectViewModels.ProjectDetailsStatusBarViewModel
@{
var showDeadline = false;
var showParticipantCount = false;
var participantCount = (Model.ParticipantsCount == 1) ? Model.ParticipantsCount + " participant" : Model.ParticipantsCount + " participants";
var deadline... | mit | C# |
989a51d60a1e861c476c5c6a39baa28561e324a6 | Add support for plus sign prefix in Simple flavor | LouisTakePILLz/ArgumentParser | ArgumentParser/Patterns/SimpleParameterPattern.cs | ArgumentParser/Patterns/SimpleParameterPattern.cs | //-----------------------------------------------------------------------
// <copyright file="SimpleParameterPattern.cs" company="LouisTakePILLz">
// Copyright © 2015 LouisTakePILLz
// <author>LouisTakePILLz</author>
// </copyright>
//-----------------------------------------------------------------------
/* This prog... | //-----------------------------------------------------------------------
// <copyright file="SimpleParameterPattern.cs" company="LouisTakePILLz">
// Copyright © 2015 LouisTakePILLz
// <author>LouisTakePILLz</author>
// </copyright>
//-----------------------------------------------------------------------
/* This prog... | apache-2.0 | C# |
c6b22302245637e626a4055a6d35a62788832abf | Add EtherType enumeration for some types (not all) | juhovh/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,juhovh/tapcfg,juhovh/tapcfg,eyecreate/tapcfg | src/bindings/EthernetFrame.cs | src/bindings/EthernetFrame.cs |
using System;
namespace TAPCfg {
public enum EtherType : int {
InterNetwork = 0x0800,
ARP = 0x0806,
RARP = 0x8035,
AppleTalk = 0x809b,
AARP = 0x80f3,
InterNetworkV6 = 0x86dd,
CobraNet = 0x8819,
}
public class EthernetFrame {
private byte[] data;
privat... |
using System;
namespace TAPCfg {
public class EthernetFrame {
private byte[] data;
private byte[] src = new byte[6];
private byte[] dst = new byte[6];
private int etherType;
public EthernetFrame(byte[] data) {
this.data = data;
Array.Copy(data, 0, dst, 0, 6);
Array.Copy(data, 6, src, 0, 6);
et... | lgpl-2.1 | C# |
a8d0ff67a9bf0ad5e469430131999a2c630f3771 | Add automated match settings overlay tests | ZLima12/osu,ZLima12/osu,johnneijzen/osu,ppy/osu,peppy/osu,DrabWeb/osu,peppy/osu,ppy/osu,EVAST9919/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,naoey/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb... | osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | osu.Game.Tests/Visual/TestCaseMatchSettingsOverlay.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
u... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Multiplayer;
using osu.Game.... | mit | C# |
4f826589e51fc504db7f0ece73fa94e2e9da374c | Remove subscription logic for the time being | NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Skinning/LegacyDatabasedSkinResourceStore.cs | osu.Game/Skinning/LegacyDatabasedSkinResourceStore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Extensions;
using osu.Framework.IO.Stores;
using osu.Game.Extensions;
namespace osu.Game.Skinning
{
public clas... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using osu.Framework.Development;
using osu.Framework.Extensions;
using osu.Framework.IO.Stores;
... | mit | C# |
3a512bd4ffbc3d1fee87366af0154c3e979d26dc | Update WrenchBg.cs | uulltt/NitoriWare | Assets/Resources/Microgames/_Finished/Wrench/Scripts/WrenchBg.cs | Assets/Resources/Microgames/_Finished/Wrench/Scripts/WrenchBg.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class WrenchBg : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField]
private bool update;
[SerializeField]
private int linesX, linesY;
[SerializeField]
private float lineSeparation, lineExt... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class WrenchBg : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField]
private bool update;
[SerializeField]
private int linesX, linesY;
[SerializeField]
private float lineSeparation, lineExt... | mit | C# |
2e971403a05f37546c413e3992ef648e1ab11f2b | Use V2 definition handler for LSP as well. | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.LanguageServerProtocol/Handlers/OmniSharpDefinitionHandler.cs | src/OmniSharp.LanguageServerProtocol/Handlers/OmniSharpDefinitionHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Document;
using OmniSharp.Extensions.Lan... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Document;
using OmniSharp.Extensions.LanguageServer.Protoco... | mit | C# |
b702f5462930aa68d9dfe013978f44bd4e6940d2 | fix namespace | eriklieben/ErikLieben.Data.EF | ErikLieben.Data.EF/Repository/IDatabaseFactory.cs | ErikLieben.Data.EF/Repository/IDatabaseFactory.cs | namespace ErikLieben.Data.Repository
{
using System.Data.Entity;
public interface IDatabaseFactory
{
DbContext CreateContext();
}
}
| namespace ErikLieben.Data
{
using System.Data.Entity;
public interface IDatabaseFactory
{
DbContext CreateContext();
}
}
| mit | C# |
08fb5c279728d2d377382d70f677e108f66b060d | Fix path to local key file | Redth/Cake.AppVeyor,Redth/Cake.AppVeyor | src/Cake.AppVeyor.Tests/Keys.cs | src/Cake.AppVeyor.Tests/Keys.cs | using System;
using System.IO;
namespace Cake.AppVeyor.Tests
{
public static class Keys
{
const string YOUR_APPVEYOR_API_TOKEN = "{APPVEYOR_APITOKEN}";
static string appVeyorApiToken;
public static string AppVeyorApiToken {
get
{
if (appVe... | using System;
using System.IO;
namespace Cake.AppVeyor.Tests
{
public static class Keys
{
const string YOUR_APPVEYOR_API_TOKEN = "{APPVEYOR_APITOKEN}";
static string appVeyorApiToken;
public static string AppVeyorApiToken {
get
{
if (appVe... | apache-2.0 | C# |
5992b96de5965db7a0ece73fbaea5105b1b3c4a5 | Update JsonStringConverter.cs | he-dev/Reusable,he-dev/Reusable | Reusable.Utilities.JsonNet/src/Converters/JsonStringConverter.cs | Reusable.Utilities.JsonNet/src/Converters/JsonStringConverter.cs | using System;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Reusable.Exceptionize;
using Reusable.Extensions;
using Reusable.Utilities.JsonNet.Annotations;
namespace Reusable.Utilities.JsonNet.Conver... | using System;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Reusable.Exceptionize;
using Reusable.Extensions;
using Reusable.Utilities.JsonNet.Annotations;
namespace Reusable.Utilities.JsonNet.Conver... | mit | C# |
958a82c76e980e3694fcac451723dcffb26434f3 | 修复Property模块的TootipEdit BUG。 | anycmd/anycmd,anycmd/anycmd,anycmd/anycmd,anycmd/anycmd,anycmd/anycmd | src/Examples/Default/Mis/AnycmdMisSite/Areas/Ac/Views/Property/TooltipEdit.cshtml | src/Examples/Default/Mis/AnycmdMisSite/Areas/Ac/Views/Property/TooltipEdit.cshtml | @model Anycmd.Engine.Ac.Abstractions.Infra.IProperty
@{
ViewBag.Title = "编辑字段帮助-" + Model.Name;
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="win1" class="mini-window" title="编辑字段帮助-@Model.Name" iconcls="icon-edit" style="width: 100%; height: 100%;"
showmaxbutton="false" showfooter="true" showtoolbar="true" ... | @model IProperty
@{
ViewBag.Title = "编辑字段帮助-" + Model.Name;
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="win1" class="mini-window" title="编辑字段帮助-@Model.Name" iconcls="icon-edit" style="width: 100%; height: 100%;"
showmaxbutton="false" showfooter="true" showtoolbar="true" showCloseButton="false"
showmodal="... | mit | C# |
5b012080c6350e1e3ae807e960946110e8df5035 | Fix test | rasmus/EventFlow,liemqv/EventFlow,AntoineGa/EventFlow | Source/EventFlow/Extensions/ResolverExtensions.cs | Source/EventFlow/Extensions/ResolverExtensions.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | // The MIT License (MIT)
//
// Copyright (c) 2015 Rasmus Mikkelsen
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including... | mit | C# |
e7518da53b25c59c8e30acec154be7f5f1c48676 | Update ToString() | yishn/GTPWrapper | GTPWrapper/Sgf/SgfGameTree.cs | GTPWrapper/Sgf/SgfGameTree.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Diagnostics;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF game tree.
/// </summary>
public class SgfGameTree {
/// <summary>
/// Th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Diagnostics;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF game tree.
/// </summary>
public class SgfGameTree {
/// <summary>
/// Th... | mit | C# |
ffcfa52bfc3ea8812c80f79373543eda7cdcd441 | add ForceNotify to IReactiveProperty | runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty | Source/ReactiveProperty.Core/IReactiveProperty.cs | Source/ReactiveProperty.Core/IReactiveProperty.cs | using System;
using System.ComponentModel;
namespace Reactive.Bindings
{
/// <summary>
/// for EventToReactive and Serialization
/// </summary>
public interface IReactiveProperty : IReadOnlyReactiveProperty, IHasErrors, INotifyPropertyChanged
{
/// <summary>
/// Gets or sets the va... | using System;
using System.ComponentModel;
namespace Reactive.Bindings
{
/// <summary>
/// for EventToReactive and Serialization
/// </summary>
public interface IReactiveProperty : IReadOnlyReactiveProperty, IHasErrors, INotifyPropertyChanged
{
/// <summary>
/// Gets or sets the va... | mit | C# |
dd60df6f1485ba8af59832d50e42be1e2af6d962 | Update Program.cs | kuroblog/Helloworld | SourceCode/Helloworld/Helloworld.Basic/Program.cs | SourceCode/Helloworld/Helloworld.Basic/Program.cs |
namespace Helloworld.Basic
{
using System;
class Program
{
static void Main(string[] args)
{
var msg = "Helloworld!";
Console.WriteLine(msg);
Console.ReadKey();
}
}
}
|
namespace Helloworld.Basic
{
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Helloworld!");
Console.ReadKey();
}
}
}
| mit | C# |
faded4975d5d5b8137425113efd446967d6d8c50 | Update INetworkConnectivityService.cs | tiksn/TIKSN-Framework | TIKSN.Core/Network/INetworkConnectivityService.cs | TIKSN.Core/Network/INetworkConnectivityService.cs | using System;
namespace TIKSN.Network
{
public interface INetworkConnectivityService
{
IObservable<InternetConnectivityState> InternetConnectivityChanged { get; }
InternetConnectivityState GetInternetConnectivityState();
}
}
| using System;
namespace TIKSN.Network
{
public interface INetworkConnectivityService
{
IObservable<InternetConnectivityState> InternetConnectivityChanged { get; }
InternetConnectivityState GetInternetConnectivityState();
}
} | mit | C# |
ecc3c5a8e5cebee9e2aef6f1b001c24460ddd482 | Update Size2.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D.Spatial/Size2.cs | src/Core2D.Spatial/Size2.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 System;
namespace Core2D.Spatial
{
public struct Size2
{
public readonly double Width;
public readonly double Height;
publi... | // 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 System;
namespace Core2D.Spatial
{
public struct Size2
{
public readonly double Width;
public readonly double Height;
publi... | mit | C# |
2bd31bdfd27780f8ec930bd6af99bb6cc5c41409 | Test grouped values | Sora2455/Sora-s-Nerd-Den,Sora2455/Sora-s-Nerd-Den,Sora2455/Sora-s-Nerd-Den,Sora2455/Sora-s-Nerd-Den | Testing/ConcurrentDictionaryOfCollectionsTests.cs | Testing/ConcurrentDictionaryOfCollectionsTests.cs | using System;
using System.Linq;
using Common.Concurrency;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Testing
{
[TestClass]
public class ConcurrentDictionaryOfCollectionsTests
{
[TestMethod]
public void AddAndGetSingleValues()
{
ConcurrentDictionaryOf... | using System;
using System.Linq;
using Common.Concurrency;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Testing
{
[TestClass]
public class ConcurrentDictionaryOfCollectionsTests
{
[TestMethod]
public void AddAndGetSingleValues()
{
ConcurrentDictionaryOf... | mit | C# |
9e4b50ad886a536812108182840083e04e453fe9 | Allow whitespaces. | moritzuehling/MagicLinkPlugin,moritzuehling/MagicLinkPlugin | MagicLinkPlugin/MagicLinks.cs | MagicLinkPlugin/MagicLinks.cs | using Fancyauth.API;
using Fancyauth.APIUtil;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MagicLinkPlugin
{
class MagicLinks : PluginBase
{
p... | using Fancyauth.API;
using Fancyauth.APIUtil;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MagicLinkPlugin
{
class MagicLinks : PluginBase
{
p... | mit | C# |
ac99df8383d1fcbe975925d088eb9557553cca0b | fix lock screen icon. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Shell/Commands/SystemCommands.cs | WalletWasabi.Gui/Shell/Commands/SystemCommands.cs | using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using AvalonStudio.Commands;
using ReactiveUI;
using System;
using System.Composition;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class SystemCommands
{
public Global Global { get; }
[... | using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using AvalonStudio.Commands;
using ReactiveUI;
using System;
using System.Composition;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Shell.Commands
{
internal class SystemCommands
{
public Global Global { get; }
[... | mit | C# |
d739153a45b7e640ba7d8d5dc10f3931a0ad04d6 | Prepare for release 0.1.1.219 | yanggujun/commonsfornet,yanggujun/commonsfornet | src/AssemblyInfo.cs | src/AssemblyInfo.cs | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | apache-2.0 | C# |
1fa7c766db27cde97ae73983d1118659b15fab73 | Add ToPublicKeyToken() method | yck1509/dnlib,0xd4d/dnlib,ilkerhalil/dnlib,kiootic/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib,picrap/dnlib,modulexcite/dnlib,jorik041/dnlib | src/DotNet/PublicKeyBase.cs | src/DotNet/PublicKeyBase.cs | namespace dot10.DotNet {
/// <summary>
/// Public key / public key token base class
/// </summary>
public abstract class PublicKeyBase {
/// <summary>
/// The key data
/// </summary>
protected byte[] data;
/// <summary>
/// Returns <c>true</c> if <see cref="Data"/> is <c>null</c> or empty
/// </summ... | namespace dot10.DotNet {
/// <summary>
/// Public key / public key token base class
/// </summary>
public abstract class PublicKeyBase {
/// <summary>
/// The key data
/// </summary>
protected byte[] data;
/// <summary>
/// Returns <c>true</c> if <see cref="Data"/> is <c>null</c> or empty
/// </summ... | mit | C# |
9d349610a20a70b3087534b5096c1b4c619352a5 | Update Xerath.cs | metaphorce/leaguesharp | MetaSmite/Champions/Xerath.cs | MetaSmite/Champions/Xerath.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Xerath
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Xerath
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | mit | C# |
9f0bf8b8584a9344427a0e5bd362c0cfc40863f4 | Add tests for Java Exceptions in the .Net Bridge | openengsb/loom-csharp | bridge/BridgeTests/ExceptionHandling/TestExceptionMarshalling.cs | bridge/BridgeTests/ExceptionHandling/TestExceptionMarshalling.cs | #region Copyright
// <copyright file="TestExceptionMarshalling.cs" company="OpenEngSB">
// Licensed to the Austrian Association for Software Tool Integration (AASTI)
// under one or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information regarding copyright
// ... | #region Copyright
// <copyright file="TestExceptionMarshalling.cs" company="OpenEngSB">
// Licensed to the Austrian Association for Software Tool Integration (AASTI)
// under one or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information regarding copyright
// ... | apache-2.0 | C# |
2903e183c3cf29f719bf70efb1c9f04fcd78446d | Fix failing unit tests | ComputerWorkware/TeamCityApi | src/TeamCityConsole.Tests/Helpers/DomainExtensions.cs | src/TeamCityConsole.Tests/Helpers/DomainExtensions.cs | using System;
using System.Collections.Generic;
using Ploeh.AutoFixture.Dsl;
using TeamCityApi.Domain;
using TeamCityConsole.Options;
namespace TeamCityConsole.Tests.Helpers
{
public static class DomainExtensions
{
public static IPostprocessComposer<BuildConfig> WithNoDependencies(
this IPo... | using System;
using System.Collections.Generic;
using Ploeh.AutoFixture.Dsl;
using TeamCityApi.Domain;
using TeamCityConsole.Options;
namespace TeamCityConsole.Tests.Helpers
{
public static class DomainExtensions
{
public static IPostprocessComposer<BuildConfig> WithNoDependencies(
this IPo... | mit | C# |
b402f95419137a2203506d120a90cee0d6c87a5a | clean code | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Event/EventSubscriptionManager.cs | src/WeihanLi.Common/Event/EventSubscriptionManager.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
using WeihanLi.Common.Helpers;
namespace WeihanLi.Common.Event
{
public interface IEventSubscriptionManager : IEventSubscriber
{
/// <summary>
/// Get EventHandlers for event
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
using WeihanLi.Common.Helpers;
namespace WeihanLi.Common.Event
{
public interface IEventSubscriptionManager : IEventSubscriber
{
/// <summary>
/// Get EventHandlers for event
... | mit | C# |
8c4faf1403e822fc60330aa397171aa3a7319760 | Fix some invalid docs | Deadpikle/NetSparkle,Deadpikle/NetSparkle | src/NetSparkle/LogWriter.cs | src/NetSparkle/LogWriter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetSparkleUpdater
{
/// <summary>
/// A simple class to handle log information for NetSparkleUPdater.
/// Make sure to do any setup for this class that you... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetSparkleUpdater
{
/// <summary>
/// A simple class to handle log information for NetSparkle.
/// Make sure to do any setup for this class that you want
... | mit | C# |
109f634e82760972178368fd8e885a2f5bd3f2b2 | Set Version to 1.5.2.0 | monky2k6/WindowsEnhancementSuite | WindowsEnhancmentSuite/Properties/AssemblyInfo.cs | WindowsEnhancmentSuite/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
c81c4cbbcd546f31f1eacb505fc15c35ff7c6ea1 | Fix missing Metadata initialisation. | Frontear/osuKyzer,RedNesto/osu,ppy/osu,smoogipoo/osu,ppy/osu,Damnae/osu,NotKyon/lolisu,Nabile-Rahmani/osu,UselessToucan/osu,theguii/osu,naoey/osu,peppy/osu,default0/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,nyaamara/osu,EVAST9919/osu,Drezi126/os... | osu.Game/Database/BeatmapInfo.cs | osu.Game/Database/BeatmapInfo.cs | using System;
using System.Linq;
using osu.Game.Beatmaps.Samples;
using osu.Game.GameModes.Play;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace osu.Game.Database
{
public class BeatmapInfo
{
public BeatmapInfo()
{
BaseDifficulty = new BaseDifficulty();... | using System;
using System.Linq;
using osu.Game.Beatmaps.Samples;
using osu.Game.GameModes.Play;
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace osu.Game.Database
{
public class BeatmapInfo
{
public BeatmapInfo()
{
BaseDifficulty = new BaseDifficulty();... | mit | C# |
942a80040ebf5b9f5032d379866585b849cf9cbd | Update DfmTokenTreeHandler.cs | LordZoltan/docfx,dotnet/docfx,LordZoltan/docfx,928PJY/docfx,LordZoltan/docfx,dotnet/docfx,pascalberger/docfx,dotnet/docfx,LordZoltan/docfx,hellosnow/docfx,928PJY/docfx,hellosnow/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,superyyrrzz/docfx,pascalberger/docfx,superyyrrzz/docfx,superyyrrzz/docfx,928PJY/docfx,DuncanmaMSFT/do... | tools/DfmHttpService/Handler/DfmTokenTreeHandler.cs | tools/DfmHttpService/Handler/DfmTokenTreeHandler.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DfmHttpService
{
using System;
using System.Threading.Tasks;
using Microsoft.DocAsCode.Build.Engine;
using Microsoft.DocAsCode.Plugins;
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DfmHttpService
{
using System;
using System.Threading.Tasks;
using Microsoft.DocAsCode.Build.Engine;
using Microsoft.DocAsCode.Plugins;
... | mit | C# |
a58991e245c33e6f61ed78a9f5d3ac3776c8da3d | Add LICENCE header | dv-lebedev/statistics | Statistics/ArrayExtensions.cs | Statistics/ArrayExtensions.cs | /*
Copyright 2015 Denis Lebedev
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Statistics
{
public static class ArrayExtensions
{
public static double[] ToDouble(this decimal[] array)
{
int size = array.Length;
double[] re... | apache-2.0 | C# |
9bb9eaaff25b50561e8b39b7600a40ca8581ef6b | Reduce warning, part 3 | ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp | source/Htc.Vita.Core/Util/Array.cs | source/Htc.Vita.Core/Util/Array.cs | namespace Htc.Vita.Core.Util
{
/// <summary>
/// Class Array.
/// </summary>
public static class Array
{
/// <summary>
/// Get the empty array.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns>T[].</returns>
public static T[] Empty<T>()... | namespace Htc.Vita.Core.Util
{
/// <summary>
/// Class Array.
/// </summary>
public class Array
{
/// <summary>
/// Get the empty array.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns>T[].</returns>
public static T[] Empty<T>()
... | mit | C# |
c6c4ff5d6a7cbf9ab1d7122f339c11ea47aa4db6 | Fix save button color and message text bug | setchi/NoteEditor,setchi/NotesEditor | Assets/Scripts/UI/SavePresenter.cs | Assets/Scripts/UI/SavePresenter.cs | using System.IO;
using System.Linq;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class SavePresenter : MonoBehaviour
{
[SerializeField]
Button saveButton;
[SerializeField]
Text messageText;
NotesEditorModel model;
void Awake()
{
model = Notes... | using System.IO;
using System.Linq;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
using UnityEngine.UI;
public class SavePresenter : MonoBehaviour
{
[SerializeField]
Button saveButton;
[SerializeField]
Text messageText;
NotesEditorModel model;
void Awake()
{
model = Notes... | mit | C# |
b47cc6f4287386188d6c7bf45941b869c940786c | Add a test with a specific writer. | izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp | FbxSharpTests/ObjectPrinterTest.cs | FbxSharpTests/ObjectPrinterTest.cs | using System;
using NUnit.Framework;
using FbxSharp;
using System.IO;
namespace FbxSharpTests
{
[TestFixture]
public class ObjectPrinterTest
{
[Test]
public void QuoteQuotesAndEscapeStrings()
{
Assert.AreEqual("\"abcdefghijklmnopqrstuvwxyz\"", ObjectPrinter.quote("abcde... | using System;
using NUnit.Framework;
using FbxSharp;
namespace FbxSharpTests
{
[TestFixture]
public class ObjectPrinterTest
{
[Test]
public void QuoteQuotesAndEscapeStrings()
{
Assert.AreEqual("\"abcdefghijklmnopqrstuvwxyz\"", ObjectPrinter.quote("abcdefghijklmnopqrstuv... | lgpl-2.1 | C# |
a872db87ac0bf56a70dfbf377ee5a34d19ab583e | Add GetAllSettings method to IGameSettings interface | opcon/Substructio,opcon/Substructio | src/Core/Settings/IGameSettings.cs | src/Core/Settings/IGameSettings.cs | using System;
using System.Collections.Generic;
namespace Substructio.Core.Settings
{
public interface IGameSettings
{
object this[string key] { get; set; }
void Save();
void Load();
Dictionary<string, object> GetAllSettings();
}
public class NullGameSettings : IGameSe... | using System;
namespace Substructio.Core.Settings
{
public interface IGameSettings
{
object this[string key] { get; set; }
void Save();
void Load();
}
public class NullGameSettings : IGameSettings
{
public object this[string key]
{
get
... | mit | C# |
ef41f685e7c11447c9182f849692bc29c5114260 | Fix a bug in ClassicBuilder | Ky7m/BenchmarkDotNet,redknightlois/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,redknightlois/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Tekni... | BenchmarkDotNet/Toolchains/Classic/ClassicBuilder.cs | BenchmarkDotNet/Toolchains/Classic/ClassicBuilder.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Toolchains.Results;
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
using BuildResult = BenchmarkDotNet.Toolchains.Results.BuildResult;
using ILogger = BenchmarkDotNet.Lo... | using System.Collections.Generic;
using System.IO;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Toolchains.Results;
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
using BuildResult = BenchmarkDotNet.Toolchains.Results.BuildResult;
using ILogger = BenchmarkDotNet.Loggers.ILogger;
namespace ... | mit | C# |
16e5ec157b741e8c553a7562c2b81ec72cb91309 | Refactor git executor | appharbor/appharbor-cli | src/AppHarbor/GitExecutor.cs | src/AppHarbor/GitExecutor.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace AppHarbor
{
public class GitExecutor : IGitExecutor
{
private readonly FileInfo _gitExecutable;
public GitExecutor()
{
var programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
var g... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace AppHarbor
{
public class GitExecutor : IGitExecutor
{
private readonly FileInfo _gitExecutable;
public GitExecutor()
{
var programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
var g... | mit | C# |
7172627cac2cb7b291635916fde49d48f9d91f13 | refactor CobaltAHK class | maul-esel/CobaltAHK,maul-esel/CobaltAHK | CobaltAHK/CobaltAHK.cs | CobaltAHK/CobaltAHK.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using CobaltAHK.ExpressionTree;
namespace CobaltAHK
{
public class CobaltAHK
{
public void Execute(string code)
{
Execute(new StringReader(code));
}
public void Execute(TextReader code)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq.Expressions;
namespace CobaltAHK
{
public class CobaltAHK
{
public void Execute(string code)
{
Execute(new StringReader(code));
}
[System.Diagnostics.Conditional("DEBUG")]
internal void Debug(string str, params object[] ... | mit | C# |
d798bbbdbc39a80d675a5ebaec81cefd0d0be970 | Clean up the code | rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,rockfordlhotka/csla | Source/Csla/Configuration/ConfigurationExtensions.cs | Source/Csla/Configuration/ConfigurationExtensions.cs | #if NETSTANDARD2_0 || NET5_0 || NET6_0
//-----------------------------------------------------------------------
// <copyright file="ConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extens... | #if NETSTANDARD2_0 || NET5_0 || NET6_0
//-----------------------------------------------------------------------
// <copyright file="ConfigurationExtensions.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extens... | mit | C# |
5d6cede704a5a7672fd1c5eaaa74195876dfcf0f | Update comment | visia/xunit-performance,Microsoft/xunit-performance,pharring/xunit-performance,mmitche/xunit-performance,ericeil/xunit-performance,Microsoft/xunit-performance,ianhays/xunit-performance | xunit.performance/BenchmarkAttribute.cs | xunit.performance/BenchmarkAttribute.cs | using System;
using Xunit;
using Xunit.Sdk;
namespace Microsoft.Xunit.Performance
{
[XunitTestCaseDiscoverer("Microsoft.Xunit.Performance.BenchmarkDiscoverer", "xunit.performance")]
[TraitDiscoverer("Microsoft.Xunit.Performance.BenchmarkTraitDiscoverer", "xunit.performance")]
[AttributeUsage(AttributeTarg... | using System;
using Xunit;
using Xunit.Sdk;
namespace Microsoft.Xunit.Performance
{
[XunitTestCaseDiscoverer("Microsoft.Xunit.Performance.BenchmarkDiscoverer", "xunit.performance")]
[TraitDiscoverer("Microsoft.Xunit.Performance.BenchmarkTraitDiscoverer", "xunit.performance")]
[AttributeUsage(AttributeTarg... | mit | C# |
373a23dbd716e50e72fc7bddde7c73a9066d4f25 | Fix to put paye parameter into query string for api | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Services/PensionRegulatorService.cs | src/SFA.DAS.EmployerAccounts/Services/PensionRegulatorService.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web;
using Newtonsoft.Json;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.Interfaces;
using SFA.DAS.EmployerAccounts.Models.PensionRegulator;
namespace SFA.DAS.EmployerAccounts.Services
{
public c... | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web;
using Newtonsoft.Json;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.Interfaces;
using SFA.DAS.EmployerAccounts.Models.PensionRegulator;
namespace SFA.DAS.EmployerAccounts.Services
{
public c... | mit | C# |
6e9708626a8b7d2c0a2ad00d1aa6a5ec76e11987 | Hide contact details if they are empty | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml |
@using Microsoft.Ajax.Utilities
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
... |
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
<dt class="das-definition-list__... | mit | C# |
93a322e73a0789214dc9fbf4e5047f0fad54f513 | Initialize extras properly | takenet/blip-sdk-csharp | src/Take.Blip.Builder/Actions/TrackEvent/TrackEventAction.cs | src/Take.Blip.Builder/Actions/TrackEvent/TrackEventAction.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Newtonsoft.Json.Linq;
using Take.Blip.Client;
using Take.Blip.Client.Extensions.EventTracker;
namespace Take.Blip.Builder.Actions.TrackEvent
{
public class TrackEventAction : IAction
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Newtonsoft.Json.Linq;
using Take.Blip.Client;
using Take.Blip.Client.Extensions.EventTracker;
namespace Take.Blip.Builder.Actions.TrackEvent
{
public class TrackEventAction : IAction
... | apache-2.0 | C# |
61f305c6a7fbde22484554f09fb104edb68051d0 | increment pre-release version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
9b9ca4a08d542ff8796e1ef754a7aa6687d099bf | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
50e9c927825c8973d9234a657ee2aafdc5a9e28f | Update CurrencylayerDotComTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/CurrencylayerDotComTests.cs | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/CurrencylayerDotComTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.Tests.ForeignExchange
{
[Collectio... | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.Tests.ForeignExchange
{
[Collectio... | mit | C# |
f18b4ec3f5bae3f4cc215e75cbc5bc61663f880f | Update InputArgs.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/Input/InputArgs.cs | src/Core2D/Editor/Input/InputArgs.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.
namespace Core2D.Editor.Input
{
/// <summary>
/// Input arguments.
/// </summary>
public struct InputArgs
{
/// <summary>
/// ... | // 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.Spatial;
namespace Core2D.Editor.Input
{
/// <summary>
/// Input arguments.
/// </summary>
public struct InputArgs
{
/// ... | mit | C# |
0e0596d29f12e9ce0fe81e32d13db7a0650352ae | set up structure alittle. | Xormis/grikly-dotnet | src/GriklyApi.Portable/Users.cs | src/GriklyApi.Portable/Users.cs | using System.IO;
using System.Net;
using System.Text;
using Grikly.Models;
using System;
namespace Grikly
{
public partial class GriklyApi
{
public void GetUser(int id, Action<User> callback)
{
}
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Grikly.Models;
namespace Grikly
{
public partial class GriklyApi
{
public User GetUser(int id)
{
throw new NotImplementedException();
}
}
}
| mit | C# |
d1b56683f5cccb5f9fcb3d22f1f3c89d7a7572d7 | Update Plasmatech.cs (#32) | BosslandGmbH/BuddyWing.DefaultCombat | trunk/DefaultCombat/Routines/Advanced/Vanguard/Plasmatech.cs | trunk/DefaultCombat/Routines/Advanced/Vanguard/Plasmatech.cs | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
public class Plasmatech : RotationBase
{
public override string Name
{
get ... | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
public class Plasmatech : RotationBase
{
public override string Name
{
get ... | apache-2.0 | C# |
74dff3419ff176921c83a5534084e247d62dfe1e | fix build errror | ObjectivityBSS/Test.Automation,ObjectivityLtd/Test.Automation | Objectivity.Test.Automation.Common/WebElements/JavaScriptAlert.cs | Objectivity.Test.Automation.Common/WebElements/JavaScriptAlert.cs | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ... | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the ... | mit | C# |
55496ba5d5fa2e3f38b51fe8db9e024980ebf5a5 | Add missing license header | paseb/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,out-of-pixel/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,willcong/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity | Assets/HoloToolkit/Utilities/Scripts/RaycastResultComparer.cs | Assets/HoloToolkit/Utilities/Scripts/RaycastResultComparer.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using UnityEngine.EventSystems;
namespace HoloToolkit.Unity
{
public class RaycastResultComparer : IComparer<RaycastResult>
... | using System.Collections.Generic;
using UnityEngine.EventSystems;
namespace HoloToolkit.Unity
{
public class RaycastResultComparer : IComparer<RaycastResult>
{
public int Compare(RaycastResult left, RaycastResult right)
{
var result = CompareRaycastsByCanvasDepth(left, right);
... | mit | C# |
eaf3c60339d0374ef15162a7327895faf34ae066 | Revert "Bump WebApi version to 5.10.3" | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | Mindscape.Raygun4Net.WebApi/Properties/AssemblyVersionInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [asse... | mit | C# |
0c2f0122b78fea983ae79c173aceaaf981fbca2f | Fix a forest crash in ZZT. | SaxxonPike/roton,SaxxonPike/roton | Roton/Emulation/Interactions/Impl/ForestInteraction.cs | Roton/Emulation/Interactions/Impl/ForestInteraction.cs | using System;
using Roton.Emulation.Core;
using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Interactions.Impl
{
[Context(Context.Original, 0x14)]
[Context(Context.Super, 0x14)]
public sealed class ForestInteraction : IInteraction
{
... | using System;
using Roton.Emulation.Core;
using Roton.Emulation.Data;
using Roton.Emulation.Data.Impl;
using Roton.Infrastructure.Impl;
namespace Roton.Emulation.Interactions.Impl
{
[Context(Context.Original, 0x14)]
[Context(Context.Super, 0x14)]
public sealed class ForestInteraction : IInteraction
{
... | isc | C# |
7e5c16c078943f3706b1aac4300ef9a6f3cbf6fe | Fix background color of thumbnails in image gallery when not using browser | ermshiperete/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso | SIL.Windows.Forms/ImageToolbox/ImageGallery/ImageUtilities.cs | SIL.Windows.Forms/ImageToolbox/ImageGallery/ImageUtilities.cs | using System.Drawing;
using System.Drawing.Drawing2D;
using SIL.PlatformUtilities;
namespace SIL.Windows.Forms.ImageToolbox.ImageGallery
{
public static class ImageUtilities
{
public static Image GetThumbNail(string imagePath, int destinationWidth, int destinationHeight, Color borderColor, Color backgroundColor)
... | using System.Drawing;
using System.Drawing.Drawing2D;
using SIL.PlatformUtilities;
namespace SIL.Windows.Forms.ImageToolbox.ImageGallery
{
public static class ImageUtilities
{
public static Image GetThumbNail(string imagePath, int destinationWidth, int destinationHeight, Color borderColor, Color backgroundColor)
... | mit | C# |
50501b51a389e33f9d31319fcfe60da9a3f5d1cb | Read table id | TeamnetGroup/schema2fm | src/ConsoleApp/Program.cs | src/ConsoleApp/Program.cs | using System;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace ConsoleApp
{
class Program
{
private static void Main()
{
Work().GetAwaiter().GetResult();
}
private static async Task Work()
{
... | using System.Data.Common;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace ConsoleApp
{
class Program
{
private static void Main()
{
Work().GetAwaiter().GetResult();
}
private static async Task Work()
{
const string connectio... | mit | C# |
d61d82f478db1a9a3407527c45c4f10bcd864279 | Refactor improve teardown | Suui/SlothUnit,Suui/SlothUnit,Suui/SlothUnit | SlothUnit/SlothUnit.Parser.Test/CodeGeneratorShould.cs | SlothUnit/SlothUnit.Parser.Test/CodeGeneratorShould.cs | using System;
using System.IO;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using SlothUnit.Parser.Core;
/* TODO
- __Generated__ folder
- __Main__ file including slothunit and __Tests__
- __Tests__ file including all generated / +Recurse
*/
namespace SlothUnit.Parser.Test
{
[TestFixture]
p... | using System;
using System.IO;
using System.Linq;
using FluentAssertions;
using NUnit.Framework;
using SlothUnit.Parser.Core;
/* TODO
- __Generated__ folder
- __Main__ file including slothunit and __Tests__
- __Tests__ file including all generated / +Recurse
*/
namespace SlothUnit.Parser.Test
{
[TestFixture]
p... | mit | C# |
ec06ba2296b97c2d86d591c60c9906a209cd2065 | Add extension method `ISelectionMgr.DeselectAllUndoable` | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/SelectionManagerExtensions.cs | SolidworksAddinFramework/SelectionManagerExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Reactive.Disposables;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
namespace SolidworksAddinFramework
{
public static class SelectionManagerExtensions
{
private class ObjectPr... | using System;
using System.Collections.Generic;
using SolidWorks.Interop.sldworks;
using SolidWorks.Interop.swconst;
namespace SolidworksAddinFramework
{
public static class SelectionManagerExtensions
{
/// <summary>
/// Get selected objects filtered by type and mark
/// </summary>
... | mit | C# |
8f226c899243e4a6d45916f67445971c14b725ff | Update AssemblyInfo.cs | ipjohnson/Grace | Source/Grace.Common.Logging/Properties/AssemblyInfo.cs | Source/Grace.Common.Logging/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("Gr... | 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("Gr... | mit | C# |
51f2299181d382a75ec14890e8ba2d76953dc3bf | Make FileSystemPath internal for now | xoofx/zio | src/Zio/FileSystemPath.cs | src/Zio/FileSystemPath.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
namespace Zio
{
/// <summary>
/// Tuple between a <see cref="IFileSystem"/> and an associated <see cref="UPath"/... | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
namespace Zio
{
public struct FileSystemPath : IEquatable<FileSystemPath>
{
public static readonly FileS... | bsd-2-clause | C# |
8beb5568b82108664ff3f97b9bee0808477f5bd8 | Fix speed bonus | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Taiko/Difficulty/Evaluators/StaminaEvaluator.cs | osu.Game.Rulesets.Taiko/Difficulty/Evaluators/StaminaEvaluator.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.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Objects;
namespace ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Difficulty.Preprocessing;
using osu.Game.Rulesets.Taiko.Objects;
namespace ... | mit | C# |
e514627a4b3643aa9320f65b0c4dc39dc597830a | Fix ReflectedWorkItemId to support blanks in project names as this is allowed (#689) | nkdAgility/vsts-sync-migration | src/MigrationTools.Clients.AzureDevops.ObjectModel/Clients/TfsReflectedWorkItemId.cs | src/MigrationTools.Clients.AzureDevops.ObjectModel/Clients/TfsReflectedWorkItemId.cs | using System;
using System.Text.RegularExpressions;
using MigrationTools.DataContracts;
using Serilog;
namespace MigrationTools.Clients
{
public class TfsReflectedWorkItemId : ReflectedWorkItemId
{
private Uri _Connection;
private string _ProjectName;
private string _WorkItemId;
... | using System;
using System.Text.RegularExpressions;
using MigrationTools.DataContracts;
namespace MigrationTools.Clients
{
public class TfsReflectedWorkItemId : ReflectedWorkItemId
{
private Uri _Connection;
private string _ProjectName;
private string _WorkItemId;
public TfsRe... | mit | C# |
7fcc938fcb1acc481d58cfc0d98096d7a3410a1a | Enable configuration of Json Serializer | MultimediaSolutionsAg/ServiceBus | source/MMS.ServiceBus/Pipeline/NewtonsoftJsonMessageSerializer.cs | source/MMS.ServiceBus/Pipeline/NewtonsoftJsonMessageSerializer.cs | //-------------------------------------------------------------------------------
// <copyright file="NewtonsoftJsonMessageSerializer.cs" company="MMS AG">
// Copyright (c) MMS AG, 2008-2015
// </copyright>
//-------------------------------------------------------------------------------
namespace MMS.ServiceBus.Pip... | //-------------------------------------------------------------------------------
// <copyright file="NewtonsoftJsonMessageSerializer.cs" company="MMS AG">
// Copyright (c) MMS AG, 2008-2015
// </copyright>
//-------------------------------------------------------------------------------
namespace MMS.ServiceBus.Pip... | apache-2.0 | C# |
d57116ddfa477f5fbc01e744e9fea8e6ae90ca13 | Disable user overrides for FirstDayOfWeek tests (#30129) | wtgodbe/corefx,ericstj/corefx,mmitche/corefx,Jiayili1/corefx,ericstj/corefx,mmitche/corefx,wtgodbe/corefx,Jiayili1/corefx,ptoonen/corefx,wtgodbe/corefx,BrennanConroy/corefx,BrennanConroy/corefx,ericstj/corefx,ptoonen/corefx,ViktorHofer/corefx,Jiayili1/corefx,Jiayili1/corefx,ptoonen/corefx,ericstj/corefx,ptoonen/corefx,... | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoFirstDayOfWeek.cs | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoFirstDayOfWeek.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... | mit | C# |
bfadac89f67e90da7bd1273a4d1ba124675c4ebd | 修复一个逻辑错误。 :ocean: | Zongsoft/Zongsoft.Plugins | src/Terminals/Workbench.cs | src/Terminals/Workbench.cs | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2010-2013 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.Plugins.
*
* Zongsoft.Plugins is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Li... | /*
* Authors:
* 钟峰(Popeye Zhong) <zongsoft@gmail.com>
*
* Copyright (C) 2010-2013 Zongsoft Corporation <http://www.zongsoft.com>
*
* This file is part of Zongsoft.Plugins.
*
* Zongsoft.Plugins is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Li... | lgpl-2.1 | C# |
b8e968f930850c7c0e5b901f5397b1de75b46e66 | Update index.cshtml | KovalNikita/apmathcloud | SITE/index.cshtml | SITE/index.cshtml | @{
var txt = DateTime.Now; // C#
int m = 1;
int b = 1;
double t_0 = 1;
double t_end = 100;
double z_0 = 0;
double z_d = 10;
double t1 = t_0;
double t2 = t_end;
double h = 0.1;
double width = 0.05;
}
<html>
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.google.com/jsapi"></... | @{
var txt = DateTime.Now; // C#
int m = 1;
int b = 1;
double t_0 = 1;
double t_end = 100;
double z_0 = 0;
double z_d = 10;
double t1 = t_0;
double t2 = t_end;
double h = 0.1;
double width = 0.05;
}
<html>
<body>
<p>The dateTime is @txt</p>
</body>
</html>
| mit | C# |
96a1946979e836502eca23991396a34a02f38549 | Allow context to be null when querying for initial data. | quartz-software/kephas,quartz-software/kephas | src/Kephas.Data.InMemory/ContextExtensions.cs | src/Kephas.Data.InMemory/ContextExtensions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContextExtensions.cs" company="Quartz Software SRL">
// Copyright (c) Quartz Software SRL. All rights reserved.
// </copyright>
// <summary>
// Implements the context extensio... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ContextExtensions.cs" company="Quartz Software SRL">
// Copyright (c) Quartz Software SRL. All rights reserved.
// </copyright>
// <summary>
// Implements the context extensio... | mit | C# |
7f3b805f1afc3f5a9dc9185261fcdd29e74f8b13 | change title text | joeaudette/cloudscribe.Web.Pagination,joeaudette/cloudscribe.Web.Pagination,joeaudette/cloudscribe.Web.Pagination | src/PagingDemo.WebPages/Pages/FakePage.cshtml | src/PagingDemo.WebPages/Pages/FakePage.cshtml | @page
@model PagingDemo.WebPages.Pages.FakePageModel
@{
int.TryParse(Request.Query["p"],out var p);
}
<div>
<h1>this page test navigate from the PageTagHelper</h1>
<a asp-page="./Index" class="btn btn-primary">go back</a>
<a asp-page="./Index" asp-route-id="@p" asp-route-p="@p" class=... | @page
@model PagingDemo.WebPages.Pages.FakePageModel
@{
int.TryParse(Request.Query["p"],out var p);
}
<div>
<h1>this page test paginate to another page</h1>
<a asp-page="./Index" class="btn btn-primary">go back</a>
<a asp-page="./Index" asp-route-id="@p" asp-route-p="@p" class="btn btn... | apache-2.0 | C# |
910eccbb8a02d0146502182f42ae54e027d14be8 | Split stack trace | khellang/Middleware,khellang/Middleware | src/ProblemDetails/ExceptionProblemDetails.cs | src/ProblemDetails/ExceptionProblemDetails.cs | using System;
using Microsoft.AspNetCore.Http;
namespace Hellang.Middleware.ProblemDetails
{
internal class ExceptionProblemDetails : StatusCodeProblemDetails
{
private static readonly string[] LineSeparators = { Environment.NewLine };
public ExceptionProblemDetails(Exception error) : base(St... | using System;
using Microsoft.AspNetCore.Http;
namespace Hellang.Middleware.ProblemDetails
{
internal class ExceptionProblemDetails : StatusCodeProblemDetails
{
public ExceptionProblemDetails(Exception error) : base(StatusCodes.Status500InternalServerError)
{
Detail = error.Message... | mit | C# |
fd677047f4cd277dce78939d150591376712e3c2 | Change GetService call to GetRequiredService | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs | src/Microsoft.AspNet.Security.DataProtection/DefaultDataProtectionProvider.cs | // Copyright (c) Microsoft Open Technologies, Inc. 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.AspNet.Security.DataProtection.KeyManagement;
using Microsoft.Framework.DependencyInjection;
using Micro... | // Copyright (c) Microsoft Open Technologies, Inc. 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.AspNet.Security.DataProtection.KeyManagement;
using Microsoft.Framework.DependencyInjection;
using Micro... | apache-2.0 | C# |
7dfe171869ed7b0596c30620f55ea834636628c2 | Fix rebase error | johnneijzen/osu,smoogipoo/osu,naoey/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,naoey/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,naoey/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,... | osu.Game.Tests/Visual/TestCaseEditorComposeTimeline.cs | osu.Game.Tests/Visual/TestCaseEditorComposeTimeline.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | mit | C# |
771acb0441b1d08675d3024ad45c927f32b9ba13 | Make some fields readonly | toehead2001/pdn-barcode | Barcode/BarcodeSurface.cs | Barcode/BarcodeSurface.cs | // Paint.NET Effect Plugin Name: Barcode
// Author: Michael J. Sepcot
// Addional Modifications: toe_head201
using System;
using System.Drawing;
using PaintDotNet;
namespace Barcode
{
internal class BarcodeSurface
{
private readonly Rectangle rect;
private readonly ColorBgra[,] surface;
... | // Paint.NET Effect Plugin Name: Barcode
// Author: Michael J. Sepcot
// Addional Modifications: toe_head201
using System;
using System.Drawing;
using PaintDotNet;
namespace Barcode
{
internal class BarcodeSurface
{
private Rectangle rect;
private ColorBgra[,] surface;
internal int Wi... | mit | C# |
22d108c076988dc2291fc78776e0473e0c457d91 | Remove unused imports | ilantukh/ignite,andrey-kuznetsov/ignite,wmz7year/ignite,samaitra/ignite,samaitra/ignite,ntikhonov/ignite,BiryukovVA/ignite,vadopolski/ignite,samaitra/ignite,StalkXT/ignite,shroman/ignite,WilliamDo/ignite,chandresh-pancholi/ignite,voipp/ignite,sk0x50/ignite,ascherbakoff/ignite,NSAmelchev/ignite,xtern/ignite,ascherbakoff... | modules/platforms/dotnet/Apache.Ignite.Linq/Impl/QueryData.cs | modules/platforms/dotnet/Apache.Ignite.Linq/Impl/QueryData.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# |
f079ebe857ebf708c5aae6ee0a7c102ea4c9c5f5 | Simplify beatmap lookup to use a single endpoint | peppy/osu-new,smoogipoo/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,peppy/osu | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | osu.Game/Online/API/Requests/GetBeatmapRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : APIRequest<APIBeatm... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Online.API.Requests
{
public class GetBeatmapRequest : APIRequest<APIBeatm... | mit | C# |
22e86d14e1d2e3365a13aff39b3376e541e30503 | fix integration project | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/Integration/Shared/MySaga.cs | src/Integration/Shared/MySaga.cs | using System;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Logging;
using NServiceBus.Persistence.Sql;
[SqlSaga(
correlationProperty: nameof(SagaData.MySagaId)
)]
public class MySaga : SqlSaga<MySaga.SagaData>,
IAmStartedByMessages<StartSagaMessage>,
IHandleMessages<CompleteSagaMes... | using System;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Logging;
using NServiceBus.Persistence.Sql;
[SqlSaga(
correlationProperty: nameof(SagaData.MySagaId)
)]
public class MySaga : Saga<MySaga.SagaData>,
IAmStartedByMessages<StartSagaMessage>,
IHandleMessages<CompleteSagaMessag... | mit | C# |
84b91c25d437f8185be1b94338f5ad495d068825 | Change Enumeration conversion to implicit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.CodeGeneration/Generators/EnumerationGenerator.cs | source/Nuke.CodeGeneration/Generators/EnumerationGenerator.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Text;
using Nuke.CodeGeneration.Model;
using Nuke.CodeGeneration.Writers;
namespace Nuke.CodeGeneration.Generators
{
public static cl... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Text;
using Nuke.CodeGeneration.Model;
using Nuke.CodeGeneration.Writers;
namespace Nuke.CodeGeneration.Generators
{
public static cl... | mit | C# |
442342e3880cbac186cacce7f36c433c0a225d60 | Make parameters nullable (#13185) | umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,abjerner/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS | src/Umbraco.Infrastructure/Examine/MemberValueSetValidator.cs | src/Umbraco.Infrastructure/Examine/MemberValueSetValidator.cs | namespace Umbraco.Cms.Infrastructure.Examine;
public class MemberValueSetValidator : ValueSetValidator
{
/// <summary>
/// By default these are the member fields we index
/// </summary>
public static readonly string[] DefaultMemberIndexFields =
{
"id", UmbracoExamineFieldNames.NodeNameF... | namespace Umbraco.Cms.Infrastructure.Examine;
public class MemberValueSetValidator : ValueSetValidator
{
/// <summary>
/// By default these are the member fields we index
/// </summary>
public static readonly string[] DefaultMemberIndexFields =
{
"id", UmbracoExamineFieldNames.NodeNameF... | mit | C# |
0158a1f60b5e5974b152b40d76ebfc45952a201f | remove RegisterDbContext in EntityFrameowrk.Configuration | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/Config/Configuration.cs | Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/Config/Configuration.cs | using IFramework.Config;
using IFramework.Infrastructure;
using IFramework.IoC;
using IFramework.Repositories;
using IFramework.UnitOfWork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IFramework.EntityFramework.Config
{
public stati... | using IFramework.Config;
using IFramework.Infrastructure;
using IFramework.IoC;
using IFramework.Repositories;
using IFramework.UnitOfWork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IFramework.EntityFramework.Config
{
public stati... | mit | C# |
332e492d429f0a43c76d1bcbce37576263d24dec | test fix | gigya/microdot | tests/Gigya.Microdot.Orleans.Hosting.UnitTests/WarmupTests.cs | tests/Gigya.Microdot.Orleans.Hosting.UnitTests/WarmupTests.cs | using System.Diagnostics;
using System.Threading.Tasks;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.WarmupTestService;
using Gigya.Microdot.Testing.Service;
using Ninject;
using NUnit.Framework;
namespace Gigya.Microdot.Orl... | using System.Diagnostics;
using System.Threading.Tasks;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.WarmupTestService;
using Gigya.Microdot.Testing.Service;
using Ninject;
using NUnit.Framework;
namespace Gigya.Microdot.Orl... | apache-2.0 | C# |
b423016bab12695f5df2af7c78b46677e61f9715 | Fix on Stair Hurt, only turn invisible at the time. refer #2 | ByzanTine/Castlevania-NES-Unity3d | Assets/_Scripts/HurtManager.cs | Assets/_Scripts/HurtManager.cs | using UnityEngine;
using System.Collections;
public class HurtManager : MonoBehaviour {
public float InvisibleInterval = 1.0f;
public float initHurtVericalSpeed = 1.0f;
private bool hurting; // only provide accessor
public bool Hurting {
get {
return hurting || disableControl;
}
}
private bool disable... | using UnityEngine;
using System.Collections;
public class HurtManager : MonoBehaviour {
public float InvisibleInterval = 1.0f;
public float initHurtVericalSpeed = 1.0f;
private bool hurting; // only provide accessor
public bool Hurting {
get {
return hurting || disableControl;
}
}
private bool disable... | mit | C# |
6f81e6d896cb57c317ff51b4dcb7e998defa76e5 | change contract id on projection version handler | Elders/Cronus,Elders/Cronus | src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs | src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs | using System.Runtime.Serialization;
using Elders.Cronus.Projections.Snapshotting;
namespace Elders.Cronus.Projections.Versioning
{
[DataContract(Name = ContractId)]
public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManagerId>, IAmNotSnapshotable, IS... | using System.Runtime.Serialization;
using Elders.Cronus.Projections.Snapshotting;
namespace Elders.Cronus.Projections.Versioning
{
[DataContract(Name = ContractId)]
public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManagerId>, IAmNotSnapshotable, IS... | apache-2.0 | C# |
33e8034914978e6a5bd361d04f39723634dfff96 | 删除信息。 | yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate | src/YoYoCms.AbpProjectTemplate.Application/AbpProjectTemplateAppServiceBase.cs | src/YoYoCms.AbpProjectTemplate.Application/AbpProjectTemplateAppServiceBase.cs | using System;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.IdentityFramework;
using Abp.MultiTenancy;
using Abp.Runtime.Session;
using Microsoft.AspNet.Identity;
using YoYoCms.AbpProjectTemplate.AppExtensions.AbpSessions;
using YoYoCms.AbpProjectTemplate.Authorization.Users;
using YoYoCms.Ab... | using System;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Domain.Repositories;
using Abp.IdentityFramework;
using Abp.MultiTenancy;
using Abp.Runtime.Session;
using Microsoft.AspNet.Identity;
using YoYoCms.AbpProjectTemplate.AppExtensions.AbpSessions;
using YoYoCms.AbpProjectTemplate.Author... | apache-2.0 | C# |
0d87f7ff7bd51dc6300aafab795babe473db0c08 | remove comment | cbcrc/LinkIt | HeterogeneousDataSources/LoadLinkExpressions/Includes/SubLinkedSourceInclude.cs | HeterogeneousDataSources/LoadLinkExpressions/Includes/SubLinkedSourceInclude.cs | using System;
using System.Collections.Generic;
namespace HeterogeneousDataSources.LoadLinkExpressions.Includes
{
public class SubLinkedSourceInclude<TIChildLinkedSource, TLink, TChildLinkedSource, TChildLinkedSourceModel>:
IIncludeWithCreateSubLinkedSource<TIChildLinkedSource,TLink>,
IIncludeWit... | using System;
using System.Collections.Generic;
namespace HeterogeneousDataSources.LoadLinkExpressions.Includes
{
public class SubLinkedSourceInclude<TIChildLinkedSource, TLink, TChildLinkedSource, TChildLinkedSourceModel>:
IIncludeWithCreateSubLinkedSource<TIChildLinkedSource,TLink>,
IIncludeWit... | mit | C# |
7db60a78de843e53919ef6c64e09fd3d30b932fe | Add type field | CB17Echo/DroneSafety,CB17Echo/DroneSafety,CB17Echo/DroneSafety | AzureFunctions/Models/Hazard.csx | AzureFunctions/Models/Hazard.csx | using System;
abstract public class Hazard
{
public int HazardLevel { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public string Type
{
get
{
return GetType().Name;
}
}
}
| using System;
abstract public class Hazard
{
public int HazardLevel { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
}
| apache-2.0 | C# |
269e4466aa606756f75d84a30656f9adc1602815 | Fix assembly metadata. | drewnoakes/boing | Boing/Properties/AssemblyInfo.cs | Boing/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Boing")]
[assembly: AssemblyDescription(... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Boing")]
[assembly: AssemblyDescription(... | apache-2.0 | C# |
ebeb61cd9111ce714690cc79ec0edb0137e6a43e | Fix bug in LabelReplacer. | Frassle/ciltk | Rewriter/LabelReplacer.cs | Rewriter/LabelReplacer.cs | using Mono.Cecil;
using Mono.Cecil.Cil;
using Silk.Loom;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Weave
{
class LabelReplacer : InstructionVisitor
{
Dictionary<Tuple<MethodBody, string>, Instruction> Labels;
public LabelReplacer()
... | using Mono.Cecil;
using Mono.Cecil.Cil;
using Silk.Loom;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Weave
{
class LabelReplacer : InstructionVisitor
{
Dictionary<Tuple<MethodBody, string>, Instruction> Labels;
public LabelReplacer()
... | mit | C# |
df6485672ffff358500d20450b386d23c0b8663e | Remove empty navigation list in anydiff module (invalid HTML). | rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac | templates/anydiff.cs | templates/anydiff.cs | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav"></div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.changeset_href ?>" method="get">
<table>
<tr>
<th><label for="old_path">From:</... | <?cs include "header.cs"?>
<div id="ctxtnav" class="nav">
<h2>Navigation</h2><?cs
with:links = chrome.links ?>
<ul>
</ul><?cs
/with ?>
</div>
<div id="content" class="changeset">
<div id="title">
<h1>Select Base and Target for Diff:</h1>
</div>
<div id="anydiff">
<form action="<?cs var:anydiff.change... | bsd-3-clause | C# |
669c708a14a317addd4003acac94e3f04f4eb8a3 | Remove name from assembly info; this looks silly on NuGet. | DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DanTup's DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DanTup's DartAnalysis.NET: A .NET wrapper around Google's Analysis Server f... | mit | C# |
cc112adb46f3f81ad794b0eee2db42c6d1572236 | Make image loading independent of the working directory. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/Impl/ImagesService.cs | src/MitternachtBot/Services/Impl/ImagesService.cs | using System;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using NLog;
namespace Mitternacht.Services.Impl
{
public class ImagesService : IImagesService
{
private readonly Logger _log;
private static readonly string BasePath = Path.Combine(Path.GetDirectoryName(typeo... | using System;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using NLog;
namespace Mitternacht.Services.Impl
{
public class ImagesService : IImagesService
{
private readonly Logger _log;
private const string BasePath = "data/images/";
private const string Head... | mit | C# |
64b304dd52b7ea9c5d45626bb356b20e0956735a | Fix build break | dolkensp/node.net,GearedToWar/NuGet2,jmezach/NuGet2,oliver-feng/nuget,jholovacs/NuGet,jmezach/NuGet2,ctaggart/nuget,chocolatey/nuget-chocolatey,xoofx/NuGet,mrward/nuget,indsoft/NuGet2,mono/nuget,mrward/NuGet.V2,mrward/nuget,jholovacs/NuGet,mrward/nuget,antiufo/NuGet2,rikoe/nuget,alluran/node.net,xoofx/NuGet,mrward/nuge... | src/CommandLine/DebugHelper.cs | src/CommandLine/DebugHelper.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NuGet
{
internal static class DebugHelper
{
[Conditional("DEBUG")]
internal static void WaitForAttach(ref string[] arg... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NuGet
{
internal static class DebugHelper
{
[Conditional("DEBUG")]
internal static void WaitForAttach(ref string[] arg... | apache-2.0 | C# |
b6ec45a334df4f1ea39d836181db5bf52604d024 | check CI build v1 | Orbmu2k/nvidiaProfileInspector,Orbmu2k/nvidiaProfileInspector | nspector/Properties/AssemblyInfo.cs | nspector/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: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
b0624fe98d88bc3d48d04680c9b4b9aeb95f68bb | Reorganize Update() checks | BrianErikson/KSP | HUDTweaks/NavballUpDefault/NavballUpDefault.cs | HUDTweaks/NavballUpDefault/NavballUpDefault.cs | // LICENSE: Apache License Version 2.0
// By: BrianErikson
using KSP.UI.Screens.Flight;
using KSP;
namespace NavballUpDefault
{
[KSPAddon(KSPAddon.Startup.Flight, false)]
public class NavballUpDefault : UnityEngine.MonoBehaviour
{
NavBallToggle navToggle;
bool showing = false;
vo... | // LICENSE: Apache License Version 2.0
// By: BrianErikson
using KSP.UI.Screens.Flight;
using KSP;
namespace NavballUpDefault
{
[KSPAddon(KSPAddon.Startup.Flight, false)]
public class NavballUpDefault : UnityEngine.MonoBehaviour
{
NavBallToggle navToggle;
bool showing = false;
vo... | apache-2.0 | C# |
0d45d0ed0ab0075922dbfa49e3b9f02c5163da48 | Update assembly version | igece/SoxSharp | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos atributos para modificar la información
// asociada con un ensamblado.
[assembly: AssemblyTitle(... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos atributos para modificar la información
// asociada con un ensamblado.
[assembly: AssemblyTitle(... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.