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
da1aeb816695414c669ebb0993ea62a2384ce7f5
Add support for invert condition (unless) to ScriptIfStatement
lunet-io/scriban,textamina/scriban
src/Scriban/Syntax/ScriptIfStatement.cs
src/Scriban/Syntax/ScriptIfStatement.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. namespace Scriban.Syntax { public abstract class ScriptConditionStatement : ScriptStatement { public ScriptConditionStatement El...
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. namespace Scriban.Syntax { public abstract class ScriptConditionStatement : ScriptStatement { public ScriptConditionStatement El...
bsd-2-clause
C#
f7ae856b9d8de51edc393035b1c30b6563f53068
Build doesn't like new C# featurs.
mwhelan/Specify
src/Specify/Configuration/TestRunner.cs
src/Specify/Configuration/TestRunner.cs
using System.Linq; namespace Specify.Configuration { internal class TestRunner { private readonly ITestEngine _testEngine; public TestRunner(SpecifyBootstrapper configuration, IApplicationContainer applicationContainer, ITestEngine testEngine) { Configuration = ...
using System.Linq; namespace Specify.Configuration { internal class TestRunner { private readonly ITestEngine _testEngine; public TestRunner(SpecifyBootstrapper configuration, IApplicationContainer applicationContainer, ITestEngine testEngine) { Configuration = ...
mit
C#
be0ec0f84cdf4a0a04d302cb52af60810927f3ad
add .Are() overload for ienumerable
Pondidum/Finite,Pondidum/Finite
Finite/States.cs
Finite/States.cs
using System; using System.Collections.Generic; using System.Linq; using Finite.Configurations; using Finite.Infrastructure; namespace Finite { public class States<TSwitches> { private readonly List<Type> _types; private readonly IDictionary<Type, State<TSwitches>> _states; public States() { _types = ne...
using System; using System.Collections.Generic; using System.Linq; using Finite.Configurations; using Finite.Infrastructure; namespace Finite { public class States<TSwitches> { private readonly List<Type> _types; private readonly IDictionary<Type, State<TSwitches>> _states; public States() { _types = ne...
lgpl-2.1
C#
b5faca60738ec0f5e1f69605d23e1b05825acc78
Support responses for collectors, and commonise
bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3
SurveyMonkey/SurveyMonkeyApi.Responses.cs
SurveyMonkey/SurveyMonkeyApi.Responses.cs
using System; using System.Collections.Generic; using Newtonsoft.Json.Linq; using SurveyMonkey.Containers; using SurveyMonkey.RequestSettings; namespace SurveyMonkey { public partial class SurveyMonkeyApi { private enum SurveyOrCollector { Survey, Collector } ...
using System; using System.Collections.Generic; using Newtonsoft.Json.Linq; using SurveyMonkey.Containers; using SurveyMonkey.RequestSettings; namespace SurveyMonkey { public partial class SurveyMonkeyApi { public List<Response> GetResponseOverviews(int id) { string endPoint = Stri...
mit
C#
2e56571dbca02f837f3be06a81c3c28344f934f7
Bump to 0.2.1.
aldentea/SweetMutus
SweetMutusData/Properties/AssemblyInfo.cs
SweetMutusData/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("SweetMutusData")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("SweetMutusData")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
mit
C#
4b50b40583ab6aba26c5c86443312d25a68b8fe0
Add a failing test for the MultipleDatabase issue originally reported by ANT1.
castleproject/Castle.Facilities.Wcf-READONLY,castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject/Castle.Facilities.Wcf-READONLY,carcer/Castle.Components.Validator,codereflection/Castle.Components.Scheduler,castleproject/castle-READONLY-SVN-dump,castleproject/castle-READONLY-SVN-dump,castle...
ActiveRecord/Castle.ActiveRecord.Tests/MultipleDatabasesTestCase.cs
ActiveRecord/Castle.ActiveRecord.Tests/MultipleDatabasesTestCase.cs
// Copyright 2004-2007 Castle Project - http://www.castleproject.org/ // // 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 ...
// Copyright 2004-2007 Castle Project - http://www.castleproject.org/ // // 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 ...
apache-2.0
C#
384d5c110eb8268ade4f18fd910eb03dcc5bcd48
Move AudioSource to observable also and add field attributes
jnissin/Air-Hockey,jnissin/Air-Hockey
Assets/Scripts/PuckController.cs
Assets/Scripts/PuckController.cs
using UnityEngine; using System.Collections; using UniRx; using UniRx.Triggers; public class PuckController : MonoBehaviour { [SerializeField] private GameObject _trail = null; [SerializeField] private AudioSource _audioSource = null; [SerializeField] private Rigidbody2D _rigidbody = null; public Audio...
using UnityEngine; using System.Collections; using UniRx; using UniRx.Triggers; public class PuckController : MonoBehaviour { [SerializeField] private GameObject _trail = null; private AudioSource _audioSource = null; private Rigidbody2D _rigidbody = null; public AudioSource AudioSource { get { retu...
mit
C#
916a9be3469d51c98c296bd04d81b42144f8e739
Add connection pruning test (currently just fails)
madelson/DistributedLock
DistributedLock.Tests/Tests/Postgres/PostgresDistributedLockTest.cs
DistributedLock.Tests/Tests/Postgres/PostgresDistributedLockTest.cs
using Medallion.Threading.Postgres; using Microsoft.Data.SqlClient; using Npgsql; using NUnit.Framework; using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Medallion.Threading.Tests.Tests.Postg...
using Medallion.Threading.Postgres; using Microsoft.Data.SqlClient; using Npgsql; using NUnit.Framework; using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Medallion.Threading.Tests.Tests.Postg...
mit
C#
3b208e88b1ca744360736dcd2a407d5751a890e4
Fix DisableEvent in GTK Expander Backend
TheBrainTech/xwt,hamekoz/xwt,cra0zy/xwt,residuum/xwt,mono/xwt,akrisiun/xwt,antmicro/xwt,mminns/xwt,iainx/xwt,steffenWi/xwt,lytico/xwt,sevoku/xwt,hwthomas/xwt,mminns/xwt,directhex/xwt
Xwt.Gtk/Xwt.GtkBackend/ExpanderBackend.cs
Xwt.Gtk/Xwt.GtkBackend/ExpanderBackend.cs
using System; using Xwt; using Xwt.Backends; namespace Xwt.GtkBackend { public class ExpanderBackend : WidgetBackend, IExpanderBackend { public ExpanderBackend () { Widget = new Gtk.Expander (string.Empty); Widget.Show (); } protected new Gtk.Expander Widget { get { return (Gtk.Expander)base.Widg...
using System; using Xwt; using Xwt.Backends; namespace Xwt.GtkBackend { public class ExpanderBackend : WidgetBackend, IExpanderBackend { public ExpanderBackend () { Widget = new Gtk.Expander (string.Empty); Widget.Show (); } protected new Gtk.Expander Widget { get { return (Gtk.Expander)base.Widg...
mit
C#
d082031864be01b9dfa1777f7573daa6b9643c73
Fix encodig DataProviderInfoStub to UTF-8
InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform
InfinniPlatform.Reporting.Tests/DataSources/DataProviderInfoStub.cs
InfinniPlatform.Reporting.Tests/DataSources/DataProviderInfoStub.cs
using InfinniPlatform.FastReport.Templates.Data; namespace InfinniPlatform.Reporting.Tests.DataSources { internal sealed class DataProviderInfoStub : IDataProviderInfo { } }
using InfinniPlatform.FastReport.Templates.Data; namespace InfinniPlatform.Reporting.Tests.DataSources { internal sealed class DataProviderInfoStub : IDataProviderInfo { } }
agpl-3.0
C#
2f3dd81b37cc1c8397f70d08651439344c2b480f
test update
Ar3sDevelopment/UnitOfWork.NET.EntityFramework
UnitOfWork.NET.EntityFramework.NUnit/Repositories/UserRepository.cs
UnitOfWork.NET.EntityFramework.NUnit/Repositories/UserRepository.cs
using System; using System.Linq; using System.Collections.Generic; using UnitOfWork.NET.EntityFramework.Classes; using UnitOfWork.NET.EntityFramework.NUnit.Data.Models; using UnitOfWork.NET.EntityFramework.NUnit.DTO; using UnitOfWork.NET.Interfaces; using System.Linq.Dynamic; namespace UnitOfWork.NET.EntityFramework....
using System; using System.Collections.Generic; using UnitOfWork.NET.EntityFramework.Classes; using UnitOfWork.NET.EntityFramework.NUnit.Data.Models; using UnitOfWork.NET.EntityFramework.NUnit.DTO; using UnitOfWork.NET.Interfaces; namespace UnitOfWork.NET.EntityFramework.NUnit.Repositories { public class UserRepo...
mit
C#
ad10bcb5c05a90b2ee5496a478bf17b434c4ee94
Replace Courier New dependency
GetTabster/Tabster
Plugins/FileTypes/PdfFile/PdfFileExporter.cs
Plugins/FileTypes/PdfFile/PdfFileExporter.cs
#region using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; using Tabster.Core.Types; using Tabster.Data; using Tabster.Data.Processing; using Version = System.Version; #endregion namespace PdfFile { public class PdfFileExporter : ITablatureFileExporter { public PdfFil...
#region using System; using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; using Tabster.Core.Types; using Tabster.Data; using Tabster.Data.Processing; using Version = System.Version; #endregion namespace PdfFile { public class PdfFileExporter : ITablatureFileExporter { ...
apache-2.0
C#
ba20e689f46c311cac2a6b93581772fa6ee8b1cc
Fix DateTimeFormatInfoGetInstance.GetInstance test
wtgodbe/corefx,parjong/corefx,alexperovich/corefx,Petermarcu/corefx,parjong/corefx,zhenlan/corefx,DnlHarvey/corefx,mazong1123/corefx,axelheer/corefx,rjxby/corefx,Jiayili1/corefx,shimingsg/corefx,dhoehna/corefx,shimingsg/corefx,dhoehna/corefx,ptoonen/corefx,dotnet-bot/corefx,zhenlan/corefx,alexperovich/corefx,weltkante/...
src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetInstance.cs
src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoGetInstance.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.Globalization.Tests { public class TestIFormatP...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.Globalization.Tests { public class TestIFormatP...
mit
C#
ec01e79cab725b6dcabf107b0df051a1be849051
Fix NLogConsumer
YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/Logging/NLogConsumer.cs
src/Atata/Logging/NLogConsumer.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Atata { public class NLogConsumer : ILogConsumer { private readonly dynamic logger; private readonly Type logEventInfoType; private readonly Dicti...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Atata { public class NLogConsumer : ILogConsumer { private readonly dynamic logger; private readonly Type logEventInfoType; private readonly Dicti...
apache-2.0
C#
ead15df3bb3a47f1dda24e975bc649b8b0ba8675
Add comments for XBox360Gamepad struct
mina-asham/XBox360ControllerManager
XBox360ControllerManager/XBox360Gamepad.cs
XBox360ControllerManager/XBox360Gamepad.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; namespace XBox360ControllerManager { /// <summary> /// Struct that represents an XBox360 gamepad /// </summary> [StructLayout(LayoutKind.Sequential)] public struct XBox360Gamepad { ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; namespace XBox360ControllerManager { [StructLayout(LayoutKind.Sequential)] public struct XBox360Gamepad { public uint EventCount; public XBox360GamepadButton WButtons; public by...
mit
C#
cfb8db619b3d64162c56c8de0d8d2382f0311648
optimize GetMemberInfo()
huoxudong125/Weakly,tibel/Weakly
src/Weakly/Expressions/ExpressionHelper.cs
src/Weakly/Expressions/ExpressionHelper.cs
using System.Linq.Expressions; using System.Reflection; namespace Weakly { /// <summary> /// Common extensions for <see cref="Expression"/>. /// </summary> public static class ExpressionHelper { /// <summary> /// Converts an expression into a <see cref="MemberInfo"/>. /// <...
using System.Linq.Expressions; using System.Reflection; namespace Weakly { /// <summary> /// Common extensions for <see cref="Expression"/>. /// </summary> public static class ExpressionHelper { /// <summary> /// Converts an expression into a <see cref="MemberInfo"/>. /// <...
mit
C#
cbccae7fecf79aba8de4f67bd5876ea99ec9bdb7
Fix merge issue
MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthik...
src/Host/Client/Impl/Extensions/AboutHostExtensions.cs
src/Host/Client/Impl/Extensions/AboutHostExtensions.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Reflection; using Microsoft.Common.Core; using Microsoft.R.Host.Protocol; namespace Microsoft.R.Host.Client { public static class Abou...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Reflection; using Microsoft.Common.Core; using Microsoft.R.Host.Protocol; namespace Microsoft.R.Host.Client { public static class Abou...
mit
C#
fea5d5cfdc8fc9413ba7816cc108f4d893ac16e1
Truncate SystemClock to Seconds Precision (#1110)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Authentication/SystemClock.cs
src/Microsoft.AspNetCore.Authentication/SystemClock.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 System; namespace Microsoft.AspNetCore.Authentication { /// <summary> /// Provides access to the normal system clock with precision in s...
// 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 System; namespace Microsoft.AspNetCore.Authentication { /// <summary> /// Provides access to the normal system clock. /// </summary>...
apache-2.0
C#
d17201f89f9f0b3cc1375e5fce48cc0a273c5425
Write the top-level function for checking for updates
rzhw/Squirrel.Windows,rzhw/Squirrel.Windows
src/NSync.Client/UpdateManager.cs
src/NSync.Client/UpdateManager.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reactive.Linq; using System.Reactive.Subjects; using NSync.Core; namespace NSync.Client { public class UpdateManager { Func<string, Stream> openPath; Func<string, IObservable<string>> downloadUrl; ...
using System; using System.IO; namespace NSync.Client { public class UpdateManager { Func<string, Stream> openPath; Func<string, IObservable<string>> downloadUrl; public UpdateManager(string url, Func<string, Stream> openPathMock = null, Func<string, IObservabl...
mit
C#
10e41a4d5052bc6ccb2a72c1c8252fc40775e862
Add extension method to convert `IExceptional` to `Option`
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/OptionExtensions.cs
SolidworksAddinFramework/OptionExtensions.cs
using System; using System.Collections.Generic; using System.Collections.Immutable; using LanguageExt; using Weingartner.Exceptional; using static LanguageExt.Prelude; namespace SolidworksAddinFramework { public static class OptionExtensions { /// <summary> /// Get the value from an option. I...
using System; using System.Collections.Generic; using System.Collections.Immutable; using LanguageExt; using static LanguageExt.Prelude; namespace SolidworksAddinFramework { public static class OptionExtensions { /// <summary> /// Get the value from an option. If it is none /// then ...
mit
C#
86a8603b20b7ecb6e3fb8ed68a612a343ef1297c
make sure we can show a wizard outside of the staged wizard
larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,jlewin/MatterControl
MatterControlLib/ConfigurationPage/PrintLeveling/SetupWizards/PrinterSetupWizard.cs
MatterControlLib/ConfigurationPage/PrintLeveling/SetupWizards/PrinterSetupWizard.cs
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
9222a191cb4dad559601b77c5da959f88be8623f
make it easier to grasp.
bozoweed/Sanderling,Arcitectus/Sanderling,exodus444/Sanderling
src/Sanderling/Sanderling.Exe/sample/script/default.cs
src/Sanderling/Sanderling.Exe/sample/script/default.cs
// Welcome to Sanderling, the botting framework that makes eve online easily scriptable. // Got questions or a feature request? Leave a message at http://forum.botengine.de/cat/eve-online/ // The script below is a Warp to 0 Auto-Pilot, making your travels faster and thus safer. // this pattern matches strings contai...
// Welcome to Sanderling, the botting framework that makes eve online easily scriptable. // Got questions or a feature request? Leave a message at http://forum.botengine.de/cat/eve-online/ // The script below is a 0km Autopilot. // this pattern matches strings containing "dock" or "jump". const string MenuEntryRegex...
apache-2.0
C#
a29e83e7080b9396d6fd2ea34400868f8493e742
Fix lesson 5 workshop
suvroc/selenium-mail-course,Bartty9/selenium-mail-course,ronlouw/selenium-mail-course
EndToEndMailCourse/EndToEndMailCourse/05/Workshop05Tests.cs
EndToEndMailCourse/EndToEndMailCourse/05/Workshop05Tests.cs
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System.Linq; using OpenQA.Selenium.Support.UI; using OpenQA.Selenium.Interactions; namespace EndToEndMailCourse._05 { [TestFixture] public class Workshop05Tests { private string testUrl = "https://suvroc.github.io/se...
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System.Linq; using OpenQA.Selenium.Support.UI; using OpenQA.Selenium.Interactions; namespace EndToEndMailCourse._05 { [TestFixture] public class Workshop05Tests { private string testUrl = "https://suvroc.github.io/se...
mit
C#
db2f3e21f15d061bf4905adf83ce8d36cdddd5f4
Fix LayoutMode flags
SixLabors/Fonts
src/SixLabors.Fonts/LayoutMode.cs
src/SixLabors.Fonts/LayoutMode.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; namespace SixLabors.Fonts { /// <summary> /// Defines modes to determine the layout direction of text. /// </summary> [Flags] public enum LayoutMode { /// <summary> /// Text is laid ou...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; namespace SixLabors.Fonts { /// <summary> /// Defines modes to determine the layout direction of text. /// </summary> [Flags] public enum LayoutMode { /// <summary> /// Text is laid ou...
apache-2.0
C#
1d749bfd2a0b63ab40cc3c41baaabd96514f7742
Remove potential for NullReferenceException
terrajobst/xsddoc
src/XsdDocumentation.Build/Zip.cs
src/XsdDocumentation.Build/Zip.cs
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace XsdDocumentation.Build { public sealed class Zip : Task { public string WorkingDirectory { get; set; } [Required] p...
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace XsdDocumentation.Build { public sealed class Zip : Task { public ITaskItem WorkingDirectory { get; set; } ...
mit
C#
59e0d213ceac2fcb181855fc7e4eea43d389b308
Fix ambiguous reference
nied/ZXing.Net.Mobile,r2d2rigo/ZXing.Net.Mobile,Redth/ZXing.Net.Mobile,benyao1201/Xamarin,sephirothwzc/ZXing.Net.Mobile,syphe/ZXing.Net.Mobile
src/ZXing.Net/common/BigInteger/BigIntegerException.cs
src/ZXing.Net/common/BigInteger/BigIntegerException.cs
using System; using ZXing; namespace BigIntegerLibrary { /// <summary> /// BigInteger-related exception class. /// </summary> [System.Serializable] public sealed class BigIntegerException : Exception { /// <summary> /// BigIntegerException constructor. /// </summary> /// <par...
using System; using ZXing; namespace BigIntegerLibrary { /// <summary> /// BigInteger-related exception class. /// </summary> [Serializable] public sealed class BigIntegerException : Exception { /// <summary> /// BigIntegerException constructor. /// </summary> /// <param name...
apache-2.0
C#
e4a7b43d5c2ebdafee11552678fbc7060fc22c0b
Fix jenkins test fixture
Genesis2001/Lantea
Tests/Lantea.UnitTests/JenkinsTestFixture.cs
Tests/Lantea.UnitTests/JenkinsTestFixture.cs
#if DEBUG // ----------------------------------------------------------------------------- // <copyright file="JenkinsTestFixture.cs" company="Zack Loveless"> // Copyright (c) Zack Loveless. All rights reserved. // </copyright> // ----------------------------------------------------------------------------- n...
#if DEBUG // ----------------------------------------------------------------------------- // <copyright file="JenkinsTestFixture.cs" company="Zack Loveless"> // Copyright (c) Zack Loveless. All rights reserved. // </copyright> // ----------------------------------------------------------------------------- n...
mit
C#
a11b3abdc75fb0cf9e0e0d0c658a1890026eb0bd
Add comments about BDD
pawelec/todo-list,pawelec/todo-list,pawelec/todo-list,pawelec/todo-list
Tests/TodoServices.Tests/TodoServiceTests.cs
Tests/TodoServices.Tests/TodoServiceTests.cs
using Shouldly; using System; using TodoList.Services; using Xunit; namespace TodoServices.Tests { public class TodoServiceTests : IClassFixture<TodoService> { private readonly IToDoService todoService; public TodoServiceTests(TodoService todoService) { this.todoService = todoService; } ...
using Shouldly; using System; using TodoList.Services; using Xunit; namespace TodoServices.Tests { public class TodoServiceTests : IClassFixture<TodoService> { private readonly IToDoService todoService; public TodoServiceTests(TodoService todoService) { this.todoService = todoService; } ...
mit
C#
1b79bd8498f8e59aa2fb9fb9c67a70e2fcb8a6aa
Update LineCommentTokenScanner.cs
Zebrina/PapyrusScriptEditorVSIX,Zebrina/PapyrusScriptEditorVSIX
PapyrusScriptEditorVSIX/Language/LineCommentTokenScanner.cs
PapyrusScriptEditorVSIX/Language/LineCommentTokenScanner.cs
using Microsoft.VisualStudio.Text; using Papyrus.Common.Extensions; using Papyrus.Language.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Papyrus.Language { public class LineCommentTokenScanner : TokenScannerModule { ...
using Microsoft.VisualStudio.Text; using Papyrus.Common.Extensions; using Papyrus.Language.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Papyrus.Language { public class LineCommentTokenScanner : TokenScannerModule { ...
mit
C#
2613062f66bbbdbff308d50f6688116ae2bcd252
Make props non-virtual
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University.Controls/ViewModels/AgplSignatureViewModel.cs
R7.University.Controls/ViewModels/AgplSignatureViewModel.cs
using System; using System.Reflection; using R7.University.Components; namespace R7.University.Controls.ViewModels { public class AgplSignatureViewModel { public bool ShowRule { get; set; } = true; public Assembly BaseAssembly => UniversityAssembly.GetCoreAssembly (); public string N...
using System; using System.Reflection; using R7.University.Components; namespace R7.University.Controls.ViewModels { public class AgplSignatureViewModel { public bool ShowRule { get; set; } = true; public virtual Assembly BaseAssembly => UniversityAssembly.GetCoreAssembly (); public ...
agpl-3.0
C#
c906a4d1df81d167999721d5d91b2ba0b109cc51
use helper to convert image for a list item
l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto
Source/Eto.Platform.Wpf/Forms/Controls/WpfListItemHelper.cs
Source/Eto.Platform.Wpf/Forms/Controls/WpfListItemHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using sw = System.Windows; using swc = System.Windows.Controls; using swd = System.Windows.Data; using Eto.Forms; using Eto.Platform.Wpf.Drawing; namespace Eto.Platform.Wpf.Forms.Controls { public static class WpfListItemHelper { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using sw = System.Windows; using swc = System.Windows.Controls; using swd = System.Windows.Data; using Eto.Forms; using Eto.Platform.Wpf.Drawing; namespace Eto.Platform.Wpf.Forms.Controls { public static class WpfListItemHelper { ...
bsd-3-clause
C#
584be644c72d00a1e21eeaff214ab3a481431dfc
Add hidden fields.
EdBlankenship/typeform-dotnet
Typeform-dotnet/Typeform.Dotnet.Client/Data/FormResponse.cs
Typeform-dotnet/Typeform.Dotnet.Client/Data/FormResponse.cs
using System.Collections.Generic; using Newtonsoft.Json; using Typeform.Dotnet.Core; namespace Typeform.Dotnet.Data { public class FormResponse { [JsonConverter(typeof(BooleanConverter))] [JsonProperty("completed")] public bool Completed { get; set; } [JsonProperty("token")] ...
using System.Collections.Generic; using Newtonsoft.Json; using Typeform.Dotnet.Core; namespace Typeform.Dotnet.Data { public class FormResponse { [JsonConverter(typeof(BooleanConverter))] [JsonProperty("completed")] public bool Completed { get; set; } [JsonProperty("token")] ...
apache-2.0
C#
75e3b1ddd3e62fba069b5a321caa209e1feaad18
Move abstract methods to top.
greghoover/gluon,greghoover/gluon,greghoover/gluon
hase/hase.DevLib/Framework/Relay/RelayDispatcherClientBase.cs
hase/hase.DevLib/Framework/Relay/RelayDispatcherClientBase.cs
using hase.DevLib.Framework.Contract; using System; namespace hase.DevLib.Framework.Relay { public abstract class RelayDispatcherClientBase<TService, TRequest, TResponse> : IRelayDispatcherClient<TService, TRequest, TResponse> where TService : IService<TRequest, TResponse> where TRequest : class ...
using hase.DevLib.Framework.Contract; using System; namespace hase.DevLib.Framework.Relay { public abstract class RelayDispatcherClientBase<TService, TRequest, TResponse> : IRelayDispatcherClient<TService, TRequest, TResponse> where TService : IService<TRequest, TResponse> where TRequest : class ...
mit
C#
1a00e4d1d3048a00dc58cd49c529e6dae41c52b5
Update namespace reference in unit comments
247Entertainment/E247.Fun
E247.Fun/Unit.cs
E247.Fun/Unit.cs
using System; #pragma warning disable 1591 namespace E247.Fun { public struct Unit : IEquatable<Unit> { public static readonly Unit Value = new Unit(); public override int GetHashCode() => 0; public override bool Equals(object obj) => obj is Unit; pu...
using System; #pragma warning disable 1591 namespace E247.Fun { public struct Unit : IEquatable<Unit> { public static readonly Unit Value = new Unit(); public override int GetHashCode() => 0; public override bool Equals(object obj) => obj is Unit; pu...
mit
C#
e1dc3ee1e656ba8ce5b11226672b1057fac789c0
Update ANDGate.cs
irtezasyed007/CSC523-Game-Project
Gates/ANDGate.cs
Gates/ANDGate.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSC_523_Game { class ANDGate : Gate { public ANDGate(Variable[] vars) : base(vars) { } public override bool getResult() { return gateOperation(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSC_523_Game { class ANDGate : Gate { public ANDGate(Variable [] vars) : base(vars) { } public override bool getResult() { bool ass...
mit
C#
62d7456804b2fff5f39f1409f4c5eeeab3fe2f0f
Change AsNonNull to NotNull return
smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.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.Diagnostics.CodeAnalysis; namespace osu.Framework.Extensions.ObjectExtensions { /// <summary> /// Extensions that apply to all objects. /// </su...
// 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.Diagnostics.CodeAnalysis; namespace osu.Framework.Extensions.ObjectExtensions { /// <summary> /// Extensions that apply to all objects. /// </su...
mit
C#
3f42c550049bbc3ab15a79e84bb6960016670c42
Update Cities view.
SoftUni-NoSharpers/Project-X,SoftUni-NoSharpers/Project-X
Eventis/Views/Home/Cities.cshtml
Eventis/Views/Home/Cities.cshtml
<!DOCTYPE html> @model ICollection<Eventis.Models.Eventis.City> @{ ViewBag.Title = "Cities"; } <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <div class="row, text-center" style="margin:50px"> <h1>CITIES</h1> </div> <div...
<!DOCTYPE html> @model ICollection<Eventis.Models.Eventis.City> @{ ViewBag.Title = "Cities"; } <html> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> </head> <body> <div class="row" style="margin:50px"> <div class="col-md-1"></div> @foreach (v...
mit
C#
081aadaa2b7a939393fab6682148780ea6a1550e
Add source documentation for playback progress item.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/Syncs/Playback/TraktSyncPlaybackProgressItem.cs
Source/Lib/TraktApiSharp/Objects/Get/Syncs/Playback/TraktSyncPlaybackProgressItem.cs
namespace TraktApiSharp.Objects.Get.Syncs.Playback { using Attributes; using Enums; using Movies; using Newtonsoft.Json; using Shows; using Shows.Episodes; using System; /// <summary>Contains information about a Trakt playback progress, including the corresponding movie or episode.</su...
namespace TraktApiSharp.Objects.Get.Syncs.Playback { using Attributes; using Enums; using Movies; using Newtonsoft.Json; using Shows; using Shows.Episodes; using System; public class TraktSyncPlaybackProgressItem { [JsonProperty(PropertyName = "progress")] public fl...
mit
C#
cd56f1c338d32055fe68a31a1d838bc3bc55813d
Enable Codecov
bbtsoftware/TfsUrlParser
setup.cake
setup.cake
#load nuget:?package=Cake.Recipe&version=1.0.0 Environment.SetVariableNames(); BuildParameters.SetParameters( context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", title: "TfsUrlParser", repositoryOwner: "bbtsoftware", repositoryName: "TfsUrlParser", appVeyorAccountNam...
#load nuget:?package=Cake.Recipe&version=1.0.0 Environment.SetVariableNames(); BuildParameters.SetParameters( context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", title: "TfsUrlParser", repositoryOwner: "bbtsoftware", repositoryName: "TfsUrlParser", appVeyorAccountNam...
mit
C#
3b2face9367a59186193d1a019bfea84538ecef9
Simplify status convention based on conversation with Mr David Goodyear
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs
src/SFA.DAS.EmployerUsers.Api/Controllers/StatusController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace SFA.DAS.EmployerUsers.Api.Controllers { [RoutePrefix("api/status")] public class StatusController : ApiController { [Route("")] public IHttpActionRe...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace SFA.DAS.EmployerUsers.Api.Controllers { [RoutePrefix("api/status")] public class StatusController : ApiController { [HttpGet, Route("")] public IHtt...
mit
C#
2b4b3b0655c75d1ee63b32a2da5ff811be4ea5a1
Verify route
dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan
SnittListan/RouteConfigurator.cs
SnittListan/RouteConfigurator.cs
using System.Web.Mvc; using System.Web.Routing; using SnittListan.Helpers; namespace SnittListan { public class RouteConfigurator { private readonly RouteCollection routes; public RouteConfigurator(RouteCollection routes) { this.routes = routes; } public void Configure() { route...
using System.Web.Mvc; using System.Web.Routing; using SnittListan.Helpers; namespace SnittListan { public class RouteConfigurator { private readonly RouteCollection routes; public RouteConfigurator(RouteCollection routes) { this.routes = routes; } public void Configure() { route...
mit
C#
4b1dd046e432fc7fe9e507863111a70004bae832
Change Update method in Repository.cs file.
razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum
Source/SvNaum.Data/Repository.cs
Source/SvNaum.Data/Repository.cs
namespace SvNaum.Data { using System; using MongoDB.Driver; using MongoDB.Bson; using MongoDB.Driver.Builders; public class Repository { public T FindOneById<T>(MongoCollection<T> collection, string id) where T : class { T result = null; try ...
namespace SvNaum.Data { using System; using MongoDB.Driver; using MongoDB.Bson; using MongoDB.Driver.Builders; public class Repository { public T FindOneById<T>(MongoCollection<T> collection, string id) where T : class { T result = null; try ...
mit
C#
b7077a3b43295c74e1545533a1970b6fc26d3162
bump version
Fody/Caseless
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Caseless")] [assembly: AssemblyProduct("Caseless")] [assembly: AssemblyVersion("1.4.0")] [assembly: AssemblyFileVersion("1.4.0")]
using System.Reflection; [assembly: AssemblyTitle("Caseless")] [assembly: AssemblyProduct("Caseless")] [assembly: AssemblyVersion("1.3.7")] [assembly: AssemblyFileVersion("1.3.7")]
mit
C#
a6b03672ed858e7ab638c4a6af684612ace6ed1f
use thumbnail channel for system spam
RPCS3/discord-bot
CompatBot/Watchdog.cs
CompatBot/Watchdog.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using CompatBot.Commands; using DSharpPlus; namespace CompatBot { internal static class Watchdog { private static readonly TimeSpan CheckInterval = TimeSpan.FromSeconds...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using CompatBot.Commands; using DSharpPlus; namespace CompatBot { internal static class Watchdog { private static readonly TimeSpan CheckInterval = TimeSpan.FromSeconds...
lgpl-2.1
C#
80b8ad2c413ed941d9619f1e09e23a3e4bc01370
Revert "fix for fakeiteasy issue"
wikibus/Argolis
src/Lernaean.Hydra.Tests/ApiDocumentation/DefaultPropertyRangeRetrievalPolicyTests.cs
src/Lernaean.Hydra.Tests/ApiDocumentation/DefaultPropertyRangeRetrievalPolicyTests.cs
using System; using System.Collections.Generic; using System.Reflection; using FakeItEasy; using FluentAssertions; using Hydra.Discovery.SupportedProperties; using JsonLD.Entities; using TestHydraApi; using Vocab; using Xunit; namespace Lernaean.Hydra.Tests.ApiDocumentation { public class DefaultPropertyRangeRetr...
using System; using System.Collections.Generic; using FakeItEasy; using FluentAssertions; using Hydra.Discovery.SupportedProperties; using JsonLD.Entities; using TestHydraApi; using Vocab; using Xunit; namespace Lernaean.Hydra.Tests.ApiDocumentation { public class DefaultPropertyRangeRetrievalPolicyTests { ...
mit
C#
570072d4b8921ad19a9ead468909b1e0812e57bf
Fix for null reference exceptions thrown when certain exceptions occur in the getstream.io API requests - #15
shawnspeak/stream-net,GetStream/stream-net,GetStream/stream-net,GetStream/stream-net
src/stream-net/StreamException.cs
src/stream-net/StreamException.cs
using Newtonsoft.Json; using RestSharp; using System; namespace Stream { [Serializable] public class StreamException : Exception { internal StreamException(ExceptionState state) : base(message: state.Detail) { } internal class ExceptionS...
using Newtonsoft.Json; using RestSharp; using System; namespace Stream { [Serializable] public class StreamException : Exception { internal StreamException(ExceptionState state) : base(message: state.Detail) { } internal class ExceptionS...
bsd-3-clause
C#
ac0a9e865bb2b212db136bb5811ae810db960595
comment log
Anatolij-Grigorjev/Unity5TankArena,Anatolij-Grigorjev/Unity5TankArena,Anatolij-Grigorjev/Unity5TankArena
Assets/Scripts/Controllers/Tank/TankTurretController.cs
Assets/Scripts/Controllers/Tank/TankTurretController.cs
using UnityEngine; using System.Collections; using TankArena.Models.Tank; using System; using TankArena.Utils; namespace TankArena.Controllers { public class TankTurretController : BaseTankPartController<TankTurret> { public Transform Rotator; private float turnCoef = 0.0f; private co...
using UnityEngine; using System.Collections; using TankArena.Models.Tank; using System; using TankArena.Utils; namespace TankArena.Controllers { public class TankTurretController : BaseTankPartController<TankTurret> { public Transform Rotator; private float turnCoef = 0.0f; private co...
mit
C#
d37df6afeca4e2a1fff47a521dec9d7ab6997adc
Fix test failing after BDL -> `[Test]` change
peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu
osu.Game.Tournament.Tests/Screens/TestSceneTeamWinScreen.cs
osu.Game.Tournament.Tests/Screens/TestSceneTeamWinScreen.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; using osu.Game.Tournament.Screens.TeamWin; namespace osu.Game.Tournament.Tests.Screens { publ...
// 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; using osu.Game.Tournament.Screens.TeamWin; namespace osu.Game.Tournament.Tests.Screens { publ...
mit
C#
e220d7ce57debf7f0a2847ae85883bbf49d82fcd
Fix a comment
madsbangh/EasyButtons
Assets/EasyButtons/Editor/ButtonEditor.cs
Assets/EasyButtons/Editor/ButtonEditor.cs
using System; using System.Linq; using UnityEngine; using UnityEditor; namespace EasyButtons { /// <summary> /// Custom inspector for Object including derived classes. /// </summary> [CanEditMultipleObjects] [CustomEditor(typeof(UnityEngine.Object), true)] public class ObjectEditor : Editor ...
using System; using System.Linq; using UnityEngine; using UnityEditor; namespace EasyButtons { /// <summary> /// Custom inspector for Object including derived classes. /// </summary> [CanEditMultipleObjects] [CustomEditor(typeof(UnityEngine.Object), true)] public class ObjectEditor : Editor ...
mit
C#
c7aa14596f155e886b383aedf879d7200831ca4d
Add auto select device
tobyclh/UnityCNTK,tobyclh/UnityCNTK
Assets/UnityCNTK/Scripts/CNTKManager.cs
Assets/UnityCNTK/Scripts/CNTKManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using CNTK; namespace UnityCNTK{ public class CNTKManager : MonoBehaviour { public static CNTKManager instance; public List<Model> managedModels = new List<Model>(); public static DeviceDescriptor device; public enum HardwareOption...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UnityCNTK{ public class CNTKManager : MonoBehaviour { public static CNTKManager instance; public List<Model> managedModels = new List<Model>(); void Start () { MakeSingleton(); } // Update is called once per f...
mit
C#
bde25bee98f1627435ef46dcf4de0087fde2a99f
Update AssemblyInfo.cs
cyotek/Cyotek.Windows.Forms.TabList
Cyotek.Windows.Forms.TabList/Properties/AssemblyInfo.cs
Cyotek.Windows.Forms.TabList/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Cyotek TabList // Copyright (c) 2012-2017 Cyotek Ltd. // https://www.cyotek.com // https://www.cyotek.com/blog/tag/tablist // Licensed under the MIT License. See LICENSE.txt for the full text. // If...
using System; using System.Reflection; using System.Runtime.InteropServices; // Cyotek TabList // Copyright (c) 2012-2017 Cyotek Ltd. // https://www.cyotek.com // https://www.cyotek.com/blog/tag/tablist // Licensed under the MIT License. See LICENSE.txt for the full text. // If you use this control in your applicati...
mit
C#
0ca8a61353156779c7efc7f0d134bc4b6c09240f
Test close connection
pleonex/NitroDebugger,pleonex/NitroDebugger,pleonex/NitroDebugger
NitroDebugger.UnitTests/SessionTests.cs
NitroDebugger.UnitTests/SessionTests.cs
// // Test.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2014 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, e...
// // Test.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2014 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, e...
mit
C#
f119318572b9dd1e076c542bf8ef0898edf35511
Add onHealthChange event
SnpM/Lockstep-Framework,erebuswolf/LockstepFramework,yanyiyun/LockstepFramework
Core/Game/Abilities/Essential/Health.cs
Core/Game/Abilities/Essential/Health.cs
using System; using Lockstep.UI; using UnityEngine; namespace Lockstep { public class Health : Ability { [SerializeField, FixedNumber] private long _maxHealth = FixedMath.One * 100; public long MaxHealth { get { return _maxHealth; } set { _maxHealth = value; } } public event Action onHealt...
using System; using Lockstep.UI; using UnityEngine; namespace Lockstep { public class Health : Ability { [SerializeField, FixedNumber] private long _maxHealth = FixedMath.One * 100; public long MaxHealth { get { return _maxHealth; } set { _maxHealth = value; } } public long HealthAmount { get; s...
mit
C#
eda42c0f1788486a97c36015e44322422dbd7d07
Update AssemblyInfo.cs
idormenco/PolyBool.Net
Polybool.Net/Properties/AssemblyInfo.cs
Polybool.Net/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Polybool.Net")] [assembly: AssemblyDescri...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Polybool.Net")] [assembly: AssemblyDescri...
mit
C#
6652f97025f7750bd00240daabaeb78bab560873
remove old drawing logic of component
NicoVIII/QuizPresentator,NicoVIII/QuizPresentator,NicoVIII/QuizPresenter
QuizPresentator/QuestionComponentBox.cs
QuizPresentator/QuestionComponentBox.cs
using Xwt; using Xwt.Drawing; namespace QuizPresentation { /// <summary> /// Box, which is used to display the question or an answer /// </summary> public class QuestionComponentBox : Canvas { string text; public QuestionComponentBox() { } protected override void OnDraw(Context ctx, Rectangle dirtyRect)...
using Xwt; using Xwt.Drawing; namespace QuizPresentation { /// <summary> /// Box, which is used to display the question or an answer /// </summary> public class QuestionComponentBox : HBox { private Label label = new Label(); private HBox hBox = new HBox(); public QuestionComponentBox() { this.Backgroun...
mit
C#
0fb6b151038158ca0cab48c7333b6b1acb2a8f81
Add Email Setting Seed Items
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Entities/Seed/SettingSeed.cs
Portal.CMS.Entities/Seed/SettingSeed.cs
using Portal.CMS.Entities.Entities.Settings; using System.Collections.Generic; using System.Linq; namespace Portal.CMS.Entities.Seed { public static class SettingSeed { public static void Seed(PortalEntityModel context) { var settingList = context.Settings.ToList(); va...
using Portal.CMS.Entities.Entities.Settings; using System.Collections.Generic; using System.Linq; namespace Portal.CMS.Entities.Seed { public static class SettingSeed { public static void Seed(PortalEntityModel context) { var settingList = context.Settings.ToList(); va...
mit
C#
459f7b53f8e2ed0200d09c15e63a59e86821b04d
Add references to 4 subclass singletons to GreenPgnGameResultSyntax.
PenguinF/sandra-three
Sandra.Chess/Pgn/PgnGameResultSyntax.cs
Sandra.Chess/Pgn/PgnGameResultSyntax.cs
#region License /********************************************************************************* * PgnGameResultSyntax.cs * * Copyright (c) 2004-2020 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
#region License /********************************************************************************* * PgnGameResultSyntax.cs * * Copyright (c) 2004-2020 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
apache-2.0
C#
36df54cc6125103795f730255adf00736e36dd70
fix missed spaces
ccellar/Nancy,VQComms/Nancy,danbarua/Nancy,jchannon/Nancy,VQComms/Nancy,VQComms/Nancy,thecodejunkie/Nancy,jchannon/Nancy,phillip-haydon/Nancy,xt0rted/Nancy,blairconrad/Nancy,danbarua/Nancy,damianh/Nancy,davidallyoung/Nancy,khellang/Nancy,ccellar/Nancy,charleypeng/Nancy,jchannon/Nancy,asbjornu/Nancy,jeff-pang/Nancy,feli...
samples/Nancy.Demo.Authentication.Stateless/SecureModule.cs
samples/Nancy.Demo.Authentication.Stateless/SecureModule.cs
namespace Nancy.Demo.Authentication.Stateless { using System; using Nancy.Demo.Authentication.Stateless.Models; using Nancy.Security; public class SecureModule : LegacyNancyModule { //by this time, the api key should have already been pulled out of our querystring //and, us...
namespace Nancy.Demo.Authentication.Stateless { using System; using Nancy.Demo.Authentication.Stateless.Models; using Nancy.Security; public class SecureModule : LegacyNancyModule { //by this time, the api key should have already been pulled out of our querystring //and, using ...
mit
C#
dbb2333eed8c9cd635e6d3476d13a76109599c26
Add CurrencyPair new attributes
Gatecoin/api-gatecoin-dotnet,Gatecoin/api-gatecoin-dotnet,Gatecoin/API_client_csharp
Model/CurrencyPair.cs
Model/CurrencyPair.cs
using ServiceStack.ServiceInterface.ServiceModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GatecoinServiceInterface.Model; namespace GatecoinServiceInterface.Model{ [Serializable] public class CurrencyPair { public System.String Name {ge...
using ServiceStack.ServiceInterface.ServiceModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GatecoinServiceInterface.Model; namespace GatecoinServiceInterface.Model{ [Serializable] public class CurrencyPair { public System.String Name {ge...
mit
C#
337ca73e30d32459c2377100e98a57b3b7743d7c
Fix drop file
michael-reichenauer/Dependinator
Dependinator/Common/ModelMetadataFolders/Private/OpenModelService.cs
Dependinator/Common/ModelMetadataFolders/Private/OpenModelService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using Dependinator.MainWindowViews; using Dependinator.ModelViewing.Private; using Dependinator.Utils; namespace Dependinator.Common.ModelMetadataFolders.Private { internal class OpenModelService :...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using Dependinator.MainWindowViews; using Dependinator.ModelViewing.Private; using Dependinator.Utils; namespace Dependinator.Common.ModelMetadataFolders.Private { internal class OpenModelService :...
mit
C#
d032b26d139184952907598e02b78f9465fe0a5d
update samples.
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
samples/Sample.RabbitMQ.MySql/Startup.cs
samples/Sample.RabbitMQ.MySql/Startup.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Sample.RabbitMQ.MySql { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Sample.RabbitMQ.MySql { public class Startup { public void ConfigureServices(IServiceCollection services) { services...
mit
C#
3f741c2ae157bf08c073ed9cf258d86c46b44def
Update IRestAuthenticationTokenProvider.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/Rest/IRestAuthenticationTokenProvider.cs
TIKSN.Core/Web/Rest/IRestAuthenticationTokenProvider.cs
using System.Threading.Tasks; namespace TIKSN.Web.Rest { public interface IRestAuthenticationTokenProvider { Task<string> GetAuthenticationTokenAsync(string apiKey); } }
using System.Threading.Tasks; namespace TIKSN.Web.Rest { public interface IRestAuthenticationTokenProvider { Task<string> GetAuthenticationToken(string apiKey); } }
mit
C#
59fb45258483efba5415fd0247dc90defe4193eb
Prepare 0.2.1 release
LouisTakePILLz/ArgumentParser
ArgumentParser/Properties/AssemblyInfo.cs
ArgumentParser/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Security; // 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("ArgumentParser")] [...
using System.Reflection; using System.Runtime.InteropServices; using System.Security; // 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("ArgumentParser")] [...
apache-2.0
C#
de0452010479db6b62f0ecb208d912a5ebb4577e
Use conventional camel-casing for parameters (#81)
amis92/RecordGenerator
src/Amadevus.RecordGenerator.Generators/RecordDescriptor.cs
src/Amadevus.RecordGenerator.Generators/RecordDescriptor.cs
using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Amadevus.RecordGenerator.Generators { internal class RecordDescriptor { public RecordDescriptor(TypeSyntax typeSyntax, SyntaxToken typeIdentifier, ImmutableArray<Entry> entries, Loca...
using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Amadevus.RecordGenerator.Generators { internal class RecordDescriptor { public RecordDescriptor(TypeSyntax TypeSyntax, SyntaxToken TypeIdentifier, ImmutableArray<Entry> Entries, Loca...
mit
C#
e26f479013d9cf0e1e5b6f4d01090d5e2c4af65e
Update DragPositionBehavior.cs
XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactions/Core/DragPositionBehavior.cs
src/Avalonia.Xaml.Interactions/Core/DragPositionBehavior.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia; using Avalonia.Controls; using Avalonia.Input; using Avalonia.Media; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.C...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia; using Avalonia.Controls; using Avalonia.Input; using Avalonia.Media; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.C...
mit
C#
175e6fe63042e8b5d5f4003080ec692aa18f50e6
Bump version to 0.6.0 because of pit crew color editing
codemeyer/ArgData
Source/ArgData/Properties/AssemblyInfo.cs
Source/ArgData/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ArgData")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Manicomio Software")] [assembly: AssemblyProduct("ArgData")] [assembly: AssemblyCopyright("Copyright © 2014-2015 Fre...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ArgData")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Manicomio Software")] [assembly: AssemblyProduct("ArgData")] [assembly: AssemblyCopyright("Copyright © 2014-2015 Fre...
mit
C#
1b9f28200f076af8f587796b1e4c139550c05371
Remove window debug thing that was left in
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/Window/WindowVisualizer.cs
Content.Client/Window/WindowVisualizer.cs
using System; using Content.Shared.Rounding; using Content.Shared.Window; using JetBrains.Annotations; using Robust.Client.GameObjects; using Robust.Shared.GameObjects; using Robust.Shared.Log; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.Utility; namespace Content.Client.Window { [Use...
using System; using Content.Shared.Rounding; using Content.Shared.Window; using JetBrains.Annotations; using Robust.Client.GameObjects; using Robust.Shared.GameObjects; using Robust.Shared.Log; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.Utility; namespace Content.Client.Window { [Use...
mit
C#
0b470541e7cae083854877c27ee661b1f60fc97e
Fix driver update error
devworx-au/Devworx.CodePrettify,devworx-au/Devworx.CodePrettify
Drivers/CodePrettifySettingsPartDriver.cs
Drivers/CodePrettifySettingsPartDriver.cs
using System.Collections.Generic; using Devworx.CodePrettify.Models; using Devworx.CodePrettify.ViewModels; using JetBrains.Annotations; using Orchard.ContentManagement; using Orchard.ContentManagement.Drivers; using Orchard.Localization; namespace Devworx.CodePrettify.Drivers { [UsedImplicitly] public class ...
using System.Collections.Generic; using Devworx.CodePrettify.Models; using Devworx.CodePrettify.ViewModels; using JetBrains.Annotations; using Orchard.ContentManagement; using Orchard.ContentManagement.Drivers; using Orchard.Localization; namespace Devworx.CodePrettify.Drivers { [UsedImplicitly] public class ...
mit
C#
9b6f850ad2f68fdff50267f68e5e930523768526
add utility function to search through a statement container
toontown-archive/Krypton.LibProtocol
Krypton.LibProtocol/Src/Member/Statement/IStatementContainer.cs
Krypton.LibProtocol/Src/Member/Statement/IStatementContainer.cs
using System; using System.Collections.Generic; namespace Krypton.LibProtocol.Member.Statement { public interface IStatementContainer { IEnumerable<IStatement> Statements { get; } void AddStatement(IStatement statement); } public class StatementContainerUtils { public sta...
using System.Collections.Generic; namespace Krypton.LibProtocol.Member.Statement { public interface IStatementContainer { IEnumerable<IStatement> Statements { get; } void AddStatement(IStatement statement); } }
mit
C#
09bfa510acbef0f144ae14e8f610cbb089b11399
Update MainPage.xaml.cs
gavronek/L2PAccess-Win
L2PAccess-Windows/L2PAccess-Windows.Windows/MainPage.xaml.cs
L2PAccess-Windows/L2PAccess-Windows.Windows/MainPage.xaml.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Pr...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Pr...
apache-2.0
C#
6e1e74b443af9c02fa8b68216a8aecc7a7f78a78
Disable CS1591 for TimeUnit,
CodeFromJordan/Humanizer,HalidCisse/Humanizer,preetksingh80/Humanizer,kikoanis/Humanizer,mrchief/Humanizer,micdenny/Humanizer,thunsaker/Humanizer,Flatlineato/Humanizer,CodeFromJordan/Humanizer,micdenny/Humanizer,schalpat/Humanizer,preetksingh80/Humanizer,mrchief/Humanizer,HalidCisse/Humanizer,llehouerou/Humanizer,ErikS...
src/Humanizer/Localisation/TimeUnit.cs
src/Humanizer/Localisation/TimeUnit.cs
namespace Humanizer.Localisation { #pragma warning disable 1591 /// <summary> /// Units of time. /// </summary> public enum TimeUnit { Millisecond, Second, Minute, Hour, Day, Week, Month, Year } #pragma warning restore 1591 }
namespace Humanizer.Localisation { /// <summary> /// Units of time. /// </summary> public enum TimeUnit { Millisecond, Second, Minute, Hour, Day, Week, Month, Year } }
mit
C#
281d2077cfa54015074e637e09e68a929c78fa1d
remove unused code.
Terpla/A-Bot,scahyono/A-Bot
src/Sanderling.ABot/Bot/Task/Combat.cs
src/Sanderling.ABot/Bot/Task/Combat.cs
using BotEngine.Common; using System.Collections.Generic; using System.Linq; using Sanderling.Motor; using Sanderling.Parse; namespace Sanderling.ABot.Bot.Task { public class CombatTask : IBotTask { public Bot bot; public IEnumerable<IBotTask> Component { get { var memoryMeasurementAtTime = bot?.Me...
using BotEngine.Common; using System.Collections.Generic; using System.Linq; using Sanderling.Motor; using Sanderling.Parse; namespace Sanderling.ABot.Bot.Task { public class CombatTask : IBotTask { public Bot bot; public IEnumerable<IBotTask> Component { get { var memoryMeasurementAtTime = bot?.Me...
apache-2.0
C#
7c90d77ecabc237e17e4a9e6413a5a74952115ce
Bump to 0.8.0.0 version
modulexcite/Nowin,Bobris/Nowin,et1975/Nowin,Bobris/Nowin,lstefano71/Nowin,pysco68/Nowin,lstefano71/Nowin,modulexcite/Nowin,Bobris/Nowin,et1975/Nowin,pysco68/Nowin,modulexcite/Nowin,pysco68/Nowin,lstefano71/Nowin,et1975/Nowin
NowinWebServer/Properties/AssemblyInfo.cs
NowinWebServer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NowinWebServer")] [assembly: AssemblyDesc...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NowinWebServer")] [assembly: AssemblyDesc...
mit
C#
a2c8cbcfa316e5975ccfee71a1088cef7e871b27
Add logging capability to serviceaware
greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript
src/WebApiToTypeScript/ServiceAware.cs
src/WebApiToTypeScript/ServiceAware.cs
using WebApiToTypeScript.Enums; using WebApiToTypeScript.Interfaces; using WebApiToTypeScript.Types; namespace WebApiToTypeScript { public abstract class ServiceAware { protected string IHaveQueryParams = WebApiToTypeScript.IHaveQueryParams; protected string IEndpoint = WebApiToTypeScript.IEndp...
using WebApiToTypeScript.Enums; using WebApiToTypeScript.Interfaces; using WebApiToTypeScript.Types; namespace WebApiToTypeScript { public abstract class ServiceAware { protected string IHaveQueryParams = WebApiToTypeScript.IHaveQueryParams; protected string IEndpoint = WebApiToTypeScript.IEndp...
mit
C#
63536c2ed0f36a0cd4d1fd3d3104e94b680ed64d
Update WireMock.Net.StandAlone
StefH/WireMock.Net,StefH/WireMock.Net,WireMock-Net/WireMock.Net
src/WireMock.Net.StandAlone/Program.cs
src/WireMock.Net.StandAlone/Program.cs
using System; using System.Collections.Generic; using System.Linq; using CommandLineParser.Arguments; using CommandLineParser.Exceptions; using WireMock.Server; namespace WireMock.Net.StandAlone { public class Program { private class Options { [ValueArgument(typeof(string), 'u', "U...
using System; using CommandLineParser.Arguments; using CommandLineParser.Exceptions; using WireMock.Server; namespace WireMock.Net.StandAlone { public class Program { private class Options { [ValueArgument(typeof(string), 'u', "Urls", Description = "URL(s) to listen on", Optional =...
apache-2.0
C#
d4a986b4977b40358f036ea4a360ca40df741ba9
Write more INDI data
fire-eggs/YAGP,fire-eggs/YAGP,fire-eggs/YAGP
SharpGEDParse/SharpGEDWriter/WriteINDI.cs
SharpGEDParse/SharpGEDWriter/WriteINDI.cs
using System.Reflection; using SharpGEDParser.Model; using System; using System.Collections.Generic; using System.IO; // TODO can record ident be generalized? namespace SharpGEDWriter { class WriteINDI { internal static void WriteINDIs(StreamWriter file, List<GEDCommon> records) { ...
using SharpGEDParser.Model; using System; using System.Collections.Generic; using System.IO; // TODO can record ident be generalized? namespace SharpGEDWriter { class WriteINDI { internal static void WriteINDIs(StreamWriter file, List<GEDCommon> records) { foreach (var gedCommon i...
apache-2.0
C#
dbfbcdddc4b7bcbc78a167d0b677aa2da09ea9ac
delete code dupe
MartinRL/SlackTurnus,MartinRL/SlackTurnus
SlackTurnus/Controllers/HomeController.cs
SlackTurnus/Controllers/HomeController.cs
using System; using System.Collections; using System.Linq; using System.Web.Mvc; using System.Web.UI.WebControls; using SlackTurnus.DomainModel; using SlackTurnus.ViewModel; namespace SlackTurnus.Controllers { public class HomeController : Controller { private const string PRIMARY_SLACKER_TURNUS = "primarySlacker...
using System; using System.Collections; using System.Linq; using System.Web.Mvc; using System.Web.UI.WebControls; using SlackTurnus.DomainModel; using SlackTurnus.ViewModel; namespace SlackTurnus.Controllers { public class HomeController : Controller { private const string PRIMARY_SLACKER_TURNUS = "primarySlacker...
mit
C#
cf5e987851c42fb536d165c03be63b2a454e3099
Bump version to 1.1.0
matthid/Yaaf.DependencyInjection,matthid/Yaaf.DependencyInjection
src/SharedAssemblyInfo.SimpleInjector.cs
src/SharedAssemblyInfo.SimpleInjector.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyCompanyAttribute("Yaaf.DependencyInjection.SimpleInjector")] [assembly: AssemblyProductAttribute("Yaaf.DependencyInjection.SimpleInjector")] [assembly: AssemblyCopyrightAttribute("Yaaf.DependencyInjection Copyright © Matthias Dittrich 2015")] [assembly:...
// <auto-generated/> using System.Reflection; [assembly: AssemblyCompanyAttribute("Yaaf.DependencyInjection.SimpleInjector")] [assembly: AssemblyProductAttribute("Yaaf.DependencyInjection.SimpleInjector")] [assembly: AssemblyCopyrightAttribute("Yaaf.DependencyInjection Copyright © Matthias Dittrich 2015")] [assembly:...
apache-2.0
C#
68bbaa373a4b3ff125df81f3c7d7acda05f8715a
fix namespace
huoxudong125/Weakly,tibel/Weakly
src/Weakly/Delegates/ActionDisposable.cs
src/Weakly/Delegates/ActionDisposable.cs
using System; namespace Weakly { /// <summary> /// Executes an action when disposed. /// </summary> public sealed class DisposableAction : IDisposable { private Action _action; /// <summary> /// Initializes a new instance of the <see cref="DisposableAction"/> class. ...
using System; namespace Weakly.MVVM { /// <summary> /// Executes an action when disposed. /// </summary> public sealed class DisposableAction : IDisposable { private Action _action; /// <summary> /// Initializes a new instance of the <see cref="DisposableAction"/> class. ...
mit
C#
527f4e5d5c2f482f259db7d2fc09bc9a5a4acbf7
Update ListExtensions.cs
djfdat/UnityUtilities
Assets/Scripts/Extensions/ListExtensions.cs
Assets/Scripts/Extensions/ListExtensions.cs
using UnityEngine; using System.Collections.Generic; public static class ListExtensions { public static T RandomEntry<T>(this List<T> list) { return list[Random.Range(0, list.Count)]; } public static int RandomIndex<T>(this List<T> list, int excludedIndex = -1) { if (excludedIndex == -1) { return Rando...
using UnityEngine; using System.Collections.Generic; public static class ListExtensions { public static T RandomEntry<T>(this List<T> list) { return list[Random.Range(0, list.Count)]; } public static int RandomIndex<T>(this List<T> list, int excludedIndex = -1) { if (excludedIndex == -1) { return Rando...
mit
C#
a42230af7330e89ada8faf17a7c52dfa7b7a7614
Add groups to the serialization
InWorldz/chrysalis
src/Controllers/GeometryController.cs
src/Controllers/GeometryController.cs
using System.Net; using System.Threading.Tasks; using FlatBuffers; using InWorldz.Arbiter.Serialization; using InWorldz.Chrysalis.Util; namespace InWorldz.Chrysalis.Controllers { /// <summary> /// Handles incoming requests related to geometry /// </summary> internal class GeometryController { ...
using System.Net; using System.Threading.Tasks; using FlatBuffers; using InWorldz.Arbiter.Serialization; using InWorldz.Chrysalis.Util; namespace InWorldz.Chrysalis.Controllers { /// <summary> /// Handles incoming requests related to geometry /// </summary> internal class GeometryController { ...
apache-2.0
C#
218c899441f7e3ac6b41cb58dd30be4cb9b0f886
Reset Handle when Dispose.
zhongzf/Xamarin.Forms.Platform.LibUI
Xamarin.Forms.Platform.LibUI/Control.cs
Xamarin.Forms.Platform.LibUI/Control.cs
using System; using System.Collections.Generic; using System.Text; using Xamarin.Forms.Platform.LibUI.Interop; using static Xamarin.Forms.Platform.LibUI.Interop.NativeMethods; namespace Xamarin.Forms.Platform.LibUI { public abstract class Control: IDisposable { protected internal IntPtr Handle { get; ...
using System; using System.Collections.Generic; using System.Text; using Xamarin.Forms.Platform.LibUI.Interop; using static Xamarin.Forms.Platform.LibUI.Interop.NativeMethods; namespace Xamarin.Forms.Platform.LibUI { public abstract class Control: IDisposable { protected internal IntPtr Handle { get; ...
mit
C#
245dcf4be2d7ed8d19b5a896ad02151927a00528
Add an ErrorMessage
ucdavis/CRP,ucdavis/CRP,ucdavis/CRP
CRP.Mvc/Controllers/ApplicatonController.cs
CRP.Mvc/Controllers/ApplicatonController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using CRP.Controllers.Helpers; using UCDArch.Web.Controller; namespace CRP.Controllers { //[LocServiceMessage("ConferenceRegistrationAndPayments", ViewDataKey = "ServiceMessages", MessageServiceAppSettingsKe...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using CRP.Controllers.Helpers; using UCDArch.Web.Controller; namespace CRP.Controllers { //[LocServiceMessage("ConferenceRegistrationAndPayments", ViewDataKey = "ServiceMessages", MessageServiceAppSettingsKe...
mit
C#
aaecb45c13e669ad5203d6374ea36e9bc5690953
replace old parameter names with new key parameter names
tropo/tropo-webapi-csharp,tropo/tropo-webapi-csharp
TropoOutboundSMS/Program.cs
TropoOutboundSMS/Program.cs
using System; using System.Collections.Generic; using System.Web; using System.Xml; using TropoCSharp.Structs; using TropoCSharp.Tropo; namespace OutboundTest { /// <summary> /// A simple console appplication used to launch a Tropo Session and send an outbound SMS. /// Note - use in conjnction withe the O...
using System; using System.Collections.Generic; using System.Web; using System.Xml; using TropoCSharp.Structs; using TropoCSharp.Tropo; namespace OutboundTest { /// <summary> /// A simple console appplication used to launch a Tropo Session and send an outbound SMS. /// Note - use in conjnction withe the O...
mit
C#
3c526de640bc4f45d67a4bb59e7a01be5431e4d6
update annotation
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
UartOscilloscope/Program.cs
UartOscilloscope/Program.cs
using System; // 使用System函式庫 using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; // 使用System.Windows.Forms函式庫 namespace UartOscilloscope // 命名空間為本程式 { static class Program ...
using System; // 使用System函式庫 using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; // 使用System.Windows.Forms函式庫 namespace UartOscilloscope // 命名空間為本程式 { static class Program ...
apache-2.0
C#
7f480dae1a64c47f0052475c77442b916a26daea
Correct face away logic
DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit.SDK/Features/Input/Handlers/Constraints/FaceUserConstraint.cs
Assets/MixedRealityToolkit.SDK/Features/Input/Handlers/Constraints/FaceUserConstraint.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; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI { /// <summary> /// Component for fixing the r...
// 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; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI { /// <summary> /// Component for fixing the r...
mit
C#
e4c100e8ad8e30a75cd42a878e030f3c3bcbb3e9
add back selenium assertions
alindgren/Fundraise,alindgren/Fundraise,alindgren/Fundraise
Fundraise.MvcExample.Tests/AdminTests.cs
Fundraise.MvcExample.Tests/AdminTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium.Firefox; using Fundraise.MvcExample.Tests.Config; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; namespace Fundraise.MvcExample.Tests { [TestClass] public class AdminTests { public static IisExpressWe...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium.Firefox; using Fundraise.MvcExample.Tests.Config; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; namespace Fundraise.MvcExample.Tests { [TestClass] public class AdminTests { public static IisExpressWe...
mit
C#
bbb55a0c60b98fddfa45e80d4dbf19889d970aba
Correct Version Number.
krs43/ib-csharp,sebfia/ib-csharp,qusma/ib-csharp
Krs.Ats.IBNet/Properties/AssemblyInfo.cs
Krs.Ats.IBNet/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly : AssemblyTitle("Krs.Ats.IBNet")] ...
using System; using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly : AssemblyTitle("Krs.Ats.IBNet")] ...
mit
C#
8cdfd6230ec1b223add50fae61a03b3bfd277211
Implement Icompareable in class.cs
JunaidSarfraz/SchoolSystem
SchoolSystem/Class.cs
SchoolSystem/Class.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. //...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. //...
apache-2.0
C#
b51bc7a856454e65533765de38c43488a2880c3d
update SharedAssemblyInfo.cs for 1.1 release
Pavuucek/ArachNGIN,Pavuucek/ArachNGIN
SharedAssemblyInfo.cs
SharedAssemblyInfo.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("A...
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("A...
mit
C#
ec700e91427549ff29a36ba9300a8e1aa94d2410
Remove unused using statement
ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu
osu.Game.Tests/Visual/Navigation/TestSceneEditDefaultSkin.cs
osu.Game.Tests/Visual/Navigation/TestSceneEditDefaultSkin.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.Allocation; using osu.Framework.Testing; using osu.Game.Overlays.Settings.Sections; using osu.Game.Skinning;...
// 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.IO; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Testing; using osu.Game.Overlays.Settings.Sections; using o...
mit
C#
400ed7081447d7f5566a3acd8b28446c62487c4e
Bump copyright year
Dagwaging/log4net,amtkmrsmn/log4net,Dagwaging/log4net,StevenJiang2015/log4net,harold4/log4net,drunkirishcoder/monotouch-log4net,drunkirishcoder/monotouch-log4net,modulexcite/log4net,modulexcite/log4net,harold4/log4net,amtkmrsmn/log4net,amtkmrsmn/log4net,StevenJiang2015/log4net,harold4/log4net,Dagwaging/log4net,drunkiri...
src/AssemblyVersionInfo.cs
src/AssemblyVersionInfo.cs
#region Apache License // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to you under the Apache License, Version 2.0 // (...
#region Apache License // // Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to you under the Apache License, Version 2.0 // (...
apache-2.0
C#
e4ed477acbb62b3d7591ec0f069d8b83339d9ef3
Fix off by one error in DFSStateScheduler.GetNumberOfStates()
symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix
src/Symbooglix/Executor/StateSchedulers/DFSStateScheduler.cs
src/Symbooglix/Executor/StateSchedulers/DFSStateScheduler.cs
using System; using System.Collections.Generic; using System.Diagnostics; namespace Symbooglix { public class DFSStateScheduler : IStateScheduler { private List<ExecutionState> States; private ExecutionState Popped; public DFSStateScheduler() { States = new List<E...
using System; using System.Collections.Generic; using System.Diagnostics; namespace Symbooglix { public class DFSStateScheduler : IStateScheduler { private List<ExecutionState> States; private ExecutionState Popped; public DFSStateScheduler() { States = new List<E...
bsd-2-clause
C#
3bbe6893be2ffa6ff19839eadfbbc74ad9b95203
Fix assert hit during OnInstantiated validation
modesttree/Zenject,modesttree/Zenject,modesttree/Zenject
UnityProject/Assets/Plugins/Zenject/Source/Binding/Binders/InstantiateCallbackConditionCopyNonLazyBinder.cs
UnityProject/Assets/Plugins/Zenject/Source/Binding/Binders/InstantiateCallbackConditionCopyNonLazyBinder.cs
using System; using ModestTree; namespace Zenject { [NoReflectionBaking] public class InstantiateCallbackConditionCopyNonLazyBinder : ConditionCopyNonLazyBinder { public InstantiateCallbackConditionCopyNonLazyBinder(BindInfo bindInfo) : base(bindInfo) { } public...
using System; using ModestTree; namespace Zenject { [NoReflectionBaking] public class InstantiateCallbackConditionCopyNonLazyBinder : ConditionCopyNonLazyBinder { public InstantiateCallbackConditionCopyNonLazyBinder(BindInfo bindInfo) : base(bindInfo) { } public...
mit
C#
97367448432b48058ae74baf21776555d0e389d1
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#
c56d69be7da45c38362d2dc58de552f868f9e20c
Add comments.
miyabi/unity-replay-kit-bridge
Example/Assets/UIController.cs
Example/Assets/UIController.cs
using UnityEngine; using System.Collections; public class UIController : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void OnPressStartRecordingButton() { if (!ReplayKitBridge.IsScreenRecorderAvailable || ReplayKitBridge...
using UnityEngine; using System.Collections; public class UIController : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void OnPressStartRecordingButton() { if (!ReplayKitBridge.IsScreenRecorderAvailable || ReplayKitBridge...
mit
C#
cbdba401df5864644a6f2c70a82f7cf6930ce31a
change assembly version to 1.1
yixiangling/toxy,yixiangling/toxy,tonyqus/toxy
ToxyFramework/Properties/AssemblyInfo.cs
ToxyFramework/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [asse...
apache-2.0
C#
a0c91000b26b0c21eeb54fb4e28175bfae910740
Update BinanceTransferHistory.cs (#644)
JKorf/Binance.Net
Binance.Net/Objects/Spot/MarginData/BinanceTransferHistory.cs
Binance.Net/Objects/Spot/MarginData/BinanceTransferHistory.cs
using System; using Binance.Net.Converters; using Binance.Net.Enums; using CryptoExchange.Net.Converters; using Newtonsoft.Json; namespace Binance.Net.Objects.Spot.MarginData { /// <summary> /// Transfer history entry /// </summary> public class BinanceTransferHistory { /// <summary> ...
using System; using Binance.Net.Converters; using Binance.Net.Enums; using CryptoExchange.Net.Converters; using Newtonsoft.Json; namespace Binance.Net.Objects.Spot.MarginData { /// <summary> /// Transfer history entry /// </summary> public class BinanceTransferHistory { /// <summary> ...
mit
C#
d6e49b94ececed3b176f312ef98f55b0f44c277f
Add comment.
NeoAdonis/osu,naoey/osu,EVAST9919/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,Frontear/osuKyzer,peppy/osu,2yangk23/osu,DrabWeb/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,naoey/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,DrabWeb/osu...
osu.Game.Rulesets.Mania/Timing/Drawables/DrawableManiaTimingChange.cs
osu.Game.Rulesets.Mania/Timing/Drawables/DrawableManiaTimingChange.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.Graphics; namespace osu.Game.Rulesets.Mania.Timing.Drawables { public class DrawableManiaTimingChange : DrawableTimingChange { ...
// 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.Graphics; namespace osu.Game.Rulesets.Mania.Timing.Drawables { public class DrawableManiaTimingChange : DrawableTimingChange { ...
mit
C#
ce01a593d30a2e69301d3fd63492a3d5804f25a5
Remove a redundant UpdateLayout invocation
DotNetKit/DotNetKit.Wpf.Printing
DotNetKit.Wpf.Printing/Windows/Documents/FixedDocumentCreator.cs
DotNetKit.Wpf.Printing/Windows/Documents/FixedDocumentCreator.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; namespace DotNetKit.Windows.Documents { /// <summary> /...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; namespace DotNetKit.Windows.Documents { /// <summary> /...
mit
C#