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 |
|---|---|---|---|---|---|---|---|---|
4132c183f5ac5860c5d0f19c436b04e24a66d92e | set default namespaces | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | Core/Utility/DiagnosticsClient.cs | Core/Utility/DiagnosticsClient.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bugsnag;
namespace NuGetPe
{
public static class DiagnosticsClient
{
static bool _initialized;
static Client _client;
#if STORE
const stri... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bugsnag;
namespace NuGetPe
{
public static class DiagnosticsClient
{
static bool _initialized;
static Client _client;
#if STORE
const stri... | mit | C# |
6b0a8a66e94609e8e81dcc2d38db2b368bd17130 | fix type heirarchy on facade | mbrit/MetroLog,onovotny/MetroLog,mbrit/MetroLog,mbrit/MetroLog,onovotny/MetroLog,onovotny/MetroLog | MetroLog/StreamingFileTarget.cs | MetroLog/StreamingFileTarget.cs | using MetroLog.Layouts;
using MetroLog.Targets;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MetroLog.Targets
{
/// <summary>
/// Defines a target that will append messages ... | using MetroLog.Layouts;
using MetroLog.Targets;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MetroLog.Targets
{
/// <summary>
/// Defines a target that will append messages ... | mit | C# |
9d479cee936fd12ced850fe3aa9a5ed355a02997 | remove comments from test file | jtlibing/azure-powershell,krkhan/azure-powershell,rohmano/azure-powershell,arcadiahlyy/azure-powershell,AzureRT/azure-powershell,akurmi/azure-powershell,akurmi/azure-powershell,pankajsn/azure-powershell,jtlibing/azure-powershell,ankurchoubeymsft/azure-powershell,yantang-msft/azure-powershell,nemanja88/azure-powershell,... | src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs | src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/ServerCommunicationLinkCrudTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
4274cc401f9522bea1aa88190718981b03381a19 | Remove machine name from method calls since it is no longer needed after refactoring implementation | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/SignalRConnectionHandling/IClientsCollection.cs | PS.Mothership.Core/PS.Mothership.Core.Common/SignalRConnectionHandling/IClientsCollection.cs | namespace PS.Mothership.Core.Common.SignalRConnectionHandling
{
public interface IClientsCollection
{
ISignalRUser Get(string username);
ISignalRUser GetOrAdd(string username);
void AddOrReplace(ISignalRUser inputUser);
}
}
| namespace PS.Mothership.Core.Common.SignalRConnectionHandling
{
public interface IClientsCollection
{
ISignalRUser Get(string machineName, string username);
ISignalRUser GetOrAdd(string machineName, string username);
void AddOrReplace(ISignalRUser inputUser);
}
}
| mit | C# |
131a42b89317e8a38246c8bb8ee56c1cfd9f2ec9 | Fix Sequence contains no matching element | mikescandy/BottomNavigationBarXF,thrive-now/BottomNavigationBarXF,r2d2rigo/BottomNavigationBarXF,ice-j/BottomNavigationBarXF | BottomBar.Droid/Utils/ReflectedProxy.cs | BottomBar.Droid/Utils/ReflectedProxy.cs | /*
* BottomNavigationBar for Xamarin Forms
* Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
*
* 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... | /*
* BottomNavigationBar for Xamarin Forms
* Copyright (c) 2016 Thrive GmbH and others (http://github.com/thrive-now).
*
* 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
*
* htt... | mit | C# |
b0494fcf8fd618577af205d7285adbb41118c0bf | Remove debug code | NateShoffner/Strike.NET | Strike.NET/V2/Converters/FileInfoConverter.cs | Strike.NET/V2/Converters/FileInfoConverter.cs | #region
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
#endregion
namespace StrikeNET.V2.Converters
{
internal class FileInfoConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
... | #region
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
#endregion
namespace StrikeNET.V2.Converters
{
internal class FileInfoConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
... | mit | C# |
1d9898ac3ce5d85a539eab10a1c97ee3b4d760dc | Update CommonTests.cs | coman3/Google.Music | GoogleMusicApi.UWP.Tests/CommonTests.cs | GoogleMusicApi.UWP.Tests/CommonTests.cs | using System;
using System.IO;
using System.Threading.Tasks;
using GoogleMusicApi.UWP.Common;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
namespace GoogleMusicApi.UWP.Tests
{
[TestClass]
public class CommonTests
{
public static Tuple<string, string> GetAccount()
{
... | using System;
using System.IO;
using System.Threading.Tasks;
using GoogleMusicApi.UWP.Common;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
namespace GoogleMusicApi.UWP.Tests
{
[TestClass]
public class CommonTests
{
public static Tuple<string, string> GetAccount()
{
... | cc0-1.0 | C# |
1c63c1d5b051e9b946f29dbe14085d0c892a48d0 | Add overload for By. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Core/Extensions/ProjectBuilderExtensions.cs | ExRam.Gremlinq.Core/Extensions/ProjectBuilderExtensions.cs | using System;
using System.Linq.Expressions;
namespace ExRam.Gremlinq.Core
{
public static class ProjectBuilderExtensions
{
public static IProjectDynamicBuilder<TSourceQuery, TElement> By<TSourceQuery, TElement>(this IProjectDynamicBuilder<TSourceQuery, TElement> projectBuilder, Expression<Func<TEleme... | using System;
using System.Linq.Expressions;
namespace ExRam.Gremlinq.Core
{
public static class ProjectBuilderExtensions
{
public static IProjectDynamicBuilder<TSourceQuery, TElement> By<TSourceQuery, TElement>(this IProjectDynamicBuilder<TSourceQuery, TElement> projectBuilder, Expression<Func<TEleme... | mit | C# |
c95f0b88fd7b48a8692bda924b8fa8a259ca85be | Undo the temporary hack I added and use message.UniqueKey() instead of Id as the equality check | Intelliflo/JustSaying,eric-davis/JustSaying,Intelliflo/JustSaying | JustSaying.Messaging/MessageHandling/ExactlyOnceHandler.cs | JustSaying.Messaging/MessageHandling/ExactlyOnceHandler.cs | using System;
using JustSaying.Models;
namespace JustSaying.Messaging.MessageHandling
{
public class ExactlyOnceHandler<T> : IHandler<T> where T : Message
{
private readonly IHandler<T> _inner;
private readonly IMessageLock _messageLock;
private const int TEMPORARY_LOCK_SECONDS = 15;
... | using System;
using JustSaying.Models;
namespace JustSaying.Messaging.MessageHandling
{
public class ExactlyOnceHandler<T> : IHandler<T> where T : Message
{
private readonly IHandler<T> _inner;
private readonly IMessageLock _messageLock;
private const int TEMPORARY_LOCK_SECONDS = 15;
... | apache-2.0 | C# |
1b3e06e0846087caef5e7407238f568bab4428db | Fix appveyor build. | MonkAlex/MangaReader | MangaReader/ViewModel/Setting/ProxySettingSelectorModel.cs | MangaReader/ViewModel/Setting/ProxySettingSelectorModel.cs | using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using MangaReader.Core.Account;
using MangaReader.Core.NHibernate;
using MangaReader.Core.Services;
using MangaReader.ViewModel.Primitive;
namespace MangaReader.ViewModel.Setting
{
public class ProxySettingSelectorModel : BaseVie... | using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using MangaReader.Core.Account;
using MangaReader.Core.NHibernate;
using MangaReader.Core.Services;
using MangaReader.ViewModel.Primitive;
namespace MangaReader.ViewModel.Setting
{
public class ProxySettingSelectorModel : BaseVie... | mit | C# |
527f2e29cfc751be3b7c81d8892dbf65345d11d9 | Remove unnecessary try-catch blocks | Fluzzarn/LiveSplit,glasnonck/LiveSplit,Jiiks/LiveSplit,kugelrund/LiveSplit,kugelrund/LiveSplit,LiveSplit/LiveSplit,PackSciences/LiveSplit,Fluzzarn/LiveSplit,stoye/LiveSplit,CryZe/LiveSplit,CryZe/LiveSplit,Seldszar/LiveSplit,ROMaster2/LiveSplit,stoye/LiveSplit,glasnonck/LiveSplit,stoye/LiveSplit,PackSciences/LiveSplit,z... | LiveSplit/LiveSplit.Core/Options/Log.cs | LiveSplit/LiveSplit.Core/Options/Log.cs | using System;
using System.Diagnostics;
namespace LiveSplit.Options
{
public static class Log
{
static Log()
{
try
{
if (!EventLog.SourceExists("LiveSplit"))
EventLog.CreateEventSource("LiveSplit", "Application");
}
... | using System;
using System.Diagnostics;
namespace LiveSplit.Options
{
public static class Log
{
static Log()
{
try
{
if (!EventLog.SourceExists("LiveSplit"))
EventLog.CreateEventSource("LiveSplit", "Application");
}
... | mit | C# |
483115cd9c4a9bd8b8c9d36ce8bceb2ec7b36cb0 | 修复发送模板消息结果中 msgid 错为 int(实应为 long)的问题 | lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WxOpen,lishewen/WeiXinMPS... | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/TemplateMessage/TemplateMessageJson/SendTemplateMessageResult.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/TemplateMessage/TemplateMessageJson/SendTemplateMessageResult.cs | /*----------------------------------------------------------------
Copyright (C) 2016 Senparc
文件名:SendTemplateMessageResult.cs
文件功能描述:发送模板消息结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
----------------------------------------------------------------*/
using ... | /*----------------------------------------------------------------
Copyright (C) 2016 Senparc
文件名:SendTemplateMessageResult.cs
文件功能描述:发送模板消息结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
----------------------------------------------------------------*/
using ... | apache-2.0 | C# |
9f3c7b70a08b6c88d34390c0febf7f0a25a4f710 | Change title to New2 | seldongo/docker-ci,seldongo/docker-ci,seldongo/docker-ci | api/Startup.cs | api/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft... | mit | C# |
62ef830aad81d69d97b487b3049d5140a61f0452 | Remove using | AmadeusW/roslyn,panopticoncentral/roslyn,panopticoncentral/roslyn,tmat/roslyn,physhi/roslyn,aelij/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,gafter/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,davkean/roslyn,KevinRansom/roslyn,sharwell/roslyn,tannergooding/roslyn,jmarolf/roslyn,panoptic... | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Services/Precedence/CSharpPatternPrecedenceService.cs | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Services/Precedence/CSharpPatternPrecedenceService.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 Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.Co... | // 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 Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAna... | mit | C# |
d9317f21e360309400c6631dad987f87b5b394bc | build version: 3.9.71.10 | wiesel78/Canwell.OrmLite.MSAccess2003 | Source/GlobalAssemblyInfo.cs | Source/GlobalAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyCompany("canwell - IT Solutions... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyCompany("canwell - IT Solutions... | bsd-3-clause | C# |
373b4d6a8ecc320eb14d09c476e1a6161b0641f1 | Expand delayed calls in console interpreter | ajlopez/AjErl,ajlopez/ErlSharp | Src/AjErl.Console/Program.cs | Src/AjErl.Console/Program.cs | namespace AjErl.Console
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjErl.Compiler;
using AjErl.Expressions;
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("AjE... | namespace AjErl.Console
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjErl.Compiler;
using AjErl.Expressions;
public class Program
{
public static void Main(string[] args)
{
Console.WriteLine("AjE... | mit | C# |
0cea0185767d71d7a94538c9127d2fb49ef158d4 | Use a more suiting (?) icon for import dialog | NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,Frontear/osuKyzer,peppy/osu-new,johnneijzen/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,naoey/osu,peppy/osu,naoey/osu,DrabWeb/osu... | osu.Game/Screens/Select/ImportFromStablePopup.cs | osu.Game/Screens/Select/ImportFromStablePopup.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Screens.Select
{
public class ImportFromStablePopup : PopupDialo... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Graphics;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Screens.Select
{
public class ImportFromStablePopup : PopupDialo... | mit | C# |
0bc54524b81b383f8a66fa2e2a322e0fbb5d893e | Add tables to DataDomain. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM/DataDomain.cs | Silk.Data.SQL.ORM/DataDomain.cs | using Silk.Data.Modelling;
using Silk.Data.Modelling.Conventions;
using Silk.Data.SQL.ORM.Modelling;
using Silk.Data.SQL.ORM.Modelling.Conventions;
using System.Collections.Generic;
using System.Linq;
namespace Silk.Data.SQL.ORM
{
/// <summary>
/// Describes the types, models and resource loaders of a dat... | using Silk.Data.Modelling;
using Silk.Data.Modelling.Conventions;
using Silk.Data.SQL.ORM.Modelling;
using Silk.Data.SQL.ORM.Modelling.Conventions;
using System.Collections.Generic;
using System.Linq;
namespace Silk.Data.SQL.ORM
{
/// <summary>
/// Describes the types, models and resource loaders of a dat... | mit | C# |
ab2c490d266ca56d04e96e687317f74b728b5c85 | Fix typo | cake-build-bot/website,cake-build-bot/website,cake-build/website,devlead/website,cake-build/website,devlead/website,devlead/website,cake-build/website | input/docs/index.cshtml | input/docs/index.cshtml | Title: Documentation
---
<p>This user guide, like Cake itself, is under very active development. Some parts of Cake aren't
documented as completely as they need to be, but we gladly accept your contributions.</p>
<p>We need your help to improve the documentation for Cake, so if there is something that you
would lik... | Title: Documentation
---
<p>This user guide, like Cake itself, is under very active development. Some parts of Cake aren't
documented as completely as they need to be, but we glady accept your contributions.</p>
<p>We need your help to improve the documentation for Cake, so if there is something that you
would like... | mit | C# |
24a0051c49257a5929776bf040bb4604a351d5b1 | remove testmethod testing saving to database | AccountGo/accountgo,AccountGo/accountgo,AccountGo/accountgo,AccountGo/accountgo | Test/UnitTests/DbContextTest.cs | Test/UnitTests/DbContextTest.cs | using Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace UnitTests
{
[TestClass]
public class DbContextTest
{
//string connectionString = "data source=localhost;initial catalog=apphbDB;integrated security=sspi;multipleactiveresultsets=true;Pooling=false";
... | using Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace UnitTests
{
[TestClass]
public class DbContextTest
{
string connectionString = "data source=localhost;initial catalog=apphbDB;integrated security=sspi;multipleactiveresultsets=true;Pooling=false";
... | mit | C# |
fbdf07dc201c87140c00be1121d227d003c3dd1e | Correct speed of spun out | peppy/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Obje... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Obje... | mit | C# |
5654d5e80ba5004b971b830390c40840bbd1d342 | set location from data | watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk,scottdangelo/unity-sdk,kimberlysiva/unity-sdk,kimberlysiva/unity-sdk,scottdangelo/unity-sdk,watson-developer-cloud/unity-sdk | Assets/Plugins/Watson/Parse/Location.cs | Assets/Plugins/Watson/Parse/Location.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Location : QuestionComponentBase {
[SerializeField]
private Text m_LocationText;
private string _m_Location;
public string m_Location
{
get { return _m_Location; }
set
{
_m_Location = value;
UpdateLocation();
}
}
n... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Location : QuestionComponentBase {
[SerializeField]
private Text m_LocationText;
private string _m_Location;
public string m_Location
{
get { return _m_Location; }
set
{
_m_Location = value;
UpdateLocation();
}
}
n... | apache-2.0 | C# |
1aad6f929b9cd66986808ffe11075b504db72f90 | Edit AdvancingText to use processed text length | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/UI/AdvancingText.cs | Assets/Scripts/UI/AdvancingText.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using TMPro;
public class AdvancingText : MonoBehaviour
{
[SerializeField]
private float advanceSpeed;
[SerializeField]
private UnityEvent onComplete;
private bool ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using TMPro;
public class AdvancingText : MonoBehaviour
{
[SerializeField]
private float advanceSpeed;
[SerializeField]
private UnityEvent onComplete;
private TMP_T... | mit | C# |
9b28409221e161e7c4429e738eb82b76eafae984 | Remove blocking. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CrashReport/CrashReporter.cs | WalletWasabi.Gui/CrashReport/CrashReporter.cs | using System;
using System.Diagnostics;
using WalletWasabi.Logging;
using WalletWasabi.Microservices;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.CrashReport
{
public class CrashReporter
{
private const int MaxRecursiveCalls = 5;
public int Attempts { get; private set; }
public string Base64Exception... | using System;
using System.Diagnostics;
using WalletWasabi.Logging;
using WalletWasabi.Microservices;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.CrashReport
{
public class CrashReporter
{
private const int MaxRecursiveCalls = 5;
public int Attempts { get; private set; }
public string Base64Exception... | mit | C# |
05ee79a0b44cbce3bd7113a4906c9d362569faa6 | Update AssemblyInfo.cs | faniereynders/WebApiProxy,lust4life/WebApiProxy | WebApiProxy.Server/Properties/AssemblyInfo.cs | WebApiProxy.Server/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# |
1f5551e1de4d38cfe3fa78042a8304545df10a0b | Use correct quote characters | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1122UseStringEmptyForEmptyStrings.cs | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1122UseStringEmptyForEmptyStrings.cs | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
/// <summary>
/// The C# code includes an empty string, written as <c>""</c>.
/// </summary>
/// <remarks>
/// <para>A violation o... | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
/// <summary>
/// The C# code includes an empty string, written as <c>""</c>.
/// </summary>
/// <remarks>
/// <para>A violation o... | mit | C# |
4107093aca518ee5bbfd7c3d194c8c8b629a93ae | update program.cs, changed tree structure | NeedlesInPenis/DSandA,NeedlesInPenis/Data-structures-in-csharp | Program.cs | Program.cs | using System;
namespace adt
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Testing different data structures");
BinarySearchTree b = new BinarySearchTree();
b.insert(5);
b.insert(3);
b.insert(20);
b... | using System;
namespace adt
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Testing different data structures");
BinarySearchTree b = new BinarySearchTree();
b.insert(5);
b.insert(3);
b.insert(20);
b... | mit | C# |
fd4bc059a2b35f1b1d05eea263599f10b5a0d6f9 | Fix typo in assembly description | QuantConnect/Lean,jameschch/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,QuantConnect/Lean,jameschch/Lean,StefanoRaggi/Lean,JKarathiya/Lean,JKarathiya/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,jameschch/Lean,jameschch/Lean,JKarathiya/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,jameschch/Lean,QuantConnect/Lean,JKarathiya/Lean,A... | Common/Properties/SharedAssemblyInfo.cs | Common/Properties/SharedAssemblyInfo.cs | using System.Reflection;
// common assembly attributes
[assembly: AssemblyDescription("Lean Engine is an open-source, platform agnostic C# and Python algorithmic trading engine. " +
"Allows strategy research, backtesting and live trading with Equities, FX, CFD, Crypto, Options and Futur... | using System.Reflection;
// common assembly attributes
[assembly: AssemblyDescription("Lean Engine is an open-source, plataform agnostic C# and Python algorithmic trading engine. " +
"Allows strategy research, backtesting and live trading with Equities, FX, CFD, Crypto, Options and Futu... | apache-2.0 | C# |
24d5678e31a91145852cc867d8792266153d1bf5 | Update IShapeRendererState.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/Model/Renderer/IShapeRendererState.cs | src/Core2D/Model/Renderer/IShapeRendererState.cs | using Core2D.Shapes;
using Core2D.Style;
namespace Core2D.Renderer
{
/// <summary>
/// Defines shape renderer state contract.
/// </summary>
public interface IShapeRendererState : IObservableObject, ISelection
{
/// <summary>
/// The X coordinate of current pan position.
//... | using Core2D.Shapes;
using Core2D.Style;
namespace Core2D.Renderer
{
/// <summary>
/// Defines shape renderer state contract.
/// </summary>
public interface IShapeRendererState : IObservableObject, ISelection
{
/// <summary>
/// The X coordinate of current pan position.
//... | mit | C# |
0b012eb9f0ec226615efd2581d93e8fec8b3270b | add todo to manifest file reader service. | pburls/dewey | Dewey.File/ManifestFileReaderService.cs | Dewey.File/ManifestFileReaderService.cs | using System;
namespace Dewey.File
{
public class ManifestFileReaderService : IManifestFileReaderService
{
public IManifestFileReader ReadComponentManifestFile(params string[] paths)
{
return new ComponentManifestFileReader(paths);
}
public IManifestFileReader Read... | using System;
namespace Dewey.File
{
public class ManifestFileReaderService : IManifestFileReaderService
{
public IManifestFileReader ReadComponentManifestFile(params string[] paths)
{
return new ComponentManifestFileReader(paths);
}
public IManifestFileReader Read... | mit | C# |
593793d16e51f0f8063765f0699fc4a09c5df3ad | Update CommentsDisqus.cshtml | Shazwazza/Articulate,readingdancer/Articulate,Shazwazza/Articulate,readingdancer/Articulate,readingdancer/Articulate,Shazwazza/Articulate | src/Articulate.Web/App_Plugins/Articulate/Themes/Phantom/Views/Partials/CommentsDisqus.cshtml | src/Articulate.Web/App_Plugins/Articulate/Themes/Phantom/Views/Partials/CommentsDisqus.cshtml | @model Articulate.Models.PostModel
@if (Model.DisqusShortName.IsNullOrWhiteSpace())
{
<p>
<em>
To enable comments sign up for a <a href="http://disqus.com" target="_blank">Disqus</a> account and
enter your Disqus shortname in the Articulate node settings.
</em>
</p>
}
el... | @model Articulate.Models.PostModel
@if (Model.DisqusShortName.IsNullOrWhiteSpace())
{
<p>
<em>
To enable comments sign up for a <a href="http://disqus.com" target="_blank">Disqus</a> account and
enter your Disqus shortname in the Articulate node settings.
</em>
</p>
}
el... | mit | C# |
8dc73ac1123e7d2aaf4764d1e7c2dbda7144c5b4 | Make FOV image reflect agent color as well | futurechris/zombai | Assets/Scripts/AgentRenderer.cs | Assets/Scripts/AgentRenderer.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class AgentRenderer : MonoBehaviour {
//////////////////////////////////////////////////////////////////
#region Parameters & properties
public Agent agent;
public SpriteRenderer agentSprite;
public Image fovImage;
private static float... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class AgentRenderer : MonoBehaviour {
//////////////////////////////////////////////////////////////////
#region Parameters & properties
public Agent agent;
public SpriteRenderer agentSprite;
public Image fovImage;
private static float... | mit | C# |
f181f62a6ac56049e5d3e6930571ddaf6b2f81b3 | Clean up +1 | alvivar/Hasten | Core/Whitescreen/Whitescreen.cs | Core/Whitescreen/Whitescreen.cs |
// Semi-automatic effect layer for a 2D orthographic camera.
// @matnesis
// 2016/03/14 07:38 PM
using UnityEngine;
using matnesis.TeaTime;
public class Whitescreen : MonoBehaviour
{
public int zOnCam = 1;
public bool autoOrthoAdjust = false; // Whitescreen will change his scale to the width and height of... |
// Semi-automatic effect layer for a 2D orthographic camera.
// @matnesis
// 2016/03/14 07:38 PM
using UnityEngine;
using matnesis.TeaTime;
public class Whitescreen : MonoBehaviour
{
public int zOnCam = 1;
[Header("Automatic references")]
public Renderer render;
public Material material;
publ... | mit | C# |
da6af71f49cde1f3fafd6313cabe7ed769420298 | Bump assembly info for 1.3.1 release | NellyHaglund/SurveyMonkeyApi,bcemmett/SurveyMonkeyApi | SurveyMonkey/Properties/AssemblyInfo.cs | SurveyMonkey/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("Su... | 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("Su... | mit | C# |
418e2c221b78dc4029ff5f20feb15238421767cc | bump to version 1.3.2 | Terradue/DotNetTep,Terradue/DotNetTep | Terradue.Tep/Properties/AssemblyInfo.cs | Terradue.Tep/Properties/AssemblyInfo.cs | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.3.2
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xref... | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.3.1
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xref... | agpl-3.0 | C# |
26f501f86401d1ad54b196e020a4430561569e95 | Update Roslyn version number for assembly loading | DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn | src/OmniSharp.Abstractions/Configuration.cs | src/OmniSharp.Abstractions/Configuration.cs | namespace OmniSharp
{
internal static class Configuration
{
public static bool ZeroBasedIndices = false;
public const string RoslynVersion = "2.3.0.0";
public const string RoslynPublicKeyToken = "31bf3856ad364e35";
public readonly static string RoslynFeatures = GetRoslynAssembl... | namespace OmniSharp
{
internal static class Configuration
{
public static bool ZeroBasedIndices = false;
public const string RoslynVersion = "2.1.0.0";
public const string RoslynPublicKeyToken = "31bf3856ad364e35";
public readonly static string RoslynFeatures = GetRoslynAssembl... | mit | C# |
d33907f7e01f267a965b1628b951d964db2292d7 | update payment_method.fraud_score type | conekta/conekta-.net | src/conekta/conekta/Models/PaymentMethod.cs | src/conekta/conekta/Models/PaymentMethod.cs | using System;
namespace conekta
{
public class PaymentMethod
{
public Int64 expires_at { get; set; }
public String type { get; set; }
public String _object { get; set; }
/*Oxxo Payment*/
public String barcode { get; set; }
public String barcode_url { get; set; }
public String store_name { get; set; }... | using System;
namespace conekta
{
public class PaymentMethod
{
public Int64 expires_at { get; set; }
public String type { get; set; }
public String _object { get; set; }
/*Oxxo Payment*/
public String barcode { get; set; }
public String barcode_url { get; set; }
public String store_name { get; set; }... | mit | C# |
95fbacccdd47046335789a55f33ee5d11c621afd | Check if method exist before pre-test in TestCaseExecuter | Hammerstad/Moya | Moya.Runner/TestCaseExecuter.cs | Moya.Runner/TestCaseExecuter.cs | namespace Moya.Runner
{
using System.Collections.Generic;
using System.Reflection;
using Attributes;
using Exceptions;
using Extensions;
using Factories;
using Models;
using Runners;
using Utility;
public class TestCaseExecuter : ITestCaseExecuter
{
private readonly... | namespace Moya.Runner
{
using System.Collections.Generic;
using System.Reflection;
using Attributes;
using Exceptions;
using Extensions;
using Factories;
using Models;
using Runners;
using Utility;
public class TestCaseExecuter : ITestCaseExecuter
{
private readonly... | mit | C# |
9bc303d2937ab2f62e146f7fdde6444ed8cb50c9 | Add MainServer.GetHttpServer(port) method for using multiple listener ports in region modules | allquixotic/opensim-autobackup,intari/OpenSimMirror,TechplexEngineer/Aurora-Sim,intari/OpenSimMirror,cdbean/CySim,intari/OpenSimMirror,TomDataworks/opensim,N3X15/VoxelSim,AlphaStaxLLC/taiga,ft-/arribasim-dev-extras,BogusCurry/arribasim-dev,AlphaStaxLLC/taiga,bravelittlescientist/opensim-performance,ft-/opensim-optimiza... | OpenSim/Framework/MainServer.cs | OpenSim/Framework/MainServer.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | bsd-3-clause | C# |
c1e3fd17c7802b790379dab07191ca0d75217bd5 | fix style issue. A property should not follow a method | IntertechInc/saule,bjornharrtell/saule,sergey-litvinov-work/saule,joukevandermaas/saule,goo32/saule,laurence79/saule | Saule/Serialization/ApiError.cs | Saule/Serialization/ApiError.cs | using System;
using System.Collections.Generic;
using System.Web.Http;
namespace Saule.Serialization
{
internal class ApiError
{
public ApiError(Exception ex)
{
Title = ex.Message;
Detail = ex.ToString();
Code = ex.GetType().FullName;
Links = new... | using System;
using System.Collections.Generic;
using System.Web.Http;
namespace Saule.Serialization
{
internal class ApiError
{
public ApiError(Exception ex)
{
Title = ex.Message;
Detail = ex.ToString();
Code = ex.GetType().FullName;
Links = new... | mit | C# |
f6dec186e9bb20707c477ac79ce27a5ec225380f | Use async method in main program | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/ProcessSample/source/ProcessSample.App/Program.cs | projects/ProcessSample/source/ProcessSample.App/Program.cs | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace ProcessSample
{
using Sy... | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace ProcessSample
{
using Sy... | unlicense | C# |
e4c454dd2bf996b7f0e355a3619a1d6e91841eda | use string builder in to string method | ivayloivanof/C-Sharp-Chat-Programm | Client/ChatClient/ChatClient/ServerInfo.cs | Client/ChatClient/ChatClient/ServerInfo.cs | namespace ChatClient
{
using System;
using System.Collections.Generic;
using System.Text;
public struct ServerInfo
{
public string IP;
public string Port;
public string ServerName;
public string Username;
public string Pwd;
public string SrvPwd;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChatClient
{
public struct ServerInfo
{
public string IP;
public string Port;
public string ServerName;
public string Username;
public string Pw... | unlicense | C# |
551452d8c0260da4c98c799dedcd177684c2f5d6 | Convert Console#Index view to pure html | appharbor/ConsolR,appharbor/ConsolR | CodeConsole.Web/Views/Console/Index.cshtml | CodeConsole.Web/Views/Console/Index.cshtml | <div id="ide">
<form action="/console" method="post">
<div id="commands">
<a class="js-run" href="#">run</a>
</div>
<div id="editors">
<div id="define">
<div class="editor">
<textarea cols="20" id="Classes" name="Classes" rows="2" style="display: none;">
class Person
{
public Person(string name)
{
... | @model Compilify.Web.Models.PostViewModel
<div id="ide">
@using (Html.BeginForm())
{
<div id="commands">
<a class="js-run" href="#">run</a>
</div>
<div id="editors">
<div id="define">
<div class="editor">
@Html.TextAreaFor... | mit | C# |
b774238be2e017213d1e8e6d42d39e046dc19859 | undo franz stuff | dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground | AIPlayground/AIPlayground/Class1.cs | AIPlayground/AIPlayground/Class1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AIPlayground
{
public class Class1
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AIPlayground
{
public class Class1
{
//haaa gay!
}
}
| mit | C# |
904352c1c4f7b3a370e86bff706212463f24d145 | refactor mouse press into an optional function | momo-the-monster/workshop-trails | Assets/MMM/Trails/Scripts/MoveXY.cs | Assets/MMM/Trails/Scripts/MoveXY.cs | using UnityEngine;
using System.Collections;
/**
* Move the Transform of this object in X and Y
* Via Keyboard Commands
*/
namespace mmm
{
public class MoveXY : MonoBehaviour
{
public float speed = 100;
public Vector3 velocity = Vector3.zero;
public bool moveOnPress = false;
... | using UnityEngine;
using System.Collections;
/**
* Move the Transform of this object in X and Y
* Via Keyboard Commands
*/
namespace mmm
{
public class MoveXY : MonoBehaviour
{
public float speed = 100;
public Vector3 velocity = Vector3.zero;
// Input Keys - easy to switch via Ins... | mit | C# |
abefa14c78148ebeff65b2c6d0484e9ec96445e8 | Hide test command. | mcneel/RhinoCycles | Commands/TestDeviceEqualityCrash.cs | Commands/TestDeviceEqualityCrash.cs | /**
Copyright 2014-2015 Robert McNeel and Associates
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 w... | /**
Copyright 2014-2015 Robert McNeel and Associates
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 w... | apache-2.0 | C# |
6bfb6bebf7bba23f852ff67828da7796ce096ffa | Reset version for intermediate release | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core,phillipharding/PnP-Sites-Core | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.
[asse... | using System.Reflection;
using System.Resources;
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.
[asse... | mit | C# |
6abe6b6fd79e340a691c9830fbe0b574346cfe58 | Add AssemblyNativeVersion attribute to class library template (#434) | nanoframework/nf-Visual-Studio-extension | source/CSharp.ClassLibrary/AssemblyInfo.cs | source/CSharp.ClassLibrary/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("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("CS... | mit | C# |
be607e7926cf3cfe536c34342df04272dfed1793 | Use POL.OpenPOLUtilsConfigKey() where applicable. | Zastai/POLUtils | PlayOnline.Utils.FFXIDataBrowser/IItemExporter.cs | PlayOnline.Utils.FFXIDataBrowser/IItemExporter.cs | using System;
using System.IO;
using System.Windows.Forms;
using Microsoft.Win32;
using PlayOnline.Core;
using PlayOnline.FFXI;
namespace PlayOnline.Utils.FFXIDataBrowser {
internal abstract class IItemExporter {
public abstract void DoExport(FFXIItem[] Items);
private static FolderBrowserDialog dlgBrows... | using System;
using System.IO;
using System.Windows.Forms;
using Microsoft.Win32;
using PlayOnline.Core;
using PlayOnline.FFXI;
namespace PlayOnline.Utils.FFXIDataBrowser {
internal abstract class IItemExporter {
public abstract void DoExport(FFXIItem[] Items);
private static FolderBrowserDialog dlgBrows... | apache-2.0 | C# |
4afd7048829532740eeae344e0d29108619a4dfc | Remove unused method. | jherby2k/AudioWorks | AudioWorks/Extensions/AudioWorks.Extensions.Mp4/TextAtom.cs | AudioWorks/Extensions/AudioWorks.Extensions.Mp4/TextAtom.cs | using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JetBrains.Annotations;
namespace AudioWorks.Extensions.Mp4
{
sealed class TextAtom : WritableAtom
{
[NotNull] readonly string _fourCc;
[NotNull]
internal string Val... | using System;
using System.Buffers.Binary;
using System.Buffers.Text;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JetBrains.Annotations;
namespace AudioWorks.Extensions.Mp4
{
sealed class TextAtom : WritableAtom
{
[NotNull] readonly string _fourCc;
[NotNull]
... | agpl-3.0 | C# |
2a78a314c8d2ec15208d7622319a197f5f7957d4 | Fix #39: HttpFactory.Delete does not respect headers | hanssens/extensions | src/Hanssens.Net/Http/HttpFactory.Async.cs | src/Hanssens.Net/Http/HttpFactory.Async.cs | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace Hanssens.Net.Http
{
public partial class HttpFactory
{
public async Task<HttpResponseMessage> DeleteAsync(string requestUri, Dictionary<string, string> headers = null)
{
// TODO: invest... | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace Hanssens.Net.Http
{
public partial class HttpFactory
{
public async Task<HttpResponseMessage> DeleteAsync(string requestUri, Dictionary<string, string> headers = null)
{
// TODO: invest... | mit | C# |
8e3b5f1e45fbd01805aeb67cfe0917b0d6c1eaff | add tracking to match cTradeBrokerRejectSuggest | neowutran/OpcodeSearcher | DamageMeter.Core/Heuristic/S_TRADE_BROKER_DEAL_SUGGESTED.cs | DamageMeter.Core/Heuristic/S_TRADE_BROKER_DEAL_SUGGESTED.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tera.Game.Messages;
namespace DamageMeter.Heuristic
{
class S_TRADE_BROKER_DEAL_SUGGESTED : AbstractPacketHeuristic
{
public static uint LatestListing;
public static uint L... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tera.Game.Messages;
namespace DamageMeter.Heuristic
{
class S_TRADE_BROKER_DEAL_SUGGESTED : AbstractPacketHeuristic
{
public new void Process(ParsedMessage message)
{
... | mit | C# |
3e87306d8e8b909aaa26582fa11cb30e52e9431e | Undo accidental 2.0 -> 2.1 renames (dotnet/corert#5981) | poizan42/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,mmitche/corecl... | src/System.Private.CoreLib/shared/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs | src/System.Private.CoreLib/shared/System/Collections/Generic/NonRandomizedStringEqualityComparer.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.Runtime.Serialization;
namespace System.Collections.Generic
{
// NonRandomizedStringEqualityCompar... | // 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.Runtime.Serialization;
namespace System.Collections.Generic
{
// NonRandomizedStringEqualityCompar... | mit | C# |
c131ed72c7ff88f05c9f49c12eb2d967e779172c | update entity op | tbstudee/IntacctClient | Operations/UpdateEntityOperation.cs | Operations/UpdateEntityOperation.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Intacct.Entities;
using Intacct.Infrastructure;
namespace Intacct.Operations
{
public class UpdateEntityOperation<TEntity> : Intacct... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Intacct.Entities;
namespace Intacct.Operations
{
public class UpdateEntityOperation<TEntity> : IntacctAuthenticatedOperationBase<TEntity> where TEntity : Intac... | mit | C# |
ecc6384bbdc222645e6a85aa13f4cd2edb062cac | add kill arg | abanu-desktop/abanu | src/panel/Program.cs | src/panel/Program.cs | using System;
using Gtk;
using System.Diagnostics;
using abanu.core;
namespace abanu.panel
{
class MainClass
{
public static void Main(string[] args)
{
Application.Init();
//var dwin = new DesktopWindow();
//dwin.Show();
/*GLib.ExceptionManager.UnhandledException += (e) => {
e.ExitApplicati... | using System;
using Gtk;
using System.Diagnostics;
using abanu.core;
namespace abanu.panel
{
class MainClass
{
public static void Main(string[] args)
{
Application.Init();
//var dwin = new DesktopWindow();
//dwin.Show();
/*GLib.ExceptionManager.UnhandledException += (e) => {
e.ExitApplicati... | mit | C# |
6e7fc188de9f731fef171b4437dc97365b6d0261 | Update LinkedListDictionary.cs | efruchter/UnityUtilities | MiscDataStructures/LinkedListDictionary.cs | MiscDataStructures/LinkedListDictionary.cs | using System.Collections;
using System.Collections.Generic;
namespace Collections.Hybrid.Generic
{
/// <summary>
/// LinkedList/Dictionary combo for constant time add/remove/contains. Memory usage is higher as expected.
/// -kazoo
/// </summary>
/// <typeparam name="TK">key value type. It is recomended that this ... | using System.Collections;
using System.Collections.Generic;
/// <summary>
/// LinkedList/Dictionary combo for constant time add/remove/contains. Memory usage is higher as expected.
/// -kazoo
/// </summary>
/// <typeparam name="TK">key value type. It is recomended that this be "int", for speed purposes.</typeparam>
//... | mit | C# |
2f1c36867ab46fc635cfbe6516246b1be51dcf29 | Fix encoding | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Agent/Tasks/InfinniNode/UninstallAppTask.cs | InfinniPlatform.Agent/Tasks/InfinniNode/UninstallAppTask.cs | using System.Net.Http;
using System.Threading.Tasks;
using InfinniPlatform.Agent.Helpers;
using InfinniPlatform.Sdk.Http.Services;
namespace InfinniPlatform.Agent.Tasks.InfinniNode
{
public class UninstallAppTask : IAppTask
{
private const int ProcessTimeout = 10 * 60 * 1000;
public Uninstal... | using System.Net.Http;
using System.Threading.Tasks;
using InfinniPlatform.Agent.Helpers;
using InfinniPlatform.Sdk.Http.Services;
namespace InfinniPlatform.Agent.Tasks.InfinniNode
{
public class UninstallAppTask : IAppTask
{
private const int ProcessTimeout = 10 * 60 * 1000;
public Uninstall... | agpl-3.0 | C# |
412d09e8fd4ca0201071fbb1cbb9bcf60fe85e09 | Allow the assemblies to be passed in on the cmd line | modernist/APIComparer,modernist/APIComparer,ParticularLabs/APIComparer,ParticularLabs/APIComparer | APIComparer/Program.cs | APIComparer/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using APIComparer;
using NuGet;
class Program
{
static void Main(string[] args)
{
//var nugetCacheDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using APIComparer;
using NuGet;
class Program
{
static void Main()
{
var nugetCacheDirectory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "NuGet", "Cache");
var rep... | mit | C# |
ec7fbe6d581536bd5f844ff99bf0b9f4bbd438a0 | Fix the microwave not turning off | Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,fom... | UnityProject/Assets/Scripts/Machines/Microwave.cs | UnityProject/Assets/Scripts/Machines/Microwave.cs | using UnityEngine;
using Mirror;
/// <summary>
/// A machine into which players can insert certain food items.
/// After some time the food is cooked and gets ejected from the microwave.
/// </summary>
public class Microwave : NetworkBehaviour
{
/// <summary>
/// Time it takes for the microwave to cook a meal (in s... | using UnityEngine;
using Mirror;
/// <summary>
/// A machine into which players can insert certain food items.
/// After some time the food is cooked and gets ejected from the microwave.
/// </summary>
public class Microwave : NetworkBehaviour
{
/// <summary>
/// Time it takes for the microwave to cook a meal (in s... | agpl-3.0 | C# |
7f31bb8a848278523fe95bd1d0422365647e01f8 | Add notification to registry | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Web.AcceptanceTests/DependencyResolution/DefaultRegistry.cs | src/SFA.DAS.EmployerApprenticeshipsService.Web.AcceptanceTests/DependencyResolution/DefaultRegistry.cs | using MediatR;
using Moq;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Data;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
using SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Data;
using SFA.DAS.EmployerApprenticeshipsS... | using MediatR;
using Moq;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Data;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
using SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Data;
using SFA.DAS.EmployerApprenticeshipsS... | mit | C# |
b591d355d44d4e42220d67b52c82018a0f942297 | remove unhelpful comments in Move | ad510/plausible-deniability | Assets/Scripts/Move.cs | Assets/Scripts/Move.cs | // Copyright (c) 2013-2014 Andrew Downing
// 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, modify, merge, publish, dist... | // Copyright (c) 2013-2014 Andrew Downing
// 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, modify, merge, publish, dist... | mit | C# |
805f5111de2640d917467d3ff2ded4809a5b3030 | Remove DisplayName from Connection as it exists on ConnectionBase (#577) | auth0/auth0.net,auth0/auth0.net | src/Auth0.ManagementApi/Models/Connection.cs | src/Auth0.ManagementApi/Models/Connection.cs | using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Connection object as returned from API calls.
/// </summary>
public class Connection : ConnectionBase
{
/// <summary>
/// The connection's identifier.
/// </summary>
[JsonProperty("id")]... | using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Connection object as returned from API calls.
/// </summary>
public class Connection : ConnectionBase
{
/// <summary>
/// The connection's identifier.
/// </summary>
[JsonProperty("id")]... | mit | C# |
970fbc17274f25bbfb88fa32bcec73b91ce637ca | Add method to convert byte array to hex string | Figglewatts/LSDStay | LSDStay/Memory.cs | LSDStay/Memory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace LSDStay
{
public static class Memory
{
[Flags]
public static enum ProcessAccessFlags : uint
{
All = 0x001F0FFF,
Te... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace LSDStay
{
public static class Memory
{
[Flags]
public static enum ProcessAccessFlags : uint
{
All = 0x001F0FFF,
Te... | mit | C# |
74706f72e6450befc842511bdc0077b100180ac9 | Add 12-hour display setting (TODO add toggle) | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game/Overlays/Toolbar/DigitalClockDisplay.cs | osu.Game/Overlays/Toolbar/DigitalClockDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Overlays.Toolbar... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Overlays.Toolbar... | mit | C# |
d6f23d357bacb84d659371e9df0b9edeb8e11c3e | check hook | andyasne/JenkinsTester_App | JenkinsTesterApp/JenkinsTesterApp/Program.cs | JenkinsTesterApp/JenkinsTesterApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JenkinsTesterApp
{
class Program
{
static void Main(string[] args)
{
System.Console.Out.Write("This is a test app.Development Branch:Hook checking!");
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JenkinsTesterApp
{
class Program
{
static void Main(string[] args)
{
System.Console.Out.Write("This is a test app.Development Branch:Hook checking");
... | unlicense | C# |
3fac12ea16cc54df748f9d8a8b7e236ae834a17c | Return BackgroundColor from item | KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite | KryptPadWebApp/Models/Results/ItemsResult.cs | KryptPadWebApp/Models/Results/ItemsResult.cs | using KryptPadWebApp.Cryptography;
using KryptPadWebApp.Models.ApiEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace KryptPadWebApp.Models.Results
{
public class ItemsResult
{
public ApiItem[] Items { get; protected set; }
public ItemsResu... | using KryptPadWebApp.Cryptography;
using KryptPadWebApp.Models.ApiEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace KryptPadWebApp.Models.Results
{
public class ItemsResult
{
public ApiItem[] Items { get; protected set; }
public ItemsResu... | mit | C# |
a625804e252eb400154bd207b133279838ef7753 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.0.5 | AdamsLair/winforms,windygu/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/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# |
595ec4de1916f102cba1f65f0c5956548a3660e5 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.10 | AdamsLair/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/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# |
69c1dd61d2143bc4697c7da94b6b98ffd948427e | Use updated TagHelper on home page | peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples | ProgressBarComponent/Views/Home/Index.cshtml | ProgressBarComponent/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="row">
<div class="col-xs-6 col-md-4">
<div href="#" class="thumbnail">
<h3>Progress Bar Default</h3>
<p>
<code>progress-bar</code>
</p>
<div bs-progress-min="1"
bs-progress-max="100"
bs-progress... | @{
ViewData["Title"] = "Home Page";
}
.<div class="row">
<div class="col-xs-12">
<div bs-progress-min="1"
bs-progress-max="5"
bs-progress-value="4">
</div>
</div>
</div>
| mit | C# |
14b58386e58559a8add1686840d5e80be44a5f14 | fix tour backdropOpacity | lars-erik/Umbraco-CMS,mattbrailsford/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,WebCentrum/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,hfloyd/Umbraco-CMS,hfloyd/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco... | src/Umbraco.Web/Models/BackOfficeTourStep.cs | src/Umbraco.Web/Models/BackOfficeTourStep.cs | using System.Runtime.Serialization;
namespace Umbraco.Web.Models
{
/// <summary>
/// A model representing a step in a tour.
/// </summary>
[DataContract(Name = "step", Namespace = "")]
public class BackOfficeTourStep
{
[DataMember(Name = "title")]
public string Title { get; set... | using System.Runtime.Serialization;
namespace Umbraco.Web.Models
{
/// <summary>
/// A model representing a step in a tour.
/// </summary>
[DataContract(Name = "step", Namespace = "")]
public class BackOfficeTourStep
{
[DataMember(Name = "title")]
public string Title { get; set... | mit | C# |
faea1dc1e4dce61070f4543735d9c4877712d995 | Add comment. | diryboy/roslyn,jasonmalinowski/roslyn,tannergooding/roslyn,jasonmalinowski/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,stephentoub/roslyn,sharwell/roslyn,brettfo/roslyn,heejaechang/roslyn,AlekseyTs/roslyn,weltkante/roslyn,reaction1989/roslyn,nguerrera/roslyn,gafter/roslyn,KevinRansom/roslyn,genlu/roslyn,AlekseyTs/rosl... | src/Features/CSharp/Portable/CodeRefactorings/PullMemberUp/CSharpPullMemberUpCodeRefactoringProvider.cs | src/Features/CSharp/Portable/CodeRefactorings/PullMemberUp/CSharpPullMemberUpCodeRefactoringProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.C... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.C... | mit | C# |
77f0b9b78c19a5eaf2dd63218b3f56272106b3b4 | Update status message for last guess | 12joan/hangman | game.cs | game.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
private string StatusMessage;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
StatusMessage =... | using System;
using System.Collections.Generic;
using System.Text;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
private string StatusMessage;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
StatusMessage =... | unlicense | C# |
5b44b6efce0556b0c58742696ba0e7bd3e541c3c | Add test for authorization requirement in TraktUserCustomListAddRequest | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserCustomListAddRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserCustomListAddRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Get.Users.Lists;
... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Get.Users.Lists;
... | mit | C# |
da864d09dc60a7a4d934015888c23be624ec25d7 | Add support for `Result` and `ResultReason` in `ChargePaymentMethodDetailsCardThreeDSecure` | stripe/stripe-dotnet | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity<ChargePaymentMethodDetailsCardThreeDSecure>
{
/// <summary>
/// Whether or not authentication was performed. 3D Secure will succeed without
... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity<ChargePaymentMethodDetailsCardThreeDSecure>
{
/// <summary>
/// Whether or not authentication was performed. 3D Secure will succeed without
... | apache-2.0 | C# |
bff391d7bb3a0b1e95503a31185664d4be7dfafd | Rename CCReusedObject | TukekeSoft/CocosSharp,TukekeSoft/CocosSharp,mono/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,MSylvia/CocosSharp,haithemaraissia/CocosSharp,haithemaraissia/CocosSharp,netonjm/CocosSharp,MSylvia/CocosSharp,mono/cocos2d-xna,hig-ag/CocosSharp,hig-ag/CocosSharp,zmaruo/CocosSharp,mono/cocos2d-xna,zmaruo/CocosSharp | cocos2d/platform/CCReusedObject.cs | cocos2d/platform/CCReusedObject.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Cocos2D
{
public abstract class CCReusedObject<T> where T : CCReusedObject<T>, new()
{
private bool used;
private static readonly List<CCReusedObject<T>> _unused = new List<CCReusedObject<T>>();
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Cocos2D
{
public abstract class ReusedObject<T> where T : ReusedObject<T>, new()
{
private bool used;
private static readonly List<ReusedObject<T>> _unused = new List<ReusedObject<T>>();
prot... | mit | C# |
757361eaa2630a1daee4217e4d9df85791ae82ef | remove unused code. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/ViewModelBase.cs | WalletWasabi.Gui/ViewModels/ViewModelBase.cs | using ReactiveUI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels
{
public class ViewModelBase : ReactiveObject, INotif... | using ReactiveUI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels
{
public class ViewModelBase : ReactiveObject, INotif... | mit | C# |
f4568659afe75d1b9a05951ee8031634683b4d12 | Bump version to 0.0.6 | Morphan1/Voxalia,Morphan1/Voxalia,Morphan1/Voxalia | Voxalia/MainProgram.cs | Voxalia/MainProgram.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using Voxalia.Shared;
using Voxalia.ServerGame.ServerMainSystem;
using Voxalia.ClientGame.ClientMainSystem;
using System.IO;
using System.Threading;
using System.Globalization;
using Voxalia.Shared.Files;
namespace Voxalia
{
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using Voxalia.Shared;
using Voxalia.ServerGame.ServerMainSystem;
using Voxalia.ClientGame.ClientMainSystem;
using System.IO;
using System.Threading;
using System.Globalization;
using Voxalia.Shared.Files;
namespace Voxalia
{
... | mit | C# |
531620bf12c96bc5f58acb688f627954a7f54880 | Tidy up BySettings code style | NFig/NFig | NFig/BySetting.cs | NFig/BySetting.cs | using System.Collections;
using System.Collections.Generic;
namespace NFig
{
/// <summary>
/// An immutable dictionary where they keys are a setting name, and the values are <typeparamref name="TValue"/>.
/// </summary>
public class BySetting<TValue> : BySettingBase<TValue>, IReadOnlyDictionary<string,... | using System;
using System.Collections;
using System.Collections.Generic;
namespace NFig
{
/// <summary>
/// An immutable dictionary where they keys are a setting name, and the values are <typeparamref name="TValue"/>.
/// </summary>
public class BySetting<TValue> : BySettingBase<TValue>, IReadOnlyDict... | mit | C# |
d03f345490de88654a0b07cb0396e9651590466c | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
21240e61a39431e5e23e1657562490314866d69e | Revert "Revert "cosmetic"" | stormsw/ladm.rrr | Example1/Program.cs | Example1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ladm.DataModel;
namespace Example1
{
class Program
{
static void Main(string[] args)
{
using (var context = new Ladm.DataModel.LadmDbContext())
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ladm.DataModel;
namespace Example1
{
class Program
{
static void Main(string[] args)
{
using (var ctx = new Ladm.DataModel.LadmDbContext())
{
... | mit | C# |
ab8481215c11df4c2f76a46ec193b8cb69e3ae41 | Fix to dodgy cast in test | eric-davis/JustSaying,Intelliflo/JustSaying,Intelliflo/JustSaying | JustSaying.IntegrationTests/WhenRegisteringHandlersViaResolver/WhenRegisteringABlockingHandlerViaContainer.cs | JustSaying.IntegrationTests/WhenRegisteringHandlersViaResolver/WhenRegisteringABlockingHandlerViaContainer.cs | using System.Linq;
using JustSaying.Messaging.MessageHandling;
using NUnit.Framework;
using Shouldly;
using StructureMap;
namespace JustSaying.IntegrationTests.WhenRegisteringHandlersViaResolver
{
public class WhenRegisteringABlockingHandlerViaContainer : GivenAPublisher
{
private BlockingOrderProcesso... | using System.Linq;
using NUnit.Framework;
using Shouldly;
using StructureMap;
namespace JustSaying.IntegrationTests.WhenRegisteringHandlersViaResolver
{
public class WhenRegisteringABlockingHandlerViaContainer : GivenAPublisher
{
private BlockingOrderProcessor _resolvedHandler;
protected overr... | apache-2.0 | C# |
72a58731bb7ddfaf35c14cb4362b49451d4dfdbf | Create new instance of KeyHandler on every call to Read method | tsolarin/readline,tsolarin/readline | src/ReadLine/ReadLine.cs | src/ReadLine/ReadLine.cs | using System;
namespace ReadLine
{
public static class ReadLine
{
private static KeyHandler _keyHandler;
public static string Read()
{
_keyHandler = new KeyHandler();
ConsoleKeyInfo keyInfo = Console.ReadKey(true);
while (keyInfo.Key != ConsoleKey.E... | using System;
namespace ReadLine
{
public static class ReadLine
{
private static KeyHandler _keyHandler;
static ReadLine()
{
_keyHandler = new KeyHandler();
}
public static string Read()
{
ConsoleKeyInfo keyInfo = Console.ReadKey(true);... | mit | C# |
da8ffd88d7b89eddc58a7458ed3b873f47c2f799 | refactor to use a propertyDescriptor | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/Extensions.cs | src/Stronk/Extensions.cs | using System;
using System.Configuration;
using System.Linq;
using System.Reflection;
using Stronk.ValueConversion;
namespace Stronk
{
public static class Extensions
{
public static void FromAppConfig(this object target)
{
var converters = new IValueConverter[]
{
new LambdaValueConverter<Uri>(val => n... | using System;
using System.Configuration;
using System.Linq;
using System.Reflection;
using Stronk.ValueConversion;
namespace Stronk
{
public static class Extensions
{
public static void FromAppConfig(this object target)
{
var converters = new IValueConverter[]
{
new LambdaValueConverter<Uri>(val => n... | lgpl-2.1 | C# |
a6d5d26dbf8b4429177887ada02256c2903036ac | check creds | diman84/Welthperk,diman84/Welthperk,diman84/Welthperk | src/Wealthperk.Web/Controllers/HomeController.cs | src/Wealthperk.Web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace WelthPeck.Controllers
{
public class HomeController : Controller
{
Amazon.DynamoDBv2.IAmazonDynamoDB _dynamoDb;
Amazon.Extensions.NETCore.Setup.AWSOptions ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace WelthPeck.Controllers
{
public class HomeController : Controller
{
Amazon.DynamoDBv2.IAmazonDynamoDB _dynamoDb;
public HomeController(Amazon.DynamoDBv2.IA... | mit | C# |
ff4f9861369a0669c99f00aa41c29c785f6e6ced | Use tabs instead of spaces. | yallie/unzip | UsageExample.cs | UsageExample.cs | // Unzip class usage example
// Written by Alexey Yakovlev <yallie@yandex.ru>
// https://github.com/yallie/unzip
using System;
using System.Linq;
namespace Internals
{
internal struct Program
{
private static void Main(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("Syntax: unzip Archive.z... | // Unzip class usage example
// Written by Alexey Yakovlev <yallie@yandex.ru>
// https://github.com/yallie/unzip
using System;
using System.Linq;
namespace Internals
{
internal struct Program
{
private static void Main(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("Syntax: unzip Archive.z... | mit | C# |
91b682d431fa7597881b9618095d0ab5a4585952 | fix build - again | IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4 | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var packPath ... | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var packPath ... | apache-2.0 | C# |
f74df7cf2c6550e155c8c5ce3b513667e1d6c98a | Make class CredentialStore public because it's used by nuget v3 now. | indsoft/NuGet2,indsoft/NuGet2,chocolatey/nuget-chocolatey,indsoft/NuGet2,chocolatey/nuget-chocolatey,chocolatey/nuget-chocolatey,indsoft/NuGet2,indsoft/NuGet2,chocolatey/nuget-chocolatey,chocolatey/nuget-chocolatey,chocolatey/nuget-chocolatey,indsoft/NuGet2 | src/Core/Http/CredentialStore.cs | src/Core/Http/CredentialStore.cs | using System;
using System.Collections.Concurrent;
using System.Net;
namespace NuGet
{
public class CredentialStore : ICredentialCache
{
private readonly ConcurrentDictionary<Uri, ICredentials> _credentialCache = new ConcurrentDictionary<Uri, ICredentials>();
private static readonly... | using System;
using System.Collections.Concurrent;
using System.Net;
namespace NuGet
{
internal class CredentialStore : ICredentialCache
{
private readonly ConcurrentDictionary<Uri, ICredentials> _credentialCache = new ConcurrentDictionary<Uri, ICredentials>();
private static readon... | apache-2.0 | C# |
19eaeb804a0860e7fd53da0ab106485d23a0e85b | Update Assets/MixedRealityToolkit-Examples/Demos/CustomServices/Inspectors/DemoCustomExtensionServiceProfileInspector.cs | StephenHodgson/MixedRealityToolkit-Unity | Assets/MixedRealityToolkit-Examples/Demos/CustomServices/Inspectors/DemoCustomExtensionServiceProfileInspector.cs | Assets/MixedRealityToolkit-Examples/Demos/CustomServices/Inspectors/DemoCustomExtensionServiceProfileInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Core.Inspectors.Profiles;
using Microsoft.MixedReality.Toolkit.Core.Inspectors.Utilities;
using UnityEditor;
namespace Microsof... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Core.Inspectors.Profiles;
using Microsoft.MixedReality.Toolkit.Core.Inspectors.Utilities;
using UnityEditor;
namespace Microsof... | mit | C# |
9b08d69c9048e7076b65238c752bf56a57952895 | move to version 1.4 | ChrisMissal/Formo,Moulde/Formo,noelbundick/Formo,madhon/Formo | src/Formo/Properties/AssemblyInfo.cs | src/Formo/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# |
d615f137ffadb9b737d8304130fb26e8448a25d6 | Document PageNT | ianmartinez/Language-Pad | src/LangPadData/NotebookNT/PageNT.cs | src/LangPadData/NotebookNT/PageNT.cs | namespace LangPadData.NotebookNT
{
/// <summary>
/// A page in the NT 1.x-2.x file format (*.nt).
/// </summary>
public class PageNT
{
/// <summary>
/// The page's title.
/// </summary>
public string Title { get; set; } = "";
/// <summary>
/// The Ri... | namespace LangPadData.NotebookNT
{
public class PageNT
{
public string Title { get; set; } = "";
public string Rtf { get; set; } = "";
}
}
| mit | C# |
7e5999ea9d78fe1f446163a86dffe0fede58b966 | Bump version to 1.3.6 to fix builtInTypeReplacements bug. | ananthonline/Postal | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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 defau... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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 defau... | mit | C# |
7486f2660e7a231c53b95ddb2fa6f268fb12a1b7 | Improve clipboard code | Baggykiin/pass-winmenu | pass-winmenu/src/WinApi/Clipboard.cs | pass-winmenu/src/WinApi/Clipboard.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using PassWinmenu.Utilities;
namespace PassWinmenu.WinApi
{
public class ClipboardHelper
{
/// <summary>
/// Copies a string to the clipboard. If it still exists on the clipboard after the amount of time
/// sp... | using System;
using System.Threading.Tasks;
using System.Windows;
namespace PassWinmenu.WinApi
{
public class ClipboardHelper
{
/// <summary>
/// Copies a string to the clipboard. If it still exists on the clipboard after the amount of time
/// specified in <paramref name="timeout"/>, it will be removed again... | mit | C# |
610dd0b6fc8c3e0b3bb725a734fd8b4057e953fd | Modify `Performance_test_for_resolving_of_nested_anonymous_types` test to measure performance of `TypeResolver.EqualityComparer.Equals` Issue #15 | 6bee/aqua-core | test/Aqua.Tests/TypeSystem/TypeResolver/PerformanceTests.cs | test/Aqua.Tests/TypeSystem/TypeResolver/PerformanceTests.cs | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Aqua.Tests.TypeSystem.TypeResolver
{
using System;
using Aqua.TypeSystem;
using System.Diagnostics;
using Xunit;
public class PerformanceTests
{
[Fact]
p... | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Aqua.Tests.TypeSystem.TypeResolver
{
using Aqua.TypeSystem;
using System.Diagnostics;
using Xunit;
public class PerformanceTests
{
[Fact]
public void Perform... | mit | C# |
e2d21abaa30cb981b1cc43d53ed6895126571da0 | duplicate where clause | jefking/King.Data.Sql.Reflection | King.Data.Sql.Reflection/Statement.cs | King.Data.Sql.Reflection/Statement.cs | namespace King.Data.Sql.Reflection
{
/// <summary>
/// SQL Statements
/// </summary>
public struct Statement
{
#region Members
/// <summary>
/// SQL Stored Procedures Statement
/// </summary>
public const string StoredProcedures = @"SELECT parm.name AS [Param... | namespace King.Data.Sql.Reflection
{
/// <summary>
/// SQL Statements
/// </summary>
public struct Statement
{
#region Members
/// <summary>
/// SQL Stored Procedures Statement
/// </summary>
public const string StoredProcedures = @"SELECT parm.name AS [Param... | mit | C# |
c457ecf07a29718acca8c18098af9f504df48949 | Add missing constructor for derived tracking events | bwatts/Totem,bwatts/Totem | Source/Totem/Tracking/TrackedEvent.cs | Source/Totem/Tracking/TrackedEvent.cs | using System;
namespace Totem.Tracking
{
/// <summary>
/// A timeline event tracked by an index
/// </summary>
public class TrackedEvent
{
protected TrackedEvent()
{}
public TrackedEvent(string eventType, long eventPosition, Id userId, DateTime eventWhen, string keyType, string keyValue)
{
... | using System;
namespace Totem.Tracking
{
/// <summary>
/// A timeline event tracked by an index
/// </summary>
public class TrackedEvent
{
public TrackedEvent(string eventType, long eventPosition, Id userId, DateTime eventWhen, string keyType, string keyValue)
{
EventType = eventType;
EventPosition =... | mit | C# |
80212c91d0cffbe59d7d056e030beefe998bd7c5 | Move constants to top of interface | ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Rendering/IRenderer.cs | osu.Framework/Graphics/Rendering/IRenderer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Shaders;
using osu.Framework.Graphics.Textures;
using System;
using osu.Framework.Graphics.OpenGL.Vertices;
namespace osu.Framework.Graphics... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Shaders;
using osu.Framework.Graphics.Textures;
using System;
using osu.Framework.Graphics.OpenGL.Vertices;
namespace osu.Framework.Graphics... | mit | C# |
017fa4fce6a060f5ec94535c7a097184102e6683 | Initialize InfoAppCommand with a TextWriter | appharbor/appharbor-cli | src/AppHarbor/Commands/InfoAppCommand.cs | src/AppHarbor/Commands/InfoAppCommand.cs | using System;
using System.IO;
namespace AppHarbor.Commands
{
[CommandHelp("Get application details")]
public class InfoAppCommand : ICommand
{
private readonly IAppHarborClient _client;
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly TextWriter _writer;
public InfoA... | using System;
namespace AppHarbor.Commands
{
[CommandHelp("Get application details")]
public class InfoAppCommand : ICommand
{
private readonly IAppHarborClient _client;
private readonly IApplicationConfiguration _applicationConfiguration;
public InfoAppCommand(IAppHarborClient client, IApplicationConfigura... | mit | C# |
e71ec5043d3ea5f09bf80ad729b79caa16d7cab6 | Update ClaudioSilva.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/ClaudioSilva.cs | src/Firehose.Web/Authors/ClaudioSilva.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ClaudioSilva : IAmAMicrosoftMVP
{
public string FirstName => "Cláudio";
public string Last... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class ClaudioSilva : IAmAMicrosoftMVP
{
public string FirstName => "Cláudio";
public string Last... | mit | C# |
cd027aec31d3e9d22dcb439c2acf960cb8db007b | Update MikeFRobbins.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/MikeFRobbins.cs | src/Firehose.Web/Authors/MikeFRobbins.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MikeFRobbins : IAmAMicrosoftMVP
{
public string FirstName => "Mike";
public string LastNam... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MikeFRobbins : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Mike";
p... | mit | C# |
591c1e4ea2b2af0d1bbc3b5c21fb164b1e1d4b41 | Update AssemblyInfo | OkraFramework/Okra.Data | src/Okra.Data/Properties/AssemblyInfo.cs | src/Okra.Data/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.