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
5b33405a6ac04324ac2fc7b82849a7370e996e85
Change Subsystem Init to Start() instead of StartOnServer(), otherwise Cross-matrices might not work correctly due to somethings not being initialized yet.
krille90/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,kril...
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/SubsystemManager.cs
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/SubsystemManager.cs
using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Networking; public class SubsystemManager : NetworkBehaviour { private List<SubsystemBehaviour> systems = new List<SubsystemBehaviour>(); private bool initialized; private void Start() { if (isServer) { systems = sys...
using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Networking; public class SubsystemManager : NetworkBehaviour { private List<SubsystemBehaviour> systems = new List<SubsystemBehaviour>(); private bool initialized; public override void OnStartServer() { systems = systems....
agpl-3.0
C#
30325c04d38fbaedc97cca56caa7d749864f8399
Add extra virtual channel looping test
peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework.Tests/Audio/SampleChannelVirtualTest.cs
osu.Framework.Tests/Audio/SampleChannelVirtualTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Threading; using NUnit.Framework; using osu.Framework.Audio.Sample; using osu.Framework.Development; using osu.Framework.Threading; namespace ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Threading; using NUnit.Framework; using osu.Framework.Audio.Sample; using osu.Framework.Development; using osu.Framework.Threading; namespace ...
mit
C#
18e75b8522ea54f819e728efdf00e577852682b3
Add a test for SKSwizzle
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
tests/Tests/SKPixmapTest.cs
tests/Tests/SKPixmapTest.cs
using System; using System.Runtime.InteropServices; using Xunit; namespace SkiaSharp.Tests { public class SKPixmapTest : SKTest { [SkippableFact] public void ReadPixelSucceeds() { var info = new SKImageInfo(10, 10); var ptr1 = Marshal.AllocCoTaskMem(info.BytesSize); var pix1 = new SKPixmap(info, ptr...
using System; using System.Runtime.InteropServices; using Xunit; namespace SkiaSharp.Tests { public class SKPixmapTest : SKTest { [SkippableFact] public void ReadPixelSucceeds() { var info = new SKImageInfo(10, 10); var ptr1 = Marshal.AllocCoTaskMem(info.BytesSize); var pix1 = new SKPixmap(info, ptr...
mit
C#
5aa855ed9efa4c45be6b29b9d3f309a5cdf71e68
Fix method name in OnDisconnectAsync
albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/...
src/Services/Ordering/Ordering.SignalrHub/NotificationHub.cs
src/Services/Ordering/Ordering.SignalrHub/NotificationHub.cs
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.SignalR; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Ordering.SignalrHub { [Authorize] public class NotificationsHub : Hub { public override async Task OnConnectedAs...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.SignalR; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Ordering.SignalrHub { [Authorize] public class NotificationsHub : Hub { public override async Task OnConnectedAs...
mit
C#
6686b095492abdd1eb0909eea6b57a6c33513b93
Hide F rank from beatmap overlay
ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game/Overlays/BeatmapListing/BeatmapSearchScoreFilterRow.cs
osu.Game/Overlays/BeatmapListing/BeatmapSearchScoreFilterRow.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Collections.Generic; using System.Linq; using osu.Framework.Extensions; using osu.Framework.Localisation; using osu.Game.Resources.Locali...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Collections.Generic; using System.Linq; using osu.Framework.Extensions; using osu.Framework.Localisation; using osu.Game.Resources.Locali...
mit
C#
aa3b667040f2b3b7724771c60f02275e7afde1ad
remove using of DebuggerNonUserCode
stsrki/fluentmigrator,amroel/fluentmigrator,modulexcite/fluentmigrator,IRlyDontKnow/fluentmigrator,barser/fluentmigrator,drmohundro/fluentmigrator,mstancombe/fluentmigrator,barser/fluentmigrator,spaccabit/fluentmigrator,jogibear9988/fluentmigrator,KaraokeStu/fluentmigrator,itn3000/fluentmigrator,alphamc/fluentmigrator,...
src/FluentMigrator/Expressions/MigrationExpressionBase.cs
src/FluentMigrator/Expressions/MigrationExpressionBase.cs
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 /...
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 /...
apache-2.0
C#
f116edb57243c1db8096de7d877fd9330291c072
Correct description for modulo
devatwork/Premotion-Mansion,devatwork/Premotion-Mansion,devatwork/Premotion-Mansion,Erikvl87/Premotion-Mansion,Erikvl87/Premotion-Mansion,Erikvl87/Premotion-Mansion,Erikvl87/Premotion-Mansion,devatwork/Premotion-Mansion
src/Premotion.Mansion.Core/ScriptFunctions/Math/Modulo.cs
src/Premotion.Mansion.Core/ScriptFunctions/Math/Modulo.cs
using Premotion.Mansion.Core.Scripting.ExpressionScript; namespace Premotion.Mansion.Core.ScriptFunctions.Math { /// <summary> /// Computes the remainder of division of the first- by the second number. /// </summary> [ScriptFunction("Modulo")] public class Modulo : FunctionExpression { /// <summary> /// </s...
using Premotion.Mansion.Core.Scripting.ExpressionScript; namespace Premotion.Mansion.Core.ScriptFunctions.Math { /// <summary> /// Modulo computes a remainder. Multiplies the first value with the second value. /// </summary> [ScriptFunction("Modulo")] public class Modulo : FunctionExpression { /// <summary> ...
mit
C#
e6ba129c382d12c87483876b37f11f892a3bd580
Use predefined default size for embedded windows
wieslawsoltes/Perspex,jkoritzinsky/Avalonia,OronDF343/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,MrDaedra/Avalonia,danwalmsley/Perspex,punker76/Perspex,AvaloniaUI/Avalonia,susloparovdenis/Avalonia,kekekeks/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Avaloni...
src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs
src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Perspex.Win32.Interop; namespace Perspex.Win32 { public class EmbeddedWindowImpl : WindowImpl { private static readon...
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Perspex.Win32.Interop; namespace Perspex.Win32 { public class EmbeddedWindowImpl : WindowImpl { private static readon...
mit
C#
109251a7ce43a383c4d687e4960c6bbea3b37531
Update AutoMapperConfiguration.cs - add StatInfoEntity, StatInfo map
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.BusinessLayer/AutoMapperConfiguration.cs
NinjaHive.BusinessLayer/AutoMapperConfiguration.cs
using AutoMapper; using NinjaHive.Contract.DTOs; using NinjaHive.Domain; namespace NinjaHive.BusinessLayer { public class AutoMapperConfiguration { public static void Configure() { Mapper.CreateMap<EquipmentItemEntity, EquipmentItem>() .ForMember(destination => de...
using AutoMapper; using NinjaHive.Contract.DTOs; using NinjaHive.Domain; namespace NinjaHive.BusinessLayer { public class AutoMapperConfiguration { public static void Configure() { Mapper.CreateMap<EquipmentItemEntity, EquipmentItem>() .ForMember(destination => de...
apache-2.0
C#
da7941061c5ea75a0fc459cdf5eff2133ca0cf91
Add the return date, and change the long time string to short date string.
SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library
MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml
MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml
@model IEnumerable<MMLibrarySystem.Models.BorrowRecord> @{ ViewBag.Title = "Borrowed Books"; } <table id="bookList"> <tr> <td> Book Number </td> <td> Title </td> <td> Borrowed By </td> <td> Borrowed Start ...
@model IEnumerable<MMLibrarySystem.Models.BorrowRecord> @{ ViewBag.Title = "Borrowed Books"; } <table id="bookList"> <tr> <td> Book Number </td> <td> Title </td> <td> Borrowed By </td> <td> Borrowed Start ...
apache-2.0
C#
e44f62a72a3c35d79ec942c8d4d10e0ef096ec2f
Fix controller organizationcontext misusage
os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos
Presentation.Web/Controllers/OData/ItSystemsController.cs
Presentation.Web/Controllers/OData/ItSystemsController.cs
using System.Linq; using System.Web.Http; using System.Web.OData; using System.Web.OData.Routing; using Core.DomainModel; using Core.DomainModel.ItSystem; using Core.DomainServices; using System.Net; using Core.ApplicationServices; using Presentation.Web.Access; namespace Presentation.Web.Controllers.OData { publ...
using System.Linq; using System.Web.Http; using System.Web.OData; using System.Web.OData.Routing; using Core.DomainModel; using Core.DomainModel.ItSystem; using Core.DomainServices; using System.Net; using Core.ApplicationServices; using Presentation.Web.Access; namespace Presentation.Web.Controllers.OData { publ...
mpl-2.0
C#
b1816e15bd272453fa3ea489c06c69c396ab9f5d
Print the texts of each row
12joan/hangman
table.cs
table.cs
using System; using System.Collections.Generic; using System.Text; namespace Hangman { public class Table { public int Width; public int Spacing; public Row[] Rows; public Table(int width, int spacing, Row[] rows) { Width = width; Spacing = spacing; Rows = rows; } public s...
using System; namespace Hangman { public class Table { public int Width; public int Spacing; public Row[] Rows; public Table(int width, int spacing, Row[] rows) { Width = width; Spacing = spacing; Rows = rows; } public string Draw() { return "Hello World"; } } ...
unlicense
C#
c669d088a8e533afab534f9a50911da7e3ed5764
Add opening with Paint.NET
AVPolyakov/SharpLayout
SharpLayout.Tests/Program.cs
SharpLayout.Tests/Program.cs
using System; using System.Diagnostics; namespace SharpLayout.Tests { static class Program { static void Main() { var document = new Document { //CellsAreHighlighted = true, R1C1AreVisible = true, //ParagraphsAreHighlighted = true, ...
using System; using System.Diagnostics; namespace SharpLayout.Tests { static class Program { static void Main() { var document = new Document { //CellsAreHighlighted = true, R1C1AreVisible = true, //ParagraphsAreHighlighted = true, ...
mit
C#
7089bef86949873467c577cd398813bac73b7fcf
Fix for #17184 - The name "View" does not exist. Modified the two references to View.ContentItems to ViewData.
tobydodds/folklife,angelapper/Orchard,dozoft/Orchard,mvarblow/Orchard,NIKASoftwareDevs/Orchard,Inner89/Orchard,RoyalVeterinaryCollege/Orchard,SouleDesigns/SouleDesigns.Orchard,brownjordaninternational/OrchardCMS,geertdoornbos/Orchard,sfmskywalker/Orchard,dburriss/Orchard,jersiovic/Orchard,MpDzik/Orchard,yersans/Orchard...
src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml
src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml
@model Orchard.Tags.ViewModels.TagsAdminEditViewModel @using Orchard.ContentManagement; @using Orchard.Utility.Extensions; <h1>@Html.TitleForPage(T("Manage tag: {0}", Model.TagName).ToString()) </h1> @using (Html.BeginFormAntiForgeryPost()) { @Html.ValidationSummary() <fieldset> @Html.Hidde...
@model Orchard.Tags.ViewModels.TagsAdminEditViewModel @using Orchard.ContentManagement; @using Orchard.Utility.Extensions; <h1>@Html.TitleForPage(T("Manage tag: {0}", Model.TagName).ToString()) </h1> @using (Html.BeginFormAntiForgeryPost()) { @Html.ValidationSummary() <fieldset> @Html.Hidde...
bsd-3-clause
C#
56f689c5cc1366924ede360c6619208b0ba656da
change VaultLoader's class access level
kingsamchen/EasyKeeper
VaultLoader.cs
VaultLoader.cs
/* @ Kingsley Chen */ namespace EasyKeeper { public static class VaultLoader { public static PasswordVault LoadFromProvided(string path, string password) { return null; } public static PasswordVault LoadFromNew(string path, string password) { var v...
/* @ Kingsley Chen */ namespace EasyKeeper { internal static class VaultLoader { public static PasswordVault LoadFromProvided(string path, string password) { return null; } public static PasswordVault LoadFromNew(string path, string password) { var...
mit
C#
1f505932354e5df31d3bd071ec4f584abe2af5bb
Change clock widgets "Font Size" default value
danielchalmers/DesktopWidgets
DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs
DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs
using System; using System.Collections.Generic; using System.ComponentModel; namespace DesktopWidgets.WidgetBase.Settings { public class WidgetClockSettingsBase : WidgetSettingsBase { [Category("General")] [DisplayName("Refresh Interval")] public int UpdateInterval { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel; namespace DesktopWidgets.WidgetBase.Settings { public class WidgetClockSettingsBase : WidgetSettingsBase { [Category("General")] [DisplayName("Refresh Interval")] public int UpdateInterval { get; set; } ...
apache-2.0
C#
5293bf8785cec9239d656e31c7e889e0d7a07b68
add source to get effective route
AzureAutomationTeam/azure-powershell,krkhan/azure-powershell,seanbamsft/azure-powershell,devigned/azure-powershell,pankajsn/azure-powershell,AzureAutomationTeam/azure-powershell,alfantp/azure-powershell,alfantp/azure-powershell,yoavrubin/azure-powershell,hungmai-msft/azure-powershell,devigned/azure-powershell,zhencui/a...
src/ResourceManager/Network/Commands.Network/Models/PSEffectiveRoute.cs
src/ResourceManager/Network/Commands.Network/Models/PSEffectiveRoute.cs
// // Copyright (c) Microsoft. 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 required by applicable l...
// // Copyright (c) Microsoft. 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 required by applicable l...
apache-2.0
C#
ed14e014015042a2527210fab3af73c060677f88
Add missing full stop
smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu
osu.Game.Rulesets.Mania/Mods/ManiaModMirror.cs
osu.Game.Rulesets.Mania/Mods/ManiaModMirror.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.Extensions.IEnumerableExtensions; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rulesets.Mods; using System.Linq; using osu.Game.Beatmaps; us...
// 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.Extensions.IEnumerableExtensions; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rulesets.Mods; using System.Linq; using osu.Game.Beatmaps; us...
mit
C#
d5a1e00feb34dbfe3ec6a67ba5a64d51df47c905
Improve "barrel roll" mod settings description
NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.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 osu.Framework.Bindables; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Mods...
// 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.Bindables; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Osu.Objects; using osu.Ga...
mit
C#
0aa12925060a671326ef42fa26ae1f14f78c7ad4
Remove DisableTestParallelization on CI due to the same reason.
CXuesong/WikiClientLibrary
UnitTestProject1/Assembly.cs
UnitTestProject1/Assembly.cs
using Xunit; // This is a work-around for #11. // https://github.com/CXuesong/WikiClientLibrary/issues/11 // We are using Bot Password on CI, which may naturally evade the issue. #if ENV_CI_BUILD [assembly:CollectionBehavior(DisableTestParallelization = true)] #endif
using Xunit; // This is a work-around for #11. // https://github.com/CXuesong/WikiClientLibrary/issues/11 [assembly:CollectionBehavior(DisableTestParallelization = true)]
apache-2.0
C#
547d3228ea248a253d0e50e2a3d891980990fe7a
Undo perf regression.
SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,grokys/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,wieslawsoltes...
samples/ControlCatalog/ViewModels/ItemsRepeaterPageViewModel.cs
samples/ControlCatalog/ViewModels/ItemsRepeaterPageViewModel.cs
using System; using System.Collections.ObjectModel; using System.Linq; using Avalonia.Media; using ReactiveUI; namespace ControlCatalog.ViewModels { public class ItemsRepeaterPageViewModel : ReactiveObject { private int _newItemIndex = 1; private int _newGenerationIndex = 0; private Ob...
using System; using System.Collections.ObjectModel; using System.Linq; using Avalonia.Media; using ReactiveUI; namespace ControlCatalog.ViewModels { public class ItemsRepeaterPageViewModel : ReactiveObject { private int _newItemIndex = 1; private int _newGenerationIndex = 0; private Ob...
mit
C#
500f7ea923cec3ec267abfa1704122ec3fb19c49
Update copyright notice.
mthamil/EFDocumentationGenerator
EFDocumentationGenerator/ConnectionStrings/InnerConnectionStringParser.cs
EFDocumentationGenerator/ConnectionStrings/InnerConnectionStringParser.cs
// Entity Designer Documentation Generator // Copyright 2017 Matthew Hamilton - matthamilton@live.com // // 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.o...
// Entity Designer Documentation Generator // Copyright 2013 Matthew Hamilton - matthamilton@live.com // // 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.o...
apache-2.0
C#
2f78a81c8d8f94577a30885955939023bed8ff6b
fix failing test: GC before testing
fluffynuts/PeanutButter,fluffynuts/PeanutButter,fluffynuts/PeanutButter
source/Utils/PeanutButter.Utils.Tests/TestMetadataExtensions.cs
source/Utils/PeanutButter.Utils.Tests/TestMetadataExtensions.cs
using System; using NExpect.Implementations; using NUnit.Framework; using NExpect; using static NExpect.Expectations; using static PeanutButter.RandomGenerators.RandomValueGen; // ReSharper disable PossibleNullReferenceException // ReSharper disable TryCastAlwaysSucceeds namespace PeanutButter.Utils.Tests { [Test...
using System; using NExpect.Implementations; using NUnit.Framework; using NExpect; using static NExpect.Expectations; using static PeanutButter.RandomGenerators.RandomValueGen; // ReSharper disable PossibleNullReferenceException // ReSharper disable TryCastAlwaysSucceeds namespace PeanutButter.Utils.Tests { [Test...
bsd-3-clause
C#
b65f2067b9cf066248be5f053af56df9de3d9cc0
Add using
karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderShe...
src/Package/Impl/ProjectSystem/ProjectTreePropertiesProvider.cs
src/Package/Impl/ProjectSystem/ProjectTreePropertiesProvider.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #if VS15 using System.ComponentModel.Composition; using System.IO; using Microsoft.Common.Core; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio.Pro...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #if VS15 using System.ComponentModel.Composition; using System.IO; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio.ProjectSystem; using Microsoft.V...
mit
C#
304fb449ab3ada611797883fe50b4e8fdb9d5842
Revert "cleanup"
iolevel/peachpie-concept,iolevel/peachpie-concept,iolevel/peachpie-concept,peachpiecompiler/peachpie,peachpiecompiler/peachpie,peachpiecompiler/peachpie
src/Peachpie.CodeAnalysis/FlowAnalysis/Graph/BoundExpression.cs
src/Peachpie.CodeAnalysis/FlowAnalysis/Graph/BoundExpression.cs
using Pchp.CodeAnalysis.FlowAnalysis; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pchp.CodeAnalysis.Semantics { partial class BoundLiteral { /// <summary> /// Gets type mask of the liter...
using Pchp.CodeAnalysis.FlowAnalysis; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pchp.CodeAnalysis.Semantics { partial class BoundLiteral { /// <summary> /// Gets type mask of the liter...
apache-2.0
C#
2503cb6fd6d9c16f727c7812d412483d931609a6
Modify DepartmentService to use new CrudService
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.Services/Departments/DepartmentsService.cs
src/Diploms.Services/Departments/DepartmentsService.cs
using System; using System.Threading.Tasks; using AutoMapper; using Diploms.Core; using Diploms.Dto; using Diploms.Dto.Departments; namespace Diploms.Services.Departments { public class DepartmentsService : CrudService<Department, DepartmentEditDto, DepartmentEditDto, DepartmentEditDto> { public Depart...
using System; using System.Threading.Tasks; using AutoMapper; using Diploms.Core; using Diploms.Dto; using Diploms.Dto.Departments; namespace Diploms.Services.Departments { public class DepartmentsService { private readonly IRepository<Department> _repository; private readonly IMapper _mapper;...
mit
C#
57b9764ea168816e5b38eacfbeabdd835c837db8
make director creation aligned with service concept
rustamserg/mogate
mogate.Shared/GameMogate.cs
mogate.Shared/GameMogate.cs
#region Using Statements using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Storage; using Microsoft.Xna.Framework.Input; #endregion namespace mogate { public class GameMogate : Game { GraphicsDeviceManager m_graphics; public GameMogate () { ...
#region Using Statements using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Storage; using Microsoft.Xna.Framework.Input; #endregion namespace mogate { public class GameMogate : Game { GraphicsDeviceManager m_graphics; Director m_director; publ...
mit
C#
11c2b3c17a964de5246188ca83e8b83341e9913c
update startMenuController
oussamabonnor1/Catcheep
Documents/Unity3D/Catcheep/Assets/Scripts/startMenuManager.cs
Documents/Unity3D/Catcheep/Assets/Scripts/startMenuManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class startMenuManager : MonoBehaviour { public GameObject ScrollBarGameObject; private Scrollbar ScrollBar; private Vector2 edgeOfScreen; public int menuCou...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class startMenuManager : MonoBehaviour { public GameObject ScrollBarGameObject; private Scrollbar ScrollBar; private Vector2 edgeOfScreen; public int menuCou...
mit
C#
40c04e7776a1248e8e5bea663abcd1ad2f52f8f3
exclude IfElapsed wrapper from debugger stepthrough
ArsenShnurkov/BitSharp
BitSharp.Common/Throttler.cs
BitSharp.Common/Throttler.cs
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Runtime.CompilerServices; namespace BitSharp.Common { public static class Throttler { private static readonly ConcurrentDictionary<Tuple<string, string, int>, DateTime> lastTimes = new ConcurrentDictiona...
using System; using System.Collections.Concurrent; using System.Runtime.CompilerServices; namespace BitSharp.Common { public static class Throttler { private static readonly ConcurrentDictionary<Tuple<string, string, int>, DateTime> lastTimes = new ConcurrentDictionary<Tuple<string, string, in...
unlicense
C#
f0019dbb12619be7f392cfff9e58d8950932ea7c
Add BeneficiaryDetailsList missing properties
CurrencyCloud/currencycloud-net
Source/CurrencyCloud/Entity/List/BeneficiaryDetailsList.cs
Source/CurrencyCloud/Entity/List/BeneficiaryDetailsList.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace CurrencyCloud.Entity.List { public class BeneficiaryDetailsList { internal BeneficiaryDetailsList() { } public struct Detail { public string PaymentType { get; set; } public string AcctNumber { ...
using System.Collections.Generic; using Newtonsoft.Json; namespace CurrencyCloud.Entity.List { public class BeneficiaryDetailsList { internal BeneficiaryDetailsList() { } public struct Detail { public string PaymentType { get; set; } public string AcctNumber { ...
mit
C#
7f875becbde3219ce52783304d7129a6c1bb8c04
Fix docs for jquery-tmpl
andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette
src/Website/Views/Documentation/v2/HtmlTemplates/JQueryTmpl.cshtml
src/Website/Views/Documentation/v2/HtmlTemplates/JQueryTmpl.cshtml
@{ ViewBag.Title = "Cassette | jQuery-tmpl Template Compilation"; } <h1>jQuery-tmpl Template Compilation</h1> <p>jQuery-tmpl templates are usually embedded into a page using non-executing script blocks. The browser then compiles these into JavaScript functions at runtime. This may be fast in modern browser...
@{ ViewBag.Title = "Cassette | jQuery-tmpl Template Compilation"; } <h1>jQuery-tmpl Template Compilation</h1> <p>jQuery-tmpl templates are usually embedded into a page using non-executing script blocks. The browser then compiles these into JavaScript functions at runtime. This may be fast in modern browser...
mit
C#
3b102ffe37627a3884e89e76a08422ee9c51b786
implement all the other methods
octokit/octokit.net,alfhenrik/octokit.net,michaKFromParis/octokit.net,dampir/octokit.net,shana/octokit.net,Red-Folder/octokit.net,Sarmad93/octokit.net,shiftkey-tester/octokit.net,ivandrofly/octokit.net,ChrisMissal/octokit.net,M-Zuber/octokit.net,SmithAndr/octokit.net,gabrielweyer/octokit.net,bslliw/octokit.net,thedillo...
Octokit.Reactive/Clients/ObservableOrganizationTeamsClient.cs
Octokit.Reactive/Clients/ObservableOrganizationTeamsClient.cs
using System; using System.Reactive; using System.Reactive.Threading.Tasks; using Octokit.Reactive.Internal; namespace Octokit.Reactive { public class ObservableOrganizationTeamsClient : IObservableOrganizationTeamsClient { readonly IConnection _connection; readonly ITeamsClient _client; ...
using System; using System.Reactive; using System.Reactive.Threading.Tasks; using Octokit.Reactive.Internal; namespace Octokit.Reactive { public class ObservableOrganizationTeamsClient : IObservableOrganizationTeamsClient { readonly IConnection _connection; /// <summary> /// Initializ...
mit
C#
1583b396930d548e4e7cd30f7067844ca3601c61
Call Open action for grid activation
directhex/banshee-hacks,dufoli/banshee,stsundermann/banshee,allquixotic/banshee-gst-sharp-work,allquixotic/banshee-gst-sharp-work,mono-soc-2011/banshee,allquixotic/banshee-gst-sharp-work,GNOME/banshee,babycaseny/banshee,GNOME/banshee,babycaseny/banshee,stsundermann/banshee,directhex/banshee-hacks,lamalex/Banshee,lamale...
src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
// // AudiobookGrid.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // 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, incl...
// // AudiobookGrid.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // 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, incl...
mit
C#
73bc86a042aa903edc9beb883082477296838aae
Fix bad conflict resolution which caused mulitple entries
dotnet/roslyn,diryboy/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,weltkante/roslyn,mavasani/roslyn,diryboy/roslyn,sharwell/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,jasonmalinowski/...
src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs
src/Workspaces/Core/Portable/Experiments/IExperimentationService.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; using System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; ...
// 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; using System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; ...
mit
C#
579c99c403abfbe9aab3900758c8fad50b7cbaee
Add docs
mavasani/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,bartdesmet/roslyn,jasonmal...
src/Workspaces/Core/Portable/Workspace/Host/HostSolutionServices.cs
src/Workspaces/Core/Portable/Workspace/Host/HostSolutionServices.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; using System.Collections.Generic; using Microsoft.CodeAnalysis.Host.Mef; namespace Microsoft.CodeAna...
// 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; using System.Collections.Generic; using Microsoft.CodeAnalysis.Host.Mef; namespace Microsoft.CodeAna...
mit
C#
a44b30f698dd64de944a4b73f3ac2a66c0cff634
Update FluentCell
MarcelMalik/Fluent-Xamarin-Forms
src/FluentXamarinForms/FluentBase/FluentCellBase.cs
src/FluentXamarinForms/FluentBase/FluentCellBase.cs
using System; using Xamarin.Forms; using System.Linq.Expressions; namespace FluentXamarinForms.FluentBase { public abstract class FluentCellBase<TFluent, T> : FluentElementBase<TFluent, T> where TFluent: FluentBase<T> where T : Cell, new() { public FluentCellBase () : base ...
using System; using Xamarin.Forms; namespace FluentXamarinForms.FluentBase { public abstract class FluentCellBase<TFluent, T> : FluentElementBase<TFluent, T> where TFluent: FluentBase<T> where T : Cell, new() { public FluentCellBase () : base () { } ...
mit
C#
08ecb685dab475865abfbd7ad886a858f01d6031
add missing routes
dnauck/License.Manager,dnauck/License.Manager
src/License.Manager.Core/ServiceModel/GetLicense.cs
src/License.Manager.Core/ServiceModel/GetLicense.cs
using System; using ServiceStack.ServiceHost; namespace License.Manager.Core.ServiceModel { [Route("/licenses/{Id}", "GET, OPTIONS")] [Route("/licenses/{LicenseId}", "GET, OPTIONS")] [Route("/products/{ProductId}/licenses/{Id}", "GET, OPTIONS")] [Route("/products/{ProductId}/licenses/{LicenseId}", "GE...
using System; using ServiceStack.ServiceHost; namespace License.Manager.Core.ServiceModel { [Route("/products/{ProductId}/licenses/{Id}", "GET, OPTIONS")] [Route("/products/{ProductId}/licenses/{LicenseId}", "GET, OPTIONS")] [Route("/customers/{CustomerId}/licenses/{Id}", "GET, OPTIONS")] [Route("/cus...
mit
C#
4a44b845c12bd01ffb4d60deefb63171dc789d0d
Allow redirect to returnUrl from login part
SntsDev/n2cms,nimore/n2cms,bussemac/n2cms,VoidPointerAB/n2cms,nicklv/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,nimore/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,bussemac/n2cms,nicklv/n2cms,SntsDev/n2cms,nicklv/n2cms,EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,n2cms/n2cms,nimore/n2...
src/Mvc/MvcTemplates/Controllers/LoginController.cs
src/Mvc/MvcTemplates/Controllers/LoginController.cs
using System.Web.Mvc; using System.Web.Security; using N2.Templates.Mvc.Models.Parts; using N2.Templates.Mvc.Models; using N2.Web; namespace N2.Templates.Mvc.Controllers { [Controls(typeof(LoginItem))] public class LoginController : TemplatesControllerBase<LoginItem> { public override ActionResult Inde...
using System.Web.Mvc; using System.Web.Security; using N2.Templates.Mvc.Models.Parts; using N2.Templates.Mvc.Models; using N2.Web; namespace N2.Templates.Mvc.Controllers { [Controls(typeof(LoginItem))] public class LoginController : TemplatesControllerBase<LoginItem> { public override ActionResult Inde...
lgpl-2.1
C#
c0320e2d1665b0fcdb637c6dea5198180480f554
Kill projectiles after 2 seconds
DonRobo/satanic-buddies
Assets/Scripts/Projectile.cs
Assets/Scripts/Projectile.cs
using UnityEngine; using System.Collections; public class Projectile : MonoBehaviour { public float lifetime = 2; private float age = 0; public float damage = 10; public float speed = 30; public Vector3 direction; // Use this for initialization void Start() { direction = dire...
using UnityEngine; using System.Collections; public class Projectile : MonoBehaviour { public float damage = 10; public float speed = 30; public Vector3 direction; // Use this for initialization void Start() { direction = direction.normalized * speed; } // Update is called o...
cc0-1.0
C#
a78aac33429ebf257dbf7179f15abe156ea6ac11
Fix #400 : Title Summary
petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,lukaskabrt/Orchard2,jtkech/Orchard2,jtkech/Orchard2,lukaskabrt/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,jtkech/Orchard2,jtkech/Orchar...
src/Orchard.Cms.Web/Modules/Orchard.Title/Views/TitlePart.Summary.cshtml
src/Orchard.Cms.Web/Modules/Orchard.Title/Views/TitlePart.Summary.cshtml
@model dynamic <h2><a display-for="@Model.ContentItem">@Model.Title</a></h2>
@model dynamic <h1><a display-for="@Model.ContentItem" >@Model.Title</a></h1>
bsd-3-clause
C#
8169442ed1479122c029b63a8c178dd4d99aeeb6
Update StringExtensions.cs
BenjaminAbt/snippets
CSharp/StringExtensions.cs
CSharp/StringExtensions.cs
using System; namespace SchwabenCode.Basics { public static class StringExtensions { /// <summary> /// Cuts a string with the given max length /// </summary> public static string WithMaxLength(this string value, int maxLength) { re...
using System; namespace SchwabenCode.Core { public static class StringExtensions { /// <summary> /// Cuts a string with the given max length /// </summary> public static string WithMaxLength(this string value, int maxLength) { retu...
mit
C#
6a4878de71de9aec0c1e79fbe715b548f7e5d5ed
support limitting details request by fields
ericnewton76/gmaps-api-net
src/Google.Maps/Places/Details/PlaceDetailsRequest.cs
src/Google.Maps/Places/Details/PlaceDetailsRequest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Google.Maps.Places.Details { public class PlaceDetailsRequest : BaseRequest { /// <summary> /// Undocumented address component filters. /// Only geocoding results matching the component filters will be returned. ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Google.Maps.Places.Details { public class PlaceDetailsRequest : BaseRequest { /// <summary> /// Undocumented address component filters. /// Only geocoding results matching the component filters will be returned. ...
apache-2.0
C#
88a23a8e019f74af92306065fd360b76650f2f10
add null instance for testing
oldrev/maltreport
src/Sandwych.Reporting.Tests/Common/TestingDataSet.cs
src/Sandwych.Reporting.Tests/Common/TestingDataSet.cs
using System; using System.Collections.Generic; using System.Text; namespace Sandwych.Reporting.Tests.Common { public class TestingDataSet { public SimpleObject SimpleObject { get; private set; } = new SimpleObject(); public SimpleObject NullSimpleObject { get; private set; } = null; ...
using System; using System.Collections.Generic; using System.Text; namespace Sandwych.Reporting.Tests.Common { public class TestingDataSet { public SimpleObject SimpleObject { get; private set; } = new SimpleObject(); public Table Table1 { get; private set; } = new Table(); } }
mit
C#
54632c9feaa8590427cf6d3bd8c3b0b2e00d9fe5
Support watching of arbitrary connections
mono/dbus-sharp-glib,mono/dbus-sharp-glib
glib/GLib.cs
glib/GLib.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; //using GLib; //using Gtk; using NDesk.DBus; using NDesk.GLib; using org.freedesktop.DBus; namespace NDesk.DBus { //FIXME: this API needs review and de-unixification. It is h...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; //using GLib; //using Gtk; using NDesk.DBus; using NDesk.GLib; using org.freedesktop.DBus; namespace NDesk.DBus { //FIXME: this API needs review and de-unixification. It is h...
mit
C#
1a2a6328c4bc59864030c7f8e64e73a52f6162d0
Remove redundant code
mstrother/BmpListener
BmpListener/Bmp/BmpHeader.cs
BmpListener/Bmp/BmpHeader.cs
using System; using System.Linq; using BmpListener; namespace BmpListener.Bmp { public class BmpHeader { public BmpHeader(byte[] data) { Version = data.First(); //if (Version != 3) //{ // throw new Exception("invalid BMP version"); ...
using System; using Newtonsoft.Json; using System.Linq; using BmpListener; namespace BmpListener.Bmp { public class BmpHeader { public BmpHeader(byte[] data) { Version = data.First(); //if (Version != 3) //{ // throw new Exception("invalid BMP...
mit
C#
cd78d82927a6deb6a3ae9a89741f4d91c2abd0de
Bump version
managed-commons/SvgNet
SvgNet/AssemblyInfo.cs
SvgNet/AssemblyInfo.cs
/* Copyright © 2003 RiskCare Ltd. All rights reserved. Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved. Copyright © 2015, 2017 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICEN...
/* Copyright © 2003 RiskCare Ltd. All rights reserved. Copyright © 2010 SvgNet & SvgGdi Bridge Project. All rights reserved. Copyright © 2015, 2017 Rafael Teixeira, Mojmír Němeček, Benjamin Peterson and Other Contributors Original source code licensed with BSD-2-Clause spirit, treat it thus, see accompanied LICEN...
bsd-3-clause
C#
85485c5ebfd80de8f1e4d17068d2a88b0478fbda
remove unuse code
yb199478/catlib,CatLib/Framework
CatLib.VS/CatLib/Core/App.cs
CatLib.VS/CatLib/Core/App.cs
/* * This file is part of the CatLib package. * * (c) Yu Bin <support@catlib.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Document: http://catlib.io/ */ using System; using CatLib.API; namespace CatLib { /// <summa...
/* * This file is part of the CatLib package. * * (c) Yu Bin <support@catlib.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Document: http://catlib.io/ */ using System; using System.Reflection; using CatLib.API; namespac...
unknown
C#
37547667de34ab6d5afc01bb1bcb994afe994ce2
Paste in some more CEF docs.
ITGlobal/CefSharp,twxstar/CefSharp,dga711/CefSharp,gregmartinhtc/CefSharp,AJDev77/CefSharp,illfang/CefSharp,haozhouxu/CefSharp,NumbersInternational/CefSharp,jamespearce2006/CefSharp,haozhouxu/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,rlmcneary2/CefSharp,dga711/CefSharp,zhangjingpu/CefSharp,wangzheng888...
CefSharp/ILifeSpanHandler.cs
CefSharp/ILifeSpanHandler.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { public interface ILifeSpanHandler { /// <summary> /// Called before a popup window is created. ...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { public interface ILifeSpanHandler { bool OnBeforePopup(IWebBrowser browser, string sourceUrl, string targetUr...
bsd-3-clause
C#
2b498f45cba3554d33d3d29e7c010ee8b893e9af
Revert PortUtil.cs changes (#147)
StefH/WireMock.Net,StefH/WireMock.Net,WireMock-Net/WireMock.Net
src/WireMock.Net/Http/PortUtil.cs
src/WireMock.Net/Http/PortUtil.cs
using System.Net; using System.Net.Sockets; using System.Text.RegularExpressions; namespace WireMock.Http { /// <summary> /// Port Utility class /// </summary> public static class PortUtil { private static readonly Regex UrlDetailsRegex = new Regex(@"^(?<proto>\w+)://[^/]+?(?<port>\d+)?/",...
using System.Net; using System.Net.Sockets; using System.Text.RegularExpressions; namespace WireMock.Http { /// <summary> /// Port Utility class /// </summary> public static class PortUtil { private static readonly IPEndPoint DefaultLoopbackEndpoint = new IPEndPoint(IPAddress.Loopback, por...
apache-2.0
C#
7321d5047974be13ac2d1a4df4bdc023d6f4f2b8
Create a new copy of the MapContext every time a new MapContextScope is created
eswann/Mapster
src/Mapster.Core/MapContext/MapContextScope.cs
src/Mapster.Core/MapContext/MapContextScope.cs
using System; using Mapster.Utils; namespace Mapster { public class MapContextScope : IDisposable { public MapContext Context { get; } private readonly MapContext? _oldContext; public MapContextScope() { _oldContext = MapContext.Current; this.Context ...
using System; using Mapster.Utils; namespace Mapster { public class MapContextScope : IDisposable { public MapContext Context { get; } private readonly bool _isRootScope; public MapContextScope() { var context = MapContext.Current; if (context == null) ...
mit
C#
e1a703822ecfa68a89a4d62893a5359d184ddb2e
Break out listing variable in LoanTest
jzebedee/lcapi
LCAPI/LcapiTests/LoanTest.cs
LCAPI/LcapiTests/LoanTest.cs
using System.Collections.Generic; using System.IO; using System.Linq; using LendingClub; using Xunit; namespace LcapiTests { public class LoanTest { private KeyValuePair<string, string> GetTestCredentials() { var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\lcapi\LCAPI\testC...
using System.Collections.Generic; using System.IO; using System.Linq; using LendingClub; using Xunit; namespace LcapiTests { public class LoanTest { private KeyValuePair<string, string> GetTestCredentials() { var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\lcapi\LCAPI\testC...
agpl-3.0
C#
70c84811ed00a37b438cea3941000bba12ed418d
Revert incorrect change
peppy/osu-new,peppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game.Tests/Resources/TestResources.cs
osu.Game.Tests/Resources/TestResources.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.IO; using NUnit.Framework; using osu.Framework.IO.Stores; namespace osu.Game.Tests.Resources { public static class TestResources { public s...
// 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 NUnit.Framework; using osu.Framework; using osu.Framework.IO.Stores; namespace osu.Game.Tests.Resources { public static class TestResources ...
mit
C#
f99435ff6a8b80cfac0a89d4a3210338026ff5f8
Add a null check to FlatProgressBar.brush
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Controls/FlatProgressBar.Designer.cs
Core/Controls/FlatProgressBar.Designer.cs
namespace TweetDick.Core.Controls { partial class FlatProgressBar { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
namespace TweetDick.Core.Controls { partial class FlatProgressBar { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
mit
C#
665c61f832d384cebb63e38f2b501055b1561a8b
Make surveillance camera static shorter (#11757)
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/SurveillanceCamera/ActiveSurveillanceCameraMonitor.cs
Content.Client/SurveillanceCamera/ActiveSurveillanceCameraMonitor.cs
namespace Content.Client.SurveillanceCamera; [RegisterComponent] public sealed class ActiveSurveillanceCameraMonitorVisualsComponent : Component { public float TimeLeft = 10f; public Action? OnFinish; }
namespace Content.Client.SurveillanceCamera; [RegisterComponent] public sealed class ActiveSurveillanceCameraMonitorVisualsComponent : Component { public float TimeLeft = 30f; public Action? OnFinish; }
mit
C#
ed450ad5a2411693a87336061d3ca9b0632e0fd7
Update SnapshotSpanExtensionMethods.cs
Zebrina/PapyrusScriptEditorVSIX,Zebrina/PapyrusScriptEditorVSIX
PapyrusScriptEditorVSIX/Common/Extensions/SnapshotSpanExtensionMethods.cs
PapyrusScriptEditorVSIX/Common/Extensions/SnapshotSpanExtensionMethods.cs
using Microsoft.VisualStudio.Text; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Papyrus.Common.Extensions { internal static class TextSnapshotExtensionMethods { #region ITextSnapshot public static SnapshotSpan...
using Microsoft.VisualStudio.Text; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Papyrus.Common.Extensions { internal static class SnapshotSpanExtended { public static SnapshotSpan Subspan(this SnapshotSpan value, int offset, ...
mit
C#
2f97dc7874801258e9046562934a1ea88b6e2df6
Add LauncherId to CompanyFile (used to Launch a CF from ARL via Link in Partner Dashboard)
tungripe/AccountRight_Live_API_.Net_SDK,sawilde/AccountRight_Live_API_.Net_SDK,MYOB-Technology/AccountRight_Live_API_.Net_SDK
MYOB.API.SDK/SDK/Contracts/CompanyFile.cs
MYOB.API.SDK/SDK/Contracts/CompanyFile.cs
using System; using System.Runtime.Serialization; namespace MYOB.AccountRight.SDK.Contracts { /// <summary> /// CompanyFile /// </summary> public class CompanyFile { /// <summary> /// The CompanyFile Identifier /// </summary> public Guid Id { get; set; } ...
using System; using System.Runtime.Serialization; namespace MYOB.AccountRight.SDK.Contracts { /// <summary> /// CompanyFile /// </summary> public class CompanyFile { /// <summary> /// The CompanyFile Identifier /// </summary> public Guid Id { get; set; } ...
mit
C#
202174fccb5f681fc8d4d8328347a77d0dab3287
Fix an error communicating with some Network Devices (KeyNotFoundException)
IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
MultiMiner.Xgminer.Api/Parsers/MinerStatisticsParser.cs
MultiMiner.Xgminer.Api/Parsers/MinerStatisticsParser.cs
using MultiMiner.Xgminer.Api.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MultiMiner.Xgminer.Api.Parsers { class MinerStatisticsParser : ResponseTextParser { public static void ParseTextForMinerStatistics(string text, List<MinerStatistics> miner...
using MultiMiner.Xgminer.Api.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MultiMiner.Xgminer.Api.Parsers { class MinerStatisticsParser : ResponseTextParser { public static void ParseTextForMinerStatistics(string text, List<MinerStatistics> miner...
mit
C#
2906c712ea322709fe6451c17f4254cdc70535ab
enable mixing CallOriginal with DoInstead
telerik/JustMockLite
Telerik.JustMock/Core/Behaviors/CallOriginalBehavior.cs
Telerik.JustMock/Core/Behaviors/CallOriginalBehavior.cs
/* JustMock Lite Copyright © 2010-2014 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* JustMock Lite Copyright © 2010-2014 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apache-2.0
C#
bad0d3070d765bbe4550fb6b3153d8cfe2f3a71a
Add link to Question Index.
dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch
TeacherPouch.Web/Views/Admin/Index.cshtml
TeacherPouch.Web/Views/Admin/Index.cshtml
@model AdminViewModel @{ ViewBag.Title = "Admin"; } <div id="admin"> <h2>Admin Home</h2> <h4>Welcome, @Model.UserName!</h4> <fieldset> <legend>Your Account</legend> <p>Assigned Roles: @Model.Roles</p> </fieldset> <fieldset> <legend>Photos</legend> @if (S...
@model AdminViewModel @{ ViewBag.Title = "Admin"; } <div id="admin"> <h2>Admin Home</h2> <h4>Welcome, @Model.UserName!</h4> <fieldset> <legend>Your Account</legend> <p>Assigned Roles: @Model.Roles</p> </fieldset> <fieldset> <legend>Photos</legend> @if (S...
mit
C#
967c67f19f445df498af5d718907fbcb358fab53
Fix compilation.
CosmosOS/Cosmos,MyvarHD/Cosmos,jp2masa/Cosmos,trivalik/Cosmos,MyvarHD/Cosmos,Cyber4/Cosmos,zhangwenquan/Cosmos,tgiphil/Cosmos,kant2002/Cosmos-1,sgetaz/Cosmos,CosmosOS/Cosmos,sgetaz/Cosmos,kant2002/Cosmos-1,fanoI/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,zhangwenquan/Cosmos,MetSystem/Cosmos,zhangwe...
Users/Matthijs/PlaygroundHAL/HALGlobal.cs
Users/Matthijs/PlaygroundHAL/HALGlobal.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cosmos.Core; namespace PlaygroundHAL { public static class HALGlobal { public static void Test() { //Heap.SendStatsToDebugger(); //Heap.SendStatsToD...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cosmos.Core; namespace PlaygroundHAL { public static class HALGlobal { public static void Test() { Heap.SendStatsToDebugger(); Heap.SendStatsToDebug...
bsd-3-clause
C#
b4e7b030e6d8b3677929212c9db370ab2b12ecab
Update library version to 1.3.6
ion-sapoval/google-measurement-protocol-dotnet
src/GoogleMeasurementProtocol/Properties/AssemblyInfo.cs
src/GoogleMeasurementProtocol/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("GoogleMeasurementProtocol")] [assembly: A...
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("GoogleMeasurementProtocol")] [assembly: A...
mit
C#
845050294d640bb8734a5ab5e7c59195e9875c62
Create multiple events, serialize and re-load.
mdavid/DDay-iCal-svn
Example2/Program.cs
Example2/Program.cs
using System; using System.Collections.Generic; using System.Text; using DDay.iCal; using DDay.iCal.Components; using DDay.iCal.DataTypes; using DDay.iCal.Serialization; namespace Example2 { public class Program { /// <summary> /// Creates a string representation of an event. ...
using System; using System.Collections.Generic; using System.Text; using DDay.iCal; using DDay.iCal.Components; using DDay.iCal.Serialization; namespace Example2 { public class Program { static void Main(string[] args) { // Create a new iCalendar iCalendar ...
bsd-3-clause
C#
cf6831d8f9e4b14d63a5ccaef41d9afafcb09544
fix detyper registration
volak/Aggregates.NET,volak/Aggregates.NET
src/Aggregates.NET.NServiceBus/Internal/MessageDetyper.cs
src/Aggregates.NET.NServiceBus/Internal/MessageDetyper.cs
using Aggregates.Extensions; using Aggregates.Logging; using NServiceBus.Pipeline; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using System.Threading.Tasks; namespace Aggregates.Internal { public class MessageDetyper : Behavior<IOutgoingPhysicalMessage...
using Aggregates.Extensions; using Aggregates.Logging; using NServiceBus.Pipeline; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using System.Threading.Tasks; namespace Aggregates.Internal { public class MessageDetyper : Behavior<IOutgoingPhysicalMessage...
mit
C#
e8cc8ec17feafed2ffecb2bf9321ea7b5ccae3f7
fix datagrid xmlns attribute.
SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/A...
src/Avalonia.Controls.DataGrid/Properties/AssemblyInfo.cs
src/Avalonia.Controls.DataGrid/Properties/AssemblyInfo.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Runtime.CompilerServices; using Avalonia.Metadata; [assembly: InternalsVisibleTo("Avalonia.Controls.UnitTests")] [a...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Runtime.CompilerServices; using Avalonia.Metadata; [assembly: InternalsVisibleTo("Avalonia.Controls.UnitTests")] [a...
mit
C#
85ec125219cd9f6d3ad47da7fbd2e0ec3fe501df
Update ACommand_ResLenFlex class. -Modify CheckLen() method. -Add comment to constructor.
CountrySideEngineer/Ev3Controller
dev/src/Ev3Controller/Ev3Command/ACommand_ResLenFlex.cs
dev/src/Ev3Controller/Ev3Command/ACommand_ResLenFlex.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ev3Controller.Ev3Command { public abstract class ACommand_ResLenFlex : ACommand { #region Constructors and the Finalizer /// <summ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ev3Controller.Ev3Command { public abstract class ACommand_ResLenFlex : ACommand { #region Constructors and the Finalizer public AC...
mit
C#
366583c8e24bc3b7f2e533e8ea4623641507c5bd
Update tests
smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
mit
C#
adc2dfa6c6ffecf27ae299d0cecd1e2844d380f3
Fix HitCircleLongCombo test stacking off-screen
peppy/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,Useless...
osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleLongCombo.cs
osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleLongCombo.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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Tests.Visual; using osuTK; namespace osu.Game.Rulesets.Osu.Tests { ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Tests.Visual; using osuTK; namespace osu.Game.Rulesets.Osu.Tests { ...
mit
C#
07efca6a8e865d94bd1b5efb47922445c1098fa5
Fix being unable to remove project reference from Dependencies folder.
mrward/monodevelop-dnx-addin
src/MonoDevelop.Dnx/MonoDevelop.Dnx.NodeBuilders/DependencyNodeBuilder.cs
src/MonoDevelop.Dnx/MonoDevelop.Dnx.NodeBuilders/DependencyNodeBuilder.cs
// // DependencyNodeBuilder.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 Matthew Ward // // 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 rest...
// // DependencyNodeBuilder.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 Matthew Ward // // 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 rest...
mit
C#
5265bd95160fc94920a3bf723e839cd00fda5ca1
Add retry to SetCloudBuildVariable method in VisualStudioTeamServices.
AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning
src/NerdBank.GitVersioning/CloudBuildServices/VisualStudioTeamServices.cs
src/NerdBank.GitVersioning/CloudBuildServices/VisualStudioTeamServices.cs
namespace Nerdbank.GitVersioning.CloudBuildServices { using System; using System.Collections.Generic; using System.IO; /// <summary> /// /// </summary> /// <remarks> /// The VSTS-specific properties referenced here are documented here: /// https://msdn.microsoft.com/en-us/Library/...
namespace Nerdbank.GitVersioning.CloudBuildServices { using System; using System.Collections.Generic; using System.IO; /// <summary> /// /// </summary> /// <remarks> /// The VSTS-specific properties referenced here are documented here: /// https://msdn.microsoft.com/en-us/Library/...
mit
C#
67462477cd89bd9ac030961bcce8abfb82ed4b2d
Update Pregunta1.cs
Baltasarq/ExamenDIA
Codigo/Pregunta1/Pregunta1.cs
Codigo/Pregunta1/Pregunta1.cs
namespace Codigo.Pregunta1 { public static class Pregunta1 { public const string Explicacion = @" Esta es la plantilla para cualquier examen de DIA. Debe funcionar tanto en MonoDevelop/XamarinStudio, como Visual Studio. Si tienes que compartir fuentes entre preguntas (p.ej., porque se pide ampliar una cl...
namespace Codigo.Pregunta1 { public static class Pregunta1 { public const string Explicacion = @" Esta es la plantilla para cualquier examen de DIA. Debe funcionar tanto en MonoDevelop/XamarinStudio, como Visual Studio. Si tienes que compartir fuentes entre preguntas (p.ej., porque se pide ampliar una cl...
mit
C#
c76782201709c7b4e9a4bbb74abe79fbd1e17e2c
Comment Fail classes #7 - added comment to DesignByContractViolationException
synergy-software/synergy.contracts,synergy-software/synergy.contracts
Synergy.Contracts/Failures/DesignByContractViolationException.cs
Synergy.Contracts/Failures/DesignByContractViolationException.cs
using System; using System.Runtime.Serialization; using JetBrains.Annotations; namespace Synergy.Contracts { /// <summary> /// The exception thrown when some contract check failed. /// When you see it it means that someone does not meet the contract. /// </summary> [Serializable] public class D...
using System; using System.Runtime.Serialization; using JetBrains.Annotations; namespace Synergy.Contracts { /// <summary> /// Wyjtek rzucany gwnie przez klas <see cref="Fail"/>. Mwi on o tym, e wiat zewntrzny /// dla naszej logiki nie speni kontraktu jaki nasz kod zakada - np. przyszed null do metody ...
mit
C#
82d76d9b4c64032520a02d9eec1d99467a8ffc7a
Use the Builder factory where possible in tests
alastairs/BobTheBuilder
BobTheBuilder.Tests/MethodSyntaxFacts.cs
BobTheBuilder.Tests/MethodSyntaxFacts.cs
using System; using BobTheBuilder.ArgumentStore; using BobTheBuilder.Syntax; using Microsoft.CSharp.RuntimeBinder; using NSubstitute; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace BobTheBuilder.Tests { public class MethodSyntaxFacts { [Theory, AutoData] pub...
using System; using BobTheBuilder.ArgumentStore; using BobTheBuilder.Syntax; using Microsoft.CSharp.RuntimeBinder; using NSubstitute; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace BobTheBuilder.Tests { public class MethodSyntaxFacts { [Theory, AutoData] pub...
apache-2.0
C#
a75380c5fb0313bc5795b62aa7ad92f1ad98568c
Update Util.cs
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/Util.cs
Util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/Util.cs
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Security.Cryptography; namespace AndroidBinderator { internal static class Util { internal static string HashMd5(Stream value) { ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using System.Security.Cryptography; namespace AndroidBinderator { internal static class Util { internal static string HashMd5(Stream value) { using (var md5 =...
mit
C#
47f04231af4519dc8a4302263f460b6194dc2bc5
Add support for command line arguments to configuration
LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp
src/KillrVideo.Host/Config/EnvironmentConfigurationSource.cs
src/KillrVideo.Host/Config/EnvironmentConfigurationSource.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace KillrVideo.Host.Config { /// <summary> /// Gets configuration values from command line args and environment variables. /// </summary> public class EnvironmentConfigurationSource : IHostCo...
using System; using System.Text.RegularExpressions; namespace KillrVideo.Host.Config { /// <summary> /// Gets configuration values from environment variables. /// </summary> public class EnvironmentConfigurationSource : IHostConfigurationSource { private static readonly Regex MatchCaps = n...
apache-2.0
C#
25826958a3a1563d4ff1b842a00459f88394cf71
Fix 4 for #187
imulus/Archetype,kipusoep/Archetype,kjac/Archetype,Nicholas-Westby/Archetype,Nicholas-Westby/Archetype,kgiszewski/Archetype,kjac/Archetype,kipusoep/Archetype,kgiszewski/Archetype,kgiszewski/Archetype,kjac/Archetype,tomfulton/Archetype,imulus/Archetype,imulus/Archetype,Nicholas-Westby/Archetype,kipusoep/Archetype,tomful...
app/Umbraco/Umbraco.Archetype/Api/ArchetypeDataTypeController.cs
app/Umbraco/Umbraco.Archetype/Api/ArchetypeDataTypeController.cs
using System.Collections.Generic; using System; using System.Linq; using System.Net; using System.Web.Http; using AutoMapper; using Umbraco.Core.Models; using Umbraco.Web.Models.ContentEditing; using Umbraco.Web.Mvc; using Umbraco.Web.Editors; namespace Archetype.Api { [PluginController("ArchetypeApi")] publi...
using System.Collections.Generic; using System; using System.Linq; using System.Net; using System.Web.Http; using AutoMapper; using Umbraco.Core.Models; using Umbraco.Web.Models.ContentEditing; using Umbraco.Web.Mvc; using Umbraco.Web.Editors; namespace Archetype.Api { [PluginController("ArchetypeApi")] publi...
mit
C#
45f993bbfdc5497fc74a4c4e0ceb4951f987e1fa
Update master
Sohra/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,offspringer/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,Sohra/mvc.jquery.datatables
Mvc.JQuery.Datatables.Templates/Properties/AssemblyInfo.cs
Mvc.JQuery.Datatables.Templates/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("Mv...
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("Mv...
mit
C#
030fa0ef52e80b0da417ad03c7953498b41d7346
Update RunPoolingSystem.cs
cdrandin/Simple-Object-Pooling
PoolingSystem_Demo/Assets/Demo/Scripts/RunPoolingSystem.cs
PoolingSystem_Demo/Assets/Demo/Scripts/RunPoolingSystem.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class RunPoolingSystem : MonoBehaviour { public bool test; public List<GameObject> objects_to_pool; public List<GameObject> objects_in_the_pool; // Use this for initialization void Start () { } // Update is called on...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class RunPoolingSystem : MonoBehaviour { public List<GameObject> objects_to_pool; public List<GameObject> objects_in_the_pool; // Use this for initialization void Start () { } // Update is called once per frame void U...
mit
C#
75e39b795d1179a72382a5d383e81507ef66b2d6
Change 1.
robpearson/SimpleWebApp,robpearson/SimpleWebApp,robpearson/SimpleWebApp
RobPearson.SimpleWebApp/Views/Home/Index.cshtml
RobPearson.SimpleWebApp/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <p>Change 1.</p>
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>Index</h1> <p class="lead">Index something something something.</p> </div> <div class="row"> <div class="col-md-4"> <h2>Getting started</h2> <p> ASP.NET MVC gives you a powerful, patterns-based way to build dyna...
mit
C#
e6dbf65c7938fcbf572a54ad482fc197a7cdd075
call base.Init in vectormotortemplate
badgeir/ule,badgeir/ule
unityproj/Assets/ULE/Scripts/Motor/Templates/VectorMotorTemplate.cs
unityproj/Assets/ULE/Scripts/Motor/Templates/VectorMotorTemplate.cs
using UnityEngine; using System.Collections; using ULE; public class VectorMotorTemplate : VectorMotor { void Start () { mName = "Name"; mLength = 3; mMinVal = -1; mMaxVal = 1; base.Init(); } // Called when a new action is received protected override void Act(float[] ...
using UnityEngine; using System.Collections; using ULE; public class VectorMotorTemplate : VectorMotor { void Start () { mName = "Name"; mLength = 3; mMinVal = -1; mMaxVal = 1; } // Called when a new action is received protected override void Act(float[] action) { ...
mit
C#
a24a27940408a6c6ddf082f9073b5b9db79c0eef
use OsuMarkdownListItem for ListItemBlock
NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu
osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.cs
osu.Game/Graphics/Containers/Markdown/OsuMarkdownContainer.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 Markdig; using Markdig.Extensions.AutoIdentifiers; using Markdig.Extensions.Tables; using Markdig.Extensions.Yaml; using Markdig.Syntax; using osu.Framework.Graphic...
// 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 Markdig; using Markdig.Extensions.AutoIdentifiers; using Markdig.Extensions.Tables; using Markdig.Extensions.Yaml; using Markdig.Syntax; using osu.Framework.Graphic...
mit
C#
6d7ba328ce7a2698a8dbabd32944b19500b11e23
Remove unnecessary point type check
layeredio/Harlow,johnvcoleman/Harlow
Harlow/Harlow/VectorPoint.cs
Harlow/Harlow/VectorPoint.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Harlow { public class VectorPoint : VectorFeature { public VectorPoint(int numOfPoints, ShapeType shapeType) : base (numOfPoints, shapeType) { t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Harlow { public class VectorPoint : VectorFeature { public VectorPoint(int numOfPoints, ShapeType shapeType) : base (numOfPoints, shapeType) { i...
mit
C#
0d569da92c6a3b6e8b92a95f686c55c706d53ba7
Remove unused field
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Razor.Evolution/Legacy/ParserBase.cs
src/Microsoft.AspNetCore.Razor.Evolution/Legacy/ParserBase.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. namespace Microsoft.AspNetCore.Razor.Evolution.Legacy { internal abstract class ParserBase { public ParserBase(ParserContext context) ...
// 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. namespace Microsoft.AspNetCore.Razor.Evolution.Legacy { internal abstract class ParserBase { private ParserContext _context; pu...
apache-2.0
C#
3f171549f0c858dbf1d77aca0da26f9b973f2c1c
remove unnecessary method
roflkins/IdentityServer3,wondertrap/IdentityServer3,18098924759/IdentityServer3,delloncba/IdentityServer3,tonyeung/IdentityServer3,iamkoch/IdentityServer3,18098924759/IdentityServer3,codeice/IdentityServer3,yanjustino/IdentityServer3,SonOfSam/IdentityServer3,tbitowner/IdentityServer3,tonyeung/IdentityServer3,huoxudong1...
source/Core/Configuration/Registration.cs
source/Core/Configuration/Registration.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
C#
a83e80f88da8edd55bb177fab9df1f1499dfb546
Comment extends IdentifiableDeletableEntity<int> now.
vladislav-karamfilov/Bloggable,vladislav-karamfilov/Bloggable
src/Data/Bloggable.Data.Models/Comment.cs
src/Data/Bloggable.Data.Models/Comment.cs
namespace Bloggable.Data.Models { using System.ComponentModel.DataAnnotations; using Bloggable.Data.Contracts; public class Comment : IdentifiableDeletableEntity<int> { [Required] //// TODO: Add validation for length public string Content { get; set; } public int Post...
namespace Bloggable.Data.Models { using System.ComponentModel.DataAnnotations; public class Comment { [Key] public int Id { get; set; } [Required] //// TODO: Add validation for length public string Content { get; set; } public int PostId { get; set; } ...
mit
C#
5eab62b84110c716bc10603746a7a76fed09612d
Update WeeklyXamarin.cs
stvansolano/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamar...
src/Firehose.Web/Authors/WeeklyXamarin.cs
src/Firehose.Web/Authors/WeeklyXamarin.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class WeeklyXamarin : IAmACommunityMember { public string FirstName => "Weekly"; public string LastName => "Xamarin"; public string StateOrRegion => "Internet"; ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class WeeklyXamarin : IAmACommunityMember { public string FirstName => "Weekly"; public string LastName => "Xamarin"; public string StateOrRegion => "Internet"; ...
mit
C#
02beb04c4bc09bffd5c607523b1058b675a6ba35
Update HtmlSanitizerOptions.cs
mganss/HtmlSanitizer
src/HtmlSanitizer/HtmlSanitizerOptions.cs
src/HtmlSanitizer/HtmlSanitizerOptions.cs
using AngleSharp.Css.Dom; using System; using System.Collections.Generic; namespace Ganss.XSS { /// <summary> /// Provides options to be used with <see cref="HtmlSanitizer"/>. /// </summary> public class HtmlSanitizerOptions { /// <summary> /// Gets or sets the allowed tag names suc...
using AngleSharp.Css.Dom; using System; using System.Collections.Generic; namespace Ganss.XSS { /// <summary> /// Provides options to be used with <see cref="HtmlSanitizer"/>. /// </summary> public class HtmlSanitizerOptions { /// <summary> /// Gets or sets the allowed tag names suc...
mit
C#
ed1019fa48645ad6688eaa267810fcc66f8a8d5c
Increment assembly version for new Nuget build.
dneelyep/MonoGameUtils
MonoGameUtils/Properties/AssemblyInfo.cs
MonoGameUtils/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("MonoGameUtils")] [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("MonoGameUtils")] [assembly: AssemblyDescri...
mit
C#
abf718242b11519825228a2f6098dff745231608
Make explicit marker font semi-bold
peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu
osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.cs
osu.Game/Overlays/BeatmapSet/ExplicitBeatmapPill.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.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; using...
// 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.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; using...
mit
C#
7a55931bbe6661ac640ad339d829d6a063168b3a
Update IWebElementExtensions.ToDetailedString method
atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata
src/Atata.WebDriverExtras/Extensions/IWebElementExtensions.cs
src/Atata.WebDriverExtras/Extensions/IWebElementExtensions.cs
using System; using System.Linq; using OpenQA.Selenium; namespace Atata { // TODO: Review IWebElementExtensions class. Remove unused methods. public static class IWebElementExtensions { public static WebElementExtendedSearchContext Try(this IWebElement element) { return new Web...
using System; using System.Linq; using OpenQA.Selenium; namespace Atata { // TODO: Review IWebElementExtensions class. Remove unused methods. public static class IWebElementExtensions { public static WebElementExtendedSearchContext Try(this IWebElement element) { return new Web...
apache-2.0
C#
3d48344a8f1978b99e83e51e8234682f246eba3c
update yaml option
sergey-vershinin/docfx,928PJY/docfx,pascalberger/docfx,superyyrrzz/docfx,hellosnow/docfx,DuncanmaMSFT/docfx,superyyrrzz/docfx,sergey-vershinin/docfx,sergey-vershinin/docfx,hellosnow/docfx,LordZoltan/docfx,LordZoltan/docfx,superyyrrzz/docfx,hellosnow/docfx,pascalberger/docfx,DuncanmaMSFT/docfx,dotnet/docfx,928PJY/docfx,...
src/Microsoft.DocAsCode.EntityModel/YamlUtility.cs
src/Microsoft.DocAsCode.EntityModel/YamlUtility.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.EntityModel { using System.IO; using System.Threading; using YamlDotNet.Serialization; using Microsoft.DocAsCode.YamlSe...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.EntityModel { using System.IO; using System.Threading; using Microsoft.DocAsCode.YamlSerialization; public static class...
mit
C#
68c55a795ecdd17c2c7e03d56c302709624728d3
Fix a typo: make a hyperlink actually a link.
zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,zaccharles/nodatime,nodatime/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,jskeet/nodatime,nodatime/nodatime
src/NodaTime.Serialization.JsonNet/NamespaceDoc.cs
src/NodaTime.Serialization.JsonNet/NamespaceDoc.cs
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // h...
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // h...
apache-2.0
C#
d5a3eac107cae781d58d14b7060448bee676d591
Update StructuredLoggerCheckerUtil.cs
CyrusNajmabadi/roslyn,mavasani/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,dotnet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,dotnet/roslyn,bart...
src/Tools/BuildBoss/StructuredLoggerCheckerUtil.cs
src/Tools/BuildBoss/StructuredLoggerCheckerUtil.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. #nullable disable using System; using System.IO; using System.Linq; using Microsoft.Build.Logging.StructuredLogger...
// 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. #nullable disable using System; using System.IO; using System.Linq; using Microsoft.Build.Logging.StructuredLogger...
mit
C#
5017017a26ab4ae2b8e8164fd5a0206b0303db43
Update CopyControls.cs
asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,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,maria-shahid-aspose/Aspose.Cells-for-....
Examples/CSharp/Articles/CopyShapesBetweenWorksheets/CopyControls.cs
Examples/CSharp/Articles/CopyShapesBetweenWorksheets/CopyControls.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.CopyShapesBetweenWorksheets { public class CopyControls { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Uti...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.CopyShapesBetweenWorksheets { public class CopyControls { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Ref...
mit
C#
039c3ad1b9bb884620edc6edaef1312ed15866ea
Use new array indexing syntax
jasonracey/PlaylistGrabber
PlaylistGrabber/Downloader.cs
PlaylistGrabber/Downloader.cs
using System; using System.Collections.Generic; using System.IO; using System.Net; namespace PlaylistGrabber { public class Downloader { public string State { get; private set; } public int DownloadedFiles { get; private set; } public int TotalFiles { get; private set; } pub...
using System; using System.Collections.Generic; using System.IO; using System.Net; namespace PlaylistGrabber { public class Downloader { public string State { get; private set; } public int DownloadedFiles { get; private set; } public int TotalFiles { get; private set; } pub...
mit
C#
f71a064357b02d7c5aa76000e47d3899ab55d626
Update AssemblyInfo.cs
aaronhance/SharpTUI
STUI/Properties/AssemblyInfo.cs
STUI/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("Sh...
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("Sh...
apache-2.0
C#
510109e57e25eb1fbf44a56ab38132994723c46d
Remove the AheadBy/BehindBy workaround on MacOSX Can be handled with the new RepositoryView view model
awaescher/RepoZ,awaescher/RepoZ
RepoZ.Api.Mac/Git/MacRepositoryReader.cs
RepoZ.Api.Mac/Git/MacRepositoryReader.cs
using System.Linq; using LibGit2Sharp; using RepoZ.Api.Git; namespace RepoZ.Api.Mac.Git { public class MacRepositoryReader : IRepositoryReader { public Api.Git.Repository ReadRepository(string path) { if (string.IsNullOrEmpty(path)) return Api.Git.Repository.Empty; string repoPath = LibGit2Sharp.Repo...
using System.Linq; using LibGit2Sharp; using RepoZ.Api.Git; namespace RepoZ.Api.Mac.Git { public class MacRepositoryReader : IRepositoryReader { public Api.Git.Repository ReadRepository(string path) { if (string.IsNullOrEmpty(path)) return Api.Git.Repository.Empty; string repoPath = LibGit2Sharp.Repo...
mit
C#
61a28d9a7c542d1797ba57a0815edbefdb41c74f
Add docstring for ValidationDiagnostic
riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy
DotvvmAcademy/DotvvmAcademy.Validation/ValidationDiagnostic.cs
DotvvmAcademy/DotvvmAcademy.Validation/ValidationDiagnostic.cs
namespace DotvvmAcademy.Validation { /// <summary> /// Represents an issue found by an <see cref="IValidationService{TRequest, TResponse}"/>. /// </summary> public class ValidationDiagnostic { /// <summary> /// Creates a new <see cref="ValidationDiagnostic"/>. /// </summary>...
namespace DotvvmAcademy.Validation { public class ValidationDiagnostic { public ValidationDiagnostic(string id, string message, ValidationDiagnosticLocation location) { Id = id; Message = message; Location = location; } public string Id { get...
apache-2.0
C#
49586cbf48b5782cb637352112c1bf4b845b5b9d
Fix pre-5.0.2 Plane Annotation Drawing
stevefsp/Lizitt-Unity3D-Utilities
Source/Lizitt/Utils/Core/Editor/SimplePlaneAnnotationEditor.cs
Source/Lizitt/Utils/Core/Editor/SimplePlaneAnnotationEditor.cs
/* * Copyright (c) 2015 Stephen A. Pratt * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, p...
/* * Copyright (c) 2015 Stephen A. Pratt * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, p...
mit
C#
260cbb7e1ef088012a4a932c1f15e4f8e2364173
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/ArgumentSetWithIncompatibleValueException.cs
Source/NSubstitute/Exceptions/ArgumentSetWithIncompatibleValueException.cs
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class ArgumentSetWithIncompatibleValueException : SubstituteException { const string WhatProbablyWentWrong = "Could not set value of type {2} to argument {0} ({1}) because the types are incom...
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class ArgumentSetWithIncompatibleValueException : SubstituteException { const string WhatProbablyWentWrong = "Could not set value of type {2} to argument {0} ({1}) because the types are incompatible."; ...
bsd-3-clause
C#
e7f3941b1b81bfe5940ab0da6297023aa3d762c0
Revert "Quarantine all ProjectTemplate tests until dotnet new lock issue is resolved."
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/test/AssemblyInfo.AssemblyFixtures.cs
src/ProjectTemplates/test/AssemblyInfo.AssemblyFixtures.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.E2ETesting; using Microsoft.AspNetCore.Testing; using Templates.Test.Helpers; using Xunit; [assembly: TestFramework("Microso...
// 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.E2ETesting; using Microsoft.AspNetCore.Testing; using Templates.Test.Helpers; using Xunit; [assembly: TestFramework("Microso...
apache-2.0
C#