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
57d346723404df87fa993de8294240bb8a6b37b1
Remove crap
noocyte/UXBackgroundWorker
src/ExampleWorker/SimpleEventHubSpammer.cs
src/ExampleWorker/SimpleEventHubSpammer.cs
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Threading.Tasks; using Microsoft.ServiceBus.Messaging; using Microsoft.WindowsAzure; using Proactima.AzureWorkers; namespace ExampleWorker { public class SimpleEventHubSpammer : BaseWorker { p...
using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Threading.Tasks; using Microsoft.ServiceBus.Messaging; using Microsoft.WindowsAzure; using Proactima.AzureWorkers; namespace ExampleWorker { public class SimpleEventHubSpammer : BaseWorker { p...
mit
C#
04c30af12262fcf3ea18df2d8dccb6218587815f
Update Startup.cs for simple dependency injection through IoC container
devkimchi/Graph-API-App-Only-Web-API-Sample,devkimchi/Graph-API-App-Only-Web-API-Sample
src/GraphApiAppOnlyWebApiSample/Startup.cs
src/GraphApiAppOnlyWebApiSample/Startup.cs
using GraphApiAppOnlyWebApiSample.Models; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace GraphApiAppOnlyWebApiSample { public class Startup { public...
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace GraphApiAppOnlyWebApiSample { public class Startup { public Startup(IHostingEnvironment env) {...
mit
C#
f62b253c2af1d94e9e4bbc71946fdeaf5cc430a8
Bump to version 0.2.0
Kryptos-FR/markdig.wpf,Kryptos-FR/markdig-wpf
src/Markdig.Wpf/Properties/AssemblyInfo.cs
src/Markdig.Wpf/Properties/AssemblyInfo.cs
// Copyright (c) 2016-2017 Nicolas Musset. All rights reserved. // This file is licensed under the MIT license. // See the LICENSE.md file in the project root for more information. using System.Reflection; using System.Resources; using System.Windows; // General Information about an assembly is controlled through th...
// Copyright (c) 2016-2017 Nicolas Musset. All rights reserved. // This file is licensed under the MIT license. // See the LICENSE.md file in the project root for more information. using System.Reflection; using System.Resources; using System.Windows; // General Information about an assembly is controlled through th...
mit
C#
e00e48f9c31b7628e8b69bce54f44962642cfaca
Update Encodings.cs
Virusface/Cauldron,Capgemini/Cauldron,reflection-emit/Cauldron
Shared/Cauldron.Core/Encodings.cs
Shared/Cauldron.Core/Encodings.cs
namespace Cauldron.Core { /// <summary> /// Provides predefined encodings /// </summary> public enum Encodings { /// <summary> /// Encoding for the ASCII (7-bit) character set. /// </summary> ASCII, /// <summary> /// Encoding for the UTF-16 format t...
namespace Cauldron.Core { /// <summary> /// Provides predefined encodings /// </summary> public enum Encodings { /// <summary> /// Encoding for the ASCII (7-bit) character set. /// </summary> ASCII, /// <summary> /// Encoding for the UTF-16 format t...
mit
C#
89c5ff01f40d1bc55f9e26649e56e5545e558f81
Disable dev support for ReleaseBundle configuration (#695)
lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows
ReactWindows/Playground/AppReactPage.cs
ReactWindows/Playground/AppReactPage.cs
using ReactNative; using ReactNative.Modules.Core; using ReactNative.Shell; using System.Collections.Generic; namespace Playground { class AppReactPage : ReactPage { public override string MainComponentName { get { return "Playground"; } ...
using ReactNative; using ReactNative.Modules.Core; using ReactNative.Shell; using System.Collections.Generic; namespace Playground { class AppReactPage : ReactPage { public override string MainComponentName { get { return "Playground"; } ...
mit
C#
c38a5c2a06706577bac1c78013679b955e173bb0
Update build.cake
predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins
ImageCircle/build.cake
ImageCircle/build.cake
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "NuGetPack")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./ImageCircle.sln"; const string cfg = "Release"; NuGetRestore (sln); ...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Build")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./ImageCircle.sln"; const string cfg = "Release"; NuGetRestore (sln); if ...
mit
C#
b808e5508b72bf314f9328f19f1ba330c1fdf863
Fix incorrect reference assembly path
crummel/dotnet_core-setup,rakeshsinghranchi/core-setup,ravimeda/core-setup,janvorli/core-setup,cakine/core-setup,ellismg/core-setup,ericstj/core-setup,gkhanna79/core-setup,vivmishra/core-setup,weshaggard/core-setup,MichaelSimons/core-setup,joperezr/core-setup,karajas/core-setup,vivmishra/core-setup,cakine/core-setup,Mi...
Resolution/DotNetReferenceAssembliesPathResolver.cs
Resolution/DotNetReferenceAssembliesPathResolver.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Microsoft.Extensions.EnvironmentAbstractions; using Microsoft.Extensions.PlatformAbstractions; namespace Mi...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Microsoft.Extensions.EnvironmentAbstractions; using Microsoft.Extensions.PlatformAbstractions; namespace Mi...
mit
C#
10186b81c1441b2e1f026c969ebdff775fcfc866
add method to interface
gaochundong/Sangmado.Fida.Http
Sangmado.Fida.Http/HttpClient/IEncodedHttpClient.cs
Sangmado.Fida.Http/HttpClient/IEncodedHttpClient.cs
using System.Net; namespace Sangmado.Fida.Http { public interface IEncodedHttpClient { T Get<T>(string requestUri); void Put(string requestUri, object content); T Put<T>(string requestUri, object content); void PutEncoded(string requestUri, byte[] content); T PutEncod...
namespace Sangmado.Fida.Http { public interface IEncodedHttpClient { T Get<T>(string requestUri); void Put(string requestUri, object content); T Put<T>(string requestUri, object content); void PutEncoded(string requestUri, byte[] content); T PutEncoded<T>(string reques...
mit
C#
4ef920facf5eb7171d4746629ef138d2fe277dfa
edit start page copy
kreeben/resin,kreeben/resin
src/Sir.HttpServer/Views/Home/Index.cshtml
src/Sir.HttpServer/Views/Home/Index.cshtml
@{ Layout = "~/Views/_LayoutStart.cshtml"; ViewBag.Title = "Crawl Crawler"; } @{ var progress = ViewBag.DocumentCount == null ? 0 : (double)ViewBag.DocumentCount / ((long)56000 * 44000) * 100; var millionDocs = ViewBag.DocumentCount == null ? 0 : (double)ViewBag.DocumentCount / 1000000; } <p class="spl...
@{ Layout = "~/Views/_LayoutStart.cshtml"; ViewBag.Title = "Crawl Crawler"; } @{ var progress = ViewBag.DocumentCount == null ? 0 : (double)ViewBag.DocumentCount / ((long)56000 * 44000) * 100; var millionDocs = ViewBag.DocumentCount == null ? 0 : (double)ViewBag.DocumentCount / 1000000; } <p class="spl...
mit
C#
903a564d42528307402e018883c13510caf0774c
Remove ToPdfPage extension for Image extension due to PdfSharp requirement that XGraphics.FromPdfPage requires a backing PdfDocument for the page. Alternative option was to create a new black PdfDocument. Not sure of the "value" for that option.
gheeres/PDFSharp.Extensions
System/Drawing/ImageExtensions.cs
System/Drawing/ImageExtensions.cs
using System.Collections.Generic; using PdfSharp.Drawing; using PdfSharp.Pdf; // ReSharper disable once CheckNamespace namespace System.Drawing { /// <summary> /// Extension methods for the <see cref="Image"/> class. /// </summary> public static class ImageExtensions { /// <summary> /// Generates a ...
using System.Collections.Generic; using PdfSharp.Drawing; using PdfSharp.Pdf; // ReSharper disable once CheckNamespace namespace System.Drawing { /// <summary> /// Extension methods for the <see cref="Image"/> class. /// </summary> public static class ImageExtensions { /// <summary> /// Generates a ...
mit
C#
214f8933c28a712afebc6ba53ecc504142886621
Change AuthContext
somprasongth/TokenBasedAuthentication
TokenBasedAuthentication/AuthContext.cs
TokenBasedAuthentication/AuthContext.cs
using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TokenBasedAuthentication { // public class AuthContext : IdentityDbContext<IdentityUser> { public AuthContext() : base("AuthContext") ...
using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TokenBasedAuthentication { public class AuthContext : IdentityDbContext<IdentityUser> { public AuthContext() : base("AuthContext") { ...
apache-2.0
C#
ee1a65702e5442cafdfd7e8eccff7f7522d0912d
Add link to kendo grid title
KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem
VotingSystem.Web/Views/Polls/All.cshtml
VotingSystem.Web/Views/Polls/All.cshtml
@using Kendo.Mvc.UI @using VotingSystem.Web.ViewModels.Polls @model List<PublicActivePollsViewModel> @{ ViewBag.Title = "All Public Polls"; } <h1>@ViewBag.Title</h1> @(Html.Kendo().Grid(Model) .Name("pollGrid") .Columns(col => { col.Bound(poll => poll.Id).Hidden(); ...
@using Kendo.Mvc.UI @using VotingSystem.Web.ViewModels.Polls @model List<PublicActivePollsViewModel> @{ ViewBag.Title = "All Public Polls"; } <h1>@ViewBag.Title</h1> @(Html.Kendo().Grid(Model) .Name("pollGrid") .Columns(col => { col.Bound(poll => poll.Id).Hidden(); ...
mit
C#
35bb2c66561cb5f4d1803b296be836d89afda348
Add owner user id for bags
projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection
TheCollection.Business/Tea/Bag.cs
TheCollection.Business/Tea/Bag.cs
using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace TheCollection.Business.Tea { [JsonConverter(typeof(SearchableConverter))] public class Bag { [Key] [JsonProperty(PropertyName = "id")] public string Id { get; set; } [JsonProperty(Property...
using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; namespace TheCollection.Business.Tea { [JsonConverter(typeof(SearchableConverter))] public class Bag { [Key] [JsonProperty(PropertyName = "id")] public string Id { get; set; } [Searchable] [...
apache-2.0
C#
d47d99a04ff5fb02de73f0b23d122069150814f4
make Deactivate test consistent with Activate
mccarthyrb/libpalaso,gmartin7/libpalaso,chrisvire/libpalaso,sillsdev/libpalaso,darcywong00/libpalaso,darcywong00/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,tombogle/libpalaso,gmartin7/libpalaso,andrew-polk/libpalaso,JohnThomson/libpalaso,hatton/libpalaso,JohnThomso...
PalasoUIWindowsForms.Tests/Keyboarding/IBusAdaptorTestsWithIBus.cs
PalasoUIWindowsForms.Tests/Keyboarding/IBusAdaptorTestsWithIBus.cs
#if MONO using System; using NUnit.Framework; using Palaso.Reporting; using Palaso.UI.WindowsForms.Keyboarding; using System.Collections.Generic; namespace PalasoUIWindowsForms.Tests.Keyboarding { [TestFixture] [Category("SkipOnTeamCity")] public class IBusAdaptorTestsWithIBus { [Test] [Category("IBus")] pu...
#if MONO using System; using NUnit.Framework; using Palaso.Reporting; using Palaso.UI.WindowsForms.Keyboarding; using System.Collections.Generic; namespace PalasoUIWindowsForms.Tests.Keyboarding { [TestFixture] [Category("SkipOnTeamCity")] public class IBusAdaptorTestsWithIBus { [Test] [Category("IBus")] pu...
mit
C#
9b16c81f8327aaf57590527978871937d374405f
Make QueryExtensions class internal.
dolkensp/node.net,antiufo/NuGet2,mrward/NuGet.V2,pratikkagda/nuget,chocolatey/nuget-chocolatey,indsoft/NuGet2,atheken/nuget,ctaggart/nuget,ctaggart/nuget,rikoe/nuget,anurse/NuGet,jholovacs/NuGet,akrisiun/NuGet,anurse/NuGet,RichiCoder1/nuget-chocolatey,ctaggart/nuget,mono/nuget,mrward/NuGet.V2,antiufo/NuGet2,chocolatey/...
src/VisualStudio/QueryExtensions.cs
src/VisualStudio/QueryExtensions.cs
using System.Collections.Generic; using System.Linq; namespace NuGet.VisualStudio { /// <summary> /// This method attempts to retrieve all elements from the specified IQueryable, taking into account /// the fact that the IQueryable may come from OData service feed, which imposes a server-side pag...
using System.Collections.Generic; using System.Linq; namespace NuGet.VisualStudio { /// <summary> /// This method attempts to retrieve all elements from the specified IQueryable, taking into account /// the fact that the IQueryable may come from OData service feed, which imposes a server-side pag...
apache-2.0
C#
6e1a1fe8c66c72f2d38a75374932f02a7689c20d
Fix the solution for Ex05
peterchase/parallel-workshop
ParallelWorkshop/Ex05DatedSerial/PossibleSolution/LazyDatedSerial.cs
ParallelWorkshop/Ex05DatedSerial/PossibleSolution/LazyDatedSerial.cs
using System; using System.Threading; namespace Lurchsoft.ParallelWorkshop.Ex05DatedSerial.PossibleSolution { public class LazyDatedSerial { private Lazy<ThreadSafeSerial> serial = new Lazy<ThreadSafeSerial> (() => new ThreadSafeSerial(DateTime.Now.ToShortDateString()), LazyThreadSafetyMode...
using System; using System.Threading; namespace Lurchsoft.ParallelWorkshop.Ex05DatedSerial.PossibleSolution { public class LazyDatedSerial { private Lazy<ThreadSafeSerial> serial = new Lazy<ThreadSafeSerial>(LazyThreadSafetyMode.ExecutionAndPublication); public string GetNextSerial() {...
apache-2.0
C#
42d32e80debb395034c8cb321a79cc4d5313a3a0
Fix IsPublicFunction.Evaluate according to the report of @bignoncedric
KKKas/ConfuserEx,AgileJoshua/ConfuserEx,mirbegtlax/ConfuserEx,apexrichard/ConfuserEx,Desolath/Confuserex,JPVenson/ConfuserEx,HalidCisse/ConfuserEx,manojdjoshi/ConfuserEx,JPVenson/ConfuserEx,farmaair/ConfuserEx,modulexcite/ConfuserEx,yeaicc/ConfuserEx,Desolath/ConfuserEx3,engdata/ConfuserEx,arpitpanwar/ConfuserEx,yuliga...
Confuser.Core/Project/Patterns/IsPublicFunction.cs
Confuser.Core/Project/Patterns/IsPublicFunction.cs
using System; using dnlib.DotNet; namespace Confuser.Core.Project.Patterns { /// <summary> /// A function that indicate the visibility of members. /// </summary> public class IsPublicFunction : PatternFunction { internal const string FnName = "is-public"; /// <inheritdoc /> public override string Name...
using System; using dnlib.DotNet; namespace Confuser.Core.Project.Patterns { /// <summary> /// A function that indicate the visibility of members. /// </summary> public class IsPublicFunction : PatternFunction { internal const string FnName = "is-public"; /// <inheritdoc /> public override string Name...
mit
C#
30981bb4acffbd38e28c929e7e27e9e6eb720697
Remove now-redundant code previously used for dictionary support
evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googlea...
apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data/TypeUtil.cs
apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data/TypeUtil.cs
// Copyright 2017 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 applic...
// Copyright 2017 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 applic...
apache-2.0
C#
e03f403532aae87e512badc0942537e0c60c5b57
Enable endpoint routing
andyfmiller/LtiLibrary
test/LtiLibrary.AspNetCore.Tests/Startup.cs
test/LtiLibrary.AspNetCore.Tests/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace LtiLibrary.AspNetCore.Tests { public class Startup { // ReSharper disable once UnusedParameter.Local public Startup(IHostingEnvi...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace LtiLibrary.AspNetCore.Tests { public class Startup { // ReSharper disable once UnusedParameter.Local public Startup(IHostingEnvi...
apache-2.0
C#
73137a436f9f865530fb3e8a9d6d71cc69afd3c8
Update NativeMethods.cs
stefan-baumann/AeroSuite
AeroSuite/NativeMethods.cs
AeroSuite/NativeMethods.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace AeroSuite { /// <summary> /// Provides some methods from the user32 and uxtheme libraries. /// </summary> internal static class NativeMeth...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace AeroSuite { /// <summary> /// Provides some methods from the user32 and uxtheme libraries. /// </summary> internal static class NativeMeth...
mit
C#
4b7dd73789c935e033596c58ef1959a1dcfe55a9
Fix weird time speed changing jankyness
knexer/Chinese-Rooms-what-do-they-know-do-they-know-things-lets-find-out
Assets/Scripts/TickController.cs
Assets/Scripts/TickController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TickController : MonoBehaviour { public static TickController Obj; public delegate void TickEventHandler(float lengthOfTickSeconds); public static event TickEventHandler MoveTickEvent; public static event Ti...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TickController : MonoBehaviour { public static TickController Obj; public delegate void TickEventHandler(float lengthOfTickSeconds); public static event TickEventHandler MoveTickEvent; public static event Ti...
mit
C#
b904d470fac61eb087403da2684cba373ad94047
Fix Indentation spaces
cesardeazevedo/Unity3D-Python-Editor,cesardeazevedo/Unity3D-Python-Editor
Assets/src/editor/ColorScheme.cs
Assets/src/editor/ColorScheme.cs
using UnityEngine; /// <summary> /// Syntax HighLight Code /// </summary> public static class ColorScheme { /// <summary> /// The color of the background. /// </summary> public static Color32 Background = new Color32(42, 50, 50, 255); /// <summary> /// The background color2. ///...
using UnityEngine; /// <summary> /// Syntax HighLight Code /// </summary> public static class ColorScheme { /// <summary> /// The color of the background. /// </summary> public static Color32 Background = new Color32(42, 50, 50, 255); /// <summary> /// The background color2. /// </summary> public stati...
mit
C#
13ae2f72beab701963e66353b92032775b56e20d
Fix crash on Search box enter
bombomby/brofiler,bombomby/brofiler,bombomby/brofiler
Brofiler/SearchBox.xaml.cs
Brofiler/SearchBox.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windo...
mit
C#
04f0ebd47431d8debdfa66a5e1acca4285c8dc95
Replace BuildWebHost => CreatewebHostBuilder to support integration testing
alimon808/contoso-university,alimon808/contoso-university,alimon808/contoso-university
ContosoUniversity.Web/Program.cs
ContosoUniversity.Web/Program.cs
using System.IO; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace ContosoUniversity { public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Bu...
using System.IO; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace ContosoUniversity { public class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); ...
mit
C#
d0743ec7494c049c0c3faec29c98432b2d6e88bc
Modify Comment.ToString() to allow multiline comments.
cemdervis/SharpConfig
SharpConfig/Comment.cs
SharpConfig/Comment.cs
// Copyright (c) 2013-2016 Cemalettin Dervis, MIT License. // https://github.com/cemdervis/SharpConfig namespace SharpConfig { /// <summary> /// Represents a comment in a configuration. /// </summary> public struct Comment { /// <summary> /// The string value of the comment. ...
// Copyright (c) 2013-2016 Cemalettin Dervis, MIT License. // https://github.com/cemdervis/SharpConfig namespace SharpConfig { /// <summary> /// Represents a comment in a configuration. /// </summary> public struct Comment { /// <summary> /// The string value of the comment. ...
mit
C#
65501b738deae128d6f52c33bcf3e1f551933e65
Reduce the amount of 'PersistedCityStatistics'
Miragecoder/Urbanization,Miragecoder/Urbanization,Miragecoder/Urbanization
src/Mirage.Urbanization.Simulation/Persistence/PersistedCityStatisticsCollection.cs
src/Mirage.Urbanization.Simulation/Persistence/PersistedCityStatisticsCollection.cs
using System.Collections.Generic; using System.Linq; using Mirage.Urbanization.ZoneStatisticsQuerying; using System.Collections.Immutable; namespace Mirage.Urbanization.Simulation.Persistence { public class PersistedCityStatisticsCollection { private ImmutableQueue<PersistedCityStatisticsWithFinancialD...
using System.Collections.Generic; using System.Linq; using Mirage.Urbanization.ZoneStatisticsQuerying; using System.Collections.Immutable; namespace Mirage.Urbanization.Simulation.Persistence { public class PersistedCityStatisticsCollection { private ImmutableQueue<PersistedCityStatisticsWithFinancialD...
mit
C#
e6b4a71270a5971387df1869ed2872b243c0cbac
Refactor TextureRegion
k-t/SharpHaven
MonoHaven.Client/Graphics/TextureRegion.cs
MonoHaven.Client/Graphics/TextureRegion.cs
using System; using System.Drawing; using System.IO; using OpenTK; namespace MonoHaven.Graphics { public class TextureRegion : Drawable { private readonly Texture tex; private readonly Vector2 uv; private readonly Vector2 uv2; private readonly bool ownsTexture; public TextureRegion(Texture tex, Rectangle...
using System; using System.Drawing; using System.IO; namespace MonoHaven.Graphics { public class TextureRegion : Drawable { private readonly Texture texture; private readonly bool isOwner; private readonly int x; private readonly int y; private RectangleF textureBounds; public TextureRegion(Texture tex...
mit
C#
a6c8905372ccfb3952cbdda03328a56911901b32
improve music playing command to play the music file that is passed in as a string
Luke-Wolf/krystal-voicecontrol
Krystal.Core/PlayMusicCommand.cs
Krystal.Core/PlayMusicCommand.cs
// // Copyright 2014 Luke // // 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 ...
// // Copyright 2014 Luke // // 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 ...
apache-2.0
C#
2da474bbeb4d75352b36f80cbef266ff76fa33ea
Fix state machine
EasyPeasyLemonSqueezy/MadCat
MadCat/NutEngine/StateMachine.cs
MadCat/NutEngine/StateMachine.cs
namespace NutEngine { public class StateMachine { private IState currentState; public StateMachine(IState firstState) { currentState = firstState; } public void UpdateInput(Input.KeyboardState keyboardState) { var newState = currentState...
namespace NutEngine { public class StateMachine { private IState currentState; public StateMachine(IState firstState) { currentState = firstState; currentState.Enter(); } public void UpdateInput(Input.KeyboardState keyboardState) { ...
mit
C#
23770977b0f84964c21f3a7d2b8a2aa3af6d6cf5
Fix comments on Json prop constants (#16311)
jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,AsrOn...
sdk/digitaltwins/Azure.DigitalTwins.Core/src/Models/DigitalTwinsJsonPropertyNames.cs
sdk/digitaltwins/Azure.DigitalTwins.Core/src/Models/DigitalTwinsJsonPropertyNames.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Azure.DigitalTwins.Core { /// <summary> /// String constants for use in JSON de/serialization for custom types. /// </summary> public static class DigitalTwinsJsonPropertyNames { /// <...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Azure.DigitalTwins.Core { /// <summary> /// String constants for use in JSON de/serialization for custom types. /// </summary> public static class DigitalTwinsJsonPropertyNames { /// <...
mit
C#
242d6516dcb28fbe26567bce8ebbf1493f9c87f7
build fix.
flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core
Flubu.Tests/Services/FlubuEnviromentTests.cs
Flubu.Tests/Services/FlubuEnviromentTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FlubuCore.Services; using Xunit; namespace Flubu.Tests.Services { public class FlubuEnviromentTests { [Fact(Skip = "Explicit test.")] public void ListAvailableToolsVersionTest() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FlubuCore.Services; using Xunit; namespace Flubu.Tests.Services { public class FlubuEnviromentTests { [Fact(Skip = "Explicit test.")] public void ListAvailableToolsVersionTest() { ...
bsd-2-clause
C#
84e909c0f940bbd01ed19a7121312418fc1836c5
fix 2
Chillons/dotnetbay-hs15
source/DotNetBay.Data.EF/EFMainRepository.cs
source/DotNetBay.Data.EF/EFMainRepository.cs
using System; using System.Data.Entity; using System.Linq; using DotNetBay.Interfaces; using DotNetBay.Model; namespace DotNetBay.Data.EF { public class EFMainRepository : IMainRepository { private readonly MainDbContext context; public EFMainRepository() { this.context = ...
using System; using System.Data.Entity; using System.Linq; using DotNetBay.Interfaces; using DotNetBay.Model; namespace DotNetBay.Data.EF { public class EFMainRepository : IMainRepository { private readonly MainDbContext context; public EFMainRepository() { this.context = ...
mit
C#
bba181a0fb434f25b4619602aa148e7e2ec6ed47
Update Robin-Manuel Thiel's Twitter Handle (#375)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/RobinManuelThiel.cs
src/Firehose.Web/Authors/RobinManuelThiel.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts { public bool Filter(SyndicationItem item) ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts { public bool Filter(SyndicationItem item) ...
mit
C#
6a9d0ba1c6247495e084033cc59a6c320f41d216
Return normal json for standard json request
IsaacSanch/halcyon,IsaacSanch/APIology.HAL,visualeyes/halcyon
src/Halcyon/HAL/JsonHALMediaTypeFormatter.cs
src/Halcyon/HAL/JsonHALMediaTypeFormatter.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; namespace Halcyon.HAL { public class JsonHALMediaTypeFormatter : JsonMediaTy...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Web; namespace Halcyon.HAL { public class JsonHALMediaTypeFormatter : JsonMediaTy...
mit
C#
7d289e4d977a327ff69fd64cab4b0588177ff418
Add GitHub auth. Hide option in UI
projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS
SimpleWAWS/Authentication/AuthUtilities.cs
SimpleWAWS/Authentication/AuthUtilities.cs
using System; using System.IO; using System.Net; namespace SimpleWAWS.Authentication { public static class AuthUtilities { public static string GetContentFromUrl(string url, string method="GET", bool jsonAccept = false, bool addGitHubHeaders = false, string AuthorizationHeader ="") { ...
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#
b71e862d800b028bb7d12fd63583f4f94d90bde5
Add application title and copyright.
nagilum/dcm
Properties/AssemblyInfo.cs
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("Di...
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("dc...
mit
C#
b3faf5a4c310ccc4e33ad731d9f472854689b809
Allow to set spawn interval public
emazzotta/unity-tower-defense
Assets/Scripts/SpawnController.cs
Assets/Scripts/SpawnController.cs
using UnityEngine; using System.Collections; public class SpawnController : MonoBehaviour { public GameObject enemiesFolder; public GameObject originalEnemy; public int enemiesToSpawn; public float spawnInterval; private int enemiesSpawned; void Start () { enemiesSpawned = 0; InvokeRepeating("S...
using UnityEngine; using System.Collections; public class SpawnController : MonoBehaviour { public GameObject enemiesFolder; public GameObject originalEnemy; public int enemiesToSpawn; private int enemiesSpawned; void Start () { enemiesSpawned = 0; InvokeRepeating("SpawnEnemy", 0, 2f); } ...
mit
C#
b91ebaabe5eed299c55c22db0099380555f9c66e
Update StaticContentHelper.cs
lijunle/Nancy,jongleur1983/Nancy,AcklenAvenue/Nancy,NancyFx/Nancy,MetSystem/Nancy,albertjan/Nancy,adamhathcock/Nancy,jonathanfoster/Nancy,grumpydev/Nancy,sadiqhirani/Nancy,tareq-s/Nancy,daniellor/Nancy,kekekeks/Nancy,Worthaboutapig/Nancy,malikdiarra/Nancy,cgourlay/Nancy,phillip-haydon/Nancy,joebuschmann/Nancy,SaveTrees...
src/Nancy/Conventions/StaticContentHelper.cs
src/Nancy/Conventions/StaticContentHelper.cs
namespace Nancy.Conventions { using System; /// <summary> /// Nancy static convention helper /// </summary> public static class StaticContentHelper { /// <summary> /// Extension method for NancyConventions /// /// conventions.Static((File, Directory...
namespace Nancy.Conventions { using System; /// <summary> /// Nancy static convention helper /// </summary> public static class StaticContentHelper { /// <summary> /// Extension method for NancyConventions /// /// conventions.Static((File, Directory...
mit
C#
4f7788ce6b8de843bb973de8184830d20bbb5400
Update RavenRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/RavenDB/RavenRepository.cs
TIKSN.Core/Data/RavenDB/RavenRepository.cs
using Raven.Client.Documents.Session; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.RavenDB { public class RavenRepository<TEntity, TIdentity> : IRepository<TEntity>, IQueryRepository<TEntity, TIdentity> where TEntity : IEntity<T...
using Raven.Client.Documents.Session; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.RavenDB { public class RavenRepository<TEntity, TIdentity> : IRepository<TEntity>, IQueryRepository<TEntity, TIdentity> where TEntity : IEntity<T...
mit
C#
5b10e4bcfd1d1201bc66b16c7bfe99ab2a66a29e
Fix Code smell
rexm/Handlebars.Net,rexm/Handlebars.Net
source/Handlebars.Benchmark/Program.cs
source/Handlebars.Benchmark/Program.cs
using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; using BenchmarkDotNet.Toolchains.CsProj; namespace HandlebarsNet.Benchmark { static class Program { public static void Main(string[] args) { var job = Job.MediumRun .WithToolcha...
using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; using BenchmarkDotNet.Toolchains.CsProj; namespace HandlebarsNet.Benchmark { class Program { public static void Main(string[] args) { var job = Job.MediumRun .WithToolchain(CsPr...
mit
C#
3137e0881951c08797a2a6e92539fbdecb851387
Add a StyleContext property
GNOME/hyena,arfbtwn/hyena,GNOME/hyena,arfbtwn/hyena
Hyena.Gui/Hyena.Data.Gui/CellContext.cs
Hyena.Gui/Hyena.Data.Gui/CellContext.cs
// // CellContext.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 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, ...
// // CellContext.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 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, ...
mit
C#
9b55755ef98bb8fc3469274a1827c247e1a5a998
Update XML comment for AccountOwnedNotes
jzebedee/lcapi
LCAPI/LCAPI/Models/AccountOwnedNotes.cs
LCAPI/LCAPI/Models/AccountOwnedNotes.cs
using System; using System.Collections; using System.Collections.Generic; using LCAPI.JSON; namespace LendingClub.Models { /// <summary> /// List of notes that are owned by the investor /// </summary> public class AccountOwnedNotes : IReadOnlyList<Note> { [DeserializeAs("myNotes")] ...
using System; using System.Collections; using System.Collections.Generic; using LCAPI.JSON; namespace LendingClub.Models { /// <summary> /// Pending fund transfers for the investor's account /// </summary> public class AccountOwnedNotes : IReadOnlyList<Note> { [DeserializeAs("myNotes")] ...
agpl-3.0
C#
9d728fba0f813020c48cca33308d200591f10ed6
Update version
nilproject/NiL.JS,Oceanswave/NiL.JS,Oceanswave/NiL.JS,Oceanswave/NiL.JS,nilproject/NiL.JS,nilproject/NiL.JS
NiL.JS/Properties/AssemblyInfo.cs
NiL.JS/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if DEV [assembly: AssemblyTitle("NiL.JS for Developers")] [assembly: AssemblyProduct("NiL.JS Dev")] #else [assembly: AssemblyTitle("NiL.JS")] [assembly: AssemblyProduct("NiL.JS")] #endif [assembly: AssemblyDescriptio...
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if DEV [assembly: AssemblyTitle("NiL.JS for Developers")] [assembly: AssemblyProduct("NiL.JS Dev")] #else [assembly: AssemblyTitle("NiL.JS")] [assembly: AssemblyProduct("NiL.JS")] #endif [assembly: AssemblyDescriptio...
bsd-3-clause
C#
642ab048110533a870237402fcd46bf043fa6932
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.Web
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#
0941223751f7173bb9f89238766b918345453c3a
Update TextElement.cs
thelgevold/xpathitup
XPathFinder/TextElement.cs
XPathFinder/TextElement.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XPathItUp { internal class TextElement: Base, ITextElement { internal static ITextElement Create(string text, List<string> expressionParts, int currentTagIndex,bool appliesToParent) { ...
/* Copyright (C) 2010 Torgeir Helgevold This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed ...
mit
C#
baaff10bcf2d4a0857db17c9352405dca9fd2969
Fix comment typo
daveaglick/cake,marcosnz/cake,thomaslevesque/cake,devlead/cake,manekovskiy/cake,gep13/cake,Sam13/cake,vlesierse/cake,michael-wolfenden/cake,RichiCoder1/cake,adamhathcock/cake,phrusher/cake,adamhathcock/cake,RehanSaeed/cake,jrnail23/cake,thomaslevesque/cake,mholo65/cake,yvschmid/cake,gep13/cake,patriksvensson/cake,mholo...
src/Cake.Common/IO/DirectoryCleaner.cs
src/Cake.Common/IO/DirectoryCleaner.cs
using System; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Core.IO; namespace Cake.Common.IO { internal static class DirectoryCleaner { public static void Clean(ICakeContext context, DirectoryPath path) { if (path == null) { throw new Argument...
using System; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Core.IO; namespace Cake.Common.IO { internal static class DirectoryCleaner { public static void Clean(ICakeContext context, DirectoryPath path) { if (path == null) { throw new Argument...
mit
C#
b664febb53546f3b43592198f36c489ddc74c7d1
use SerializationConfigurationType instead if Type
OBeautifulCode/OBeautifulCode.Build
Conventions/VisualStudioProjectTemplates/Domain.Test/serializationconfigurationtypes.cs
Conventions/VisualStudioProjectTemplates/Domain.Test/serializationconfigurationtypes.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SerializationConfigurationTypes.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // <auto-generated> // Sourced from Nu...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SerializationConfigurationTypes.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // <auto-generated> // Sourced from Nu...
mit
C#
731b4d0d2b087e7333a0d0709c77fa9a5622e4b7
Fix Duplicated name on ShortBio for author "Luis Pujols" (#544)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/LuisPujols.cs
src/Firehose.Web/Authors/LuisPujols.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class LuisPujols : IAmACommunityMember { public string FirstName => "Luis"; public string LastName => "Pujols"; ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class LuisPujols : IAmACommunityMember { public string FirstName => "Luis"; public string LastName => "Pujols"; ...
mit
C#
4d0599c61df3ec4f49a9725ece130ca7c495e650
Change consume icon
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
src/InEngine.Core/CommandExtensions.cs
src/InEngine.Core/CommandExtensions.cs
using System; namespace InEngine.Core { public static class CommandExtensions { public static void WriteSummaryToConsole(this AbstractCommand command) { Console.WriteLine($"⚡ {command.Name} : {command.ScheduleId} | Try #{command.CommandLifeCycle.CurrentTry}"); } } }
using System; namespace InEngine.Core { public static class CommandExtensions { public static void WriteSummaryToConsole(this AbstractCommand command) { Console.WriteLine($"- {command.Name} : {command.ScheduleId} | Try #{command.CommandLifeCycle.CurrentTry}"); } } }
mit
C#
cc0f1a66f9f97d4312dfb8902ae49c1423f52b73
update copyright year
ChrisMissal/chromelogger
src/ChromeLogger/Properties/AssemblyInfo.cs
src/ChromeLogger/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ChromeLogger")] [assembly: AssemblyDescription("chrome extension for server side console logging with .NET")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ChromeLogger")...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ChromeLogger")] [assembly: AssemblyDescription("chrome extension for server side console logging with .NET")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ChromeLogger")...
mit
C#
e8fc2a10a573fef1f7ff62ab48044f2cd7d9e8a1
Update QRUtils.cs
HouseBreaker/Shameless
Shameless/QRGeneration/QRUtils.cs
Shameless/QRGeneration/QRUtils.cs
namespace Shameless.QRGeneration { using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Net; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ZXing; using ZXing.Common; public static class QrUtils { public static QrResult MakeUrlIntoQrCode(string url) { va...
namespace Shameless.QRGeneration { using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Net; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using ZXing; using ZXing.Common; public static class QrUtils { public static QrResult MakeUrlIntoQrCode(string url) { va...
mit
C#
f236494b07ff105640e8be30d5d6b104905d9363
Change RabbitMqSender namespace
Totopolis/monik
src/Monik.Client.RabbitMQ/RabbitMqSender.cs
src/Monik.Client.RabbitMQ/RabbitMqSender.cs
using System.Collections.Generic; using System.Threading.Tasks; using EasyNetQ; using EasyNetQ.Topology; using Google.Protobuf; using Monik.Common; namespace Monik.Client { public class RabbitMqSender : IMonikSender { private readonly string _connectionString; private readonly string _queueNam...
using System.Collections.Generic; using System.Threading.Tasks; using EasyNetQ; using EasyNetQ.Topology; using Google.Protobuf; using Monik.Common; namespace Monik.Client.RabbitMQ { public class RabbitMqSender : IMonikSender { private readonly string _connectionString; private readonly string ...
mit
C#
36a34d977f79ee154056b078aef21acc692c4386
Create docs for ProxyException
extremecodetv/SocksSharp
src/SocksSharp/Proxy/ProxyException.cs
src/SocksSharp/Proxy/ProxyException.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SocksSharp.Proxy { /// <summary> /// Represents errors that occur during proxy execution. /// </summary> public class ProxyException : Exception { /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SocksSharp.Proxy { public class ProxyException : Exception { /// <summary> /// Инициализирует новый экземпляр класса <see cref="ProxyException"/> заданным сообщением об...
mit
C#
dbb8843cf842e90e634915ddc365d0c231803694
Change ObjectCreated and ObjectUpdated to DateTime
goshippo/shippo-csharp-client
Shippo/Batch.cs
Shippo/Batch.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Batch : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus { get; set; } [JsonProperty (PropertyName = "obj...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Batch : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus { get; set; } [JsonProperty (PropertyName = "obj...
apache-2.0
C#
be9e3f32d6e49bcafae8940cf1c4a8a50e385209
bump version
AntonyCorbett/OnlyT,AntonyCorbett/OnlyT
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.1.0.16")]
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.1.0.15")]
mit
C#
2307e8fc2270ce338a197a3a108b759dea5f0a14
Fix a serious bug
sebas77/Svelto-ECS,sebas77/Svelto.ECS
ECS/Dispatcher/DispatcherOnChange.cs
ECS/Dispatcher/DispatcherOnChange.cs
using System.Collections.Generic; namespace Svelto.ECS { public class DispatchOnChange<T> : DispatchOnSet<T> { public DispatchOnChange(int senderID) : base(senderID) { } public new T value { set { if (EqualityComparer<T>.Default.Equals(va...
using System.Collections.Generic; namespace Svelto.ECS { public class DispatchOnChange<T> : DispatchOnSet<T> { public DispatchOnChange(int senderID) : base(senderID) { } public new T value { set { if (EqualityComparer<T>.Default.Equals(va...
mit
C#
9829d43cf8c827048b5ac5f1883ab591c21a6094
Fix for possible exception when loading a model with bones.
Metapyziks/SanAndreasUnity,Metapyziks/SanAndreasUnity
Assets/Scripts/Behaviours/FrameContainer.cs
Assets/Scripts/Behaviours/FrameContainer.cs
using System.Linq; using System.Collections.Generic; using SanAndreasUnity.Importing.Conversion; using UnityEngine; namespace SanAndreasUnity.Behaviours { public class FrameContainer : MonoBehaviour, IEnumerable<Frame> { private Frame[] _frames; private Dictionary<int, Frame> _boneIdDict; ...
using System.Linq; using System.Collections.Generic; using SanAndreasUnity.Importing.Conversion; using UnityEngine; namespace SanAndreasUnity.Behaviours { public class FrameContainer : MonoBehaviour, IEnumerable<Frame> { private Frame[] _frames; private Dictionary<int, Frame> _boneIdDict; ...
mit
C#
e334fe4c908c4a4d359bb9a3860d7b9cfd5fa893
Remove TEAK_X_Y_OR_NEWER before adding them again so that in the case of SDK rollback defines are not left in
GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity
Assets/Teak/Editor/TeakPreProcessDefiner.cs
Assets/Teak/Editor/TeakPreProcessDefiner.cs
using UnityEditor; using UnityEditor.Build; #if UNITY_2018_1_OR_NEWER using UnityEditor.Build.Reporting; #endif using UnityEngine; using System.Collections.Generic; class TeakPreProcessDefiner : #if UNITY_2018_1_OR_NEWER IPreprocessBuildWithReport #else IPreprocessBuild #endif { public int callbackOrder {...
using UnityEditor; using UnityEditor.Build; #if UNITY_2018_1_OR_NEWER using UnityEditor.Build.Reporting; #endif using UnityEngine; using System.Collections.Generic; class TeakPreProcessDefiner : #if UNITY_2018_1_OR_NEWER IPreprocessBuildWithReport #else IPreprocessBuild #endif { public int callbackOrder {...
apache-2.0
C#
dd74967f441c90888ef036621f0d41cd11d0a5be
Add messages
sakapon/Tools-2016
FileSplitter/FileSplitter/Program.cs
FileSplitter/FileSplitter/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace FileSplitter { class Program { static void Main(string[] args) { if (args.Length < 1) { Console.WriteLine("Usage: FileSplitter <source-file-path>")...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace FileSplitter { class Program { static void Main(string[] args) { if (args.Length < 1) return; Split(args[0], Properties.Settings.Default.MaxSizeInMegabyte); ...
mit
C#
42c879c37cdac8ec8358f80f08105f2a21255b31
Add 'html' to EmbedType enum
RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Core/Entities/Messages/EmbedType.cs
src/Discord.Net.Core/Entities/Messages/EmbedType.cs
namespace Discord { public enum EmbedType { Unknown = -1, Rich, Link, Video, Image, Gifv, Article, Tweet, Html, } }
namespace Discord { public enum EmbedType { Rich, Link, Video, Image, Gifv, Article, Tweet } }
mit
C#
0b5c588fa616cafaf51154e44e792b05edae92c3
Update CoreRT for changes in shared partition
BrennanConroy/corefx,ptoonen/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,ptoonen/corefx,ptoonen/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,ericstj/corefx,ptoonen/corefx,shimingsg/corefx,shimingsg/corefx,wtgodbe/corefx,eri...
src/Common/src/CoreLib/System/Activator.cs
src/Common/src/CoreLib/System/Activator.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.Remoting; names...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.Remoting; names...
mit
C#
d2560b30ed618e053d53df3b3a168b9b7f5f0e2c
add multi items transfer back test
JohnMasen/ChakraCore.NET,JohnMasen/ChakraCore.NET,JohnMasen/ChakraCore.NET
source/ChakraCore.NET.UnitTest/ComplexProxyTest.cs
source/ChakraCore.NET.UnitTest/ComplexProxyTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace ChakraCore.NET.UnitTest { [TestClass] public class ComplexProxyTest : UnitTestBase { protected override void SetupContext() { Test...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; namespace ChakraCore.NET.UnitTest { [TestClass] public class ComplexProxyTest : UnitTestBase { protected override void SetupContext() { TestProxy.RegisterValue...
mit
C#
cec18e7f9b046929cf009c761cfbc2b501dcf543
remove add country endpoint
shockzinfinity/sapHowmuch.WebAPI
sapHowmuch.Api.Web/Controllers/CountryController.cs
sapHowmuch.Api.Web/Controllers/CountryController.cs
using sapHowmuch.Api.Business.Models.Requests; using sapHowmuch.Api.Business.Models.Responses; using sapHowmuch.Api.Infrastructure.Models.Requests; using sapHowmuch.Api.Repositories; using sapHowmuch.Api.Services; using sapHowmuch.Api.Web.Infrastructure; using System; using System.Linq; using System.Threading.Tasks; u...
using sapHowmuch.Api.Business.Models.Requests; using sapHowmuch.Api.Business.Models.Responses; using sapHowmuch.Api.Infrastructure.Models.Requests; using sapHowmuch.Api.Repositories; using sapHowmuch.Api.Services; using sapHowmuch.Api.Web.Infrastructure; using System; using System.Linq; using System.Threading.Tasks; u...
mit
C#
6cac68d1aeaddcfa35d67a855c873c5f0b7a1181
Update test json
drasticactions/downloadcharts,drasticactions/downloadcharts,drasticactions/downloadcharts
src/DownloadCharts/Views/Home/Index.cshtml
src/DownloadCharts/Views/Home/Index.cshtml
@* For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 *@ @{ } <div id='line'></div> @section scripts { <script> var datasource = [ { "createDate": "2015-05-23T00:00:00", "releaseDate": "2015-01-27T00:00:00", "isAlpha": true...
@* For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 *@ @{ } <div id='line'></div> @section scripts { <script> var datasource = [{ type: 'us', count: 20, date: '12-2013' }, { type: 'us', count: 10, date: '01-20...
mit
C#
9c317b6eff96fd907d9045ca8a349947b94deaf4
Update information for Martijn van Dijk (#482)
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 string FirstName => "Martijn"; public string LastName => "van Dijk"; public string StateOrRegion => "Amsterdam...
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#
75a0002fd5e4ed8579a5821717ba3a950db71260
Update CharsComparer.cs
nunit/nunit,nunit/nunit
src/NUnitFramework/framework/Constraints/Comparers/CharsComparer.cs
src/NUnitFramework/framework/Constraints/Comparers/CharsComparer.cs
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable namespace NUnit.Framework.Constraints.Comparers { /// <summary> /// Comparator for two <see cref="char"/>s. /// </summary> internal static class CharsComparer { public static bool? E...
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable using System; namespace NUnit.Framework.Constraints.Comparers { /// <summary> /// Comparator for two <see cref="Char"/>s. /// </summary> internal static class CharsComparer { public ...
mit
C#
d907b9ec776f126e8adafb0a082059569bba6252
return default endpoint if client is null.
msoler8785/ExoMail
ExoMail.Smtp/Protocol/SmtpSessionNetwork.cs
ExoMail.Smtp/Protocol/SmtpSessionNetwork.cs
using ARSoft.Tools.Net; using ARSoft.Tools.Net.Dns; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Security; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace ExoMail.Smtp.Protocol { public class SmtpSessionNetwork { ...
using ARSoft.Tools.Net; using ARSoft.Tools.Net.Dns; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Security; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace ExoMail.Smtp.Protocol { public class SmtpSessionNetwork { ...
mit
C#
8b360436d825eda7f5e9443d390f04d95b8b3232
Increase version number
fredatgithub/GitAutoUpdate
GitAutoUpdateGUI/Properties/AssemblyInfo.cs
GitAutoUpdateGUI/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("GitAutoUpdateGUI")] [as...
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("GitAutoUpdateGUI")] [as...
mit
C#
a9677439e569e647511411245026ed4aaffbb6af
Allow setting CellPadding through the constructor for TextureFont.
Thraka/SadConsole
TextureFont.cs
TextureFont.cs
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Runtime.Serialization; using System.Xml.Linq; namespace SadConsole { public class TextureFont : FontBase { public TextureFont(string name, int cellWidth, int cellHeight, Texture2D texture, int cellPadding ...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; using System.Runtime.Serialization; using System.Xml.Linq; namespace SadConsole { public class TextureFont : FontBase { public TextureFont(string name, int cellWidth, int cellHeight, Texture2D texture) { ...
mit
C#
538c55018010ee064e90f0d30cce746649d4f43a
Add overloads to HttpRequest.Create.JsonFromUri(uri|string) that take a JsonSerializerSettings.
tintoy/HTTPlease,tintoy/HTTPlease
src/HTTPlease.Formatters.Json/FactoryExtensions.cs
src/HTTPlease.Formatters.Json/FactoryExtensions.cs
using Newtonsoft.Json; using System; namespace HTTPlease.Formatters.Json { /// <summary> /// JSON request extension methods for <see cref="HttpRequestFactory"/>. /// </summary> public static class FactoryExtensions { /// <summary> /// Create a new HTTP request that expects and uses JSON as its primary f...
using System; namespace HTTPlease.Formatters.Json { /// <summary> /// JSON request extension methods for <see cref="HttpRequestFactory"/>. /// </summary> public static class FactoryExtensions { /// <summary> /// Create a new HTTP request that expects and uses JSON as its primary format. /// </summary>...
mit
C#
e09037f95e8a39623eaf8e2402cfecea95562497
update version number
rpepato/NRefactoryCUBuilder,rpepato/NRefactoryCUBuilder
src/NRefactoryCUBuilder/Properties/AssemblyInfo.cs
src/NRefactoryCUBuilder/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("NR...
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("NR...
mit
C#
56f1a2f25a7c800de9613c7c9014f67d9ebd8d70
Remove unused using in ITestRunnerFactory
Hammerstad/Moya
Moya/Factories/ITestRunnerFactory.cs
Moya/Factories/ITestRunnerFactory.cs
namespace Moya.Factories { using Runners; using System; public interface ITestRunnerFactory { IMoyaTestRunner GetTestRunnerForAttribute(Type type); void AddTestRunnerForAttribute(Type testRunner, Type attribute); } }
namespace Moya.Factories { using Attributes; using Runners; using System; public interface ITestRunnerFactory { IMoyaTestRunner GetTestRunnerForAttribute(Type type); void AddTestRunnerForAttribute(Type testRunner, Type attribute); } }
mit
C#
31a48e59d4734ad2fa661b6a93cca34ec89cea91
Fix `KendoEditor` test
atata-framework/atata-kendoui,atata-framework/atata-kendoui
test/Atata.KendoUI.Tests/KendoEditorTests.cs
test/Atata.KendoUI.Tests/KendoEditorTests.cs
using NUnit.Framework; namespace Atata.KendoUI.Tests { public class KendoEditorTests : UITestFixture { private EditorPage _page; protected override void OnSetUp() { _page = Go.To<EditorPage>(); } [Test] public void KendoEditor() { ...
using NUnit.Framework; namespace Atata.KendoUI.Tests { public class KendoEditorTests : UITestFixture { private EditorPage page; protected override void OnSetUp() { page = Go.To<EditorPage>(); } [Test] public void KendoEditor() { ...
apache-2.0
C#
7c4c30f29c47a288479e63d48e03f00d8ea4d114
Clean up UnregisterRequestEventHandler
stormleoxia/xsp,arthot/xsp,arthot/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,murador/xsp,arthot/xsp,stormleoxia/xsp
src/Mono.WebServer/UnregisterRequestEventHandler.cs
src/Mono.WebServer/UnregisterRequestEventHandler.cs
// // Mono.WebServer.UnregisterRequestEventHandler // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // Lluis Sanchez Gual (lluis@ximian.com) // // (C) Copyright 2004-2010 Novell, Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docu...
// // Mono.WebServer.UnregisterRequestEventHandler // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // Lluis Sanchez Gual (lluis@ximian.com) // // (C) Copyright 2004-2010 Novell, Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated docu...
mit
C#
e19ac2b27b0c64cffdf158a6193edafefd2f2705
Remove redundant unsubscribe
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Portable/Scene.cs
Bindings/Portable/Scene.cs
using System; using System.Runtime.InteropServices; using Urho.IO; using Urho.Resources; namespace Urho { partial class Scene { [DllImport(Consts.NativeImport, CallingConvention = CallingConvention.Cdecl)] internal static extern bool Scene_LoadXMLFromCache(IntPtr handle, IntPtr cache, string file); public bo...
using System; using System.Runtime.InteropServices; using Urho.IO; using Urho.Resources; namespace Urho { partial class Scene { [DllImport(Consts.NativeImport, CallingConvention = CallingConvention.Cdecl)] internal static extern bool Scene_LoadXMLFromCache(IntPtr handle, IntPtr cache, string file); public bo...
mit
C#
31fadbaa8336e06df78fefe529bc2a47da8cdcbd
Update image resolution to UHD
kfstorm/BingWallpaper
BingWallpaper/Constants.cs
BingWallpaper/Constants.cs
using System; using System.IO; namespace Kfstorm.BingWallpaper { public static class Constants { public static string DataPath { get { string path = Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), @...
using System; using System.IO; namespace Kfstorm.BingWallpaper { public static class Constants { public static string DataPath { get { string path = Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.ApplicationData), @...
mit
C#
cbc635d68b15056eda3fe0f6c24290752c5bf328
Add license header
whampson/cascara,whampson/bft-spec
Cascara/AssemblyInfo.cs
Cascara/AssemblyInfo.cs
#region License /* Copyright (c) 2017 Wes Hampson * * 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, ...
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Cascara.Tests")]
mit
C#
cb1c1df1ed347aaffc1b5bd6fa1dfe9209594757
Store ObjectHandle in LogicalCallContext and prevent cross AppDomain Activity usage
rubo/corefx,shimingsg/corefx,MaggieTsang/corefx,tijoytom/corefx,jlin177/corefx,krk/corefx,wtgodbe/corefx,twsouthwick/corefx,twsouthwick/corefx,tijoytom/corefx,ravimeda/corefx,JosephTremoulet/corefx,ViktorHofer/corefx,the-dwyer/corefx,shimingsg/corefx,richlander/corefx,twsouthwick/corefx,DnlHarvey/corefx,nbarbettini/cor...
src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs
src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.Remoting; using System.Runtime.Remoting.Messaging; using System.Security; namespace System.Dia...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.Remoting.Messaging; using System.Security; namespace System.Diagnostics { // this code is ...
mit
C#
83b13ab7a875b1cb0a9ea60718a43414b1581cfb
Add a control to permit rebase only when Working directory have no changes
bleissem/git-tfs,bleissem/git-tfs,modulexcite/git-tfs,NathanLBCooper/git-tfs,steveandpeggyb/Public,git-tfs/git-tfs,codemerlin/git-tfs,guyboltonking/git-tfs,jeremy-sylvis-tmg/git-tfs,NathanLBCooper/git-tfs,TheoAndersen/git-tfs,pmiossec/git-tfs,jeremy-sylvis-tmg/git-tfs,NathanLBCooper/git-tfs,hazzik/git-tfs,guyboltonking...
GitTfs/Commands/Pull.cs
GitTfs/Commands/Pull.cs
using System; using System.Collections.Generic; using System.ComponentModel; using NDesk.Options; using Sep.Git.Tfs.Core; using StructureMap; namespace Sep.Git.Tfs.Commands { [Pluggable("pull")] [Description("pull [options]")] [RequiresValidGitRepository] public class Pull : GitTfsCommand { ...
using System; using System.Collections.Generic; using System.ComponentModel; using NDesk.Options; using Sep.Git.Tfs.Core; using StructureMap; namespace Sep.Git.Tfs.Commands { [Pluggable("pull")] [Description("pull [options]")] [RequiresValidGitRepository] public class Pull : GitTfsCommand { ...
apache-2.0
C#
8e053f2166a00f96865713d7c8b1d6a5532972ac
Add multiplayer screen test steps.
naoey/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,ppy/osu,johnneijzen/osu,ZLima12/osu,peppy/osu,ZLima12/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,pep...
osu.Game.Tests/Visual/TestCaseMultiScreen.cs
osu.Game.Tests/Visual/TestCaseMultiScreen.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using NUnit.Framework; using osu.Game.Screens.Multi; namespace osu.Game.Tests.Visual { [TestFixture] public class TestCaseMultiScreen : OsuTestCase { ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using NUnit.Framework; using osu.Game.Screens.Multi; namespace osu.Game.Tests.Visual { [TestFixture] public class TestCaseMultiScreen : OsuTestCase { ...
mit
C#
1e0ceb356030af20f0f6a5433ccacf23aead5cbf
Update PowerShellTraceTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellTraceTelemeter.cs
TIKSN.Framework.Core/Analytics/Telemetry/PowerShellTraceTelemeter.cs
using System; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellTraceTelemeter : ITraceTelemeter { private readonly Cmdlet cmdlet; public PowerShellTraceTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet; publi...
using System; using System.Management.Automation; using System.Threading.Tasks; namespace TIKSN.Analytics.Telemetry { public class PowerShellTraceTelemeter : ITraceTelemeter { private readonly Cmdlet cmdlet; public PowerShellTraceTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet; publi...
mit
C#
af5eeb2aae4b60d0d8c17eb2b4a89283568497aa
add MotionController comment
eSlider/colorbob
Assets/MotionController.cs
Assets/MotionController.cs
using UnityEngine; using System.Collections; // This is MotionController public class MotionController : MonoBehaviour { public float speedFactor = 0.1f; void Update () { if(Input.GetKey(KeyCode.UpArrow)){ transform.Translate(Vector3.forward * speedFactor); } if(Input.GetKey(KeyCode.DownArrow)){ trans...
using UnityEngine; using System.Collections; public class MotionController : MonoBehaviour { public float speedFactor = 0.1f; void Update () { if(Input.GetKey(KeyCode.UpArrow)){ transform.Translate(Vector3.forward * speedFactor); } if(Input.GetKey(KeyCode.DownArrow)){ transform.Translate(Vector3.back *...
mit
C#
0c6ae6036462c8a295b6eab7c37997d951cb10e4
fix seria bug
MetacoSA/QBitNinja
RapidBase.Client/Properties/AssemblyInfo.cs
RapidBase.Client/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
b3385b6394728e6ab233c71925e929852c00fbc4
Fix to build on Vista + VS2010
ArxOne/MrAdvice
ArxOne.Weavisor.Weaver/Weavisor.cs
ArxOne.Weavisor.Weaver/Weavisor.cs
#region Weavisor // Arx One Aspects // A simple post build weaving package // https://github.com/ArxOne/Weavisor // Release under MIT license http://opensource.org/licenses/mit-license.php #endregion using System; using ArxOne.Weavisor.Weaver; using Mono.Cecil; /// <summary> /// This is the entry point, automaticall...
#region Weavisor // Arx One Aspects // A simple post build weaving package // https://github.com/ArxOne/Weavisor // Release under MIT license http://opensource.org/licenses/mit-license.php #endregion using System; using ArxOne.Weavisor.Weaver; using Mono.Cecil; /// <summary> /// This is the entry point, automaticall...
mit
C#
005298a1782e8bf09d0735eff63aafd136548a14
use OnPropertyChanged override.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Controls/Dialog.xaml.cs
WalletWasabi.Fluent/Controls/Dialog.xaml.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; namespace WalletWasabi.Fluent.Controls { /// <summary> /// Manages and hosts dialogs when it's bound to <see cref="IContent"/> objects. /// </summary> public class Dialog : ContentControl { public static readonly S...
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; namespace WalletWasabi.Fluent.Controls { /// <summary> /// Manages and hosts dialogs when it's bound to <see cref="IContent"/> objects. /// </summary> public class Dialog : ContentControl { public static readonly S...
mit
C#
f7eabccea58d024c1693c3835527e78b5299172c
Update ShellCommandBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/Shell/ShellCommandBase.cs
TIKSN.Core/Shell/ShellCommandBase.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Shell { public abstract class ShellCommandBase : IShellCommand { private readonly IConsoleService _consoleService; protected ShellCommandBase(IConsoleService consoleService) => this._consol...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Shell { public abstract class ShellCommandBase : IShellCommand { private readonly IConsoleService _consoleService; public abstract Task ExecuteAsync(CancellationToken cancellationToken); ...
mit
C#
3365d59c6d0cabe68e517fe5ab4dac74d144c48f
use camel-case serialization
Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore
src/JsonApiDotNetCore/Internal/ErrorCollection.cs
src/JsonApiDotNetCore/Internal/ErrorCollection.cs
using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace JsonApiDotNetCore.Internal { public class ErrorCollection { public ErrorCollection() { Errors = new List<Error>(); } public List<Error> Errors { get; set...
using System.Collections.Generic; using Newtonsoft.Json; namespace JsonApiDotNetCore.Internal { public class ErrorCollection { public ErrorCollection() { Errors = new List<Error>(); } public List<Error> Errors { get; set; } public void Add(Error er...
mit
C#
455c498a79bb06141d13d6929a315ba7663f5dbc
fix raise event json response
vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb,vc3/ExoWeb
ExoWeb/RaiseEventMethod.cs
ExoWeb/RaiseEventMethod.cs
using System.Linq; using System.Runtime.Serialization; using System.Web; using ExoGraph; namespace ExoWeb { /// <summary> /// Outputs the JSON for the specified property to the response stream. /// </summary> [DataContract] internal class RaiseEventMethod<TEvent> : ServiceMethod { [DataMember(Name = "instance...
using System.Linq; using System.Runtime.Serialization; using System.Web; using ExoGraph; namespace ExoWeb { /// <summary> /// Outputs the JSON for the specified property to the response stream. /// </summary> [DataContract] internal class RaiseEventMethod<TEvent> : ServiceMethod { [DataMember(Name = "instance...
mit
C#
812583a4cd6e714626f0132a0351b62c1eea99db
Remove stray newline
ppy/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu
osu.Game/Online/API/Requests/GetRankingsRequest.cs
osu.Game/Online/API/Requests/GetRankingsRequest.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.IO.Network; using osu.Game.Rulesets; namespace osu.Game.Online.API.Requests { public abstract class GetRankingsRequest<TModel> : APIRequest<TMod...
// 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.IO.Network; using osu.Game.Rulesets; namespace osu.Game.Online.API.Requests { public abstract class GetRankingsRequest<TModel> : APIRequest<TMod...
mit
C#
db36fcb7491438e75672397a44bbf9fbd70787dd
Update MessageRouteOptions.cs
Shuttle/Shuttle.Esb
Shuttle.Esb/Configuration/Settings/MessageRouteOptions.cs
Shuttle.Esb/Configuration/Settings/MessageRouteOptions.cs
using System; using System.Collections.Generic; using System.Linq; namespace Shuttle.Esb { public class MessageRouteOptions { public string Uri { get; set; } public List<SpecificationOptions> Specifications { get; set; } = new List<SpecificationOptions>(); public class SpecificationO...
using System; using System.Collections.Generic; using System.Linq; namespace Shuttle.Esb { public class MessageRouteOptions { public string Uri { get; set; } public List<SpecificationSettings> Specifications { get; set; } = new List<SpecificationSettings>(); public class Specificatio...
bsd-3-clause
C#
7b381e42f995054b4a081f205afcca2b83368274
Update ArkAccountResponse.cs
sharkdev-j/ark-net,kristjank/ark-net
ark-net/Model/Account/ArkAccountResponse.cs
ark-net/Model/Account/ArkAccountResponse.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ArkAccountResponse.cs" company="Ark"> // MIT License // // // // Copyright (c) 2017 Kristjan Košič // // // // Permission is hereby granted, free of charge, to a...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ArkAccountResponse.cs" company="Ark Labs"> // MIT License // // // // Copyright (c) 2017 Kristjan Košič // // // // Permission is hereby granted, free of charge,...
mit
C#
71c04f4605dac87271db2c5199a0fb397b976630
Add license header to the new file
ppy/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu-new,naoey/osu,smoogipoo/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,naoey/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/o...
osu.Game/Graphics/DrawableJoinDate.cs
osu.Game/Graphics/DrawableJoinDate.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using System.Text; namespace osu.Game.Graphics { public class DrawableJoinDate : DrawableDate { private...
using System; using System.Collections.Generic; using System.Text; namespace osu.Game.Graphics { public class DrawableJoinDate : DrawableDate { private readonly DateTimeOffset date; public DrawableJoinDate(DateTimeOffset date) : base(date) { this.date = date; } ...
mit
C#
44b276830706bea42bc0cec801f36d093444a9ed
Use Pipelines in PlaintextApp sample (#7227)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Servers/Kestrel/samples/PlaintextApp/Startup.cs
src/Servers/Kestrel/samples/PlaintextApp/Startup.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.IO.Pipelines; using System.Net; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; us...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Net; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosti...
apache-2.0
C#
a57068218b630458fca52c21b5775be99f2229e2
バージョン番号変更(v0.3.2).
fudacard/witchs-hat,fudacard/witchs-hat
WitchsHat/Properties/AssemblyInfo.cs
WitchsHat/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("WitchsHat")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("WitchsHat")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
mit
C#
0dfa45a459de48ce5f4fa6bd4b11f897f32cf768
Update hardcoded service alert
RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
mit
C#
bfa65047e31246d673236c6d1f5d9fb1e3e4e6ac
Fix working folder
michael-reichenauer/Dependinator
Dependinator/Common/Private/WorkingFolderService.cs
Dependinator/Common/Private/WorkingFolderService.cs
using System; using System.IO; using Dependinator.Common.SettingsHandling; using Dependinator.Utils; namespace Dependinator.Common.Private { [SingleInstance] internal class WorkingFolderService : IWorkingFolderService { private readonly ICommandLine commandLine; private string workingFolder; public Workin...
using System; using System.IO; using Dependinator.Common.SettingsHandling; using Dependinator.Utils; namespace Dependinator.Common.Private { [SingleInstance] internal class WorkingFolderService : IWorkingFolderService { private readonly ICommandLine commandLine; private string workingFolder; public Workin...
mit
C#
9e6c199172de276888b21706a6df04ef4e9a950f
Add missing sam flag 0x0800
dotnetbio/bio
bio/Source/Framework/Bio/IO/SAM/SAMFlags.cs
bio/Source/Framework/Bio/IO/SAM/SAMFlags.cs
using System; namespace Bio.IO.SAM { /// <summary> /// SAM Flags. /// This enum represents the bitwise flags of the SAM format. /// </summary> [Serializable] [Flags] public enum SAMFlags { /// <summary> /// 0x0001 The read is paired in sequencing, no matter...
using System; namespace Bio.IO.SAM { /// <summary> /// SAM Flags. /// This enum represents the bitwise flags of the SAM format. /// </summary> [Serializable] [Flags] public enum SAMFlags { /// <summary> /// 0x0001 The read is paired in sequencing, no matter...
apache-2.0
C#
cd38746cd1f10dbf0c8865f34740cfbb6147754b
Add bank script debug
Guityyo/minerparty,Guityyo/minerparty
Assets/_Scripts/FSMtxt/Miner/VisitBankDepositGold.cs
Assets/_Scripts/FSMtxt/Miner/VisitBankDepositGold.cs
using UnityEngine; using System; public sealed class VisitBankDepositGold : FSMState<Miner> { static readonly VisitBankDepositGold instance = new VisitBankDepositGold(); public static VisitBankDepositGold Instance { get { return instance; } } static VisitBankDepositGold() { } private VisitBankDepositGold() { } ...
using UnityEngine; using System; public sealed class VisitBankDepositGold : FSMState<Miner> { static readonly VisitBankDepositGold instance = new VisitBankDepositGold(); public static VisitBankDepositGold Instance { get { return instance; } } static VisitBankDepositGold() { } private VisitBankDepositGold() { } ...
apache-2.0
C#
7c7e7e99bae6cf7a14600502bc8aec430c31355e
Update RingWave.cs
SteamDatabase/ValveResourceFormat
GUI/Types/ParticleRenderer/Initializers/RingWave.cs
GUI/Types/ParticleRenderer/Initializers/RingWave.cs
using System; using System.Numerics; using ValveResourceFormat.Serialization; namespace GUI.Types.ParticleRenderer.Initializers { public class RingWave : IParticleInitializer { private readonly bool evenDistribution; private readonly INumberProvider initialRadius; private readonly float...
using System; using System.Numerics; using ValveResourceFormat.Serialization; namespace GUI.Types.ParticleRenderer.Initializers { public class RingWave : IParticleInitializer { private readonly bool evenDistribution; private readonly float initialRadius; private readonly float thickness...
mit
C#
f953b421765e1857c414c3aac3b01c0413cb5fa7
Fix a typo in CharadeEntry
Ervie/Homunculus
Homunculus/MarekMotykaBot/DataTypes/CharadeEntry.cs
Homunculus/MarekMotykaBot/DataTypes/CharadeEntry.cs
using System.Text; using System.Threading; namespace MarekMotykaBot.DataTypes { internal class CharadeEntry { public Series Series { get; set; } public string[] KnownBy { get; set; } } internal class Series { public int Id { get; set; } public string Title { get; set; } public string ImageUrl...
using System.Text; using System.Threading; namespace MarekMotykaBot.DataTypes { internal class CharadeEntry { public Series Series { get; set; } public string[] KnownBy { get; set; } } internal class Series { public int Id { get; set; } public string Title { get; set; } public string ImageUrl...
mit
C#