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
45fc6b37e4145ea3cec6767cd650d1d31156c2ba
Fix taking off mouse from the screen. Ignore exception.
cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/Tellurium
Src/MaintainableSelenium/MaintainableSelenium.MvcPages/BrowserCamera/BrowserCamera.cs
Src/MaintainableSelenium/MaintainableSelenium.MvcPages/BrowserCamera/BrowserCamera.cs
using System; using MaintainableSelenium.MvcPages.BrowserCamera.Lens; using MaintainableSelenium.MvcPages.SeleniumUtils; using MaintainableSelenium.MvcPages.Utils; using OpenQA.Selenium.Interactions; using OpenQA.Selenium.Remote; namespace MaintainableSelenium.MvcPages.BrowserCamera { /// <summary> /// Respons...
using System; using MaintainableSelenium.MvcPages.BrowserCamera.Lens; using MaintainableSelenium.MvcPages.SeleniumUtils; using MaintainableSelenium.MvcPages.Utils; using OpenQA.Selenium.Interactions; using OpenQA.Selenium.Remote; namespace MaintainableSelenium.MvcPages.BrowserCamera { /// <summary> /// Respons...
mit
C#
39435198250fddaee910d36bce187332a570cec9
Update #283 - Provide better checks for ADO support methods
Glimpse/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,Glimpse/Glimpse,sorenhl/Glimpse,SusanaL/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,SusanaL/Glimpse,sorenhl/Glimpse,rho24/Glimpse,Glimpse/Glimpse,SusanaL/Glimpse,dudzon/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,sorenhl/G...
source/Glimpse.Ado/AlternateType/Support.cs
source/Glimpse.Ado/AlternateType/Support.cs
using System; using System.Data; using System.Data.Common; using System.Reflection; namespace Glimpse.Ado.AlternateType { public static class Support { public static DbProviderFactory TryGetProviderFactory(this DbConnection connection) { // If we can pull it out quickly and easil...
using System.Data.Common; using System.Reflection; namespace Glimpse.Ado.AlternateType { public static class Support { public static DbProviderFactory TryGetProviderFactory(this DbConnection connection) { // If we can pull it out quickly and easily var profiledConnect...
apache-2.0
C#
64c46e8699d848db3c9192e2afe0b5df6332e2c0
Fix typo: disabled features
xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2
src/OrchardCore.Modules/OrchardCore.Features/Views/Items/AllFeaturesDeploymentStep.Fields.Edit.cshtml
src/OrchardCore.Modules/OrchardCore.Features/Views/Items/AllFeaturesDeploymentStep.Fields.Edit.cshtml
@model AllFeaturesDeploymentStepViewModel <h5>@T["All Features"]</h5> <div class="form-group"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" asp-for="IgnoreDisabledFeatures" /> <label class="custom-control-label" asp-for="IgnoreDisabledFeatures">@...
@model AllFeaturesDeploymentStepViewModel <h5>@T["All Features"]</h5> <div class="form-group"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" asp-for="IgnoreDisabledFeatures" /> <label class="custom-control-label" asp-for="IgnoreDisabledFeatures">@...
bsd-3-clause
C#
2fe6f28206b946caead0b6586d1a4bc6efb87e84
Bump to version 0.1.3
Kryptos-FR/markdig.wpf,Kryptos-FR/markdig-wpf
src/Markdig.Xaml/Properties/AssemblyInfo.cs
src/Markdig.Xaml/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Markdig.Xaml")] [assembly: AssemblyDescription("a XAML ...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Markdig.Xaml")] [assembly: AssemblyDescription("a XAML ...
mit
C#
72e6672fef16c22ec298ec34386e0ada4dab55a3
Fix de compilación
TheXDS/MCART
src/Platform/WPF/Component/WpfWindowWrap.cs
src/Platform/WPF/Component/WpfWindowWrap.cs
/* WpfWindowWrap.cs This file is part of Morgan's CLR Advanced Runtime (MCART) Author(s): César Andrés Morgan <xds_xps_ivx@hotmail.com> Copyright © 2011 - 2021 César Andrés Morgan Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it and/or modify it under the terms of the GNU Genera...
/* WpfWindowWrap.cs This file is part of Morgan's CLR Advanced Runtime (MCART) Author(s): César Andrés Morgan <xds_xps_ivx@hotmail.com> Copyright © 2011 - 2021 César Andrés Morgan Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it and/or modify it under the terms of the GNU Genera...
mit
C#
a9ab9f614751fd822e0c32814802117d400fe905
Fix MySql do not support Milliseconds
spaccabit/fluentmigrator,spaccabit/fluentmigrator
src/FluentMigrator.Runner/Generators/MySql/MySqlQuoter.cs
src/FluentMigrator.Runner/Generators/MySql/MySqlQuoter.cs
using FluentMigrator.Runner.Generators.Generic; namespace FluentMigrator.Runner.Generators.MySql { public class MySqlQuoter : GenericQuoter { public override string OpenQuote { get { return "`"; } } public override string CloseQuote { get { return "`"; } } public override string Quot...
using FluentMigrator.Runner.Generators.Generic; namespace FluentMigrator.Runner.Generators.MySql { public class MySqlQuoter : GenericQuoter { public override string OpenQuote { get { return "`"; } } public override string CloseQuote { get { return "`"; } } public override string Quot...
apache-2.0
C#
510c197724d7a2792f6f0c523dae1f1dd7eea5f6
Refactor tag summary creation
bradygaster/downr,bradygaster/downr,spboyer/downr,bradygaster/downr,spboyer/downr
src/ViewComponents/TagCloudViewComponent.cs
src/ViewComponents/TagCloudViewComponent.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using downr.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewComponents; using downr.Models.TagCloud; namespace downr.ViewComponents { public class TagCloudViewComponent : ViewComponent { prot...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using downr.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewComponents; using downr.Models.TagCloud; namespace downr.ViewComponents { public class TagCloudViewComponent : ViewComponent { prot...
apache-2.0
C#
ec9e5d518909ee60ce39462cc2808eabc2a15341
Add SetLastError=true to Interop.inotiry DllImports so we can capture native method errors
shmao/corefx,jhendrixMSFT/corefx,stormleoxia/corefx,nelsonsar/corefx,alphonsekurian/corefx,shmao/corefx,SGuyGe/corefx,rjxby/corefx,kyulee1/corefx,uhaciogullari/corefx,ViktorHofer/corefx,huanjie/corefx,pallavit/corefx,dtrebbien/corefx,mazong1123/corefx,rjxby/corefx,JosephTremoulet/corefx,chaitrakeshav/corefx,lggomez/cor...
src/Common/src/Interop/Linux/libc/Interop.inotify.cs
src/Common/src/Interop/Linux/libc/Interop.inotify.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class libc { [DllImport(Libraries....
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Runtime.InteropServices; internal static partial class Interop { internal static partial class libc { [DllImport(Libraries....
mit
C#
04ac4b7ebb0ab2881a1b8f21bfdab45137465ea6
add Enum Error codes for chat in dll
23S163PR/network-programming
Novak.Andriy/network_progekts/ServerJsonObject/ChatObject.cs
Novak.Andriy/network_progekts/ServerJsonObject/ChatObject.cs
using System; using System.Runtime.Serialization; using System.Web.Script.Serialization; namespace ChatJsonObject { [DataContract] public class ChatObject { [DataMember] public string Login { get; set; } [DataMember] public string Avatar { get; set; } [DataMember] ...
using System.Runtime.Serialization; using System.Web.Script.Serialization; namespace ServerJsonObject { [DataContract] public class ChatObject { [DataMember] public string Login { get; set; } [DataMember] public string Avatar { get; set; } [DataMember] public ...
cc0-1.0
C#
b07c477aad08a9c284c6e5a3a01e561fd4506021
Add test case on TestSceneNowPlayingOverlay
peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new
osu.Game.Tests/Visual/UserInterface/TestSceneNowPlayingOverlay.cs
osu.Game.Tests/Visual/UserInterface/TestSceneNowPlayingOverlay.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.Framework.Graphics; using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game.Overlays; names...
// 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.Framework.Graphics; using osu.Framework.Timing; using osu.Game.Overlays; namespace osu.Game.Tests.Visua...
mit
C#
e031c9c0ac4c3b8be615cc8f32313af562340f62
Revert MandrillSerializer as only formatting changes were made
feinoujc/Mandrill.net
src/Mandrill.net/Serialization/MandrillSerializer.cs
src/Mandrill.net/Serialization/MandrillSerializer.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Mandrill.Serialization { public static class MandrillSerializer { private static readonly Lazy<JsonSerializer> LazyJsonSerializer = new Lazy<JsonSerializer>(CreateSerializer); ...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Mandrill.Serialization { public static class MandrillSerializer { private static readonly Lazy<JsonSerializer> LazyJsonSerializer = new Lazy<JsonSerializer>(CreateSerializer); ...
mit
C#
d94e39c558517c715b1eaa21f58ab45138e7f1de
Test available (NH-1812 was fixed)
RogerKratz/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,ngbrown/nhibernate-core...
src/NHibernate.Test/NHSpecificTest/NH1812/Fixture.cs
src/NHibernate.Test/NHSpecificTest/NH1812/Fixture.cs
using System; using System.Collections.Generic; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1812 { public class AstBugBase : BugTestCase { [Test] public void Test() { var p = new Person(); const string query = @"select p from Person p ...
using System; using System.Collections.Generic; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1812 { public class AstBugBase : BugTestCase { [Test] public void Test() { var p = new Person(); const string query = @"select p from Person p ...
lgpl-2.1
C#
c734c1f38bd0527de2d0d4cf02d2c231a74a8e19
Create factory method for the Property object
AlexGhiondea/SmugMug.NET
src/SmugMugShared/Descriptors/Properties/Property.cs
src/SmugMugShared/Descriptors/Properties/Property.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 Newtonsoft.Json.Linq; using SmugMug.Shared.Extensions; using System.IO; namespace SmugMug.Shared.Descriptors { public class Property { publi...
// Copyright (c) Alex Ghiondea. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json.Linq; using SmugMug.Shared.Extensions; namespace SmugMug.Shared.Descriptors { public class Property { public string Name { g...
mit
C#
d84f7e1329b41dbc7a870293c80796b8a7c6136f
Update ShapeStateTypeConverter.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Serializer.Xaml/Converters/ShapeStateTypeConverter.cs
src/Serializer.Xaml/Converters/ShapeStateTypeConverter.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Shape; using Portable.Xaml.ComponentModel; using System; using System.ComponentModel; using System.Globalization; namespace Serializer.Xaml.Converter...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Shape; using Portable.Xaml.ComponentModel; using System; using System.Globalization; namespace Serializer.Xaml.Converters { /// <summary> ///...
mit
C#
f73933d619581666ca7309f285e0efcb6c98d637
Fix for treating enum types as primitives due non-enumeration facets
avao/Codge
Src/Codge.Generator/Presentations/Xsd/XmlSchemaExtensions.cs
Src/Codge.Generator/Presentations/Xsd/XmlSchemaExtensions.cs
using System.Collections.Generic; using System.Linq; using System.Xml.Schema; namespace Codge.Generator.Presentations.Xsd { public static class XmlSchemaExtensions { public static bool IsEmptyType(this XmlSchemaComplexType type) { return type.ContentModel == null && type.Attributes...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Schema; namespace Codge.Generator.Presentations.Xsd { public static class XmlSchemaExtensions { public static bool IsEmptyType(this XmlSchemaComplexType type) { ...
apache-2.0
C#
299aa6c0079b4ef4b5c7bbcc4dc27995aff6877d
Fix checkbox cell view issue
hamekoz/xwt,residuum/xwt,cra0zy/xwt,mminns/xwt,directhex/xwt,TheBrainTech/xwt,lytico/xwt,hwthomas/xwt,mono/xwt,iainx/xwt,steffenWi/xwt,sevoku/xwt,akrisiun/xwt,antmicro/xwt,mminns/xwt
Xwt.Gtk/Xwt.GtkBackend.CellViews/CustomCellRendererToggle.cs
Xwt.Gtk/Xwt.GtkBackend.CellViews/CustomCellRendererToggle.cs
// // CustomCellRendererToggle.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin 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 ...
// // CustomCellRendererToggle.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin 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 ...
mit
C#
a7f1af310810b29eec85357c9681e59b76197720
Update docstring of Heatmap class
mg6/spectre,mg6/spectre,spectre-team/spectre,spectre-team/spectre,mg6/spectre,spectre-team/spectre
src/Spectre/Models/Msi/Heatmap.cs
src/Spectre/Models/Msi/Heatmap.cs
/* * Heatmap.cs * Class representing single heatmap in MALDI MSI sample. * Copyright 2017 Michał Gallus 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...
/* * Heatmap.cs * Class representing single heatmap in MALDI MSI sample. * Copyright 2017 Michał Gallus 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...
apache-2.0
C#
df4e38b5ed6c23aa99f9675809700b2e88823dbe
clean up usings
NickPolyder/FreeParkingSystem
src/Account/FreeParkingSystem.Accounts.Data/Mappers/UserMapper.cs
src/Account/FreeParkingSystem.Accounts.Data/Mappers/UserMapper.cs
using System.Collections.Generic; using System.Linq; using FreeParkingSystem.Accounts.Contract; using FreeParkingSystem.Accounts.Data.Models; using FreeParkingSystem.Common; using FreeParkingSystem.Common.ExtensionMethods; namespace FreeParkingSystem.Accounts.Data.Mappers { public class UserMapper : IMap<DbUser, Use...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using FreeParkingSystem.Accounts.Contract; using FreeParkingSystem.Accounts.Data.Models; using FreeParkingSystem.Common; using FreeParkingSystem.Common.ExtensionMethods; namespace FreeParkingSystem.Accounts.Data.Mappers {...
mit
C#
0bf36e3e8bbc9998ccedcd547b4a1bb28592cdc0
Fix SearchWithQueryExpansionTest
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
retail/interactive-tutorial/RetailSearch.Samples.Tests/SearchWithQueryExpansionTest.cs
retail/interactive-tutorial/RetailSearch.Samples.Tests/SearchWithQueryExpansionTest.cs
// Copyright 2021 Google Inc. 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 applicab...
// Copyright 2021 Google Inc. 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 applicab...
apache-2.0
C#
ef7a53f792619be004da2498bc013c7d59f205d3
Fix external logins partial for running in mono 3.2.x
cwensley/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,cwensley/Pablo.Gallery,cwensley/Pablo.Gallery
src/Pablo.Gallery/Views/Account/_ExternalLoginsListPartial.cshtml
src/Pablo.Gallery/Views/Account/_ExternalLoginsListPartial.cshtml
@model ICollection<Microsoft.Web.WebPages.OAuth.AuthenticationClientData> @if (Model.Count > 0) { using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = ViewBag.ReturnUrl })) { @Html.AntiForgeryToken() <h4>Use another service to log in.</h4> <hr /> <div id="socialLoginList"> ...
@model ICollection<AuthenticationClientData> @if (Model.Count > 0) { using (Html.BeginForm("ExternalLogin", "Account", new { ReturnUrl = ViewBag.ReturnUrl })) { @Html.AntiForgeryToken() <h4>Use another service to log in.</h4> <hr /> <div id="socialLoginList"> @foreach (AuthenticationCl...
mit
C#
a067e3cbc23df15c4f4e96d43f929b8f899360c9
Update ExtendedTableService.cs
tamasflamich/effort
Main/Source/Effort.Shared/Internal/DbManagement/Engine/Services/ExtendedTableService.cs
Main/Source/Effort.Shared/Internal/DbManagement/Engine/Services/ExtendedTableService.cs
// -------------------------------------------------------------------------------------------- // <copyright file="ExtendedTableService.cs" company="Effort Team"> // Copyright (C) Effort Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associa...
// -------------------------------------------------------------------------------------------- // <copyright file="ExtendedTableService.cs" company="Effort Team"> // Copyright (C) Effort Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associa...
mit
C#
b3872486799af70acd4627557dccd71784935357
fix arter rebase
BigBabay/AsyncConverter,BigBabay/AsyncConverter
AsyncConverter/Helpers/AwaitEliderChecker.cs
AsyncConverter/Helpers/AwaitEliderChecker.cs
using System.Linq; using AsyncConverter.AsyncHelpers.Checker; using JetBrains.ProjectModel; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Tree; namespace AsyncConverter.Helpers { [SolutionComponent] public class AwaitEliderChecker : IAwaitEliderChecker ...
using System.Linq; using AsyncConverter.AsyncHelpers.Checker; using JetBrains.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Tree; namespace AsyncConverter.Helpers { [SolutionComponent] public class AwaitEliderChecker : IAwaitEliderChecker { private readonly ...
mit
C#
8f4f0db2a669a776b43c760f9928db84ff5018f7
Bump version to v0.1-alpha3
Prof9/TextPet
TextPet/Program.cs
TextPet/Program.cs
using System; [assembly: CLSCompliant(true)] namespace TextPet { class Program { public static string Version => "v1.0-alpha3"; static int Main(string[] args) { string originalConsoleTitle = Console.Title; int errorLevel = 0; #if !DEBUG try { #endif Console.Title = "TextPet CLI"; Console.Wri...
using System; [assembly: CLSCompliant(true)] namespace TextPet { class Program { public static string Version => "v1.0-alpha2"; static int Main(string[] args) { string originalConsoleTitle = Console.Title; int errorLevel = 0; #if !DEBUG try { #endif Console.Title = "TextPet CLI"; Console.Wri...
mit
C#
d54e66cabc82946e63b38e65752fe1a829024355
add title for pie chart demo form
jingwood/d2dlib,jingwood/d2dlib,jingwood/d2dlib
src/Examples/Demos/PieChart.cs
src/Examples/Demos/PieChart.cs
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * 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...
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * 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...
mit
C#
83c0bda8c5bc3dcb7c25cb95d75428336f078be8
Save assets after changing scripting defines
DarrenTsung/DTCommandPalette
DefaultCommands/Editor/ScriptingDefines/ScriptingDefinesManager.cs
DefaultCommands/Editor/ScriptingDefines/ScriptingDefinesManager.cs
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; namespace DTCommandPalette.ScriptingDefines { public static class ScriptingDefinesManager { public static BuildTargetGroup CurrentTargetGroup { ge...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; namespace DTCommandPalette.ScriptingDefines { public static class ScriptingDefinesManager { public static BuildTargetGroup CurrentTargetGroup { ge...
mit
C#
ce946bd7b4fa2ad6ca72f4d47ff689fb850ee25e
add personId to familyMember response
dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk
SnapMD.VirtualCare.ApiModels/FamilyMember.cs
SnapMD.VirtualCare.ApiModels/FamilyMember.cs
#region Copyright // Copyright 2016 SnapMD, Inc. // 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 ap...
#region Copyright // Copyright 2016 SnapMD, Inc. // 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 ap...
apache-2.0
C#
3af1e6500d660bd36c0d6e7793b90a7dda360c0a
Call Form.OnShown after window is shown (to be consistent with dialog)
l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto.Platform.Mac/Forms/FormHandler.cs
Source/Eto.Platform.Mac/Forms/FormHandler.cs
using System; using Eto.Forms; using MonoMac.AppKit; using SD = System.Drawing; namespace Eto.Platform.Mac.Forms { public class FormHandler : MacWindow<MyWindow, Form>, IForm { protected override bool DisposeControl { get { return false; } } public FormHandler() { Control = new MyWindow(new SD.Rectangle(0,...
using System; using Eto.Drawing; using Eto.Forms; using MonoMac.AppKit; using SD = System.Drawing; namespace Eto.Platform.Mac.Forms { public class FormHandler : MacWindow<MyWindow, Form>, IDisposable, IForm { protected override bool DisposeControl { get { return false; } } public FormHandler() { Control = ...
bsd-3-clause
C#
19d96431e9c7fe0119fc160f9f97e1d42cd487a0
Build and publish nuget package
RockFramework/Rock.EmbeddedNativeLibrary
src/Properties/AssemblyInfo.cs
src/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("Ro...
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("Ro...
mit
C#
8b3534f496dcbfb968e31bd05bc08649634fac6b
Update MonoSingleton's Awake to "protected virtual" to allow override
xtralifecloud/unity-gametemplate
UnityProject/Assets/CotcSdkTemplate/Scripts/Tools/MonoSingleton.cs
UnityProject/Assets/CotcSdkTemplate/Scripts/Tools/MonoSingleton.cs
using UnityEngine; namespace CotcSdkTemplate { /// <summary> /// A class derivated from MonoBehaviour and following the singleton design pattern. /// </summary> public class MonoSingleton<T> : MonoBehaviour where T : MonoBehaviour { #region Instance Handling // The singleton instance private static MonoSin...
using UnityEngine; namespace CotcSdkTemplate { /// <summary> /// A class derivated from MonoBehaviour and following the singleton design pattern. /// </summary> public class MonoSingleton<T> : MonoBehaviour where T : MonoBehaviour { #region Instance Handling // The singleton instance private static MonoSin...
mit
C#
41b6ed1038bb70f07628f4e76acaaedbbc57b47b
Update Mvc.cs
dd4t/DD4T.DI.Autofac,dd4t/dd4t-di-autofac
source/DD4T.DI.Autofac/Mvc.cs
source/DD4T.DI.Autofac/Mvc.cs
using System; using System.IO; using System.Linq; using System.Reflection; using Autofac; namespace DD4T.DI.Autofac { public static class Mvc { public static void RegisterMvc(this ContainerBuilder builder) { var location = string.Format(@"{0}\bin\", AppDomain.CurrentDomain.BaseDirec...
using Autofac; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace DD4T.DI.Autofac { public static class Mvc { public static void RegisterMvc(this ContainerBuilder builder) { ...
apache-2.0
C#
4be1f4c08d8f3337d7e6f59aefc163a1005c583c
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Update posted: September 30, 2020<br /><br /> In response to the emergency need for the analysis of wine for smoke taint, ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Update posted: September 30, 2020<br /><br /> In response to the emergency need for the analysis of wine for smoke taint, ...
mit
C#
987aa5a21c043360d71f0155b52d70e77ddd3a5e
Add testing of different strengths
peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModAimAssist.cs
osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModAimAssist.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.Rulesets.Osu.Mods; namespace osu.Game.Rulesets.Osu.Tests.Mods { public class TestSceneOsuModAimAssist : OsuModTestScene { ...
// 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.Rulesets.Osu.Mods; namespace osu.Game.Rulesets.Osu.Tests.Mods { public class TestSceneOsuModAimAssist : OsuModTestScene { ...
mit
C#
cc3923be778ba8f2278111338f008dc1579dd189
Check for null in IsNetworkAvailable implementation
Dav2070/UniversalSoundBoard
UniversalSoundBoard/Common/GeneralMethods.cs
UniversalSoundBoard/Common/GeneralMethods.cs
using davClassLibrary.Common; using davClassLibrary.DataAccess; using UniversalSoundBoard.DataAccess; using Windows.Networking.Connectivity; namespace UniversalSoundboard.Common { public class GeneralMethods : IGeneralMethods { public bool IsNetworkAvailable() { var connection = Ne...
using davClassLibrary.Common; using davClassLibrary.DataAccess; using UniversalSoundBoard.DataAccess; using Windows.Networking.Connectivity; namespace UniversalSoundboard.Common { public class GeneralMethods : IGeneralMethods { public bool IsNetworkAvailable() { var connection = Ne...
mit
C#
fc1ea1b0df2d0ea9cda8bac3e255d08ec9297661
Fix minor rumble bug.
Eusth/VRGIN
VRGIN/Controls/Handlers/BodyRumbleHandler.cs
VRGIN/Controls/Handlers/BodyRumbleHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using VRGIN.Core; using VRGIN.Helpers; namespace VRGIN.Controls.Handlers { public class BodyRumbleHandler : ProtectedBehaviour { private Controller _Controller; private int _TouchCounter = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using VRGIN.Core; using VRGIN.Helpers; namespace VRGIN.Controls.Handlers { public class BodyRumbleHandler : ProtectedBehaviour { private Controller _Controller; private int _TouchCounter = ...
mit
C#
ac3ff4471fb020a730c0a538c66f2b8352915ea8
Fix namespace in httpclient registration
leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
src/JoinRpg.Blazor.Client/ApiClients/HttpClientRegistration.cs
src/JoinRpg.Blazor.Client/ApiClients/HttpClientRegistration.cs
using JoinRpg.Web.CheckIn; using JoinRpg.Web.ProjectCommon; using JoinRpg.Web.ProjectMasterTools.ResponsibleMaster; using JoinRpg.Web.ProjectMasterTools.Subscribe; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; namespace JoinRpg.Blazor.Client.ApiClients; public static class HttpClientRegistration { pr...
using JoinRpg.Web.CheckIn; using JoinRpg.Web.ProjectCommon; using JoinRpg.Web.ProjectMasterTools.ResponsibleMaster; using JoinRpg.Web.ProjectMasterTools.Subscribe; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; namespace JoinRpg.Blazor.Client.ApiClients; public static class HttpClientRegistration { pr...
mit
C#
73a1739fc1aa5a7fb1468a7e6e9cb1ae14370edf
Debug methods
Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum
src/Nethereum.RPC.Tests/Testers/DebugTraceTransactionTester.cs
src/Nethereum.RPC.Tests/Testers/DebugTraceTransactionTester.cs
using System; using System.Threading.Tasks; using Nethereum.JsonRpc.Client; using Nethereum.RPC.Eth; using Nethereum.RPC.Tests; using Xunit; using Newtonsoft.Json.Linq; using Nethereum.RPC.DebugGeth.DTOs; namespace Nethereum.RPC.Sample.Testers { public class DebugTraceTransactionTester : RPCRequestTester<JObject>...
using System; using System.Threading.Tasks; using Nethereum.JsonRpc.Client; using Nethereum.RPC.Eth; using Nethereum.RPC.Tests; using Xunit; using Newtonsoft.Json.Linq; using Nethereum.RPC.DebugGeth.DTOs; namespace Nethereum.RPC.Sample.Testers { public class DebugTraceTransactionTester : RPCRequestTester<JObject>...
mit
C#
7da56ec7fd27ebddc7253b6151b50f93ad289dd4
Add null check and xmldoc
smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,NeoAdonis/osu
osu.Game/Screens/Play/ScreenSuspensionHandler.cs
osu.Game/Screens/Play/ScreenSuspensionHandler.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 JetBrains.Annotations; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Platform; nam...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Platform; namespace osu.Game.Screens.Play { internal...
mit
C#
84a0ed4535a23820f0453dafb81e6cd7a17f2cc1
Implement line of sight
KBroloes/WormsVsBirds
Assets/Scripts/Gunner.cs
Assets/Scripts/Gunner.cs
using UnityEngine; using System.Collections; public class Gunner : MonoBehaviour { public Projectile Projectile; [Header("Projectiles per Second")] public float FiringRate = 0.5f; public int range = 10; bool canFire; float deltaTime; Unit unit; void Start() { unit = Ge...
using UnityEngine; using System.Collections; public class Gunner : MonoBehaviour { public Projectile Projectile; [Header("Projectiles per Second")] public float FiringRate = 0.5f; bool canFire; float deltaTime; Unit unit; void Start() { unit = GetComponent<Unit>(); } ...
mit
C#
67bb3bcf61314b8469e992bff30db93b231c3bb5
Add PlaySound as a debugging 'tool'
Bumblebee/Bumblebee,kool79/Bumblebee,toddmeinershagen/Bumblebee,chrisblock/Bumblebee,Bumblebee/Bumblebee,toddmeinershagen/Bumblebee,kool79/Bumblebee,chrisblock/Bumblebee,qchicoq/Bumblebee,qchicoq/Bumblebee
Bumblebee/Extensions/Debugging.cs
Bumblebee/Extensions/Debugging.cs
using System; using System.Threading; namespace Bumblebee.Extensions { public static class Debugging { public static T DebugPrint<T>(this T obj) { Console.WriteLine(obj.ToString()); return obj; } public static T DebugPrint<T>(this T obj, string message) ...
using System; using System.Threading; namespace Bumblebee.Extensions { public static class Debugging { public static T DebugPrint<T>(this T obj) { Console.WriteLine(obj.ToString()); return obj; } public static T DebugPrint<T>(this T obj, string message) ...
mit
C#
d8b3c89444350c24793d424991399919dfd8503d
Add global filtering
morarj/ACStalkMarket,morarj/ACStalkMarket,morarj/ACStalkMarket
ACStalkMarket/ACStalkMarket/App_Start/FilterConfig.cs
ACStalkMarket/ACStalkMarket/App_Start/FilterConfig.cs
using System.Web; using System.Web.Mvc; namespace ACStalkMarket { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); filters.Add(new AuthorizeAttribute()); } } }
using System.Web; using System.Web.Mvc; namespace ACStalkMarket { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
mit
C#
330efe50988200496eb0fc0c412c30b1e0069840
Use submit button
ucdavis/CRP,ucdavis/CRP,ucdavis/CRP
CRP.Mvc/Views/ItemManagement/_TabNotifications.cshtml
CRP.Mvc/Views/ItemManagement/_TabNotifications.cshtml
@using CRP.Controllers @using Microsoft.Web.Mvc @model IEnumerable<CRP.Core.Domain.Transaction> <div class="tab-pane" id="Notifications"> <table id="table-Notifications" class="table table-bordered"> <thead> <tr> <th></th> <th>Transaction</th> ...
@using CRP.Controllers @using Microsoft.Web.Mvc @model IEnumerable<CRP.Core.Domain.Transaction> <div class="tab-pane" id="Notifications"> <table id="table-Notifications" class="table table-bordered"> <thead> <tr> <th></th> <th>Transaction</th> ...
mit
C#
b4ec83ec3aaa6471d631b149dccb2b13b3894d31
Modify AsyncResponseTimeout comment.
jlucansky/Camunda.Api.Client
Camunda.Api.Client/ExternalTask/FetchExternalTasks.cs
Camunda.Api.Client/ExternalTask/FetchExternalTasks.cs
using System.Collections.Generic; namespace Camunda.Api.Client.ExternalTask { public class FetchExternalTasks { /// <summary> /// Mandatory. The maximum number of tasks to return. /// </summary> public int MaxTasks; /// <summary> /// Mandatory. The id of the wor...
using System.Collections.Generic; namespace Camunda.Api.Client.ExternalTask { public class FetchExternalTasks { /// <summary> /// Mandatory. The maximum number of tasks to return. /// </summary> public int MaxTasks; /// <summary> /// Mandatory. The id of the wor...
mit
C#
83925f8ca2bc05e41909b4256a2d9d1b40b41080
Add ApiException that takes a message
appharbor/appharbor-cli
src/AppHarbor/ApiException.cs
src/AppHarbor/ApiException.cs
using System; namespace AppHarbor { public class ApiException : Exception { public ApiException() { } public ApiException(string message) : base(message) { } } }
using System; namespace AppHarbor { public class ApiException : Exception { public ApiException() { } } }
mit
C#
52466d54a36fb9e927a954baec4dc06840d8c6d5
Add FallBackFeeRate for RegTest (estimatefee always fails there)
DanGould/NTumbleBit,NTumbleBit/NTumbleBit
NTumbleBit.TumblerServer/Services/ExternalServices.cs
NTumbleBit.TumblerServer/Services/ExternalServices.cs
using NBitcoin.RPC; #if !CLIENT using NTumbleBit.TumblerServer.Services.RPCServices; #else using NTumbleBit.Client.Tumbler.Services.RPCServices; #endif using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; #if !CLIENT namespace NTumbleBit.TumblerServer.Services #else namespa...
using NBitcoin.RPC; #if !CLIENT using NTumbleBit.TumblerServer.Services.RPCServices; #else using NTumbleBit.Client.Tumbler.Services.RPCServices; #endif using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; #if !CLIENT namespace NTumbleBit.TumblerServer.Services #else namespa...
mit
C#
950602b7b23e3412cff6ce38ae7c1ab7982494bf
fix missing theory attribute
mruhul/Bolt.Common.Extensions
src/Bolt.Common.Extensions.UnitTests/NullSafeExtensionsTests.cs
src/Bolt.Common.Extensions.UnitTests/NullSafeExtensionsTests.cs
using Xunit; using Shouldly; namespace Bolt.Common.Extensions.UnitTests { public class NullSafeExtensionsTests { [Theory] [InlineData(null, 0)] [InlineData(1, 1)] public void NullIntTests(int? source, int expectedValue) { source.NullSafe().ShouldBe(expectedV...
using Xunit; using Shouldly; namespace Bolt.Common.Extensions.UnitTests { public class NullSafeExtensionsTests { [InlineData(null, 0)] [InlineData(1, 1)] public void NullIntTests(int? source, int expectedValue) { source.NullSafe().ShouldBe(expectedValue); } ...
mit
C#
a38ddec6bc1cec5f82b16307bcac35014dd2ba76
Add Cache-Control header to project files
GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu
src/Dangl.WebDocumentation/Controllers/ProjectsController.cs
src/Dangl.WebDocumentation/Controllers/ProjectsController.cs
using System.IO; using System.Linq; using System.Threading.Tasks; using Dangl.WebDocumentation.Models; using Dangl.WebDocumentation.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Sta...
using System.IO; using System.Linq; using System.Threading.Tasks; using Dangl.WebDocumentation.Models; using Dangl.WebDocumentation.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Sta...
mit
C#
53e63b347b1e6e36720d262940500b21ed1408ce
remove unnecessary using
pocketberserker/MessagePack.FSharpExtensions
src/MessagePack.FSharpExtensions/Formatters/UnitFormatter.cs
src/MessagePack.FSharpExtensions/Formatters/UnitFormatter.cs
using MessagePack.Formatters; using Microsoft.FSharp.Core; namespace MessagePack.FSharp.Formatters { public class UnitFormatter : IMessagePackFormatter<Unit> { public UnitFormatter() { } public int Serialize(ref byte[] bytes, int offset, Unit value, IFormatterResolver formatterResolver) ...
using System; using MessagePack.Formatters; using Microsoft.FSharp.Core; namespace MessagePack.FSharp.Formatters { public class UnitFormatter : IMessagePackFormatter<Unit> { public UnitFormatter() { } public int Serialize(ref byte[] bytes, int offset, Unit value, IFormatterResolver formatterR...
mit
C#
3b7a54f10d11c2269e9d187e4e5db3e21c84b408
Update Shapes.cs
sfmskywalker/Orchard,bedegaming-aleksej/Orchard,Lombiq/Orchard,tobydodds/folklife,OrchardCMS/Orchard,OrchardCMS/Orchard,AdvantageCS/Orchard,Fogolan/OrchardForWork,jtkech/Orchard,xkproject/Orchard,hannan-azam/Orchard,jchenga/Orchard,ehe888/Orchard,yersans/Orchard,tobydodds/folklife,mvarblow/Orchard,abhishekluv/Orchard,a...
src/Orchard.Web/Modules/Orchard.Lists/Shapes.cs
src/Orchard.Web/Modules/Orchard.Lists/Shapes.cs
using System; using Orchard.ContentManagement; using Orchard.Core.Containers.Models; using Orchard.Core.Containers.Services; using Orchard.DisplayManagement.Descriptors; using Orchard.Environment; namespace Orchard.Lists { public class Shapes : IShapeTableProvider { private readonly Work<IContainerService...
using System; using Orchard.ContentManagement; using Orchard.Core.Containers.Models; using Orchard.Core.Containers.Services; using Orchard.DisplayManagement.Descriptors; using Orchard.Environment; namespace Orchard.Lists { public class Shapes : IShapeTableProvider { private readonly Work<IContainerService...
bsd-3-clause
C#
f1c89e033492f972c3346de0ebb14007b935c443
Remove resharper comment (bug fixed in R#)
kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Helpers/MarkDownHelper.cs
Joinrpg/Helpers/MarkDownHelper.cs
using System; using System.Web; using CommonMark; using JoinRpg.DataModel; using Vereyon.Web; namespace JoinRpg.Web.Helpers { public static class MarkDownHelper { private static readonly Lazy<HtmlSanitizer> SimpleHtml5SanitizerImpl = new Lazy<HtmlSanitizer>(HtmlSanitizer.SimpleHtml5Sanitizer); private sta...
using System; using System.Web; using CommonMark; using JoinRpg.DataModel; using Vereyon.Web; namespace JoinRpg.Web.Helpers { public static class MarkDownHelper { private static readonly Lazy<HtmlSanitizer> SimpleHtml5SanitizerImpl = new Lazy<HtmlSanitizer>(HtmlSanitizer.SimpleHtml5Sanitizer); private sta...
mit
C#
5ddd70ec786cda2cce58851bc86027c4d5716bd2
Fix the versioning info
rzhw/Squirrel.Windows,rzhw/Squirrel.Windows
src/Squirrel.Updater/Properties/AssemblyInfo.cs
src/Squirrel.Updater/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("Sq...
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("Sq...
mit
C#
c48bc6499381e69cc3163022aa8fe3680272a14f
fix #17
NFig/NFig
NFig/SettingConverterAttribute.cs
NFig/SettingConverterAttribute.cs
using System; using System.Linq; using JetBrains.Annotations; namespace NFig { /// <summary> /// Used to mark individual settings as using a specific converter. /// </summary> public class SettingConverterAttribute : Attribute { /// <summary> /// The converter object. It will implem...
using System; using System.Linq; namespace NFig { /// <summary> /// Used to mark individual settings as using a specific converter. /// </summary> public class SettingConverterAttribute : Attribute { /// <summary> /// The converter object. It will implement <see cref="ISettingConve...
mit
C#
535ad09a57cc22f473d7f75df292dd8a96082304
Add check for Mono for LogicalCallContext
criteo/zipkin4net,criteo/zipkin4net
Criteo.Profiling.Tracing/TraceContext.cs
Criteo.Profiling.Tracing/TraceContext.cs
using System; using System.Runtime.Remoting.Messaging; namespace Criteo.Profiling.Tracing { internal static class TraceContext { private const string TraceCallContextKey = "crto_trace"; private static readonly bool IsRunningOnMono = (Type.GetType("Mono.Runtime") != null); public stat...
using System.Runtime.Remoting.Messaging; namespace Criteo.Profiling.Tracing { internal static class TraceContext { private const string TraceCallContextKey = "crto_trace"; public static Trace Get() { return CallContext.LogicalGetData(TraceCallContextKey) as Trace; ...
apache-2.0
C#
87e59ad885a1374508cd89187d3512cac0c01922
Bump version number to 1.2.0.0.
da2x/EdgeDeflector
EdgeDeflector/Properties/AssemblyInfo.cs
EdgeDeflector/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("Edg...
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("Edg...
mit
C#
1b43c3db4179736d57225fdc27523a901d3d4ece
Update copyright year.
ollyau/FSActiveFires
FSActiveFires/Properties/AssemblyInfo.cs
FSActiveFires/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
87d36ae5168f48976f7c960a1e5db5be64ed4075
Fix a TrackableContainerTrackerJsonConverter bug
SaladbowlCreative/TrackableData,SaladLab/TrackableData,SaladbowlCreative/TrackableData,SaladLab/TrackableData
core/TrackableData-Json/TrackableContainerTrackerJsonConverter.cs
core/TrackableData-Json/TrackableContainerTrackerJsonConverter.cs
using System; using System.Reflection; using Newtonsoft.Json; namespace TrackableData.Json { public class TrackableContainerTrackerJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { return typeof(IContainerTracker).IsAssignableFrom(objectType); ...
using System; using System.Reflection; using Newtonsoft.Json; namespace TrackableData.Json { public class TrackableContainerTrackerJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { return typeof(IContainerTracker).IsAssignableFrom(objectType); ...
mit
C#
cf5dcaa368fab62da89bcda6f0ae1debdd3d0730
Update CubicBezierDrawNode.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Modules/Renderer/SkiaSharp/Nodes/CubicBezierDrawNode.cs
src/Core2D/Modules/Renderer/SkiaSharp/Nodes/CubicBezierDrawNode.cs
#nullable enable using Core2D.Model.Renderer; using Core2D.Model.Renderer.Nodes; using Core2D.ViewModels.Shapes; using Core2D.ViewModels.Style; using SkiaSharp; namespace Core2D.Modules.Renderer.SkiaSharp.Nodes; internal class CubicBezierDrawNode : DrawNode, ICubicBezierDrawNode { public CubicBezierShapeViewMode...
#nullable enable using Core2D.Model.Renderer; using Core2D.Model.Renderer.Nodes; using Core2D.ViewModels.Shapes; using Core2D.ViewModels.Style; using SkiaSharp; namespace Core2D.Modules.Renderer.SkiaSharp.Nodes; internal class CubicBezierDrawNode : DrawNode, ICubicBezierDrawNode { public CubicBezierShapeViewMode...
mit
C#
a158a11cab93c5cc31e064f1f5ccb784eff2280b
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/ArgumentIsNotOutOrRefException.cs
Source/NSubstitute/Exceptions/ArgumentIsNotOutOrRefException.cs
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class ArgumentIsNotOutOrRefException : SubstituteException { const string WhatProbablyWentWrong = "Could not set argument {0} ({1}) as it is not an out or ref argument."; public Argume...
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class ArgumentIsNotOutOrRefException : SubstituteException { const string WhatProbablyWentWrong = "Could not set argument {0} ({1}) as it is not an out or ref argument."; public ArgumentIsNotOutOrRefExce...
bsd-3-clause
C#
28537a51a3b175313d1053a7ad8bf7b5fc68e343
Update UsingDefaultCache.cs
NMSLanX/Natasha
src/Natasha/Core/Engine/ScriptModule/Template/UsingDefaultCache.cs
src/Natasha/Core/Engine/ScriptModule/Template/UsingDefaultCache.cs
using Microsoft.Extensions.DependencyModel; using System.Collections.Generic; using System.Reflection; using System.Text; namespace Natasha.Template { public static class UsingDefaultCache { public readonly static HashSet<string> DefaultNamesapce; public readonly static StringBuilder Default...
using Microsoft.Extensions.DependencyModel; using System.Collections.Generic; using System.Reflection; using System.Text; namespace Natasha.Template { public static class UsingDefaultCache { public readonly static HashSet<string> DefaultNamesapce; public readonly static StringBuilder Default...
mpl-2.0
C#
0d25b4ba3d2a4365579bf19b3acf39603935fd1e
fix tests
ThomasPe/PixabaySharp
PixabaySharp.Tests/ClientTests.cs
PixabaySharp.Tests/ClientTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using PixabaySharp.Utility; namespace PixabaySharp.Tests { [TestClass] public class ClientTests { [TestMethod] public async Task BasicTest() { var client = new PixabaySharpCl...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using PixabaySharp.Utility; namespace PixabaySharp.Tests { [TestClass] public class ClientTests { [TestMethod] public async Task BasicTest() { var client = new PixabaySharpCl...
mit
C#
67fc879a972441132893f743a825c7a5f0e99306
Add test when IResponse not set
github/VisualStudio,github/VisualStudio,github/VisualStudio
test/GitHub.Exports.UnitTests/ApiExceptionExtensionsTests.cs
test/GitHub.Exports.UnitTests/ApiExceptionExtensionsTests.cs
using System.Collections.Generic; using System.Collections.Immutable; using Octokit; using NSubstitute; using NUnit.Framework; using GitHub.Extensions; public class ApiExceptionExtensionsTests { public class TheIsGitHubApiExceptionMethod { [TestCase("Not-GitHub-Request-Id", false)] [TestCase("...
using System.Collections.Generic; using System.Collections.Immutable; using Octokit; using NSubstitute; using NUnit.Framework; using GitHub.Extensions; public class ApiExceptionExtensionsTests { public class TheIsGitHubApiExceptionMethod { [TestCase("Not-GitHub-Request-Id", false)] [TestCase("...
mit
C#
fb9fd714bfc9e131e7dc429a1aa907123c9afeed
set cookies during event handler
sean-sparkman/CookiesWebView,seansparkman/CookiesWebView
Cookies/CookieWebView.cs
Cookies/CookieWebView.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace Cookies { public delegate void WebViewNavigatedHandler(object sender, CookieNavigatedEventArgs args); public delegate void WebViewNavigatingHandl...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace Cookies { public delegate void WebViewNavigatedHandler(object sender, CookieNavigatedEventArgs args); public delegate void WebViewNavigatingHandl...
mit
C#
0b6ea047ea43f39efae6f6055fd8e21c660947b6
Update Assets/MixedRealityToolkit.SDK/Experimental/Features/UX/BoundsControl/Visuals/ProximityEffect/IProximityEffectObjectProvider.cs
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit.SDK/Experimental/Features/UX/BoundsControl/Visuals/ProximityEffect/IProximityEffectObjectProvider.cs
Assets/MixedRealityToolkit.SDK/Experimental/Features/UX/BoundsControl/Visuals/ProximityEffect/IProximityEffectObjectProvider.cs
using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI.Experimental { /// <summary> /// Interface for defining a proximity object provider used in <see cref="ProximityEffect" /> of <see cref="BoundsControl" /> /// ProximityEffectObjectProviders are responsible for providing gameobjec...
using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI.Experimental { /// <summary> /// Interface for defining a proximity object provider used in <see cref="ProximityEffect" /> of <see cref="BoundsControl" /> /// ProximityEffectObjectProviders are responsible for providing gameobjec...
mit
C#
3e3305bab6e23ae79df3f615e4d9ef827a7cdd59
Update Assembly version
inputfalken/Sharpy
Sharpy/Properties/AssemblyInfo.cs
Sharpy/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("S...
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("S...
mit
C#
925a79c0615307ec94adb77bbb9945c04e00e406
Test updates
clamidity/SalesforceMagic,bpandola/SalesforceMagic,michael-shattuck/SalesforceMagic
SalesforceMagicTests/SoqlVisitorTests.cs
SalesforceMagicTests/SoqlVisitorTests.cs
using System; using System.Linq.Expressions; using NUnit.Framework; using SalesforceMagic.LinqProvider; using Shouldly; namespace SalesforceMagicTests { public class SoqlVisitorTests { [Test] public void ShouldConvertBinaryExpressionsToSoql() { TestExpression(a => a.IsDelet...
using System; using System.Linq.Expressions; using NUnit.Framework; using SalesforceMagic.LinqProvider; using Shouldly; namespace SalesforceMagicTests { public class SoqlVisitorTests { [Test] public void ShouldConvertBinaryExpressionsToSoql() { TestExpression(a => a.IsDelet...
mit
C#
8f61f378aa4df8dd1e29ab535b8f563505deb8cf
Fix API
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/CSharp/Daemon/Stages/Highlightings/AbstractUnityGutterMark.cs
resharper/resharper-unity/src/CSharp/Daemon/Stages/Highlightings/AbstractUnityGutterMark.cs
using System.Collections.Generic; using JetBrains.Application.UI.Controls.BulbMenu.Anchors; using JetBrains.Application.UI.Controls.BulbMenu.Items; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors; using JetBrains.ReSharper.Res...
using System.Collections.Generic; using JetBrains.Application.UI.Controls.BulbMenu.Anchors; using JetBrains.Application.UI.Controls.BulbMenu.Items; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors; using JetBrains.ReSharper.Plu...
apache-2.0
C#
9a4436ebf539be3ff53040685979aa925127a55e
Change project versioning
MarkKhromov/The-Log
TheLog/Properties/AssemblyInfo.cs
TheLog/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("The Log")] [assembly: AssemblyProduct("The Log")] [assembly: AssemblyCopyright("Copyright © Mark Khromov 2017")] [assembly: AssemblyDescription("Library for logging.")] [assembly: ComVisible(false)] [assembly: Guid("968ef723-0186...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("The Log")] [assembly: AssemblyProduct("The Log")] [assembly: AssemblyCopyright("Copyright © Mark Khromov 2017")] [assembly: AssemblyDescription("Library for logging.")] [assembly: ComVisible(false)] [assembly: Guid("968ef723-0186...
mit
C#
4ced0561c73b5109e825b85afb7455e75d145ddc
Fix after review
neo4j/neo4j-dotnet-driver,ali-ince/neo4j-dotnet-driver,neo4j/neo4j-dotnet-driver
Neo4j.Driver/Neo4j.Driver/Internal/Extensions/ErrorExtensions.cs
Neo4j.Driver/Neo4j.Driver/Internal/Extensions/ErrorExtensions.cs
// Copyright (c) 2002-2017 "Neo Technology," // Network Engine for Objects in Lund AB [http://neotechnology.com] // // This file is part of Neo4j. // // 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 ...
// Copyright (c) 2002-2017 "Neo Technology," // Network Engine for Objects in Lund AB [http://neotechnology.com] // // This file is part of Neo4j. // // 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 ...
apache-2.0
C#
feb39920c5d9e3d5353ab71eb5be230767af1273
Allow rotation lock on Android to function properly
NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu
osu.Android/OsuGameActivity.cs
osu.Android/OsuGameActivity.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 Android.App; using Android.Content.PM; using Android.OS; using Android.Views; using osu.Framework.Android; namespace osu.Android { [Activity(Theme = "@android...
// 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 Android.App; using Android.Content.PM; using Android.OS; using Android.Views; using osu.Framework.Android; namespace osu.Android { [Activity(Theme = "@android...
mit
C#
f5413cb2f8111d5cc8fec0843df363e5f9d2beab
add display names
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Models/ApplicationUser.cs
AstroPhotoGallery/AstroPhotoGallery/Models/ApplicationUser.cs
using System.ComponentModel; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations; using System.Security.Claims; using System.Threading.Tasks; namespace AstroPhotoGallery.Models { // You can add profile data for the user by adding more prope...
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.ComponentModel.DataAnnotations; using System.Security.Claims; using System.Threading.Tasks; namespace AstroPhotoGallery.Models { // You can add profile data for the user by adding more properties to your ApplicationUse...
mit
C#
f1840507aca1e20fff51bdf5107999ae1e9f10d1
Implement CleanUpRawLine() static method for InstructionInterpreter
vejuhust/msft-scooter
ScooterController/ScooterController/InstructionInterpreter.cs
ScooterController/ScooterController/InstructionInterpreter.cs
using System; using System.Collections.Generic; using System.IO; namespace ScooterController { class InstructionInterpreter { private const string CommentSymbol = ";"; private readonly List<string> instructionRawLines; private int counterRawLine = 0; public InstructionInterp...
using System; using System.Collections.Generic; using System.IO; namespace ScooterController { class InstructionInterpreter { private readonly List<string> instructionRawLines; private int counterRawLine = 0; public InstructionInterpreter(string filename = "instruction.txt") ...
mit
C#
d73619a1cfef50239deca60408458813824deb88
Use readonly on fields that should not be modified
tomba/Toolkit,sharpdx/Toolkit,sharpdx/Toolkit
Source/Toolkit/SharpDX.Toolkit.Graphics/InputSignatureManager.cs
Source/Toolkit/SharpDX.Toolkit.Graphics/InputSignatureManager.cs
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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, modif...
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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, modif...
mit
C#
02462381e4cfc0d63b32ef1b730a72dcf50ab378
Add settings to config
Kerbas-ad-astra/Orbital-Science,DMagic1/Orbital-Science
Source/DMConfigLoader.cs
Source/DMConfigLoader.cs
 using System.Collections.Generic; using UnityEngine; namespace DMagic { [KSPAddon(KSPAddon.Startup.MainMenu, true)] internal class DMConfigLoader: MonoBehaviour { internal static Dictionary<string, DMcontractScience> availableScience = new Dictionary<string, DMcontractScience>(); internal static float science...
 using System.Collections.Generic; using UnityEngine; namespace DMagic { [KSPAddon(KSPAddon.Startup.MainMenu, true)] internal class DMConfigLoader: MonoBehaviour { internal static Dictionary<string, DMcontractScience> availableScience = new Dictionary<string, DMcontractScience>(); private void Start() { ...
bsd-3-clause
C#
1bd0f9658826c06a6eed61127a4d141c798676c1
Edit receipt model
krprasert/VilageMGN,surrealist/VilageMGN,surrealist/VilageMGN,teeteerapol/VilageMGN,tonanumart/VilageMGN,sanarujung/VilageMGN,teeteerapol/VilageMGN,sanarujung/VilageMGN,tonanumart/VilageMGN,teeteerapol/VilageMGN,tonanumart/VilageMGN,surrealist/VilageMGN,krprasert/VilageMGN,sanarujung/VilageMGN,krprasert/VilageMGN
Village.Model/Receipt.cs
Village.Model/Receipt.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Village.Model { public class Receipt { public int Id { get; set; } public int InvoiceId { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Village.Model { public class Receipt { } }
mit
C#
cc46d0ca12547591d09c1a96cc24718ae78d0f50
Add detail panel, currently empty
mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker
AddinBrowser/AddinBrowserWidget.cs
AddinBrowser/AddinBrowserWidget.cs
using Gtk; using Mono.Addins; using MonoDevelop.Ide.Gui; using MonoDevelop.Ide.Gui.Components; namespace MonoDevelop.AddinMaker.AddinBrowser { class AddinBrowserWidget : HPaned { ExtensibleTreeView treeView; public AddinBrowserWidget (AddinRegistry registry) { Registry = registry; Build ...
using Gtk; using Mono.Addins; using MonoDevelop.Ide.Gui; using MonoDevelop.Ide.Gui.Components; namespace MonoDevelop.AddinMaker.AddinBrowser { class AddinBrowserWidget : VBox { ExtensibleTreeView treeView; public AddinBrowserWidget (AddinRegistry registry) { Registry = registry; Build ()...
mit
C#
8c33934a2988be5344c47a0b737d9dca595bf9f2
Fix download didn't start by close response in getFileDetail, implement FillCredential method
witoong623/TirkxDownloader,witoong623/TirkxDownloader
Models/DetailProvider.cs
Models/DetailProvider.cs
using System; using System.IO; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using TirkxDownloader.Framework; using TirkxDownloader.Models; namespace TirkxDownloader.Models { public class DetailProvider { private Author...
using System; using System.Net; using System.Threading; using System.Threading.Tasks; using TirkxDownloader.Framework; namespace TirkxDownloader.Models { public class DetailProvider { public async Task GetFileDetail(DownloadInfo detail, CancellationToken ct) { try { ...
mit
C#
e8148034c9077943e25d6ca43ec47090c1d9c026
Make Info.Web and Resource.Uri URIs
darbio/cap-net,TeamnetGroup/cap-net
src/CAPNet/Models/Resource.cs
src/CAPNet/Models/Resource.cs
using System; namespace CAPNet.Models { /// <summary> /// /// </summary> public class Resource { /// <summary> /// /// </summary> public string Description { get; set; } /// <summary> /// /// </summary> public string MimeType { ge...
using System; namespace CAPNet.Models { /// <summary> /// /// </summary> public class Resource { /// <summary> /// /// </summary> public string Description { get; set; } /// <summary> /// /// </summary> public string MimeType { ge...
mit
C#
50246405f29d6906961a8617ba997820a7c39beb
Add a few more needed libraries to the public space
dlech/monomac,kangaroo/monomac,PlayScriptRedux/monomac
src/Foundation/NSObjectMac.cs
src/Foundation/NSObjectMac.cs
// // Copyright 2010, 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, including // without limitation the rights to use, copy, modify, merge, publish, ...
// // Copyright 2010, 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, including // without limitation the rights to use, copy, modify, merge, publish, ...
apache-2.0
C#
21fa0bc5b50044a17b70c05f19118ea08adbfcac
make serialization more tolerant of changes
fszlin/certes,fszlin/certes
src/Certes/Json/JsonUtil.cs
src/Certes/Json/JsonUtil.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Certes.Json { /// <summary> /// Helper methods for JSON serialization. /// </summary> public static class JsonUtil { /// <summary> /// Creates the <see cref="JsonSerializerSettin...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Certes.Json { /// <summary> /// Helper methods for JSON serialization. /// </summary> public static class JsonUtil { /// <summary> /// Creates the <see cref="JsonSerializerSettin...
mit
C#
89466631efe398927f0ceabfb0f45146b04d8121
Add the CostCenterId to the exposed interface of the Booking.Product type.
ivvycode/ivvy-sdk-net
src/Venue/Bookings/Product.cs
src/Venue/Bookings/Product.cs
using Ivvy.API.Json; using Newtonsoft.Json; namespace Ivvy.API.Venue.Bookings { /// <summary> /// Details of a product on a venue booking session. /// </summary> public class Product : ISerializable { [JsonProperty("id")] public int Id { get; set; } ...
using Ivvy.API.Json; using Newtonsoft.Json; namespace Ivvy.API.Venue.Bookings { /// <summary> /// Details of a product on a venue booking session. /// </summary> public class Product : ISerializable { [JsonProperty("id")] public int Id { get; set; } ...
mit
C#
46af983e6804176fd36839db03b7aa2f06f6a45e
Replace deprecated method LocalizedString
roycornelissen/GMImagePicker.Xamarin
src/GMImagePicker/TranslationExtensions.cs
src/GMImagePicker/TranslationExtensions.cs
// // TranslationExtensions.cs // GMPhotoPicker.Xamarin // // Created by Roy Cornelissen on 23/03/16. // Based on original GMImagePicker implementation by Guillermo Muntaner Perelló. // https://github.com/guillermomuntaner/GMImagePicker // using Foundation; namespace GMImagePicker { [Register ("DummyClass")...
// // TranslationExtensions.cs // GMPhotoPicker.Xamarin // // Created by Roy Cornelissen on 23/03/16. // Based on original GMImagePicker implementation by Guillermo Muntaner Perelló. // https://github.com/guillermomuntaner/GMImagePicker // using Foundation; namespace GMImagePicker { [Register ("DummyClass")...
mit
C#
7d2613c02df7826daca9cf25d14995765786ddf6
Update version
Yonom/CupCake
CupCake/Properties/AssemblyInfo.cs
CupCake/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("CupCake")] [assembly: AssemblyDescriptio...
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("CupCake")] [assembly: AssemblyDescriptio...
mit
C#
a730349629c5b3f39a0107980a39bbb5161125cf
Remove the ignore attribute once again
ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu
osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs
osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics.Containers; using osu.Framework.Screens; usin...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics.Containers; using osu.Framework.Screens; usin...
mit
C#
754a4a920900e1ae56d4fdae7cbdfd02bcb8cbd1
Fix incomplete intellisense on Context
michael-wolfenden/Polly
src/Polly.Shared/Context.cs
src/Polly.Shared/Context.cs
using System; using System.Collections.Generic; using Polly.Wrap; namespace Polly { /// <summary> /// Context that carries with a single execution through a Policy. Commonly-used properties are directly on the class. Backed by a dictionary of string key / object value pairs, to which user-defined values ma...
using System; using System.Collections.Generic; namespace Polly { /// <summary> /// Context that carries with a single execution through a Policy. Commonly-used properties are directly on the class. Backed by a dictionary of string key / object value pairs, to which user-defined values may be added. //...
bsd-3-clause
C#
b00ee67895cba2bdbe64c49c9b698f87413bb2fc
Remove excess whitespace
ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu
osu.Game/Overlays/Dashboard/DashboardOverlayHeader.cs
osu.Game/Overlays/Dashboard/DashboardOverlayHeader.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.ComponentModel; using osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.Dashboard { publ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.ComponentModel; using osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.Dashboard { publ...
mit
C#
1c815cfe5d54288405d7e780d558ac7554fdbd20
Clarify Context intellisense
michael-wolfenden/Polly
src/Polly.Shared/Context.cs
src/Polly.Shared/Context.cs
using System; using System.Collections.Generic; using Polly.Wrap; namespace Polly { /// <summary> /// Context that carries with a single execution through a Policy. Commonly-used properties are directly on the class. Backed by a dictionary of string key / object value pairs, to which user-defined values ma...
using System; using System.Collections.Generic; using Polly.Wrap; namespace Polly { /// <summary> /// Context that carries with a single execution through a Policy. Commonly-used properties are directly on the class. Backed by a dictionary of string key / object value pairs, to which user-defined values ma...
bsd-3-clause
C#
7136c842159f6517b1665aa4cbbde7b25b892844
Remove redundant extension method
anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit
src/DeploymentCockpit.Core/Common/IEnumerableExtensions.cs
src/DeploymentCockpit.Core/Common/IEnumerableExtensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace DeploymentCockpit.Common { public static class IEnumerableExtensions { public static IEnumerable<T> Each<T>(this IEnumerable<T> enumerable, Action<T> itemAction) { foreach (var item in enumerable) ...
using System; using System.Collections.Generic; using System.Linq; namespace DeploymentCockpit.Common { public static class IEnumerableExtensions { public static bool IsNullOrEmpty<T>(this IEnumerable<T> enumerable) { return enumerable == null || !enumerable.Any(); } ...
apache-2.0
C#
0aac9df887b44b72f91582297dc98d6fccfacc37
Fix line sampling
jomar/NGraphics,praeclarum/NGraphics
NGraphics/Line.cs
NGraphics/Line.cs
using System; using System.Globalization; namespace NGraphics { public class Line : Element { protected Point start; protected Point end; public Line (Point start, Point end, Pen pen) : base (pen, null) { this.start = start; this.end = end; } protected override void DrawElement (ICanvas canva...
using System; using System.Globalization; namespace NGraphics { public class Line : Element { protected Point start; protected Point end; public Line (Point start, Point end, Pen pen) : base (pen, null) { this.start = start; this.end = end; } protected override void DrawElement (ICanvas canva...
mit
C#
2f7bc43d2d15c3252e6eeb4dd7675dd833fd56f3
Update OverlappedDataImpl.cs
CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos
source/Cosmos.Core_Plugs/System/Threading/OverlappedDataImpl.cs
source/Cosmos.Core_Plugs/System/Threading/OverlappedDataImpl.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using IL2CPU.API.Attribs; namespace Cosmos.Core_Plugs.System.Threading { [Plug()] class OverlappedDataImpl { [PlugMethod(Signature = "System_Threading_Overlap...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using IL2CPU.API.Attribs; namespace Cosmos.Core_Plugs.System.Threading { class OverlappedDataImpl { [PlugMethod(Signature = "System_Threading_OverlappedData__Syst...
bsd-3-clause
C#
88f450e1d0b3e0beb982f74cb1fa4936694098fb
Remove accidental `nullable enable` spec
peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu
osu.Game/Screens/Utility/SampleComponents/LatencyCursorContainer.cs
osu.Game/Screens/Utility/SampleComponents/LatencyCursorContainer.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.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Cursor; using osu.Framework.Graphics.Shapes; using osu.Framework.Input...
// 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 using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Cursor; using osu.Framework.Graphics.Shapes; using o...
mit
C#
341c27f51a64a9ff05f2a9617a7d99d8bf9f6653
Make ExchangeDeclare derivable
pardahlman/RawRabbit
src/RawRabbit/Pipe/Middleware/ExchangeDeclareMiddleware.cs
src/RawRabbit/Pipe/Middleware/ExchangeDeclareMiddleware.cs
using System; using System.Threading; using System.Threading.Tasks; using RawRabbit.Common; using RawRabbit.Configuration.Exchange; using RawRabbit.Logging; namespace RawRabbit.Pipe.Middleware { public class ExchangeDeclareOptions { public Func<IPipeContext, ExchangeDeclaration> ExchangeFunc { get; set; } publi...
using System; using System.Threading; using System.Threading.Tasks; using RawRabbit.Common; using RawRabbit.Configuration.Exchange; using RawRabbit.Logging; namespace RawRabbit.Pipe.Middleware { public class ExchangeDeclareOptions { public Func<IPipeContext, ExchangeDeclaration> ExchangeFunc { get; set; } publi...
mit
C#
116421a35d8abcd3905514284e66ff0c79353b38
Fix 404 error when calling GetMammals, incorrect route
MortenLiebmann/holoholona,MortenLiebmann/holoholona
Holoholona/Views/Home/Index.cshtml
Holoholona/Views/Home/Index.cshtml
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script> <script> var data = (function ($) { var getData = (function() { $.ajax({ method: "GET", url: "@Url.Action("GetMammals", "Home")", dataT...
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script> <script> var data = (function ($) { var getData = (function() { $.ajax({ method: "GET", url: "GetMammals", dataType: "json", ...
mit
C#
14729716bcb1b2b605f0b8dd6bb6e1a11d6c1446
Add xml documentation
imasm/CSharpExtensions
CSharpEx.Forms/ControlEx.cs
CSharpEx.Forms/ControlEx.cs
using System; using System.Windows.Forms; namespace CSharpEx.Forms { /// <summary> /// Control extensions /// </summary> public static class ControlEx { /// <summary> /// Invoke action if Invoke is requiered. /// </summary> public static void InvokeIfRequired<T>(thi...
using System; using System.Windows.Forms; namespace CSharpEx.Forms { public static class ControlEx { /// <summary> /// Invoke action if Invoke is requiered. /// </summary> public static void InvokeIfRequired<T>(this T c, Action<T> action) where T : Control { ...
apache-2.0
C#
9f8dd8557bade54a06c77287a3d632f86ee71510
Add RealtimePushTests to newtonsoft test suite
nkreipke/rethinkdb-net,nkreipke/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net,Ernesto99/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,Ernesto99/rethinkdb-net
rethinkdb-net-newtonsoft-test/Integration/CoreIntegrationTests.cs
rethinkdb-net-newtonsoft-test/Integration/CoreIntegrationTests.cs
using NUnit.Framework; using RethinkDb.Newtonsoft.Configuration; using RethinkDb.Test.Integration; namespace RethinkDb.Newtonsoft.Test.Integration { [SetUpFixture] public class NIntegrationTestSetup : IntegrationTestSetup { } [TestFixture] public class NSingleObjectTest : SingleObjectTests ...
using NUnit.Framework; using RethinkDb.Newtonsoft.Configuration; using RethinkDb.Test.Integration; namespace RethinkDb.Newtonsoft.Test.Integration { [SetUpFixture] public class NIntegrationTestSetup : IntegrationTestSetup { } [TestFixture] public class NSingleObjectTest : SingleObjectTests ...
apache-2.0
C#
a84b341748584e6a46af5c12ffe6f378faab8a26
Add more tests when target file exists
eggapauli/ExtractTypeToFileDiagnostic
ExtractTypeToFileDiagnostic/ExtractTypeToFileDiagnostic.Test/CodeFixes/GivenExistingDocument.cs
ExtractTypeToFileDiagnostic/ExtractTypeToFileDiagnostic.Test/CodeFixes/GivenExistingDocument.cs
using FluentAssertions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Text; using NUnit.Framework; using System.Linq; using System.Threading.Tasks; namespace ExtractTypeToFileDiagnostic.Test.CodeFixes { [TestFixture] public class GivenExistingDocument : Diagno...
using FluentAssertions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Text; using NUnit.Framework; using System.Linq; using System.Threading.Tasks; namespace ExtractTypeToFileDiagnostic.Test.CodeFixes { [TestFixture] public class GivenExistingDocument : Diagno...
mit
C#
85c4dc88f9e5d3c6c3b29e439a9847a39fa7559a
Add missing property on Team class
CSGO-Analysis/CSGO-Analyzer
DemoParser/Entities/Team.cs
DemoParser/Entities/Team.cs
using DemoParser_Core.Packets; using System; namespace DemoParser_Core.Entities { public class Team : IComparable { internal Entity Entity; public int Id { get { return Entity.ID; } } public int Num { get; internal set; } public string Name { get; internal set; } /// <summary> /// ISO Alpha 2 countr...
using DemoParser_Core.Packets; using System; namespace DemoParser_Core.Entities { public class Team : IComparable { internal Entity Entity; public int Num { get; internal set; } public string Name { get; internal set; } /// <summary> /// ISO Alpha 2 country flag /// e.g. US = United States /// http...
mit
C#
705ab24b9f055cb7c5b972fe7d853ad75e06e7cd
bump assembly version
cgerrior/recurly-client-net,jvalladolid/recurly-client-net
Library/Properties/AssemblyInfo.cs
Library/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("Re...
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("Re...
mit
C#
d0279c1c98778d578576683b25eb249b56f01c56
Correct SVN tags
michael-mayes/capturedpackets
PacketCaptureAnalyser/MainWindowFormConstants.cs
PacketCaptureAnalyser/MainWindowFormConstants.cs
// $Id$ // $URL$ // <copyright file="MainWindowFormConstants.cs" company="Public Domain"> // Released into the public domain // </copyright> // This file is part of the C# Packet Capture application. It is free and // unencumbered software released into the public domain as detailed in // the UNLICENSE fil...
// $Id // $URL // <copyright file="MainWindowFormConstants.cs" company="Public Domain"> // Released into the public domain // </copyright> // This file is part of the C# Packet Capture application. It is free and // unencumbered software released into the public domain as detailed in // the UNLICENSE file ...
unlicense
C#
54190e6560cfe7c785843db165ba25e57da4e469
indent changes
Faiz7412/or-tools,tdegrunt/or-tools,FreeScienceCommunity/or-tools,pbomta/or-tools,FreeScienceCommunity/or-tools,pombredanne/or-tools,capturePointer/or-tools,or-tools/or-tools,ThatRfernand/or-tools,WendellDuncan/or-tools,or-tools/or-tools,FreeScienceCommunity/or-tools,hj3938/or-tools,2947721120/curly-hockeypuck,legrosbu...
src/com/google/ortools/constraintsolver/IntervalVarArrayHelper.cs
src/com/google/ortools/constraintsolver/IntervalVarArrayHelper.cs
// Copyright 2010-2012 Google // 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 agreed to in wri...
// Copyright 2010-2012 Google // 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 agreed to...
apache-2.0
C#
2019c317e574e43224c9d1a136ab890af68c6b24
Initialize CreateAppCommand with a TextWriter
appharbor/appharbor-cli
src/AppHarbor/Commands/CreateAppCommand.cs
src/AppHarbor/Commands/CreateAppCommand.cs
using System; using System.IO; using System.Linq; namespace AppHarbor.Commands { [CommandHelp("Create an application", "[NAME]", "create")] public class CreateAppCommand : ICommand { private readonly IAppHarborClient _appHarborClient; private readonly IApplicationConfiguration _applicationConfiguration; priv...
using System; using System.Linq; namespace AppHarbor.Commands { [CommandHelp("Create an application", "[NAME]", "create")] public class CreateAppCommand : ICommand { private readonly IAppHarborClient _appHarborClient; private readonly IApplicationConfiguration _applicationConfiguration; public CreateAppComm...
mit
C#
224e1370c7366a8d7b012b09ad9e95834b991ec6
Refactor TestResult
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Tests/TestResult.cs
src/Arkivverket.Arkade/Tests/TestResult.cs
namespace Arkivverket.Arkade.Tests { public class TestResult { public ResultType Result { get; } public string Message { get; } public TestResult(ResultType result, string message) { Result = result; Message = message; } public bool IsEr...
namespace Arkivverket.Arkade.Tests { public class TestResult { public ResultType Result { get; private set; } public string Message { get; private set; } public TestResult(ResultType result, string message) { Result = result; Message = message; }...
agpl-3.0
C#