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
484ad116f0a5f62a4e28a02adf623d72e94cc05a
Remove dependency on admin url mapper
ronnieholm/Bugfree.Spo.Cqrs
src/Bugfree.Spo.Cqrs.Core/Queries/GetTenantSiteCollections.cs
src/Bugfree.Spo.Cqrs.Core/Queries/GetTenantSiteCollections.cs
using Bugfree.Spo.Cqrs.Core.Utilities; using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using System.Collections.Generic; using System.Linq; namespace Bugfree.Spo.Cqrs.Core.Queries { public class GetTenantSiteCollections : Query { public GetTenantSiteCollect...
using Bugfree.Spo.Cqrs.Core.Utilities; using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using System; using System.Collections.Generic; using System.Linq; namespace Bugfree.Spo.Cqrs.Core.Queries { public class GetTenantSiteCollections : Query { public GetTen...
bsd-2-clause
C#
f8d97791fbad8995154bc294b05b18f4a45f83f4
Handle unknown user/group IDs
FubarDevelopment/FtpServer
src/FubarDev.FtpServer.FileSystem.Unix/UnixFileSystemEntry.cs
src/FubarDev.FtpServer.FileSystem.Unix/UnixFileSystemEntry.cs
// <copyright file="UnixFileSystemEntry.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> using System; using System.Globalization; using JetBrains.Annotations; using Mono.Unix; namespace FubarDev.FtpServer.FileSystem.Unix { internal abstract...
// <copyright file="UnixFileSystemEntry.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> using System; using JetBrains.Annotations; using Mono.Unix; namespace FubarDev.FtpServer.FileSystem.Unix { internal abstract class UnixFileSystemEntry :...
mit
C#
2ce0bd81975e91cd7e18d1c44d3aad90e2b99c92
remove unfinished comment
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework
osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs
osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using System.Threading; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using System.Threading; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { ...
mit
C#
658aa526f382a8e7cd3f9c84450ab6ffd30284de
Improve orientation tests + add quad test
EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Primitives/Vector2ExtensionsTest.cs
osu.Framework.Tests/Primitives/Vector2ExtensionsTest.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 NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Primitives; using osuTK; namespace osu.Framework.Tests.Primitives { [...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Graphics; using osuTK; namespace osu.Framework.Tests.Primitives { [TestFixture] public class Vector2ExtensionsTest ...
mit
C#
5ac8ba8f71f5d74eaa21bd3a9e7d7ec73e0e8b67
add AsyncController
zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning
my_aspnetmvc_learning/Controllers/AsyncController.cs
my_aspnetmvc_learning/Controllers/AsyncController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace my_aspnetmvc_learning.Controllers { public class AsyncController : Controller { // GET: Async [AsyncTimeou...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace my_aspnetmvc_learning.Controllers { public class AsyncController : Controller { // GET: Async public ActionResult Index() { return View(); } } }
mit
C#
d8aa5a8042a73b0c19b9c32cef38782cd9074983
Fix bug where loader fade would not stop
cemrich/From-Outer-Space
Assets/Scripts/Loader.cs
Assets/Scripts/Loader.cs
using UnityEngine; using System.Collections; using System; [RequireComponent (typeof(CanvasGroup))] public class Loader : MonoBehaviour { [Tooltip ("Time in seconds to fade in/out the loader.")] public float fadeSpeed = 1f; private CanvasGroup canvasGroup; private IEnumerator currentFade; public void Show () ...
using UnityEngine; using System.Collections; using System; [RequireComponent (typeof(CanvasGroup))] public class Loader : MonoBehaviour { [Tooltip ("Time in seconds to fade in/out the loader.")] public float fadeSpeed = 1f; private CanvasGroup canvasGroup; public void Show () { Debug.Log ("[Loader] Show"); ...
mit
C#
a695b3d9d65a4d759dc5ef56f05658f67e245b77
Remove deprecated use of GtkTreeView.RulesHint.
PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta
Pinta/Dialogs/VersionInformationTabPage.cs
Pinta/Dialogs/VersionInformationTabPage.cs
// VersionInformationTabPage.cs // // Author: // Viktoria Dudka (viktoriad@remobjects.com) // // Copyright (c) 2009 RemObjects Software // // 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...
// VersionInformationTabPage.cs // // Author: // Viktoria Dudka (viktoriad@remobjects.com) // // Copyright (c) 2009 RemObjects Software // // 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...
mit
C#
e7a80a43f1eb27b00004a671d65341d54d969a8a
Handle exceptions in isolated storage
Teleopti/signalr-signalr-messagebus,Teleopti/signalr-signalr-messagebus
Contrib.SignalR.SignalRMessageBus/Contrib.SignalR.SignalRMessageBus.Backend/IdStorage.cs
Contrib.SignalR.SignalRMessageBus/Contrib.SignalR.SignalRMessageBus.Backend/IdStorage.cs
using System; using System.IO; using System.IO.IsolatedStorage; using System.Security; using System.Threading; namespace Contrib.SignalR.SignalRMessageBus.Backend { public class IdStorage { private const string FileName = "LastKnownId.key"; public void OnStart() { if (attemptIsolatedStorageOperation(tryLo...
using System.IO; using System.IO.IsolatedStorage; using System.Threading; namespace Contrib.SignalR.SignalRMessageBus.Backend { public class IdStorage { private const string FileName = "LastKnownId.key"; public void OnStart() { var store = IsolatedStorageFile.GetUserStoreForAssembly(); if (store.FileEx...
mit
C#
2404f5ee3005a47d4e0bd49f827802ce61761626
Fix TableListPage
atata-framework/atata-samples
Performance.ControlList/AtataSamples.Performance.ControlList/Components/TableListPage.cs
Performance.ControlList/AtataSamples.Performance.ControlList/Components/TableListPage.cs
using System.Collections.Generic; using Atata; namespace AtataSamples.Performance.ControlList { using _ = TableListPage; [Url("table-list")] public class TableListPage : Page<_> { public ItemsContainer Items { get; set; } [ControlDefinition("div", ContainingClass = "table-list", Comp...
using System.Collections.Generic; using Atata; namespace AtataSamples.Performance.ControlList { using _ = TableListPage; [Url("table-list")] public class TableListPage : Page<_> { public ItemsContainer Items { get; set; } [ControlDefinition("div", ContainingClass = "table-list", Comp...
apache-2.0
C#
75ed0b6dd13bd30a18f52ec4edf521488e9ed65b
Update version numbers in CommonAssemblyInfo.cs to 4.1 and 3.1 to match nuget package versions.
yonglehou/WebApi,abkmr/WebApi,LianwMS/WebApi,chimpinano/WebApi,chimpinano/WebApi,abkmr/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,scz2011/WebApi,scz2011/WebApi,congysu/WebApi,lungisam/WebApi,yonglehou/WebApi,LianwMS/WebApi,congysu/WebApi,lewischeng-ms/WebApi
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Microsoft Open Technologies, Inc.")] [assembly: Assembl...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Microsoft Open Technologies, Inc.")] [assembly: Assembl...
mit
C#
a10e59ea9b5a3e11da3e5280b92b97ca4ae7d334
Update the import image type contract
DimensionDataCBUSydney/Compute.Api.Client
ComputeClient/Compute.Contracts/Image/ImportImageType.cs
ComputeClient/Compute.Contracts/Image/ImportImageType.cs
namespace DD.CBU.Compute.Api.Contracts.Image { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serializat...
namespace DD.CBU.Compute.Api.Contracts.Image { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serializat...
mit
C#
0f8bef1041334ddd5d03eafcb495e4d4403109d2
Fix system menu position for CaptionIcon.
Grabacr07/MetroRadiance
source/MetroRadiance/UI/Controls/CaptionIcon.cs
source/MetroRadiance/UI/Controls/CaptionIcon.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using MetroRadiance.Interop; using MetroRadiance.Interop.Win32; namespace MetroRadiance.UI.Controls { public ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Interop; using MetroRadiance.Interop.Win32; namespace MetroRadiance.UI.Controls { public class CaptionIcon : Button {...
mit
C#
b66e6748ccbefd514e4866cb23e46daec4e41f83
exit if app already started
ZaWertun/ImapTray
Program.cs
Program.cs
using System; using System.Threading; using System.Windows.Forms; namespace ImapTray { static class Program { [STAThread] static void Main() { bool result; var mutex = new Mutex(true, "ImapTray", out result); if (!result) { ...
using System; using System.Windows.Forms; namespace ImapTray { static class Program { [STAThread] static void Main() { Log.Info("Application starting up..."); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); ...
mit
C#
7b277392d4983afeaa06cd398255f46ff661039c
Add debug mode
mitchfizz05/DangerousPanel,mitchfizz05/DangerousPanel,mitchfizz05/DangerousPanel
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DangerousPanel_Server { class Program { static bool Debug = true; static void Log(string text, ConsoleColor color = ConsoleColor.White, bool debug = false) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DangerousPanel_Server { class Program { static void Log(string text, ConsoleColor color) { ConsoleColor oldColor = Console.ForegroundColor; Cons...
mit
C#
8a1c0322fdbc15bc1fe6bf14308e142218085c96
convert TestDescriptionAndNoDueDate
jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk
ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs
ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ForgetTheMilk.Controllers; using NUnit.Framework; namespace ConsoleVerification { public class CreateTaskTests : AssertionHelper { [Test] public void TestDescriptionAndNoDueDate() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ForgetTheMilk.Controllers; using NUnit.Framework; namespace ConsoleVerification { public class CreateTaskTests : AssertionHelper { [Test] public void TestDescriptionAndNoDueDate() { ...
apache-2.0
C#
3bfe47619ff025aab350e6a4f4236c95c6890f8b
teste d
Thiago-Caramelo/patchsearch
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace PatchSearch { // teste teste class Program { static void Main(string[] args) { if (args == null || args.Length == 0) { return; } ...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace PatchSearch { // teste teste class Program { static void Main(string[] args) { if (args == null || args.Length == 0) { return; } ...
mit
C#
0cd77d4a845a3b2f07dac024b9d6655bc3c30000
Fix help message
teelahti/AzureServiceBusSharedAccessSignatureGenerator
Program.cs
Program.cs
using System; using System.IO; using System.Reflection; using Microsoft.ServiceBus; namespace AzureServiceBusSharedAccessSignatureGenerator { class Program { static void Main(string[] args) { if (args.Length != 3) { PrintHelps(); ...
using System; using System.IO; using System.Reflection; using Microsoft.ServiceBus; namespace AzureServiceBusSharedAccessSignatureGenerator { class Program { static void Main(string[] args) { if (args.Length != 3) { PrintHelps(); ...
mit
C#
8b36a13cad66f42783c860a29c532658571fc032
Test for deploy
Quilt4/Quilt4.Service,Quilt4/Quilt4.Service,Quilt4/Quilt4.Service
src/Quilt4.Api/Startup.cs
src/Quilt4.Api/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Framework.DependencyInjection; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; using Quilt4.Api....
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Framework.DependencyInjection; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; using Quilt4.Api.Business; using Quilt4.Api.In...
mit
C#
ff1f87f3664535f523ee5fdff5c8b1c007dbed30
Remove invalid Scripts call
mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager
SupportManager.Web/Views/PhoneNumber/Create.cshtml
SupportManager.Web/Views/PhoneNumber/Create.cshtml
@using SupportManager.Web.Infrastructure @model SupportManager.Web.Features.PhoneNumber.PhoneNumberCreateCommand @{ ViewBag.Title = "Add phone number"; } <h2>Add phone number</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <fieldset> <legend>P...
@using SupportManager.Web.Infrastructure @model SupportManager.Web.Features.PhoneNumber.PhoneNumberCreateCommand @{ ViewBag.Title = "Add phone number"; } <h2>Add phone number</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <fieldset> <legend>P...
mit
C#
5c165aab03bd784850120c6bf0f917e01b6acd03
Clean some unnecessary event
afisd/jovice,afisd/jovice
Test/Test.cs
Test/Test.cs
using Aphysoft.Share; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Aphysoft.Test { public class Test : Node { #region Constructors public Test() : base("TEST") { ...
using Aphysoft.Share; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Aphysoft.Test { public class Test : Node { #region Constructors public Test() : base("TEST") { ...
mit
C#
71a6b222ae85ed6e26c84f5b68a76b4287e816fd
Add IfTrue for fluent composition of bool
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/BoolExtensions.cs
SolidworksAddinFramework/BoolExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LanguageExt; using static LanguageExt.Prelude; namespace SolidworksAddinFramework { public static class BoolExtensions { public static Option<T> IfTrue<T>(this bool v, Func<T> fn) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LanguageExt; using static LanguageExt.Prelude; namespace SolidworksAddinFramework { public static class BoolExtensions { public static Option<T> IfTrue<T>(this bool v, Func<T> fn) ...
mit
C#
63a3a5e0d88f3f5bdf76d992c96d902528a9880f
Set current HTTP request when sending Status Code exceptions from WebApi
nelsonsar/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,articulate/raygun4net,tdiehl/raygun4net,ddunkin/raygun4net,articulate/raygun4net,ddunkin/raygun4net
Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs
Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs
using System; using System.Net; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; namespace Mindscape.Raygun4Net.WebApi { public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute { private readonly IRaygunWebApiClientProvider _clientCreator; internal RaygunWe...
using System; using System.Net; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; namespace Mindscape.Raygun4Net.WebApi { public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute { private readonly IRaygunWebApiClientProvider _clientCreator; internal RaygunWe...
mit
C#
2045188f455701780d23e801f3cfea1399874011
Add FromHexString tests.
BluewireTechnologies/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,damiensawyer/cassette
src/Cassette.UnitTests/Utilities/ByteArrayExtensions.cs
src/Cassette.UnitTests/Utilities/ByteArrayExtensions.cs
using Should; using Xunit; namespace Cassette.Utilities { public class ByteArrayExtensions_ToHexString_Tests { [Fact] public void Empty_array_returns_empty_string() { new byte[] { }.ToHexString().ShouldEqual(""); } [Fact] public void _...
using Should; using Xunit; namespace Cassette.Utilities { public class ByteArrayExtensions_ToHexString_tests { [Fact] public void Empty_array_returns_empty_string() { new byte[] { }.ToHexString().ShouldEqual(""); } [Fact] public void _...
mit
C#
e127e01c4754d2f8c6cb7f90dac2f5f9885f9db7
Update RequiresStatelessAuth.cs
jchannon/Owin.StatelessAuth,jchannon/Owin.StatelessAuth,jchannon/Owin.StatelessAuth
src/Owin.StatelessAuth/RequiresStatelessAuth.cs
src/Owin.StatelessAuth/RequiresStatelessAuth.cs
namespace Owin.RequiresStatelessAuth { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; public class RequiresStatelessAuth { private readonly ITokenValidator tokenValidator; private readonly Func<IDictionary<string, obje...
namespace Owin.RequiresStatelessAuth { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; public class RequiresStatelessAuth { private readonly ITokenValidator tokenValidator; private readonly Func<IDictionary<string, obje...
mit
C#
50c6485eefa466d205a2b23b446bc3fc723cb01d
Correct the name of this test
Benrnz/BudgetAnalyser
Rees.TangyFruitMapper.UnitTest/Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix.cs
Rees.TangyFruitMapper.UnitTest/Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix.cs
using Rees.TangyFruitMapper.UnitTest.TestData; using Xunit; using Xunit.Abstractions; namespace Rees.TangyFruitMapper.UnitTest { public class Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix : MappingGeneratorScenarios<DtoType4, ModelType4_UnderscoreBackingField> { public Scenario4_PropertiesWi...
using Rees.TangyFruitMapper.UnitTest.TestData; using Xunit; using Xunit.Abstractions; namespace Rees.TangyFruitMapper.UnitTest { public class Scenario4_PropertiesWithBackingFieldAndUnderscorePrefix : MappingGeneratorScenarios<DtoType4, ModelType4_UnderscoreBackingField> { public Scenario4_PropertiesWi...
mit
C#
6d57b0b93657c773f5ceaa429a9326b395a577fd
Update version to 1.1.1-beta3
bungeemonkee/Transformerizer
Transformerizer/Properties/AssemblyInfo.cs
Transformerizer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // 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("Transformerizer")] [assembly: AssemblyDescription("Tra...
using System.Reflection; using System.Resources; // 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("Transformerizer")] [assembly: AssemblyDescription("Tra...
mit
C#
75c6dd0c0ae2d5e9d2415480f6ab0e11cb66dba0
Add AchivementType enum
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/entities/EmployeeAchivementInfo.cs
R7.University/entities/EmployeeAchivementInfo.cs
using System; using System.Text.RegularExpressions; using DotNetNuke.Data; using DotNetNuke.ComponentModel.DataAnnotations; using DotNetNuke.Entities.Portals; using DotNetNuke.Entities.Users; namespace R7.University { public enum AchivementType { Achivement = 'A', Education = 'E', Training = 'T' ...
using System; using System.Text.RegularExpressions; using DotNetNuke.Data; using DotNetNuke.ComponentModel.DataAnnotations; using DotNetNuke.Entities.Portals; using DotNetNuke.Entities.Users; namespace R7.University { // More attributes for class: // Set caching for table: [Cacheable("R7.University_Divisi...
agpl-3.0
C#
b33fbd46f057ee4b1e0e62ca1dfab09ed0cdb76c
update version and copyright
daviddumas/pgina,MutonUfoAI/pgina,MutonUfoAI/pgina,MutonUfoAI/pgina,daviddumas/pgina,daviddumas/pgina
Plugins/Kerberos/Kerberos/Properties/AssemblyInfo.cs
Plugins/Kerberos/Kerberos/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("Ker...
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("Ker...
bsd-3-clause
C#
f48cc01d27a1f3e1d18e03c2bfe90da68d902b2e
Fix a bug or two
kjac/FormEditor,kjac/FormEditor,kjac/FormEditor
Source/Solution/FormEditor/Fields/MemberInfoField.cs
Source/Solution/FormEditor/Fields/MemberInfoField.cs
using System; using System.Collections.Generic; using Umbraco.Core.Models; using Umbraco.Web; namespace FormEditor.Fields { public class MemberInfoField : FieldWithValue, IEmailField { public override string Type { get { return "core.memberinfo"; } } public override string PrettyName { get { return...
using System; using System.Collections.Generic; using Umbraco.Core.Models; using Umbraco.Web; namespace FormEditor.Fields { public class MemberInfoField : FieldWithValue, IEmailField { public override string Type { get { return "core.memberinfo"; } } public override string PrettyName { get { return...
mit
C#
feb0546f1fab4510516dce3a121a762af4c328e6
Update ICommand.cs
DarkIrata/WinCommandPalette
WinCommandPalette/PluginSystem/ICommand.cs
WinCommandPalette/PluginSystem/ICommand.cs
using System.Windows.Controls; namespace WinCommandPalette.PluginSystem { public interface ICommand { string Name { get; } string Description { get; } bool RunInUIThread { get; } void Execute(); } }
using System.Windows.Controls; namespace WinCommandPalette.PluginSystem { public interface ICommand { string Name { get; } string Description { get; } bool RunInUIThread { get; } bool RunAsAdmin { get; } void Execute(); } }
mit
C#
1d39a2a0c8046983e7c4d287ae866814231963b0
Add CamelCasePropertyNamesContractResolver to serializer
huysentruitw/simple-json-api
src/SimpleJsonApi/Configuration/JsonApiConfiguration.cs
src/SimpleJsonApi/Configuration/JsonApiConfiguration.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace SimpleJsonApi.Configuration { public sealed class JsonApiConfiguration { public const string JsonApiMediaType = "application/vnd.api+json"; public JsonApiConfiguration() ...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace SimpleJsonApi.Configuration { public sealed class JsonApiConfiguration { public const string JsonApiMediaType = "application/vnd.api+json"; public JsonApiConfiguration() { SerializerSettings.C...
apache-2.0
C#
6e910babd10d1492a5c25a5211548b06944b775c
Simplify startup class
stuartleeks/tinyaspnet5
Startup.cs
Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Extensions.DependencyInjection; namespace EmptyWeb { public class Startup { public void Configure...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Extensions.DependencyInjection; namespace EmptyWeb { public class Startup { public Startup(IHosti...
mit
C#
a0d245f9ecd995226118db8389499f1ce0d2b383
fix test outputHelper exception
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
test/WeihanLi.Common.Test/AspectTest/TestOutputInterceptor.cs
test/WeihanLi.Common.Test/AspectTest/TestOutputInterceptor.cs
using System; using System.Diagnostics; using System.Threading.Tasks; using WeihanLi.Common.Aspect; using WeihanLi.Extensions; using Xunit.Abstractions; namespace WeihanLi.Common.Test.AspectTest { public class TestOutputInterceptor : IInterceptor { private readonly ITestOutputHelper _output; ...
using System; using System.Threading.Tasks; using WeihanLi.Common.Aspect; using WeihanLi.Extensions; using Xunit.Abstractions; namespace WeihanLi.Common.Test.AspectTest { public class TestOutputInterceptor : IInterceptor { private readonly ITestOutputHelper _output; public TestOutputIntercept...
mit
C#
4f980de4b7a02649580da4d2ec56ecd97eb18489
Add view for displaying event details
samaritanevent/Samaritans,samaritanevent/Samaritans
Samaritans/Samaritans/Views/Event/Details.cshtml
Samaritans/Samaritans/Views/Event/Details.cshtml
@model Samaritans.Models.EventViewModel @{ ViewBag.Title = Model.Name; } <article class="event"> <form> <h2>@M<input type="type" name="name" value="odel.Name</h2> <div>@Model.EventTime</div> <div>@Model.Attendance</div> <p>@Model.Purpose</p> <h3>Bring:</h3> @for (var i = 0; i < Model.Resources.Length...
@model Samaritans.Models.EventViewModel @{ ViewBag.Title = Model.Name; } <h2>@Model.Name</h2>
mit
C#
483bdc5a358383a2cbdf7635aef01cd2d7c0b9e1
Fix a bug in VirtualButtonsFromCode
mfep/Duality.InputPlugin
Source/Code/CorePlugin/Example/VirtualButtonsFromCode.cs
Source/Code/CorePlugin/Example/VirtualButtonsFromCode.cs
using Duality; using Duality.Editor; using Duality.Input; namespace MFEP.Duality.Plugins.InputPlugin.Example { [EditorHintCategory (ResNames.EditorCategory)] public class VirtualButtonsFromCode : Component, ICmpUpdatable { public void OnUpdate () { if (DualityApp.Keyboard.KeyHit (Key.Number1)) AddButtons ()...
using Duality; using Duality.Editor; using Duality.Input; namespace MFEP.Duality.Plugins.InputPlugin.Example { [EditorHintCategory (ResNames.EditorCategory)] public class VirtualButtonsFromCode : Component, ICmpUpdatable { public void OnUpdate () { if (DualityApp.Keyboard[Key.Number1]) AddButtons (); if ...
mit
C#
3607568ec5165ce05e709c233306ed93fbeaf48f
Add constructor that accepts DbConnection and bool contextOwnsConnection
abdllhbyrktr/module-zero-core-template,abdllhbyrktr/module-zero-core-template,abdllhbyrktr/module-zero-core-template,abdllhbyrktr/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,abdllhbyrktr/module-zero-core-template,aspnetboilerplate/module-zero-core-te...
src/AbpCompanyName.AbpProjectName.EntityFramework/EntityFramework/AbpProjectNameDbContext.cs
src/AbpCompanyName.AbpProjectName.EntityFramework/EntityFramework/AbpProjectNameDbContext.cs
using System.Data.Common; using System.Data.Entity; using Abp.Zero.EntityFramework; using Microsoft.Extensions.Configuration; using AbpCompanyName.AbpProjectName.Authorization.Roles; using AbpCompanyName.AbpProjectName.Configuration; using AbpCompanyName.AbpProjectName.MultiTenancy; using AbpCompanyName.AbpProjectName...
using System.Data.Common; using System.Data.Entity; using Abp.Zero.EntityFramework; using Microsoft.Extensions.Configuration; using AbpCompanyName.AbpProjectName.Authorization.Roles; using AbpCompanyName.AbpProjectName.Configuration; using AbpCompanyName.AbpProjectName.MultiTenancy; using AbpCompanyName.AbpProjectName...
mit
C#
aabb85744ea7b1a04f8cb1c51a74a964ad4df7ca
Update assembly version of sharpmake to the one from the *next* intended release, 0.7.3, that way I might not forget to update it...
ubisoftinc/Sharpmake,ubisoftinc/Sharpmake,ubisoftinc/Sharpmake
Sharpmake.Application/Properties/AssemblyInfo.cs
Sharpmake.Application/Properties/AssemblyInfo.cs
// Copyright (c) 2017 Ubisoft Entertainment // // 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 la...
// Copyright (c) 2017 Ubisoft Entertainment // // 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 la...
apache-2.0
C#
9a4bea51dcb2f4020125b690c2d3a0f13fb1bcb4
update reduce tests
amiralles/abacus,amiralles/abacus
src/test/ReduceFixture.cs
src/test/ReduceFixture.cs
#pragma warning disable 414, 219 namespace Abacus.Test { using System; using System.Collections.Generic; using System.Data; using System.Reflection; using System.Linq.Expressions; using static Abacus.Utils; using static Abacus.Error; using static System.Linq.Expressions.Expression; using static Interpreter; u...
#pragma warning disable 414, 219 namespace Abacus.Test { using System; using System.Collections.Generic; using System.Data; using System.Reflection; using System.Linq.Expressions; using static Abacus.Utils; using static Abacus.Error; using static System.Linq.Expressions.Expression; using static Interpreter; u...
mit
C#
bcac5548f07e02685855d8ea2d5e17b0882ed75f
add alternative influxdb config method
MetaG8/Metrics.NET,ntent-ad/Metrics.NET,Liwoj/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,etishor/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metri...
Src/Metrics/Influxdb/InfluxdbConfigExtensions.cs
Src/Metrics/Influxdb/InfluxdbConfigExtensions.cs
using System; using Metrics.Influxdb; using Metrics.Reports; namespace Metrics { public static class InfluxdbConfigExtensions { public static MetricsReports WithInfluxDb(this MetricsReports reports, string host, int port, string user, string pass, string database, TimeSpan interval) { ...
using System; using Metrics.Influxdb; using Metrics.Reports; namespace Metrics { public static class InfluxdbConfigExtensions { public static MetricsReports WithInfluxDb(this MetricsReports reports, Uri influxdbUri, TimeSpan interval) { return reports.WithReport(new InfluxdbReport(...
apache-2.0
C#
82c761b819ce2396180875d17c6f2e1e7be55c98
update S_PARTY_MEMBER_INFO
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TeraPacketParser/Messages/S_PARTY_MEMBER_INFO.cs
TeraPacketParser/Messages/S_PARTY_MEMBER_INFO.cs
using System; using System.Collections.Generic; using TeraDataLite; namespace TeraPacketParser.Messages { public class S_PARTY_MEMBER_INFO : ParsedMessage { public uint Id { get; } public List<GroupMemberData> Members { get; } public S_PARTY_MEMBER_INFO(TeraMessageReader reader) : base...
using System; using System.Collections.Generic; using TeraDataLite; namespace TeraPacketParser.Messages { public class S_PARTY_MEMBER_INFO : ParsedMessage { public uint Id { get; } public List<GroupMemberData> Members { get; } public S_PARTY_MEMBER_INFO(TeraMessageReader reader) : b...
mit
C#
6b7007e6b716bf0cf3a16a9242ac1a0945630360
Change app description.
da2x/EdgeDeflector
EdgeDeflector/Properties/AssemblyInfo.cs
EdgeDeflector/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("Edg...
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("Edg...
mit
C#
ab2c969122e78f4a9f3d2c87d4463fff89f88c83
Add private channel types
UselessToucan/osu,DrabWeb/osu,naoey/osu,peppy/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,naoey/osu,johnneijzen/osu,peppy/osu-new,2yangk23/osu,naoey/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,NeoAdonis/osu,EVAST9919/...
osu.Game/Online/Chat/ChannelType.cs
osu.Game/Online/Chat/ChannelType.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Online.Chat { public enum ChannelType { Public, Private, Multiplayer, Spectator, Temporary, PM...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Online.Chat { public enum ChannelType { Public, Multiplayer, Spectator, Temporary, PM, Group, ...
mit
C#
1b2b42bb8a7cc2d3b510ef9d45ef075187b832c0
Update `CountryStatistics` to use `code` for country enum
peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu
osu.Game/Users/CountryStatistics.cs
osu.Game/Users/CountryStatistics.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. #nullable disable using Newtonsoft.Json; namespace osu.Game.Users { public class CountryStatistics { [JsonProperty(@"code")] public Country Cou...
// 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. #nullable disable using Newtonsoft.Json; namespace osu.Game.Users { public class CountryStatistics { [JsonProperty] public Country Country; ...
mit
C#
303620e8d85f35df58b08b0048a3d5a8a49cc53d
Add more registrations for what uris should be ignored out of the box
pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimp...
src/Glimpse.Agent.Web/GlimpseAgentWebOptionsSetup.cs
src/Glimpse.Agent.Web/GlimpseAgentWebOptionsSetup.cs
using System; using Glimpse.Agent.Web.Options; using Microsoft.Framework.OptionsModel; namespace Glimpse.Agent.Web { public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions> { public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions) { ...
using System; using Glimpse.Agent.Web.Options; using Microsoft.Framework.OptionsModel; namespace Glimpse.Agent.Web { public class GlimpseAgentWebOptionsSetup : ConfigureOptions<GlimpseAgentWebOptions> { public GlimpseAgentWebOptionsSetup() : base(ConfigureGlimpseAgentWebOptions) { ...
mit
C#
e8180ab153901844621d0877918dd918a43c9c73
Add ToString() method to message for better debugging
peppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu
osu.Game/Online/Chat/Message.cs
osu.Game/Online/Chat/Message.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using Newtonsoft.Json; using osu.Game.Users; namespace osu.Game.Online.Chat { public class Message : IComparable<Mess...
// 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 Newtonsoft.Json; using osu.Game.Users; namespace osu.Game.Online.Chat { public class Message : IComparable<Mess...
mit
C#
5874e71e043e8b8b4600aea4881657aac71d775a
Update IPointToString converter to use display Coordinate Type
Esri/visibility-addin-dotnet
source/ArcMapAddinVisibility/ArcMapAddinVisibility/ValueConverters/IPointToStringConverter.cs
source/ArcMapAddinVisibility/ArcMapAddinVisibility/ValueConverters/IPointToStringConverter.cs
// Copyright 2016 Esri // // 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 writin...
// Copyright 2016 Esri // // 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 writin...
apache-2.0
C#
f53350a90d20ebace9bc7b86cba5b7db930f202f
Fix stuck locks
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LmpClient/Harmony/KscVesselMarkers_SpawnVesselMarkers.cs
LmpClient/Harmony/KscVesselMarkers_SpawnVesselMarkers.cs
using Harmony; using KSP.UI.Screens; using LmpClient.Systems.Lock; using LmpClient.Systems.VesselRemoveSys; using LmpCommon.Enums; using System.Collections.Generic; // ReSharper disable All namespace LmpClient.Harmony { /// <summary> /// This harmony patch is intended to hide the vessel markers from other co...
using System.Collections.Generic; using Harmony; using KSP.UI.Screens; using LmpClient.Systems.Lock; using LmpClient.Systems.VesselRemoveSys; using LmpCommon.Enums; // ReSharper disable All namespace LmpClient.Harmony { /// <summary> /// This harmony patch is intended to hide the vessel markers from other co...
mit
C#
fadd76cc159d70c019e7337eb4d22fae3bcad826
Fix negative hue values
treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk
NET/API/Treehopper.Libraries/Utilities/ColorConverter.cs
NET/API/Treehopper.Libraries/Utilities/ColorConverter.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace Treehopper.Libraries.Utilities { public static class ColorConverter { /// <summary> /// Construct a color from HSL values /// </summary> /// <param name="hue">The hue, in d...
using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace Treehopper.Libraries.Utilities { public static class ColorConverter { /// <summary> /// Construct a color from HSL values /// </summary> /// <param name="hue">The hue, in d...
mit
C#
925747322283226f86fc4da28d3d7930fb9324ec
Enable multi-viewports by default
zwcloud/ImGui,zwcloud/ImGui,zwcloud/ImGui
src/ImGui/GUIConfiguration.cs
src/ImGui/GUIConfiguration.cs
namespace ImGui { internal class GUIConfiguration { // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. public ImGuiConfigFlags ConfigFlags = ImGuiConfigFlags.ViewportsEnable;// = 0 public ImGuiBackendFlags BackendFlags; // = 0 ...
namespace ImGui { internal class GUIConfiguration { // See ImGuiConfigFlags_ enum. Set by user/application. Gamepad/keyboard navigation options, etc. public ImGuiConfigFlags ConfigFlags;// = 0 public ImGuiBackendFlags BackendFlags; // = 0 // See ImGuiBackendFlag...
agpl-3.0
C#
1ba7ea958073b8c90cb8bf9643926ebaa8bae233
Remove obsolete code (deserialization of generics via dynamics)
ctrlpprint/PivotSharp
src/PivotSharp/PivotConfig.cs
src/PivotSharp/PivotConfig.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; using PivotSharp.Aggregators; using PivotSharp.Filters; namespace PivotSharp { [JsonObject(MemberSerialization.OptIn)] public class PivotConfig { [JsonProperty] public IList<string> Rows { get; set; } [JsonProperty] public IList<string>...
using System; using System.Collections.Generic; using Newtonsoft.Json; using PivotSharp.Aggregators; using PivotSharp.Filters; namespace PivotSharp { [JsonObject(MemberSerialization.OptIn)] public class PivotConfig { [JsonProperty] public IList<string> Rows { get; set; } [JsonProperty] public IList<string>...
mit
C#
047ae487d5e62783e6f0856b2939f1d45638d377
Increase thread pool min threads.
mysql-net/MySqlConnector,mysql-net/MySqlConnector
tests/SideBySide/DatabaseFixture.cs
tests/SideBySide/DatabaseFixture.cs
using System; #if NETCOREAPP1_1_2 using System.Reflection; #endif using System.Threading; using MySql.Data.MySqlClient; namespace SideBySide { public class DatabaseFixture : IDisposable { public DatabaseFixture() { // increase the number of worker threads to reduce number of spurious failures from threadpool ...
using System; using MySql.Data.MySqlClient; namespace SideBySide { public class DatabaseFixture : IDisposable { public DatabaseFixture() { var csb = AppConfig.CreateConnectionStringBuilder(); var connectionString = csb.ConnectionString; var database = csb.Database; csb.Database = ""; using (var d...
mit
C#
f0efa2806e6d7fda25c29c14c903009e28812684
Make test base class abstract
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/test/src/CSharp/Daemon/Stages/Analysis/CSharpHighlightingTestBase.cs
resharper/resharper-unity/test/src/CSharp/Daemon/Stages/Analysis/CSharpHighlightingTestBase.cs
using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.FeaturesTestFramework.Daemon; using JetBrains.ReSharper.Psi; namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stages.Analysis { public abstract class CSharpHighlightingTestBase<T> : CS...
using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.FeaturesTestFramework.Daemon; using JetBrains.ReSharper.Psi; namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stages.Analysis { public class CSharpHighlightingTestBase<T> : CSharpHighl...
apache-2.0
C#
d729c0008923d827ae959b2767f12d3e9610640f
fix dokan version parsing
fedorg/win-sshfs,fedorg/win-sshfs
Sshfs/Sshfs/AboutForm.cs
Sshfs/Sshfs/AboutForm.cs
using System; using System.Diagnostics; using System.Drawing; using System.Reflection; using System.Windows.Forms; using Renci.SshNet; namespace Sshfs { public partial class AboutForm : Form { private static readonly string _sshfsText = String.Format("Sshfs {0}", Assembly.GetEntryAssembly().GetName()....
using System; using System.Diagnostics; using System.Drawing; using System.Reflection; using System.Windows.Forms; using Renci.SshNet; namespace Sshfs { public partial class AboutForm : Form { private static readonly string _sshfsText = String.Format("Sshfs {0}", Assembly.GetEntryAssembly().GetName()....
bsd-3-clause
C#
6988d71bbb28696cb2e251a15de4c01be4021ef1
fix errors
taka-oyama/UniHttp
Assets/UniHttp/Support/Debug/Logger.cs
Assets/UniHttp/Support/Debug/Logger.cs
using UnityEngine; namespace UniHttp { public class Logger { public enum Level { Debug, Info, Warning, Error, Exception } public static Level LogLevel = Level.Info; public static ILogger logger = UnityEngine.Debug.logger; static string kTAG = "UniHttp"; #region Debug public static void Debug(object me...
using UnityEngine; namespace UniHttp { public class Logger { public enum Level { Debug, Info, Warning, Error, Exception } public static Level LogLevel = LogLevel.Info; public static UnityEngine.Logger logger = UnityEngine.Debug.logger; static string kTAG = "UniHttp"; #region Debug public static void D...
mit
C#
6224213e887fe83855f0b25ce026ab9822aa3b2d
Add Serializable attribute
ashfordl/cards
CardGames/TooManyPlayersException.cs
CardGames/TooManyPlayersException.cs
// TooManyPlayersException.cs // <copyright file="TooManyPlayersException.cs"> This code is protected under the MIT License. </copyright> using System; namespace CardGames { /// <summary> /// An exception raised when TooManyPlayers are added to a game. /// </summary> [Serializable] public class To...
// TooManyPlayersException.cs // <copyright file="TooManyPlayersException.cs"> This code is protected under the MIT License. </copyright> using System; namespace CardGames { /// <summary> /// An exception raised when TooManyPlayers are added to a game. /// </summary> public class TooManyPlayersExcepti...
mit
C#
d1011d27bab4ddffc63513b2d87cf776042d4f04
Add actual winnitron mappings.
thinkrad/WinnitronLauncher
Assets/Scripts/View/PlaylistNavigationManager.cs
Assets/Scripts/View/PlaylistNavigationManager.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlaylistNavigationManager : Singleton<PlaylistNavigationManager> { float GRID_Y_OFFSET = 60; List<Game> playlist; int currentGameIndex = 0; public UILabel gameLabelPrefab; Coroutine<_> moveThroughList; UIGrid titleGrid; ...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class PlaylistNavigationManager : Singleton<PlaylistNavigationManager> { float GRID_Y_OFFSET = 60; List<Game> playlist; int currentGameIndex = 0; public UILabel gameLabelPrefab; Coroutine<_> moveThroughList; UIGrid titleGrid; ...
mit
C#
1edc11c10ec72e16fcff2a0e5ef9a958ef20ecde
use GLKeyPressEventHandler instead.
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
CSharpGL/GLCanvas/IGLCanvas.cs
CSharpGL/GLCanvas/IGLCanvas.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CSharpGL { /// <summary> /// /// </summary> public interface IGLCanvas { /// <summary> /// /// </summary> int Width { ...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CSharpGL { /// <summary> /// /// </summary> public interface IGLCanvas { /// <summary> /// /// </summary> int Width { ...
mit
C#
f2b8a57f0252edba4fa3344d1e81625bea198cac
Define Persona at client start
ermau/Tempest.Social
Desktop/Tempest.Social/SocialClient.cs
Desktop/Tempest.Social/SocialClient.cs
// // SocialClient.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2012 Eric Maupin // // 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 ...
// // SocialClient.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2012 Eric Maupin // // 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#
f63f48b443abfed2319371cee17ce638451627a9
Update Program.cs
chemadvisor/chemapi_csharp_example
ConsoleClient/Program.cs
ConsoleClient/Program.cs
/* * Copyright (c) 2017 ChemADVISOR, Inc. All rights reserved. * Licensed under The MIT License (MIT) * https://opensource.org/licenses/MIT */ using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace ConsoleClient { internal class Program {...
/* * Copyright (c) 2017 ChemADVISOR, Inc. All rights reserved. * Licensed under The MIT License (MIT) * https://opensource.org/licenses/MIT */ using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace ConsoleClient { internal class Program {...
mit
C#
e9a52637d5614c6ba6453cc5afec4360d408a2c2
Remove "Folder Watcher" widget "Replace Existing File" option
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/FolderWatcher/Settings.cs
DesktopWidgets/Widgets/FolderWatcher/Settings.cs
using System; using System.ComponentModel; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.FolderWatcher { public class Settings : WidgetSettingsBase, IEventWidget { [Category("General")] [DisplayName("Folder Check Interval")] public TimeSpan FolderCheckInterval { get; s...
using System; using System.ComponentModel; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.FolderWatcher { public class Settings : WidgetSettingsBase, IEventWidget { [Category("General")] [DisplayName("Folder Check Interval")] public TimeSpan FolderCheckInterval { get; s...
apache-2.0
C#
9bc24b769fe4a7657389c2b069bc51580b86a66c
Update GoogleAuthenticationSettings.Edit.cshtml
xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Or...
src/OrchardCore.Modules/OrchardCore.Google/Views/GoogleAuthenticationSettings.Edit.cshtml
src/OrchardCore.Modules/OrchardCore.Google/Views/GoogleAuthenticationSettings.Edit.cshtml
@using OrchardCore.Google.Authentication.ViewModels; @model GoogleAuthenticationSettingsViewModel; <p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p> <h3>@T["Google Authentication Settings"]</h3> <div class="form-group row" asp-validation-class-for="ClientID"> ...
@using OrchardCore.Google.Authentication.ViewModels; @model GoogleAuthenticationSettingsViewModel; <p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p> <h3>@T["Google Authentication Settings"]</h3> <div class="form-group row" asp-validation-class-for="ClientID"> ...
bsd-3-clause
C#
842b1cdb28805a1cfc7589b1cf5df6d4aadd94b6
Update AssemblyInfo.cs
managed-commons/managed-commons-crypto-phelix
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
// Commons.Crypto.Phelix Assembly Information // // Copyright ©2014 Rafael 'Monoman' Teixeira, Managed Commons Team // // 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, ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Managed.Commons.Crypto.Phelix")] [assembly: AssemblyDescription("Phelix Cipher/MAC")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Managed Commons Team")] [assembly: Ass...
bsd-2-clause
C#
807f2d3639d4ea7b66332f11826e4d2af13ee95b
Fix delayed timestamp fetching
REPLDigital/Sharp.Xmpp
Extensions/XEP-0203/DelayedDelivery.cs
Extensions/XEP-0203/DelayedDelivery.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Sharp.Xmpp.Extensions { /// <summary> /// Helper class for extracting delayed delivery timestamps as specified in XEP-0203 /// </summary> public static class ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Sharp.Xmpp.Extensions { /// <summary> /// Helper class for extracting delayed delivery timestamps as specified in XEP-0203 /// </summary> public static class ...
mit
C#
b3d12a29ab0d14bc07e145be425222ccaecac985
Add Screenshot tests
tablesmit/FluentAutomation,jorik041/FluentAutomation,tablesmit/FluentAutomation,jorik041/FluentAutomation,stirno/FluentAutomation,stirno/FluentAutomation,tablesmit/FluentAutomation,stirno/FluentAutomation,mirabeau-nl/WbTstr.Net,mirabeau-nl/WbTstr.Net,jorik041/FluentAutomation
FluentAutomation.Tests/Actions/TakeScreenshotTests.cs
FluentAutomation.Tests/Actions/TakeScreenshotTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Xunit; using System.Globalization; using FluentAutomation.Exceptions; namespace FluentAutomation.Tests.Actions { public class TakeScreenshotTests : BaseTest { private string tempPath = null; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FluentAutomation.Tests.Actions { class TakeScreenshotTests { } }
mit
C#
4799b17fe0f05958c413fd2f3fa9568d5bf7e235
Update Program.cs
dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua
src/WebSite/Program.cs
src/WebSite/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace WebSite { public class Program { pub...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace WebSite { public class Program { pub...
mit
C#
a7e55ca60f8695cff3d3cb106edeb8af9f092ccf
fix to actuall check password
kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/App_Start/ApiSignInProvider.cs
Joinrpg/App_Start/ApiSignInProvider.cs
using System.Data.Entity; using System.Threading.Tasks; using JoinRpg.Web.Helpers; using Microsoft.Owin.Security.OAuth; namespace JoinRpg.Web { internal class ApiSignInProvider : OAuthAuthorizationServerProvider { private ApplicationUserManager Manager { get; } public ApiSignInProvider(ApplicationUserMan...
using System.Data.Entity; using System.Threading.Tasks; using JoinRpg.Web.Helpers; using Microsoft.Owin.Security.OAuth; namespace JoinRpg.Web { internal class ApiSignInProvider : OAuthAuthorizationServerProvider { private ApplicationUserManager Manager { get; } public ApiSignInProvider(ApplicationUserMan...
mit
C#
1b6de475cbcf4c848452e95f9c8538cb4916ed8b
Check for uniqueness for the classes that come back.
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
LINQToTTree/TTreeParser.Tests/Utils.cs
LINQToTTree/TTreeParser.Tests/Utils.cs
using System.Collections.Generic; using System.Linq; using TTreeDataModel; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace TTreeParser.Tests { public static class TUtils { /// <summary> /// Find a class in the list, return null if we can't find it. /// </summar...
using System.Collections.Generic; using System.Linq; using TTreeDataModel; namespace TTreeParser.Tests { public static class TUtils { /// <summary> /// Find a class in the list, return null if we can't find it. /// </summary> /// <param name="classes"></param> ...
lgpl-2.1
C#
1a9bd7747d30f9d6a6c10a1042ed6397a15d5000
add virtual keys and key-name mapper
hemincong/PostageStampTransactionHelper
PostageStampTransactionHelper/VirtualKeyCodes.cs
PostageStampTransactionHelper/VirtualKeyCodes.cs
using System.Collections.Generic; namespace PostageStampTransactionHelper { public class VirtualKeyCodes { public const int WM_HOTKEY = 0x0312; public const int HOTKEY_ID = 9000; //Modifiers: public const uint MOD_NONE = 0x0000; //(none) public const uint MOD_ALT = 0x0...
// ReSharper disable InconsistentNaming namespace PostageStampTransactionHelper { public class VirtualKeyCodes { public const int WM_HOTKEY = 0x0312; public const int HOTKEY_ID = 9000; //Modifiers: public const uint MOD_NONE = 0x0000; //(none) public const uint MOD_ALT ...
apache-2.0
C#
d8fc6cbd41c83b2882b1c002372d69dc030ed6ce
Fix StyleCop issues
NilesDavis/oxyplot,as-zhuravlev/oxyplot_wpf_fork,GeertvanHorrik/oxyplot,GeertvanHorrik/oxyplot,HermanEldering/oxyplot,objorke/oxyplot,Isolocis/oxyplot,as-zhuravlev/oxyplot_wpf_fork,DotNetDoctor/oxyplot,Jonarw/oxyplot,objorke/oxyplot,jeremyiverson/oxyplot,ze-pequeno/oxyplot,Sbosanquet/oxyplot,shoelzer/oxyplot,HermanElde...
Source/OxyPlot.Tests/Utilities/ComparerHelperTests.cs
Source/OxyPlot.Tests/Utilities/ComparerHelperTests.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ComparerHelperTests.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // ------------------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ComparerHelperTests.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // ------------------------------------------------------------------------...
mit
C#
cb60462f991940f5de39a6e1c9f5f7b98c6ebfed
Update Exention
Nanabell/NoAdsHere
NoAdsHere/Common/Extentions.cs
NoAdsHere/Common/Extentions.cs
using System.Collections.Generic; using System.Linq; using Discord; using NoAdsHere.Database.Models.GuildSettings; namespace NoAdsHere.Common { public static class Extentions { public static bool CheckChannelPermission(this IMessageChannel channel, ChannelPermission permission, IGuildUser guildUser) ...
using System.Collections.Generic; using System.Linq; using Discord; using NoAdsHere.Database.Models.GuildSettings; namespace NoAdsHere.Common { public static class Extentions { public static bool CheckChannelPermission(this IMessageChannel channel, ChannelPermission permission, IGuildUser guildUser) ...
mit
C#
de6f3844b410a8d8307268a6e43a7c602d810020
Add a default ToString to TryWebsitesIdentity
fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,d...
SimpleWAWS/Authentication/TryWebsitesIdentity.cs
SimpleWAWS/Authentication/TryWebsitesIdentity.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Security.Principal; using System.Web; namespace SimpleWAWS.Authentication { public class TryWebsitesIdentity : IIdentity { public TryWebsitesIdentity(string email, string puid, string issure) ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Security.Principal; using System.Web; namespace SimpleWAWS.Authentication { public class TryWebsitesIdentity : IIdentity { public TryWebsitesIdentity(string email, string puid, string issure) ...
apache-2.0
C#
571b9614eac57c6cca99e64d525194d3aa8d775d
Remove .NET limit on env var name and value length
Ermiar/corefx,ptoonen/corefx,ViktorHofer/corefx,shimingsg/corefx,ptoonen/corefx,Ermiar/corefx,ericstj/corefx,ericstj/corefx,BrennanConroy/corefx,Jiayili1/corefx,mmitche/corefx,zhenlan/corefx,ptoonen/corefx,mmitche/corefx,shimingsg/corefx,ViktorHofer/corefx,Jiayili1/corefx,ptoonen/corefx,ravimeda/corefx,ptoonen/corefx,m...
src/Common/src/CoreLib/Interop/Windows/Interop.Errors.cs
src/Common/src/CoreLib/Interop/Windows/Interop.Errors.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. internal partial class Interop { // As defined in winerror.h and https://msdn.microsoft.com/en-us/library/window...
// 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. internal partial class Interop { // As defined in winerror.h and https://msdn.microsoft.com/en-us/library/window...
mit
C#
f6c2be93895094c5dc11260f2c4b4741052bbe6b
clear the message when the panel is closed
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.VisualStudio.UI/UI/Controls/InfoPanel.xaml.cs
src/GitHub.VisualStudio.UI/UI/Controls/InfoPanel.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
mit
C#
2b0da295f9bb7a6d88ac0d637abf767192d10e17
use lock.
Cologler/jasily.cologler
Jasily.Core/Singleton.cs
Jasily.Core/Singleton.cs
using JetBrains.Annotations; namespace System { public static class Singleton { public static T Instance<T>() where T : class, new() { if (Shared<T>.instance == null) { lock (typeof(Shared<T>)) { if (Shared<...
using System.Threading; namespace System { public static class Singleton { public static T Instance<T>() where T : class, new() { if (Shared<T>.instance == null) { Interlocked.CompareExchange(ref Shared<T>.instance, new T(), null); ...
mit
C#
1d2b5e83d3743ce3db9c1eafbb5c8e66952be4de
Fix ClientCertificateThumbprint whitespace issue
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Api.Client/SecureHttpClient.cs
src/SFA.DAS.EmployerUsers.Api.Client/SecureHttpClient.cs
using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using Microsoft.IdentityModel.Clients.ActiveDirectory; namespace SFA.DAS.EmployerUsers.Api.Client { internal class SecureHttpClient : ISecureHttpClient { private readonly IEmployerUsersApiConfigur...
using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using Microsoft.IdentityModel.Clients.ActiveDirectory; namespace SFA.DAS.EmployerUsers.Api.Client { internal class SecureHttpClient : ISecureHttpClient { private readonly IEmployerUsersApiConfigur...
mit
C#
08429cb1448ef8fa052c215182f965dc4127cc1c
Change paths in tests
MortenHoustonLudvigsen/KarmaTestAdapter,MortenHoustonLudvigsen/KarmaTestAdapter,MortenHoustonLudvigsen/KarmaTestAdapter,MortenHoustonLudvigsen/KarmaTestAdapter,MortenHoustonLudvigsen/KarmaTestAdapter
KarmaTestAdapterTests/Globals.cs
KarmaTestAdapterTests/Globals.cs
using NUnit.Framework; using NUnit.Framework.Constraints; using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KarmaTestAdapterTests.GlobalsTests { public class Globals : BaseFixture { ...
using NUnit.Framework; using NUnit.Framework.Constraints; using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace KarmaTestAdapterTests.GlobalsTests { public class Globals : BaseFixture { ...
mit
C#
ded9b02d72c162eb5718238cc21be3f8702352e3
Fix Monitoring snippet
googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet
apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Snippets/MetricServiceClientSnippets.cs
apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3.Snippets/MetricServiceClientSnippets.cs
// Copyright 2016 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 applicable...
// Copyright 2016 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 applicable...
apache-2.0
C#
4bd3d09d72178156228a077b3a8679d58b8c5645
Support sending an empty body
rackerlabs/RackspaceCloudOfficeApiClient
Rackspace.CloudOffice/BodyEncoder.cs
Rackspace.CloudOffice/BodyEncoder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Reflection; using Newtonsoft.Json; namespace Rackspace.CloudOffice { internal static class BodyEncoder { public static string Encode(object data, string contentType) { if (data == null...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Reflection; using Newtonsoft.Json; namespace Rackspace.CloudOffice { internal static class BodyEncoder { public static string Encode(object data, string contentType) { switch (contentT...
mit
C#
95f72a99dd6d2013952daa9a027a2f8e7afda905
update version
ceee/ReadSharp,alexeib/ReadSharp
ReadSharp/Properties/AssemblyInfo.cs
ReadSharp/Properties/AssemblyInfo.cs
using System.Reflection; // 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("ReadSharp")] [assembly: AssemblyDescription("Extract meaningful website contents...
using System.Reflection; // 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("ReadSharp")] [assembly: AssemblyDescription("Extract meaningful website contents...
mit
C#
c6da1dd38d7976d9e7d6c549ca09c31d5e9aa8c0
test method
ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins
StankinsTests/TestSenderAzureIoTHub.cs
StankinsTests/TestSenderAzureIoTHub.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using SenderAzureIoTHub; using System.Threading.Tasks; using Moq; using StankinsInterfaces; namespace StankinsTests { [TestClass] public class TestSenderAzureIoTHub { [TestMethod]...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using SenderAzureIoTHub; using System.Threading.Tasks; using Moq; using StankinsInterfaces; namespace StankinsTests { [TestClass] public class TestSenderAzureIoTHub { [TestMethod]...
mit
C#
d9bf0994b39fe3dde4f74443b170de0b94a83091
change to use long instead of double
feedhenry-templates/sync-xamarin-app,feedhenry-templates/sync-xamarin-app
sync-model/ShoppingItem.cs
sync-model/ShoppingItem.cs
/** * Copyright Red Hat, Inc, and individual contributors. * * 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 appli...
/** * Copyright Red Hat, Inc, and individual contributors. * * 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 appli...
apache-2.0
C#
88b21504e4850d56a1dbd24a49f265e5f83b8295
Make ByteBufferWriter faster (now really).
klesta490/BTDB,yonglehou/BTDB,Bobris/BTDB,karasek/BTDB
BTDB/StreamLayer/ByteBufferWriter.cs
BTDB/StreamLayer/ByteBufferWriter.cs
using System; using BTDB.Buffer; namespace BTDB.StreamLayer { public sealed class ByteBufferWriter : AbstractBufferedWriter { ByteBuffer _result; public ByteBufferWriter() { Buf = new byte[4096]; End = Buf.Length; } public ByteBuffer Data ...
using System; using BTDB.Buffer; namespace BTDB.StreamLayer { public sealed class ByteBufferWriter : AbstractBufferedWriter { ByteBuffer _result; public ByteBufferWriter() { Buf = new byte[4096]; End = Buf.Length; } public ByteBuffer Data ...
mit
C#
222b78c51f742f8d4fb5e65918c88dcebc1e0ce8
Fix TcpClientExtension throws exception in Linux
Code-Artist/CodeArtEng.Tcp
CodeArtEng.Tcp/TcpClientExtension.cs
CodeArtEng.Tcp/TcpClientExtension.cs
using System.Linq; using System.Net.NetworkInformation; namespace System.Net.Sockets { /// <summary> /// TCP Client Helper Class. /// </summary> public static class TcpClientExtension { /// <summary> /// Extension method to check if TCP client is connected. /// </summary> ...
using System.Linq; using System.Net.NetworkInformation; namespace System.Net.Sockets { /// <summary> /// TCP Client Helper Class. /// </summary> public static class TcpClientExtension { /// <summary> /// Extension method to check if TCP client is connected. /// </summary> ...
mit
C#
4990fe171e243589c8f195ded2a4f02120f63b2c
Delete line
physhi/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,sharwell/roslyn,mgoertz-msft/roslyn,wvdd007/roslyn,mgoertz-msft/roslyn,shyamnamboodiripad/roslyn,KirillOsenkov/roslyn,reaction1989/roslyn,eriawan/roslyn,tannergooding/roslyn,genlu/roslyn,gafter/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,KevinRansom/roslyn,KirillO...
src/Features/Core/Portable/TodoComments/ITodoCommentService.cs
src/Features/Core/Portable/TodoComments/ITodoCommentService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Micro...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Micro...
mit
C#
944fadfd31d9ee9856923c2058d9e851547c63c9
remove unnecessary comment
kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityS...
src/OnPremise/WebSite/Areas/Admin/ViewModels/UsersViewModel.cs
src/OnPremise/WebSite/Areas/Admin/ViewModels/UsersViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Thinktecture.IdentityServer.Web.Areas.Admin.ViewModels { public class UsersViewModel { private Repositories.IUserManagementRepository UserManagementRepository; public UsersViewModel(Repositories.IUs...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Thinktecture.IdentityServer.Web.Areas.Admin.ViewModels { public class UsersViewModel { private Repositories.IUserManagementRepository UserManagementRepository; public UsersViewModel(Repositories.IUs...
bsd-3-clause
C#
6df1b60053f5ef54ce2b4a99f1a358f31c5414ec
Fix tests: version parsing failed against ES 1.4.0.Beta1
amyzheng424/elasticsearch-net,tkirill/elasticsearch-net,azubanov/elasticsearch-net,gayancc/elasticsearch-net,wawrzyn/elasticsearch-net,TheFireCookie/elasticsearch-net,starckgates/elasticsearch-net,KodrAus/elasticsearch-net,geofeedia/elasticsearch-net,robrich/elasticsearch-net,SeanKilleen/elasticsearch-net,abibell/elast...
src/Tests/Nest.Tests.Integration/ElasticsearchConfiguration.cs
src/Tests/Nest.Tests.Integration/ElasticsearchConfiguration.cs
using System; using System.Diagnostics; using System.Linq; using Elasticsearch.Net.Connection.Thrift; using Elasticsearch.Net; namespace Nest.Tests.Integration { public static class ElasticsearchConfiguration { public static readonly string DefaultIndexPrefix = "nest_test_data-"; public static readonly string H...
using System; using System.Diagnostics; using Elasticsearch.Net.Connection.Thrift; using Elasticsearch.Net; namespace Nest.Tests.Integration { public static class ElasticsearchConfiguration { public static readonly string DefaultIndexPrefix = "nest_test_data-"; public static readonly string Host = "localhost"; ...
apache-2.0
C#
377f578c9c2cbfc65b4c561a46c12ef4ceac30bf
Revert "Make cookie valid for 30 days."
gyrosworkshop/Wukong,gyrosworkshop/Wukong
Wukong/Controllers/AuthController.cs
Wukong/Controllers/AuthController.cs
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authentication; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Wukong.Models; namespace Wukong.Controllers { ...
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authentication; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Wukong.Models; namespace Wukong.Controllers { [Route("oauth")]...
mit
C#
522f6c127c6773cb5e7efc6fd6e5a8d8f9d34c5f
Add method to update specific layer only
isurakka/ecs
ECS/EntityComponentSystem.cs
ECS/EntityComponentSystem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ECS { public class EntityComponentSystem { private readonly EntityManager entityManager; private readonly SystemManager systemManager; private static readonly ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ECS { public class EntityComponentSystem { private readonly EntityManager entityManager; private readonly SystemManager systemManager; private static readonly ...
apache-2.0
C#
2167d6ae23482df5f5e09ec4b9a9f8d231352769
Remove ConsoleApplication used for quick testing
richardschris/EchoNestNET
EchoNestNET/GenreModel.cs
EchoNestNET/GenreModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace EchoNestNET { [JsonObject] public class Genre { [JsonProperty(PropertyName = "name")] public string name { get; set; } [JsonProperty(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace EchoNestNET { [JsonObject] public class Genre { [JsonProperty(PropertyName = "name")] public string name { get; set; } [JsonProperty(...
apache-2.0
C#
f92b5a35a0fef96043b192bc853b4ec68ff203e0
Undo irrelevant change - original code worked as expected
JasonBock/csla,rockfordlhotka/csla,rockfordlhotka/csla,rockfordlhotka/csla,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla,MarimerLLC/csla
Source/Csla.Blazor/CslaPolicy.cs
Source/Csla.Blazor/CslaPolicy.cs
//----------------------------------------------------------------------- // <copyright file="CslaPolicy.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Contains methods to manage CSLA permission policy information</summa...
//----------------------------------------------------------------------- // <copyright file="CslaPolicy.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Contains methods to manage CSLA permission policy information</summa...
mit
C#
0dfe02e6d0c4b763e7b78a0fecd4827ca40d4fef
Normalize line endings in ExceptionFactory
YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata
src/Atata.WebDriverExtras/Exceptions/ExceptionFactory.cs
src/Atata.WebDriverExtras/Exceptions/ExceptionFactory.cs
using OpenQA.Selenium; using System; using System.Text; namespace Atata { public static class ExceptionFactory { public static ArgumentException CreateForArgumentEmptyCollection(string parameterName) { return new ArgumentException("Collection should contain at least one e...
using OpenQA.Selenium; using System; using System.Text; namespace Atata { public static class ExceptionFactory { public static ArgumentException CreateForArgumentEmptyCollection(string parameterName) { return new ArgumentException("Collection should contain at least one element.",...
apache-2.0
C#
c2c9443cf677d4e34f20b95a93cd304bd453464d
Update AdUnit.cs
tiksn/TIKSN-Framework
TIKSN.Core/Advertising/AdUnit.cs
TIKSN.Core/Advertising/AdUnit.cs
namespace TIKSN.Advertising { public class AdUnit { public AdUnit(string provider, string applicationId, string adUnitId, bool isTest = false) { this.Provider = provider; this.ApplicationId = applicationId; this.AdUnitId = adUnitId; this.IsTest = ...
namespace TIKSN.Advertising { public class AdUnit { public AdUnit(string provider, string applicationId, string adUnitId, bool isTest = false) { Provider = provider; ApplicationId = applicationId; AdUnitId = adUnitId; IsTest = isTest; } ...
mit
C#
05f06459e557ae136ac32a84afe37bf6a03c11be
simplify GitLink tasks
MahApps/MahApps.Metro.IconPacks
src/build/build.cake
src/build/build.cake
#tool "nuget:?package=gitlink" // Arguments var target = Argument("target", "Default"); var version = "1.0.0.0"; var configGitLink = new GitLinkSettings { RepositoryUrl = "https://github.com/MahApps/MahApps.Metro.IconPacks", Branch = "master", Configuration = "Release" }; // Tasks Task("GitLink") .Do...
#tool "nuget:?package=gitlink" // Arguments var target = Argument("target", "Default"); var version = "1.0.0.0"; var configGitLink = new GitLinkSettings { RepositoryUrl = "https://github.com/MahApps/MahApps.Metro.IconPacks", Branch = "master", Configuration = "Release" }; // Tasks Task("GitLink_master"...
mit
C#
c00d247feff5573b93333db0cf5baa2dfda45e60
fix build 65 error
acolono/opentrigger-distributor,acolono/opentrigger-distributor
com.opentrigger.distributor/tests/PluginTests.cs
com.opentrigger.distributor/tests/PluginTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using com.opentrigger.distributord.Plugins; using NUnit.Core; using NUnit.Framework; namespace com.opentrigger.tests { [TestFixture] public class PluginTests { [Test] public void BuiltinDummy() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using com.opentrigger.distributord.Plugins; using NUnit.Core; using NUnit.Framework; namespace com.opentrigger.tests { [TestFixture] public class PluginTests { [Test] public void BuiltinDummy() { ...
mit
C#
32d15c58db1be0670d739e0d4da1f6098d224aba
Send Account model back for validation
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Web/Orchestrators/EmployerAccountTransactionsOrchestrator.cs
src/SFA.DAS.EmployerApprenticeshipsService.Web/Orchestrators/EmployerAccountTransactionsOrchestrator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using MediatR; using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccount; using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccountTransactions; using S...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using MediatR; using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccount; using SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetEmployerAccountTransactions; using S...
mit
C#
f8943c06701bc795e9ea7954a56f53e73bb05be8
make test pass.
fffej/codekatas,fffej/codekatas,fffej/codekatas
MineField/MineSweeperTest.cs
MineField/MineSweeperTest.cs
using NUnit.Framework; using FluentAssertions; namespace Fatvat.Katas.MineSweeper { [TestFixture] public class MineSweeperTest { [Test] public void TestSimplestMineField() { var mineField = new MineField("."); Assert.That(mineField.Show(), Is.EqualTo("0")); ...
using NUnit.Framework; using FluentAssertions; namespace Fatvat.Katas.MineSweeper { [TestFixture] public class MineSweeperTest { [Test] public void TestSimplestMineField() { var mineField = new MineField("."); Assert.That(mineField.Show(), Is.EqualTo("0")); ...
mit
C#
6cce26d7bdf6a71594abcbe039bc47556f81c495
Fix highlight deserialization
synhershko/NElasticsearch,khalidabuhakmeh/NElasticsearch
NElasticsearch/Models/Hit.cs
NElasticsearch/Models/Hit.cs
using System.Collections.Generic; using System.Diagnostics; namespace NElasticsearch.Models { /// <summary> /// Individual hit response from ElasticSearch. /// </summary> [DebuggerDisplay("{_type} in {_index} id {_id}")] public class Hit<T> { public string _index { get; set; } ...
using System.Collections.Generic; using System.Diagnostics; namespace NElasticsearch.Models { /// <summary> /// Individual hit response from ElasticSearch. /// </summary> [DebuggerDisplay("{_type} in {_index} id {_id}")] public class Hit<T> { public string _index { get; set; } ...
apache-2.0
C#
93f9fb57c3e3444a044f3bd79394927b16990cb4
Sort input files and directories in subentries by path
DvdKhl/AVDump3,DvdKhl/AVDump3,DvdKhl/AVDump3
AVDump3Lib/Misc/FileTraversal.cs
AVDump3Lib/Misc/FileTraversal.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace AVDump3Lib.Misc { public class FileTraversal { public static void Traverse(string path, bool includeSubFolders, Action<string> onFile, Action<Exception> onError) { try { if(File.Exists(path)) { onFile(path); ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace AVDump3Lib.Misc { public class FileTraversal { public static void Traverse(string path, bool includeSubFolders, Action<string> onFile, Action<Exception> onError) { try { if(File.Exists(path)) { onFile(path); ...
mit
C#
afb262323c3b26f21d5589c830b93cfdba1cdeda
improve performance
ruarai/Trigrad,ruarai/Trigrad
Trigrad/DataTypes/Barycentric.cs
Trigrad/DataTypes/Barycentric.cs
using System.Drawing; namespace Trigrad.DataTypes { public static class Barycentric { public static BarycentricCoordinates GetCoordinates(Point Pp, Point Pa, Point Pb, Point Pc) { double[] v0 = { Pb.X - Pa.X, Pb.Y - Pa.Y }; double[] v1 = { Pc.X - Pa.X, Pc.Y - Pa.Y }; ...
using System.Drawing; namespace Trigrad.DataTypes { public static class Barycentric { public static BarycentricCoordinates GetCoordinates(Point Pp, Point Pa, Point Pb, Point Pc) { double[] p = { Pp.X, Pp.Y }; double[] a = { Pa.X, Pa.Y }; double[] b = { Pb.X,...
mit
C#
2639b197e2394b6aea1d3dfc8435dd7c0cd0acc6
Support for custom watch expressions
openmedicus/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp
src/Monitor.cs
src/Monitor.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { string addr = Addr...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { string addr = Addr...
mit
C#