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
3b28020e1204077dfbbd1f7eda2758c4e0212be3
add subject name property
Lone-Coder/letsencrypt-win-simple
letsencrypt-win-simple/CertificateInfo.cs
letsencrypt-win-simple/CertificateInfo.cs
using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; namespace LetsEncrypt.ACME.Simple { public class CertificateInfo { public X509Certificate2 Certificate { get; set; } public X509Store Store ...
using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; namespace LetsEncrypt.ACME.Simple { public class CertificateInfo { public X509Certificate2 Certificate { get; set; } public X509Store Store ...
apache-2.0
C#
91171c51824b39550532fe1b05245d83ceb4fdc4
Update to PaginationParameter
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/PaginationParameters.cs
main/Smartsheet/Api/Models/PaginationParameters.cs
using Smartsheet.Api.Internal.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Smartsheet.Api.Models { public class PaginationParameters { private bool includeAll; private int? pageSize; private int? page; public PaginationParameters(bool includeAll, i...
using Smartsheet.Api.Internal.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Smartsheet.Api.Models { public class PaginationParameters { private bool includeAll; private int? pageSize; private int? page; public PaginationParameters(bool includeAll, i...
apache-2.0
C#
5e34db1293fb2c1939694d40021b1bd9ff879afe
Create multiple events, serialize and re-load.
rianjs/ical.net
Example2/Program.cs
Example2/Program.cs
using System; using System.Collections.Generic; using System.Text; using DDay.iCal; using DDay.iCal.Components; using DDay.iCal.DataTypes; using DDay.iCal.Serialization; namespace Example2 { public class Program { /// <summary> /// Creates a string representation of an event. ...
using System; using System.Collections.Generic; using System.Text; using DDay.iCal; using DDay.iCal.Components; using DDay.iCal.Serialization; namespace Example2 { public class Program { static void Main(string[] args) { // Create a new iCalendar iCalendar ...
mit
C#
5cb32ba792b02cce85185b643d7d3fd01a1f0ca8
Remove unneeded usings
Joe4evr/Discord.Addons
src/Discord.Addons.MpGame/Collections/ICardWrapper.cs
src/Discord.Addons.MpGame/Collections/ICardWrapper.cs
namespace Discord.Addons.MpGame.Collections { public interface ICardWrapper<TCard> where TCard : class { /// <summary> /// Unwraps the wrapped card. /// </summary> /// <returns>The unwrapped <typeparamref name="TCard"/>.</returns> TCard Unwrap(); /// <su...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Discord.Addons.Core; namespace Discord.Addons.MpGame.Collections...
mit
C#
87d17a819aa9e06dd85dcebf05cca092584d4621
Make ObjectSession thread-safe
eposgmbh/Epos.Foundation
src/Epos.Utilities.Web/ObjectSession/ObjectSession.cs
src/Epos.Utilities.Web/ObjectSession/ObjectSession.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using Microsoft.AspNetCore.Http; namespace Epos.Utilities.Web { internal class ObjectSession : IObjectSession { private const string ObjectSessionKey = "ObjectSession"; private readonly IHttpContextAccessor m...
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Http; namespace Epos.Utilities.Web { internal class ObjectSession : IObjectSession { private const string ObjectSessionKey = "ObjectSession"; private readonly IHttpContextAccessor myHttpContextAccessor; private...
mit
C#
e05f9843bada5fa8ef34427a1e2d98ad610ae7bc
Use strongly typed ReaderProgress instead of object[]
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
src/SharpCompress/Common/ReaderExtractionEventArgs.cs
src/SharpCompress/Common/ReaderExtractionEventArgs.cs
using System; using SharpCompress.Readers; namespace SharpCompress.Common { public class ReaderExtractionEventArgs<T> : EventArgs { internal ReaderExtractionEventArgs(T entry, ReaderProgress readerProgress = null) { Item = entry; ReaderProgress = readerProgress; ...
using System; namespace SharpCompress.Common { public class ReaderExtractionEventArgs<T> : EventArgs { internal ReaderExtractionEventArgs(T entry, params object[] paramList) { Item = entry; ParamList = paramList; } public T Item { get; private set; } ...
mit
C#
4f2b32b7577f9baaf770500d1c50c7b320e4c11c
Fix IPV6 issue with BindTest
tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
src/Tgstation.Server.Host/Extensions/SocketExtensions.cs
src/Tgstation.Server.Host/Extensions/SocketExtensions.cs
using System.Net; using System.Net.Sockets; namespace Tgstation.Server.Host.Extensions { /// <summary> /// Extension methods for the <see cref="Socket"/> <see langword="class"/>. /// </summary> static class SocketExtensions { /// <summary> /// Attempt to exclusively bind to a given <paramref name="port"/>. ...
using System.Net; using System.Net.Sockets; namespace Tgstation.Server.Host.Extensions { /// <summary> /// Extension methods for the <see cref="Socket"/> <see langword="class"/>. /// </summary> static class SocketExtensions { /// <summary> /// Attempt to exclusively bind to a given <paramref name="port"/>. ...
agpl-3.0
C#
01bd97f4da951e05f4066056904f607aa7866c12
Add AssemblyBuilder
IEVin/PropertyChangedNotificator
src/Core/DynamicBuilder.cs
src/Core/DynamicBuilder.cs
using System; using System.Reflection; using System.Reflection.Emit; namespace NotifyAutoImplementer.Core { public static class DynamicBuilder { const string AssemblyBuilderName = "DynamicAssembly_871"; static Lazy<AssemblyBuilder> s_assemblyBuilder = new Lazy<AssemblyBuilder>( () => AppDomain.Cu...
using System; namespace NotifyAutoImplementer.Core { public static class DynamicBuilder { public static T CreateInstanceProxy<T>() { return (T)CreateProxy( typeof(T) ); } static object CreateProxy( Type type ) { // stub return Activator.CreateInstance( type ); } } }
mit
C#
337dbd3080065e920367086cca31941bb71a384e
Add tests.
yeaicc/roslyn,eriawan/roslyn,abock/roslyn,jasonmalinowski/roslyn,jeffanders/roslyn,panopticoncentral/roslyn,khellang/roslyn,amcasey/roslyn,cston/roslyn,jamesqo/roslyn,orthoxerox/roslyn,davkean/roslyn,orthoxerox/roslyn,KevinRansom/roslyn,jamesqo/roslyn,diryboy/roslyn,mgoertz-msft/roslyn,jeffanders/roslyn,drognanar/rosly...
src/Workspaces/CoreTest/UtilityTest/SpellCheckerTests.cs
src/Workspaces/CoreTest/UtilityTest/SpellCheckerTests.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Roslyn.Utilities; using Xunit; nam...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Roslyn.Utilities; using Xunit; nam...
mit
C#
c1da5b3925c18c61ca700bc7d0b301e9fd60ac47
Make Maybe immutable.
j2jensen/CallMeMaybe
CallMeMaybe/Maybe.cs
CallMeMaybe/Maybe.cs
namespace CallMeMaybe { public struct Maybe<T> { private readonly T value; private readonly bool _hasValue; public bool HasValue { get { return _hasValue; } } } }
namespace CallMeMaybe { public struct Maybe<T> { private T value; private bool _hasValue; public bool HasValue { get { return _hasValue; } } } }
mit
C#
ee052f804dd963488e1087646fab90a8e02e03c2
Add abstract GetValidMoves
ProgramFOX/Chess.NET
ChessDotNet/Piece.cs
ChessDotNet/Piece.cs
using System.Collections.ObjectModel; namespace ChessDotNet { public abstract class Piece { public abstract Player Owner { get; set; } public override bool Equals(object obj) { if (ReferenceEquals(this, obj)) return t...
namespace ChessDotNet { public abstract class Piece { public abstract Player Owner { get; set; } public override bool Equals(object obj) { if (ReferenceEquals(this, obj)) return true; if (obj == null || Get...
mit
C#
26b001c7eee93fedc1c3ff8811555ac6a1551d46
Improve performance counter test stability
mvno/Okanshi,mvno/Okanshi,mvno/Okanshi
tests/Okanshi.Tests/PerformanceCounterTest.cs
tests/Okanshi.Tests/PerformanceCounterTest.cs
using System.Diagnostics; using FluentAssertions; using Xunit; namespace Okanshi.Test { public class PerformanceCounterTest { [Fact] public void Performance_counter_without_instance_name() { var performanceCounter = new PerformanceCounter("Memory", "Available Bytes"); var monitor = new PerformanceCount...
using System.Diagnostics; using FluentAssertions; using Xunit; namespace Okanshi.Test { public class PerformanceCounterTest { [Fact] public void Performance_counter_without_instance_name() { var performanceCounter = new PerformanceCounter("Memory", "Available Bytes"); var monitor = new PerformanceCount...
mit
C#
ba888d685eda2cdf078f122a980a78dbf13e794e
Update version to 1.0.1
logjam2/logjam,logjam2/logjam
build/Version.cs
build/Version.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Version.cs"> // Copyright (c) 2011-2014 logjam.codeplex.com. // </copyright> // Licensed under the <a href="http://logjam.codeplex.com/license">Apache License, Version 2.0</a>; /...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Version.cs"> // Copyright (c) 2011-2014 logjam.codeplex.com. // </copyright> // Licensed under the <a href="http://logjam.codeplex.com/license">Apache License, Version 2.0</a>; /...
apache-2.0
C#
89613208f1e5211101eaf92e36775733f8a20515
remove TODO
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/CareOfMagicalCreatures/Items/GuideToHouseholdPests.cs
Assets/Scripts/HarryPotterUnity/Cards/CareOfMagicalCreatures/Items/GuideToHouseholdPests.cs
using System.Collections.Generic; using System.Linq; using HarryPotterUnity.Cards.BasicBehavior; using HarryPotterUnity.Cards.PlayRequirements; using UnityEngine; namespace HarryPotterUnity.Cards.CareOfMagicalCreatures.Items { [RequireComponent(typeof(InputRequirement))] public class GuideToHouseholdPests : I...
using System.Collections.Generic; using System.Linq; using HarryPotterUnity.Cards.BasicBehavior; using HarryPotterUnity.Cards.PlayRequirements; using UnityEngine; namespace HarryPotterUnity.Cards.CareOfMagicalCreatures.Items { [RequireComponent(typeof(InputRequirement))] public class GuideToHouseholdPests : I...
mit
C#
7315d2a3511966af71d59e2f974077fe8a95ad63
make example main async
nopara73/DotNetTor
src/DotNetTor.Example/Program.cs
src/DotNetTor.Example/Program.cs
using System; using System.Net.Http; using DotNetTor.SocksPort; using System.Linq; using System.IO; using System.Threading.Tasks; namespace DotNetTor.Example { public class Program { // For proper configuraion see https://github.com/nopara73/DotNetTor #pragma warning disable IDE1006 // Naming Styles private sta...
using System; using System.Net.Http; using DotNetTor.SocksPort; using System.Linq; using System.IO; namespace DotNetTor.Example { public class Program { // For proper configuraion see https://github.com/nopara73/DotNetTor private static void Main() { DoARandomRequest(); RequestWith3Ip(); //CanRequest...
mit
C#
da5eb470ca84601db3de3df74f6ca4aaf6662d77
exit Agent by return 0
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Agent/Program.cs
src/FilterLists.Agent/Program.cs
using System; using System.IO; using FilterLists.Services.DependencyInjection.Extensions; using FilterLists.Services.SnapshotService; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namesp...
using System; using System.IO; using FilterLists.Services.DependencyInjection.Extensions; using FilterLists.Services.SnapshotService; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namesp...
mit
C#
ac054ca27bf6ee35c318d5a47a3434dc17c1bbb0
Write dump.log in the temp directory
murador/xsp,arthot/xsp,arthot/xsp,murador/xsp,arthot/xsp,stormleoxia/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp,murador/xsp,stormleoxia/xsp,stormleoxia/xsp
test/DumpExtension.cs
test/DumpExtension.cs
// // DumpExtension.cs // // Author: // Lluis Sanchez Gual (lluis@ximian.com) // // Copyright (C) Ximian, Inc. 2003 // using System; using System.Text; using System.Web.Services; using System.Web.Services.Protocols; using System.IO; using System.Net; public class DumpExtension : SoapExtension { Stream oldStream; ...
// // DumpExtension.cs // // Author: // Lluis Sanchez Gual (lluis@ximian.com) // // Copyright (C) Ximian, Inc. 2003 // using System; using System.Text; using System.Web.Services; using System.Web.Services.Protocols; using System.IO; using System.Net; public class DumpExtension : SoapExtension { Stream oldStream; ...
mit
C#
25a8e998f47bad109b875d8832a822570eb74c7e
Fix error when deserializing response with BodySize set to null (tested with HAR file exported with Firefox).
giacomelli/HarSharp
src/HarSharp/MessageBase.cs
src/HarSharp/MessageBase.cs
using System.Collections.Generic; namespace HarSharp { /// <summary> /// A base class for HTTP messages. /// </summary> public abstract class MessageBase : EntityBase { #region Constructors /// <summary> /// Initializes a new instance of the <see cref="MessageBas...
using System.Collections.Generic; namespace HarSharp { /// <summary> /// A base class for HTTP messages. /// </summary> public abstract class MessageBase : EntityBase { #region Constructors /// <summary> /// Initializes a new instance of the <see cref="MessageBas...
mit
C#
2c07c178de8ea0f27877788ac97f38f20160b346
Remove reference to obsolete `searchHighlight()` javascript function from ClearSilver footer template.
netjunki/trac-Pygit2,netjunki/trac-Pygit2,walty8/trac,jun66j5/trac-ja,netjunki/trac-Pygit2,jun66j5/trac-ja,walty8/trac,walty8/trac,jun66j5/trac-ja,jun66j5/trac-ja,walty8/trac
templates/footer.cs
templates/footer.cs
<?cs if:len(chrome.links.alternate) ?> <div id="altlinks"><h3>Download in other formats:</h3><ul><?cs each:link = chrome.links.alternate ?><?cs set:isfirst = name(link) == 0 ?><?cs set:islast = name(link) == len(chrome.links.alternate) - 1?><li<?cs if:isfirst || islast ?> class="<?cs if:isfirst ?>first<?c...
<script type="text/javascript">searchHighlight()</script><?cs if:len(chrome.links.alternate) ?> <div id="altlinks"><h3>Download in other formats:</h3><ul><?cs each:link = chrome.links.alternate ?><?cs set:isfirst = name(link) == 0 ?><?cs set:islast = name(link) == len(chrome.links.alternate) - 1?><li<?cs if:is...
bsd-3-clause
C#
15d7e187d91c6bdb5015f4b49557e7bd8f35d4b5
Update GetProviderUsersRequest.cs
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprovalsOuterApi/GetProviderUsersRequest.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprovalsOuterApi/GetProviderUsersRequest.cs
using System; using System.Collections.Generic; using System.Text; namespace SFA.DAS.CommitmentsV2.Models.ApprovalsOuterApi { public class GetProviderUsersRequest : IGetApiRequest { public long Ukprn { get; } public GetProviderUsersRequest(long ukprn) { Ukprn = ukprn; ...
using System; using System.Collections.Generic; using System.Text; namespace SFA.DAS.CommitmentsV2.Models.ApprovalsOuterApi { public class GetProviderUsersRequest : IGetApiRequest { public long Ukprn { get; } public GetProviderUsersRequest(long ukprn) { Ukprn = ukprn; ...
mit
C#
a1a1d80625d70e99fa2fbd8185d1bc33b91222c9
add ImageTargetTestData
OlegKleyman/Omego.Selenium
tests/unit/Omego.Selenium.Tests.Unit/ImageTargetTests.cs
tests/unit/Omego.Selenium.Tests.Unit/ImageTargetTests.cs
namespace Omego.Selenium.Tests.Unit { public class ImageTargetTests { private class ImageTargetTestData { } } }
namespace Omego.Selenium.Tests.Unit { public class ImageTargetTests { } }
unlicense
C#
2e35d0e1780af1e83cc09f5fb7c3f319e8fd17e3
Fix coldcard wallet export path (#2809)
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Stores/ImportWallet/File.cshtml
BTCPayServer/Views/Stores/ImportWallet/File.cshtml
@model WalletSetupViewModel @addTagHelper *, BundlerMinifier.TagHelpers @{ Layout = "_LayoutWalletSetup"; ViewData.SetActivePageAndTitle(StoreNavPages.Wallet, "Import your wallet file", Context.GetStoreData().StoreName); } @section Navbar { <a asp-controller="Stores" asp-action="ImportWallet" asp-route-sto...
@model WalletSetupViewModel @addTagHelper *, BundlerMinifier.TagHelpers @{ Layout = "_LayoutWalletSetup"; ViewData.SetActivePageAndTitle(StoreNavPages.Wallet, "Import your wallet file", Context.GetStoreData().StoreName); } @section Navbar { <a asp-controller="Stores" asp-action="ImportWallet" asp-route-sto...
mit
C#
0e39951d482ec771b2b4d53243e48c64cb805a15
Add total row
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/UnitStatsViewModel.cs
Battery-Commander.Web/Models/UnitStatsViewModel.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using static BatteryCommander.Web.Models.Soldier; namespace BatteryCommander.Web.Models { public class UnitStatsViewModel { public Unit Unit { get; set; } // Assigned Passed Failed ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using static BatteryCommander.Web.Models.Soldier; namespace BatteryCommander.Web.Models { public class UnitStatsViewModel { public Unit Unit { get; set; } // Assigned Passed Failed Not Tested % Pass/A...
mit
C#
d324fe0f202790030a4deb99080e0c427cee52e4
Remove irrelevant AppDomain usages from ConsoleTestAppDomain's net452 implementation. These usages are irrelevant now that the test assembly *is* the console application, so all assembly loading and config file concerns are already correct in the primary/default AppDomain already in effect.
fixie/fixie
src/Fixie/Execution/ConsoleTestAppDomain.cs
src/Fixie/Execution/ConsoleTestAppDomain.cs
namespace Fixie.Execution { #if NET452 using System; class ConsoleTestAppDomain : IDisposable { public ConsoleTestAppDomain(string assemblyFullPath) { } public T CreateFrom<T>() where T : LongLivedMarshalByRefObject, new() => new T(); public T Create<T>(params object[...
namespace Fixie.Execution { #if NET452 using System; using System.IO; using System.Security; using System.Security.Permissions; class ConsoleTestAppDomain : IDisposable { readonly AppDomain appDomain; public ConsoleTestAppDomain(string assemblyFullPath) { v...
mit
C#
61880f922e362d00720da49bd7a2e7e8279bda56
remove unused method
ericnewton76/gmaps-api-net
src/Google.Maps/Internal/HttpGetResponse.cs
src/Google.Maps/Internal/HttpGetResponse.cs
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
apache-2.0
C#
b4880bed80a5214a802073a5451447ee9f0fa68e
Update FilePageMessage.cs
jpdante/HTCSharp
HtcSharp.Core/Models/Http/Pages/FilePageMessage.cs
HtcSharp.Core/Models/Http/Pages/FilePageMessage.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace HtcSharp.Core.Models.Http.Pages { public class FilePageMessage : IPageMessage { private readonly string _pageFileName; public int StatusCode { get; } public FilePageMessage(string fileName, i...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace HtcSharp.Core.Models.Http.Pages { public class FilePageMessage : IPageMessage { private readonly string _pageFileName; public int StatusCode { get; } public FilePageMessage(string fileName, i...
mit
C#
95759f7f0a0ead2a8738fa0e18a45e4c1f9c7b5c
Fix typo
Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,dsolovay/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager
src/SIM.Client/Commands/MainCommandGroup.cs
src/SIM.Client/Commands/MainCommandGroup.cs
namespace SIM.Client.Commands { using CommandLine; using CommandLine.Text; using Sitecore.Diagnostics.Base.Annotations; public class MainCommandGroup : MainCommandGroupBase { #region Nested Commands [CanBeNull] [UsedImplicitly] [VerbOption("list", HelpText = "Show already installed instance...
namespace SIM.Client.Commands { using CommandLine; using CommandLine.Text; using Sitecore.Diagnostics.Base.Annotations; public class MainCommandGroup : MainCommandGroupBase { #region Nested Commands [CanBeNull] [UsedImplicitly] [VerbOption("list", HelpText = "Show already installed instance...
mit
C#
f41f4e9a288aebbea5775eda636885cd20766619
fix to xml comments
RockFramework/Rock.Core,peteraritchie/Rock.Core
Rock.Core/Serialization/SerializationExtensions.cs
Rock.Core/Serialization/SerializationExtensions.cs
using System; namespace Rock.Serialization { public static class SerializationExtensions { /// <summary> /// Deserializes an XML string into an object of type T. /// </summary> /// <typeparam name="T">The type of object represented by this string</typeparam> /// <param ...
using System; namespace Rock.Serialization { public static class SerializationExtensions { /// <summary> /// Deserializes an XML string into an object of type T. /// </summary> /// <typeparam name="T">The type of object represented by this string</typeparam> /// <param ...
mit
C#
975c07a20928f73b995dbaeae3925c27d4bdc595
change order of barter offers in Comment.aspx
WebFormsTeamFyodorDostoevsky/ASP-NET-Web-Forms-Teamwork,WebFormsTeamFyodorDostoevsky/ASP-NET-Web-Forms-Teamwork
BarterSystem/BarterSystem.WebForms/Barter/Comment.aspx.cs
BarterSystem/BarterSystem.WebForms/Barter/Comment.aspx.cs
using BarterSystem.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using BarterSystem.Models.Enums; using BarterSystem.WebForms.Models; using BarterSystem.Common; namespace BarterSystem.We...
using BarterSystem.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using BarterSystem.Models.Enums; using BarterSystem.WebForms.Models; using BarterSystem.Common; namespace BarterSystem.We...
mit
C#
2d53ccf31648772ec9f951a556caa2e2749a522c
Disable ClaimWorkStopped filter
leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.Domain/ClaimProblemFilters/ClaimWorkStopped.cs
JoinRpg.Domain/ClaimProblemFilters/ClaimWorkStopped.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JoinRpg.DataModel; namespace JoinRpg.Domain.ClaimProblemFilters { internal class ClaimWorkStopped : IClaimProblemFilter { public IEnumerable<ClaimProblem> GetProblems(Claim claim) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JoinRpg.DataModel; namespace JoinRpg.Domain.ClaimProblemFilters { internal class ClaimWorkStopped : IClaimProblemFilter { public IEnumerable<ClaimProblem> GetProblems(Claim claim) { ...
mit
C#
e477b1fbdf8563b917ba4d2260a4b9729893a85f
return HTTP 400 when function keys are malformatted, fix issue #2341
EricSten-MSFT/kudu,projectkudu/kudu,shibayan/kudu,EricSten-MSFT/kudu,projectkudu/kudu,projectkudu/kudu,puneet-gupta/kudu,projectkudu/kudu,puneet-gupta/kudu,EricSten-MSFT/kudu,puneet-gupta/kudu,puneet-gupta/kudu,EricSten-MSFT/kudu,puneet-gupta/kudu,EricSten-MSFT/kudu,shibayan/kudu,projectkudu/kudu,shibayan/kudu,shibayan...
Kudu.Services/Filters/FunctionExceptionFilterAttribute.cs
Kudu.Services/Filters/FunctionExceptionFilterAttribute.cs
using Kudu.Services.Arm; using System; using System.IO; using System.Net; using System.Net.Http; using System.Web.Http.Filters; namespace Kudu.Services.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public sealed class FunctionExceptionFilt...
using Kudu.Services.Arm; using System; using System.IO; using System.Net; using System.Net.Http; using System.Web.Http.Filters; namespace Kudu.Services.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public sealed class FunctionExceptionFilt...
apache-2.0
C#
e3a562d3c9a80b5dc55367a4162660374119194a
Add file and line number to documentation attribute (#6122)
QuantConnect/Lean,AlexCatarino/Lean,jameschch/Lean,JKarathiya/Lean,jameschch/Lean,jameschch/Lean,JKarathiya/Lean,QuantConnect/Lean,QuantConnect/Lean,AlexCatarino/Lean,AlexCatarino/Lean,jameschch/Lean,JKarathiya/Lean,AlexCatarino/Lean,jameschch/Lean,JKarathiya/Lean,QuantConnect/Lean
Common/DocumentationAttribute.cs
Common/DocumentationAttribute.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
apache-2.0
C#
783f47a27cfb4618526b25da887834b9ab98f4e9
Add comments to code Removed unused namespace Add Buoyancy class to Game namespace
liferaftsim/development
Unity/LifeRaftSim/Assets/_Game/Scripts/Buoyancy.cs
Unity/LifeRaftSim/Assets/_Game/Scripts/Buoyancy.cs
using UnityEngine; namespace Game { /// <summary> /// Very simple non-physics based buoyancy behaviour used for hero, items and debris. /// </summary> public class Buoyancy : MonoBehaviour { /// <summary> /// Additional height offset relative to the ocean surface. /// </sum...
using UnityEngine; using System.Collections; public class Buoyancy : MonoBehaviour { [SerializeField] private float yOffset = 0.0f; [SerializeField] private string waterGameObjectName = "Water"; [SerializeField] private float yConsineSpeed = 1.0f; [SerializeField] private float yCon...
unlicense
C#
7974601487fb987c227cb721ded359ffb329a710
Use system-agnostic path separator
Mako88/dxx-tracker
RebirthTracker/RebirthTracker/Configuration.cs
RebirthTracker/RebirthTracker/Configuration.cs
namespace RebirthTracker { /// <summary> /// Class to keep track of OS-specific configuration settings /// </summary> public static class Configuration { /// <summary> /// Get the folder where files should be stored /// </summary> public static string GetDataDir() ...
using System.Runtime.InteropServices; namespace RebirthTracker { /// <summary> /// Class to keep track of OS-specific configuration settings /// </summary> public static class Configuration { /// <summary> /// Get the folder where files should be stored /// </summary> ...
mit
C#
42d0e149a72ce99b61e24ef407bc769cf37a8000
create directory added
Risvana/Code.Library,Abhith/Code.Library,Abhith/Code.Library
Source/Code.Library/Code.Library/FileHelper.cs
Source/Code.Library/Code.Library/FileHelper.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="FileHelper.cs" company="Open Source"> // File Helper // </copyright> // <summary> // The file helper. // </summary> // -------------------------------------------------...
using System.IO; namespace Code.Library { public static class FileHelper { /// <summary> /// Delete file /// Author : Abhith /// Date : 14 July 2015 /// Reference : Sysberries /// </summary> /// <param name="fileName"></param> public...
apache-2.0
C#
f105fcbd0e80d433c791038bea09c7c1a9a65921
Enable user secrets
JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET
SpotifyAPI.Web.Examples/Example.ASP/Program.cs
SpotifyAPI.Web.Examples/Example.ASP/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Example.ASP { public class Program { public static voi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Example.ASP { public class Program { public static voi...
mit
C#
8ad76164008753a114c722dba0d61e8540a05d73
Allow about page viewing
mattgwagner/alert-roster
alert-roster.web/Controllers/HomeController.cs
alert-roster.web/Controllers/HomeController.cs
using alert_roster.web.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace alert_roster.web.Controllers { public class HomeController : Controller { public ActionResult Index...
using alert_roster.web.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace alert_roster.web.Controllers { public class HomeController : Controller { public ActionResult Index...
mit
C#
80da3f954b844fddfaf7338097eb0829ad89e086
Add note about supported Visual Studio versions
cake-build/website,cake-build/website,cake-build/website
input/docs/integrations/editors/visualstudio/index.cshtml
input/docs/integrations/editors/visualstudio/index.cshtml
Order: 30 Title: Visual Studio Description: Extensions and supported features for Visual Studio RedirectFrom: docs/editors/visualstudio --- <p> The <a href="https://marketplace.visualstudio.com/items?itemName=vs-publisher-1392591.CakeforVisualStudio" target="_blank">Cake extension for Visual Studio </a> brings...
Order: 30 Title: Visual Studio Description: Extensions and supported features for Visual Studio RedirectFrom: docs/editors/visualstudio --- <p> The <a href="https://marketplace.visualstudio.com/items?itemName=vs-publisher-1392591.CakeforVisualStudio" target="_blank">Cake extension for Visual Studio </a> brings...
mit
C#
8fa504d207d150f3d8f5206b033f2eccd3c3b4a3
Fix compiler error
LordMike/TMDbLib
TMDbLib/Client/TMDbClientFind.cs
TMDbLib/Client/TMDbClientFind.cs
using System.Threading.Tasks; using RestSharp; using RestSharp.Contrib; using TMDbLib.Objects.Find; using TMDbLib.Utilities; namespace TMDbLib.Client { public partial class TMDbClient { /// <summary> /// Find movies, people and tv shows by an external id. /// The following trypes can b...
using System.Threading.Tasks; using RestSharp; using RestSharp.Extensions.MonoHttp; using TMDbLib.Objects.Find; using TMDbLib.Utilities; namespace TMDbLib.Client { public partial class TMDbClient { /// <summary> /// Find movies, people and tv shows by an external id. /// The following ...
mit
C#
f2e1eb2eb44aa3577c3f30d452067123a19b1aaf
Test conflit
MetalRono/TestGitTeam
TestGITHUB/TestGITHUB/Program.cs
TestGITHUB/TestGITHUB/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestGITHUB { class Program { static void Main(string[] args) { for (int i = 0; i < 200; i++) { Console.WriteLine("Jouons à Pokém...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestGITHUB { class Program { static void Main(string[] args) { for (int i = 0; i < 200; i++) { Console.WriteLine("Jouons à Pokém...
mit
C#
3e65c2e8913f5bc381cd3fdb4c028e996dd2e74a
Fix Xablu's language (#639)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/Xablu.cs
src/Firehose.Web/Authors/Xablu.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class Xablu : IAmACommunityMember { public string FirstName => "Xablu"; public string LastName => ""; public string StateOrRegion => "Amsterdam, the Netherlands"; ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class Xablu : IAmACommunityMember { public string FirstName => "Xablu"; public string LastName => ""; public string StateOrRegion => "Amsterdam, the Netherlands"; ...
mit
C#
c5b71d2cb7c18f94329cf1f85c02b3b9699027df
Remove unused using
peppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,peppy/osu,Frontear/osuKyzer,NeoAdonis/osu,Nabile-Rahmani/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,naoey/osu,naoey/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,smoogipooo/osu,johnneijzen/osu,EVAST99...
osu.Game/Tests/Visual/OsuTestCase.cs
osu.Game/Tests/Visual/OsuTestCase.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.IO; using System.Reflection; using osu.Framework.Testing; namespace osu.Game.Tests.Visual { public abstract class OsuTestCase ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.IO; using System.Reflection; using osu.Framework.Platform; using osu.Framework.Testing; namespace osu.Game.Tests.Visual { pub...
mit
C#
0c255d5c3a1b30a96512adcf0ca0689a1c2f0c0f
Adjust to new model. Provide change callback for task.
mono-soc-2012/Tasque,mono-soc-2012/Tasque,mono-soc-2012/Tasque
src/Addins/SqliteBackend/SqliteNote.cs
src/Addins/SqliteBackend/SqliteNote.cs
// SqliteNote.cs created with MonoDevelop // User: calvin at 10:56 AM 2/12/2008 // // To change standard headers go to Edit->Preferences->Coding->Standard Headers // using System; namespace Tasque.Backends.Sqlite { public class SqliteNote : TaskNote { public SqliteNote (int id, string text) : base (text) { Id...
// SqliteNote.cs created with MonoDevelop // User: calvin at 10:56 AM 2/12/2008 // // To change standard headers go to Edit->Preferences->Coding->Standard Headers // namespace Tasque.Backends.Sqlite { public class SqliteNote : TaskNote { private int id; private string text; public SqliteNote (int id, string t...
mit
C#
533996115b6bbaac8edb86c795d23466848673e7
Normalize path so NuGet.Core's GetFiles(path) works correctly.
googol/NuGet.Lucene,Stift/NuGet.Lucene,themotleyfool/NuGet.Lucene
source/NuGet.Lucene/FastZipPackageFile.cs
source/NuGet.Lucene/FastZipPackageFile.cs
using System.Collections.Generic; using System.IO; using System.Runtime.Versioning; namespace NuGet.Lucene { public class FastZipPackageFile : IPackageFile { private readonly IFastZipPackage fastZipPackage; private readonly FrameworkName targetFramework; internal FastZipPackageFile(IFa...
using System.Collections.Generic; using System.IO; using System.Runtime.Versioning; namespace NuGet.Lucene { public class FastZipPackageFile : IPackageFile { private readonly IFastZipPackage fastZipPackage; private readonly FrameworkName targetFramework; internal FastZipPackageFile(IFa...
apache-2.0
C#
a0d5fd8eb96b359df6be13ff0bb12f31b2a5d7d7
upgrade version to 1.4.8
tangxuehua/ecommon,Aaron-Liu/ecommon
src/ECommon/Properties/AssemblyInfo.cs
src/ECommon/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ECommon")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPr...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ECommon")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPr...
mit
C#
14fb6c61adbd2c26ecccece70e6d5ff8f82002ee
Remove requirement on master branch existing
ermshiperete/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,onovotny/GitVersion,DanielRose/GitVersion,dpurge/GitVersion,Philo/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,gep13/GitVersion,dpurge/GitVersion,JakeGinnivan/GitVersion,dpurge/GitVersion,Philo/GitVersion,GitTools/GitVersion,ermshiperet...
src/GitVersionCore/GitVersionFinder.cs
src/GitVersionCore/GitVersionFinder.cs
namespace GitVersion { using System.IO; using System.Linq; using GitVersion.VersionCalculation; using LibGit2Sharp; public class GitVersionFinder { public SemanticVersion FindVersion(GitVersionContext context) { Logger.WriteInfo(string.Format("Running against branch:...
namespace GitVersion { using System.IO; using System.Linq; using GitVersion.VersionCalculation; using LibGit2Sharp; public class GitVersionFinder { public SemanticVersion FindVersion(GitVersionContext context) { Logger.WriteInfo(string.Format("Running against branch:...
mit
C#
35d0c688ca5a5e28e96b207a6535859563d73226
Fix a memory leak in StreamNode.
jkoritzinsky/Avalonia,Perspex/Perspex,jkoritzinsky/Perspex,wieslawsoltes/Perspex,grokys/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,...
src/Avalonia.Base/Data/Core/StreamNode.cs
src/Avalonia.Base/Data/Core/StreamNode.cs
using System; using System.Reactive.Linq; using Avalonia.Data.Core.Plugins; namespace Avalonia.Data.Core { public class StreamNode : ExpressionNode { private IStreamPlugin _customPlugin = null; private IDisposable _subscription; public override string Description => "^"; publi...
using System; using System.Reactive.Linq; using Avalonia.Data.Core.Plugins; namespace Avalonia.Data.Core { public class StreamNode : ExpressionNode { private IStreamPlugin _customPlugin = null; private IDisposable _subscription; public override string Description => "^"; publi...
mit
C#
0f26f8b6ef146f9d271a2634cfebbb34ebf17d8c
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#
c1eed9543cc7322b427312eef0374a2145889311
Write arbitrary content to the repl
FlorianRappl/Mages,FlorianRappl/Mages
src/Mages.Repl/Functions/ReplObject.cs
src/Mages.Repl/Functions/ReplObject.cs
namespace Mages.Repl.Functions { using Mages.Core.Runtime; using System; sealed class ReplObject { public String Read() { return Console.ReadLine(); } public void Write(Object value) { var str = Stringify.This(value); Console...
namespace Mages.Repl.Functions { using System; sealed class ReplObject { public String Read() { return Console.ReadLine(); } public void Write(String str) { Console.Write(str); } public void WriteLine(String str) { ...
mit
C#
dd95379c6dda87423c218d1b2d2040d2c7fb9ca2
Add global exception handler
OvidiuCaba/BulkScriptRunner
src/RunQueries/App.xaml.cs
src/RunQueries/App.xaml.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Threading; namespace RunQueries { public partial class App : Application { protected override void OnStartup(Startu...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace RunQueries { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
mit
C#
a92e1347fa83985aa2961c5b1da2d418b32c7756
Make Git metadata more sensible for local builds
martincostello/website,martincostello/website,martincostello/website,martincostello/website
src/Website/GitMetadata.cs
src/Website/GitMetadata.cs
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Website { using System; using System.Globalization; using System.Linq; using System.Reflection; //...
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Website { using System; using System.Globalization; using System.Linq; using System.Reflection; //...
apache-2.0
C#
a44a032fa9590841d433b53e250681da19afb007
Change assemblyinfo for quartz package.
carldai0106/aspnetboilerplate,ShiningRush/aspnetboilerplate,fengyeju/aspnetboilerplate,oceanho/aspnetboilerplate,berdankoca/aspnetboilerplate,carldai0106/aspnetboilerplate,4nonym0us/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,yuzukwok/aspnetboilerplate,andmattia/aspnetboilerplate,s-takatsu/asp...
src/Abp.Quartz/Properties/AssemblyInfo.cs
src/Abp.Quartz/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("Abp...
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: AssemblyConfigurat...
mit
C#
94ef78d0129c4204b98083cce7c3ef29cfe366b0
Update RoberthStrand.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/RoberthStrand.cs
src/Firehose.Web/Authors/RoberthStrand.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 RoberthStrand : IAmACommunityMember { public string FirstName => "Roberth"; public string ...
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 RoberthStrand : IAmACommunityMember { public string FirstName => "Roberth"; public string ...
mit
C#
3ab5784cdf54b6f2ea503ef94da537e5918bc12b
use GetAwaiter().GetResult() for Tasks instead of .Wait or .Result, #236
alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/Benchmark...
src/BenchmarkDotNet.Core/Running/AsyncMethodInvoker.cs
src/BenchmarkDotNet.Core/Running/AsyncMethodInvoker.cs
using System; using System.Threading.Tasks; using HideFromIntelliSense = System.ComponentModel.EditorBrowsableAttribute; // we don't want people to use it namespace BenchmarkDotNet.Running { // if you want to rename any of these methods you need to update DeclarationsProvider's code as well // ReSharper disab...
using System; using System.Threading.Tasks; using HideFromIntelliSense = System.ComponentModel.EditorBrowsableAttribute; // we don't want people to use it namespace BenchmarkDotNet.Running { // if you want to rename any of these methods you need to update DeclarationsProvider's code as well // ReSharper disab...
mit
C#
1f040ac2ffb26b59c14a4a7bb7ed2cf242abeb7c
Fix for link sdk assemblies only on iOS
paulpatarinski/Xamarin.Forms.Plugins
RoundedBoxView/RoundedBoxView/RoundedBoxView.Forms.Plugin.iOSUnified/RoundedBoxViewImplementation.cs
RoundedBoxView/RoundedBoxView/RoundedBoxView.Forms.Plugin.iOSUnified/RoundedBoxViewImplementation.cs
using System.ComponentModel; using RoundedBoxView.Forms.Plugin.iOSUnified; using RoundedBoxView.Forms.Plugin.iOSUnified.ExtensionMethods; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using Foundation; using System; [assembly: ExportRenderer(typeof (RoundedBoxView.Forms.Plugin.Abstractions.RoundedBoxView),...
using System.ComponentModel; using RoundedBoxView.Forms.Plugin.iOSUnified; using RoundedBoxView.Forms.Plugin.iOSUnified.ExtensionMethods; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; [assembly: ExportRenderer(typeof (RoundedBoxView.Forms.Plugin.Abstractions.RoundedBoxView), typeof (RoundedBoxViewRenderer)...
mit
C#
f21e9052b4fbd137b12c4ec33717fee9b9917e9e
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#
fc7117cb781e5c1460901ab320b0202468de9fbc
Make sure we always use the same save directory
edwinj85/ezDoom
ezDoom/Code/GameProcessHandler.cs
ezDoom/Code/GameProcessHandler.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; namespace ezDoom.Code { /// <summary> /// This class handles launching the doom engine with chosen settings. /// </summary> public static class GameProcessHandler { /// <summary> ...
using System.Collections.Generic; using System.Deployment.Application; using System.Diagnostics; using System.Text; namespace ezDoom.Code { /// <summary> /// This class handles launching the doom engine with chosen settings. /// </summary> public static class GameProcessHandler { /// <summ...
apache-2.0
C#
b898782efc101a9ed60524553f6b05b8413d96b1
Update Gunnery.cs (#33)
BosslandGmbH/BuddyWing.DefaultCombat
trunk/DefaultCombat/Routines/Advanced/Commando/Gunnery.cs
trunk/DefaultCombat/Routines/Advanced/Commando/Gunnery.cs
// Copyright (C) 2011-2016 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using DefaultCombat.Core; using DefaultCombat.Helpers; namespace DefaultCombat.Routines { internal class Gunnery : RotationBase { public override string Name { get {...
// Copyright (C) 2011-2016 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using DefaultCombat.Core; using DefaultCombat.Helpers; namespace DefaultCombat.Routines { internal class Gunnery : RotationBase { public override string Name { get {...
apache-2.0
C#
5e15d083bb2df04990b9168f2fe632cfd9eeb68a
rename to aviod "hungarian notation"
wikibus/Argolis
src/Argolis.Tests/Serialization/SerializationTestsBase.cs
src/Argolis.Tests/Serialization/SerializationTestsBase.cs
using JsonLD.Core; using JsonLD.Entities; using Newtonsoft.Json.Linq; namespace Argolis.Tests.Serialization { public abstract class SerializationTestsBase { private readonly IEntitySerializer serializer; protected SerializationTestsBase() { this.serializer = new EntitySeri...
using JsonLD.Core; using JsonLD.Entities; using Newtonsoft.Json.Linq; namespace Argolis.Tests.Serialization { public abstract class SerializationTestsBase { private readonly IEntitySerializer serializer; protected SerializationTestsBase() { this.serializer = new EntitySeri...
mit
C#
d2a39c50dff7798fe983f0269951ece9fa33bbf7
Fix the comments in the options
folkelib/Folke.Localization.Json
src/Folke.Localization.Json/JsonStringLocalizerFactory.cs
src/Folke.Localization.Json/JsonStringLocalizerFactory.cs
using System; using Microsoft.Framework.Localization; using Microsoft.Framework.OptionsModel; namespace Folke.Localization.Json { // This project can output the Class library as a NuGet Package. // To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "...
using System; using Microsoft.Framework.Localization; using Microsoft.Framework.OptionsModel; namespace Folke.Localization.Json { // This project can output the Class library as a NuGet Package. // To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "...
mit
C#
2a8582a5398e71e4a1d21aa734135a348a3f7e46
Make the export public
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs
src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs
using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.TextManager.Interop; using System; using System.ComponentModel.Composition; using System.Diagnostics; namespace GitHub.VisualStudio { [Export(typeof(IActiveDocumentSnapshot))] [PartCreationPolicy(CreationPolicy.NonS...
using Microsoft.VisualStudio; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.TextManager.Interop; using System; using System.ComponentModel.Composition; using System.Diagnostics; namespace GitHub.VisualStudio { [Export(typeof(IActiveDocumentSnapshot))] [PartCreationPolicy(CreationPolicy.NonS...
mit
C#
527367bc95142c8ec0bff339fd962245892a9bb9
update metadata interactionid
nhsconnect/gpconnect-provider-testing
GPConnect.Provider.AcceptanceTests/Constants/SpineConst.cs
GPConnect.Provider.AcceptanceTests/Constants/SpineConst.cs
namespace GPConnect.Provider.AcceptanceTests.Constants { internal static class SpineConst { internal static class InteractionIds { private const string BaseInteraction = "urn:nhs:names:services:gpconnect:fhir:"; public const string GpcGetCareRecord = BaseInteraction + "...
namespace GPConnect.Provider.AcceptanceTests.Constants { internal static class SpineConst { internal static class InteractionIds { private const string BaseInteraction = "urn:nhs:names:services:gpconnect:fhir:"; public const string GpcGetCareRecord = BaseInteraction + "...
apache-2.0
C#
6ab941aefdebec1bb960ac73a81a84bea2fafe4e
Print method to display debug information added
wtertinek/AcadTestRunner
AcadTestRunner/TestResult.cs
AcadTestRunner/TestResult.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AcadTestRunner { [DebuggerStepThrough] public class TestResult { private TestResult(IReadOnlyCollection<string> fullOutput) { Passed = true; ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AcadTestRunner { [DebuggerStepThrough] public class TestResult { private TestResult(IReadOnlyCollection<string> fullOutput) { Passed = true; ...
mit
C#
c2457005a6aaf6f83fb004d68b888148577a1d8c
Revert "a"
MaikelE/aspnetboilerplate-fork,MaikelE/aspnetboilerplate-fork,MaikelE/aspnetboilerplate-fork
src/Abp/Domain/Uow/AbpDataFilters.cs
src/Abp/Domain/Uow/AbpDataFilters.cs
using Abp.Domain.Entities; namespace Abp.Domain.Uow { /// <summary> /// Standard filters of ABP. /// </summary> public static class AbpDataFilters { /// <summary> /// "SoftDelete". /// Soft delete filter. /// Prevents getting deleted data from database. /// S...
using Abp.Domain.Entities; namespace Abp.Domain.Uow { /// <summary> /// Standard filters of ABP. /// </summary> public static class AbpDataFilters { /// <summary> /// "SoftDelete". /// Soft delete filter. /// Prevents getting deleted data from database. /// S...
mit
C#
deaa24c0e21cf5d3e39c3d1d5526110c35ff52ce
Remove resharper comment and override the Count prop
EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,peppy/osu-framework,Tom94/osu-framewor...
osu.Framework/Configuration/IBindableCollection.cs
osu.Framework/Configuration/IBindableCollection.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections; using System.Collections.Generic; namespace osu.Framework.Configuration { public interface IBindableCollection : ICollection, I...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections; using System.Collections.Generic; namespace osu.Framework.Configuration { // ReSharper disable PossibleInterfaceMemberAmbiguity...
mit
C#
6b1acdfa82f77e2e9f6d629f70ae448ef7e36cf9
Replace a string.Remove with slicing.
EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework/IO/Stores/NamespacedResourceStore.cs
osu.Framework/IO/Stores/NamespacedResourceStore.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; namespace osu.Framework.IO.Stores { public class NamespacedResourceStore<T> : ResourceStore<T> where T ...
// 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; namespace osu.Framework.IO.Stores { public class NamespacedResourceStore<T> : ResourceStore<T> where T ...
mit
C#
e3ded9eb60a17a5b5be285c849580fb9454def73
Remove unused using
peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework
osu.Framework.Templates/templates/template-flappy/FlappyDon.Game.Tests/Visual/TestScenePipeObstacle.cs
osu.Framework.Templates/templates/template-flappy/FlappyDon.Game.Tests/Visual/TestScenePipeObstacle.cs
using FlappyDon.Game.Elements; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Testing; namespace FlappyDon.Game.Tests.Visual { /// <summary> /// A scene to test the layout and /// positioning and rotation of two pipe sprites. /// </summary> public class TestSceneP...
using FlappyDon.Game.Elements; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Testing; using osuTK; namespace FlappyDon.Game.Tests.Visual { /// <summary> /// A scene to test the layout and /// positioning and rotation of two pipe sprites. /// </summary> public cla...
mit
C#
70fb0e2a5549191a10a61399a94fa6847a8a2535
clean using
DemgelOpenSource/DemgelRedis
Converters/GuidConverter.cs
Converters/GuidConverter.cs
using System; using Demgel.Redis.Interfaces; using StackExchange.Redis; namespace Demgel.Redis.Converters { public class GuidConverter : ITypeConverter { /// <summary> /// Used to convert Guids to a byte[] array ready to be stored in a Redis Cache /// </summary> /// <param name...
using System; using System.Reflection; using Demgel.Redis.Interfaces; using StackExchange.Redis; namespace Demgel.Redis.Converters { public class GuidConverter : ITypeConverter { /// <summary> /// Used to convert Guids to a byte[] array ready to be stored in a Redis Cache /// </summary...
mit
C#
1605bbdf4b8b8ea66f2f1469d41bb7c67cd70f0f
Remove unused usings
picklesdoc/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,magicmonty/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,magicmonty/pickles,magicmonty/pickles,blorgbeard/pickles,dirkrombauts/pickles,dirkrombauts/p...
src/Pickles/Pickles/FeatureParser.cs
src/Pickles/Pickles/FeatureParser.cs
#region License /* Copyright [2011] [Jeffrey Cameron] 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 applica...
#region License /* Copyright [2011] [Jeffrey Cameron] 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 applica...
apache-2.0
C#
094dacdb08b677b15b525928e540cf77da260c4b
Include Data attribute in JSON Document even when null
huysentruitw/simple-json-api
src/SimpleJsonApi/Models/Document.cs
src/SimpleJsonApi/Models/Document.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace SimpleJsonApi.Models { internal sealed class Document { [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public IDictionary<string, string> Links { get; set; } [JsonProperty(NullValueHandling = NullValueHan...
using System.Collections.Generic; using Newtonsoft.Json; namespace SimpleJsonApi.Models { internal sealed class Document { [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public IDictionary<string, string> Links { get; set; } [JsonProperty(NullValueHandling = NullValueHan...
apache-2.0
C#
8f4bb6580a36385e6acfc74582cd8c0fd76256ff
Fix Examples.Call.CreateCall
messagebird/csharp-rest-api
Examples/Call/CreateCall.cs
Examples/Call/CreateCall.cs
using MessageBird; using MessageBird.Exceptions; using MessageBird.Objects.Voice; using System; using System.Collections.Generic; using System.Linq; namespace Examples.Call { internal class CreateCall { const string YourAccessKey = "YOUR_ACCESS_KEY"; // your access key here. internal static vo...
using MessageBird; using MessageBird.Exceptions; using MessageBird.Objects.Voice; using System; using System.Collections.Generic; using System.Linq; namespace Examples.Call { internal class CreateCall { const string YourAccessKey = "YOUR_ACCESS_KEY"; // your access key here. internal static vo...
isc
C#
6eb69a169c55c5700c1fd6798c01859f3ed81989
Remove redundant method
ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks
src/BuildingBlocks.Store.RavenDB/RavenDbStorage.cs
src/BuildingBlocks.Store.RavenDB/RavenDbStorage.cs
using System; using Raven.Client; namespace BuildingBlocks.Store.RavenDB { public class RavenDbStorage : IStorage { private readonly IDocumentStore _documentStore; private RavenDbSessionSettings _sessionSettings; public RavenDbStorage(IDocumentStore documentStore, RavenDbSess...
using System; using Raven.Client; namespace BuildingBlocks.Store.RavenDB { public class RavenDbStorage : IStorage { private readonly IDocumentStore _documentStore; private RavenDbSessionSettings _sessionSettings; public RavenDbStorage(IDocumentStore documentStore, RavenDbSess...
apache-2.0
C#
59aa01c8b4dd5aa969cb4f0b491e5152b6b4e0da
Update OriginalException xmldoc
RossLieberman/NEST,elastic/elasticsearch-net,elastic/elasticsearch-net,KodrAus/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,UdiBen/elasticsearch-net,cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,RossLieberman/NEST...
src/Elasticsearch.Net/Responses/IApiCallDetails.cs
src/Elasticsearch.Net/Responses/IApiCallDetails.cs
using System; using System.Collections.Generic; using System.Diagnostics; namespace Elasticsearch.Net { public interface IApiCallDetails { /// <summary> /// The response status code is in the 200 range or is in the allowed list of status codes set on the request. /// </summary> bool Success { get; } ///...
using System; using System.Collections.Generic; using System.Diagnostics; namespace Elasticsearch.Net { public interface IApiCallDetails { /// <summary> /// The response status code is in the 200 range or is in the allowed list of status codes set on the request. /// </summary> bool Success { get; } //T...
apache-2.0
C#
539e01799d4f823b1597788344cd8a1a64d8eaae
Fix merge issue on property name
lukencode/FluentEmail,lukencode/FluentEmail
src/Senders/FluentEmail.Mailtrap/MailtrapSender.cs
src/Senders/FluentEmail.Mailtrap/MailtrapSender.cs
using System; using System.Linq; using System.Net; using System.Net.Mail; using System.Threading; using System.Threading.Tasks; using FluentEmail.Core; using FluentEmail.Core.Interfaces; using FluentEmail.Core.Models; using FluentEmail.Smtp; namespace FluentEmail.Mailtrap { /// <summary> /// Send emails to a ...
using System; using System.Linq; using System.Net; using System.Net.Mail; using System.Threading; using System.Threading.Tasks; using FluentEmail.Core; using FluentEmail.Core.Interfaces; using FluentEmail.Core.Models; using FluentEmail.Smtp; namespace FluentEmail.Mailtrap { /// <summary> /// Send emails to a ...
mit
C#
71891ffc98113413604da5eaa22e7470d50937e4
use WriteVerbose instead pipeline for texts
thoemmi/7Zip4Powershell
7Zip4Powershell/ThreadedCmdlet.cs
7Zip4Powershell/ThreadedCmdlet.cs
using System; using System.Collections.Concurrent; using System.Management.Automation; using System.Threading; using SevenZip; namespace SevenZip4PowerShell { public abstract class ThreadedCmdlet : PSCmdlet { protected abstract CmdletWorker CreateWorker(); private Thread _thread; protecte...
using System; using System.Collections.Concurrent; using System.Management.Automation; using System.Threading; using SevenZip; namespace SevenZip4PowerShell { public abstract class ThreadedCmdlet : PSCmdlet { protected abstract CmdletWorker CreateWorker(); private Thread _thread; protecte...
lgpl-2.1
C#
93b02960f5e7eb252520255a42484bd9d34be003
Test simplified
ravibpatel/CrashReporter.NET
CrashReporterTest/Program.cs
CrashReporterTest/Program.cs
using System; using System.Globalization; using System.Windows.Forms; using CrashReporterDotNET; namespace CrashReporterTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() ...
using System; using System.Globalization; using System.Windows.Forms; using CrashReporterDotNET; namespace CrashReporterTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() ...
mit
C#
85b56f7ca6f28f19f49e4c356855b1698c521d4c
Use Activator.CreateInstance
JohanLarsson/Gu.Inject
Gu.Inject/Internals/Ctor.cs
Gu.Inject/Internals/Ctor.cs
namespace Gu.Inject { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; internal static class Ctor { private static readonly ConcurrentDictionary<Type, IFactory> Ctors = new ConcurrentDictionary<Type, IF...
namespace Gu.Inject { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; internal static class Ctor { private static readonly ConcurrentDictionary<Type, Factory> Ctors = new ConcurrentDictionary<Type, Fac...
mit
C#
4462c4a26c945ac6f6a6c3bbaf3b516db4aef61b
tweak CSL syntax
stwalkerster/eyeinthesky,stwalkerster/eyeinthesky,stwalkerster/eyeinthesky
EyeInTheSky/StalkNodes/XorNode.cs
EyeInTheSky/StalkNodes/XorNode.cs
using System; using System.Xml; namespace EyeInTheSky.StalkNodes { class XorNode : DoubleChildLogicalNode { #region Overrides of StalkNode public override bool match(RecentChange rc) { return (LeftChildNode.match(rc) ^ RightChildNode.match(rc)); } public s...
using System; using System.Xml; namespace EyeInTheSky.StalkNodes { class XorNode : DoubleChildLogicalNode { #region Overrides of StalkNode public override bool match(RecentChange rc) { return (LeftChildNode.match(rc) ^ RightChildNode.match(rc)); } public s...
mit
C#
03505669007494c6591095f852ef534e0f0ee789
Add test CreateNoteTest.WithTags
orodriguez/FTF,orodriguez/FTF,orodriguez/FTF
FTF.Tests.XUnit/CreateNoteTest.cs
FTF.Tests.XUnit/CreateNoteTest.cs
using System; using System.Linq; using FTF.Api; using FTF.IoC.SimpleInjector; using Xunit; namespace FTF.Tests.XUnit { public class CreateNoteTest : IDisposable { private readonly IApplication _app; public CreateNoteTest() { _app = new ApplicationFactory() ...
using System; using FTF.Api; using FTF.IoC.SimpleInjector; using Xunit; namespace FTF.Tests.XUnit { public class CreateNoteTest : IDisposable { private readonly IApplication _app; public CreateNoteTest() { _app = new ApplicationFactory() .Make(getCurrentDat...
mit
C#
f84ffbec8d00f845fbaffd3097e631d3c22863b4
Fix potential infinite loop in SkipWhitespace
DbUp/DbUp
src/dbup-mysql/MySqlCommandReader.cs
src/dbup-mysql/MySqlCommandReader.cs
using System; using System.Text; using DbUp.Support; namespace DbUp.MySql { /// <summary> /// Reads MySQL commands from an underlying text stream. Supports DELIMITED .. statement /// </summary> public class MySqlCommandReader : SqlCommandReader { const string DelimiterKeyword = "DELIMITER"...
using System; using System.Text; using DbUp.Support; namespace DbUp.MySql { /// <summary> /// Reads MySQL commands from an underlying text stream. Supports DELIMITED .. statement /// </summary> public class MySqlCommandReader : SqlCommandReader { const string DelimiterKeyword = "DELIMITER"...
mit
C#
76b3cb70327f7f7d80c5a5d3a627b5d8d79b9059
Fix immediate recreation via LifetimeStart/LifetimeEnd requests
ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework/Graphics/Containers/DelayedLoadUnloadWrapper.cs
osu.Framework/Graphics/Containers/DelayedLoadUnloadWrapper.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.Diagnostics; using osu.Framework.Threading; namespace osu.Framework.Graphics.Containers { public class DelayedLoadUnloadWrapper : Delayed...
// 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.Diagnostics; using osu.Framework.Threading; namespace osu.Framework.Graphics.Containers { public class DelayedLoadUnloadWrapper : Delayed...
mit
C#
23d792615d303aecaa0993bdf819f9b0e3619bea
resolve warning
mgj/fetcher,mgj/fetcher
Fetcher.Core.Tests/Services/Mocks/FetcherServiceMock.cs
Fetcher.Core.Tests/Services/Mocks/FetcherServiceMock.cs
using artm.Fetcher.Core.Models; using artm.Fetcher.Core.Services; using Moq; using System; namespace artm.Fetcher.Core.Tests.Services.Mocks { public class FetcherServiceMock : FetcherService { public FetcherServiceMock() :base(null, new FetcherRepositoryServiceMock()) { SetWebservi...
using artm.Fetcher.Core.Models; using artm.Fetcher.Core.Services; using Moq; using System; namespace artm.Fetcher.Core.Tests.Services.Mocks { public class FetcherServiceMock : FetcherService { private Mock<IFetcherWebService> web; public FetcherServiceMock() :base(null, new FetcherRepositoryS...
apache-2.0
C#
d9f7ef9dc7ab196c1c754281823d90d613a9ebe2
Implement fake tag parser to test integration
orodriguez/FTF,orodriguez/FTF,orodriguez/FTF
FTF.Core/Notes/CreateNote.cs
FTF.Core/Notes/CreateNote.cs
using System; using System.Collections.Generic; namespace FTF.Core.Notes { public class CreateNote { private readonly Func<int> _generateId; private readonly Func<DateTime> _getCurrentDate; private readonly Action<Note> _saveNote; private readonly Action _saveChanges; ...
using System; namespace FTF.Core.Notes { public class CreateNote { private readonly Func<int> _generateId; private readonly Func<DateTime> _getCurrentDate; private readonly Action<Note> _saveNote; private readonly Action _saveChanges; public CreateNote(Func<int> gene...
mit
C#
c8b0a5434b6f88b7cabad8ed2d6250c7c3c7a430
Fix formating in the And instruction.
joshpeterson/mos,joshpeterson/mos,joshpeterson/mos
Mos6510/Instructions/And.cs
Mos6510/Instructions/And.cs
using System.Collections.Generic; namespace Mos6510.Instructions { public class And : Instruction { private static Dictionary<AddressingMode, int> numberOfCycles = new Dictionary<AddressingMode, int> { { AddressingMode.Immediate, 2 }, { AddressingMode.Absolute, 4 }, { AddressingMo...
using System.Collections.Generic; namespace Mos6510.Instructions { public class And : Instruction { private static Dictionary<AddressingMode, int> numberOfCycles = new Dictionary<AddressingMode, int> { { AddressingMode.Immediate, 2 }, { AddressingMode.Absolute, 4 }, { AddressingMo...
mit
C#
10f2807b58758b438b44e14ffd32eb911e0bbe45
Increment to 1.0.3.0 for future additions/changes
axomic/openasset-rest-cs
OpenAsset.RestClient.Library/Properties/AssemblyInfo.cs
OpenAsset.RestClient.Library/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("Op...
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("Op...
mit
C#
a9836ebec0985865784eef865c4105356ae0097b
Add documentation to ColorHexConverter.cs
exodrifter/unity-raconteur,dpek/unity-raconteur
Assets/Raconteur/Util/ColorHexConverter.cs
Assets/Raconteur/Util/ColorHexConverter.cs
using UnityEngine; namespace DPek.Raconteur.Util { /// <summary> /// A utility for converting hex strings such as #F93 to colors. /// </summary> public class ColorHexConverter { private ColorHexConverter() { // Nothing to do } /// <summary> /// Converts a single hex character to the corresponding i...
using UnityEngine; namespace DPek.Raconteur.Util { public class ColorHexConverter { private ColorHexConverter() { // Nothing to do } // Converts a single hex character to an int value private static int FromHex(char c) { c = char.ToLower(c); // Check if the character is a letter if(96 < c ...
bsd-3-clause
C#
03d26ec4fd5832c731c30a009688a739fe8a6c8a
Add disconnect at the end of the mission.
DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17
Proto/Assets/Scripts/Exit.cs
Proto/Assets/Scripts/Exit.cs
using UnityEngine; public class Exit : Interactive { GameManager m_GameManager; GameObject m_Player; PhotonView m_PhotonView; protected new void Start () { base.Start(); m_PhotonView = GetComponent<PhotonView>(); m_GameManager = FindObjectOfType<GameManager>(); } voi...
using UnityEngine; public class Exit : Interactive { GameManager m_GameManager; GameObject m_Player; PhotonView m_PhotonView; protected new void Start () { base.Start(); m_PhotonView = GetComponent<PhotonView>(); m_GameManager = FindObjectOfType<GameManager>(); } voi...
mit
C#
dc11b583527fb0acdb2a5442f4966c927455bf00
Make MutableLanguage public
hrzafer/nuve
nuve/Lang/MutableLanguage.cs
nuve/Lang/MutableLanguage.cs
using System.Collections.Generic; using System.Linq; using Nuve.Morphologic; using Nuve.Morphologic.Structure; using Nuve.Orthographic; namespace Nuve.Lang { public class MutableLanguage : Language { private MutableLanguage(string code, Orthography orthography, Morphotactics mo...
using System.Collections.Generic; using System.Linq; using Nuve.Morphologic; using Nuve.Morphologic.Structure; using Nuve.Orthographic; namespace Nuve.Lang { internal class MutableLanguage : Language { private MutableLanguage(string code, Orthography orthography, Morphotactics ...
mit
C#
ea9cdeb3348d8230c49f2477aa60f6069631ee89
Disable display test that is failing in CI build.
eylvisaker/AgateLib
UnitTests/Display/DisplayTests.cs
UnitTests/Display/DisplayTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using AgateLib; using AgateLib.Drivers; using AgateLib.DisplayLib; namespace AgateLib.UnitTests.DisplayTest { [TestClass] public class DisplayTest { /* [TestMethod] public void InitializeDisplay() { using (AgateSetup setup ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using AgateLib; using AgateLib.Drivers; using AgateLib.DisplayLib; namespace AgateLib.UnitTests.DisplayTest { [TestClass] public class DisplayTest { [TestMethod] public void InitializeDisplay() { using (AgateSetup setup = new ...
mit
C#
dc126f8bc7497d6668f41ca3da61ba491476aa45
Update copyright notice in assembly info
LavishSoftware/PropertyTools,ZHZG/PropertyTools,punker76/PropertyTools,ZHZG/PropertyTools,jogibear9988/PropertyTools,objorke/PropertyTools,Mitch-Connor/PropertyTools,jogibear9988/PropertyTools,johnsonlu/PropertyTools
Source/GlobalAssemblyInfo.cs
Source/GlobalAssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="PropertyTools"> // The MIT License (MIT) // // Copyright (c) 2014 PropertyTools contributors // // Permission is hereby granted, ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="PropertyTools"> // The MIT License (MIT) // // Copyright (c) 2014 PropertyTools contributors // // Permission is hereby granted, ...
mit
C#
53688677fedbc11d0ff190e110391c14a5422c2b
build version: 3.9.71.9
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#
26c4826f2b05f3c8d2bdfe4a77b2e754964883d8
Update version to 7.3.0
roberthardy/Synthesis,kamsar/Synthesis
Source/SharedAssemblyInfo.cs
Source/SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System; [assembly: AssemblyCompany("ISITE Design")] [assembly: AssemblyProduct("Synthesis")] [assembly: AssemblyCopyright("Copyright © Kam Figy, ISITE Design")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("7.3.0.0")] [assembly: Assembly...
using System.Reflection; using System.Runtime.InteropServices; using System; [assembly: AssemblyCompany("ISITE Design")] [assembly: AssemblyProduct("Synthesis")] [assembly: AssemblyCopyright("Copyright © Kam Figy, ISITE Design")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("7.2.1.0")] [assembly: Assembly...
mit
C#
268979264bd755d689409a23343bfcd73c776169
Add a comment for exported DefaultProperties.
EliotVU/Unreal-Library
Core/Decompilers/UnTextBufferDecompiler.cs
Core/Decompilers/UnTextBufferDecompiler.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using UELib; using UELib.Core; namespace UELib.Core { public partial class UTextBuffer : UObject { public override string Decompile() { if( _bDeserializeOnDemand ) { BeginDeserializing();...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using UELib; using UELib.Core; namespace UELib.Core { public partial class UTextBuffer : UObject { public override string Decompile() { if( _bDeserializeOnDemand ) { BeginDeserializing();...
mit
C#
f56cde8f7583cd15b3b8f53f55659a08a825d0ce
Update Startup.cs
Konard/ASP.NET-5-CoreCLR-WebSocket-Example,Konard/ASP.NET-5-CoreCLR-WebSocket-Example
WebSocketExample/Startup.cs
WebSocketExample/Startup.cs
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using System.Net.WebSockets; using Microsoft.AspNetCore.StaticFiles; using Microsoft.AspNetCore.Http; using System.Collections.Generic; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjecti...
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using System.Net.WebSockets; //using Microsoft.AspNetCore.WebSockets.Server; using Microsoft.AspNetCore.StaticFiles; using Microsoft.AspNetCore.Http; using System.Collections.Generic; using Microsoft.AspNetCore.Hosti...
mit
C#
4d47b749b1956c75aa320f7a6de6a1ae9365a6f9
Test - Avoid displaying Form in WinForms Test
Livit/CefSharp,Livit/CefSharp,Livit/CefSharp,Livit/CefSharp
CefSharp.Test/WinForms/WinFormsBrowserBasicFacts.cs
CefSharp.Test/WinForms/WinFormsBrowserBasicFacts.cs
// Copyright © 2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Threading.Tasks; using CefSharp.WinForms; using Xunit; using Xunit.Abstractions; namespace CefSharp.Test.WinForms { //NOTE: All Test c...
// Copyright © 2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Threading.Tasks; using CefSharp.WinForms; using Xunit; using Xunit.Abstractions; namespace CefSharp.Test.WinForms { //NOTE: All Test c...
bsd-3-clause
C#
f4c4ee5fd77e699e7f588a50ec4d508ab3e0cab6
Use a warmup task to relieve the noticeable delay on first script evaluation
discosultan/quake-console
Interpreters/RoslynInterpreter/RoslynInterpreter.cs
Interpreters/RoslynInterpreter/RoslynInterpreter.cs
using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; using QuakeConsole.Input; using QuakeConsole.Output; using System; using System.Threading.Tasks; namespace QuakeConsole { public class RoslynInterpreter : ICommandInterpreter { private Script _previousInput; ...
using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; using QuakeConsole.Input; using QuakeConsole.Output; using System; namespace QuakeConsole { public class RoslynInterpreter : ICommandInterpreter { private Script _previousInput; /// <summary> /// Ge...
mit
C#
2188a70dea441ca56a24fad8df0012b0bb75102c
Fix build errors
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Services/Terminate/TerminateService.cs
WalletWasabi/Services/Terminate/TerminateService.cs
using System; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi.Services.Terminate { public class TerminateService { private readonly Func<Task> TerminateApplicationAsync; private const long TerminateStatusIdle = 0; private const long TerminateStatusInPro...
using System; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi.Services.Terminate { public class TerminateService { private readonly Func<Task> _terminateApplicationAsync; private const long TerminateStatusIdle = 0; private const long TerminateStatusInPr...
mit
C#
16bdf4e6bd250ac5dd9cb6fa497d80e984002af1
Update english to be more readable
peppy/osu-new,UselessToucan/osu,2yangk23/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,2yangk23/osu,peppy/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu
osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.cs
osu.Game/Overlays/BeatmapSet/Scores/NoScoresPlaceholder.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using osu.Game.Screens.Select.Leaderboards; using 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; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using osu.Game.Screens.Select.Leaderboards; using osu.Framework.Graphics....
mit
C#
05e13158ff2b9c47a8f7a69fe2ff1fb8a89c2f10
Check for null datum.
predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,jtb8vm/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,jtb8vm/sensus,jtb8vm/sensus,jtb8vm/sensus,jtb8vm/sensus,jtb8vm/sen...
Sensus.Shared/Probes/DataRateCalculator.cs
Sensus.Shared/Probes/DataRateCalculator.cs
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 re...
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 re...
apache-2.0
C#
3a149045e80baf5a6185aba3e9d85fc27bb99892
change default game state to playing
MrErdalUral/Cyborg-Ninja-Training-Program
Assets/Script/GameManager.cs
Assets/Script/GameManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public static GameManager Instance; public GameState GameState = GameState.PLAYING; /// <summary> /// Awake is called when the script instance is being loaded. /// </summary> void Awake()...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public static GameManager Instance; public GameState GameState; /// <summary> /// Awake is called when the script instance is being loaded. /// </summary> void Awake() { DontDestroyOnL...
apache-2.0
C#