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
f81f48164f4330c5abecbb7778d068b4cf5779d4
add nop code comments for nop logger
roflkins/IdentityServer3,chicoribas/IdentityServer3,IdentityServer/IdentityServer3,roflkins/IdentityServer3,chicoribas/IdentityServer3,chicoribas/IdentityServer3,IdentityServer/IdentityServer3,roflkins/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,johnkors/Thinktecture.IdentityServer.v3,johnkors/Thinktecture....
source/Core/Logging/NoopLogProvider.cs
source/Core/Logging/NoopLogProvider.cs
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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...
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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#
2575a876d21f6ea9ed13efd4a88373e655ff6d5b
Use yield return instead of allocating new list.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/ViewModels/ViewModelBase.cs
WalletWasabi.Gui/ViewModels/ViewModelBase.cs
using Newtonsoft.Json; using ReactiveUI; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using WalletWasabi.Gui.ViewModels.Validation; using WalletWasabi.Models; namespace WalletWasabi.Gui.ViewModels { public class View...
using Newtonsoft.Json; using ReactiveUI; using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using WalletWasabi.Gui.ViewModels.Validation; using WalletWasabi.Models; namespace WalletWasabi.Gui.ViewModels { public class View...
mit
C#
a2aa002aae0bb2a8da5d7b77ad97acda79a80a8b
Update the PoolHasGFS2SR class to inherit from HostPostLivenessCheck
minli1/xenadmin,kc284/xenadmin,MihaelaStoica/xenadmin,kc284/xenadmin,MihaelaStoica/xenadmin,minli1/xenadmin,xenserver/xenadmin,kc284/xenadmin,minli1/xenadmin,MihaelaStoica/xenadmin,MihaelaStoica/xenadmin,MihaelaStoica/xenadmin,kc284/xenadmin,minli1/xenadmin,minli1/xenadmin,xenserver/xenadmin,xenserver/xenadmin,kc284/xe...
XenAdmin/Diagnostics/Checks/PoolHasGFS2SR.cs
XenAdmin/Diagnostics/Checks/PoolHasGFS2SR.cs
/* Copyright (c) Citrix Systems, Inc. * All rights reserved. * * 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 retain the above * copyright notice...
/* Copyright (c) Citrix Systems, Inc. * All rights reserved. * * 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 retain the above * copyright notice...
bsd-2-clause
C#
5aa094df4028c95afb6af7aae3fb068295b66bce
Switch to IEnumerable
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/SoldierDetailsViewModel.cs
Battery-Commander.Web/Models/SoldierDetailsViewModel.cs
using System; using System.Collections.Generic; using System.Linq; namespace BatteryCommander.Web.Models { public class SoldierDetailsViewModel { public virtual Soldier Soldier { get; set; } public IEnumerable<EvaluationViewModel> Evaluations { get; set; } = Enumerable.Empty<EvaluationViewMod...
using System; using System.Collections.Generic; namespace BatteryCommander.Web.Models { public class SoldierDetailsViewModel { public virtual Soldier Soldier { get; set; } public ICollection<EvaluationViewModel> Evaluations { get; set; } = new List<EvaluationViewModel>(); public ICol...
mit
C#
bedb8025cb38edec0dc20efe2c04e4557293eb72
Fix checkbox change not raising settings update
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
osu!StreamCompanion/Code/Modules/MapDataGetters/TcpSocket/TcpSocketSettings.cs
osu!StreamCompanion/Code/Modules/MapDataGetters/TcpSocket/TcpSocketSettings.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using osu_StreamCompanion.Code.Core; using osu_StreamCompanion.Code.Misc; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Tc...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using osu_StreamCompanion.Code.Core; using osu_StreamCompanion.Code.Misc; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Tc...
mit
C#
ec2edf238e3e3265a8c120a2325b4fb477e691e6
Validate build settings on plugin builder import.
AngryAnt/JavaPluginBuilder
Editor/JavaBuildSettings.cs
Editor/JavaBuildSettings.cs
using UnityEngine; using UnityEditor; using System.Collections; [InitializeOnLoad] public class JavaBuildSettings : ScriptableObject { const string kBuildSettingsPath = "Assets/JavaBuildSettings.asset"; static JavaBuildSettings s_Instance; static JavaBuildSettings Instance { get { if (s_Instance == nul...
using UnityEngine; using UnityEditor; using System.Collections; public class JavaBuildSettings : ScriptableObject { const string kBuildSettingsPath = "Assets/JavaBuildSettings.asset"; static JavaBuildSettings s_Instance; static JavaBuildSettings Instance { get { if (s_Instance == null) { s_Insta...
mit
C#
47f44c36c305834ff9c0faed63f702add2f4827e
Fix not compiling, missing import
Nogrod/Oxide-2,Visagalis/Oxide,bawNg/Oxide,LaserHydra/Oxide,bawNg/Oxide,LaserHydra/Oxide,Visagalis/Oxide,Nogrod/Oxide-2
Games/Unity/Oxide.Game.HideHoldOut/HideHoldOutPlugin.cs
Games/Unity/Oxide.Game.HideHoldOut/HideHoldOutPlugin.cs
using System.Reflection; using Oxide.Core; using Oxide.Core.Plugins; using Oxide.Game.HideHoldOut.Libraries; namespace Oxide.Plugins { public abstract class HideHoldOutPlugin : CSharpPlugin { protected Command cmd; protected HideHoldOut h2o; public override void SetPluginInfo(string n...
using Oxide.Core; using Oxide.Core.Plugins; using Oxide.Game.HideHoldOut.Libraries; namespace Oxide.Plugins { public abstract class HideHoldOutPlugin : CSharpPlugin { protected Command cmd; protected HideHoldOut h2o; public override void SetPluginInfo(string name, string path) ...
mit
C#
710be3bf5ef179e21adc9e66243de47fc37d9ffe
fix game precis mapping
camjm/BeyondEarthApp,camjm/BeyondEarthApp
src/BeyondEarthApp.Web.Api/AutoMappingConfiguration/Precis/GameConfigurator.cs
src/BeyondEarthApp.Web.Api/AutoMappingConfiguration/Precis/GameConfigurator.cs
using BeyondEarthApp.Common.TypeMapping; using BeyondEarthApp.Data.Entities; namespace BeyondEarthApp.Web.Api.AutoMappingConfiguration.Precis { public class GameConfigurator : IAutoMapperTypeConfigurator { public void Configure(IAutoMapper mapper) { mapper.CreateMap<Game, Models.Pr...
using BeyondEarthApp.Common.TypeMapping; using BeyondEarthApp.Data.Entities; namespace BeyondEarthApp.Web.Api.AutoMappingConfiguration.Precis { public class GameConfigurator : IAutoMapperTypeConfigurator { public void Configure(IAutoMapper mapper) { mapper.CreateMap<Game, Models.Pr...
mit
C#
907404e2ad44fd67c0572b38af1b7b050325c5bb
Make Params required (not default)
stefanschneider/windows_app_lifecycle,cloudfoundry/windows_app_lifecycle,cloudfoundry-incubator/windows_app_lifecycle
Tailor/Options.cs
Tailor/Options.cs
using CommandLine; using CommandLine.Text; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tailor { public class Options { [Option('a', "appDir", Required = true, HelpText = "Directory app is placed in")] public stri...
using CommandLine; using CommandLine.Text; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tailor { public class Options { [Option('a', "appDir", DefaultValue = "app", HelpText = "Directory app is placed in")] public...
apache-2.0
C#
33ee0db799a3b01444af2fc53aab51fe4a97747e
Add get best id method for user.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUser.cs
Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUser.cs
namespace TraktApiSharp.Objects.Get.Users { using Newtonsoft.Json; using System; /// <summary>A Trakt user.</summary> public class TraktUser { /// <summary>Gets or sets the user's username.</summary> [JsonProperty(PropertyName = "username")] public string Username { get; se...
namespace TraktApiSharp.Objects.Get.Users { using Newtonsoft.Json; using System; public class TraktUser { [JsonProperty(PropertyName = "username")] public string Username { get; set; } [JsonProperty(PropertyName = "private")] public bool? Private { get; set; } ...
mit
C#
1bc350a8ac3c902cbc48798d4a14a8592a234a34
update version to use the semantic versioning
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescrip...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescrip...
apache-2.0
C#
f01974855a07a27a67f48be2699972ae9898bc85
Rewrite GenerateByIndex in terms of Sequence
morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,fsateler/MoreLINQ
MoreLinq/GenerateByIndex.cs
MoreLinq/GenerateByIndex.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2009 Jonathan Skeet. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2009 Jonathan Skeet. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
apache-2.0
C#
3c5cbf59bfe2024ea3c0a35c30855d775a892533
Remove comment
Nuterra/YinYang,Nuterra/YinYang,Nuterra/YinYang
YinYang/Server.cs
YinYang/Server.cs
using System; using System.Collections.Generic; using System.Net; using System.Threading; using System.Threading.Tasks; namespace YinYang { public sealed class Server { public HttpListener Listener { get; } = new HttpListener(); private Dictionary<HttpRoute, RequestHandler> _routing = new Dictionary<HttpRoute, ...
using System; using System.Collections.Generic; using System.Net; using System.Threading; using System.Threading.Tasks; namespace YinYang { public sealed class Server { public HttpListener Listener { get; } = new HttpListener(); private Dictionary<HttpRoute, RequestHandler> _routing = new Dictionary<HttpRoute, ...
mit
C#
4cf483ee7a1cb470b8b2290a174ad34f450a5eab
Store and reuse client certificate task (#43270)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Middleware/HttpOverrides/src/CertificateForwardingFeature.cs
src/Middleware/HttpOverrides/src/CertificateForwardingFeature.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Security.Cryptography.X509Certificates; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Primitives; namespace M...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Security.Cryptography.X509Certificates; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Primitives; namespace M...
apache-2.0
C#
8a73e3a499f1ed948a5029b107746295aa2aca94
fix RIDER-55185
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Utils/NamingUtil.cs
resharper/resharper-unity/src/Utils/NamingUtil.cs
using System; using JetBrains.Annotations; using JetBrains.Application.Threading; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Naming.Extentions; using JetBrains.ReSharper.Psi.Naming.Impl; using JetBrains.ReSharper.Psi.Nami...
using System; using JetBrains.Annotations; using JetBrains.Application.Threading; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Naming.Extentions; using JetBrains.ReSharper.Psi.Naming.Impl; using JetBrains.ReSharper.Psi.Nami...
apache-2.0
C#
ed793c62b7632515d082a63e724b6fa104d4ad1e
Make tags and fields more thread safe.
Ocelog/Ocelog
src/Ocelog/LogEvent.cs
src/Ocelog/LogEvent.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Ocelog { public enum LogLevel { Info, Warn, Error } public class LogEvent { private ConcurrentQueue<string> _tags = new ConcurrentQueue<string>(); ...
using System; using System.Collections.Generic; using System.Linq; namespace Ocelog { public enum LogLevel { Info, Warn, Error } public class LogEvent { private List<string> _tags = new List<string>(); private List<object> _fields= new List<object>(); ...
mit
C#
954a8dbb68945c636cece5beb1469a8537a3fe5a
Fix compilation problems
patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity
src/Assets/Scripts/UI/Changelog/ChangelogList.cs
src/Assets/Scripts/UI/Changelog/ChangelogList.cs
using System.Collections; using System.Linq; using PatchKit.Api.Models.Main; using PatchKit.Unity.UI; using PatchKit.Unity.Utilities; namespace PatchKit.Unity.Patcher.UI { public class ChangelogList : UIApiComponent { public ChangelogElement TitlePrefab; public ChangelogElement ChangePrefab; ...
using System.Collections; using System.Linq; using PatchKit.Api.Models; using PatchKit.Unity.UI; using PatchKit.Unity.Utilities; namespace PatchKit.Unity.Patcher.UI { public class ChangelogList : UIApiComponent { public ChangelogElement TitlePrefab; public ChangelogElement ChangePrefab; ...
mit
C#
a6d9f4b24084d3c7f0edd1d448d377e735cdca05
Enable NRT on `IHasCustomTooltip` interface
peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework
osu.Framework/Graphics/Cursor/IHasCustomTooltip.cs
osu.Framework/Graphics/Cursor/IHasCustomTooltip.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. namespace osu.Framework.Graphics.Cursor { /// <summary> /// Implementing this interface allows the implementing <see cref="Drawable"/> to display a custom toolti...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable namespace osu.Framework.Graphics.Cursor { /// <summary> /// Implementing this interface allows the implementing <see cref="Drawable"/> to disp...
mit
C#
e0ee2a553375e3ab7460ac3716b280ef577d04eb
Change section title to read better
ppy/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu
osu.Game/Screens/Edit/Setup/RulesetSetupSection.cs
osu.Game/Screens/Edit/Setup/RulesetSetupSection.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.Localisation; using osu.Game.Rulesets; namespace osu.Game.Screens.Edit.Setup { public abstract class RulesetSetupSection : SetupSection { ...
// 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.Localisation; using osu.Game.Rulesets; namespace osu.Game.Screens.Edit.Setup { public abstract class RulesetSetupSection : SetupSection { ...
mit
C#
657eb452416ea618905e11580dbe1fe09219f8fd
delete method updated
Elhior/TestMVC,Elhior/TestMVC,Elhior/TestMVC
UsersMVC/DAL/IRepository.cs
UsersMVC/DAL/IRepository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace UsersMVC.DAL { interface IRepository<T> : IDisposable where T : class { IEnumerable<T> GetUserList(); T GetUser(long id); void Create(T item); void Update(T item); ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace UsersMVC.DAL { interface IRepository<T> : IDisposable where T : class { IEnumerable<T> GetUserList(); T GetUser(long id); void Create(T item); void Update(T item); ...
apache-2.0
C#
ae446661ef97828d8bfcfe7134be4fc8beba5d7e
Use C# type.
sshnet/SSH.NET,Bloomcredit/SSH.NET,miniter/SSH.NET
src/Renci.SshNet/Sftp/SftpDownloadAsyncResult.cs
src/Renci.SshNet/Sftp/SftpDownloadAsyncResult.cs
using System; using Renci.SshNet.Common; namespace Renci.SshNet.Sftp { /// <summary> /// Encapsulates the results of an asynchronous download operation. /// </summary> public class SftpDownloadAsyncResult : AsyncResult { /// <summary> /// Gets or sets a value indicating whether to...
using System; using Renci.SshNet.Common; namespace Renci.SshNet.Sftp { /// <summary> /// Encapsulates the results of an asynchronous download operation. /// </summary> public class SftpDownloadAsyncResult : AsyncResult { /// <summary> /// Gets or sets a value indicating whether to...
mit
C#
c864f36dcd9dcc6c565d680c29d546c80f297f7f
allow changes to tree values
neilthompson19/nslim,unclebob/nslim
source/mtee/Model/Tree.cs
source/mtee/Model/Tree.cs
// Copyright © Syterra Software Inc. All rights reserved. // The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php) // which can be found in the file license.txt at the root of this distribution. By using this software in any fashion, you ...
// Copyright © Syterra Software Inc. All rights reserved. // The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php) // which can be found in the file license.txt at the root of this distribution. By using this software in any fashion, you ...
epl-1.0
C#
128f3fa1d6c098faae79165b01db9caa543dd031
fix parsing oversight
EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-...
osu.Framework/Configuration/BindableSize.cs
osu.Framework/Configuration/BindableSize.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; using System.Drawing; namespace osu.Framework.Configuration { public class BindableSize : Bindable<Size> { public BindableSize(...
// 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; using System.Drawing; namespace osu.Framework.Configuration { public class BindableSize : Bindable<Size> { public BindableSize(...
mit
C#
e6db8e3b70a910474a3ad9204de947168081d8a0
Switch failing test to passing tests (AppVeyor now successfully running xunit tests and failing the build on failing test)
spritely/Redo
ControlFlow.Test/TryTest.cs
ControlFlow.Test/TryTest.cs
using System; using Xunit; namespace ControlFlow.Test { public class TryTest { [Fact] public void Pass() { } } }
using System; using Xunit; namespace ControlFlow.Test { public class TryTest { [Fact] public void Fail() { throw new Exception(); } } }
mit
C#
a0236c57f4c12574a830fd153f13406b71902fa4
fix default assembly info company name
ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
using System.Security; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Building-Blocks")] [assembly: AssemblyCopyright("Copyright 2011 Innokentiy Filipenko. All rights reserved.")] [assembly: AssemblyVersion("0.1.0.0")]
using System.Security; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Building-Blocks")] [assembly: AssemblyCopyright("Copyright 2012 Innokentiy Filipenko. All rights reserved.")] [assembly: AssemblyVersion("1.0.0.0")]
apache-2.0
C#
5f3b9dd2541a43c5d0a8ca90225091ec1ab94d7d
increment to version 0.12.0
adamralph/liteguard,liteguard/liteguard,adamralph/liteguard,liteguard/liteguard
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
// <copyright file="CommonAssemblyInfo.cs" company="LiteGuard contributors"> // Copyright (c) LiteGuard contributors. All rights reserved. // </copyright> using System; using System.Reflection; #if NET35 || SILVERLIGHT || NETFX_CORE || UNIVERSAL using System.Runtime.InteropServices; #endif [assembly: Assem...
// <copyright file="CommonAssemblyInfo.cs" company="LiteGuard contributors"> // Copyright (c) LiteGuard contributors. All rights reserved. // </copyright> using System; using System.Reflection; #if NET35 || SILVERLIGHT || NETFX_CORE || UNIVERSAL using System.Runtime.InteropServices; #endif [assembly: Assem...
mit
C#
cd22b00127085ddbaeee2653c47901a1df5a1631
Add convinience constructor which allow pass strings instead of Uri
kant2002/ncrawler
src/NCrawler/CrawlStep.cs
src/NCrawler/CrawlStep.cs
using System; using NCrawler.Extensions; namespace NCrawler { public class CrawlStep : IEquatable<CrawlStep>, IComparable<CrawlStep>, IComparable { #region Constructors public CrawlStep(Uri uri, int depth) { this.Uri = uri; this.Depth = depth; this.IsAllowed = true; ...
using System; using NCrawler.Extensions; namespace NCrawler { public class CrawlStep : IEquatable<CrawlStep>, IComparable<CrawlStep>, IComparable { #region Constructors public CrawlStep(Uri uri, int depth) { this.Uri = uri; this.Depth = depth; this.IsAllowed = true; ...
lgpl-2.1
C#
57d0779f9c3f66e7728c43f366e1e6a039b317fb
Add file header
dnauck/Portable.Licensing,dnauck/Portable.Licensing,dreamrain21/Portable.Licensing,dreamrain21/Portable.Licensing
src/Portable.Licensing/Properties/AssemblyInfo.cs
src/Portable.Licensing/Properties/AssemblyInfo.cs
// // Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 wit...
using System.Resources; using System.Reflection; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Portable.Licensing")] [assembly: AssemblyDescription(""...
mit
C#
da7a35f6a4c544a52ecd571ba7d287e0d498fbe5
make When_Creating_An_Item_With_A_Negative_Price.An_Argument_Exception_Should_Be_Thrown pass.
ericburcham/TDD-By-Example,ericburcham/Grocery-Store
src/GroceryStore.Tests/ItemTests/When_Creating_An_Item_With_A_Negative_Price.cs
src/GroceryStore.Tests/ItemTests/When_Creating_An_Item_With_A_Negative_Price.cs
using System; using FluentAssertions; using NUnit.Framework; namespace GroceryStore.Tests.ItemTests { [TestFixture] public class When_Creating_An_Item_With_A_Negative_Price { private Action _action; private Item _item; [OneTimeSetUp] public void OneTimeSetUp() {...
using System; using FluentAssertions; using NUnit.Framework; namespace GroceryStore.Tests.ItemTests { [TestFixture] public class When_Creating_An_Item_With_A_Negative_Price { private Action _action; private Item _item; [OneTimeSetUp] public void OneTimeSetUp() {...
mit
C#
f50f631a06130301fe3d5c42c7601184416e7989
Fix helper methods visibility
drussilla/LearnWordsFast,drussilla/LearnWordsFast
src/LearnWordsFast/ApiControllers/ApiController.cs
src/LearnWordsFast/ApiControllers/ApiController.cs
using Microsoft.AspNet.Mvc; namespace LearnWordsFast.ApiControllers { public class ApiController : Controller { protected IActionResult Ok() { return new ContentResult(); } protected IActionResult Ok(object value) { return new ObjectResult(value)...
using Microsoft.AspNet.Mvc; namespace LearnWordsFast.ApiControllers { public class ApiController : Controller { public IActionResult Ok() { return new ContentResult(); } public IActionResult Ok(object value) { return new ObjectResult(value); ...
mit
C#
fddf5649ada066ba6cbdd9c52d19d0882892f2ac
Fix private messages;
Nirklav/TCPChat
Engine/API/StandardAPI/ClientCommands/Messages/ClientOutPrivateMessageCommand.cs
Engine/API/StandardAPI/ClientCommands/Messages/ClientOutPrivateMessageCommand.cs
using Engine.Helpers; using Engine.Model.Client; using System; using System.IO; using System.Security.Cryptography; using System.Text; namespace Engine.API.StandardAPI.ClientCommands { class ClientOutPrivateMessageCommand : ICommand<ClientCommandArgs> { public void Run(ClientCommandArgs args) { ...
using Engine.Helpers; using Engine.Model.Client; using System; using System.IO; using System.Security.Cryptography; using System.Text; namespace Engine.API.StandardAPI.ClientCommands { class ClientOutPrivateMessageCommand : ICommand<ClientCommandArgs> { public void Run(ClientCommandArgs args) { ...
mit
C#
99bfaa0ead1e41521fdf44dabb004a61f1c51b90
Fix FxCop error.
mdavid/nuget,mdavid/nuget
src/Dialog/PackageManagerUI/LicenseWindowOpener.cs
src/Dialog/PackageManagerUI/LicenseWindowOpener.cs
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Windows.Threading; namespace NuGet.Dialog.PackageManagerUI { [Export(typeof(ILicenseWindowOpener))] public sealed class LicenseWindowOpener : ILicenseWindowOpener { private readonly Dispat...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Windows.Threading; namespace NuGet.Dialog.PackageManagerUI { [Export(typeof(ILicenseWindowOpener))] public class LicenseWindowOpener : ILicenseWindowOpener { private readonly Dispatcher _u...
apache-2.0
C#
1e4399b2b7821cb2162f27f87235b773fd4b0ee1
修复了在MetaWeblogMiddleware中,由于context.Response.WriteAsync产生的InvalidOperationException异常。详情请参见:https://github.com/aspnet/HttpAbstractions/issues/686。
daxnet/daxnet-blog,daxnet/daxnet-blog,daxnet/daxnet-blog,daxnet/daxnet-blog
src/WilderMinds.MetaWeblog/MetaWeblogMiddleware.cs
src/WilderMinds.MetaWeblog/MetaWeblogMiddleware.cs
using System.IO; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace WilderMinds.MetaWeblog { public class MetaWeblogMiddleware { private ILogger _logger; private readonly RequestDelegate _next; private MetaWeb...
using System.IO; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace WilderMinds.MetaWeblog { public class MetaWeblogMiddleware { private ILogger _logger; private readonly RequestDelegate _next; private MetaWeb...
mit
C#
7d77a4ec8c3464ebeb8aa327f63fc3bd81e6438f
fix out of range
mc-gulu/ResourceTracker,PerfAssist/ResourceTracker
Assets/PerfAssist/ResourceTracker/Editor/PAContrib/MemObjHistory.cs
Assets/PerfAssist/ResourceTracker/Editor/PAContrib/MemObjHistory.cs
using UnityEngine; using System.Collections; using MemoryProfilerWindow; using System.Collections.Generic; public class MemObjHistory { public void Clear() { _history.Clear(); _cursor = -1; } public void OnObjSelected(ThingInMemory thing) { if (_cursor != -...
using UnityEngine; using System.Collections; using MemoryProfilerWindow; using System.Collections.Generic; public class MemObjHistory { public void Clear() { _history.Clear(); _cursor = -1; } public void OnObjSelected(ThingInMemory thing) { if (_cursor != -...
mit
C#
068ca4ee3d4d64830364a8381f82039ac3203dca
Implement parser to get tests passing
awseward/Bugsnag.NET,awseward/Bugsnag.NET
lib/Bugsnag.Common/StacktraceLineParser.cs
lib/Bugsnag.Common/StacktraceLineParser.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Bugsnag.Common { public class StacktraceLineParser { Regex _fileRegex = new Regex("\\) [^ ]+ (.+):"); public string ParseFile(stri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Bugsnag.Common { public class StacktraceLineParser { public string ParseFile(string line) { throw new NotImplementedEx...
mit
C#
8f83a8e4c2cf7805f76a1093541042569b3d8f26
Set "isInitialized" to true, or we don't terminate the analytics
punker76/Espera,flagbug/Espera
Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs
Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs
using System; using System.Collections.Generic; using Xamarin; namespace Espera.Core.Analytics { internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint { private bool isInitialized; public void Dispose() { // Xamarin Insights can only be terminated if it has been sta...
using System; using System.Collections.Generic; using Xamarin; namespace Espera.Core.Analytics { internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint { private bool isInitialized; public void Dispose() { // Xamarin Insights can only be terminated if it has been sta...
mit
C#
563fcf428a50e46b156cb1597edb473b9aa7922c
Move the preset manager ctor instanciation to PrepareLanding.
neitsa/PrepareLanding,neitsa/PrepareLanding
src/GameData/GameData.cs
src/GameData/GameData.cs
using PrepareLanding.Presets; namespace PrepareLanding.GameData { public class GameData { /// <summary> /// Holds definitions (see <see cref="Verse.Def"/>) from game. /// </summary> public DefData DefData { get; } /// <summary> /// Data specific to a si...
using PrepareLanding.Presets; namespace PrepareLanding.GameData { public class GameData { /// <summary> /// Holds definitions (see <see cref="Verse.Def"/>) from game. /// </summary> public DefData DefData { get; } /// <summary> /// Data specific to a si...
mit
C#
938751bf48056ff2549cbc8f29a0e24a2c8a39ce
Reset version to 0.0.0.0
FixProject/Fix,FixProject/Fix,markrendle/Fix,FixProject/Fix,markrendle/Fix,markrendle/Fix
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
using System.Runtime.CompilerServices; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Mark Rendle")] [assembly: AssemblyProduct("Fix")] [assembly: AssemblyCopyright("Copyright (C) Mark Rendle 2010-2013")] [assembly: AssemblyTrademark("de8b355857e402624edcefd62d045a7c9fd...
using System.Runtime.CompilerServices; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Mark Rendle")] [assembly: AssemblyProduct("Fix")] [assembly: AssemblyCopyright("Copyright (C) Mark Rendle 2010-2013")] [assembly: AssemblyTrademark("9fd7b5f99acb94c0bfa38c5069cba507721...
mit
C#
e45971984c0c1b03f04f9e1eab8df91766955e37
Refactor the PrereleasePackageDependencyRule.
dsplaisted/NuGetPackageExplorer,campersau/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
PackageViewModel/PackageAnalyzer/PrereleasePackageDependencyRule.cs
PackageViewModel/PackageAnalyzer/PrereleasePackageDependencyRule.cs
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Globalization; using NuGet; using NuGetPackageExplorer.Types; namespace PackageExplorerViewModel.Rules { [Export(typeof(IPackageRule))] internal class PrereleasePackageDependency...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Globalization; using NuGet; using NuGetPackageExplorer.Types; namespace PackageExplorerViewModel.Rules { [Export(typeof(IPackageRule))] internal class PrereleasePackageDependencyRule : IPackageRule ...
mit
C#
e4ac11289640e1dc32b7fe760678c53a5f69488e
split setting class in two
FireNero/config,jsobell/config,aloneguid/config
src/Config.Net/Setting.cs
src/Config.Net/Setting.cs
using System; namespace Config.Net { /// <summary> /// Describes a configuration setting /// </summary> public abstract class Setting { /// <summary> /// Gets configuration setting name /// </summary> public string Name { get; protected set; } /// <summary> /// Gets...
using System; namespace Config.Net { /// <summary> /// Describes a configuration setting /// </summary> /// <typeparam name="T"></typeparam> public sealed class Setting<T> { /// <summary> /// Creates a new instance of configuraton setting by name and default value /// </summary> ...
mit
C#
6ca063412168a7c515bd385897b71c62575d7cc3
Update FunctionRunner.cs
exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless
src/Jobs/Exceptionless.Functions/FunctionRunner.cs
src/Jobs/Exceptionless.Functions/FunctionRunner.cs
using System; using System.Threading; using System.Threading.Tasks; using Exceptionless.Core; using Exceptionless.Core.Extensions; using Exceptionless.Core.Jobs; using Exceptionless.Core.Queues.Models; using Foundatio.Extensions; using Foundatio.Jobs; using Foundatio.Logging; using Foundatio.Queues; using Foundatio.Se...
using System; using System.Threading; using System.Threading.Tasks; using Exceptionless.Core; using Exceptionless.Core.Extensions; using Exceptionless.Core.Jobs; using Exceptionless.Core.Queues.Models; using Foundatio.Extensions; using Foundatio.Jobs; using Foundatio.Logging; using Foundatio.Queues; using Foundatio.Se...
apache-2.0
C#
3203e5ed116b706ea7cfa7396c98f6ef0f90c743
Increase MemoryMappedFile size to 15mb
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
plugins/FileMapDataSender/FileMapManager.cs
plugins/FileMapDataSender/FileMapManager.cs
using System.Collections.Generic; using System.IO.MemoryMappedFiles; using System.Text; namespace FileMapDataSender { public class FileMapManager { Dictionary<string, MapContainer> _files = new Dictionary<string, MapContainer>(); private readonly object _lockingObject = new object(); pr...
using System.Collections.Generic; using System.IO.MemoryMappedFiles; using System.Text; namespace FileMapDataSender { public class FileMapManager { Dictionary<string, MapContainer> _files = new Dictionary<string, MapContainer>(); private readonly object _lockingObject = new object(); p...
mit
C#
62152c85cb4ac6dd134e8cf63df14c4ceea0e41f
make sure PropertyTestsBase proxies inherited tests https://youtrack.jetbrains.com/issue/RIDER-19912
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Tests/Tests/Mapping/Types/PropertyTestsBase.cs
src/Tests/Tests/Mapping/Types/PropertyTestsBase.cs
using System; using System.Threading.Tasks; using Elastic.Xunit.XunitPlumbing; using Nest; using Elasticsearch.Net; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Clusters; namespace Tests.Mapping...
using System; using Nest; using Elasticsearch.Net; using Tests.Core.ManagedElasticsearch.Clusters; using Tests.Domain; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.ManagedElasticsearch.Clusters; namespace Tests.Mapping.Types { public abstract class PropertyTestsBase : ApiIntegrat...
apache-2.0
C#
b29a45f9fb0839fb20da0924fbb6182e663eaa94
Fix potential error in ParametersHelper when parameter property is null
haefele/UwCore
src/UwCore/Services/Navigation/ParametersHelper.cs
src/UwCore/Services/Navigation/ParametersHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using UwCore.Extensions; namespace UwCore.Services.Navigation { public static class ParametersHelper { private static PropertyInfo GetParametersProperty(object instance) { var parametersProp...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using UwCore.Extensions; namespace UwCore.Services.Navigation { public static class ParametersHelper { private static PropertyInfo GetParametersProperty(object instance) { var parametersProp...
mit
C#
cb3dfe094ee48a492c7934372bea59b8176c0f0d
Add minimum resolution settings.
ZLima12/osu,ppy/osu,peppy/osu,Drezi126/osu,default0/osu,theguii/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,naoey/osu,tacchinotacchi/osu,2yangk23/osu,NeoAdonis/osu,NotKyon/lolisu,smoogipoo/osu,osu-RP/osu-RP,EVAST9919/osu,Damnae/osu,Nabile-Rahmani/osu,johnneijzen/osu,ppy/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,ppy/...
osu.Game/Configuration/OsuConfigManager.cs
osu.Game/Configuration/OsuConfigManager.cs
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration; using osu.Game.Online.API; namespace osu.Game.Configuration { class OsuConfigManager : ConfigManager<OsuConfig> { ...
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration; using osu.Game.Online.API; namespace osu.Game.Configuration { class OsuConfigManager : ConfigManager<OsuConfig> { ...
mit
C#
ac58c222b9d798cc9163b466ca69c092ca95929f
Allow `DrawableAvatar` to accept an `IUser` for now
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game/Users/Drawables/DrawableAvatar.cs
osu.Game/Users/Drawables/DrawableAvatar.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; using osu.Ga...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; using osu.Ga...
mit
C#
6c93d2081d84d0b2a069e46cdfb53849cdf2825a
Fix typo in xmldoc comment
jbialobr/NSubstitute,huoxudong125/NSubstitute,jannickj/NSubstitute,dnm240/NSubstitute,iamkoch/NSubstitute,huoxudong125/NSubstitute,huoxudong125/NSubstitute,dnm240/NSubstitute,jbialobr/NSubstitute,jannickj/NSubstitute,iamkoch/NSubstitute,iamkoch/NSubstitute,jannickj/NSubstitute,jannickj/NSubstitute,dnm240/NSubstitute,ia...
Source/NSubstitute/Raise.cs
Source/NSubstitute/Raise.cs
using System; using NSubstitute.Core.Events; namespace NSubstitute { public static class Raise { /// <summary> /// Raise an event for an <c>EventHandler&lt;TEventArgs&gt;</c> event with the provided <paramref name="sender"/> and <paramref name="eventArgs"/>. /// </summary> publi...
using System; using NSubstitute.Core.Events; namespace NSubstitute { public static class Raise { /// <summary> /// Raise an event for an <c>EventHandler&lt;TEventArgs&gt;</c> event with the provided <paramref name="sender"/> and <paramref name="eventArgs"/>. /// </summary> publi...
bsd-3-clause
C#
255e0fdb42b34f936e2d71f45a57ef8422a2ba1c
Add an explanatory comment about why the AssemblyVersion and AssemblyFileVersion are different.
conniey/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,conniey/icu-dotnet
source/icu.net/Properties/AssemblyInfo.cs
source/icu.net/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("icu....
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("icu....
mit
C#
8eb6fd5ed54c7de85236bdf4a03fb626dc91c793
add hash
Peter-Juhasz/aspnetcoresecurity
src/ContentSecurityPolicy/CspDirective.cs
src/ContentSecurityPolicy/CspDirective.cs
using System; using System.Collections.Generic; namespace PeterJuhasz.AspNetCore.Extensions.Security { public class CspDirective : CspDirectiveBase { public CspDirective(IReadOnlyCollection<string> sources) : base(sources) { } public CspDirective(params string[] sources) ...
using System; using System.Collections.Generic; namespace PeterJuhasz.AspNetCore.Extensions.Security { public class CspDirective : CspDirectiveBase { public CspDirective(IReadOnlyCollection<string> sources) : base(sources) { } public CspDirective(params string[] sources) ...
mit
C#
19019ddcfd90b29f38833376a03150e5702581ec
Update MaciejHorbacz.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/MaciejHorbacz.cs
src/Firehose.Web/Authors/MaciejHorbacz.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 MateuszCzerniawski : IAmACommunityMember { public string FirstName => "Maciej"; public str...
mit
C#
2296b55912f29d6978ca4463bab9eb191a78ab49
Add InternalsVisibleTo for DynamicProxyGenAssembly2
rajanadar/VaultSharp
src/VaultSharp/Properties/AssemblyInfo.cs
src/VaultSharp/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("Va...
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("Va...
apache-2.0
C#
32a09e650a182507705390277865db81b1fcfbd7
Throw for negative count of marbles condition
kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium,kendaleiv/ui-specflow-selenium
Web.UI.Tests/SimpleSteps.cs
Web.UI.Tests/SimpleSteps.cs
using System; using TechTalk.SpecFlow; using Xunit; namespace Web.UI.Tests { [Binding] public class SimpleSteps { private static int MarblesCount; [Given(@"I have (.*) marbles")] public void GivenIHaveMarbles(int count) { MarblesCount = count; } ...
using System; using TechTalk.SpecFlow; using Xunit; namespace Web.UI.Tests { [Binding] public class SimpleSteps { private static int MarblesCount; [Given(@"I have (.*) marbles")] public void GivenIHaveMarbles(int count) { MarblesCount = count; } ...
mit
C#
c39feb0c86755e898e7ebf6afb300f07c5076a1a
Add #Blob Read() method
yck1509/dnlib,jorik041/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib,picrap/dnlib,kiootic/dnlib,0xd4d/dnlib,ilkerhalil/dnlib,modulexcite/dnlib
dot10/dotNET/BlobStream.cs
dot10/dotNET/BlobStream.cs
using dot10.IO; namespace dot10.dotNET { /// <summary> /// Represents the #Blob stream /// </summary> public class BlobStream : DotNetStream { static readonly byte[] noData = new byte[0]; /// <inheritdoc/> public BlobStream(IImageStream imageStream, StreamHeader streamHeader) : base(imageStream, streamH...
using dot10.IO; namespace dot10.dotNET { /// <summary> /// Represents the #Blob stream /// </summary> public class BlobStream : DotNetStream { /// <inheritdoc/> public BlobStream(IImageStream imageStream, StreamHeader streamHeader) : base(imageStream, streamHeader) { } } }
mit
C#
3fe0e2e111b98c699d70bf755aa8a2a313fbd76c
Refactor to lambda expression
wangkanai/Detection
src/DependencyInjection/BuilderExtensions/Responsive.cs
src/DependencyInjection/BuilderExtensions/Responsive.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.DependencyInjection.Extensions; using Wangkanai.De...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.DependencyInjection.Extensions; using Wangkanai.De...
apache-2.0
C#
3e991abc8a23a20ab3e53066b6019f7e29d070d8
Add set accessor back to LastAsyncCommandBase, so Syro works again
Brijen/lastfm,realworld666/lastfm
src/IF.Lastfm.Core/Api/Commands/LastAsyncCommandBase.cs
src/IF.Lastfm.Core/Api/Commands/LastAsyncCommandBase.cs
using IF.Lastfm.Core.Api.Helpers; using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using System.Reflection; namespace IF.Lastfm.Core.Api.Commands { /// <summary> /// Having this type makes reflection easier - there probably isn't any other need for it ///...
using IF.Lastfm.Core.Api.Helpers; using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using System.Reflection; namespace IF.Lastfm.Core.Api.Commands { /// <summary> /// Having this type makes reflection easier - there probably isn't any other need for it ///...
mit
C#
c4c8fe5b15447e1ee1f94971b9f89c54daae6e40
Move a little local variable to smaller scope
brnkhy/MapzenGo,brnkhy/MapzenGo
Assets/MapzenGo/Models/CachedDynamicTileManager.cs
Assets/MapzenGo/Models/CachedDynamicTileManager.cs
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Net; using System.Text; using Assets.Helpers; using Assets.Models.Factories; using UniRx; using UniRx.Triggers; using UnityEngine; namespace Assets.Models { publi...
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Net; using System.Text; using Assets.Helpers; using Assets.Models.Factories; using UniRx; using UniRx.Triggers; using UnityEngine; namespace Assets.Models { publi...
mit
C#
72e750f0bbb51a928485c4d27be05fa71b503285
Tweak percentage display
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 static BatteryCommander.Web.Models.Soldier; namespace BatteryCommander.Web.Models { public class UnitStatsViewModel { public Unit Unit { get; set; } // Assigned Passed Failed Not Tested % Pass/A...
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#
469a8f85557cdaef4814aaa35e15a913dda2e156
use screen coordinates for the DataGridView cell locations
northwoodspd/UIA.Extensions,northwoodspd/UIA.Extensions
src/UIA.Extensions/AutomationProviders/Defaults/Tables/DataGridCellInformation.cs
src/UIA.Extensions/AutomationProviders/Defaults/Tables/DataGridCellInformation.cs
using System.Windows; using System.Windows.Forms; using UIA.Extensions.AutomationProviders.Interfaces.Tables; using UIA.Extensions.InternalExtensions; namespace UIA.Extensions.AutomationProviders.Defaults.Tables { public class DataGridCellInformation : CellInformation { protected readonly DataGridView...
using System.Windows; using System.Windows.Forms; using UIA.Extensions.AutomationProviders.Interfaces.Tables; using UIA.Extensions.InternalExtensions; namespace UIA.Extensions.AutomationProviders.Defaults.Tables { public class DataGridCellInformation : CellInformation { protected readonly DataGridView...
mit
C#
4247393bff2d23bff91048eaebef07fcee1a0634
Correct copyright/company info
siwater/Cloudworks,siwater/Cloudworks,siwater/Cloudworks
Citrix.Cloudworks.Agent/Properties/AssemblyInfo.cs
Citrix.Cloudworks.Agent/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("Ci...
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("Ci...
mit
C#
4b6d42c7e890bcd797535fc6c5203e4fc70112aa
Add assertion covering free mod selection mod validity filter
ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu
osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.cs
osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.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.Linq; using NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Framework.Testing; using osu.Game.Overlays.Mods; using osu.Game.Screens.Onlin...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Game.Screens.OnlinePlay; namespace osu.Game.Tests.Visual.Multiplayer { public class TestSce...
mit
C#
184f348a6b96a364a2bcc81722e9fdb4c45dd9e9
update ObjectMappingTest
linfx/LinFx,linfx/LinFx
test/LinFx.Test/ObjectMapping/ObjectMappingTest.cs
test/LinFx.Test/ObjectMapping/ObjectMappingTest.cs
using System; using System.Collections.Generic; using Xunit; namespace LinFx.Test.ObjectMapping { public class ObjectMappingTest { [Fact] public void MapTo_Tests() { var person = new Person() { Name = "Leo", Age = 200, ...
using System; using Xunit; namespace LinFx.Test.ObjectMapping { public class ObjectMappingTest { [Fact] public void MapToTests() { var person = new Person() { Name = "Leo", Age = 200, }; var dto = person.M...
mit
C#
5f59b9448e579f5ba4af764a070f3f6c401adec6
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
d6e7d2c51e976f3a623615ec3f59e2a2d6a00ec8
increment pre-release version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
7a51583155a0b58aa8bdb4632b379cc8a612807c
Increase default receive high-water mark
Abc-Arbitrage/Zebus
src/Abc.Zebus/Transport/ZmqSocketOptions.cs
src/Abc.Zebus/Transport/ZmqSocketOptions.cs
using System; using Abc.Zebus.Util; namespace Abc.Zebus.Transport { public class ZmqSocketOptions { public ZmqSocketOptions() { ReadTimeout = 300.Milliseconds(); SendHighWaterMark = 20000; SendTimeout = 100.Milliseconds(); SendRetriesBeforeSwitch...
using System; using Abc.Zebus.Util; namespace Abc.Zebus.Transport { public class ZmqSocketOptions { public ZmqSocketOptions() { ReadTimeout = 300.Milliseconds(); SendHighWaterMark = 20000; SendTimeout = 100.Milliseconds(); SendRetriesBeforeSwitch...
mit
C#
7727882ddcf9e510448a569758845c0c2fdd88a0
Add some robustness to FullName test
valmaev/mocks-stubs-rocknroll
DotNext.RockAndRoll.UnitTests/MusicianTestCase.cs
DotNext.RockAndRoll.UnitTests/MusicianTestCase.cs
using Xunit; using Xunit.Extensions; namespace DotNext.RockAndRoll.UnitTests { public class MusicianTestCase { [Theory] [InlineData("foo", "bar")] [InlineData("bar", "baz")] [InlineData("baz", "qux")] public void FullName_Always_ShouldReturnConcatenationOfNames( ...
using Xunit; using Xunit.Extensions; namespace DotNext.RockAndRoll.UnitTests { public class MusicianTestCase { [Theory] [InlineData("foo", "bar", "foo bar")] [InlineData("bar", "baz", "bar baz")] [InlineData("baz", "qux", "baz qux")] public void FullName_Always_ShouldRe...
mit
C#
c568427aefa341628490b2470a87ccb26f04bde4
Allow automatic migration with data loss for the metadata db.
underwater/qdms,underwater/qdms,qusma/qdms,leo90skk/qdms,Jumaga2015/qdms,KBurov/qdms,leo90skk/qdms,qusma/qdms
EntityData/Migrations/MyDbContextConfiguration.cs
EntityData/Migrations/MyDbContextConfiguration.cs
// ----------------------------------------------------------------------- // <copyright file="Configuration.cs" company=""> // Copyright 2014 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using System.Data.Entity.Migrations; using System.Linq;...
// ----------------------------------------------------------------------- // <copyright file="Configuration.cs" company=""> // Copyright 2014 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using System.Data.Entity.Migrations; using System.Linq;...
bsd-3-clause
C#
917e932497ac234e05491dbc9257f040c5879a78
Add a constructor which allows you to set the Result of a CommandResponse object
MasterDevs/ChromeDevTools
source/ChromeDevTools/CommandResponse.cs
source/ChromeDevTools/CommandResponse.cs
namespace MasterDevs.ChromeDevTools { public interface ICommandResponse { long Id { get; } string Method { get; } } public class CommandResponse : ICommandResponse { public long Id { get; set; } public string Method ...
namespace MasterDevs.ChromeDevTools { public interface ICommandResponse { long Id { get; } string Method { get; } } public class CommandResponse : ICommandResponse { public long Id { get; set; } public string Method ...
mit
C#
1343e510ecb32e9b888b9dd3ef22b14cd6ef68e0
Revert "Making Adjustments for implementation"
WSUGlobalCampusITAs/ITA_Tools
ITATools/ITATools/ViewModel/MainWindowViewModel.cs
ITATools/ITATools/ViewModel/MainWindowViewModel.cs
using Calendar_Converter.ViewModel; using MVVMObjectLibrary; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace ITATools.ViewModel { public class MainWindowViewModel : ViewM...
using Calendar_Converter.ViewModel; using MVVMObjectLibrary; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace ITATools.ViewModel { public class MainWindowViewModel : ViewM...
apache-2.0
C#
3620b5ed658f9abe0c2b53fcb1a167a91bfe7d77
remove unused fields
kreeben/resin,kreeben/resin
src/Resin/DeleteByPrimaryKeyOperation.cs
src/Resin/DeleteByPrimaryKeyOperation.cs
using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using Resin.IO; using Resin.Sys; namespace Resin { public class DeleteByPrimaryKeyOperation { private readonly string _directory; private readonly IEnumerable<string> _values; private read...
using System.Collections.Concurrent; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using Resin.IO; using Resin.Sys; namespace Resin { public class DeleteByPrimaryKeyOperation { private readonly string _directory; private readonly IEnumerable<...
mit
C#
855c8cb207f17f963ae57a504458078106399791
Fix unresolved reference to UpdaetManager in the documentation
ProgTrade/nUpdate,ProgTrade/nUpdate
nUpdate.WithoutTAP/UpdateEventArgs/UpdateSearchFinishedEventArgs.cs
nUpdate.WithoutTAP/UpdateEventArgs/UpdateSearchFinishedEventArgs.cs
// Copyright © Dominic Beger 2017 using System; using nUpdate.Updating; namespace nUpdate.UpdateEventArgs { /// <summary> /// Provides data for the <see cref="UpdateManager.UpdateSearchFinished" />-event. /// </summary> public class UpdateSearchFinishedEventArgs : EventArgs { /// <sum...
// Copyright © Dominic Beger 2017 using System; namespace nUpdate.UpdateEventArgs { /// <summary> /// Provides data for the <see cref="UpdateManager.UpdateSearchFinished" />-event. /// </summary> public class UpdateSearchFinishedEventArgs : EventArgs { /// <summary> /// In...
mit
C#
6aba38794d29bccce86912f9d0f78910dbe2da17
Add scalar multiplication and divison operators to point type
GreatMindsRobotics/ConsoleGameLib
ConsoleGameLib/CoreTypes/Point.cs
ConsoleGameLib/CoreTypes/Point.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleGameLib.CoreTypes { public struct Point { public Point(int x, int y) { X = x; Y = y; } public int X; public int Y; public override in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleGameLib.CoreTypes { public struct Point { public Point(int x, int y) { X = x; Y = y; } public int X; public int Y; public override in...
mit
C#
5f9712c063ad04502f8016035426e91fe191b325
Remove missing handlers test
CRGCode/NEvilES,CRGCode/NEvilES,CRGCode/NEvilES
src/NEvilES.Tests/TestForMissingHandlers.cs
src/NEvilES.Tests/TestForMissingHandlers.cs
using NEvilES.Testing; using Xunit.Abstractions; namespace NEvilES.Tests { using CommonDomain.Sample; using ReadModel = CommonDomain.Sample.ReadModel; //public class TestForMissingHandlers : // ScanTypesForMissingHandlerImplementations< // ChatRoom.Create, // ChatR...
using NEvilES.Testing; using Xunit.Abstractions; namespace NEvilES.Tests { using CommonDomain.Sample; using ReadModel = CommonDomain.Sample.ReadModel; public class TestForMissingHandlers : ScanTypesForMissingHandlerImplementations< ChatRoom.Create, ChatRoom.Ag...
apache-2.0
C#
76819ecb97cff9d610ca37ef311e6d747170d786
add table name prefix
cmsd2/oidc,cmsd2/oidc,cmsd2/oidc,cmsd2/oidc
src/OpenIdConnectServer/DynamoDBSettings.cs
src/OpenIdConnectServer/DynamoDBSettings.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OpenIdConnectServer { public class DynamoDbSettings { public string ServiceUrl { get; set; } public string UsersTableName { get; set; } public string RolesTableName { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OpenIdConnectServer { public class DynamoDbSettings { public string ServiceUrl { get; set; } public string UsersTableName { get; set; } public string RolesTableName { get; set; } ...
apache-2.0
C#
83db9eb83d227874a4048ef312734e53ff6b5c0c
Update copyright
aarondemarre/KSP-Haystack-Plugin
VS_Solution/HrmHaystack/Properties/AssemblyInfo.cs
VS_Solution/HrmHaystack/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembl...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembl...
mit
C#
8472dfc011040736a7d1b0d10e15d512e0e66c01
Fix formatting
ermau/Gablarski,ermau/Gablarski
src/Clients/Windows/AvatarConverter.cs
src/Clients/Windows/AvatarConverter.cs
// Copyright (c) 2013, Eric Maupin // All rights reserved. // // 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 retain the above // copyright notice, this list of conditi...
// Copyright (c) 2013, Eric Maupin // All rights reserved. // // 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 retain the above // copyright notice, this list of conditi...
bsd-3-clause
C#
a590f147317d7771fce16d0b5a63d6d2b720e189
Fix error
wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D.FileWriter.Dxf/DxfWriter.cs
src/Core2D.FileWriter.Dxf/DxfWriter.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Core2D.Containers; using Core2D.Interfaces; using Core2D.Renderer; using Core2D.Renderer.Dxf; using Core2D.Shapes; namespace Core2D.FileWriter...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Containers; using Core2D.Interfaces; using Core2D.Renderer; using Core2D.Renderer.Dxf; using Core2D.Shapes; namespace Core2D.FileWriter.Dxf { ///...
mit
C#
cb8acf8771566cb039a0626b26ea0867a9722dcb
Update AlainAssaf.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/AlainAssaf.cs
src/Firehose.Web/Authors/AlainAssaf.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 AlainAssaf : IAmACommunityMember { public string FirstName => "Alain"; public string LastNa...
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 AlainAssaf : IAmACommunityMember { public string FirstName => "Alain"; public string LastNa...
mit
C#
b4e3e6fffffbb9fa32b26f1151fef5185d792872
test for balance command
libertyswede/NxtTipbot
test/NxtTipbot.Tests/SlackHandlerTests.cs
test/NxtTipbot.Tests/SlackHandlerTests.cs
using Xunit; using Moq; using Microsoft.Extensions.Logging; namespace NxtTipbot.Tests { public class SlackHandlerTests { private readonly Mock<INxtConnector> nxtConnectorMock = new Mock<INxtConnector>(); private readonly Mock<IWalletRepository> walletRepositoryMock = new Mock<IWalletRepositor...
using Xunit; using Moq; using Microsoft.Extensions.Logging; namespace NxtTipbot.Tests { public class SlackHandlerTests { [Theory] [InlineData("help")] [InlineData(" HELP ")] [InlineData("hElP ")] public async void SendHelpText(string command) { var n...
mit
C#
1eff1d151dd878017075835c069239a7554f3e4d
Increment patch -> 0.7.1
awseward/restivus
AssemblyInfo.shared.cs
AssemblyInfo.shared.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("0.7.1.0")] [assembly: AssemblyFileVers...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("0.7.1.0")] [assembly: AssemblyFileVers...
mit
C#
a4dafe59259fa3de74e20f08003f17f9c21c2b7c
Update Program.cs
Zaibot/ThreadWatchdog
Core/Source/Zaibot.ThreadWatchdog.DemoConsole/Program.cs
Core/Source/Zaibot.ThreadWatchdog.DemoConsole/Program.cs
using System; using Zaibot.ThreadWatchdog.Core; using Zaibot.ThreadWatchdog.Core.Reporters; namespace Zaibot.ThreadWatchdog.DemoConsole { internal class Program { private static void Main(string[] args) { // Subscribe to the reports using the console output. Watchdog.Ins...
// // The MIT License (MIT) // // Copyright (c) 2015 Zaibot Programs // // 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 // ...
mit
C#
a55c5bece33384203e2fddcbcdea72d3aaf63d4a
Update Viktor.cs
FireBuddy/adevade
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
mit
C#
302579422809eac4fba302f4aae0555b9b701ea7
Add TagHelperContent methods
bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow
AspNetCorePlayground/TagHelpers/MyFirstTagHelper.cs
AspNetCorePlayground/TagHelpers/MyFirstTagHelper.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; namespace AspNetCorePlayground.TagHelpers { public class MyFirst : TagHelper { public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output) { var childContent = await output.GetC...
using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; namespace AspNetCorePlayground.TagHelpers { public class MyFirst : TagHelper { public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output) { var childContent = await output.GetC...
mit
C#
5dece914bb51433bdc7e4fc7bdff1c8b92db5ecb
Disable resharper suggestions for return
HattMarris1/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,paseb/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,willcong/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,ForrestTrepte/HoloToolkit-Unity
Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs
Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace HoloToolkit.Unity { /// <summary> /// The purpose of this class is to provide a cached reference to the main camera. Calling Ca...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace HoloToolkit.Unity { /// <summary> /// The purpose of this class is to provide a cached reference to the main camera. Calling Ca...
mit
C#
0aff2ffe31146bc7219cb12a06228967c7b4b2ec
Update PlayerDie
bunashibu/kikan
Assets/Scripts/SMB/Player/BattleBehaviour/DieSMB.cs
Assets/Scripts/SMB/Player/BattleBehaviour/DieSMB.cs
using System.Collections; using System.Collections.Generic; using System; using UnityEngine; namespace Bunashibu.Kikan { public class DieSMB : StateMachineBehaviour { override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { if (_player == null) { _player ...
using System.Collections; using System.Collections.Generic; using System; using UnityEngine; namespace Bunashibu.Kikan { public class DieSMB : StateMachineBehaviour { override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { if (_player == null) { _player ...
mit
C#
bc60f909d5189ea575a1da326bc7ebd8ab0dedee
Make internals visible to Criteo.Diagnostic.UTest
criteo/zipkin4net,criteo/zipkin4net
Criteo.Profiling.Tracing/Properties/AssemblyInfo.cs
Criteo.Profiling.Tracing/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("Cr...
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("Cr...
apache-2.0
C#
d840a95b8854f0b3b673397a3680475668ed61b4
Change "Slideshow" "Max File Size" option default value
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/PictureSlideshow/Settings.cs
DesktopWidgets/Widgets/PictureSlideshow/Settings.cs
using System; using System.ComponentModel; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.PictureSlideshow { public class Settings : WidgetSettingsBase { public Settings() { Style.Width = 384; Style.Height = 216; } [Category(...
using System; using System.ComponentModel; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.PictureSlideshow { public class Settings : WidgetSettingsBase { public Settings() { Style.Width = 384; Style.Height = 216; } [Category(...
apache-2.0
C#
df6102c2280adadaafa7b32fa4bab4f52cc0bb23
Update for CollapsibleContentProvider
mogulTest1/ProjectJabbr01,e10/JabbR,mogulTest1/Project13171009,MogulTestOrg9221/Project92108,mogulTest1/Project91409,krolson/kkJabbr,Createfor1322/jessica0122-1322,Haacked/JabbR,SonOfSam/JabbR,mogulTest1/Project13231106,lukehoban/JabbR,mogulTest1/Project13231109,CrankyTRex/JabbRMirror,timgranstrom/JabbR,AAPT/jean0226ca...
JabbR/ContentProviders/SlideshareContentProvider.cs
JabbR/ContentProviders/SlideshareContentProvider.cs
using System; using System.Linq; using System.Net; using System.Text.RegularExpressions; using System.Web; using Newtonsoft.Json; using System.IO; namespace JabbR.ContentProviders { /// <summary> /// Content Provider that provides the necessary functionality to show SlideShare embed code in the chat when some...
using System; using System.Linq; using System.Net; using System.Text.RegularExpressions; using System.Web; using Newtonsoft.Json; using System.IO; namespace JabbR.ContentProviders { /// <summary> /// Content Provider that provides the necessary functionality to show SlideShare embed code in the chat when some...
mit
C#
bea3eb6b5f15003eb7c0e93d27372dd20b41eb08
Bump version
xamarin/Xamarin.Mobile,nexussays/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,orand/Xamarin.Mobile,xamarin/Xamarin.Mobile,moljac/Xamarin.Mobile
MonoDroid/Xamarin.Mobile/Properties/AssemblyInfo.cs
MonoDroid/Xamarin.Mobile/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("Xam...
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("Xam...
apache-2.0
C#
d39b7890c9f2cef2539bdf0f5397b331babb91ce
make BufferParser public w/ nice name
OmniSharp/omnisharp-server,x335/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,mispencer/OmniSharpServer,corngood/omnisharp-server,corngood/omnisharp-server,svermeulen/omnisharp-server,syl20bnr/omnisharp-server
OmniSharp/AutoComplete/Overrides/OverrideContext.cs
OmniSharp/AutoComplete/Overrides/OverrideContext.cs
using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory.TypeSystem; using OmniSharp.AutoComplete; using OmniSharp.AutoComplete.Overrides; using OmniSharp.Common; using OmniSharp.Parser; namespace Omnisharp.AutoComplete.Overrides { /// <summary> /// Represents a context where some b...
using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory.TypeSystem; using OmniSharp.AutoComplete; using OmniSharp.AutoComplete.Overrides; using OmniSharp.Common; using OmniSharp.Parser; namespace Omnisharp.AutoComplete.Overrides { /// <summary> /// Represents a context where some b...
mit
C#
cadda3f78610f6258e625b89d48bad4544439211
Correct class name. Was Mapping
nkreipke/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhiberna...
src/NHibernate/Engine/IMapping.cs
src/NHibernate/Engine/IMapping.cs
using System; using NHibernate.Type; namespace NHibernate.Engine { /// <summary> /// Defines operations common to "compiled" mappings (ie. <c>SessionFactory</c>) and /// "uncompiled" mappings (ie <c>Configuration</c> that are used by implementors of <c>IType</c> /// </summary> public interface IMapping { IType ...
using System; using NHibernate.Type; namespace NHibernate.Engine { /// <summary> /// Defines operations common to "compiled" mappings (ie. <c>SessionFactory</c>) and /// "uncompiled" mappings (ie <c>Configuration</c> that are used by implementors of <c>IType</c> /// </summary> public interface Mapping { IType G...
lgpl-2.1
C#
09e96d4d103cf27205d2c01d58691bdcc87ba058
fix slight formatting issue
tsolarin/dotnet-globals,tsolarin/dotnet-globals
src/DotNet.Globals.Core/PackageResolvers/FolderPackageResolver.cs
src/DotNet.Globals.Core/PackageResolvers/FolderPackageResolver.cs
using System; using System.IO; using System.Linq; using DotNet.Globals.Core.Utils; namespace DotNet.Globals.Core.PackageResolvers { internal class FolderPackageResolver : PackageResolver { public FolderPackageResolver(DirectoryInfo packagesFolder, string source, Options options) : base(packagesFolder, ...
using System; using System.IO; using System.Linq; using DotNet.Globals.Core.Utils; namespace DotNet.Globals.Core.PackageResolvers { internal class FolderPackageResolver : PackageResolver { public FolderPackageResolver(DirectoryInfo packagesFolder, string source, Options options) : base(packagesFolder,...
mit
C#
cc01709096199c318685cae3578db9709ce59dab
Add AssemblyInformationalVersion to AssemblyInfo
courtneyklatt/Mjolnir,hudl/Mjolnir
Hudl.Mjolnir/Properties/AssemblyInfo.cs
Hudl.Mjolnir/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("Hu...
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("Hu...
apache-2.0
C#
89b70bf3c8eae649ec1594335c6cc3be6980ac22
remove redundant using statement.
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts/DependencyResolution/DataRegistry.cs
src/SFA.DAS.EmployerAccounts/DependencyResolution/DataRegistry.cs
using System.Data.Common; using System.Data.SqlClient; using Microsoft.Azure.Documents; using NServiceBus.Persistence; using SFA.DAS.EmployerAccounts.Configuration; using SFA.DAS.EmployerAccounts.Data; using SFA.DAS.EmployerAccounts.ReadStore.Data; using SFA.DAS.NServiceBus.ClientOutbox; using SFA.DAS.NServiceBus.SqlS...
using System.Data.Common; using System.Data.SqlClient; using Microsoft.Azure.Documents; using NServiceBus.Persistence; using SFA.DAS.EmployerAccounts.Configuration; using SFA.DAS.EmployerAccounts.Data; using SFA.DAS.EmployerAccounts.ReadStore.Data; using SFA.DAS.EmployerAccounts.ReadStore.DependencyResolution; using S...
mit
C#
f9b6ffddcef64f09b3a6b3c6362869d4114ccc95
Update Player.cs
ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp
src/TestMode.DotNetCore/Player.cs
src/TestMode.DotNetCore/Player.cs
using SampSharp.GameMode.Pools; using SampSharp.GameMode.World; namespace TestMode { [PooledType] public class Player : BasePlayer { } }
using SampSharp.GameMode.Pools; using SampSharp.GameMode.World; namespace TestMode { [PooledType] internal class Player : BasePlayer { } }
apache-2.0
C#
7257e151d4e6d4d4e4e93585961e57dfbe214ae4
Add button-primary-white class to button
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/stockportgov/Shared/SignUpAlerts.cshtml
src/StockportWebapp/Views/stockportgov/Shared/SignUpAlerts.cshtml
<section class="sign-up-alert"> <form action="/subscribe?EmailAlertsTopicId=@ViewData["SignUpAlertsTopicIdTopicId"]" method="POST"> <label for="emailAddress">Sign up to receive our news and email alerts in your inbox</label> <input type="email" name="emailAddress" id="emailAddress" placeholder="Ent...
<section class="sign-up-alert"> <form action="/subscribe?EmailAlertsTopicId=@ViewData["SignUpAlertsTopicIdTopicId"]" method="POST"> <label for="emailAddress">Sign up to receive our news and email alerts in your inbox</label> <input type="email" name="emailAddress" id="emailAddress" placeholder="Ent...
mit
C#
59baacfe8df31dac955c4b6556aea96befdeecab
add test ShouldTargetSitecoreVersion()
dharnitski/Sitecore.Algolia
Score.ContentSearch.Algolia.Tests/FrameworkTests.cs
Score.ContentSearch.Algolia.Tests/FrameworkTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Versioning; using System.Text; using System.Threading.Tasks; using FluentAssertions; using NUnit.Framework; using Sitecore.Data.Items; namespace Score.ContentSearch.Algolia.Tests { [TestFixture] pu...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Versioning; using System.Text; using System.Threading.Tasks; using FluentAssertions; using NUnit.Framework; namespace Score.ContentSearch.Algolia.Tests { [TestFixture] public class FrameworkTests ...
mit
C#
e6f7c9456566504a1ed40ae77528d57e7312cebf
Modify default InformationUs.cshtml template
SharpCLABot/SharpCLABot,SharpCLABot/SharpCLABot,SharpCLABot/SharpCLABot
SharpCLABot/Views/Home/Default.InformationUs.cshtml
SharpCLABot/Views/Home/Default.InformationUs.cshtml
<div class="form-group"> <label>Company Name</label><p class="form-control-static">Enter Your Company Name.</p> </div> <div class="form-group"> <label>Office</label> <p class="form-control-static">Head Office<br/> Enter your Address,<br /> Enter your City/ZipCode<br /> Enter your Phone<br...
<div class="form-group"> <label>Company Name</label><p class="form-control-static">Silicon Studio Corp.</p> </div> <div class="form-group"> <label>Office</label> <p class="form-control-static">Head Office<br/> 1-21-3 Ebisu Shibuya-ku,<br /> Tokyo 150-0013 Japan<br /> Phone +81-3-5488-7070...
bsd-2-clause
C#
b0efbfe34f884bdc35ef967369e6d1659ce75c1c
Add metadata field to OrderLineRequest (#180)
Viincenttt/MollieApi,Viincenttt/MollieApi
Mollie.Api/Models/Order/Request/OrderLineRequest.cs
Mollie.Api/Models/Order/Request/OrderLineRequest.cs
using Mollie.Api.JsonConverters; using Newtonsoft.Json; namespace Mollie.Api.Models.Order { public class OrderLineRequest { /// <summary> /// The type of product bought, for example, a physical or a digital product. Must be one of the following values: /// physical (default), discount, dig...
namespace Mollie.Api.Models.Order { public class OrderLineRequest { /// <summary> /// The type of product bought, for example, a physical or a digital product. Must be one of the following values: /// physical (default), discount, digital, shipping_fee, store_credit, gift_card, surcharge ...
mit
C#
52f144e8ff22edaecc088732fd26b870c3e12008
Add a specific user-agent to CoinChoose.com requests
IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
MultiMiner.Coinchoose.Api/ApiContext.cs
MultiMiner.Coinchoose.Api/ApiContext.cs
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Net; namespace MultiMiner.Coinchoose.Api { public static class ApiContext { public static List<CoinInformation> GetCoinInformation() { WebClient client = new WebClient(); const stri...
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Net; namespace MultiMiner.Coinchoose.Api { public static class ApiContext { public static List<CoinInformation> GetCoinInformation() { WebClient client = new WebClient(); string jso...
mit
C#
4fce25801df86acc2443f896e7759138a6f6d3b5
Move foo type to static member
appharbor/appharbor-cli
src/AppHarbor.Tests/TypeNameMatcherTest.cs
src/AppHarbor.Tests/TypeNameMatcherTest.cs
using System; using System.Collections.Generic; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class TypeNameMatcherTest { interface IFoo { } class Foo : IFoo { } private static Type FooType = typeof(Foo); [Fact] public void ShouldThrowIfInitializedWithUnnasignableType() ...
using System; using System.Collections.Generic; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class TypeNameMatcherTest { interface IFoo { } class Foo : IFoo { } [Fact] public void ShouldThrowIfInitializedWithUnnasignableType() { var exception = Assert.Throws<ArgumentExc...
mit
C#