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
6526b5596a0dfdffaa0b758f9bf48694935a4e8b
Update IChangeTrackable.cs
joelweiss/ChangeTracking
Source/ChangeTracking/IChangeTrackable.cs
Source/ChangeTracking/IChangeTrackable.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Text; namespace ChangeTracking { public interface IChangeTrackable<T> : IChangeTrackable, IRevertibleChangeTracking { /// <summary> /// Gets the original ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace ChangeTracking { public interface IChangeTrackable<T> : IChangeTrackable, System.ComponentModel.IRevertibleChangeTracking { /// <summary> /// Gets the original value o...
mit
C#
dde7f41b98595688011742cbaba01475fea5ad6e
fix StackOverflowTest breaks Live Unit Testing (Enterprise!)
acple/ParsecSharp
UnitTest.ParsecSharp/StackOverflowTest.cs
UnitTest.ParsecSharp/StackOverflowTest.cs
#if !DEBUG using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using static ParsecSharp.Parser; namespace UnitTest.ParsecSharp { [TestClass] [TestCategory("SkipWhenLiveUnitTesting")] public class StackOverflowTest { [TestMethod] public void StackOverflow...
#if !DEBUG using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using static ParsecSharp.Parser; namespace UnitTest.ParsecSharp { [TestClass] public class StackOverflowTest { [TestMethod] public void StackOverflowTest1() { var parser = Ski...
mit
C#
2498846740a77e5e131a319590309d258834c20c
enable stats in debug only
rustamserg/mogate
mogate.Shared/Services/Statistics.cs
mogate.Shared/Services/Statistics.cs
using System; using System.Collections.Generic; using System.IO; namespace mogate { public interface IStatistics { void EntityAdded(string entity); void EntityRemoved(string entity); void BehaviorRegistered(string entity, string behavior); void BehaviorFetched (string entity, string behavior); void Dump...
using System; using System.Collections.Generic; using System.IO; namespace mogate { public interface IStatistics { void EntityAdded(string entity); void EntityRemoved(string entity); void BehaviorRegistered(string entity, string behavior); void BehaviorFetched (string entity, string behavior); void Dump...
mit
C#
d75ba2b6f700047328bf9128debfed6ff0d2eafd
Fix MSBuild tests on macOS/Linux
DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
tests/TestUtility/StringExtensions.cs
tests/TestUtility/StringExtensions.cs
using System.IO; namespace TestUtility { public static class StringExtensions { /// <summary> /// Given a file or directory path, return a path where all directory separators /// are replaced with a forward slash (/) character. /// </summary> public static string Ensure...
using System.IO; namespace TestUtility { public static class StringExtensions { /// <summary> /// Given a file or directory path, return a path where all directory separators /// are replaced with a forward slash (/) character. /// </summary> public static string Ensure...
mit
C#
08e5ab7e31ab6cf6fb2f210a5a23f2363a385555
Update JSON cache to use camel case property names
stvnhrlnd/SH,stvnhrlnd/SH,stvnhrlnd/SH
SH.Site/Controllers/JsonCacheController.cs
SH.Site/Controllers/JsonCacheController.cs
using AutoMapper; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using SH.Site.Models; using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Text; using System.Web; using System.Web.Http; using Umbraco.Cor...
using AutoMapper; using Newtonsoft.Json; using SH.Site.Models; using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Text; using System.Web; using System.Web.Http; using Umbraco.Core.Logging; using Umbraco.Web.WebApi; ...
mit
C#
57a8b93e891f9aa1f6fdc6379f8257746152e8e5
Add tests for SA1024 in tuple expressions
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using System; using System.Linq; using System.Reflection; using Sy...
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using Test.SpacingRules; public class SA1024CSharp7UnitTests : SA1024Unit...
mit
C#
b29114df97ab2565dfad6c83d3b4918be056f112
Remove unused directives
projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS
SimpleWAWS/Authentication/AuthUtilities.cs
SimpleWAWS/Authentication/AuthUtilities.cs
using System.IO; using System.Net; namespace SimpleWAWS.Authentication { public static class AuthUtilities { public static string GetContentFromUrl(string url) { var request = (HttpWebRequest)WebRequest.Create(url); using (var response = request.GetResponse()) ...
using System; using System.IO; using System.Net; namespace SimpleWAWS.Authentication { public static class AuthUtilities { public static string GetContentFromUrl(string url) { var request = (HttpWebRequest)WebRequest.Create(url); using (var response = request.GetRespons...
apache-2.0
C#
e1b98091650ac894dfefc858fce95e0b94201469
Update Index.cshtml
Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer
RWXViewer/Views/Home/Index.cshtml
RWXViewer/Views/Home/Index.cshtml
@{ ViewBag.Title = "RWX Viewer by Byte"; } @section scripts { <script src="@Url.Content("~/Scripts/gl-matrix.js")"></script> <script src="@Url.Content("~/Scripts/knockout-3.1.0.js")"></script> <script src="@Url.Content("~/Scripts/require.js")" data-main="/Scripts/RWXViewer"></script> <script src="...
@{ ViewBag.Title = "RWX Viewer by Byte"; } @section scripts { <script src="@Url.Content("~/Scripts/gl-matrix.js")"></script> <script src="@Url.Content("~/Scripts/knockout-3.1.0.js")"></script> <script src="@Url.Content("~/Scripts/require.js")" data-main="/Scripts/RWXViewer"></script> <script src="...
apache-2.0
C#
7e4e680cad8c7e9c5d194c3b34f0d90629c31e5a
Update MainScript.cs
proyecto26/RestClient
demo/Assets/MainScript.cs
demo/Assets/MainScript.cs
using UnityEngine; using UnityEditor; using Models; using Proyecto26; using System.Collections.Generic; public class MainScript : MonoBehaviour { private readonly string basePath = "https://jsonplaceholder.typicode.com"; public void Get(){ // We can add default request headers for all requests RestClient.Defa...
using UnityEngine; using UnityEditor; using Models; using Proyecto26; using System.Collections.Generic; public class MainScript : MonoBehaviour { private readonly string basePath = "https://jsonplaceholder.typicode.com"; public void Get(){ // We can add default request headers for all requests RestClient.Defa...
mit
C#
35f4eba40cfcc5e092aad75a78d65603c6132f67
Clean up unit test.
ClosedXML/ClosedXML,jongleur1983/ClosedXML,clinchergt/ClosedXML,JavierJJJ/ClosedXML,igitur/ClosedXML,b0bi79/ClosedXML
ClosedXML_Tests/Excel/Styles/NumberFormatTests.cs
ClosedXML_Tests/Excel/Styles/NumberFormatTests.cs
using ClosedXML.Excel; using NUnit.Framework; using System; using System.Data; using System.Linq; namespace ClosedXML_Tests.Excel { public class NumberFormatTests { [Test] public void PreserveCellFormat() { using (var wb = new XLWorkbook()) { var...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using ClosedXML.Excel; using System.Data; namespace ClosedXML_Tests.Excel { public class NumberFormatTests { [Test] public void PreserveCellFormat() { using (var wb ...
mit
C#
4e7df57d543b5efda15807e996a90077eb623bfc
Insert tag logic
tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web
src/Tugberk.Web.OldBlogMigrator/Program.cs
src/Tugberk.Web.OldBlogMigrator/Program.cs
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using Bloggy.Domain.Entities; using Raven.Client; using Raven.Client.Document; namespace Tugberk.Web.OldBlogMigrator { class Program { private class TagEquality : IEqualityComparer<Tag> { ...
using System; using System.Linq; using Bloggy.Domain.Entities; using Raven.Client; using Raven.Client.Document; namespace Tugberk.Web.OldBlogMigrator { class Program { static void Main(string[] args) { using (IDocumentStore store = RetrieveDocumentStore()) using (IDocum...
agpl-3.0
C#
aa1915ddf8fd6bb71607a677d075bbbfb2de21df
Add back arrow in levelselection, to return to mainMenu
danielholst/Froggy
frogJumper/Assets/scripts/levelSelection.cs
frogJumper/Assets/scripts/levelSelection.cs
using UnityEngine; using System.Collections; /** * Class to handle selection of level in the level selection scene **/ public class levelSelection : MonoBehaviour { private Texture2D button; void OnGUI () { GUI.backgroundColor = Color.clear; if (GUI.Button (new Rect (40, 80, 200, 100), button)) { prin...
using UnityEngine; using System.Collections; /** * Class to handle selection of level in the level selection scene **/ //TODO public class levelSelection : MonoBehaviour { private Texture2D button; // Use this for initialization void Start () { } // Update is called once per frame void OnGUI () { GU...
mit
C#
d205edc294cb626b4dcb34da1132498159b0a821
call Path.Combine on $HOME
GNOME/f-spot,dkoeb/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,mono/f-spot,dkoeb/f-spot,Yetangitu/f-spot,GNOME/f-spot,GNOME/f-spot,mono/f-spot,mono/f-spot,mono/f-spot,NguyenMatthieu/f-spot,mans0954/f-spot,Yetangitu/f-spot,dkoeb/f-spot,mans0954/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,mans095...
src/Global.cs
src/Global.cs
namespace FSpot { public class Global { public static string HomeDirectory { get { return System.IO.Path.Combine (System.Environment.GetEnvironmentVariable ("HOME"), ""); } } public static string BaseDirectory { get { return System.IO.Path.Combine (HomeDirectory, System.IO.Path.Combine (".gno...
namespace FSpot { public class Global { public static string HomeDirectory { get { return System.Environment.GetEnvironmentVariable ("HOME"); } } public static string BaseDirectory { get { return System.IO.Path.Combine (HomeDirectory, System.IO.Path.Combine (".gnome2", "f-spot")); } } ...
mit
C#
3bcf0e73e2061af5aff5c72e994cd0aa14cf0413
fix gotodefinition for windows
syl20bnr/omnisharp-server,mispencer/OmniSharpServer,OmniSharp/omnisharp-server,x335/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,svermeulen/omnisharp-server,corngood/omnisharp-server
OmniSharp/GotoDefinition/GotoDefinitionHandler.cs
OmniSharp/GotoDefinition/GotoDefinitionHandler.cs
using ICSharpCode.NRefactory; using ICSharpCode.NRefactory.CSharp.Resolver; using ICSharpCode.NRefactory.Semantics; using OmniSharp.Parser; using OmniSharp.Solution; namespace OmniSharp.GotoDefinition { public class GotoDefinitionHandler { private readonly BufferParser _bufferParser; public G...
using ICSharpCode.NRefactory; using ICSharpCode.NRefactory.CSharp.Resolver; using ICSharpCode.NRefactory.Semantics; using OmniSharp.Parser; namespace OmniSharp.GotoDefinition { public class GotoDefinitionHandler { private readonly BufferParser _bufferParser; public GotoDefinitionHandler(Buffe...
mit
C#
b95f2733a676318153f506c40cc1cc9a99ad6179
Fix names and spelling in comments
KentorIT/PU-Adapter,KentorIT/PU-Adapter
VersionInfo.cs
VersionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Kentor")] [assembly: AssemblyCopyright("Copyright Kentor and contributors 2015")] // Kentor.PU-Adapter uses semantic versioning in three parts // // Major Version // Minor Version // Patch Number // // An odd patch number is a development version,...
using System.Reflection; [assembly: AssemblyCompany("Kentor")] [assembly: AssemblyCopyright("Copyright Kentor and contributors 2015")] // Kentor.AuthServices uses semantic versioning in three parts // // Major Version // Minor Version // Patch Number // // An odd patch number is a development versio...
mit
C#
9e43b2d599d9337bdf4ae64e7196c267f1ebb99e
Add CssReference constructor
Carbon/Css
src/Carbon.Css/Ast/Values/CssReference.cs
src/Carbon.Css/Ast/Values/CssReference.cs
namespace Carbon.Css { using Parser; public sealed class CssReference : CssValue { public CssReference(string name) : base(NodeKind.Reference) { Name = name; } public CssReference(CssToken name) : base(NodeKind.Reference) ...
namespace Carbon.Css { using Parser; public sealed class CssReference : CssValue { public CssReference(string name) : base(NodeKind.Reference) { Name = name; } public CssReference(CssToken name) : base(NodeKind.Reference) ...
mit
C#
550b985f4bd47c2c7a1752142ce0b97b9db00eef
Update ArgumentMapBinder.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Rest/NakedObjects.Rest/Model/ArgumentMapBinder.cs
Rest/NakedObjects.Rest/Model/ArgumentMapBinder.cs
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requir...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requir...
apache-2.0
C#
0d7226a8fae5948ae5c48861c054d9476588ff75
Fix AppVeyor message limit by printing a warning for the 501st report message
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs
source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using JetBrains.Annotations; using Nuke.Common.OutputSinks; namespace Nuke.Common.CI.AppVeyor { [UsedImplic...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using JetBrains.Annotations; using Nuke.Common.OutputSinks; namespace Nuke.Common.CI.AppVeyor { [UsedImplic...
mit
C#
006d5c8fd07517b323159b2ae5c76fcc2c46378d
Switch to using NSWindow instead of presenter
loqu8/pina
Pina.Mac/AppDelegate.cs
Pina.Mac/AppDelegate.cs
using MonoMac.Foundation; using MonoMac.AppKit; using Cirrious.CrossCore; using Cirrious.MvvmCross.Mac.Platform; using Cirrious.MvvmCross.Mac.Views.Presenters; using Cirrious.MvvmCross.ViewModels; using System.Drawing; namespace Pina.Mac { public partial class AppDelegate : MvxApplicationDelegate { MainWindowContr...
using MonoMac.Foundation; using MonoMac.AppKit; using Cirrious.CrossCore; using Cirrious.MvvmCross.Mac.Platform; using Cirrious.MvvmCross.Mac.Views.Presenters; using Cirrious.MvvmCross.ViewModels; using System.Drawing; namespace Pina.Mac { public partial class AppDelegate : MvxApplicationDelegate { MainWindowContr...
mit
C#
cd4b7679aed8a10745b736541926638f21a20159
remove default text
samaritanevent/Samaritans,samaritanevent/Samaritans
Samaritans/Samaritans/Views/Shared/_Layout.cshtml
Samaritans/Samaritans/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
mit
C#
9eb4600bdad96d5f201b1d934533a32728546325
Use sorting interpreter during pagination
joukevandermaas/saule,laurence79/saule,bjornharrtell/saule,goo32/saule,sergey-litvinov-work/saule,IntertechInc/saule
Saule/Queries/Pagination/PaginationInterpreter.cs
Saule/Queries/Pagination/PaginationInterpreter.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Saule.Queries.Sorting; namespace Saule.Queries.Pagination { internal class PaginationInterpreter { private readonly PaginationContext _context; public PaginationIn...
using System; using System.Collections; using System.Linq; using System.Linq.Expressions; namespace Saule.Queries.Pagination { internal class PaginationInterpreter { private readonly PaginationContext _context; public PaginationInterpreter(PaginationContext context) { _con...
mit
C#
4a39eca589aab422b35b1deaa756a362401822fc
Use RegisterConsumers Extension Method
maldworth/SignalRChat-MassTransit,maldworth/SignalRChat-MassTransit,maldworth/SignalRChat-MassTransit
SignalRChat.Web.Bootstrapper/Modules/BusModule.cs
SignalRChat.Web.Bootstrapper/Modules/BusModule.cs
namespace SignalRChat.Web.Bootstrapper.Modules { using Autofac; using MassTransit; using System; using System.Configuration; public class BusModule : Module { private readonly System.Reflection.Assembly[] _assembliesToScan; public BusModule(params System.Reflection.Assembly[] ...
namespace SignalRChat.Web.Bootstrapper.Modules { using Autofac; using MassTransit; using System; using System.Configuration; public class BusModule : Module { private readonly System.Reflection.Assembly[] _assembliesToScan; public BusModule(params System.Reflection.Assembly[] ...
mit
C#
96cef32503f6f16376ec86fad04ea91066fa5700
Update HtmlSanitizerOptions.cs
mganss/HtmlSanitizer
src/HtmlSanitizer/HtmlSanitizerOptions.cs
src/HtmlSanitizer/HtmlSanitizerOptions.cs
using AngleSharp.Css.Dom; using System; using System.Collections.Generic; namespace Ganss.XSS { /// <summary> /// Provides options to be used with <see cref="HtmlSanitizer"/>. /// </summary> public class HtmlSanitizerOptions { /// <summary> /// Gets or sets the allowed tag names suc...
using AngleSharp.Css.Dom; using System; using System.Collections.Generic; namespace Ganss.XSS { /// <summary> /// Provides options to be used with <see cref="HtmlSanitizer"/>. /// </summary> public class HtmlSanitizerOptions { /// <summary> /// Gets or sets the allowed tag names suc...
mit
C#
db81e8e361684c22173124d661a994f17e8b56df
Add prism xml:ns to PrismApplication (#450)
paulcbetts/splat
src/Splat.Prism.Forms/PrismApplication.cs
src/Splat.Prism.Forms/PrismApplication.cs
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System; using System.Col...
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System; using System.Col...
mit
C#
d68019b653b64a290abcdf085b037f8afb31bcd5
set error type depending on severity
jwldnr/VisualLinter
VisualLinter/Tagging/LinterTag.cs
VisualLinter/Tagging/LinterTag.cs
using jwldnr.VisualLinter.Linting; using Microsoft.VisualStudio.Text.Adornments; using Microsoft.VisualStudio.Text.Tagging; namespace jwldnr.VisualLinter.Tagging { internal class LinterTag : IErrorTag { public string ErrorType { get; } public object ToolTipContent { get; } internal L...
using jwldnr.VisualLinter.Linting; using Microsoft.VisualStudio.Text.Adornments; using Microsoft.VisualStudio.Text.Tagging; namespace jwldnr.VisualLinter.Tagging { internal class LinterTag : IErrorTag { public string ErrorType { get; } public object ToolTipContent { get; } internal L...
mit
C#
6690478abda55fcb4b3c34620e8dca282f7e4e51
Check when internet connection is disabled
rassvet85/vk,kadkin/vk,HarkBack/vk,vknet/vk,SnakeAce/vk,kkohno/vk,DmitrySafronov/vk,vknet/vk,modink/vk,Soniclev/vk,mainefremov/vk,J2GIS/vk
VkApiGenerator.Console/Program.cs
VkApiGenerator.Console/Program.cs
using System.Net; using VkApiGenerator.Model; namespace VkApiGenerator.Console { class Program { static void Main(string[] args) { var methods = new[] { "notes.get", "notes.getById", "notes.getFriendsNotes", ...
namespace VkApiGenerator.Console { class Program { static void Main(string[] args) { var methods = new[] { "notes.get", "notes.getById", "notes.getFriendsNotes", "notes.add", "notes.edit", ...
mit
C#
2173fac4aa6d86899495fc76d6f963eac3429572
Update MartijnVanDijk.cs
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/MartijnVanDijk.cs
src/Firehose.Web/Authors/MartijnVanDijk.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MartijnVanDijk : IAmAMicrosoftMVP, IAmAXamarinMVP { public IEnumerable<Uri> FeedUris { get { yield return new Uri("https://medium.com/feed/@martijn00"); ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MartijnVanDijk : IAmAMicrosoftMVP, IAmAXamarinMVP { public IEnumerable<Uri> FeedUris { get { yield return new Uri("https://medium.com/feed/@martijn00"); ...
mit
C#
8a6450ff75f5804e230f56b6a7a5e1917163fbf7
Bump version to 2.1.0
dreamer2908/YAXBPC,dreamer2908/YAXBPC
YAXBPC/Properties/AssemblyInfo.cs
YAXBPC/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#
6672e0f3cb88351f98df9388ce756832cfb2caf2
Add the Abort method to the IHttpTransaction interface.
mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrade...
src/Mango/Mango.Server/IHttpTransaction.cs
src/Mango/Mango.Server/IHttpTransaction.cs
using System; using System.Collections; using System.Collections.Generic; namespace Mango.Server { public interface IHttpTransaction { HttpRequest Request { get; } HttpResponse Response { get; } void Write (List<ArraySegment<byte>> data); void SendFile (string file); void Finish (); ...
using System; using System.Collections; using System.Collections.Generic; namespace Mango.Server { public interface IHttpTransaction { HttpRequest Request { get; } HttpResponse Response { get; } void Write (List<ArraySegment<byte>> data); void SendFile (string file); void Finish (); } }...
mit
C#
65fa98c59e0dc928015bda87f20920f26a752c8b
Add coroutine usage in AEX
appetizermonster/Unity3D-ActionEngine
Assets/DemoScene/AEX/VeryAwesomeAEX.cs
Assets/DemoScene/AEX/VeryAwesomeAEX.cs
using ActionEngine; using System.Collections; using UnityEngine; public static class VeryAwesomeAEX { public static ActionBase Create (IAEScriptContext ctx) { var simpleAEX = ctx.GetAEScript("$simple"); var cube = ctx.GetTransform("$cube"); var sphere = ctx.GetTransform("$sphere"); return AE.Sequence( ...
using UnityEngine; using System.Collections; using ActionEngine; public static class VeryAwesomeAEX { public static ActionBase Create (IAEScriptContext ctx) { var simpleAEX = ctx.GetAEScript("$simple"); var cube = ctx.GetTransform("$cube"); var sphere = ctx.GetTransform("$sphere"); return AE.Sequence( ...
mit
C#
e8e823e53aa282be2883bebbc01fc7bd1252cd0b
remove duplicated Header Methods
CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity
Assets/Scripts/CloudBread/WWWHelper.cs
Assets/Scripts/CloudBread/WWWHelper.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Text; using AssemblyCSharp; public class WWWHelper : MonoBehaviour { public delegate void HttpRequestDelegate(string id, WWW www); public event HttpRequestDelegate OnHttpRequest; private int requestId; st...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Text; using AssemblyCSharp; public class WWWHelper : MonoBehaviour { public delegate void HttpRequestDelegate(string id, WWW www); public event HttpRequestDelegate OnHttpRequest; private int requestId; st...
mit
C#
c67704e28c4b7388901ccba1d8b30b986bd9664c
Add ability to return token from rule
jagrem/slang,jagrem/slang,jagrem/slang
slang/Lexing/Rules/Core/Rule.cs
slang/Lexing/Rules/Core/Rule.cs
using slang.Lexing.Tokens; using System; namespace slang.Lexing.Rules.Core { public abstract class Rule { public Func<Token> TokenCreator { get; set; } public static Rule operator | (Rule left, Rule right) { return new Or (left, right); } public static Rule...
namespace slang.Lexing.Rules.Core { public abstract class Rule { public static Rule operator | (Rule left, Rule right) { return new Or (left, right); } public static Rule operator + (Rule left, Rule right) { return new And (left, right); ...
mit
C#
4efe97296dd9b1790f9e016733d5e60bb9e1ae17
Fix version
danielwertheim/mynatsclient,danielwertheim/mynatsclient
buildconfig.cake
buildconfig.cake
public class BuildConfig { private const string Version = "0.4.0"; private const bool IsPreRelease = true; public readonly string SrcDir = "./src/"; public readonly string OutDir = "./build/"; public string Target { get; private set; } public string SemVer { get; private set; } pub...
public class BuildConfig { private const string Version = "0.4.0"; private const bool IsPreRelease = true; public readonly string SrcDir = "./src/"; public readonly string OutDir = "./build/"; public string Target { get; private set; } public string SemVer { get; private set; } pub...
mit
C#
d94e1808496e2e22157e702b150f2b9482920070
Add MVC and middleware to listening only for 'api' requests
pawelec/todo-list,pawelec/todo-list,pawelec/todo-list,pawelec/todo-list
TodoList.Web/Startup.cs
TodoList.Web/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System.IO; namespace TodoList.Web { public class Startup ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace TodoList.Web { public class Startup { // T...
mit
C#
f5a07fcdf1610c8a962fc950f91d897c49095ec0
Update WpfTimer.cs
Minesweeper-6-Team-Project-Telerik/Minesweeper-6
src2/WpfMinesweeper/WpfTimer.cs
src2/WpfMinesweeper/WpfTimer.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="WpfTimer.cs" company="Telerik Academy"> // Teamwork Project "Minesweeper-6" // </copyright> // <summary> // The wpf timer. // </summary> // ------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="WpfTimer.cs" company=""> // // </copyright> // <summary> // The wpf timer. // </summary> // ----------------------------------------------------------------------------------...
mit
C#
d64667fbbc8476cfcfa99235f89a3aff221b968f
Update copyright
Seddryck/Cassis,Seddryck/Cassis
src/AssemblyInfo.cs
src/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: AssemblyDescripti...
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: AssemblyDescripti...
apache-2.0
C#
7b3379a610bdab172e2d0cc2c6c8dcb48772e69b
Add BaseClassField::.ctor
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
src/AsmResolver.Symbols.Pdb/Leaves/BaseClassField.cs
src/AsmResolver.Symbols.Pdb/Leaves/BaseClassField.cs
namespace AsmResolver.Symbols.Pdb.Leaves; /// <summary> /// Represents a reference to a base class object in a structure. /// </summary> public class BaseClassField : CodeViewField { private readonly LazyVariable<CodeViewTypeRecord?> _type; /// <summary> /// Initializes an empty base class. /// </summ...
namespace AsmResolver.Symbols.Pdb.Leaves; /// <summary> /// Represents a reference to a base class object in a structure. /// </summary> public class BaseClassField : CodeViewField { private readonly LazyVariable<CodeViewTypeRecord?> _type; /// <summary> /// Initializes an empty base class. /// </summ...
mit
C#
3e5ccfcd4f8451b1990177c04730ac20f05a3a2b
Update Operators_Expressions
neyogiry/Examples_Csharp
Operators_Expressions.cs
Operators_Expressions.cs
using System; public class Operators_Expressions{ static void Main(string[] args){ int x, y, a, b; // Assigment operator x = 3; y = 2; a = 1; b = 0; // There are many mathematical operators // Addittion operator x = 3 + 4; // Subtraction operator x = 4 -3; // Multiplication operator ...
using System; public class Hello_Neyo{ static void Main(string[] args){ int x, y, a, b; // Assigment operator x = 3; y = 2; a = 1; b = 0; // There are many mathematical operators // Addittion operator x = 3 + 4; // Subtraction operator x = 4 -3; // Multiplication operator x = 10 * 5;...
mpl-2.0
C#
1adbd95b8585f471fe0866d5f83e6e634cb15c70
Mark the playback states with integer values
flagbug/Espera.Network
Espera.Network/NetworkPlaybackState.cs
Espera.Network/NetworkPlaybackState.cs
namespace Espera.Network { public enum NetworkPlaybackState { None = 0, Playing = 1, Paused = 2, Stopped = 3, Finished = 4 } }
namespace Espera.Network { public enum NetworkPlaybackState { None, Playing, Paused, Stopped, Finished } }
mit
C#
e78cf9dd080bff6e1c58002440bd9e57f5c81874
Check the use of default(T) instead exception.
fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhi...
src/NHibernate.Test/NHSpecificTest/NH1119/Fixture.cs
src/NHibernate.Test/NHSpecificTest/NH1119/Fixture.cs
using System; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1119 { [TestFixture] public class Fixture : BugTestCase { public override string BugNumber { get { return "NH1119"; } } [Test] public void SelectMinFromEmptyTable() { using (ISession s = OpenSession())...
using NUnit.Framework; using System; using System.Collections.Generic; namespace NHibernate.Test.NHSpecificTest.NH1119 { [TestFixture] public class Fixture : BugTestCase { public override string BugNumber { get { return "NH1119"; } } [Test] public void SelectMinFromEmptyTable() { ...
lgpl-2.1
C#
5b692a09d1999c8aec02aefc96cfc6558984e0b8
Set the detail instead of the title
khellang/Middleware,khellang/Middleware
src/ProblemDetails/Mvc/ProblemDetailsResultFilter.cs
src/ProblemDetails/Mvc/ProblemDetailsResultFilter.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using static Hellang.Middleware.ProblemDetails.ProblemDetailsOptionsSetup; using MvcProblemDetails = Microsoft.AspNetCore.Mvc.ProblemDetails; using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory; namespace...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using static Hellang.Middleware.ProblemDetails.ProblemDetailsOptionsSetup; using MvcProblemDetails = Microsoft.AspNetCore.Mvc.ProblemDetails; using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory; namespace...
mit
C#
18011c9026bc3fa7273ea877f5b8f1630649c82a
Update AssemblyInfo.cs
elv1s42/NUnitGo
NunitGoCore/Properties/AssemblyInfo.cs
NunitGoCore/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("NunitGoCore")] [assembly: AssemblyDescrip...
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("NunitGoCore")] [assembly: AssemblyDescrip...
mit
C#
c99536bad198e1cd9a35d5cb2303fd541d64a15a
Disable pooling in MSBuild as it's not really needed there
ShikiGami/React.NET,alexsoftua/React.NET,alexsoftua/React.NET,SaltyDH/React.NET,rickbeerendonk/React.NET,alexsoftua/React.NET,reactjs/React.NET,rickbeerendonk/React.NET,reactjs/React.NET,rickbeerendonk/React.NET,radnor/React.NET,ShikiGami/React.NET,reactjs/React.NET,IveWong/React.NET,radnor/React.NET,chriscamplejohn/Re...
src/React.MSBuild/TransformJsx.cs
src/React.MSBuild/TransformJsx.cs
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using System...
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using System...
bsd-3-clause
C#
357c708653fa5d4d4c2bcbd2b095bbf78e07cbd3
build fix
flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core
src/FlubuCore.WebApi/Program.cs
src/FlubuCore.WebApi/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace FlubuCore.WebApi { public class Program { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace FlubuCore.WebApi { public class Program { ...
bsd-2-clause
C#
9e84857bc8a9003e35f7fc7ecc2fc7ea5355f8b2
format code
mkarpusiewicz/SwiftHelper
src/UnitTests/AllUniqueTests.cs
src/UnitTests/AllUniqueTests.cs
using System.Linq; using SimpleSamples; using SwiftHelper; using Xunit; namespace UnitTests { [Trait("Category", "Production")] public class AllUniqueTests { [Fact] public void AllUniqueByFalse() { var data = Enumerable.Range(1, 100) .Concat(new[] {50, 1...
using System.Linq; using SimpleSamples; using SwiftHelper; using Xunit; namespace UnitTests { [Trait("Category", "Production")] public class AllUniqueTests { [Fact] public void AllUniqueByFalse() { var data = Enumerable.Range(1, 100).Concat(new[] {50, 1, 100}).Select(i ...
mit
C#
976946c964223348b7ccb2b07492f6a312ba9012
Update UserSettings_.cs
Developer-ReCap-Autodesk/WpfCSharp
AutodeskWpfReCap/UserSettings_.cs
AutodeskWpfReCap/UserSettings_.cs
// (C) Copyright 2014 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty and /...
// (C) Copyright 2014 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty and /...
mit
C#
390f72d7628425506e9b0e86b6b4843eccccc795
Check null in LoadProjectSubEntity
joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
JoinRpg.Services.Impl/DbServiceImplBase.cs
JoinRpg.Services.Impl/DbServiceImplBase.cs
using System.Data.Entity.Validation; using JetBrains.Annotations; using JoinRpg.Dal.Impl; using JoinRpg.DataModel; namespace JoinRpg.Services.Impl { public class DbServiceImplBase { protected readonly IUnitOfWork UnitOfWork; protected DbServiceImplBase(IUnitOfWork unitOfWork) { UnitOfWork = unit...
using System.Data.Entity.Validation; using JoinRpg.Dal.Impl; using JoinRpg.DataModel; namespace JoinRpg.Services.Impl { public class DbServiceImplBase { protected readonly IUnitOfWork UnitOfWork; protected DbServiceImplBase(IUnitOfWork unitOfWork) { UnitOfWork = unitOfWork; } protected ...
mit
C#
cdd9058127285c965be47c70e15d67518276d687
Fix iOS visual tests not using raw keyboard handler
ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework
osu.Framework.Tests.iOS/Application.cs
osu.Framework.Tests.iOS/Application.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 UIKit; namespace osu.Framework.Tests.iOS { public class Application { // This is the main entry point of the application. public static vo...
// 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 UIKit; namespace osu.Framework.Tests.iOS { public class Application { // This is the main entry point of the application. public static vo...
mit
C#
958823d8ba285643a283a7b8545c2330ed8d73d2
Fix class name.
Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x
src/unity/Runtime/Ads/NullFullScreenAd.cs
src/unity/Runtime/Ads/NullFullScreenAd.cs
using System; using System.Threading.Tasks; using System.Xml.Xsl; namespace EE { public class NullFullScreenAd : ObserverManager<AdObserver>, IFullScreenAd { public void Destroy() { } public bool IsLoaded { get; } = false; public Task<bool> Load() { return Task.FromRes...
using System; using System.Threading.Tasks; using System.Xml.Xsl; namespace EE { public class NullRewardedAd : ObserverManager<AdObserver>, IFullScreenAd { public void Destroy() { throw new NotImplementedException(); } public bool IsLoaded { get; } = false; public Task...
mit
C#
c4bfb31d1fced6e23e636176ef4498e5dfdcaf82
Fix namespace
karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailA...
src/Package/Impl/Repl/RSessionProvider.cs
src/Package/Impl/Repl/RSessionProvider.cs
using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; using Microsoft.R.Host.Client; namespace Microsoft.VisualStudio.R.Package.Repl { public class RSessionProvider : IRSessionProvider { private readonly ConcurrentDictionary<int, IRSession> _sessions = new ConcurrentDiction...
using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; using Microsoft.VisualStudio.R.Package.Repl; namespace Microsoft.R.Host.Client { public class RSessionProvider : IRSessionProvider { private readonly ConcurrentDictionary<int, IRSession> _sessions = new ConcurrentDiction...
mit
C#
81124f27b0857a0cf177e6d97fd977afdc7ecd8a
Fix missing logger by moving the expanded detail to the exception
GeertvanHorrik/Costura,GeertvanHorrik/Costura,Fody/Costura,Fody/Costura
Costura.Tasks/ConfigFileFinder.cs
Costura.Tasks/ConfigFileFinder.cs
using System; using System.Collections.Generic; using System.IO; public class ConfigFileFinder { public static List<string> FindWeaverConfigs(string solutionDirectoryPath, string projectDirectory) { var files = new List<string>(); var solutionConfigFilePath = Path.Combine(solutionDirectoryPath...
using System; using System.Collections.Generic; using System.IO; public class ConfigFileFinder { public static List<string> FindWeaverConfigs(string solutionDirectoryPath, string projectDirectory) { var files = new List<string>(); var solutionConfigFilePath = Path.Combine(solutionDirectoryPath...
mit
C#
e26ce15012ebea478dcdcd80a4b179786816238f
Fix bug in new color action
jaquadro/MonoGdx
MonoGdx/Scene2D/Actions/ColorAction.cs
MonoGdx/Scene2D/Actions/ColorAction.cs
/** * Copyright 2011-2013 See AUTHORS file. * * 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...
/** * Copyright 2011-2013 See AUTHORS file. * * 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...
apache-2.0
C#
b984bb22f515e18b242cbee868af675f78a94b90
add missing case Theme.System
DecaTec/windows-universal,altima/windows-universal,scherke/windows-universal,altima/windows-universal,TheScientist/windows-universal,DecaTec/windows-universal,scherke/windows-universal,SunboX/windows-universal,scherke/windows-universal,SunboX/windows-universal,scherke85/windows-universal,TheScientist/windows-universal,...
NextcloudApp/Controls/ThemeablePage.cs
NextcloudApp/Controls/ThemeablePage.cs
using System.ComponentModel; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using NextcloudApp.Services; using NextcloudApp.Utils; namespace NextcloudApp.Controls { public class ThemeablePage : Page { public ThemeablePage() { var theme = SettingsService.Instance.RoamingSett...
using System.ComponentModel; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using NextcloudApp.Services; using NextcloudApp.Utils; namespace NextcloudApp.Controls { public class ThemeablePage : Page { public ThemeablePage() { var theme = SettingsService.Instance.RoamingSett...
mpl-2.0
C#
08df3b769dc0850f179642b88741c2dabc8f1cec
Change LinterVersion output to json format
repometric/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli,binore/linterhub-cli,binore/linterhub-cli,repometric/linterhub-cli
src/cli/Strategy/LinterVersionStrategy.cs
src/cli/Strategy/LinterVersionStrategy.cs
namespace Linterhub.Cli.Strategy { using Runtime; using Engine; using Linterhub.Engine.Exceptions; using Newtonsoft.Json; using System.Dynamic; public class LinterVersionStrategy : IStrategy { public object Run(RunContext context, LinterFactory factory, LogManager log) { ...
namespace Linterhub.Cli.Strategy { using Runtime; using Engine; using Linterhub.Engine.Exceptions; public class LinterVersionStrategy : IStrategy { public object Run(RunContext context, LinterFactory factory, LogManager log) { if (string.IsNullOrEmpty(context.Linter)) ...
mit
C#
6f09f07d071a5953551e779f92066fc0c805036f
Update run.cake to use the addin package
jzeferino/ResxConverter,jzeferino/ResxConverter
run.cake
run.cake
// #r src/Cake.ResxConverter/bin/Release/ResxConverter.Core.dll // #r src/Cake.ResxConverter/bin/Release/ResxConverter.Mobile.dll // #r src/Cake.ResxConverter/bin/Release/Cake.ResxConverter.dll // using ResxConverter.Mobile; // Task("Run") // .Does(() => // { // CleanDirectory("artifacts/generated"); // var res...
#r src/Cake.ResxConverter/bin/Release/ResxConverter.Core.dll #r src/Cake.ResxConverter/bin/Release/ResxConverter.Mobile.dll #r src/Cake.ResxConverter/bin/Release/Cake.ResxConverter.dll using ResxConverter.Mobile; Task("Run") .Does(() => { CleanDirectory("artifacts/generated"); var resxFolder = "test/ResxConvert...
mit
C#
0edef34b42389fa503b116e324ce23ee0ecf7c29
Remove try-catch in ConverterBase (=Fail fast)
thomasgalliker/ValueConverters.NET
ValueConverters.NetFx/ConverterBase.cs
ValueConverters.NetFx/ConverterBase.cs
using System; using System.Globalization; #if (NETFX || WINDOWS_PHONE) using System.Windows; using System.Windows.Data; #elif (WINDOWS_APP || WINDOWS_PHONE_APP) using Windows.UI.Xaml; using Windows.UI.Xaml.Data; #endif namespace ValueConverters { public abstract class ConverterBase : DependencyObj...
using System; using System.Globalization; #if (NETFX || WINDOWS_PHONE) using System.Windows; using System.Windows.Data; #elif (WINDOWS_APP || WINDOWS_PHONE_APP) using Windows.UI.Xaml; using Windows.UI.Xaml.Data; #endif namespace ValueConverters { public abstract class ConverterBase : DependencyObj...
mit
C#
a24f3cc37c08dd2d2b01ad34f32430b3d6f39729
Fix issue #28 #27
vertigra/NetTelebot-2.0,themehrdad/NetTelebot
NetTelebot/ReplyKeyboardMarkup.cs
NetTelebot/ReplyKeyboardMarkup.cs
using System.Linq; using System.Text; namespace NetTelebot { /// <summary> /// This object represents a custom keyboard with reply options /// </summary> public class ReplyKeyboardMarkup : IReplyMarkup { /// <summary> /// Array of button rows, each represented by an Array of String...
using System.Linq; using System.Text; namespace NetTelebot { /// <summary> /// This object represents a custom keyboard with reply options /// </summary> public class ReplyKeyboardMarkup : IReplyMarkup { /// <summary> /// Array of button rows, each represented by an Array of String...
mit
C#
dec012f9c2292c1cd69f8c060884119abf87c83b
add SM binary serialization test
Spreads/Spreads
tests/Spreads.Extensions.Tests/SerializationTests.cs
tests/Spreads.Extensions.Tests/SerializationTests.cs
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using NUnit.Framework; usin...
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; using System.Linq; using System.Runtime.InteropServices; using NUnit.Framework; using Spreads.Buffers...
mpl-2.0
C#
fce00804f1e03abb9acd043dc1c6bed12a39bcd9
fix #14 and close milestone v0.3
dimaaan/pgEdit
PgEdit/Properties/AssemblyInfo.cs
PgEdit/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("Pg...
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("Pg...
mit
C#
5871a4e7642a1fa231fce955ac013932d0f81400
Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0.
autofac/Autofac.Extras.FakeItEasy
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
mit
C#
5b2219a692761b1d1e4413f61ac210cb54cdeb7e
Add back test cleanup before run
ppy/osu,2yangk23/osu,smoogipoo/osu,Drezi126/osu,UselessToucan/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,naoey/osu,Frontear/osuKyzer,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,smoogipooo/os...
osu.Game/Tests/Visual/OsuTestCase.cs
osu.Game/Tests/Visual/OsuTestCase.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Platform; using osu.Framework.Testing; namespace osu.Game.Tests.Visual { public abstract class OsuTestCase : TestCase ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Platform; using osu.Framework.Testing; namespace osu.Game.Tests.Visual { public abstract class OsuTestCase : TestCase ...
mit
C#
0b0c9a584fa64877dcf012de1b19d25aa5d14ae7
Use UsePlatformDetect
wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors
samples/BehaviorsTestApplication/Program.cs
samples/BehaviorsTestApplication/Program.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using BehaviorsTestApplication.Views; using Avalonia.Controls; using Avalonia.Logging.Serilog; using Serilog; using System.Windows.Threading; namespace B...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using BehaviorsTestApplication.Views; using Avalonia; using Avalonia.Controls; using Avalonia.Logging.Serilog; using Serilog; using System.Windows.Threadi...
mit
C#
21ae5d8a19874b6782309874e7fa82e1794caa44
Enumerate drives in macOS
awaescher/RepoZ,awaescher/RepoZ
RepoZ.Api.Mac/IO/MacDriveEnumerator.cs
RepoZ.Api.Mac/IO/MacDriveEnumerator.cs
using RepoZ.Api.IO; using System; using System.Linq; namespace RepoZ.Api.Mac.IO { public class MacDriveEnumerator : IPathProvider { public string[] GetPaths() { return System.IO.DriveInfo.GetDrives() .Where(d => d.DriveType == System.IO.DriveType.Fixed) ...
using RepoZ.Api.IO; using System; using System.Linq; namespace RepoZ.Api.Mac.IO { public class MacDriveEnumerator : IPathProvider { public string[] GetPaths() { // TODO return new string[] { "/Users/andreaswascher/develop/" }; } } }
mit
C#
9fc7c8c32090871ec54354819bf2d02cd11fea21
Fix sidereal calculations for sun
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Extensions/CelestialBodyExtension.cs
Client/Extensions/CelestialBodyExtension.cs
using System; namespace LunaClient.Extensions { public static class CelestialBodyExtension { public static double SiderealDayLength(this CelestialBody body) { //Taken from CelestialBody.Start() //body.solarRotationPeriod will be false if it's the sun! if (b...
using System; namespace LunaClient.Extensions { public static class CelestialBodyExtension { public static double SiderealDayLength(this CelestialBody body) { //Taken from CelestialBody.Start() if (body == null) return 0; var siderealOrbitalPeriod = 6.2831...
mit
C#
5a9d8feebd7dc6495c64c1307a8e6b47077b763a
add ActivationChanged event to the Activator
pragmatrix/Konstruktor2
Konstruktor2/Activator.cs
Konstruktor2/Activator.cs
using System; using System.Diagnostics; using Konstruktor2.Detail; namespace Konstruktor2 { public class Activator<ParamT, ResultT> : IDisposable where ResultT : class { readonly Func<ParamT, Owned<ResultT>> _generator; Owned<ResultT> _generated_; ParamT _param; public ParamT Param { ...
using System; using System.Diagnostics; using Konstruktor2.Detail; namespace Konstruktor2 { public class Activator<ParamT, ResultT> : IDisposable where ResultT : class { readonly Func<ParamT, Owned<ResultT>> _generator; Owned<ResultT> _generated_; ParamT _param; public ParamT Param { ...
bsd-3-clause
C#
a68626df0464e7654de5b3d3a1dc251fad0af561
Use Smtp PickUp delivery for stubbing saving of emails locally
ValuationOffice/VORBS,ValuationOffice/VORBS,ValuationOffice/VORBS
VORBS/Utils/StubbedEmailClient.cs
VORBS/Utils/StubbedEmailClient.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Mail; using System.Text; using System.Web; using VORBS.Utils.interfaces; namespace VORBS.Utils { public class StubbedEmailClient : ISmtpClient { private NLog.Logger _logger; public StubbedEmai...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Mail; using System.Text; using System.Web; using VORBS.Utils.interfaces; namespace VORBS.Utils { public class StubbedEmailClient : ISmtpClient { private NLog.Logger _logger; public StubbedEmai...
apache-2.0
C#
d9eb33b6149c11e8936457b6c898e1edd7dbb875
Update ConfigurationSource.cs
WojcikMike/docs.particular.net
Snippets/Snippets_4/Forwarding/ConfigurationSource.cs
Snippets/Snippets_4/Forwarding/ConfigurationSource.cs
namespace Snippets4.Forwarding { using System.Configuration; using NServiceBus.Config; using NServiceBus.Config.ConfigurationSource; #region ConfigurationSourceForMessageForwarding public class ConfigurationSource : IConfigurationSource { public T GetConfiguration<T>() where T : class,...
namespace Snippets4.Forwarding { using System.Configuration; using NServiceBus.Config; using NServiceBus.Config.ConfigurationSource; #region ConfigurationSourceForMessageForwarding public class ConfigurationSource : IConfigurationSource { public T GetConfiguration<T>() where T : class,...
apache-2.0
C#
f0494b18bdba6dbef7df147a01f40accb561260a
Fix issue #351. Resize Window event was not triggered when GameWindow.AllowUserResizing=true
sharpdx/Toolkit,sharpdx/Toolkit,tomba/Toolkit
Source/Toolkit/SharpDX.Toolkit.Game/GameWindowForm.cs
Source/Toolkit/SharpDX.Toolkit.Game/GameWindowForm.cs
// Copyright (c) 2010-2012 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, modi...
// Copyright (c) 2010-2012 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, modi...
mit
C#
c82d41179dd4a11aa13075d03917db9d61a0c526
Remove dead code
projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection
TheCollection.Web/Services/ApplicationUserAccessor.cs
TheCollection.Web/Services/ApplicationUserAccessor.cs
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; using TheCollection.Web.Models; namespace TheCollection.Web.Services { public interface IApplicationUserAccessor { Task<ApplicationUser> GetUser(); } public class ApplicationUserAccessor : IApp...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TheCollection.Web.Models; namespace TheCollection.Web.Services { public interface IApplicationUserAccessor { Task<ApplicationUser...
apache-2.0
C#
981a31e2464f8012764b9d944ccd7e64bd073952
Use TryGetValue instead of ContainsKey
accidentaldeveloper/word-processor
WordProcessor/US.WordProcessor/Internal/Dictionary.cs
WordProcessor/US.WordProcessor/Internal/Dictionary.cs
using System; using System.Collections.Generic; namespace US.WordProcessor.Internal { internal class Dictionary { private static readonly Dictionary<string, Definition> KnownWords = new Dictionary<string, Definition>(StringComparer.CurrentCultureIgnoreCase) { // pronouns...
using System; using System.Collections.Generic; namespace US.WordProcessor.Internal { internal class Dictionary { private static readonly Dictionary<string, Definition> KnownWords = new Dictionary<string, Definition>(StringComparer.CurrentCultureIgnoreCase) { // pronouns...
mit
C#
6384a3c2de9db4eba293dc841457ff52d5e8e47f
Update RestoreDeletedContacts.cs
brminnick/XamList
XamList.Functions/Functions/RestoreDeletedContacts.cs
XamList.Functions/Functions/RestoreDeletedContacts.cs
using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using XamList.Backend.Shared; namespace XamList.Functions { public static class RestoreDeletedC...
using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using XamList.Backend.Shared; namespace XamList.Functions { public static class RestoreDeletedC...
mit
C#
96155a1fbaf840570e41219590fc5f32ea4522d9
Sort members, check parameters
murador/xsp,murador/xsp,arthot/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp,arthot/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp,stormleoxia/xsp,stormleoxia/xsp
src/Mono.WebServer.FastCgi/BufferManager.cs
src/Mono.WebServer.FastCgi/BufferManager.cs
// // BufferManager.cs // // Author: // Leonardo Taglialegne <leonardo.taglialegne@gmail.com> // // Copyright (C) 2013 Leonardo Taglialegne // // 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 Sof...
// // BufferManager.cs // // Author: // Leonardo Taglialegne <leonardo.taglialegne@gmail.com> // // Copyright (C) 2013 Leonardo Taglialegne // // 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 Sof...
mit
C#
318e55470a1fc56cc984c806d1938f1251315049
Bump assembly versions
maxmind/minfraud-api-dotnet
MaxMind.MinFraud/Properties/AssemblyInfo.cs
MaxMind.MinFraud/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MaxMind.MinFraud")] [assemb...
using System; using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MaxMind.MinFraud")] [assemb...
apache-2.0
C#
2bc5c4d36aa643e43304532127e8c63eb7fa93df
Revert "Seed methods"
Ico093/NoMoreSusi,Ico093/NoMoreSusi
NoMoreSusi.Data/Migrations/Configuration.cs
NoMoreSusi.Data/Migrations/Configuration.cs
namespace NoMoreSusi.Data.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; public sealed class Configuration : DbMigrationsConfiguration<NoMoreSusi.Data.NoMoreSusiDbContext> { public Configuration() { Automa...
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using NoMoreSusi.Models; namespace NoMoreSusi.Data.Migrations { using System.Data.Entity.Migrations; using System.Linq; public sealed class Configuration : DbMigrationsConfiguration<NoMoreSusiDbContext> { public Con...
mit
C#
981e8115790ff28b4a29e6709076bad296721246
test push
adurdin/ggj2015
Alcove/Assets/GameSession/GameConstants.cs
Alcove/Assets/GameSession/GameConstants.cs
using UnityEngine; using System.Collections; public class GameConstants { // Gameplay public const int PLAYER_COUNT = 2; public const int NUM_TRIBES_PER_PLAYER = 4; public const float RECRUITMENT_AREA_DEFAULT_SPAWN_TIME = 0.5f; public const float RECRUITMENT_AREA_GROUND_WIDTH = 15.0f; public const float RECRU...
using UnityEngine; using System.Collections; public class GameConstants { // Gameplay public const int PLAYER_COUNT = 2; public const int NUM_TRIBES_PER_PLAYER = 4; public const float RECRUITMENT_AREA_DEFAULT_SPAWN_TIME = 2.0f; public const float RECRUITMENT_AREA_GROUND_WIDTH = 15.0f; public const float RECRU...
mit
C#
c797ab7da98adde47d0b4c65f342b1101f4fdb97
complete camera movement to x
GROWrepo/Santa_Inc
Assets/script/monoBehavior/playerCamera.cs
Assets/script/monoBehavior/playerCamera.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class playerCamera : MonoBehaviour { public GameObject player; Transform[] landscapes; Transform leftEnd; Transform rightEnd; // Use this for initialization void Start () { player = GameO...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class playerCamera : MonoBehaviour { public GameObject player; Transform[] landscapes; Transform[] ends; // Use this for initialization void Start () { player = GameObject.FindGameObjectWithTag("Pla...
mit
C#
1d03b6d4b71c3e44c8b610a674313c30c2479211
Add `#nullable enable` to texture store interface
ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework/Graphics/Textures/ITextureStore.cs
osu.Framework/Graphics/Textures/ITextureStore.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System.Threading; using System.Threading.Tasks; using osu.Framework.Graphics.OpenGL.Textures; using osu.Framework.IO.Stores; namespace osu.Framew...
// 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.Threading; using System.Threading.Tasks; using osu.Framework.Graphics.OpenGL.Textures; using osu.Framework.IO.Stores; namespace osu.Framework.Graphics.Textu...
mit
C#
e48fe053f6ee3c0aa24554f47296129a50049aef
Fix spacing
pojala/electrino,pojala/electrino,pojala/electrino
Electrino/win10/Electrino/MainPage.xaml.cs
Electrino/win10/Electrino/MainPage.xaml.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls...
mit
C#
7ab8d2ecf9830f124543c0d4b2bedd1c00e9ef20
Update CCPlace to extend CCActionInstantState.
netonjm/CocosSharp,MSylvia/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,zmaruo/CocosSharp,mono/CocosSharp,zmaruo/CocosSharp,hig-ag/CocosSharp,netonjm/CocosSharp,TukekeSoft/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp,mono/CocosSharp,MSylvia/CocosSharp
cocos2d/actions/action_instants/CCPlace.cs
cocos2d/actions/action_instants/CCPlace.cs
namespace CocosSharp { public class CCPlace : CCActionInstant { public CCPoint Position { get; private set; } #region Constructors public CCPlace(CCPoint pos) { Position = pos; } public CCPlace(int posX, int posY) { Position = new CCPoint (posX, posY); ...
namespace CocosSharp { public class CCPlace : CCActionInstant { public CCPoint Position { get; private set; } #region Constructors public CCPlace(CCPoint pos) { Position = pos; } public CCPlace(int posX, int posY) { Position = new CCPoint (posX, posY); ...
mit
C#
9c134c5f49664c7820589a2ff1bf67567201afaa
修改BatchGetUserInfoData.lang属性为int类型
wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,down4u/WeiXinMPSDK,lishewen/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiX...
src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/BatchGetUserInfoData.cs
src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/BatchGetUserInfoData.cs
/*---------------------------------------------------------------- Copyright (C) 2017 Senparc 文件名:BatchGetUserInfoData.cs 文件功能描述:批量获取用户基本信息数据 创建标识:Senparc - 20150727 修改标识:Senparc - 20170114 修改描述:v14.3.119 暂时修改lang属性为int类型 --------------------------------------------------------...
/*---------------------------------------------------------------- Copyright (C) 2017 Senparc 文件名:BatchGetUserInfoData.cs 文件功能描述:批量获取用户基本信息数据 创建标识:Senparc - 20150727 ----------------------------------------------------------------*/ namespace Senparc.Weixin.MP.AdvancedAPIs.User { //...
apache-2.0
C#
4b8a6d834b3c5386dcc13fc9578d22440961246d
include creator for now
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Controllers/ReviewerController.cs
Anlab.Mvc/Controllers/ReviewerController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Anlab.Core.Data; using Microsoft.EntityFrameworkCore; using Anlab.Core.Models; using Microsoft.AspNetCore.Authorization; using AnlabMvc.Models.Roles; namespace AnlabMvc.Controllers { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Anlab.Core.Data; using Microsoft.EntityFrameworkCore; using Anlab.Core.Models; using Microsoft.AspNetCore.Authorization; using AnlabMvc.Models.Roles; namespace AnlabMvc.Controllers { ...
mit
C#
454294be0eaa4efcfc83d0a5458336fc152c3d06
Change version to 1.22
EricSten-MSFT/kudu,kali786516/kudu,oliver-feng/kudu,bbauya/kudu,projectkudu/kudu,juoni/kudu,sitereactor/kudu,kali786516/kudu,oliver-feng/kudu,shrimpy/kudu,MavenRain/kudu,sitereactor/kudu,juvchan/kudu,juvchan/kudu,kenegozi/kudu,duncansmart/kudu,puneet-gupta/kudu,duncansmart/kudu,badescuga/kudu,MavenRain/kudu,YOTOV-LIMIT...
Common/CommonAssemblyInfo.cs
Common/CommonAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Outercurve Foundation")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyVersion("1.22.0.0")] [assembly: AssemblyFileVersion("1.22.0.0")]...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Outercurve Foundation")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyVersion("1.21.0.0")] [assembly: AssemblyFileVersion("1.21.0.0")]...
apache-2.0
C#
665ec6935be5bf50be33964146539408253a9404
Add Google Plus +1 to AddThis defaults
opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API
CkanDotNet.Web/Views/Shared/_AddThis.cshtml
CkanDotNet.Web/Views/Shared/_AddThis.cshtml
@using CkanDotNet.Web.Models.Helpers <!-- AddThis Button BEGIN --> <div class="share-buttons"> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_butt...
@using CkanDotNet.Web.Models.Helpers <!-- AddThis Button BEGIN --> <div class="share-buttons"> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_butt...
apache-2.0
C#
f9d97d84915d8be63fee566b623a6ac3e82f9ba9
Update shield constructor
andrewjleavitt/SpaceThing
Assets/Scripts/ShieldBehavior.cs
Assets/Scripts/ShieldBehavior.cs
using UnityEngine; public class ShieldBehavior { public float amount = 0.0f; public float rechargeRate = 0.0f; private float capacity = 0.0f; private float nextRecharge = 0.0f; private string shieldName; public ShieldBehavior(string newShieldName, float newCapacity, float newRechargeRate) {...
using UnityEngine; public class ShieldBehavior { public float amount = 0.0f; public float rechargeRate = 0.0f; private float capacity = 0.0f; private float nextRecharge = 0.0f; private string shieldName; public ShieldBehavior(string newShieldName, float newCapacity, float newRechargeAmount,...
unlicense
C#
c6ba7ddf8806415748ae84fe2c75af2b5e74538f
Implement proper disposable pattern to satisfy sonarcloud's compaint of a code smell :/
ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog
Take2/NuLog.CLI.Benchmarking/DummyTarget.cs
Take2/NuLog.CLI.Benchmarking/DummyTarget.cs
/* © 2019 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using NuLog.Configuration; using NuLog.LogEvents; using System; namespace NuLog.CLI.Benchmarking { /// <summary> /// A dummy target for performance testing -...
/* © 2019 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using NuLog.Configuration; using NuLog.LogEvents; using System; namespace NuLog.CLI.Benchmarking { /// <summary> /// A dummy target for performance testing -...
mit
C#
1c380f5eff1c0e930984adf0ce941a1733e2702f
Remove usage of legacy code
asarium/FSOLauncher
UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationViewModel.cs
UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationViewModel.cs
#region Usings using System; using System.Collections.Generic; using System.Windows.Input; using ReactiveUI; using UI.WPF.Launcher.Common.Classes; #endregion namespace UI.WPF.Modules.Installation.ViewModels.Installation { public class InstallationViewModel : ReactiveObjectBase { private Installation...
#region Usings using System; using System.Collections.Generic; using System.Windows.Input; using ReactiveUI.Legacy; using UI.WPF.Launcher.Common.Classes; #endregion namespace UI.WPF.Modules.Installation.ViewModels.Installation { public class InstallationViewModel : ReactiveObjectBase { private Insta...
mit
C#
2bd6b936341fd79a44fb17980328a9aba35a039a
Remove unused constant
Wyamio/Wyam,mgnslndh/Wyam,adamclifford/Wyam,adamclifford/Wyam,adamclifford/Wyam,dodyg/Wyam,mgnslndh/Wyam,Wyamio/Wyam,adamclifford/Wyam,dodyg/Wyam,heavenwing/Wyam,heavenwing/Wyam,Wyamio/Wyam,adamclifford/Wyam
Wyam.Modules.ImageProcessor/MetadataKeys.cs
Wyam.Modules.ImageProcessor/MetadataKeys.cs
namespace Wyam.Modules.ImageProcessor { public static class MetadataKeys { public const string SourceFilePath = "SourceFilePath"; public const string SourceFileExt = "SourceFileExt"; } }
namespace Wyam.Modules.ImageProcessor { public static class MetadataKeys { public const string Base64 = "Base64"; public const string SourceFilePath = "SourceFilePath"; public const string SourceFileExt = "SourceFileExt"; } }
mit
C#
dd5b2671dddd1bbf15c205b41e6368cd3258dcf1
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.LastVisitedMRU/ValuesOut.cs
RegistryPlugin.LastVisitedMRU/ValuesOut.cs
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.LastVisitedMRU { public class ValuesOut:IValueOut { public ValuesOut(string valueName, string executable, string directory, int mruPosition, DateTimeOffset? openedOn) { Executable = executable; ...
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.LastVisitedMRU { public class ValuesOut:IValueOut { public ValuesOut(string valueName, string executable, string directory, int mruPosition, DateTimeOffset? openedOn) { Executable = executable; ...
mit
C#
6d38d0616388fb0b4acc5ac97e7321f3efd3e4b6
Fix occasional crash when solution changes
tom-englert/ResXResourceManager
ResXManager.View/Visuals/ShellViewModel.cs
ResXManager.View/Visuals/ShellViewModel.cs
namespace tomenglertde.ResXManager.View.Visuals { using System.Collections.Specialized; using System.ComponentModel.Composition; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using System.Windows.Threading; using JetBrains.Ann...
namespace tomenglertde.ResXManager.View.Visuals { using System.Collections.Specialized; using System.ComponentModel.Composition; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.Contracts; using System.Windows.Threading; using JetBrains.Ann...
mit
C#
547701886f54bce0149c78c95e050d25b6efa436
Use file name as the name of a Cursor Set
mysticfall/Alensia
Assets/Alensia/Core/UI/Cursor/CursorSet.cs
Assets/Alensia/Core/UI/Cursor/CursorSet.cs
using System.Collections.Generic; using System.Linq; using Alensia.Core.Common; using UnityEngine; namespace Alensia.Core.UI.Cursor { public class CursorSet : ScriptableObject, INamed, IDirectory<CursorDefinition>, IEditorSettings { public string Name => name; protected IDictionary<string, Cur...
using System.Collections.Generic; using System.Linq; using Alensia.Core.Common; using UnityEngine; namespace Alensia.Core.UI.Cursor { public class CursorSet : ScriptableObject, IDirectory<CursorDefinition>, IEditorSettings { protected IDictionary<string, CursorDefinition> CursorMap { ...
apache-2.0
C#
24506c4903fde535452ac89103d30f59687967b5
Update Demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqliteTest/Config.cs
Src/Asp.Net/SqliteTest/Config.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class Config { public static string GetCurrentProjectPath { get { return Environment.CurrentDirectory.Replace(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class Config { public static string ConnectionString = @"DataSource=F:\MyOpenSource\SqlSugar4.XNew\SqlSugar\Src\Asp.Net\SqliteTest\DataBase\SqlSugar4xTest.sqli...
apache-2.0
C#
9bf4f1e6f91a7615a28376b5751cc88e6b2a5c30
add overload for creating property from json object
ntent-ad/Metrics.NET,Recognos/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,Liwoj/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,DeonHeyns/Metr...
Src/Metrics/Json/JsonProperty.cs
Src/Metrics/Json/JsonProperty.cs
using System.Collections.Generic; namespace Metrics.Json { public class JsonProperty { public JsonProperty(string name, IEnumerable<JsonObject> objects) : this(name, new CollectionJsonValue(objects)) { } public JsonProperty(string name, IEnumerable<JsonProperty> properties...
using System.Collections.Generic; namespace Metrics.Json { public class JsonProperty { public JsonProperty(string name, IEnumerable<JsonObject> objects) : this(name, new CollectionJsonValue(objects)) { } public JsonProperty(string name, IEnumerable<JsonProperty> properties...
apache-2.0
C#
4f203b28f2d2bbd2d8cb56b5948a37d58b09bb16
Fix new lines in console
SteamDatabase/ValveResourceFormat
GUI/Utils/ConsoleTab.cs
GUI/Utils/ConsoleTab.cs
using System; using System.Drawing; using System.IO; using System.Text; using System.Windows.Forms; namespace GUI.Utils { internal class ConsoleTab { internal class MyLogger : TextWriter { private TextBox control; public MyLogger(TextBox control) { ...
using System; using System.Drawing; using System.IO; using System.Text; using System.Windows.Forms; namespace GUI.Utils { internal class ConsoleTab { internal class MyLogger : TextWriter { private TextBox control; public MyLogger(TextBox control) { ...
mit
C#
9a2f828ba60d852f0aed9a3a50eb3645489b542f
Modify DialogsPage to allow testing of startup location.
wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Perspex,Perspex/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/...
samples/ControlCatalog/Pages/DialogsPage.xaml.cs
samples/ControlCatalog/Pages/DialogsPage.xaml.cs
using Avalonia.Controls; using Avalonia.Markup.Xaml; #pragma warning disable 4014 namespace ControlCatalog.Pages { public class DialogsPage : UserControl { public DialogsPage() { this.InitializeComponent(); this.FindControl<Button>("OpenFile").Click += delegate ...
using Avalonia.Controls; using Avalonia.Markup.Xaml; #pragma warning disable 4014 namespace ControlCatalog.Pages { public class DialogsPage : UserControl { public DialogsPage() { this.InitializeComponent(); this.FindControl<Button>("OpenFile").Click += delegate ...
mit
C#
3455b4168ba407dbe6838f028af3596b00baa3d6
Simplify test
JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/Blo...
src/BloomTests/Book/BookInfoTests.cs
src/BloomTests/Book/BookInfoTests.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Bloom.Book; using NUnit.Framework; using Palaso.IO; using Palaso.Reporting; using Palaso.TestUtilities; namespace BloomTests.Book { public class BookInfoTests { private TemporaryFolder _fixtureFolder; pr...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Bloom.Book; using NUnit.Framework; using Palaso.IO; using Palaso.Reporting; using Palaso.TestUtilities; namespace BloomTests.Book { public class BookInfoTests { private TemporaryFolder _fixtureFolder; pr...
mit
C#
9a2ee69a93a1966a154370228efe4e7822e55110
Implement .net SqlClientDriver
lecaillon/Evolve
src/Evolve/Driver/SqlClientDriver.cs
src/Evolve/Driver/SqlClientDriver.cs
using System; using System.Data; namespace Evolve.Driver { #if NETSTANDARD public class SqlClientDriver : IDriver { public IDbConnection CreateConnection() { throw new NotImplementedException(); } } #else public class SqlClientDriver : IDriver { public I...
using System; using System.Collections.Generic; using System.Data; using System.Text; namespace Evolve.Driver { public class SqlClientDriver : IDriver { public IDbConnection CreateConnection() { throw new NotImplementedException(); } } }
mit
C#
7b527f786b46b0c86b4893eee5d01ac47ea183b8
Add copyright to one more .cs source file.
GoogleCloudPlatform/pubsub-shout-csharp,GoogleCloudPlatform/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,GoogleCloudPlatform/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,GoogleCloudPlatform/pubsub-shout-csharp
windows-csharp/ShoutLib/Constants.cs
windows-csharp/ShoutLib/Constants.cs
// Copyright 2015 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 a...
namespace ShoutLib { internal class Constants { public const string ProjectId = "YOUR-PROJECT-ID"; public const string ServiceAccountEmail = "YOUR-SERVICE-ACCOUNT@developer.gserviceaccount.com"; public const string ServiceAccountP12KeyPath = @"C:\PATH\TO\YOUR\FILE.p12"; pu...
apache-2.0
C#
75c51d5893ec0f83d9e01bdb6aba77f64e192ba4
Improve naming of tests to clearly indicate the feature to be tested
oliverzick/Delizious-Filtering
src/Library.Test/GreaterThanTests.cs
src/Library.Test/GreaterThanTests.cs
#region Copyright and license // // <copyright file="GreaterThanTests.cs" company="Oliver Zick"> // // Copyright (c) 2016 Oliver Zick. All rights reserved. // // </copyright> // // <author>Oliver Zick</author> // // <license> // // Licensed under the Apache License, Version 2.0 (the "License"); // // you m...
#region Copyright and license // // <copyright file="GreaterThanTests.cs" company="Oliver Zick"> // // Copyright (c) 2016 Oliver Zick. All rights reserved. // // </copyright> // // <author>Oliver Zick</author> // // <license> // // Licensed under the Apache License, Version 2.0 (the "License"); // // you m...
apache-2.0
C#
b0057e403f1c6817679521f4dfed16d08163fdb0
Fix "All Decks" get sort with other decks
AnkiUniversal/Anki-Universal,AnkiUniversal/Anki-Universal,AnkiUniversal/Anki-Universal
AnkiU/ViewModels/DeckNameViewModel.cs
AnkiU/ViewModels/DeckNameViewModel.cs
/* Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
/* Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
agpl-3.0
C#
8f29b22b499394feb8d29472fb47e3e0f41640b7
Update version
alexvictoor/BrowserLog,alexvictoor/BrowserLog,alexvictoor/BrowserLog
BrowserLog/Properties/AssemblyInfo.cs
BrowserLog/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...
apache-2.0
C#