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 |
|---|---|---|---|---|---|---|---|---|
10ff33ec17a2529641c4d7fa01fef24f165bd2e5 | refactor random utils | BigEggTools/PowerMode | PowerMode/Utils/RandomUtils.cs | PowerMode/Utils/RandomUtils.cs | namespace BigEgg.Tools.PowerMode.Utils
{
using System;
using System.Collections.Generic;
using System.Drawing;
public class RandomUtils
{
public static Random Random { get; } = new Random(DateTime.Now.Millisecond);
public static string NextString(IList<string> stringList)
... | namespace BigEgg.Tools.PowerMode.Utils
{
using System;
using System.Collections.Generic;
using System.Drawing;
public class RandomUtils
{
private static Random random = new Random(DateTime.Now.Millisecond);
public static Random Random { get { return random; } }
public s... | mit | C# |
76377305645ffeab0f769b1d2c8f58f992bdef02 | Update HeapSort.cs | natalya-k/algorithms | sort/HeapSort.cs | sort/HeapSort.cs | namespace Algorithms
{
public static class HeapSort
{
public static void Run(int[] array)
{
//индекс последнего узла, у которого есть хотя бы один потомок
int begin = array.Length / 2 - 1;
for (int i = begin; i >= 0; i--)
{
... | namespace Algorithms
{
public static class HeapSort
{
public static void Run(int[] array)
{
int begin = array.Length / 2 - 1;
for (int i = begin; i >= 0; i--)
{
Heapify(array, array.Length, i);
}
for (int... | mit | C# |
899f5ddf46d565c8e4be7cd5339de3629ef11f53 | Fix issue vertigra/NetTelebot-2.0#113 | vertigra/NetTelebot-2.0,themehrdad/NetTelebot | NetTelebot.ReplyKeyboardMarkup.TestApplication/ReplyKeyboard.cs | NetTelebot.ReplyKeyboardMarkup.TestApplication/ReplyKeyboard.cs | using NetTelebot.Type.Keyboard;
namespace NetTelebot.ReplyKeyboardMarkups.TestApplication
{
internal static class ReplyKeyboard
{
internal static ReplyKeyboardMarkup GetKeyboard()
{
KeyboardButton[] line1 =
{
new KeyboardButton {Text = "1"},
... | using NetTelebot.Type.Keyboard;
namespace NetTelebot.ReplyKeyboardMarkups.TestApplication
{
internal static class ReplyKeyboard
{
internal static ReplyKeyboardMarkup GetKeyboard()
{
KeyboardButton[] line1 =
{
new KeyboardButton {Text = "1"},
... | mit | C# |
068b0f46765cb79ca1169fe3ecf313427fd1c024 | fix versions in Upgrade_20220812_ReplaceToReplaceAll | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20220812_ReplaceToReplaceAll.cs | Signum.Upgrade/Upgrades/Upgrade_20220812_ReplaceToReplaceAll.cs | namespace Signum.Upgrade.Upgrades;
class Upgrade_20220812_ReplaceToReplaceAll : CodeUpgradeBase
{
public override string Description => "columnOptionMode: 'Replace' -> 'ReplaceAll'";
public static Regex ColumnOptionModeRegex = new Regex(@"columnOptionsMode\s*:\s*['""]Replace['""]");
public override void E... | namespace Signum.Upgrade.Upgrades;
class Upgrade_20220812_ReplaceToReplaceAll : CodeUpgradeBase
{
public override string Description => "columnOptionMode: 'Replace' -> 'ReplaceAll'";
public static Regex ColumnOptionModeRegex = new Regex(@"columnOptionsMode\s*:\s*['""]Replace['""]");
public override void E... | mit | C# |
d090e2502db68f0e366e8e31b40084de0af18dc7 | Modify ClipRect.cs to expose bug with coordinate systems when using cliprects. | eylvisaker/AgateLib | Tests/DisplayTests/ClipRect.cs | Tests/DisplayTests/ClipRect.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
namespace Tests.DisplayTests
{
class ClipRect : IAgateTest
{
#region IAgateTest Members
public string Name
{
get { return "Clip Rects"; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
namespace Tests.DisplayTests
{
class ClipRect:IAgateTest
{
#region IAgateTest Members
public string Name
{
get { return "Clip Rects"; }
... | mit | C# |
5340e356b468665968581e5293341f92d43171bd | Fix unit test | EdAllonby/NiuNiu | NiuNiu/NiuNiu.Library.Tests/Solver/NiuNiuSolverTests.cs | NiuNiu/NiuNiu.Library.Tests/Solver/NiuNiuSolverTests.cs | using System.Configuration;
using NiuNiu.Library.Domain;
using NiuNiu.Library.Solver;
using NiuNiu.Library.Tests.Domain;
using NUnit.Framework;
namespace NiuNiu.Library.Tests.Solver
{
[TestFixture]
public class NiuNiuSolverTests
{
[Test]
public void NumbersShouldMakeModulus10()
{
... | using NiuNiu.Library.Domain;
using NiuNiu.Library.Solver;
using NiuNiu.Library.Tests.Domain;
using NUnit.Framework;
namespace NiuNiu.Library.Tests.Solver
{
[TestFixture]
public class NiuNiuSolverTests
{
[Test]
public void NumbersShouldMakeModulus10()
{
Hand hand = CardC... | mit | C# |
b5af39a216a9df9cddd1ec2e9d1f48bf980ccd9c | bump version to 2.0.3 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/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("PiwikTracker")]
[assembly: Assembl... | 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("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
d7da15ab4ee49daa864818e8cf26a6992ba0fab3 | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
1b4604488555d2f537c6f4687a73e1b8ab0d8a53 | Remove useless method call | BenPhegan/NuGet.Extensions | NuGet.Extensions/ReferenceAnalysers/HintPathGenerator.cs | NuGet.Extensions/ReferenceAnalysers/HintPathGenerator.cs | using System;
using System.Diagnostics.Contracts;
using System.IO;
using System.Linq;
namespace NuGet.Extensions.ReferenceAnalysers
{
public class HintPathGenerator : IHintPathGenerator
{
public HintPathGenerator()
{}
public string ForAssembly(DirectoryInfo solutionDir, DirectoryInfo p... | using System;
using System.Diagnostics.Contracts;
using System.IO;
using System.Linq;
namespace NuGet.Extensions.ReferenceAnalysers
{
public class HintPathGenerator : IHintPathGenerator
{
public HintPathGenerator()
{}
public string ForAssembly(DirectoryInfo solutionDir, DirectoryInfo p... | mit | C# |
af9a29a495bcb7e25e955c42a55e2db533967676 | Fix menu item | naoey/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,default0/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,paparony03/osu-framework... | osu.Framework/Graphics/UserInterface/ContextMenuItem.cs | osu.Framework/Graphics/UserInterface/ContextMenuItem.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Graphics.UserInterface
{
public class Cont... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
namespace osu.Framework.Graphics.UserInterface
{
public class Cont... | mit | C# |
f4fb5b850e5cb6410f25320c211bd170d5cda223 | Add description from https://github.com/JasperFx/marten/pull/1712#discussion_r563350157 | ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten | src/Marten/Events/Daemon/HighWater/HighWaterStatistics.cs | src/Marten/Events/Daemon/HighWater/HighWaterStatistics.cs | using System;
namespace Marten.Events.Daemon.HighWater
{
internal class HighWaterStatistics
{
public long LastMark { get; set; }
public long HighestSequence { get; set; }
public long CurrentMark { get; set; }
public bool HasChanged => CurrentMark > LastMark;
public DateT... | using System;
namespace Marten.Events.Daemon.HighWater
{
internal class HighWaterStatistics
{
public long LastMark { get; set; }
public long HighestSequence { get; set; }
public long CurrentMark { get; set; }
public bool HasChanged => CurrentMark > LastMark;
public DateT... | mit | C# |
5f2c00bc80849f5b61b6c76398d0d8df2eb745d9 | Add doc comments for `DirectiveUsage`. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Razor.Language/DirectiveUsage.cs | src/Microsoft.AspNetCore.Razor.Language/DirectiveUsage.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.Language
{
/// <summary>
/// The way a directive can be used. The usage determines how many, and where direc... | // 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.Language
{
public enum DirectiveUsage
{
Unrestricted,
FileScopedSinglyOccurring,
}
}
| apache-2.0 | C# |
800641ce9d290e10d335ca5351db44b24e290582 | use cache dir on ios | mgj/fetcher,mgj/fetcher | Fetcher.Touch/Services/FetcherRepositoryStoragePathService.cs | Fetcher.Touch/Services/FetcherRepositoryStoragePathService.cs | using artm.Fetcher.Core.Services;
using System;
using System.IO;
namespace artm.Fetcher.Touch.Services
{
public class FetcherRepositoryStoragePathService : IFetcherRepositoryStoragePathService
{
public string GetPath(string filename = "fetcher.db3")
{
var documents = Environment.Ge... | using artm.Fetcher.Core.Services;
namespace artm.Fetcher.Touch.Services
{
public class FetcherRepositoryStoragePathService : IFetcherRepositoryStoragePathService
{
public string GetPath(string filename = "fetcher.db3")
{
return System.IO.Path.Combine(System.Environment.GetFolderPat... | apache-2.0 | C# |
f4d0bef897f7305799bd8b8573e13962970ee2c4 | Fix timing screen test crashing due to missing dependency | NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.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.Framework.Allocation;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Screens.Edit;
using osu.Game.Scr... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Screens.Edit;
using osu.Game.Screens.Edit.Timing;
namespace o... | mit | C# |
18b309a195e9aea1890a726dc1c77ed1f2e7afdb | Make disposal of tracker operation idempotent | UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu | osu.Game/Screens/OnlinePlay/OngoingOperationTracker.cs | osu.Game/Screens/OnlinePlay/OngoingOperationTracker.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 osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Screens.OnlinePlay
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Screens.OnlinePlay
{
/// <summary>
... | mit | C# |
d638e0e31f5d9f615346c804fa81fcdb4094035c | Validate data types | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | PackageExplorer/Converters/TaskShortcutVisibilityConverter.cs | PackageExplorer/Converters/TaskShortcutVisibilityConverter.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace PackageExplorer
{
public class TaskShortcutVisibilityConverter : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
{ ... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace PackageExplorer
{
public class TaskShortcutVisibilityConverter : IMultiValueConverter
{
#region IMultiValueConverter Members
public object Convert(object[] values, Type targetType, object para... | mit | C# |
5a17c6fafbbf937f69b9b61a202409a876cbc0ba | change version to 1.0.0.4 | poumason/Mixpanel.Net.Client,poumason/MixpanelClientDotNet | Library/MixpanelClientDotNet/Properties/AssemblyInfo.cs | Library/MixpanelClientDotNet/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | apache-2.0 | C# |
efa3a8e1aa0542abb2416f8a551f24134a64e55f | Update Program.cs | natintosh/Numerical-Methods | NumericalMethods/NewtonRaphson/NewtonRaphson/Program.cs | NumericalMethods/NewtonRaphson/NewtonRaphson/Program.cs | using System;
namespace NewtonRaphson
{
class MainClass:NumericalMethods
{
public static void Main(string[] args)
{
Double[] equation = { 5, 6, 1 };
Console.Write("Enter initial guess: ");
Double guess = Convert.ToDouble(Console.ReadLine());
NewtonRaphs... | using System;
namespace NewtonRaphson
{
class MainClass:NumericalMethods
{
public static void Main(string[] args)
{
// x^3 + 3x^2 - 3x - 4 = 0
//Double[] equation = { 1, 3, -3, -4 };
Double[] equation = { 1, 2, 1 };
Console.Write("Enter initial guess: ");
Doub... | mit | C# |
c1d6fd0202200b0b79f8f47b9646d921ec0fd5c7 | Resolve an issue with the FAQ / Spoiler Component where it does not open and close as intended | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Areas/PageBuilder/Views/Page/Guest.cshtml | Portal.CMS.Web/Areas/PageBuilder/Views/Page/Guest.cshtml |
@model Portal.CMS.Entities.Entities.Page
@{
ViewBag.Title = Model.PageName;
}
<div id="page-wrapper" class="visitor">
@Html.Partial("/Areas/PageBuilder/Views/Page/_Page.cshtml", Model)
</div> | @model Portal.CMS.Entities.Entities.Page
@{
ViewBag.Title = Model.PageName;
}
<div id="page-wrapper">
@Html.Partial("/Areas/PageBuilder/Views/Page/_Page.cshtml", Model)
</div> | mit | C# |
fe9611694906fedbba709baf697874f47fbf8567 | Fix the 'CA1800: Do not cast unnecessarily' code analysis error | sbrockway/AutoFixture,sergeyshushlyapin/AutoFixture,dcastro/AutoFixture,zvirja/AutoFixture,hackle/AutoFixture,sergeyshushlyapin/AutoFixture,adamchester/AutoFixture,dcastro/AutoFixture,hackle/AutoFixture,sbrockway/AutoFixture,AutoFixture/AutoFixture,Pvlerick/AutoFixture,adamchester/AutoFixture,sean-gilliam/AutoFixture | Src/AutoFixture.xUnit.net2/CustomizeAttributeComparer.cs | Src/AutoFixture.xUnit.net2/CustomizeAttributeComparer.cs | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit2
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
var xfrozen = x is FrozenAttribute;
var yfrozen = ... | using System.Collections.Generic;
namespace Ploeh.AutoFixture.Xunit2
{
internal class CustomizeAttributeComparer : Comparer<CustomizeAttribute>
{
public override int Compare(CustomizeAttribute x, CustomizeAttribute y)
{
if (x is FrozenAttribute && !(y is FrozenAttribute))
... | mit | C# |
2b6e15c7441a0831ffeebe44e3222b5ef5a0f96c | Update MachineParts.cs | krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Construction/MachineParts.cs | UnityProject/Assets/Scripts/Construction/MachineParts.cs | using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
namespace Machines
{
[CreateAssetMenu(fileName = "MachineParts", menuName = "ScriptableObjects/MachineParts", order = 1)]
public class MachineParts : ScriptableObject
{
[Serializable]
public class MachinePartList
{
... | using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
namespace Machines
{
[CreateAssetMenu(fileName = "MachineParts", menuName = "ScriptableObjects/MachineParts", order = 1)]
public class MachineParts : ScriptableObject
{
[Serializable]
public class MachinePartList
{
... | agpl-3.0 | C# |
3dfad3bc79fcdceb680aabfa363ac528ef90fcef | Remove redudant test | grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia | tests/Avalonia.Base.UnitTests/Media/GeometryGroupTests.cs | tests/Avalonia.Base.UnitTests/Media/GeometryGroupTests.cs | using Avalonia.Media;
using Xunit;
namespace Avalonia.Visuals.UnitTests.Media
{
public class GeometryGroupTests
{
[Fact]
public void Children_Should_Have_Initial_Collection()
{
var target = new GeometryGroup();
Assert.NotNull(target.Children);
}
... | using Avalonia.Media;
using Xunit;
namespace Avalonia.Visuals.UnitTests.Media
{
public class GeometryGroupTests
{
[Fact]
public void Children_Should_Have_Initial_Collection()
{
var target = new GeometryGroup();
Assert.NotNull(target.Children);
}
... | mit | C# |
63afa1d982c4f6cba8c44537df0364ae4b04e422 | Disable OnDialogClosed navigation for now | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Dialogs/TestDialogViewModel.cs | WalletWasabi.Fluent/ViewModels/Dialogs/TestDialogViewModel.cs | using System.Windows.Input;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class TestDialogViewModel : DialogViewModelBase<bool>
{
private NavigationStateViewModel _navigationState;
private string _message;
public TestDialogViewModel(NavigationStateViewModel navigationState, strin... | using System.Windows.Input;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class TestDialogViewModel : DialogViewModelBase<bool>
{
private NavigationStateViewModel _navigationState;
private string _message;
public TestDialogViewModel(NavigationStateViewModel navigationState, strin... | mit | C# |
94f637bbd40636069f71c17289ea95a0cc9710ef | Add xmldoc | naoey/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,paparony03/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-fram... | osu.Framework/Graphics/Shapes/Circle.cs | osu.Framework/Graphics/Shapes/Circle.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Graphics.Shapes
{
/// <summary>
/// A simple <see cref="CircularContainer"/>... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Graphics.Shapes
{
public class Circle : CircularContainer
{
public ... | mit | C# |
99caf5a892df8539efd9abb63491dd4f6163a652 | Fix for #55 | Q42/Q42.HueApi | src/Q42.HueApi/Models/State.cs | src/Q42.HueApi/Models/State.cs | using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Q42.HueApi
{
[DataContract]
public class State
{
[DataMember (Name = "on")]
public bool On { get; set; }
[DataMember (Name = "bri")]
public byte Brightness { get; set; }
[DataMember (Name... | using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Q42.HueApi
{
[DataContract]
public class State
{
[DataMember (Name = "on")]
public bool On { get; set; }
[DataMember (Name = "bri")]
public byte Brightness { get; set; }
[DataMember (Name... | mit | C# |
48129c52d676d8e33d63852031e530fe4cef6b32 | Change get-only property for now | UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu | osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.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;
#nullable enable
namespace osu.Game.Online.RealtimeMultiplayer
{
[Serializable]
public class MultiplayerClientState
{
public readonly ... | // 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 enable
namespace osu.Game.Online.RealtimeMultiplayer
{
public class MultiplayerClientState
{
public long CurrentRoomID { get; set; }
p... | mit | C# |
d81f9599a0462b270cf6988c48f66b52beab54c6 | Update AntimalwareScannerOptions.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Antimalware/AntimalwareScannerOptions.cs | TIKSN.Framework.Core/Antimalware/AntimalwareScannerOptions.cs | namespace TIKSN.Security.Antimalware
{
public class AntimalwareScannerOptions
{
public string ApplicationName { get; set; }
}
}
| namespace TIKSN.Security.Antimalware
{
public class AntimalwareScannerOptions
{
public string ApplicationName { get; set; }
}
} | mit | C# |
0eb05ab817e4e5e8887a82cf55497b9a19dedba5 | add debugging to HFTRouter | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d | Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTRouter.cs | Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTRouter.cs |
using System.Collections.Generic;
using WebSocketSharp.Net;
namespace HappyFunTimes
{
public delegate bool RouteHandler(string path, HttpListenerRequest req, HttpListenerResponse res);
public class HFTRouter
{
public bool Route(string path, HttpListenerRequest req, HttpListenerResponse res) {
... |
using System.Collections.Generic;
using WebSocketSharp.Net;
namespace HappyFunTimes
{
public delegate bool RouteHandler(string path, HttpListenerRequest req, HttpListenerResponse res);
public class HFTRouter
{
public bool Route(string path, HttpListenerRequest req, HttpListenerResponse res) {
... | bsd-3-clause | C# |
195027f4749bd61d71c8fb69ee3eae4f82351548 | Revert "Added revision to version" | MatthiasKainer/DotNetRules.Events.Data.MongoDb,MatthiasKainer/DotNetRules.Events.Data.MongoDb,MatthiasKainer/DotNetRules.Events.Data.MongoDb | DotNetRules.Events.Data.MongoDb/Properties/AssemblyInfo.cs | DotNetRules.Events.Data.MongoDb/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
249472483af491842ed76c9ffbea1f439ab50c9e | Revert PropertyBuilder | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Core/Json/EventBuilders/PropertyBuilder.cs | InfinniPlatform.Core/Json/EventBuilders/PropertyBuilder.cs | using System;
using System.Linq;
using InfinniPlatform.Sdk.Events;
using Newtonsoft.Json.Linq;
namespace InfinniPlatform.Json.EventBuilders
{
public class PropertyBuilder : IJsonObjectBuilder
{
public void BuildJObject(JToken backboneObject, EventDefinition eventDefinition)
{
var p... | using System;
using System.Linq;
using InfinniPlatform.Sdk.Events;
using Newtonsoft.Json.Linq;
namespace InfinniPlatform.Json.EventBuilders
{
public class PropertyBuilder : IJsonObjectBuilder
{
public void BuildJObject(JToken backboneObject, EventDefinition eventDefinition)
{
var p... | agpl-3.0 | C# |
4cbce2fda399775daed8641fa36955db0a97a09b | Update ConfigureWebHostDefaults comments (#32025) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/DefaultBuilder/src/GenericHostBuilderExtensions.cs | src/DefaultBuilder/src/GenericHostBuilderExtensions.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;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore;
namespace Microsoft.Extensions.Hosting
{
/// <summary>
/// Extens... | // 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;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore;
namespace Microsoft.Extensions.Hosting
{
/// <summary>
/// Extens... | apache-2.0 | C# |
e37912eec792bf96b2347660618efcb62b99b88a | Update version | FreedomMercenary/Elmah.AzureTableStorage,LionLai/Elmah.AzureTableStorage,MisinformedDNA/Elmah.AzureTableStorage | src/Elmah.AzureTableStorage/Properties/AssemblyInfo.cs | src/Elmah.AzureTableStorage/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: AssemblyTi... | 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: AssemblyTi... | apache-2.0 | C# |
35de2e3a3e97fe649c7861042afc25506b811454 | Remove unused ParsedArgumentExpression.Value property | FakeItEasy/FakeItEasy,thomaslevesque/FakeItEasy,adamralph/FakeItEasy,thomaslevesque/FakeItEasy,blairconrad/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy | src/FakeItEasy/Expressions/ParsedArgumentExpression.cs | src/FakeItEasy/Expressions/ParsedArgumentExpression.cs | namespace FakeItEasy.Expressions
{
using System.Linq.Expressions;
using System.Reflection;
internal class ParsedArgumentExpression
{
public ParsedArgumentExpression(Expression expression, ParameterInfo argumentInformation)
{
this.Expression = expression;
... | namespace FakeItEasy.Expressions
{
using System.Linq.Expressions;
using System.Reflection;
internal class ParsedArgumentExpression
{
public ParsedArgumentExpression(Expression expression, ParameterInfo argumentInformation)
{
this.Expression = expression;
... | mit | C# |
55b79e827ce6ded27669897e4dd1095ccf11f4c9 | Update to use new ArchiveManager methods | SkeptiForum/facebook-archive,SkeptiForum/facebook-archive,SkeptiForum/facebook-archive | Website/Controllers/ThreadsController.cs | Website/Controllers/ThreadsController.cs | /*==============================================================================================================================
| Author Jeremy Caney (Jeremy@Caney.net)
| Client Skepti-Forum Project
| Project Forum Archive
\==========================================================================... | /*==============================================================================================================================
| Author Jeremy Caney (Jeremy@Caney.net)
| Client Skepti-Forum Project
| Project Forum Archive
\==========================================================================... | mit | C# |
c1e795c2fa7138ab92f49c1e51b8809e1ea19764 | remove commented code from org tests | gregsdennis/Manatee.Json,gregsdennis/Manatee.Json | Manatee.Json.Tests/JsonOrgTests.cs | Manatee.Json.Tests/JsonOrgTests.cs | using System;
using System.Net;
using NUnit.Framework;
namespace Manatee.Json.Tests
{
[TestFixture]
public class JsonOrgTests
{
[Test]
public void JsonCheckerTest()
{
var text = new WebClient().DownloadString("http://www.json.org/JSON_checker/test/pass1.json");
Console.WriteLine($"{text}\n");
// Ju... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Manatee.Json.Tests
{
[TestFixture]
public class JsonOrgTests
{
[Test]
//[Ignore("not ready yet.")]
public void JsonCheckerTest()
{
var te... | mit | C# |
5f01ebcfa7e5841f6c74d1f36975584072c887b8 | Check for null dependencies | feanz/Thinktecture.IdentityServer.v3,tonyeung/IdentityServer3,delloncba/IdentityServer3,mvalipour/IdentityServer3,codeice/IdentityServer3,jackswei/IdentityServer3,paulofoliveira/IdentityServer3,EternalXw/IdentityServer3,bodell/IdentityServer3,tuyndv/IdentityServer3,openbizgit/IdentityServer3,bestwpw/IdentityServer3,won... | source/WsFed/Configuration/WsFederationPluginOptions.cs | source/WsFed/Configuration/WsFederationPluginOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Configuration;
using Thinktecture.IdentityServer.WsFed.Services;
namespace Thinktecture.IdentityServer.WsFed.Configuration
{
public class WsFederationPluginOpt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Configuration;
using Thinktecture.IdentityServer.WsFed.Services;
namespace Thinktecture.IdentityServer.WsFed.Configuration
{
public class WsFederationPluginOpt... | apache-2.0 | C# |
d68adbaa0616e8ff291212153114773896e620ab | Sort quotes by date descending. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Areas/Guild/Controllers/QuotesController.cs | MitternachtWeb/Areas/Guild/Controllers/QuotesController.cs | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Mitternacht.Services;
using MitternachtWeb.Areas.Guild.Models;
using System.Linq;
namespace MitternachtWeb.Areas.Guild.Controllers {
[Authorize]
[Area("Guild")]
public class QuotesController : GuildBaseController {
private readonly D... | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Mitternacht.Services;
using MitternachtWeb.Areas.Guild.Models;
using System.Linq;
namespace MitternachtWeb.Areas.Guild.Controllers {
[Authorize]
[Area("Guild")]
public class QuotesController : GuildBaseController {
private readonly D... | mit | C# |
773a39f8322a590360f335b5c26af3a2b979c8d7 | Remove unnecessary assignment | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/OpenGl/Animation/MultiAnimator.cs | SolidworksAddinFramework/OpenGl/Animation/MultiAnimator.cs | using System;
using System.Collections.Immutable;
using System.Linq;
using JetBrains.Annotations;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public sealed class MultiAnimator : AnimatorBase
{
private readonly ImmutableList<AnimatorBase> _Animators;
private DateTime _ReferenceTime;
... | using System;
using System.Collections.Immutable;
using System.Linq;
using JetBrains.Annotations;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public sealed class MultiAnimator : AnimatorBase
{
private readonly ImmutableList<AnimatorBase> _Animators;
private DateTime _ReferenceTime;
... | mit | C# |
1ec1f3ce23ceb182e9dcfb56ef6d3b95e0810154 | Add handlng of invalid arguments when instanciating a SmoBatchRunner | Seddryck/NBi,Seddryck/NBi | NBi.Core.SqlServer/Smo/SmoBatchRunnerFactory.cs | NBi.Core.SqlServer/Smo/SmoBatchRunnerFactory.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Batch;
using System.Data.SqlClient;
namespace NBi.Core.SqlServer.Smo
{
public class SmoBatchRunnerFactory : IBatchRunnerFatory
{
public IDecorationComma... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NBi.Core.Batch;
using System.Data.SqlClient;
namespace NBi.Core.SqlServer.Smo
{
public class SmoBatchRunnerFactory : IBatchRunnerFatory
{
public IDecorationComma... | apache-2.0 | C# |
7aaa08e89b5f7feedb8586d5b3a57c50e4ebc6aa | Correct loading of 9patch textures (#459) | ericmbernier/Nez,prime31/Nez,prime31/Nez,prime31/Nez | Nez.Portable/PipelineRuntime/TextureAtlas/TextureAtlasReader.cs | Nez.Portable/PipelineRuntime/TextureAtlas/TextureAtlasReader.cs | using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Nez.Textures;
namespace Nez.TextureAtlases
{
public class TextureAtlasReader : ContentTypeReader<TextureAtlas>
{
protected override TextureAtlas Read( ContentReader... | using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Nez.Textures;
namespace Nez.TextureAtlases
{
public class TextureAtlasReader : ContentTypeReader<TextureAtlas>
{
protected override TextureAtlas Read( ContentReader... | mit | C# |
69dc93daa3c5460e91a7518d2ddab26544c7d13f | Make test work also in environments with few cores. | RogerKratz/mbcache | MbCacheTest/Logic/Performance/CacheMissPerformanceTest.cs | MbCacheTest/Logic/Performance/CacheMissPerformanceTest.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using MbCacheTest.TestData;
using NUnit.Framework;
using SharpTestsEx;
namespace MbCacheTest.Logic.Performance
{
public class CacheMissPerformanceTest : TestCase
{
private ObjectTakes100MsToFill instance;
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using MbCacheTest.TestData;
using NUnit.Framework;
using SharpTestsEx;
namespace MbCacheTest.Logic.Performance
{
public class CacheMissPerformanceTest : TestCase
{
private ObjectTakes100MsToFill instance;
... | mit | C# |
0d44379948c7fed548947a7bb5fcbbcf203fc87e | Bump to 1.1 | KlappPc/ArchiSteamFarm,KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm,JustArchi/ArchiSteamFarm,i3at/ArchiSteamFarm,i3at/ArchiSteamFarm,JustArchi/ArchiSteamFarm,blackpanther989/ArchiSteamFarm | ArchiSteamFarm/Properties/AssemblyInfo.cs | ArchiSteamFarm/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ar... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ar... | apache-2.0 | C# |
1e3c5ae6270252c43d231752488b0410dee13df6 | Fix a globalization test failure | ericstj/corefx,marksmeltzer/corefx,lggomez/corefx,rahku/corefx,krk/corefx,ptoonen/corefx,cydhaselton/corefx,shmao/corefx,dhoehna/corefx,adamralph/corefx,shimingsg/corefx,mazong1123/corefx,Petermarcu/corefx,ravimeda/corefx,yizhang82/corefx,ericstj/corefx,DnlHarvey/corefx,ravimeda/corefx,mazong1123/corefx,Priya91/corefx-... | src/System.Globalization/tests/CultureInfo/CultureInfoNativeName.cs | src/System.Globalization/tests/CultureInfo/CultureInfoNativeName.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 CultureInfoN... | // 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 CultureInfoN... | mit | C# |
6a8af8507ed35fd413bf06a4cb5b7267ab59b38b | Remove reference to NUnit.Framework in Rainy.csproj | Dynalon/Rainy,Dynalon/Rainy,Dynalon/Rainy,Dynalon/Rainy | Rainy/WebService/Admin/AdminServiceContracts.cs | Rainy/WebService/Admin/AdminServiceContracts.cs | using Rainy.UserManagement;
using Rainy.WebService.Admin;
using ServiceStack.ServiceHost;
using System.Collections.Generic;
namespace Rainy.WebService.Management
{
//-- ADMIN INTERFACE
[AdminPasswordRequired]
[Route("/api/admin/user/","POST, PUT",
Summary = "Creates/Updates a user's details. Admin authentic... | using System;
using NUnit.Framework;
using System.Web.Routing;
using Rainy.UserManagement;
using ServiceStack.ServiceHost;
using Rainy.WebService.Admin;
using System.Collections.Generic;
namespace Rainy.WebService.Management
{
//-- ADMIN INTERFACE
[AdminPasswordRequired]
[Route("/api/admin/user/","POST, PUT",
... | agpl-3.0 | C# |
863503bf17c47c1e3760b75adc9b479084086fce | Change made class public | Zalodu/Schedutalk,Zalodu/Schedutalk | Schedutalk/Schedutalk/Schedutalk/Model/MDate.cs | Schedutalk/Schedutalk/Schedutalk/Model/MDate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Model
{
public class MDate : ViewModel.VMBase
{
private int hour;
private int minute;
public MDate(int hour, int minute)
{
Hour ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Model
{
class MDate : ViewModel.VMBase
{
private int hour;
private int minute;
public MDate(int hour, int minute)
{
Hour = hour;... | mit | C# |
8680e8d9f4cefc378e240028f151f7746b1e4085 | 升级版本号。 :nut_and_bolt: :pager: | Zongsoft/Zongsoft.Externals.Json | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Zongsoft.Externals.Json")]
[assembly: AssemblyDescription("This is a library about JSON serialization based Newtonsoft.Json.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompa... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Zongsoft.Externals.Json")]
[assembly: AssemblyDescription("This is a library about JSON serialization based Newtonsoft.Json.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompa... | lgpl-2.1 | C# |
a7732770b24352b9fdf8ee54f505beda3e1c0505 | Improve IEnumrabme.AreAllEqual() | VirtualPuzzles/CsharpExtensionMethods | CsharpExtensions/IEnumerableExtensions.cs | CsharpExtensions/IEnumerableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace CsharpExtensions
{
public static partial class Extensions
{
public static bool AreAllEqual<TSource>(this IEnumerable<TSource> enumerable) where TSource : IEquatable<TSource>
{
if (enumerable.Count() == 1)
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace CsharpExtensions
{
public static partial class Extensions
{
public static bool AreAllEqual<TSource>(this IEnumerable<TSource> enumerable) where TSource : IEquatable<TSource>
{
if (enumerable.Count() == 1)
... | mit | C# |
f58a38559a422279652510d00de33bc09ca5261f | Throw exception rather than return invalid schema reference "#". | drewnoakes/dasher | Dasher.Schemata/Utils/SchemaExtensions.cs | Dasher.Schemata/Utils/SchemaExtensions.cs | using System;
namespace Dasher.Schemata.Utils
{
public static class SchemaExtensions
{
public static string ToReferenceString(this IWriteSchema schema) => ToReferenceStringInternal(schema);
public static string ToReferenceString(this IReadSchema schema) => ToReferenceStringInternal(schema);
... | namespace Dasher.Schemata.Utils
{
public static class SchemaExtensions
{
public static string ToReferenceString(this IWriteSchema schema) => ToReferenceStringInternal(schema);
public static string ToReferenceString(this IReadSchema schema) => ToReferenceStringInternal(schema);
private ... | apache-2.0 | C# |
facf39190f1ee088a8a337ed7afe159708d16668 | Make sleep shorter in test project | lpatalas/ExpressRunner | ExpressRunner.TestProject/ExampleTests.cs | ExpressRunner.TestProject/ExampleTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
{
... | mit | C# |
4b767a5052c69b7fbf12a7a222dbf9ee75551c22 | Return SubTotal as string | idoban/FinBotApp,idoban/FinBotApp | FinBot/Engine/ExpenseByCategoryAdapter.cs | FinBot/Engine/ExpenseByCategoryAdapter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using Syn.Bot.Siml;
using FinBot.Expenses;
using System.Xml.Linq;
namespace FinBot.Engine
{
public class ExpenseByCategoryAdapter : BaseAdapter
{
private IExpenseService ExpenseService {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using Syn.Bot.Siml;
using FinBot.Expenses;
using System.Xml.Linq;
namespace FinBot.Engine
{
public class ExpenseByCategoryAdapter : BaseAdapter
{
private IExpenseService ExpenseService {... | mit | C# |
5a7d0853f8c5d405c1006e550b6b3c8ad0d61754 | Allow DiskFreespace for Nix | allansson/Calamari,merbla/Calamari,NoesisLabs/Calamari,NoesisLabs/Calamari,allansson/Calamari,merbla/Calamari | source/Calamari/Integration/FileSystem/NixPhysicalFileSystem.cs | source/Calamari/Integration/FileSystem/NixPhysicalFileSystem.cs | using System.IO;
namespace Calamari.Integration.FileSystem
{
public class NixCalamariPhysicalFileSystem : CalamariPhysicalFileSystem
{
protected override bool GetFiskFreeSpace(string directoryPath, out ulong totalNumberOfFreeBytes)
{
var pathRoot = Path.GetPathRoot(directoryPath);
... | namespace Calamari.Integration.FileSystem
{
public class NixCalamariPhysicalFileSystem : CalamariPhysicalFileSystem
{
protected override bool GetFiskFreeSpace(string directoryPath, out ulong totalNumberOfFreeBytes)
{
totalNumberOfFreeBytes = 0;
return false;
}
... | apache-2.0 | C# |
2b9cedd9dfd515edd35d29a298c59e04fa026dac | Update logging.cs | RogueException/Discord.Net,LassieME/Discord.Net,AntiTcb/Discord.Net,Confruggy/Discord.Net | docs/guides/samples/logging.cs | docs/guides/samples/logging.cs | using Discord;
using Discord.Rest;
public class Program
{
// Note: This is the light client, it only supports REST calls.
private DiscordSocketClient _client;
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
_client = new Di... | using Discord;
using Discord.Rest;
public class Program
{
// Note: This is the light client, it only supports REST calls.
private DiscordSocketClient _client;
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
_client = new Di... | mit | C# |
343db6c26e6d65000d2b7f4b09dcb8e3e2709da6 | add readonly flag for identifierVlue | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/IdentifierValue.cs | SnapMD.VirtualCare.ApiModels/IdentifierValue.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using SnapMD.VirtualCare.ApiModels;
using SnapMD.VirtualCare.ApiModels.Enums;
using System;
namespace SnapMD.VirtualCare.ApiModels
{
/// <summary>
/// Value of HL7 FHIR's identifier for Web API methods
/// </summary>
public class IdentifierValue... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using SnapMD.VirtualCare.ApiModels;
using SnapMD.VirtualCare.ApiModels.Enums;
using System;
namespace SnapMD.VirtualCare.ApiModels
{
/// <summary>
/// Value of HL7 FHIR's identifier for Web API methods
/// </summary>
public class IdentifierValue... | apache-2.0 | C# |
2806733f89ccb8b6937fd77e0271f32d3e43851e | Remove IValidator protocol | Miruken-DotNet/Miruken | Source/Miruken.Validate/ValidationExtensions.cs | Source/Miruken.Validate/ValidationExtensions.cs | namespace Miruken.Validate
{
using Callback;
using Concurrency;
public static class ValidationExtensions
{
public static ValidationOutcome Validate(this IHandler handler,
object target, params object[] scopes)
{
var options = handler.GetOptions<ValidationOptions... | namespace Miruken.Validate
{
using Callback;
using Concurrency;
public static class ValidationExtensions
{
public static ValidationOutcome Validate(this IHandler handler,
object target, params object[] scopes)
{
var options = handler.GetOptions<ValidationOptions... | mit | C# |
c21cdacc8e93ab0ddf202ae6212617b1ddd4cf0d | Update reasoning behind why AgentBus hack exists | pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimps... | src/Glimpse.Agent.Common/Broker/DefaultMessageAgentBus.cs | src/Glimpse.Agent.Common/Broker/DefaultMessageAgentBus.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
// TODO:... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
// TODO:... | mit | C# |
7429e2fce72e656f4295b8f1703a4acc427684bd | test ParallelOptions | zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning | my_aspnetmvc_learning/Controllers/ParallelController.cs | my_aspnetmvc_learning/Controllers/ParallelController.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace my_aspnetmvc_learning.Controllers
{
public class ParallelController : Controller
{
// GET: Parallel
public Act... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace my_aspnetmvc_learning.Controllers
{
public class ParallelController : Controller
{
// GET: Parallel
public ActionResult Index()
{
return View();
}
... | mit | C# |
d01cd489ed92638163d5163d690de1d1fe78c9b5 | Access operator for array is now "item" | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/reni2/FeatureTest/Reference/ArrayReferenceDumpLoop.cs | src/reni2/FeatureTest/Reference/ArrayReferenceDumpLoop.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayReferenceDumpSimple]
[Target(@"
repeat: /\ ^ while() then(^ body(), repeat(^));
o:
/\
{
data: ^ array_reference ;
count: ^ count;
dump_print:
... | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayReferenceDumpSimple]
[Target(@"
repeat: /\ ^ while() then(^ body(), repeat(^));
o:
/\
{
data: ^ array_reference ;
count: ^ count;
dump_print:
... | mit | C# |
7eb51fa4a39abd1540d713617452fe48c6e581f5 | Fix test | glorylee/FluentValidation,mgmoody42/FluentValidation,pacificIT/FluentValidation,robv8r/FluentValidation,ruisebastiao/FluentValidation,roend83/FluentValidation,IRlyDontKnow/FluentValidation,deluxetiky/FluentValidation,roend83/FluentValidation,cecilphillip/FluentValidation,GDoronin/FluentValidation,regisbsb/FluentValidat... | src/FluentValidation.Tests/RegularExpressionValidatorTests.cs | src/FluentValidation.Tests/RegularExpressionValidatorTests.cs | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | apache-2.0 | C# |
cb13c304671913df8811cf59c21501bae4d81c73 | Enable nullable: System.Management.Automation.Provider.IContentWriter (#14152) | TravisEz13/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,JamesWTr... | src/System.Management.Automation/namespaces/IContentWriter.cs | src/System.Management.Automation/namespaces/IContentWriter.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections;
using System.IO;
#nullable enable
namespace System.Management.Automation.Provider
{
#region IContentWriter
/// <summary>
/// A Cmdlet provider that implements the IContentCmdletProvider interface must pro... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections;
using System.IO;
namespace System.Management.Automation.Provider
{
#region IContentWriter
/// <summary>
/// A Cmdlet provider that implements the IContentCmdletProvider interface must provide an
/// o... | mit | C# |
01cbb8d31af38a3d2284de374699a2c47cfce985 | test debug | EsWork/Es.Logging,EsWork/Es.Logging | src/Sample/MicrosoftLogDemo.cs | src/Sample/MicrosoftLogDemo.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Es.Logging;
using Microsoft.Extensions.Logging;
namespace Sample
{
public class MicrosoftLogDemo
{
private readonly Es.Logging.LoggerFactory _logFactory;
public MicrosoftLogDemo()
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Es.Logging;
using Microsoft.Extensions.Logging;
namespace Sample
{
public class MicrosoftLogDemo
{
private readonly Es.Logging.LoggerFactory _logFactory;
public MicrosoftLogDemo() {
... | mit | C# |
d0e530a4f205673ff826780b67d3401a70b10b3c | Fix broken test | erikbarke/apinterest,erikbarke/apinterest,erikbarke/apinterest | src/server/webapi/Apinterest.UnitTests/LocalhostOnlyAttributeTest.cs | src/server/webapi/Apinterest.UnitTests/LocalhostOnlyAttributeTest.cs | using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Routing;
using Apinterest.Security;
using Apinterest.UnitTests.Mocks;
using Moq;
using NUnit.Framework;
namespace Apinterest.UnitTests
{
[TestFixture]
public class LocalhostOnlyAttributeTest
... | using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Routing;
using Apinterest.UnitTests.Mocks;
using Moq;
using NUnit.Framework;
namespace Apinterest.UnitTests
{
[TestFixture]
public class LocalhostOnlyAttributeTest
{
private HttpCont... | mit | C# |
c5d21cfe65e901cd1ffbf0e2902821443a468c6b | Improve compatibility with Move It! | earalov/Skylines-ToggleableWhiteness | ToggleableWhiteness/ToolMonitor.cs | ToggleableWhiteness/ToolMonitor.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using ToggleableWhiteness.Detours;
using UnityEngine;
using ColossalFramework;
namespace ToggleableWhiteness
{
public class ToolMonitor : MonoBehaviour
{
private static ToolBase _previousTool;
public void Awake()
{
... | using System.Reflection;
using System.Runtime.CompilerServices;
using ToggleableWhiteness.Detours;
using UnityEngine;
using ColossalFramework;
namespace ToggleableWhiteness
{
public class ToolMonitor : MonoBehaviour
{
private static ToolBase _previousTool;
public void Awake()
{
... | mit | C# |
598871b40a5bc29e438316026d724957dfe1122f | update version | rvdkooy/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,tomascassidy/BrockAllen.MembershipReboot,vankooch/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,brockallen/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot | src/BrockAllen.MembershipReboot/Properties/AssemblyInfo.cs | src/BrockAllen.MembershipReboot/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("Br... | 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("Br... | bsd-3-clause | C# |
acd66d73d2aefb3775cf52a2d1b2025521468e48 | add StaticTypingFeature.TryingToGetANullConfigurationItem | config-r/config-r | tests/ConfigR.Tests.Acceptance.Roslyn.CSharp/StaticTypingFeature.cs | tests/ConfigR.Tests.Acceptance.Roslyn.CSharp/StaticTypingFeature.cs | // <copyright file="StaticTypingFeature.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
namespace ConfigR.Tests.Acceptance
{
using System;
using ConfigR.Tests.Acceptance.Roslyn.CSharp.Support;
using FluentAssertions;
using Xbe... | // <copyright file="StaticTypingFeature.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
namespace ConfigR.Tests.Acceptance
{
using System;
using ConfigR.Tests.Acceptance.Roslyn.CSharp.Support;
using FluentAssertions;
using Xbe... | mit | C# |
db6383d456fbef38accdba76662d6268159ab37c | Set version to 0.9, as API is still fluid (comply with SemVer rules) | jackawatts/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration,jackawatts/ionfar-sharepoint-migration,sgryphon/ionfar-sharepoint-migration | src/IonFar.SharePoint.Migration/Properties/AssemblyInfo.cs | src/IonFar.SharePoint.Migration/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("Ion... | 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("Ion... | mit | C# |
1695bfcf0a45c1d534608baf7b931cdfd40c9785 | Switch back to the correct url | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | src/MobileApps/MyDriving/MyDriving.AzureClient/AzureClient.cs | src/MobileApps/MyDriving/MyDriving.AzureClient/AzureClient.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using Microsoft.WindowsAzure.MobileServices;
namespace MyDriving.AzureClient
{
public class AzureClient : IAzureClient
{
const string DefaultMobileServiceU... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using Microsoft.WindowsAzure.MobileServices;
namespace MyDriving.AzureClient
{
public class AzureClient : IAzureClient
{
const string DefaultMobileServiceU... | mit | C# |
72b6bb25a5c1125f038d4b079e2e57fd31fdbcd1 | Allow nulls and hide if missing dependencies | peppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.cs | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overlays.Set... | // 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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Configuration;
using osu.Game.Updater;
namespace osu.Game.Overlays.Set... | mit | C# |
47982ae03d9480a66a24716e7b8804e8b6ada951 | Use GameObject transform for GLTFScenes | robertlong/UnityGLTFLoader,AltspaceVR/UnityGLTF | Assets/GLTF/Scripts/GLTFScene.cs | Assets/GLTF/Scripts/GLTFScene.cs | using System.Collections;
using UnityEngine;
namespace GLTF
{
/// <summary>
/// The root nodes of a scene.
/// </summary>
public class GLTFScene
{
/// <summary>
/// The indices of each root node.
/// </summary>
public GLTFNodeId[] nodes = { };
public string... | using System.Collections;
using UnityEngine;
namespace GLTF
{
/// <summary>
/// The root nodes of a scene.
/// </summary>
public class GLTFScene
{
/// <summary>
/// The indices of each root node.
/// </summary>
public GLTFNodeId[] nodes = { };
public string... | mit | C# |
f9818fb2a3bae47835375a929dfbc27605d4340a | Fix bugs. | Wentao-Xu/GraphEngine,Wentao-Xu/GraphEngine,Wentao-Xu/GraphEngine,Wentao-Xu/GraphEngine | src/Trinity.Core/Utilities/MISC/Misc.cs | src/Trinity.Core/Utilities/MISC/Misc.cs | // Graph Engine
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Trinity.Utilities
{
internal class ... | // Graph Engine
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Trinity.Utilities
{
internal class ... | mit | C# |
bbc8686775b0dc2733352792aff2a77e8dafb647 | remove ForceValidate from IReactiveProperty interface | runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty | Source/ReactiveProperty.Portable-NET45+WINRT+WP8/IReactiveProperty.cs | Source/ReactiveProperty.Portable-NET45+WINRT+WP8/IReactiveProperty.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Reactive.Bindings
{
// for EventToReactive and Serialization
public interface IReactiveProperty : IHasErrors
{
object Value { get; set; }
}... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Reactive.Bindings
{
// for EventToReactive and Serialization
public interface IReactiveProperty : IHasErrors
{
object Value { get; set; }
... | mit | C# |
1db5d3b33220d3a4f7f61780d0f5d18ea60ace1f | Use 2 spaces instead of tab for output indentation | mono/dbus-sharp,Tragetaschen/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp | tools/Monitor.cs | tools/Monitor.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class Monitor
{
public static void Main (string[] args)
{
Connection bus;
if (arg... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class Monitor
{
public static void Main (string[] args)
{
Connection bus;
if (arg... | mit | C# |
32817e7b985c1f79e73fe74ae4fa75968505123a | Fix answer checking routine | mayth/fafrotskies | fafrotskies/Case.cs | fafrotskies/Case.cs | using System;
namespace fafrotskies
{
public class Case
{
private readonly string problem;
public string Problem
{
get { return problem; }
}
private readonly object answer;
private readonly int limit;
public int Limit
{
... | using System;
namespace fafrotskies
{
public class Case
{
private readonly string problem;
public string Problem
{
get { return problem; }
}
private readonly object answer;
private readonly int limit;
public int Limit
{
... | mit | C# |
cea5818326b6abcaa28ede762a70a06b93878268 | Fix wrapper fact to show proper type | prashanthr/NRules,StanleyGoldman/NRules,NRules/NRules,StanleyGoldman/NRules | src/NRules/NRules/Rete/Fact.cs | src/NRules/NRules/Rete/Fact.cs | using System;
using System.Diagnostics;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact
{
private readonly Type _factType;
private readonly object _object;
public Fact()
{
}
public Fact(object @object)
{
_... | using System;
using System.Diagnostics;
namespace NRules.Rete
{
[DebuggerDisplay("Fact {Object}")]
internal class Fact
{
private readonly Type _factType;
private readonly object _object;
public Fact()
{
}
public Fact(object @object)
{
_... | mit | C# |
0ef7c313add90ac59c7e78a5454f0341110a1e7b | Fix a bug that causes the LegacyLogger to not be dynamically instantiate as a ILoggerFactory. This is caused by the fact that a ILoggerFactory implies a constructor with no parameters and the LegacyLogger class does not have such constructor. | nohros/must,nohros/must,nohros/must | src/impl/log4net/LegacyLoggerFactory.cs | src/impl/log4net/LegacyLoggerFactory.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Nohros.Configuration;
namespace Nohros.Logging.log4net
{
public partial class LegacyLogger : ILoggerFactory
{
#region .ctor
/// <summary>
/// Constructor required by the <see cref="ILoggerFactory"/> ... | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Nohros.Configuration;
namespace Nohros.Logging.log4net
{
public partial class LegacyLogger : ILoggerFactory
{
#region ILoggerFactory Members
/// <summary>
/// Creates an instance of the <see cref="Le... | mit | C# |
3a5f5d1edb82d63a8eeac520c9a5061bc0642799 | Reduce logging level to ERROR | boumenot/Grobid.NET | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | apache-2.0 | C# |
6d48e2f0783dfd9e60625c72dee0be2f3124fff0 | Update ReverserTest.cs | NMSLanX/Natasha | test/NatashaUT/ReverserTest.cs | test/NatashaUT/ReverserTest.cs | using Natasha;
using NatashaUT.Model;
using System.Collections.Generic;
using Xunit;
namespace NatashaUT
{
[Trait("反解测试","参数")]
public class ReverserTest
{
[Fact(DisplayName = "参数与类型反解 in")]
public void TestIn()
{
var info = typeof(ReverserTestModel).GetMethod("Test1")... | using Natasha;
using NatashaUT.Model;
using System.Collections.Generic;
using Xunit;
namespace NatashaUT
{
[Trait("反解测试","参数")]
public class ReverserTest
{
[Fact(DisplayName = "参数与类型反解 in")]
public void TestIn()
{
var info = typeof(ReverserTestModel).GetMethod("Test1")... | mpl-2.0 | C# |
83558fcedc55b8702acd464c77b8cbb6bca6b868 | Enhance coverage | B2MSolutions/reyna.net,B2MSolutions/reyna.net | src/reyna.Facts/GivenAnInMemoryQueue.cs | src/reyna.Facts/GivenAnInMemoryQueue.cs | namespace Reyna.Facts
{
using System;
using Xunit;
public class GivenAnInMemoryQueue
{
[Fact]
public void WhenConstructingShouldNotThrow()
{
new InMemoryQueue();
}
[Fact]
public void WhenCallingAddShouldAddAndRaiseEvent()
{
... | namespace Reyna.Facts
{
using System;
using Xunit;
public class GivenAnInMemoryQueue
{
[Fact]
public void WhenConstructingShouldNotThrow()
{
new InMemoryQueue();
}
[Fact]
public void WhenCallingAddShouldAddAndRaiseEvent()
{
... | mit | C# |
5cac1d2b43f6ed8fc6b6d5b88d0979340831faef | Update InjectOutgoingMessageBehavior.cs | SimonCropp/NServiceBus.Serilog | src/NServiceBus.Serilog/LogInjection/InjectOutgoingMessageBehavior.cs | src/NServiceBus.Serilog/LogInjection/InjectOutgoingMessageBehavior.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Pipeline;
using Serilog.Core.Enrichers;
class InjectOutgoingMessageBehavior :
Behavior<IOutgoingLogicalMessageContext>
{
LogBuilder logBuilder;
public InjectOutgoingMessageBehavior(LogBuilde... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.Pipeline;
using Serilog.Core.Enrichers;
class InjectOutgoingMessageBehavior : Behavior<IOutgoingLogicalMessageContext>
{
LogBuilder logBuilder;
public InjectOutgoingMessageBehavior(LogBuilder lo... | mit | C# |
13d25ab519d159c29fa44b5bede370ca72f3e64d | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.60")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.59")] | mit | C# |
ee300752f60460825bdbb4d79078e24ccd6e2187 | make dng use the dng loader. | Yetangitu/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,mans0954/f-spot,mono/f-spot,Sanva/f-spot,Sanva/f-spot,GNOME/f-spot,dkoeb/f-spot,mans0954/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,Yetangitu/f-spot,dkoeb/f-spot,Sanva/f-spot,dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,nathansamson/F-Spot-Album-Expo... | src/ImageFile.cs | src/ImageFile.cs | using System.IO;
namespace FSpot {
public class ImageFile {
protected string path;
static System.Collections.Hashtable name_table;
protected ImageFile (string path)
{
this.path = path;
}
public virtual System.IO.Stream PixbufStream ()
{
return System.IO.File.OpenRead (this.path);
}
stat... | using System.IO;
namespace FSpot {
public class ImageFile {
protected string path;
static System.Collections.Hashtable name_table;
protected ImageFile (string path)
{
this.path = path;
}
public virtual System.IO.Stream PixbufStream ()
{
return System.IO.File.OpenRead (this.path);
}
stat... | mit | C# |
2b7beeff0030010c280551a832d08c8a44a1050d | Check session for null | SimplePersistence/SimplePersistence.UoW.NH | SimplePersistence.UoW.NH/src/SimplePersistence.UoW.NH/NHLogicalArea.cs | SimplePersistence.UoW.NH/src/SimplePersistence.UoW.NH/NHLogicalArea.cs | #region License
// The MIT License (MIT)
//
// Copyright (c) 2016 SimplePersistence
//
// 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 t... | #region License
// The MIT License (MIT)
//
// Copyright (c) 2016 SimplePersistence
//
// 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 t... | mit | C# |
40df7c02f4db242ab599b21bd02de0d9ef048707 | Add ToString() for Invoice | jcvandan/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,XeroAPI/XeroAPI.Net,TDaphneB/XeroAPI.Net | source/XeroApi/Model/Invoice.cs | source/XeroApi/Model/Invoice.cs | using System;
namespace XeroApi.Model
{
public class Invoice : ModelBase
{
[ItemId]
public virtual Guid InvoiceID { get; set; }
[ItemNumber]
public string InvoiceNumber { get; set; }
[ItemUpdatedDate]
public DateTime? UpdatedDateUTC { get; set; }
publ... | using System;
namespace XeroApi.Model
{
public class Invoice : ModelBase
{
[ItemId]
public virtual Guid InvoiceID { get; set; }
[ItemNumber]
public string InvoiceNumber { get; set; }
[ItemUpdatedDate]
public DateTime? UpdatedDateUTC { get; set; }
publ... | mit | C# |
c9ee3101e1942e910ca6582f0be9f7eec76bacd0 | Remove unecessary private field | Seddryck/NBi,Seddryck/NBi | NBi.Core/Transformation/Transformer/Native/LocalToUtc.cs | NBi.Core/Transformation/Transformer/Native/LocalToUtc.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer.Native
{
class LocalToUtc : UtcToLocal
{
public LocalToUtc(string timeZoneLabel)
: base(timeZoneLabel)
{ }
prot... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer.Native
{
class LocalToUtc : UtcToLocal
{
private readonly string timeZoneLabel;
public LocalToUtc(string timeZoneLabel)
... | apache-2.0 | C# |
6cf19cc4d8f3b5e2766b5c4c82e31746dedb8e75 | Add ContentType to InitiateMultipartUploadRequest | carbon/Amazon | src/Amazon.S3/Actions/InitiateMultipartUploadRequest.cs | src/Amazon.S3/Actions/InitiateMultipartUploadRequest.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using Amazon.S3.Helpers;
namespace Amazon.S3
{
public sealed class InitiateMultipartUploadRequest : S3Request
{
public InitiateMultipartUploadRequest(string host, string bucketName, string ... | using System;
using System.Net.Http;
namespace Amazon.S3
{
public sealed class InitiateMultipartUploadRequest : S3Request
{
public InitiateMultipartUploadRequest(string host, string bucketName, string key)
: base(HttpMethod.Post, host, bucketName, key + "?uploads")
{
... | mit | C# |
455ff5b458c998ad4cd1d7d0e43b3c5c6a834299 | Handle a couple more options for how to describe the limits | AlexGhiondea/SmugMug.NET | src/SmugMugShared/Descriptors/Limits.cs | src/SmugMugShared/Descriptors/Limits.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace SmugMug.Shared.Descriptors
{
public class Limits
{
// INFINITY, NEGATIVE_INFINITY, POSITIVE_INFINITY, and numbers
... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace SmugMug.Shared.Descriptors
{
public class Limits
{
// INFINITY, NEGATIVE_INFINITY, POSITIVE_INFINITY, and numbers
... | mit | C# |
933fe9f6e2359ae0fdbdee0a9308dac233503663 | Add obsolete message for misspelled CreatIndex method | junlapong/elasticsearch-net,robrich/elasticsearch-net,jonyadamit/elasticsearch-net,geofeedia/elasticsearch-net,tkirill/elasticsearch-net,cstlaurent/elasticsearch-net,starckgates/elasticsearch-net,robertlyson/elasticsearch-net,CSGOpenSource/elasticsearch-net,LeoYao/elasticsearch-net,ststeiger/elasticsearch-net,adam-mcco... | src/Nest/ConvenienceExtensions/CreateIndexExtensions.cs | src/Nest/ConvenienceExtensions/CreateIndexExtensions.cs | using System;
using System.Threading.Tasks;
namespace Nest
{
/// <summary>
/// Provides convenience extension to open an index by string or type.
/// </summary>
public static class CreateIndexExtensions
{
/// <summary>
/// The create index API allows to instantiate an index. Elasticsearch provides support for... | using System;
using System.Threading.Tasks;
namespace Nest
{
/// <summary>
/// Provides convenience extension to open an index by string or type.
/// </summary>
public static class CreateIndexExtensions
{
/// <summary>
/// The create index API allows to instantiate an index. Elasticsearch provides support for... | apache-2.0 | C# |
ec3183a019f76246769bc74cfeb29b4599357abd | Add advisory message in dashboard | SeyDutch/Airbrush,Serlead/Orchard,cooclsee/Orchard,ehe888/Orchard,xiaobudian/Orchard,neTp9c/Orchard,MpDzik/Orchard,NIKASoftwareDevs/Orchard,caoxk/orchard,patricmutwiri/Orchard,kouweizhong/Orchard,jchenga/Orchard,IDeliverable/Orchard,tobydodds/folklife,johnnyqian/Orchard,sfmskywalker/Orchard,austinsc/Orchard,openbizgit/... | src/Orchard.Web/Core/Dashboard/Views/Admin/Index.cshtml | src/Orchard.Web/Core/Dashboard/Views/Admin/Index.cshtml | @model dynamic
<h1>@Html.TitleForPage(T("Welcome to Orchard").ToString())</h1>
<p>@T("This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the applicatio... | @model dynamic
<h1>@Html.TitleForPage(T("Welcome to Orchard").ToString())</h1>
<p>@T("This is the place where you can manage your web site, its appearance and its contents. Please take a moment to explore the different menu items on the left of the screen to familiarize yourself with the features of the applicatio... | bsd-3-clause | C# |
b59d9f6700da26f6b8fb0aa4a2689e03e004a0ff | Remove indexing on TitlePart (it's performed thru ITitleAspect) | fassetar/Orchard,sebastienros/msc,geertdoornbos/Orchard,xiaobudian/Orchard,arminkarimi/Orchard,Dolphinsimon/Orchard,patricmutwiri/Orchard,escofieldnaxos/Orchard,grapto/Orchard.CloudBust,asabbott/chicagodevnet-website,Praggie/Orchard,jchenga/Orchard,AdvantageCS/Orchard,Dolphinsimon/Orchard,asabbott/chicagodevnet-website... | src/Orchard.Web/Core/Title/Handlers/TitlePartHandler.cs | src/Orchard.Web/Core/Title/Handlers/TitlePartHandler.cs | using Orchard.ContentManagement.Handlers;
using Orchard.Core.Title.Models;
using Orchard.Data;
namespace Orchard.Core.Title.Handlers {
public class TitlePartHandler : ContentHandler {
public TitlePartHandler(IRepository<TitlePartRecord> repository) {
Filters.Add(StorageFilter.For(repo... | using Orchard.ContentManagement.Handlers;
using Orchard.Core.Title.Models;
using Orchard.Data;
namespace Orchard.Core.Title.Handlers {
public class TitlePartHandler : ContentHandler {
public TitlePartHandler(IRepository<TitlePartRecord> repository) {
Filters.Add(StorageFilter.For(repo... | bsd-3-clause | C# |
20e753a34b0ea0b4cd2fde278a67cc6cfd8e4336 | fix TerminateTorOnExit saving issue | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Settings/NetworkSettingsTabViewModel.cs | WalletWasabi.Fluent/ViewModels/Settings/NetworkSettingsTabViewModel.cs | using System;
using System.Net;
using System.Reactive.Linq;
using ReactiveUI;
using WalletWasabi.Gui;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Helpers;
using WalletWasabi.Models;
using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
[NavigationMetaData(
Title = "Network",
... | using System;
using System.Net;
using System.Reactive.Linq;
using ReactiveUI;
using WalletWasabi.Gui;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Helpers;
using WalletWasabi.Models;
using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
[NavigationMetaData(
Title = "Network",
... | mit | C# |
a3ef7d6c3aa4460670e163034324a24d8a059e03 | Update FluidityEditorFieldConfig.cs | mattbrailsford/umbraco-fluidity,mattbrailsford/umbraco-fluidity,mattbrailsford/umbraco-fluidity | src/Fluidity/Configuration/FluidityEditorFieldConfig.cs | src/Fluidity/Configuration/FluidityEditorFieldConfig.cs | // <copyright file="FluidityEditorFieldConfig.cs" company="Matt Brailsford">
// Copyright (c) 2017 Matt Brailsford and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
using System.Linq.Expressions;
using System;
using Fluidity.ValueMappers;
namespace Fluidity.Configuration
{
/// ... | // <copyright file="FluidityEditorFieldConfig.cs" company="Matt Brailsford">
// Copyright (c) 2017 Matt Brailsford and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
using System.Linq.Expressions;
using System;
using Fluidity.ValueMappers;
namespace Fluidity.Configuration
{
/// ... | apache-2.0 | C# |
fa19360b70dee7ac8779b53282186ffcbc6657bb | Use var instead. | dlemstra/Magick.NET,dlemstra/Magick.NET | src/Magick.NET/Framework/Extensions/StreamExtensions.cs | src/Magick.NET/Framework/Extensions/StreamExtensions.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
6e4b6509bee7a88f0dec31b18f9bd35f791be8a8 | fix contact information | Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp,Team-Ressurrection/Asp.NetMVCApp | SalaryCalculator/SalaryCalculatorWeb/Views/Home/Contact.cshtml | SalaryCalculator/SalaryCalculatorWeb/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
Sofia<br />
Bulgaria<br />
</address>
<address>
<strong>GitHub Source Code:</strong> <a href="https://github.com/Team-Ressurrection/Asp.NetMVCApp">View here</a><br />
<strong>Author:</strong> <a href="m... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
8ac6429ac280cafdabbf7b6bb28a557dcd4397b7 | Update interface | JeremyAnsel/helix-toolkit,Iluvatar82/helix-toolkit,chrkon/helix-toolkit,smischke/helix-toolkit,helix-toolkit/helix-toolkit,holance/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX/Controls/IRenderable.cs | Source/HelixToolkit.Wpf.SharpDX/Controls/IRenderable.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IRenderable.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// ----------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IRenderable.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// ----------------------------------------------------------------... | mit | C# |
51376fcd7007fce8a9613dcbadca2370446d7e1a | Add LICENSE comment | dialectsoftware/DialectSoftware.Networking | DialectSoftware.Networking.Controls/Enums/Status.cs | DialectSoftware.Networking.Controls/Enums/Status.cs | using System;
/// ******************************************************************************************************************
/// * Copyright (c) 2011 Dialect Software LLC *
/// * This software is distributed under the terms of the Apache Li... | using System;
namespace DialectSoftware.Networking.Controls
{
public enum Status:int
{
Idle = 0,
Connecting = 1,
Authenticating = 2,
Negotiating = 3,
Sending = 4,
Receiving = 5,
Terminating = 6
}
} | apache-2.0 | C# |
d70e1cc4bef53e3673d35535f8444d8486ea2d46 | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
07388b0a6bceb921665cc34da0a1a86e93cb3825 | fix to ensure at least 1 archive is marked 'Default' | matortheeternal/mod-analyzer | ModAnalyzer/ViewModels/ClassifyArchivesViewModel.cs | ModAnalyzer/ViewModels/ClassifyArchivesViewModel.cs | using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using ModAnalyzer.Domain;
using ModAnalyzer.Messages;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Input;
namespace ModAnalyzer.ViewModels {
public class ClassifyArchivesViewModel... | using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using ModAnalyzer.Domain;
using ModAnalyzer.Messages;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Windows.Input;
namespace ModAnalyzer.ViewModels {
public class ClassifyArchivesViewModel : ViewModelBase {
... | mit | C# |
2204e6bafe752f9deca324c36ed795e280f39065 | Update ActionAboutImpl.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | NakedLegacy/NakedLegacy.Reflector/Facet/ActionAboutImpl.cs | NakedLegacy/NakedLegacy.Reflector/Facet/ActionAboutImpl.cs | namespace NakedLegacy.Reflector.Facet;
public class ActionAboutImpl : ActionAbout {
public ActionAboutImpl(AboutTypeCodes typeCode) => TypeCode = typeCode;
public string Name { get; set; }
public string Description { get; set; }
public bool Visible { get; set; } = true;
public bool Usable { get; s... | namespace NakedLegacy.Reflector.Facet;
public class ActionAboutImpl : ActionAbout {
public ActionAboutImpl(AboutTypeCodes typeCode) => TypeCode = typeCode;
public string Name { get; set; }
public string Description { get; set; }
public bool Visible { get; set; } = true;
public bool Usable { get; s... | apache-2.0 | C# |
c73aced79336ce8e1c65e57b0217c9ab7b883d61 | Bump to 1.2.0.0 | chitoku-k/NowPlayingLib | NowPlayingLib/Properties/AssemblyInfo.cs | NowPlayingLib/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("NowPlayingLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("NowPlayingLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: ... | mit | C# |
fa567e185228aceb7c0e4374cf79f3fe751f8a7d | bump version to 2.11.1 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/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("PiwikTracker")]
[assembly: Assembl... | 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("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
e698c2870ed100ea88202b4e4f130d18cf96bc22 | Remove --format parameter and use current bitmap format directly. | Prof9/PixelPet | PixelPet/CLI/Commands/ReadPalettesCmd.cs | PixelPet/CLI/Commands/ReadPalettesCmd.cs | using LibPixelPet;
using System;
using System.Linq;
namespace PixelPet.CLI.Commands {
internal class ReadPalettesCmd : CliCommand {
public ReadPalettesCmd()
: base("Read-Palettes",
new Parameter("palette-number", "pn", false, new ParameterValue("number", "-1")),
new Parameter("palette-size", "ps", false... | using LibPixelPet;
using System;
using System.Linq;
namespace PixelPet.CLI.Commands {
internal class ReadPalettesCmd : CliCommand {
public ReadPalettesCmd()
: base("Read-Palettes",
new Parameter("format", "f", false, new ParameterValue("name", nameof(ColorFormat.BGRA8888))),
new Parameter("palette-numbe... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.