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
46840ea705883d7ea2c04e62d32d53170f1acad6
Use CallerInfoPath instead of reflection to find script root
moozzyk/roslyn,agocke/roslyn,weltkante/roslyn,panopticoncentral/roslyn,OmarTawfik/roslyn,antonssonj/roslyn,jmarolf/roslyn,physhi/roslyn,MichalStrehovsky/roslyn,dotnet/roslyn,basoundr/roslyn,jaredpar/roslyn,VPashkov/roslyn,bkoelman/roslyn,paulvanbrenk/roslyn,gafter/roslyn,tvand7093/roslyn,leppie/roslyn,MattWindsor91/ros...
build/BuildNuGets.csx
build/BuildNuGets.csx
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.CompilerServices; string usage = @"usage: BuildNuGets.csx <binaries-dir> <build-version> <output-directory>"; if (Args.Count() != 3) { Console.WriteLine(usage); Environment....
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; string usage = @"usage: BuildNuGets.csx <binaries-dir> <build-version> <output-directory>"; if (Args.Count() != 3) { Console.WriteLine(usage); Environment.Exit(1); } var csiRoot = AppDomain.Cur...
mit
C#
08c105f031ef6a17af481eb9ef081199779de6a4
Add app launcher show/hide callbacks
cwc/kTunes
kTunes/kTunes.cs
kTunes/kTunes.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using UnityEngine; using System.ComponentModel; using WindowsInput; namespace kTunes { [KSPAddon (KSPAddon.Startup.SpaceCentre, true)] public class kTunes : MonoB...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using UnityEngine; using System.ComponentModel; using WindowsInput; namespace kTunes { [KSPAddon (KSPAddon.Startup.SpaceCentre, true)] public class kTunes : MonoB...
mit
C#
e94ca287a510428f0f462b658c03cbbd28773af9
Add simple interpolated motion driver
dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo
DynamixelServo.Quadruped/BasicQuadrupedGaitEngine.cs
DynamixelServo.Quadruped/BasicQuadrupedGaitEngine.cs
using System; using System.Numerics; namespace DynamixelServo.Quadruped { public class BasicQuadrupedGaitEngine : QuadrupedGaitEngine { private const int Speed = 12; private int _currentIndex; private readonly Vector3[] _positions = { new Vector3(-5, 5, 3), ...
using System; using System.Numerics; namespace DynamixelServo.Quadruped { public class BasicQuadrupedGaitEngine : QuadrupedGaitEngine { private const int Speed = 10; private const int MaxForward = 5; private const int MinForward = -5; private const int LegDistance = 15; ...
apache-2.0
C#
b519218f55efce641b7053140a9caa60c6ac89fc
Handle correctly the special HTML characters and tags
juliameleshko/AnimalHope,juliameleshko/AnimalHope
AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs
AnimalHope/AnimalHope.Web/App_Start/FilterConfig.cs
namespace AnimalHope.Web { using System.Web; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); filters.Add(new ValidateInputAttribute(false)); ...
namespace AnimalHope.Web { using System.Web; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
mit
C#
794c9394ea848085523ec68bd58e419f5fb05038
Improve API documentation
KentorIT/Log4NetExtensions
Kentor.Log4NetExtensions.BurstFilter/BurstFilter.cs
Kentor.Log4NetExtensions.BurstFilter/BurstFilter.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kentor.Log4NetExtensions { /// <summary> /// Burst filter. /// Limits the number of <see cref="log4net.Core.LoggingEvent"/>s that will be logge...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kentor.Log4NetExtensions { public class BurstFilter : log4net.Filter.FilterSkeleton { public BurstFilter() { BurstLengt...
mit
C#
bc63ef3a4adb562b42bdcda42fce551fdc7e21e4
バージョンアップ 0.37.1.*
Implem/Implem.Pleasanter,kingkino/Implem.Pleasanter,Implem/Implem.Pleasanter,Implem/Implem.Pleasanter,kingkino/Implem.Pleasanter
Implem.Pleasanter/Properties/AssemblyInfo.cs
Implem.Pleasanter/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Implem.Pleasanter")] [assembly: AssemblyDescription("Web tool that helps the efficiency of business")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Implem.Pleasanter")] [assembl...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Implem.Pleasanter")] [assembly: AssemblyDescription("Web tool that helps the efficiency of business")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Implem.Pleasanter")] [assembl...
agpl-3.0
C#
58401d540286c684313fcefa5978077f54c85695
Fix typos
omar/ByteSize
src/ByteSizeLib.Tests/Binary/ToBinaryStringMethod.cs
src/ByteSizeLib.Tests/Binary/ToBinaryStringMethod.cs
using System.Globalization; using Xunit; namespace ByteSizeLib.Tests.Binary { public class ToBinaryStringMethod { [Fact] public void ReturnsDefaultRepresentation() { // Arrange var b = ByteSize.FromKiloBytes(10); // Act var result = b.To...
using System.Globalization; using Xunit; namespace ByteSizeLib.Tests.Binary { public class ToBinaryStringMethod { [Fact] public void ReturnsDefaultRepresenation() { // Arrange var b = ByteSize.FromKiloBytes(10); // Act var result = b.ToB...
mit
C#
5f86239652cb97aeddff4e9d07b8dd13736fa5b8
Make Hot the default reddit post category
bcanseco/common-bot-library,bcanseco/common-bot-library
src/CommonBotLibrary/Services/Models/RedditResult.cs
src/CommonBotLibrary/Services/Models/RedditResult.cs
using System.Diagnostics; using CommonBotLibrary.Interfaces.Models; using RedditSharp.Things; namespace CommonBotLibrary.Services.Models { [DebuggerDisplay("{Url, nq}")] public class RedditResult : IWebpage { public RedditResult(Post post) { Title = post.Title; Url ...
using System.Diagnostics; using CommonBotLibrary.Interfaces.Models; using RedditSharp.Things; namespace CommonBotLibrary.Services.Models { [DebuggerDisplay("{Url, nq}")] public class RedditResult : IWebpage { public RedditResult(Post post) { Title = post.Title; Url ...
mit
C#
adee2584503be51b0c49ee1733f250ea25e8de6c
remove unused field
pellea/waslibs,pellea/waslibs,pellea/waslibs,wasteam/waslibs,janabimustafa/waslibs,wasteam/waslibs,janabimustafa/waslibs,wasteam/waslibs,janabimustafa/waslibs
src/AppStudio.DataProviders/WordPress/WordPressCommentSchema.cs
src/AppStudio.DataProviders/WordPress/WordPressCommentSchema.cs
using System; namespace AppStudio.DataProviders.WordPress { /// <summary> /// Implementation of the WordPressCommentSchema class. /// </summary> public class WordPressCommentSchema : SchemaBase { public string Author { get; set; } public DateTime PublishDate { get; set; } ...
using System; namespace AppStudio.DataProviders.WordPress { /// <summary> /// Implementation of the WordPressCommentSchema class. /// </summary> public class WordPressCommentSchema : SchemaBase { public string Author { get; set; } public DateTime PublishDate { get; set; } ...
mit
C#
560f075321ab6fa570a24f0bdf1c4a4a6da0d49d
Revert change to pump in the wrong spot.
amcasey/roslyn,Pvlerick/roslyn,nguerrera/roslyn,a-ctor/roslyn,oocx/roslyn,orthoxerox/roslyn,dotnet/roslyn,OmarTawfik/roslyn,DustinCampbell/roslyn,dotnet/roslyn,jhendrixMSFT/roslyn,zooba/roslyn,AArnott/roslyn,mattwar/roslyn,bartdesmet/roslyn,CaptainHayashi/roslyn,srivatsn/roslyn,wvdd007/roslyn,khellang/roslyn,Shiney/ros...
src/EditorFeatures/TestUtilities/Async/WaitHelper.cs
src/EditorFeatures/TestUtilities/Async/WaitHelper.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.Threading.Tasks; using System.Windows; using System.Windows.Threading; namesp...
// 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.Threading.Tasks; using System.Windows; using System.Windows.Threading; namesp...
mit
C#
e61979d02289ec181fdee8c4848277c133ff6e4c
Fix for when inserting rows with {} in them.
Robo210/hadouken,yonglehou/hadouken,vktr/hadouken,yonglehou/hadouken,Robo210/hadouken,Robo210/hadouken,vktr/hadouken,vktr/hadouken,Robo210/hadouken,yonglehou/hadouken,vktr/hadouken
src/Main/Hadouken.Impl/Data/DefaultMigratorRunner.cs
src/Main/Hadouken.Impl/Data/DefaultMigratorRunner.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Reflection; using System.Text; using Hadouken.Data; using Migrator.Providers.SQLite; using System.IO; using Hadouken.Configuration; using Migrator.Framework; namespace Hadouken.Impl.Data { p...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Reflection; using System.Text; using Hadouken.Data; using Migrator.Providers.SQLite; using System.IO; using Hadouken.Configuration; namespace Hadouken.Impl.Data { public class DefaultMigrator...
mit
C#
898586722cdb39038c86600331957dc4438e88dd
Update HttpsPort comments (#331)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.HttpsPolicy/HttpsRedirectionOptions.cs
src/Microsoft.AspNetCore.HttpsPolicy/HttpsRedirectionOptions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.HttpsPolicy { /// <summary> /// Options for the HttpsRedirection middleware ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.HttpsPolicy { /// <summary> /// Options for the HttpsRedirection middleware ...
apache-2.0
C#
807188af361a125c786cac10fc75e1bb51c26a73
fix for making the setter private
Sarmad93/octokit.net,chunkychode/octokit.net,khellang/octokit.net,ivandrofly/octokit.net,thedillonb/octokit.net,M-Zuber/octokit.net,dampir/octokit.net,SamTheDev/octokit.net,shiftkey-tester/octokit.net,TattsGroup/octokit.net,octokit/octokit.net,hahmed/octokit.net,cH40z-Lord/octokit.net,gabrielweyer/octokit.net,shiftkey-...
Octokit/Models/Response/RepositoryContent.cs
Octokit/Models/Response/RepositoryContent.cs
using System; using System.Diagnostics; using Octokit.Internal; namespace Octokit { /// <summary> /// Represents a piece of content in the repository. This could be a submodule, a symlink, a directory, or a file. /// Look at the Type property to figure out which one it is. /// </summary> [DebuggerD...
using System; using System.Diagnostics; using Octokit.Internal; namespace Octokit { /// <summary> /// Represents a piece of content in the repository. This could be a submodule, a symlink, a directory, or a file. /// Look at the Type property to figure out which one it is. /// </summary> [DebuggerD...
mit
C#
a4e3e53a63788fdd09029836c779b94ff7389fd3
Revert back to hardcoded SessionStatics reset values
UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu
osu.Game/Configuration/SessionStatics.cs
osu.Game/Configuration/SessionStatics.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Graphics.UserInterface; using osu.Game.Online.API.Requests.Responses; using osu.Game.Overlays; namespace osu.Game.Configuration { /// <summary> /...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Graphics.UserInterface; using osu.Game.Online.API.Requests.Responses; using osu.Game.Overlays; namespace osu.Game.Configuration { /// <summary> /...
mit
C#
d0ba8b93accfc78e5f5532204f2bb61eea6ab2ea
remove json serialization for fastlogger
fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script
src/WebJobs.Script.WebHost/Diagnostics/FastLogger.cs
src/WebJobs.Script.WebHost/Diagnostics/FastLogger.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Loggers; using Microsoft.Azure.WebJobs.Logging; using Microsoft....
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Loggers; using Microsoft.Azure.WebJobs.Logging; using Microsoft....
mit
C#
088129211750238646e01cbbc8e9b0a0e2e88808
Fix parameter types (#2120)
ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit
MaterialDesignThemes.Wpf/ComboBoxAssist.cs
MaterialDesignThemes.Wpf/ComboBoxAssist.cs
using System.Windows; namespace MaterialDesignThemes.Wpf { public static class ComboBoxAssist { /// <summary> /// By default ComboBox uses the wrapper popup. Popup can be switched to classic Windows desktop view by means of this attached property. /// </summary> public static r...
using System.Windows; namespace MaterialDesignThemes.Wpf { public static class ComboBoxAssist { /// <summary> /// By default ComboBox uses the wrapper popup. Popup can be switched to classic Windows desktop view by means of this attached property. /// </summary> public static r...
mit
C#
ece03e35ab969042b9a40fdf5982c1ca00eb9dc2
Fix #4
wokste/ModelConverter
ModelConverter/FileSystem/ObjFileFormat.cs
ModelConverter/FileSystem/ObjFileFormat.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Globalization; using ModelConverter.DataStructures; namespace ModelConverter.FileSystem { class ObjFileFormat { internal static Model load(StreamReader sr) { //NumberFormatInfo nfi = new CultureIn...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Globalization; using ModelConverter.DataStructures; namespace ModelConverter.FileSystem { class ObjFileFormat { internal static Model load(StreamReader sr) { //NumberFormatInfo nfi = new CultureIn...
bsd-2-clause
C#
2782f773ee75c4841b87ad25940c18cf62f4dc00
Use nameof instead of hardcoded param name
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Backend/Controllers/BatchController.cs
WalletWasabi.Backend/Controllers/BatchController.cs
using Microsoft.AspNetCore.Mvc; using NBitcoin; using NBitcoin.RPC; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using WalletWasabi.Backend.Models; using WalletWasabi.Backend.Models.Responses; using WalletWasabi.Helpers; us...
using Microsoft.AspNetCore.Mvc; using NBitcoin; using NBitcoin.RPC; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using WalletWasabi.Backend.Models; using WalletWasabi.Backend.Models.Responses; using WalletWasabi.Helpers; us...
mit
C#
992c7d6de4b53a437c6d1accb74d82dde426941e
Bump to 2.4.4.0.
kcjuntunen/ArchivePDF
ArchivePDF/Properties/AssemblyInfo.cs
ArchivePDF/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("Ar...
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("Ar...
bsd-3-clause
C#
552ddcad2b7858e38cc809f1def166fd0d417511
Update AddingCheckBoxControl.cs
aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecel...
Examples/CSharp/DrawingObjects/Controls/AddingCheckBoxControl.cs
Examples/CSharp/DrawingObjects/Controls/AddingCheckBoxControl.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class AddingCheckBoxControl { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Exa...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class AddingCheckBoxControl { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S...
mit
C#
f1742412956ea5c1b17a181560240924d332fbb9
Use red color when outputting error message
appharbor/appharbor-cli
src/AppHarbor/Program.cs
src/AppHarbor/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Castle.Windsor; namespace AppHarbor { class Program { static void Main(string[] args) { var container = new WindsorContainer() .Install(new AppHarborInstaller()); var commandDispatcher = container.Resolve<Comm...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Castle.Windsor; namespace AppHarbor { class Program { static void Main(string[] args) { var container = new WindsorContainer() .Install(new AppHarborInstaller()); var commandDispatcher = container.Resolve<Comm...
mit
C#
464460460fdbcf8cc80fa3f5bdc432dd9b2d6c67
fix compile error
koush/androidmono,JeroMiya/androidmono,JeroMiya/androidmono,JeroMiya/androidmono,JeroMiya/androidmono,koush/androidmono,koush/androidmono,koush/androidmono,JeroMiya/androidmono,koush/androidmono
jni/MonoJavaBridge/HelloWorld/HelloWorldActivity.cs
jni/MonoJavaBridge/HelloWorld/HelloWorldActivity.cs
using System; using android.app; using android.widget; using android.os; namespace com.koushikdutta.helloworld { public class HelloWorldActivity : Activity, android.view.View.OnClickListener { #region Gross Boilerplate protected HelloWorldActivity(global::net.sf.jni4net.jni.JNIEnv @__env) : base(@__e...
using System; using android.app; using android.widget; using android.os; namespace com.koushikdutta.helloworld { public class HelloWorldActivity : Activity, android.view.View.OnClickListener { #region Gross Boilerplate protected HelloWorldActivity(global::net.sf.jni4net.jni.JNIEnv @__env) : base(@__e...
mit
C#
f18d108366cb97fe2178857e3295b1ce1b83454c
Add Debug Fallback to current directory for debugging the TestAdapter
lukedgr/nodejstools,munyirik/nodejstools,munyirik/nodejstools,mjbvz/nodejstools,paulvanbrenk/nodejstools,paladique/nodejstools,Microsoft/nodejstools,AustinHull/nodejstools,paulvanbrenk/nodejstools,munyirik/nodejstools,paladique/nodejstools,kant2002/nodejstools,mjbvz/nodejstools,paulvanbrenk/nodejstools,kant2002/nodejst...
Nodejs/Product/Nodejs/TestFrameworks/TestFrameworkDirectories.cs
Nodejs/Product/Nodejs/TestFrameworks/TestFrameworkDirectories.cs
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 License // // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing,...
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 License // // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing,...
apache-2.0
C#
7604cd5573d1224251490320362de00fdad31222
Add room background color to save/load state
tzachshabtay/MonoAGS
Source/Engine/AGS.Engine/Serialization/Contracts/ContractRoom.cs
Source/Engine/AGS.Engine/Serialization/Contracts/ContractRoom.cs
using System; using ProtoBuf; using AGS.API; using System.Collections.Generic; using Autofac; namespace AGS.Engine { [ProtoContract(AsReferenceDefault = true)] public class ContractRoom : IContract<IRoom> { public ContractRoom() { } [ProtoMember(1)] public string ID { get; set; } [ProtoMember(2)] p...
using System; using ProtoBuf; using AGS.API; using System.Collections.Generic; using Autofac; namespace AGS.Engine { [ProtoContract(AsReferenceDefault = true)] public class ContractRoom : IContract<IRoom> { public ContractRoom() { } [ProtoMember(1)] public string ID { get; set; } [ProtoMember(2)] p...
artistic-2.0
C#
7ecbeac7118204e7ef3d3c1d27c44cefe78606ad
Add custom HTML Helpers
ivantomchev/ImdbLiteSE,ivantomchev/ImdbLiteSE,ivantomchev/ImdbLiteSE
Source/Web/ImdbLite.Web.Infrastructure/Helpers/HtmlExtentions.cs
Source/Web/ImdbLite.Web.Infrastructure/Helpers/HtmlExtentions.cs
namespace ImdbLite.Web.Infrastructure.Helpers { using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Web.Mvc; using System.Web.Mvc.Html; public static class HtmlExtentions { public static MvcHtmlString Submit(this HtmlHelper helper, object htm...
namespace ImdbLite.Web.Infrastructure.Helpers { using System.Collections.Generic; using System.Web.Mvc; public static class HtmlExtentions { public static MvcHtmlString Submit(this HtmlHelper helper, object htmlAttributes = null) { var input = new TagBuilder("input"); ...
mit
C#
bafa31d87961f67c08310e6bf82c863160ae1ebb
Use of own destroy method for PowerUp. Use Invoke for delayed own destroy method
fabri1983/marioBadClone,fabri1983/marioBadClone,fabri1983/marioBadClone
Assets/Scripts/PowerUps/PowerUp.cs
Assets/Scripts/PowerUps/PowerUp.cs
using UnityEngine; public abstract class PowerUp : MonoBehaviour { public GameObject artifact; // Game Object that will be used as bullet/gunfire protected int usageLeft; protected float firePow; protected float destroyTime; // destroy the game object after certain seconds since instantiated protected GameOb...
using UnityEngine; public abstract class PowerUp : MonoBehaviour { public GameObject artifact; // Game Object that will be used as bullet/gunfire protected int usageLeft; protected float firePow; protected float destroyTime; // destroy the game object after certain seconds since instantiated protected GameOb...
mit
C#
ae979a68104f54fdc3ecb01526f2ee6535180001
Rename name -> key
kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt
NetworkItCSharp/NetworkItWPF/Field.cs
NetworkItCSharp/NetworkItWPF/Field.cs
namespace NetworkIt { public class Field { private string key; private string value; #region Instance Variables public string Key { get { return this.key; } set { this.key = val...
namespace NetworkIt { public class Field { private string key; private string value; #region Instance Variables public string Key { get { return this.key; } set { this.key = val...
mit
C#
c650fb725a5db28e206fe61d9acd9b9739a23929
Break a test just to see if it actually works (#5)
ForNeVeR/TankDriver
TankDriver.Tests/Logic/BulletSpaceTests.cs
TankDriver.Tests/Logic/BulletSpaceTests.cs
using TankDriver.Logic; using Microsoft.Xna.Framework; using Xunit; namespace TankDriver.Tests.Logic { public class BulletSpaceTests { [Fact] public void BulletOutOfBound() { BulletSpace bulletSpace = new BulletSpace(new Rectangle(0, 0, 100, 100)); bulletSpace.A...
using TankDriver.Logic; using Microsoft.Xna.Framework; using Xunit; namespace TankDriver.Tests.Logic { public class BulletSpaceTests { [Fact] public void BulletOutOfBound() { BulletSpace bulletSpace = new BulletSpace(new Rectangle(0, 0, 100, 100)); bulletSpace.A...
mit
C#
121b0018c2fd4c011271363dca84d9fcd82bcf71
Fix issue that the changes to the connection strings were not registered before you're changing the focus to another connection string.
Seddryck/NBi,Seddryck/NBi
NBi.UI.Genbi/View/TestSuiteGenerator/SettingsControl.cs
NBi.UI.Genbi/View/TestSuiteGenerator/SettingsControl.cs
using System; using System.Linq; using System.Windows.Forms; using NBi.UI.Genbi.Presenter; namespace NBi.UI.Genbi.View.TestSuiteGenerator { public partial class SettingsControl : UserControl { public SettingsControl() { InitializeComponent(); } intern...
using System; using System.Linq; using System.Windows.Forms; using NBi.UI.Genbi.Presenter; namespace NBi.UI.Genbi.View.TestSuiteGenerator { public partial class SettingsControl : UserControl { public SettingsControl() { InitializeComponent(); } intern...
apache-2.0
C#
5bb145407d7483cc440d1b4071b66355e3a6bbcc
Update the version info
gordonwatts/CERNSSO
CERNSSO/Properties/AssemblyInfo.cs
CERNSSO/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
mit
C#
4d4a4f8921415fea126011fac942e2eb5e599db2
add expression message.
Codeer-Software/LambdicSql
Project/LambdicSql/QueryExtensions.cs
Project/LambdicSql/QueryExtensions.cs
using LambdicSql.Inside; using LambdicSql.QueryBase; using System; namespace LambdicSql { public static class QueryExtensions { public static T Cast<T>(this IQuery query) { throw new NotSupportedException("do not call cast except in expression."); } public static T...
using LambdicSql.Inside; using LambdicSql.QueryBase; namespace LambdicSql { public static class QueryExtensions { public static T Cast<T>(this IQuery query) => default(T); public static TSelect Cast<TDB, TSelect>(this IQuery<TDB, TSelect> query) where TDB : class where...
mit
C#
4370f931377f0f1841eaa8065f691427c85a4a85
Remove spurious brackets.
mans0954/f-spot,Sanva/f-spot,NguyenMatthieu/f-spot,Sanva/f-spot,mono/f-spot,mono/f-spot,Sanva/f-spot,dkoeb/f-spot,Yetangitu/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,Yetangitu/f-spot,Yetangitu/f-spot,nathansamson/F-Spot-Album-Exporter,dkoeb/f-spot,NguyenMatthieu/f-spot,mono/f-spot,mono/f-sp...
src/PhotoPopup.cs
src/PhotoPopup.cs
/* * FSpot.PhotoPopup * * Author(s) * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details. */ using System; using Gtk; using Mono.Addins; using FSpot.Extensions; namespace FSpot { public class PhotoPopup : Gtk.Menu { protected PhotoPopup (IntPtr handle) : base...
/* * FSpot.PhotoPopup * * Author(s) * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details. */ using System; using Gtk; using Mono.Addins; using FSpot.Extensions; namespace FSpot { public class PhotoPopup : Gtk.Menu { protected PhotoPopup (IntPtr handle) : base...
mit
C#
852fc3229bdc984a1ae51608d579b92e3d14dae7
update auto update config
CatLib/Framework,yb199478/catlib
Assets/Scripts/Config/CAutoUpdateConfig.cs
Assets/Scripts/Config/CAutoUpdateConfig.cs
using UnityEngine; using System.Collections; using CatLib.UpdateSystem; using System; public class CAutoUpdateConfig : CConfig{ /// <summary> /// 类 /// </summary> public override Type Class { get { return typeof(CAutoUpdate); } } /// <summary> /// 配置 ...
using UnityEngine; using System.Collections; using CatLib.UpdateSystem; using System; public class CAutoUpdateConfig : CConfig{ /// <summary> /// 类 /// </summary> public override Type Class { get { return typeof(CAutoUpdate); } } /// <summary> /// 配置 ...
unknown
C#
b85e328452c5553d138890c217f53bcd68233945
Make sync-over-async sender extensions safe, refactor
RockFramework/Rock.Messaging
RockLib.Messaging/SenderExtensions.cs
RockLib.Messaging/SenderExtensions.cs
using System; using System.Threading; using System.Threading.Tasks; namespace RockLib.Messaging { /// <summary> /// Provides a set of methods that simplify usage of instances of <see cref="ISender"/> /// and <see cref="IReceiver"/>. /// </summary> public static class SenderExtensions { ...
using System.Threading.Tasks; namespace RockLib.Messaging { /// <summary> /// Provides a set of methods that simplify usage of instances of <see cref="ISender"/> /// and <see cref="IReceiver"/>. /// </summary> public static class SenderExtensions { /// <summary> /// Synchronous...
mit
C#
bd99d25140fe20f21ba029fa6b57c7a399d290b3
set synced rev. nr. in assembly info
DHMechatronicAG/ZXing.Net,micjahn/ZXing.Net,DHMechatronicAG/ZXing.Net,DHMechatronicAG/ZXing.Net,bsoja/ZXing.Net,micjahn/ZXing.Net,bsoja/ZXing.Net,bsoja/ZXing.Net,micjahn/ZXing.Net
Source/lib/Properties/AssemblyInfo.cs
Source/lib/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. #if NET20 [assembly:...
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. #if NET20 [assembly:...
apache-2.0
C#
6b73090025fbcfce9f3ca453a6036ad54ce94ef3
Remove debugger statement
opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API
CkanDotNet.Web/Views/Shared/_Rating.cshtml
CkanDotNet.Web/Views/Shared/_Rating.cshtml
@using CkanDotNet.Api.Model @using CkanDotNet.Web.Models @using CkanDotNet.Web.Models.Helpers @model Package @{ bool editable = Convert.ToBoolean(ViewData["editable"]); string ratingId = GuidHelper.GetUniqueKey(16); } @if (Model.RatingsAverage.HasValue || editable) { <div id="@ratingId" class="rating"> @...
@using CkanDotNet.Api.Model @using CkanDotNet.Web.Models @using CkanDotNet.Web.Models.Helpers @model Package @{ bool editable = Convert.ToBoolean(ViewData["editable"]); string ratingId = GuidHelper.GetUniqueKey(16); } @if (Model.RatingsAverage.HasValue || editable) { <div id="@ratingId" class="rating"> @...
apache-2.0
C#
9d5f3b1ee60d4a4235b557a7043ebc54cac90841
use constants
fsprojects/Paket.VisualStudio,baronfel/Paket.VisualStudio,mrinaldi/Paket.VisualStudio,hmemcpy/Paket.VisualStudio,TheAngryByrd/Paket.VisualStudio
src/Paket.VisualStudio/SolutionExplorer/GraphNodeExtensions.cs
src/Paket.VisualStudio/SolutionExplorer/GraphNodeExtensions.cs
using System; using Microsoft.VisualStudio.GraphModel; using Microsoft.VisualStudio.GraphModel.Schemas; namespace Paket.VisualStudio.SolutionExplorer { internal static class GraphNodeExtensions { internal static bool IsPaketReferencesNode(this GraphNode node) { return node.HasCateg...
using System; using Microsoft.VisualStudio.GraphModel; using Microsoft.VisualStudio.GraphModel.Schemas; namespace Paket.VisualStudio.SolutionExplorer { internal static class GraphNodeExtensions { internal static bool IsPaketReferencesNode(this GraphNode node) { return node.HasCateg...
mit
C#
488217796b218a27f954f1bf6cd9a1ec543270bc
Update type of Usage Unit
CamSoper/azure-powershell,zhencui/azure-powershell,pankajsn/azure-powershell,pankajsn/azure-powershell,krkhan/azure-powershell,AzureRT/azure-powershell,AzureAutomationTeam/azure-powershell,hungmai-msft/azure-powershell,ankurchoubeymsft/azure-powershell,shuagarw/azure-powershell,rohmano/azure-powershell,Matt-Westphal/az...
src/ResourceManager/Compute/Commands.Compute/Models/PSUsage.cs
src/ResourceManager/Compute/Commands.Compute/Models/PSUsage.cs
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
apache-2.0
C#
52b135da59bf6c3010c041144014fdeb7cd53e57
Make URL check case insensitive since it varies with iOS versions
xamarin/monotouch-samples,YOTOV-LIMITED/monotouch-samples,xamarin/monotouch-samples,iFreedive/monotouch-samples,hongnguyenpro/monotouch-samples,markradacz/monotouch-samples,YOTOV-LIMITED/monotouch-samples,davidrynn/monotouch-samples,labdogg1003/monotouch-samples,peteryule/monotouch-samples,hongnguyenpro/monotouch-sampl...
ContentControls/Screens/iPhone/Browsers/InteractiveBrowser.xib.cs
ContentControls/Screens/iPhone/Browsers/InteractiveBrowser.xib.cs
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Example_ContentControls.Screens.iPhone.Browsers { public partial class InteractiveBrowser : UIViewController { #region Constructors // The IntPtr and initWithCoder constructors are re...
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Example_ContentControls.Screens.iPhone.Browsers { public partial class InteractiveBrowser : UIViewController { #region Constructors // The IntPtr and initWithCoder constructors are re...
mit
C#
bb44b082ec08c82e28b566434cce9f939fbce057
Fix version
distantcam/Anotar,Fody/Anotar,mstyura/Anotar,modulexcite/Anotar
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("0.2.0.0")] [assembly: AssemblyFileVersion("0.2.0.0")]
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("0.1.0.0")] [assembly: AssemblyFileVersion("0.1.0.0")]
mit
C#
0acf06c6a6c4c39c60a4bde4d958e553a289b849
bump version
Fody/Freezable
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Freezable")] [assembly: AssemblyProduct("Freezable")] [assembly: AssemblyVersion("1.6.1.2")] [assembly: AssemblyFileVersion("1.6.1.2")]
using System.Reflection; [assembly: AssemblyTitle("Freezable")] [assembly: AssemblyProduct("Freezable")] [assembly: AssemblyVersion("1.6.1.1")] [assembly: AssemblyFileVersion("1.6.1.1")]
mit
C#
6fd5bb8c3f646552df8475921879ba79f4c20143
Fix up path for empty icon paths
File-New-Project/EarTrumpet
EarTrumpet/Services/IconService.cs
EarTrumpet/Services/IconService.cs
using EarTrumpet.Extensions; using EarTrumpet.Interop; using System; using System.Diagnostics; using System.Drawing; using System.IO; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; namespace EarTrumpet.Services { public sealed class IconService ...
using EarTrumpet.Extensions; using EarTrumpet.Interop; using System; using System.Diagnostics; using System.Drawing; using System.IO; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; namespace EarTrumpet.Services { public sealed class IconService ...
mit
C#
ea53cdb442eaaef68868be515f886babf3f34629
Remove redundant casting
ethanmoffat/EndlessClient
EndlessClient/Controls/CharacterControl.cs
EndlessClient/Controls/CharacterControl.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Rendering; using EOLib; using EOLib.Data.BLL; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using XNAControls; namespace Endles...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Rendering; using EOLib; using EOLib.Data.BLL; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using XNAControls; namespace Endles...
mit
C#
7a146a3f98183ce3cbd50e2d581d0c237d626996
Prepare for 1.6.0.0 release
NimaAra/EasyLogger,NimaAra/Easy.Logger
Easy.Logger/Properties/AssemblyInfo.cs
Easy.Logger/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Easy.Logger")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyVersion("1.6.0.0")] [assembly: AssemblyFileVersion("1.6.0.0")] [assembly: InternalsVisibleTo("Easy.Logger.Tests.Unit")]
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Easy.Logger")] [assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyVersion("1.5.0.0")] [assembly: AssemblyFileVersion("1.5.0.0")] [assembly: InternalsVisibleTo("Easy.Logger.Tests.Unit")]
mit
C#
866258de5229a9bb73e268440f0d1aca203da335
set assembly version to 0.4.0.1
kreeben/resin,kreeben/resin
src/AssemblyInfo.cs
src/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.4.0.1")] [assembly: AssemblyFileVersion("0.4.0.1")]
using System.Reflection; [assembly: AssemblyVersion("0.0.4.0")] [assembly: AssemblyFileVersion("0.0.4.0")]
mit
C#
b78e0c33debc9921b3485d589dbf028d98c04554
Update Hello.cs
dsakam/Hello
Project/Hello/Hello/Hello.cs
Project/Hello/Hello/Hello.cs
using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; namespace Hello { class Hello { public static void Main(string[] args) { Console.WriteLine("Hello, world."); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hello { class Hello { public static void Main(string[] args) { Console.WriteLine("Hello, world."); } } }
bsd-3-clause
C#
33fd8ee6afa2bcb13f9e6fa77a9cc32826032a96
Use Mono.Cecil instead of SRE for HarmonySharedState
pardeike/Harmony
Harmony/Internal/HarmonySharedState.cs
Harmony/Internal/HarmonySharedState.cs
using Mono.Cecil; using MonoMod.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace HarmonyLib { internal static class HarmonySharedState { const string name = "HarmonySharedState"; internal const int internalVersion = 100; internal static int actualVers...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace HarmonyLib { internal static class HarmonySharedState { const string name = "HarmonySharedState"; internal const int internalVersion = 100; internal static int actualVersion = -1; static Dictionary<MethodBa...
mit
C#
80b4d77104dd4dfcf8eb6140275163ef66b11358
update copyright year
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: AssemblyDescript...
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: AssemblyDescript...
apache-2.0
C#
6423738c38b306a5d975c1ca8bf2c8174a56e11f
Make PrintHelp virtual
antmicro/AntShell
AntShell/Commands/CommandBase.cs
AntShell/Commands/CommandBase.cs
// ******************************************************************* // // Copyright (c) 2013, Antmicro Ltd // // Authors: // * Mateusz Holenko (mholenko@antmicro.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Sof...
// ******************************************************************* // // Copyright (c) 2013, Antmicro Ltd // // Authors: // * Mateusz Holenko (mholenko@antmicro.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Sof...
apache-2.0
C#
64445d1cf5f75ed12ef29f3be70d50994a32698f
include properties collection when cloning ApiResource #3013
MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4
src/IdentityServer4/src/Extensions/ApiResourceExtensions.cs
src/IdentityServer4/src/Extensions/ApiResourceExtensions.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Collections.Generic; using System.Linq; namespace IdentityServer4.Models { internal static class ApiResourceExtensions {...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Collections.Generic; using System.Linq; namespace IdentityServer4.Models { internal static class ApiResourceExtensions {...
apache-2.0
C#
dd28bfe7baeb95531cc157ea0c065657b0f203a3
Move set-up and config code into t/c/f block - this will handle 'unhandled exeptions' that hapen outside of the OWIN pipeline.
iby-dev/Experimentation-API
src/Services/Experimentation/Experimentation.Api/Program.cs
src/Services/Experimentation/Experimentation.Api/Program.cs
using System; using System.IO; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Serilog; using Serilog.Formatting.Json; namespace Experimentation.Api { public class Program { public static void Main(string[] args) { try...
using System; using System.IO; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Serilog; using Serilog.Formatting.Json; namespace Experimentation.Api { public class Program { public static void Main(string[] args) { var...
mit
C#
3fd2e23f8993194f0d92c7ab1fb42ee082784421
Use a lifetime scope for resolution
twsouthwick/poshgit2
PoshGit2/PoshGit2/Cmdlets/DICmdlet.cs
PoshGit2/PoshGit2/Cmdlets/DICmdlet.cs
using Autofac; using System; using System.Management.Automation; namespace PoshGit2.Cmdlets { public class DICmdlet : PSCmdlet, IDisposable { private readonly ILifetimeScope _lifetimeScope; public DICmdlet() { _lifetimeScope = PoshGit2Container.Instance.BeginLi...
using Autofac; using System.Management.Automation; namespace PoshGit2.Cmdlets { public class DICmdlet : Cmdlet { protected override void BeginProcessing() { base.BeginProcessing(); PoshGit2Container.Instance.InjectUnsetProperties(this); } } } ...
mit
C#
592aaed45ba35313d4240bbf0af529af4184ffe9
Add missing delay
blackpanther989/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,KlappPc/ArchiSteamFarm,i3at/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,i3at/ArchiSteamFarm,KlappPc/ArchiSteamFarm
ArchiSteamFarm/Events.cs
ArchiSteamFarm/Events.cs
using System.Linq; using System.Threading.Tasks; using SteamKit2; namespace ArchiSteamFarm { internal static class Events { internal static void OnStateUpdated(Bot bot, SteamFriends.PersonaStateCallback callback) { } internal static async void OnBotShutdown() { if (Program.IsWCFRunning || Bot.Bots.Values.A...
using System.Linq; using SteamKit2; namespace ArchiSteamFarm { internal static class Events { internal static void OnStateUpdated(Bot bot, SteamFriends.PersonaStateCallback callback) { } internal static void OnBotShutdown() { if (Program.IsWCFRunning || Bot.Bots.Values.Any(bot => bot.KeepRunning)) { re...
apache-2.0
C#
09c80572d0c14ec91694e50f2da5e739952dfd91
add missing cookie signout
leastprivilege/AspNetCoreSecuritySamples,leastprivilege/AspNetCoreSecuritySamples,leastprivilege/AspNetCoreSecuritySamples
BlazorServer/BlazorServer/Pages/Logout.cshtml.cs
BlazorServer/BlazorServer/Pages/Logout.cshtml.cs
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Mvc.RazorPages; using System.Threading.Tasks; namespace BlazorServer { public class LogoutModel : PageModel { public async Task OnGet() { if (HttpContext.User.Identity.IsAuthenticated) { ...
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Mvc.RazorPages; using System.Threading.Tasks; namespace BlazorServer { public class LogoutModel : PageModel { public async Task OnGet() { if (HttpContext.User.Identity.IsAuthenticated) { ...
apache-2.0
C#
656511c85d70a79e233a34bee54bda085b828d34
add version comment
yasokada/unity-150831-settingScreen
Assets/RequesterScript.cs
Assets/RequesterScript.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; /* * v0.1 2015/08/31 * - set and read Input Field */ public class RequesterScript : MonoBehaviour { public Text text_ipadr; void Start () { } void Update () { text_ipadr.text = ResponderScript.str_ipadr; } }
using UnityEngine; using System.Collections; using UnityEngine.UI; public class RequesterScript : MonoBehaviour { public Text text_ipadr; void Start () { } void Update () { text_ipadr.text = ResponderScript.str_ipadr; } }
mit
C#
cd2c1f15b29565dd62f81fa7b6d5954a45f638b5
Add unitTests
vladimirbahmetyev/Spbu-Homework-C-
1st_course/2nd_sem/HomeWork_2/Hw2_2/Hw2_2Tests/ListTests.cs
1st_course/2nd_sem/HomeWork_2/Hw2_2/Hw2_2Tests/ListTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using Hw2_2; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hw2_2.Tests { [TestClass()] public class ListTests { private List list; [TestInitialize] p...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Hw2_2; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hw2_2.Tests { [TestClass()] public class ListTests { [TestMethod()] public void AddValueToPositionT...
apache-2.0
C#
051dcbbab876e48374352595e180913a95dc821f
Bump version to 0.10.9
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#
197b9715b616cd7278820f37da1066c50b7b8491
Bump version to 0.13.2
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#
e772cb20b9f96080b3cbdf302e210e8ecfa474f6
Fix controller visibility
gregmac/NServiceMVC,gregmac/NServiceMVC,ManuelRin/NServiceMVC,ManuelRin/NServiceMVC,gregmac/NServiceMVC
NServiceMVC/Metadata/MetadataController.cs
NServiceMVC/Metadata/MetadataController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; namespace NServiceMVC.Metadata { public class MetadataController : Controller { public ActionResult Index() { return View("GenericObject"); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; namespace NServiceMVC.Metadata { class MetadataController : Controller { public ActionResult Index() { return View("GenericObject"); } } }
mit
C#
2bba10653e1c443ac0a4f3512e833f37dd15307a
Fix loop condition on Deserialize-Tilemap.
Prof9/PixelPet
PixelPet/Commands/DeserializeTilemapCmd.cs
PixelPet/Commands/DeserializeTilemapCmd.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PixelPet.Commands { internal class DeserializeTilemapCmd : CliCommand { public DeserializeTilemapCmd() : base("Deserialize-Tilemap") { } public override void Run(Workbench workbench, Cli cli) { cli.Log("Deseria...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PixelPet.Commands { internal class DeserializeTilemapCmd : CliCommand { public DeserializeTilemapCmd() : base("Deserialize-Tilemap") { } public override void Run(Workbench workbench, Cli cli) { cli.Log("Deseria...
mit
C#
cb6f854adcc232270acda9bedf2b9523fea2c508
Switch ThreadSafeRandom from lock to ThreadLocal<Random> (#2432)
ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE
Source/ACE.Common/ThreadSafeRandom.cs
Source/ACE.Common/ThreadSafeRandom.cs
using System; using System.Threading; namespace ACE.Common { // important class, ensure unit tests pass for this // todo: implement exactly the way AC handles it.. which we'll never know unless we get original source code public static class ThreadSafeRandom { static readonly ThreadLocal<Random...
using System; namespace ACE.Common { // important class, ensure unit tests pass for this // todo: implement exactly the way AC handles it.. which we'll never know unless we get original source code public static class ThreadSafeRandom { private static readonly object randomMutex = new object();...
agpl-3.0
C#
8adccef72dfdf7d34834b4696dbc9b125a3c6374
test public class
CanadianBeaver/DataViewExtenders
Source/Forms/BitMaskCheckedListBox.cs
Source/Forms/BitMaskCheckedListBox.cs
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace CBComponents.Forms { [ToolboxBitmap(typeof(CheckedListBox))] public sealed class BitMaskCheckedListBox : CheckedListBox { public BitMaskCheckedListBox() { this.CheckOnClick = true; this.Ite...
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace CBComponents.Forms { [ToolboxBitmap(typeof(CheckedListBox))] internal sealed class BitMaskCheckedListBox : CheckedListBox { public BitMaskCheckedListBox() { this.CheckOnClick = true; this.I...
mit
C#
32224f36e7db9e19cfbae9b94abd57aeb6030c00
Fix disguisting folder named "Data"
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Helpers/RuntimeParams.cs
WalletWasabi/Helpers/RuntimeParams.cs
using System; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using Nito.AsyncEx; using WalletWasabi.Logging; namespace WalletWasabi.Helpers { public class RuntimeParams { [JsonProperty(PropertyName = "NetworkNodeTimeout")] public int NetworkNodeT...
using System; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using Nito.AsyncEx; using WalletWasabi.Logging; namespace WalletWasabi.Helpers { public class RuntimeParams { [JsonProperty(PropertyName = "NetworkNodeTimeout")] public int NetworkNodeT...
mit
C#
5e5c8d2edf9bc8da12d3d50dfd8bf12d6e05bbb8
fix Upgrade_20221108_DotNet7
signumsoftware/framework,signumsoftware/framework
Signum.Upgrade/Upgrades/Upgrade_20221108_DotNet7.cs
Signum.Upgrade/Upgrades/Upgrade_20221108_DotNet7.cs
using Signum.Utilities; using System.Collections.Generic; namespace Signum.Upgrade.Upgrades; class Upgrade_20221108_DotNet7 : CodeUpgradeBase { public override string Description => "Updates to .Net 7"; public override void Execute(UpgradeContext uctx) { uctx.ForeachCodeFile(@"*.csproj", file => ...
using Signum.Utilities; using System.Collections.Generic; namespace Signum.Upgrade.Upgrades; class Upgrade_20221108_DotNet7 : CodeUpgradeBase { public override string Description => "Updates to .Net 7"; public override void Execute(UpgradeContext uctx) { uctx.ForeachCodeFile(@"*.csproj", file => ...
mit
C#
708b0f06febbe3bc32f9603d9ffe34392a1e7b72
Add TODO to remove extracted file after translating it
jeroen-corsius/smart-meter
SmartMeter.Business/Translator/TranslatorService.cs
SmartMeter.Business/Translator/TranslatorService.cs
using System; using System.IO; using Newtonsoft.Json; using SmartMeter.Business.Extractor; using SmartMeter.Business.Interface; using SmartMeter.Business.Interface.Extractor; using SmartMeter.Business.Interface.Translator; namespace SmartMeter.Business.Translator { public class TranslatorService { pub...
using System; using System.IO; using Newtonsoft.Json; using SmartMeter.Business.Extractor; using SmartMeter.Business.Interface; using SmartMeter.Business.Interface.Extractor; using SmartMeter.Business.Interface.Translator; namespace SmartMeter.Business.Translator { public class TranslatorService { pub...
mit
C#
117b978af499264164dceb0d3aaac6a81ef039b5
fix comment
martinlindhe/Punku
punku/Extensions/CharExtensions.cs
punku/Extensions/CharExtensions.cs
using System; using System.Text; public static class CharExtensions { /** * Returns a 4-letter long hex value representation of a UTF-16 code unit */ public static string ToHexString (this char c) { int value = Convert.ToInt32 (c); return value.ToString ("x4"); } }
using System; using System.Text; public static class CharExtensions { /** * Returns a 4-letter long hex value representation of char (UTF-16) */ public static string ToHexString (this char c) { int value = Convert.ToInt32 (c); return value.ToString ("x4"); } }
mit
C#
e5279c5e9135dd544fad5d978ed9c578910b5794
Bump to 2.4.1
kcjuntunen/ArchivePDF
ArchivePDF/Properties/AssemblyInfo.cs
ArchivePDF/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("Ar...
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("Ar...
bsd-3-clause
C#
b29acec245a9b2c33f2382706216f7ce598fe037
Fix update
shortgiraffe4/MomWorld,shortgiraffe4/MomWorld,shortgiraffe4/MomWorld
Articles.Entities/NineMonthArticle.cs
Articles.Entities/NineMonthArticle.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MomWorld.Entities { public class NineMonthArticle { [Key] [MaxLength(128)] public string Id { get; set...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MomWorld.Entities { public class NineMonthArticle { [Key] [MaxLength(128)] public string Id { get; set; } ...
mit
C#
4b9981d4a06aa22ca7bb1c94eb7e5efe6dbfdf61
remove tabs from file
XamarinGarage/GiTracker
GiTracker/Bootstraper.cs
GiTracker/Bootstraper.cs
using GiTracker.Helpers; using GiTracker.Services.Api; using GiTracker.Services.Database; using GiTracker.Services.Dialogs; using GiTracker.Services.Issues; using GiTracker.Services.Rest; using GiTracker.ViewModels; using GiTracker.Views; using Microsoft.Practices.Unity; using Prism.Unity; using Xamarin.Forms; using G...
using GiTracker.Helpers; using GiTracker.Services.Api; using GiTracker.Services.Database; using GiTracker.Services.Dialogs; using GiTracker.Services.Issues; using GiTracker.Services.Rest; using GiTracker.ViewModels; using GiTracker.Views; using Microsoft.Practices.Unity; using Prism.Unity; using Xamarin.Forms; using G...
apache-2.0
C#
59759fa069ab6b849c59afc9e080bab53955b4ab
Update the TryGetJointPose docs to accurately describe the set of inputs it can take.
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs
Assets/MixedRealityToolkit/Providers/Hands/HandJointUtils.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; namespace Microsoft.MixedReality.Toolkit.Input { public static class HandJointUtils { /// <summary> ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; namespace Microsoft.MixedReality.Toolkit.Input { public static class HandJointUtils { /// <summary> ...
mit
C#
96a0a831a89618dbdfbe6205c83008a5eaf2a925
Update UnhidingRowsAndColumns.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-c...
Examples/CSharp/RowsColumns/Hiding/UnhidingRowsAndColumns.cs
Examples/CSharp/RowsColumns/Hiding/UnhidingRowsAndColumns.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Hiding { public class UnhidingRowsAndColumns { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Example...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Hiding { public class UnhidingRowsAndColumns { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syste...
mit
C#
bdcf30b5d15df9639ecb607d58019e99f7689d56
Update the Empty module template.
jtm789/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,Kooboo/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,andyshao/CMS,jtm789/CMS,lingxyd/CMS,andyshao/CMS,Kooboo/CMS,techwareone/Kooboo-CMS,Kooboo/CMS,jtm789/CMS,andyshao/CMS
Kooboo.CMS/Kooboo.CMS.ModuleArea/Areas/Empty/ModuleAction.cs
Kooboo.CMS/Kooboo.CMS.ModuleArea/Areas/Empty/ModuleAction.cs
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using Kooboo.CMS.Sites.Extension.ModuleArea; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Kooboo.CMS....
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using Kooboo.CMS.Sites.Extension.ModuleArea; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Kooboo.CMS....
bsd-3-clause
C#
6d9e99928954eb0f9a9859807a06b1e51044e7a0
Fix copyright year
danielchalmers/DesktopWidgets
DesktopWidgets/Properties/AssemblyInfo.cs
DesktopWidgets/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("DesktopWidgets")] ...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("DesktopWidgets")] ...
apache-2.0
C#
3be82abe250bfc8139ff7d9cbe4a50d394690896
Fix param name.
jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/ma...
test/TestApp/FileSystemTests.cs
test/TestApp/FileSystemTests.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
mit
C#
188156e4900da193726b4d3797d8298641e8e993
Add using for Template class.
vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb
ExoWeb.UnitTests.Server/ExoWebTest.cs
ExoWeb.UnitTests.Server/ExoWebTest.cs
using System; using System.IO; using System.Linq; using ExoWeb.Templates.MicrosoftAjax; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ExoWeb.UnitTests.Server { /// <summary> ///This is a test class for ExoWebTest and is intended ///to contain all ExoWebTest Unit Tests ///</summary> [TestClass()] ...
using ExoWeb; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using ExoWeb.Templates; using System.IO; using System.Linq; namespace ExoWeb.UnitTests.Server { /// <summary> ///This is a test class for ExoWebTest and is intended ///to contain all ExoWebTest Unit Te...
mit
C#
5eb94f7e68be77e78b836f194daaa91e6e32d993
Fix loader pushing children screens before it is displayed itself
ZLima12/osu,peppy/osu,Drezi126/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,naoey/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,EVAST9919/osu,Nabile-Rahmani/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,naoey/osu,ZLima12/osu,NeoAdon...
osu.Game/Screens/Loader.cs
osu.Game/Screens/Loader.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Screens.Menu; using OpenTK; using osu.Framework.Screens; namespace osu.Game.Scree...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Screens.Menu; using OpenTK; namespace osu.Game.Screens { public class Loader...
mit
C#
46340d634f49f6236f83ea0bd0bcb3dec55427b7
Change tab to space4
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey/ViewModels/MainPageViewModel.cs
client/BlueMonkey/BlueMonkey/ViewModels/MainPageViewModel.cs
using System; using Prism.Mvvm; using Prism.Navigation; using Prism.Services; using Reactive.Bindings; namespace BlueMonkey.ViewModels { /// <summary> /// ViewModel for MainPage. /// </summary> public class MainPageViewModel : BindableBase { /// <summary> /// NavigationService ...
using System; using Prism.Mvvm; using Prism.Navigation; using Prism.Services; using Reactive.Bindings; namespace BlueMonkey.ViewModels { /// <summary> /// ViewModel for MainPage. /// </summary> public class MainPageViewModel : BindableBase { /// <summary> /// NavigationService ...
mit
C#
5fcade4bf84e0d5b2f4f7c0c805e228f3b04e917
Fix for anonymous user client.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/src/Squidex.Domain.Apps.Entities/Context.cs
backend/src/Squidex.Domain.Apps.Entities/Context.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
1745d2c5cb1c36617584fd377e5d3da6287b6e6f
Include MinimumSecurityLevel in CompileJob.ToApi()
tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Host/Models/CompileJob.cs
src/Tgstation.Server.Host/Models/CompileJob.cs
using System; using System.ComponentModel.DataAnnotations; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class CompileJob : Api.Models.Internal.CompileJob { /// <summary> /// See <see cref="Api.Models.CompileJob.Job"/> /// </summary> public Job Job { get; set; } /// <summary>...
using System; using System.ComponentModel.DataAnnotations; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class CompileJob : Api.Models.Internal.CompileJob { /// <summary> /// See <see cref="Api.Models.CompileJob.Job"/> /// </summary> public Job Job { get; set; } /// <summary>...
agpl-3.0
C#
361943bbaaf91e1dd0c22254afa24742ccc8e006
remove attr
autumn009/TanoCSharpSamples
chap36/InitOnlyProperty/InitOnlyProperty/Program.cs
chap36/InitOnlyProperty/InitOnlyProperty/Program.cs
using System; class X { public int MyProperty1 { get; set; } public int MyProperty2 { get; init; } } class Program { static void Main() { var x = new X() { MyProperty1 = 123, MyProperty2 = 456 }; x.MyProperty1 = 0; //x.MyProperty2 = 0; // ←できない Console.WriteLine($"{...
using System; // この定義は将来のバージョンで不要になる見込みである // エラーになる場合は削除してみると良い namespace System.Runtime.CompilerServices { internal class IsExternalInit : Attribute { } } class X { public int MyProperty1 { get; set; } public int MyProperty2 { get; init; } } class Program { static void Main() { var x =...
mit
C#
2767e0389ef089cfbb6dae46a2fde75afe8522d7
teste pokemon alterado
robertorp/TesteAppVeyor
TesteAppVeyorWpf/Teste/Coisas.cs
TesteAppVeyorWpf/Teste/Coisas.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Teste { [TestClass] public class Coisas { [TestMethod] public void Soma() { Assert.AreEqual(1, 1); } [TestMethod] public void Pokemon() { Assert.AreEqual("t", "t")...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Teste { [TestClass] public class Coisas { [TestMethod] public void Soma() { Assert.AreEqual(1, 1); } [TestMethod] public void Pokemon() { Assert.AreEqual("t", "t")...
mit
C#
34429a02e7fac260f7c247d5b28b6744cefff5ec
Use avatar_url from user first instead of a.ppy.sh in DrawableAvatar
smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/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. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; using osu.Game.Online.API; nam...
// 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.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; namespace osu.Game.Users.Drawa...
mit
C#
4aeb88c9cdcb0c6dfc3d70acd9a636f0ab517090
Increase version
cap9/EEPhysics,Tunous/EEPhysics
EEPhysics/Properties/AssemblyInfo.cs
EEPhysics/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("EE...
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("EE...
mit
C#
91a88288348014b8685d2764f532e73a4b1f2e4e
Add GetBusinessRulesResults override
ahanusa/facile.net,peasy/Peasy.NET,peasy/Samples,ahanusa/Peasy.NET,peasy/Samples,peasy/Samples
Facile.Core/Extensions/IRuleExtensions.cs
Facile.Core/Extensions/IRuleExtensions.cs
using Facile.Core.Extensions; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Facile.Core { public static class IRuleExtensions { public static IEnumerable<ValidationResult> GetBusinessRulesResults(this IEnumerable<IRule> businessRules, strin...
using Facile.Core.Extensions; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace Facile.Core { public static class IRuleExtensions { public static IEnumerable<ValidationResult> GetBusinessRulesResults(this IEnumerable<IRule> businessRules, strin...
mit
C#
14507ee2260d423b05c21dd3861860716cbe002b
Move func added
Rotvig/AI-Robotics-Project
AItest/AItest/Program.cs
AItest/AItest/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Lego.Ev3.Desktop; using Lego.Ev3.Core; namespace AItest { class Program { static void Main(string[] args) { var brick = new Brick(new BluetoothCommunication("CO...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Lego.Ev3.Desktop; using Lego.Ev3.Core; namespace AItest { class Program { static void Main(string[] args) { var brick = new Brick(new BluetoothCommunication("CO...
mit
C#
090a57f7f62636d8a2ecba2ae2b7b3bd5c7393a7
bump revision
FacturAPI/facturapi-net
facturapi-net/Properties/AssemblyInfo.cs
facturapi-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("Fac...
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("Fac...
mit
C#
7343eba56bb4b3849dedc9f744cd30169a1ff5eb
Add test
louthy/language-ext,StanJav/language-ext,StefanBertels/language-ext
LanguageExt.Tests/EitherAsyncTests.cs
LanguageExt.Tests/EitherAsyncTests.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using static LanguageExt.Prelude; namespace LanguageExt.Tests { using Xunit; public class EitherAsyncTests { [Fact] public async Task ToAsyncExtensionLeftTest() { var eithe...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace LanguageExt.Tests { class EitherAsyncTests { } }
mit
C#
595a3ca00ebe65548f65c126a62c6c4487ebdaff
Make RepositoryInformation mockable
jamill/libgit2sharp,nulltoken/libgit2sharp,AMSadek/libgit2sharp,sushihangover/libgit2sharp,vorou/libgit2sharp,jeffhostetler/public_libgit2sharp,jamill/libgit2sharp,sushihangover/libgit2sharp,oliver-feng/libgit2sharp,mono/libgit2sharp,vivekpradhanC/libgit2sharp,oliver-feng/libgit2sharp,xoofx/libgit2sharp,vivekpradhanC/l...
LibGit2Sharp/RepositoryInformation.cs
LibGit2Sharp/RepositoryInformation.cs
using LibGit2Sharp.Core; namespace LibGit2Sharp { /// <summary> /// Provides high level information about a repository. /// </summary> public class RepositoryInformation { private readonly Repository repo; /// <summary> /// Needed for mocking purposes. /// </su...
using LibGit2Sharp.Core; namespace LibGit2Sharp { /// <summary> /// Provides high level information about a repository. /// </summary> public class RepositoryInformation { private readonly Repository repo; internal RepositoryInformation(Repository repo, bool isBare) { ...
mit
C#
d37abb7d668a131ae28a505c186cf5b20ee4f6b4
Update copyrights
segrived/NSISInfoWriter
NSISInfoWriter/Properties/AssemblyInfo.cs
NSISInfoWriter/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NSISInfoWriter")] [assembly: AssemblyDescription("NSIS Script Writer")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Babaev Evgeniy")] [assembly: AssemblyProduct("NSISInfoWriter")] [assembly: Assembly...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NSISInfoWriter")] [assembly: AssemblyDescription("NSIS Script Writer")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("NSISInfoWriter")] [assembly: AssemblyCopyright("Cop...
mit
C#
7543eeb0f45cc95a75008f3b08f2d5910777a86c
Add more methods to TestUtils and fix cleanup code not running
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
tests/TestUtils.cs
tests/TestUtils.cs
using System; using System.IO; using System.Collections.Generic; using System.Text; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTests{ public static class TestUtils{ private static readonly HashSet<string> CreatedFiles = new HashSet<string>(); public stati...
using System; using System.IO; using System.Collections.Generic; using System.Text; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTests{ public static class TestUtils{ private static readonly HashSet<string> CreatedFiles = new HashSet<string>(); public stati...
mit
C#
b60e3aadcdd4908f6c56af28f32cbe146f316ae3
Edit HotelModel to change properties
erfannoury/Simorgh,erfannoury/Simorgh,erfannoury/Simorgh,erfannoury/Simorgh
Simorgh/Simorgh/Models/HotelModels.cs
Simorgh/Simorgh/Models/HotelModels.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; using Microsoft.Ajax.Utilities; namespace Simorgh.Models { public class Hotel { [Key, DatabaseGeneratedAttribute(DatabaseGeneratedO...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; namespace Simorgh.Models { public class Hotel { [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [Ran...
mit
C#
d1732b6c7e7400c86726c31ceea8d1efeaaf1c36
Fix detecting mono runtime when using Xamarin.Mac linker by testing for additional type
l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto
Source/Eto/OperatingSystemPlatform.cs
Source/Eto/OperatingSystemPlatform.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace Eto { /// <summary> /// Operating system platform information /// </summary> /// <remarks> /// Access this information from <see cref="EtoEnvironment.Platform"/> /// </remarks> p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace Eto { /// <summary> /// Operating system platform information /// </summary> /// <remarks> /// Access this information from <see cref="EtoEnvironment.Platform"/> /// </remarks> p...
bsd-3-clause
C#
f9c0f4ba30c4f77ac08edc508506273408131665
Set version to 1.0.0.0
CamTechConsultants/TaskRunner
TaskRunner/Properties/AssemblyInfo.cs
TaskRunner/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: AssemblyTit...
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: AssemblyTit...
mit
C#
5596322e92fbadd12047e6c86210db4ba6b00d4e
Add debugging option Channel.OverrideLimitsOnJoints
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
Viewer/src/figure/channels/Channel.cs
Viewer/src/figure/channels/Channel.cs
using System.Collections.Generic; public class Channel { private const bool OverrideLimitsOnJoints = false; //for debugging purposes public string Name {get; } public int Index {get; } public Channel ParentChannel {get;} public double InitialValue {get;} public double Min {get;} public double Max {get;} publ...
using System.Collections.Generic; public class Channel { public string Name {get; } public int Index {get; } public Channel ParentChannel {get;} public double InitialValue {get;} public double Min {get;} public double Max {get;} public bool Clamped {get;} public bool Visible {get;} public string Path {get;} ...
mit
C#
7cb1b588449f136ee52905c753ee8a992bf8390b
update bootstrap cdn
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Dashboard/App_Start/BundleConfig.cs
WebAPI.Dashboard/App_Start/BundleConfig.cs
using System.Web.Optimization; namespace WebAPI.Dashboard { public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { bundles.UseCdn = true; bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-1.1...
using System.Web.Optimization; namespace WebAPI.Dashboard { public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { bundles.UseCdn = true; bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-1.1...
mit
C#
9b71adface680266efdaafd94bc538a77e795996
fix path slash
selfsame/procadia2016
Assets/game/GameUtils.cs
Assets/game/GameUtils.cs
using UnityEngine; public static class GameUtils { public static void PruneMiddle(GameObject container, int x, int y) { OverlapWFC WFC = container.GetComponent<OverlapWFC>(); int width = WFC.rendering.GetLength(0); int height = WFC.rendering.GetLength(1); for (int i = ...
using UnityEngine; public static class GameUtils { public static void PruneMiddle(GameObject container, int x, int y) { OverlapWFC WFC = container.GetComponent<OverlapWFC>(); int width = WFC.rendering.GetLength(0); int height = WFC.rendering.GetLength(1); for (int i = ...
mit
C#
15c460b114118d16831877841aa0beb8dbc1dd3d
remove last bit of csv token-protected export
kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Models/ApisIndexViewModel.cs
Joinrpg/Models/ApisIndexViewModel.cs
using System.Linq; using JoinRpg.DataModel; using JoinRpg.Helpers; namespace JoinRpg.Web.Models { public class ApisIndexViewModel { public int ProjectId { get; } public int RootGroupId { get; } public ApisIndexViewModel(Project project, int currentUserId) { ProjectId = project.ProjectId; ...
using System.Linq; using JoinRpg.DataModel; using JoinRpg.Helpers; namespace JoinRpg.Web.Models { public class ApisIndexViewModel { public int ProjectId { get; } public int RootGroupId { get; } public string CurrentUserToken { get; } public ApisIndexViewModel(Project project, int currentUserId) ...
mit
C#
d9ae53f4ed36f6dd9917fda82e9d67b7acbc9fe6
Bump dev version to v0.11
hifi/monodevelop-justenoughvi,fadookie/monodevelop-justenoughvi
JustEnoughVi/Properties/AddinInfo.cs
JustEnoughVi/Properties/AddinInfo.cs
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin( "JustEnoughVi", Namespace = "JustEnoughVi", Version = "0.11" )] [assembly: AddinName("Just Enough Vi")] [assembly: AddinCategory("IDE extensions")] [assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")] [a...
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin( "JustEnoughVi", Namespace = "JustEnoughVi", Version = "0.10" )] [assembly: AddinName("Just Enough Vi")] [assembly: AddinCategory("IDE extensions")] [assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")] [a...
mit
C#
1ce868e591f157d5ff69661b6064b74ba4c99168
Fix up LogViewer so that it scrolls on new items
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework.Wpf/ScrollOnNewItem.cs
SolidworksAddinFramework.Wpf/ScrollOnNewItem.cs
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Interactivity; namespace SolidworksAddinFramework.Wpf { /...
mit
C#
3f4e519255cd98b60c3f343debc7b4e197621384
Bump version to 0.13.0
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#