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
d8b0146e4164eaf6d2a2e5c01d7b9ee921716235
add default config values for editing
stdscatchemall/BotVentic,firestack/BotVentic,Ianchandler1990/BotVentic,3ventic/BotVentic
BotVentic/BotVentic/Json/Config.cs
BotVentic/BotVentic/Json/Config.cs
using Newtonsoft.Json; namespace BotVentic.Json { class Config { [JsonProperty("email")] public string Email { get; set; } [JsonProperty("password")] public string Password { get; set; } [JsonProperty("editthreshold")] public int EditThreshold { get; set; } = ...
using Newtonsoft.Json; namespace BotVentic.Json { class Config { [JsonProperty("email")] public string Email { get; set; } [JsonProperty("password")] public string Password { get; set; } [JsonProperty("editthreshold")] public int EditThreshold { get; set; } ...
mit
C#
55c8ff5b377332596fc3c63f847070b6cfbe00a2
Remove unuse testcase.
eternnoir/NLogging
src/NLogging.Test/LoggingTest.cs
src/NLogging.Test/LoggingTest.cs
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using NLogging; using NLogging.Exceptions; namespace NLogging.Test { [TestFixture] class LoggingTest { [Test] public void TestGetLogger() { ILogger logger1 = Log...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using NLogging; using NLogging.Exceptions; namespace NLogging.Test { [TestFixture] class LoggingTest { [Test] public void TestGetLogger() { ILogger logger1 = Log...
mit
C#
4c09b9401f910e643a7a0c6f50b53f30a4e6a364
fix for GA
autumn009/TanoCSharpSamples
Chap37/ParameterlessStructConstructors/ParameterlessStructConstructors/Program.cs
Chap37/ParameterlessStructConstructors/ParameterlessStructConstructors/Program.cs
using System; A a = new A(); a.Sub(); struct A { internal void Sub() { Console.WriteLine("Hello, World!"); } public A() { Console.WriteLine("Constructed!"); } }
A a = new A(); a.Sub(); struct A { internal void Sub() { Console.WriteLine("Hello, World!"); } public A() { Console.WriteLine("Constructed!"); } }
mit
C#
c28186561dcd56f44a785094172e539fed4d914f
Use a fix that's closer to the Mongo 2.0 driver's way of doing things
RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast
RightpointLabs.Pourcast.Infrastructure/Persistence/Repositories/UserRepository.cs
RightpointLabs.Pourcast.Infrastructure/Persistence/Repositories/UserRepository.cs
using System; namespace RightpointLabs.Pourcast.Infrastructure.Persistence.Repositories { using System.Collections.Generic; using System.Linq; using RightpointLabs.Pourcast.Domain.Models; using RightpointLabs.Pourcast.Domain.Repositories; using RightpointLabs.Pourcast.Infrastructure.Persistence.C...
using System; namespace RightpointLabs.Pourcast.Infrastructure.Persistence.Repositories { using System.Collections.Generic; using System.Linq; using RightpointLabs.Pourcast.Domain.Models; using RightpointLabs.Pourcast.Domain.Repositories; using RightpointLabs.Pourcast.Infrastructure.Persistence.C...
mit
C#
0617ebb7bab693e9c132937e95183f4544fd6f02
Update Program.cs
tmmtsmith/MongoDB,tmmtsmith/MongoDB,tmmtsmith/MongoDB
MongoStart/MongoStart/Program.cs
MongoStart/MongoStart/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace MongoStart { static class Program { /// class connection, migrate - .ignore /// <summary> /// The main entry point for the application. /// </summary> [STAThread] ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace MongoStart { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { A...
mit
C#
75eef93b477a800128410382ffed4cb8ea79caba
simplify implements inpc
Fody/PropertyChanged
PropertyChanged.Fody/NotifyInterfaceFinder.cs
PropertyChanged.Fody/NotifyInterfaceFinder.cs
using System.Collections.Generic; using Mono.Cecil; public partial class ModuleWeaver { Dictionary<string, bool> typesImplementingINotify = new Dictionary<string, bool>(); public bool HierarchyImplementsINotify(TypeReference typeReference) { var fullName = typeReference.FullName; if (types...
using System.Collections.Generic; using System.Linq; using Mono.Cecil; public partial class ModuleWeaver { Dictionary<string, bool> typeReferencesImplementingINotify = new Dictionary<string, bool>(); public bool HierarchyImplementsINotify(TypeReference typeReference) { var fullName = typeReference...
mit
C#
481cdaebe8bb9763fcfc3660b066c1a9936263f1
Update NoDbRepositoryOptions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/NoDB/NoDbRepositoryOptions.cs
TIKSN.Core/Data/NoDB/NoDbRepositoryOptions.cs
namespace TIKSN.Data.NoDB { public class NoDbRepositoryOptions { public string ProjectId { get; set; } } public class NoDbRepositoryOptions<T> : NoDbRepositoryOptions { } }
namespace TIKSN.Data.NoDB { public class NoDbRepositoryOptions { public string ProjectId { get; set; } } public class NoDbRepositoryOptions<T> : NoDbRepositoryOptions { } }
mit
C#
814f80b2733216fb7c3ae57b453530de75cd06bd
Set TupleElementNamesAttribute to LESSTHAN_NET40
theraot/Theraot
Framework.Core/System/Runtime/CompilerServices/TupleElementNamesAttribute.net40.cs
Framework.Core/System/Runtime/CompilerServices/TupleElementNamesAttribute.net40.cs
#if LESSTHAN_NET40 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; namespace System.Runtime.CompilerServices { /// <summary...
#if NET20 || NET30 || NET35 || NETSTANDARD1_0 || NETSTANDARD1_1 || NETSTANDARD1_2 || NETSTANDARD1_3 || NETSTANDARD1_4 // 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 informatio...
mit
C#
9156671b8e9a04906b7cd130a59083aee15516ad
Make Moq act the same as expected of the real thing (and make some test data public)
BenPhegan/NuGet.Extensions
NuGet.Extensions.Tests/ReferenceAnalysers/ProjectReferenceTestData.cs
NuGet.Extensions.Tests/ReferenceAnalysers/ProjectReferenceTestData.cs
using System.Collections.Generic; using System.IO; using Moq; using NuGet.Extensions.MSBuild; using NuGet.Extensions.Tests.Mocks; namespace NuGet.Extensions.Tests.ReferenceAnalysers { public class ProjectReferenceTestData { public const string AssemblyInPackageRepository = "Assembly11.dll"; public ...
using System.Collections.Generic; using System.IO; using Moq; using NuGet.Extensions.MSBuild; using NuGet.Extensions.Tests.Mocks; namespace NuGet.Extensions.Tests.ReferenceAnalysers { public class ProjectReferenceTestData { private const string AssemblyInPackageRepository = "Assembly11.dll"; public...
mit
C#
32ffd860960bb8c2429163767cb11df9d5cf98f8
add viewmodellocator missing view key.
h82258652/UwpMasterDetailViewSample
UwpMasterDetailViewSample/UwpMasterDetailViewSample/ViewModels/ViewModelLocator.cs
UwpMasterDetailViewSample/UwpMasterDetailViewSample/ViewModels/ViewModelLocator.cs
using GalaSoft.MvvmLight.Views; using Microsoft.Practices.ServiceLocation; using Microsoft.Practices.Unity; using UwpMasterDetailViewSample.Views; namespace UwpMasterDetailViewSample.ViewModels { public class ViewModelLocator { public const string AboutViewKey = "About"; public const string C...
using GalaSoft.MvvmLight.Views; using Microsoft.Practices.ServiceLocation; using Microsoft.Practices.Unity; using UwpMasterDetailViewSample.Views; namespace UwpMasterDetailViewSample.ViewModels { public class ViewModelLocator { public const string DetailViewKey = "Detail"; static ViewModelLoc...
apache-2.0
C#
261f6b8c55a99f54516d3545228913669a21d700
Update MicrogameNumber.cs
plrusek/NitoriWare,Barleytree/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Animation/MicrogameNumber.cs
Assets/Scripts/Animation/MicrogameNumber.cs
using UnityEngine; using System.Collections; public class MicrogameNumber : MonoBehaviour { public TextMesh text; void Start () { } void Update () { } public void increaseNumber() { if (text.text == "999") return; short number = short.Parse(text.text) + 1; text.text = number < 10 ? "00" + ...
using UnityEngine; using System.Collections; public class MicrogameNumber : MonoBehaviour { public TextMesh text; void Start () { } void Update () { } public void increaseNumber() { if (text.text == "999") return; int number = int.Parse(text.text) + 1; if (number < 10) text.text = "00" ...
mit
C#
4bc06e8efbe130e1259b90925cf6a67cd18a27cf
Set TransientMessage.RequireAuthentication to true
beebotte/bbt_dotnet
Beebotte.API.Server.Net/TransientMessage.cs
Beebotte.API.Server.Net/TransientMessage.cs
using System; using System.Runtime.Serialization; using System.Text.RegularExpressions; namespace Beebotte.API.Server.Net { [DataContract] internal class TransientMessage : WriteMessageBase { #region Fields private string _serializedMessage; #endregion #region ctor ...
using System; using System.Runtime.Serialization; using System.Text.RegularExpressions; namespace Beebotte.API.Server.Net { [DataContract] internal class TransientMessage : WriteMessageBase { #region Fields private string _serializedMessage; #endregion #region ctor ...
mit
C#
016f4ba1cbc75b22ba08a97bf9c66052ea34e2ec
Edit it
jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp
websocket-sharp/ErrorEventArgs.cs
websocket-sharp/ErrorEventArgs.cs
#region License /* * ErrorEventArgs.cs * * The MIT License * * Copyright (c) 2012-2016 sta.blockhead * * 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 ...
#region License /* * ErrorEventArgs.cs * * The MIT License * * Copyright (c) 2012-2016 sta.blockhead * * 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 ...
mit
C#
1babb05fc7ee51aef25d53468ae7b2d1129a485e
add OsuMarkdownInlineCode
NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu
osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.cs
osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Markdig.Syntax.Inlines; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containe...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Markdig.Syntax.Inlines; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers.Markdown; using osu.Framework.Graphics...
mit
C#
8bf9ae8faedba47a7a2f873a2a1dbd1260928d37
Update Entity.cs
carlos-vicente/Playgrounf,carlos-vicente/Playground,carlos-vicente/Playground
Playground.Domain/Model/Entity.cs
Playground.Domain/Model/Entity.cs
using System; namespace Playground.Domain.Model { public abstract class Entity : IEquatable<Entity> { public Guid Id { get; private set; } protected Entity(Guid id) { Id = id; } public bool Equals(Entity other) { if (other == null) ...
using System; namespace Playground.Domain.Model { public abstract class Entity : IEquatable<Entity> { public Guid Id { get; } protected Entity(Guid id) { Id = id; } public bool Equals(Entity other) { if (other == null) r...
mit
C#
6f8219fcad7553c93cfeba21fba1c4a1b2d44eee
Remove dead wood
ceddlyburge/canoe-polo-league-organiser-backend
CanoePoloLeagueOrganiser/GamesNotPlayedBetweenFirstAndLast.cs
CanoePoloLeagueOrganiser/GamesNotPlayedBetweenFirstAndLast.cs
using System; using System.Collections.Generic; using static System.Diagnostics.Contracts.Contract; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; namespace CanoePoloLeagueOrganiser { public class GamesNotPlayedBetweenFirstAndLast { GameList GameList { ge...
using System; using System.Collections.Generic; using static System.Diagnostics.Contracts.Contract; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; namespace CanoePoloLeagueOrganiser { public class GamesNotPlayedBetweenFirstAndLast { GameList GameList { ge...
mit
C#
a09260ab41b46c0c2a43b6207ce8a26ae9be21bd
Add pictures count of category
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListCategories.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListCategories.cshtml
@model PagedList.IPagedList<AstroPhotoGallery.Models.Category> @using PagedList.Mvc; @using System.Linq; @{ ViewBag.Title = "List"; } <link href="~/Content/PagedList.css" rel="stylesheet" /> <div class="container"> <h2 class="text-center">Browse by categories</h2> <br/> @foreach (var category in Model...
@model PagedList.IPagedList<AstroPhotoGallery.Models.Category> @using PagedList.Mvc; @using System.Linq; @{ ViewBag.Title = "List"; } <link href="~/Content/PagedList.css" rel="stylesheet" /> <div class="container"> <h2 class="text-center">Browse by categories</h2> <br/> @foreach (var category in Model...
mit
C#
03c6e989be2835d4f143a19577e040962b912781
Comment fix
vvolkgang/XUTSample.Twitter
Evolve2016Twitter/TwitterUiTest.cs
Evolve2016Twitter/TwitterUiTest.cs
using NUnit.Framework; using System; using Xamarin.UITest.Android; using System.Reflection; using System.IO; using Xamarin.UITest; using Xamarin.UITest.Queries; using System.Linq; using Evolve2016Twitter; namespace Evolve2016Twitter.UITest { [TestFixture] public class TwitterUiTest : BaseTestFixture { ...
using NUnit.Framework; using System; using Xamarin.UITest.Android; using System.Reflection; using System.IO; using Xamarin.UITest; using Xamarin.UITest.Queries; using System.Linq; using Evolve2016Twitter; namespace Evolve2016Twitter.UITest { [TestFixture] public class TwitterUiTest : BaseTestFixture { ...
mit
C#
735986c41c1b9dfda00d7e861a1fa86948819be0
Update CharacterControllerExample.cs
HiddenMonk/Unity3DCustomCharacterControllerCapsuleCollisionDetection
Assets/CapsuleCharacterCollision/CharacterControllerExample/CharacterControllerExample.cs
Assets/CapsuleCharacterCollision/CharacterControllerExample/CharacterControllerExample.cs
using System; using UnityEngine; namespace CapsuleCharacterCollisionDetection { public class CharacterControllerExample : PlayerRigidbody //We inherit PlayerRigidbody so that we can easily connect with its subUpdater. You can handle this any way you want though. { public float walkSpeed = 10f; public fl...
using System; using UnityEngine; namespace CapsuleCharacterCollisionDetection { public class CharacterControllerExample : PlayerRigidbody //We inherit PlayerRigidbody so that we can easily connect with its subUpdater. You can handle this any way you want though. { public float walkSpeed = 10f; public fl...
mit
C#
7d9f648a0982687d90ab0c4ff56093dca3000427
Add new argument check
dsbenghe/Novell.Directory.Ldap.NETStandard,dsbenghe/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/Utilclass/StringExtensions.cs
src/Novell.Directory.Ldap.NETStandard/Utilclass/StringExtensions.cs
using System; namespace Novell.Directory.Ldap.Utilclass { public static class StringExtensions { /// <summary> /// Replaces string.Substring(offset).StartsWith(value) and avoids memory allocations /// </summary> public static bool StartsWithStringAtOffset(this string baseString,...
using System; namespace Novell.Directory.Ldap.Utilclass { public static class StringExtensions { /// <summary> /// Replaces string.Substring(offset).StartsWith(value) and avoids memory allocations /// </summary> public static bool StartsWithStringAtOffset(this string baseString,...
mit
C#
6fbe4a25977a3aaaf2332c5125576744a18f6275
Allow SampleRate setting for any resource type
hudl/HudlFfmpeg
Hudl.Ffmpeg/Settings/SampleRate.cs
Hudl.Ffmpeg/Settings/SampleRate.cs
using System; using Hudl.FFmpeg.Attributes; using Hudl.FFmpeg.Enums; using Hudl.FFmpeg.Resources.BaseTypes; using Hudl.FFmpeg.Settings.Attributes; using Hudl.FFmpeg.Settings.BaseTypes; using Hudl.FFmpeg.Settings.Interfaces; namespace Hudl.FFmpeg.Settings { [ForStream(Type = typeof(AudioStream))] [Setting(Name...
using System; using Hudl.FFmpeg.Attributes; using Hudl.FFmpeg.Enums; using Hudl.FFmpeg.Resources.BaseTypes; using Hudl.FFmpeg.Settings.Attributes; using Hudl.FFmpeg.Settings.BaseTypes; using Hudl.FFmpeg.Settings.Interfaces; namespace Hudl.FFmpeg.Settings { [ForStream(Type = typeof(AudioStream))] [Setting(Name...
apache-2.0
C#
1a50a65a2678ad8ea0a2fc9aa2d3c00a6c3c4fe4
Add default log levels for FileLoggingConfiguration
tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs
src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs
using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Tgstation.Server.Host.Configuration { /// <summary> /// File logging configuration options /// </summary> sealed class FileLoggingConfiguration { /// <summary> /// The key for the <see cref="Microsoft.Exten...
using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Tgstation.Server.Host.Configuration { /// <summary> /// File logging configuration options /// </summary> sealed class FileLoggingConfiguration { /// <summary> /// The key for the <see cref="Microsoft.Exten...
agpl-3.0
C#
1e1c954faae8f97cd8d8c1104372ad14f192f1b9
Update test methods for DbContextFactory
aliencube/Entity-Context-Library,aliencube/Entity-Context-Library,aliencube/Entity-Context-Library
SourceCodes/Tests/EntityContextLibrary.Tests/DbContextFactoryTest.cs
SourceCodes/Tests/EntityContextLibrary.Tests/DbContextFactoryTest.cs
using System; using Aliencube.EntityContextLibrary.Interfaces; using FluentAssertions; using NUnit.Framework; namespace Aliencube.EntityContextLibrary.Tests { /// <summary> /// This represents the test entity for the <see cref="DbContextFactory{TContext}" /> class. /// </summary> [TestFixture] ...
using System; using Aliencube.EntityContextLibrary.Interfaces; using FluentAssertions; using NUnit.Framework; namespace Aliencube.EntityContextLibrary.Tests { [TestFixture] public class DbContextFactoryTest { private IDbContextFactory _factory; [SetUp] public void Init() {...
mit
C#
7047bf4f6b30f6eadaca2588468db298fa2ac8e3
Update assembly attributes
andrevdm/ttree
TTree/Properties/AssemblyInfo.cs
TTree/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // 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: Ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // 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: Ass...
mit
C#
f1412c21ac8bbdd4cdc3ea083e729ef576319153
Fix the build
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Mvc.Razor/Compilation/CompilationOptionsProviderExtension.cs
src/Microsoft.AspNet.Mvc.Razor/Compilation/CompilationOptionsProviderExtension.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Dnx.Compilation; using Microsoft.Dnx.Compilation.CSharp; using Microsoft.Extensions.PlatformAbstractions; namespace Micro...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Dnx.Compilation; using Microsoft.Dnx.Compilation.CSharp; using Microsoft.Extensions.PlatformAbstractions; namespace Micro...
apache-2.0
C#
327d46ebbd28c618e09945ac6a390b8527abed5c
Fix bug
mhertis/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka,pkese/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka,pkese/Orleankka,mhertis/Orleankka
Source/Orleankka.Runtime/Actor.cs
Source/Orleankka.Runtime/Actor.cs
using System; using System.Threading.Tasks; namespace Orleankka { using Core; using Behaviors; using Services; using Utility; public abstract class Actor { ActorRef self; protected Actor() { Behavior = ActorBehavior.Null(this); } pr...
using System; using System.Threading.Tasks; namespace Orleankka { using Core; using Behaviors; using Services; using Utility; public abstract class Actor { ActorRef self; protected Actor() { Behavior = ActorBehavior.Null(this); } pr...
apache-2.0
C#
9f189f837a07c612051d3bcce8d98fd7f7811241
Implement ShapeBatcher
Vtek/Pulsar
Src/Pulsar/Graphics/ShapeBatch.cs
Src/Pulsar/Graphics/ShapeBatch.cs
using System; using SFML.Graphics; using Pulsar.Helpers; namespace Pulsar.Graphics { /// <summary> /// Shape batcher. /// </summary> public class ShapeBatch : GraphicsBatch { /// <summary> /// The _rectangle. /// </summary> private readonly RectangleShape _rectangle = new RectangleShape(); /// <summar...
using System; using SFML.Graphics; //TODO complete implementation for ShapeBatcher namespace Pulsar.Graphics { /// <summary> /// Shape batcher. /// </summary> public class ShapeBatch : GraphicsBatch { /// <summary> /// The _rectangle. /// </summary> private readonly RectangleShape _rectangle = new Rectan...
mit
C#
85a443783755a52cc2d46581644180a264339a2d
Fix editor custom FadeOut causing overlapping issues by removing existing FadeOut
peppy/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,peppy/osu
osu.Game.Rulesets.Osu/Edit/DrawableOsuEditRuleset.cs
osu.Game.Rulesets.Osu/Edit/DrawableOsuEditRuleset.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects....
// 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.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects....
mit
C#
98b12383af4e3986294be3cd73b39febb79e15d5
Check we have a message as well when checking the flashmessage view model
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Shared/_SuccessMessage.cshtml
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Shared/_SuccessMessage.cshtml
@using SFA.DAS.EmployerApprenticeshipsService.Web @using SFA.DAS.EmployerApprenticeshipsService.Web.Models @model dynamic @{ var viewModel = Model as OrchestratorResponse; } @if (!string.IsNullOrEmpty(viewModel?.FlashMessage?.Message)) { <div class="grid-row"> <div class="column-full"> ...
@using SFA.DAS.EmployerApprenticeshipsService.Web @using SFA.DAS.EmployerApprenticeshipsService.Web.Models @model dynamic @{ var viewModel = Model as OrchestratorResponse; } @if (viewModel?.FlashMessage != null) { <div class="grid-row"> <div class="column-full"> <div class="@viewModel...
mit
C#
80170d5e758ac5cf9259a0078e0c65179c8dd747
Remove --indexed flag from Generate-Tilemap, use IsIndexed property from tilemap format instead
Prof9/PixelPet
PixelPet/CLI/Commands/GenerateTilemapCmd.cs
PixelPet/CLI/Commands/GenerateTilemapCmd.cs
using LibPixelPet; using System; using System.Drawing; namespace PixelPet.CLI.Commands { internal class GenerateTilemapCmd : CliCommand { public GenerateTilemapCmd() : base("Generate-Tilemap", new Parameter(true, new ParameterValue("format")), new Parameter("no-reduce", "nr", false), new Parameter("...
using LibPixelPet; using System; using System.Drawing; namespace PixelPet.CLI.Commands { internal class GenerateTilemapCmd : CliCommand { public GenerateTilemapCmd() : base("Generate-Tilemap", new Parameter(true, new ParameterValue("format")), new Parameter("no-reduce", "nr", false), new Parameter("...
mit
C#
ea63d1625d02c6dc514474bdf56230dd01effad2
Update AssemblyVersion to 1.5.0
alexguirre/RAGENativeUI,alexguirre/RAGENativeUI
Source/Properties/AssemblyInfo.cs
Source/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("RAGENativeUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RAGENativeUI")] [assembly: AssemblyCopyright("Copyright 2015")] [assembly: As...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("RAGENativeUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("RAGENativeUI")] [assembly: AssemblyCopyright("Copyright 2015")] [assembly: As...
mit
C#
234718d862ab95cabfafa34d1b6c4dadb88cde49
Disable debug
Simie/PrecisionEngineering
Src/PrecisionEngineering/Debug.cs
Src/PrecisionEngineering/Debug.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ColossalFramework.Plugins; using UE=UnityEngine; namespace PrecisionEngineering { static class Debug { public const bool Enabled = false; private const string Prefix = "[PrecisionEngineering] "; public static void L...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ColossalFramework.Plugins; using UE=UnityEngine; namespace PrecisionEngineering { static class Debug { public const bool Enabled = true; private const string Prefix = "[PrecisionEngineering] "; public static void Lo...
mit
C#
6fa9818b34d451c40869cf3e0d87ba52f19c5e70
Order by workshop id
earalov/Skylines-VehicleConverter
VehicleConverter/Config/Config.cs
VehicleConverter/Config/Config.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using VehicleConverter.OptionsFramework; namespace VehicleConverter.Config { public class Config : IModOptions { public Config() { Underground = new TrainItems(Trai...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using VehicleConverter.OptionsFramework; namespace VehicleConverter.Config { public class Config : IModOptions { public Config() { Underground = new TrainItems(Trai...
mit
C#
bff44108a6f135f059dc080cc90826b894fff53c
Update KeyProvider.cs
accessrichard/sqleditor.net
SqlEditor/Models/Cryptography/KeyProvider.cs
SqlEditor/Models/Cryptography/KeyProvider.cs
namespace SqlEditor.Models.Cryptography { using System.Security.Cryptography; using System.Text; /// <summary> /// The cryptographic secret key available for the /// duration of the app pool. /// </summary> public class KeyProvider { /// <summary> /// Backing field for ...
namespace SqlEditor.Models.Cryptography { using System.Security.Cryptography; using System.Text; /// <summary> /// The cryptographic secret key available for the /// duration of the app pool. /// </summary> public class KeyProvider { /// <summary> /// Backing field for ...
mit
C#
24d3f5c126bc92013e7164da51aaf406f8923a2a
Simplify the Expression<Func<>> specimen building
zvirja/AutoFixture,sergeyshushlyapin/AutoFixture,sbrockway/AutoFixture,sbrockway/AutoFixture,dcastro/AutoFixture,AutoFixture/AutoFixture,adamchester/AutoFixture,sean-gilliam/AutoFixture,adamchester/AutoFixture,Pvlerick/AutoFixture,sergeyshushlyapin/AutoFixture,dcastro/AutoFixture
Src/AutoFixture/LambdaExpressionGenerator.cs
Src/AutoFixture/LambdaExpressionGenerator.cs
namespace Ploeh.AutoFixture { using System; using System.Linq; using System.Linq.Expressions; using Kernel; public class LambdaExpressionGenerator : ISpecimenBuilder { public object Create(object request, ISpecimenContext context) { var requestType = request as Type...
namespace Ploeh.AutoFixture { using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Kernel; public class LambdaExpressionGenerator : ISpecimenBuilder { public object Create(object request, ISpecimenContext context) { ...
mit
C#
bd71b4d909d84c4644c2e006d7256de41e56ef3d
Enhance log interception
samcragg/Crest,samcragg/Crest,samcragg/Crest
test/Host.UnitTests/FakeLogger.cs
test/Host.UnitTests/FakeLogger.cs
namespace Host.UnitTests { using System; using System.Threading; using Crest.Host.Logging; using Crest.Host.Logging.LogProviders; using NSubstitute; internal static class FakeLogger { private static readonly object LockObject = new object(); [ThreadStatic] ...
namespace Host.UnitTests { using System; using System.Threading; using Crest.Host.Logging; using NSubstitute; internal static class FakeLogger { private static readonly object LockObject = new object(); private static LogLevel level; private static string message; ...
mit
C#
1995aa110aa2e1ae78bce598dcfbb500c1a9bbef
fix crash on this again :shrug:
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Parsing/Messages/S_NPCGUILD_LIST.cs
TCC.Core/Parsing/Messages/S_NPCGUILD_LIST.cs
using System; using System.Collections.Generic; using TCC.Data; using TCC.TeraCommon.Game.Messages; using TCC.TeraCommon.Game.Services; namespace TCC.Parsing.Messages { public class S_NPCGUILD_LIST : ParsedMessage { public Dictionary<int, int> NpcGuildList { get; } public ulong UserId { get; }...
using System; using System.Collections.Generic; using TCC.Data; using TCC.TeraCommon.Game.Messages; using TCC.TeraCommon.Game.Services; namespace TCC.Parsing.Messages { public class S_NPCGUILD_LIST : ParsedMessage { public Dictionary<int, int> NpcGuildList { get; } public ulong UserId { get; }...
mit
C#
16ea01291eec546c3e36b1c10d0bb348f4406d9a
Create tile vertices
EightBitBoy/EcoRealms
Assets/Scripts/Map/MapPresenter.cs
Assets/Scripts/Map/MapPresenter.cs
using UnityEngine; using System.Collections; namespace ecorealms.map { public class MapPresenter : MonoBehaviour { private int sizeX; private int sizeY; private GameObject rootObject; private Transform root; public Mesh mesh; public Material material; private Tile[] tiles; public void Setup(int s...
using UnityEngine; using System.Collections; namespace ecorealms.map { public class MapPresenter : MonoBehaviour { private int sizeX; private int sizeY; private GameObject rootObject; private Transform root; public Mesh mesh; public Material material; private Tile[] tiles; public void Setup(int s...
apache-2.0
C#
cd867fda414c933e19d33f3bd5252ddcfc2ab72c
Update LayerMetadataWelder.cs (#1174)
stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orc...
src/OrchardCore.Modules/OrchardCore.Layers/Drivers/LayerMetadataWelder.cs
src/OrchardCore.Modules/OrchardCore.Layers/Drivers/LayerMetadataWelder.cs
using System; using System.Threading.Tasks; using Microsoft.Extensions.Localization; using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.DisplayManagement.Handlers; using OrchardCore.DisplayManagement.Views; using OrchardCore.Layers.Models; using OrchardCor...
using System; using System.Threading.Tasks; using Microsoft.Extensions.Localization; using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.DisplayManagement.Handlers; using OrchardCore.DisplayManagement.Views; using OrchardCore.Layers.Models; using OrchardCor...
bsd-3-clause
C#
8eadcb3e9bdc10d8aaaa4ddc8ef557132a945383
Update InsertingAColumn.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecel...
Examples/CSharp/RowsColumns/InsertingAndDeleting/InsertingAColumn.cs
Examples/CSharp/RowsColumns/InsertingAndDeleting/InsertingAColumn.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting { public class InsertingAColumn { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting { public class InsertingAColumn { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataD...
mit
C#
17aef8cba7526d4b0d01fcb54e553771beab21c7
Remove unused usings
smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framew...
SampleGame.Android/MainActivity.cs
SampleGame.Android/MainActivity.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using Android.App; using Android.OS; using Android.Content.PM; using Android.Views; namespace SampleGame.Android { [Activity(Label = "SampleGame", Config...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using Android.App; using Android.OS; using Android.Content.PM; using Android.Views; using System; using Android.Runtime; using Android.Content.Res; namespace...
mit
C#
3ed3e7a23354821673a2992f6241b4486fb5d642
Update AssemblyInfo.cs
jakejgordon/versioned-rest-api,jakejgordon/versioned-rest-api
VersionedRestApi/Properties/AssemblyInfo.cs
VersionedRestApi/Properties/AssemblyInfo.cs
#region LICENSE // The MIT License (MIT) // // Copyright (c) 2015 Jake Gordon // // 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 ri...
#region LICENSE // The MIT License (MIT) // // Copyright (c) 2015 Jake Gordon // // 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 ri...
mit
C#
c102afd85f6d56a2f1c7bdeaecb694bf372cb2b5
Remove unused code
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Extensions/StringExtensions.cs
WalletWasabi/Extensions/StringExtensions.cs
namespace System { public static class StringExtensions { /// <summary> /// Removes one leading occurrence of the specified string /// </summary> public static string TrimStart(this string me, string trimString, StringComparison comparisonType) { if (me.StartsWith(trimString, comparisonType)) { re...
namespace System { public static class StringExtensions { public static bool Equals(this string source, string value, StringComparison comparisonType, bool trimmed) { if (comparisonType == StringComparison.Ordinal) { if (trimmed) { return string.CompareOrdinal(source.Trim(), value.Trim()) == 0;...
mit
C#
0a55c6f09c05b0f152684b4d33368a3572b0b0ed
Update QuoteRepository.cs
ScarletKuro/NadekoBot,Midnight-Myth/Mitternacht-NEW,shikhir-arora/NadekoBot,Youngsie1997/NadekoBot,WoodenGlaze/NadekoBot,gfrewqpoiu/NadekoBot,Nielk1/NadekoBot,halitalf/NadekoMods,PravEF/EFNadekoBot,ShadowNoire/NadekoBot,Midnight-Myth/Mitternacht-NEW,Taknok/NadekoBot,powered-by-moe/MikuBot,Midnight-Myth/Mitternacht-NEW,...
src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs
src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs
using NadekoBot.Services.Database.Models; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace NadekoBot.Services.Database.Repositories.Impl { public class QuoteRepository : Repository<Quote>, IQuoteRepository { public QuoteR...
using NadekoBot.Services.Database.Models; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace NadekoBot.Services.Database.Repositories.Impl { public class QuoteRepository : Repository<Quote>, IQuoteRepository { public QuoteR...
mit
C#
2acd61350fc39d62108eda77ae70492a0faa9ae0
Add RuntimeFeature detection for default interface method (#11940)
poizan42/coreclr,mmitche/coreclr,JosephTremoulet/coreclr,JosephTremoulet/coreclr,krk/coreclr,krk/coreclr,ruben-ayrapetyan/coreclr,ruben-ayrapetyan/coreclr,yizhang82/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,yizhang82/coreclr,krk/coreclr,mmitche/coreclr,wtgodbe/coreclr,mmitche/coreclr,ruben-ayrapetyan/cor...
src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.cs
src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeFeature.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. namespace System.Runtime.CompilerServices { public static class RuntimeFeature { /// <summary> ...
// 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. namespace System.Runtime.CompilerServices { public static class RuntimeFeature { /// <summary> ...
mit
C#
551ca247394bb3fe0288d41df4fddd131ff16a16
Fix something
temdisponivel/TheJungleTriad
Assets/Code/Enviroment.cs
Assets/Code/Enviroment.cs
using UnityEngine; using System.Collections; /// <summary> /// Class that holds usefull information for building a enviroment. /// </summary> public class Enviroment : MonoBehaviour { public Player.State _targetState = Player.State.Bird; [Header("Enviroment localization")] public GameObject _startOfEnviromentObj ...
using UnityEngine; using System.Collections; /// <summary> /// Class that holds usefull information for building a enviroment. /// </summary> public class Enviroment : MonoBehaviour { public Player.State _targetState = Player.State.Bird; [Header("Enviroment localization")] public GameObject _startOfEnviromentObj ...
mit
C#
5821ae0f78f21c4052fe7fb2c75b825b16b216e5
remove wrong using directive
dnauck/License.Manager,dnauck/License.Manager
src/License.Manager.Core/Persistence/ProductAllPropertiesIndex.cs
src/License.Manager.Core/Persistence/ProductAllPropertiesIndex.cs
using System.Linq; using License.Manager.Core.Model; using Raven.Abstractions.Indexing; using Raven.Client.Indexes; namespace License.Manager.Persistence { public class ProductAllPropertiesIndex : AbstractIndexCreationTask<Product, ProductAllPropertiesIndex.Result> { public class Result { ...
using System.Linq; using License.Manager.Core.Model; using License.Manager.Models; using Raven.Abstractions.Indexing; using Raven.Client.Indexes; namespace License.Manager.Persistence { public class ProductAllPropertiesIndex : AbstractIndexCreationTask<Product, ProductAllPropertiesIndex.Result> { publ...
mit
C#
02c77efcfc567f19df97c2179af7e960ee27022a
Add method `GetInvocationList` in `Delegate` class
AndreyZM/Bridge,AndreyZM/Bridge,bridgedotnet/Bridge,bridgedotnet/Bridge,bridgedotnet/Bridge,AndreyZM/Bridge,bridgedotnet/Bridge,AndreyZM/Bridge
Bridge/System/Delegate.cs
Bridge/System/Delegate.cs
using System.Reflection; namespace System { [Bridge.Convention(Member = Bridge.ConventionMember.Field | Bridge.ConventionMember.Method, Notation = Bridge.Notation.CamelCase)] [Bridge.External] [Bridge.IgnoreCast] [Bridge.Name("Function")] public class Delegate { public extern int Length...
using System.Reflection; namespace System { [Bridge.Convention(Member = Bridge.ConventionMember.Field | Bridge.ConventionMember.Method, Notation = Bridge.Notation.CamelCase)] [Bridge.External] [Bridge.IgnoreCast] [Bridge.Name("Function")] public class Delegate { public extern int Length...
apache-2.0
C#
9ee0e2821f584919106760eac6db97b29beeb3c4
Update SingleEntryCurrencyConversionCompositionStrategy.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/SingleEntryCurrencyConversionCompositionStrategy.cs
TIKSN.Core/Finance/SingleEntryCurrencyConversionCompositionStrategy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Finance.Helpers; namespace TIKSN.Finance { public class SingleEntryCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy { public async Task<Mone...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TIKSN.Finance.Helpers; namespace TIKSN.Finance { public class SingleEntryCurrencyConversionCompositionStrategy : ICurrencyConversionCompositionStrategy { public async Task<Mone...
mit
C#
677b205153f4443efb9e794299d8b4c387acbbff
Fix pack failure caused by thumbnail creation error for unsupported video format
semenenkov/fig-leaf
FigLeaf.Core/Thumbnail.cs
FigLeaf.Core/Thumbnail.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; namespace FigLeaf.Core { public class Thumbnail { private readonly int _size; private readonly List<string> _videoExts; public Thumbnail(Settings settings) { if (!setti...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; namespace FigLeaf.Core { public class Thumbnail { private readonly int _size; private readonly List<string> _videoExts; public Thumbnail(Settings settings) { if (!setti...
mit
C#
c54784701afef6112e5140fd714813b11ef7cdab
Tweak to comment
svermeulen/Unity3dAsyncAwaitUtil
UnityProject/Assets/Plugins/AsyncAwaitUtil/Source/AwaitExtensions.cs
UnityProject/Assets/Plugins/AsyncAwaitUtil/Source/AwaitExtensions.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; using UnityEngine; public static class AwaitExtensions { public static TaskAwaiter<int> GetAwaiter(this Process process) { var tcs = new TaskCompletionSource<in...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; using UnityEngine; public static class AwaitExtensions { public static TaskAwaiter<int> GetAwaiter(this Process process) { var tcs = new TaskCompletionSource<in...
mit
C#
472ddbe28c4c652b15a3bfb9b94dbd6422f24aae
fix typo
DigDes/SoapCore
src/SoapCore.Tests/Serialization/Models.Xml/ComplexLegacyModel.cs
src/SoapCore.Tests/Serialization/Models.Xml/ComplexLegacyModel.cs
using System.ServiceModel; using System.Xml.Schema; using System.Xml.Serialization; namespace SoapCore.Tests.Serialization.Models.Xml { [MessageContract(WrapperName = "getLinks", WrapperNamespace = "http://xmlelement-namespace/", IsWrapped = true)] public class ComplexLegacyModel { [MessageBodyMember(Namespace = ...
using System.ServiceModel; using System.Xml.Schema; using System.Xml.Serialization; namespace SoapCore.Tests.Serialization.Models.Xml { [MessageContract(WrapperName = "getLinks", WrapperNamespace = "http://xmlelement-namespace/", IsWrapped = true)] public class ComplexLegacyModel { [MessageBodyMember(Namespace = ...
mit
C#
c625c929e5974f0b544758eb72a422a4cbf2def2
Update button text to match new terminology
ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu
osu.Game/Overlays/Settings/Sections/DebugSettings/GeneralSettings.cs
osu.Game/Overlays/Settings/Sections/DebugSettings/GeneralSettings.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Framework.Screens; using osu...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Framework.Screens; using osu...
mit
C#
a7982d583c99a5bd7b3b54099edfac224a6d2344
Change version to 0.5
DataGenSoftware/DataGen.Extensions
DataGen.Extensions/DataGen.Extensions.Shared/Common/AssemblyInfo.Common.cs
DataGen.Extensions/DataGen.Extensions.Shared/Common/AssemblyInfo.Common.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("Da...
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("Da...
mit
C#
8658fc9287e99e437134d2278af66bec9f273ea3
fix bootstrap pagination demo.
kpi-ua/X.PagedList,ernado-x/X.PagedList,ernado-x/X.PagedList,dncuug/X.PagedList,kpi-ua/X.PagedList
examples/X.PagedList.Mvc.Example.Core/Views/Bootstrap41/Index.cshtml
examples/X.PagedList.Mvc.Example.Core/Views/Bootstrap41/Index.cshtml
@{ Layout = "~/Views/Shared/_Layout-41.cshtml"; ViewBag.Title = "Product Listing"; } @using X.PagedList.Mvc.Core; @*import this so we get our HTML Helper*@ @using X.PagedList; @*import this so we can cast our list to IPagedList (only necessary because ViewBag is dynamic)*@ <!-- import the included stylesheet...
@{ Layout = "~/Views/Shared/_Layout-41.cshtml"; ViewBag.Title = "Product Listing"; } @using X.PagedList.Mvc.Core; @*import this so we get our HTML Helper*@ @using X.PagedList; @*import this so we can cast our list to IPagedList (only necessary because ViewBag is dynamic)*@ <!-- import the included stylesheet...
mit
C#
c215c9c350002bd42b4d317390ab2624dc92e61a
Update SettingFontColor.cs
asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-c...
Examples/CSharp/Formatting/DealingWithFontSettings/SettingFontColor.cs
Examples/CSharp/Formatting/DealingWithFontSettings/SettingFontColor.cs
using System.IO; using Aspose.Cells; using System.Drawing; namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings { public class SettingFontColor { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. strin...
using System.IO; using Aspose.Cells; using System.Drawing; namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings { public class SettingFontColor { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells...
mit
C#
d20b82423f2ecbf62e00e0fa28d81cc42b7f8f4c
Optimize RecordHeader ToBytes
markmeeus/MarcelloDB
MarcelloDB/Records/RecordHeader.cs
MarcelloDB/Records/RecordHeader.cs
using System; using MarcelloDB.Serialization; namespace MarcelloDB.Records { internal class RecordHeader { const int BYTE_SIZE = sizeof(byte) + (2 * sizeof(Int32)); //Address is not stored internal byte Type { get; set; } internal long Address { get; set; } internal In...
using System; using MarcelloDB.Serialization; namespace MarcelloDB.Records { internal class RecordHeader { const int BYTE_SIZE = sizeof(byte) + (3 * sizeof(Int32)); //Address is not stored internal byte Type { get; set; } internal long Address { get; set; } internal In...
mit
C#
5f04cfe44758ebda8d5d14b27f8955f88308bd2d
Fix temp folder in cleanup button and add submit queue folder
Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager,dsolovay/Sitecore-Instance-Manager
src/SIM.Tool.Windows/MainWindowComponents/CleanupInstanceButton.cs
src/SIM.Tool.Windows/MainWindowComponents/CleanupInstanceButton.cs
namespace SIM.Tool.Windows.MainWindowComponents { using System.IO; using System.Linq; using System.Windows; using Sitecore.Diagnostics.Base; using Sitecore.Diagnostics.Base.Annotations; using SIM.Instances; using SIM.Tool.Base; using SIM.Tool.Base.Plugins; public class CleanupInstanceButton : IMainW...
namespace SIM.Tool.Windows.MainWindowComponents { using System.IO; using System.Linq; using System.Windows; using Sitecore.Diagnostics.Base; using Sitecore.Diagnostics.Base.Annotations; using SIM.Instances; using SIM.Tool.Base; using SIM.Tool.Base.Plugins; public class CleanupInstanceButton : IMainW...
mit
C#
9eaecba44d0e697320d51f9470214c45da427e74
Add image for a hovered state in image button
k-t/SharpHaven
MonoHaven.Client/UI/ImageButton.cs
MonoHaven.Client/UI/ImageButton.cs
using System; using System.Drawing; using MonoHaven.Graphics; using MonoHaven.Utils; using OpenTK.Input; namespace MonoHaven.UI { public class ImageButton : Widget { private bool isPressed; public ImageButton(Widget parent) : base(parent) { IsFocusable = true; } public event EventHandler Clicked; ...
using System; using System.Drawing; using MonoHaven.Graphics; using MonoHaven.Utils; using OpenTK.Input; namespace MonoHaven.UI { public class ImageButton : Widget { private bool isPressed; public ImageButton(Widget parent) : base(parent) { IsFocusable = true; } public event EventHandler Clicked; ...
mit
C#
443dca831b3c0696172fc6089fe504087b5a0c34
comment removed
MaderaJan/INPTP01
INPTP_AppForFixing/Entity/Boss.cs
INPTP_AppForFixing/Entity/Boss.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace INPTP_AppForFixing { public class Boss : Employee { private const int MONTHS_OF_YEAR = 12; private HashSet<Employee> employees; private Department department; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace INPTP_AppForFixing { public class Boss : Employee { private const int MONTHS_OF_YEAR = 12; private HashSet<Employee> employees; private Department department; ...
unlicense
C#
9eb6f2de1ef5b8d76ec9eb551c2af492091ab2b8
Update BaseViewModel.cs
jamesmontemagno/MyShoppe
MyShop/ViewModels/BaseViewModel.cs
MyShop/ViewModels/BaseViewModel.cs
using System; using System.ComponentModel; using System.Collections.Generic; using System.Runtime.CompilerServices; using Xamarin.Forms; namespace MyShop { public class BaseViewModel : INotifyPropertyChanged { protected Page page; public BaseViewModel (Page page) { this.page = page; } private string t...
using System; using System.ComponentModel; using System.Collections.Generic; using System.Runtime.CompilerServices; using Xamarin.Forms; namespace MyShop { public class BaseViewModel : INotifyPropertyChanged { protected Page page; public BaseViewModel (Page page) { this.page = page; } private string t...
mit
C#
a8bc2636fcce20ff1c8f243112311d756dc21f0e
change default IBinarySerializer.
tangxuehua/equeue,tangxuehua/equeue,Aaron-Liu/equeue,geffzhang/equeue,Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue
src/EQueue/Configurations/ConfigurationExtensions.cs
src/EQueue/Configurations/ConfigurationExtensions.cs
using ECommon.Configurations; using ECommon.IoC; using ECommon.Scheduling; using ECommon.Serializing; using EQueue.Broker; using EQueue.Clients.Consumers; using EQueue.Clients.Producers; namespace EQueue.Configurations { public static class ConfigurationExtensions { public static Configuration Registe...
using ECommon.Configurations; using ECommon.IoC; using ECommon.Scheduling; using ECommon.Serializing; using EQueue.Broker; using EQueue.Clients.Consumers; using EQueue.Clients.Producers; namespace EQueue.Configurations { public static class ConfigurationExtensions { public static Configuration Registe...
mit
C#
901659ec12f3e592ba22996058aedba7cbdd812f
Change source code as Nintendo updates SplatNet (bug fix).
mntone/SplatoonClient,mntone/SplatoonClient
Mntone.SplatoonClient/Mntone.SplatoonClient/SplatoonContextFactory.cs
Mntone.SplatoonClient/Mntone.SplatoonClient/SplatoonContextFactory.cs
using System.Threading.Tasks; using Mntone.NintendoNetworkHelper; using Mntone.SplatoonClient.Internal; namespace Mntone.SplatoonClient { public static class SplatoonContextFactory { public static async Task<SplatoonContext> GetContextAsync(string username, string password) { var authorizer = new NintendoNet...
using System.Threading.Tasks; using Mntone.NintendoNetworkHelper; using Mntone.SplatoonClient.Internal; namespace Mntone.SplatoonClient { public static class SplatoonContextFactory { public static async Task<SplatoonContext> GetContextAsync(string username, string password) { var authorizer = new NintendoNet...
mit
C#
d220ee2d3b9cc828bbb9c40543bd66bde6b212f1
Set title for settings detail page.
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
XamarinApp/MyTrips/MyTrips.iOS/Screens/SettingsDetailViewController.cs
XamarinApp/MyTrips/MyTrips.iOS/Screens/SettingsDetailViewController.cs
// This file has been autogenerated from a class added in the UI designer. using System; using System.Collections.Generic; using Foundation; using UIKit; using MyTrips.Model; namespace MyTrips.iOS { public partial class SettingsDetailViewController : UIViewController { public Setting Setting { get; set; } publ...
// This file has been autogenerated from a class added in the UI designer. using System; using System.Collections.Generic; using Foundation; using UIKit; using MyTrips.Model; namespace MyTrips.iOS { public partial class SettingsDetailViewController : UIViewController { public Setting Setting { get; set; } publ...
mit
C#
7c2a1db0737a20fe7b61c4b4f457fd54c3fc77ec
create container if not exist
ravjotsingh9/DBLike
DBLike/Server/BlobAccess/Blob.cs
DBLike/Server/BlobAccess/Blob.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; namespace Server.BlobAccess { public class Blob { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; namespace Server.BlobAccess { public class Blob { ...
apache-2.0
C#
a640d33ca00a213138bfa2619b003be3bc1a16e7
add defaults
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen/DashboardConfiguration.cs
Dashen/DashboardConfiguration.cs
using System; namespace Dashen { public class DashboardConfiguration { public Uri ListenOn { get; set; } public string ApplicationName { get; set; } public string ApplicationVersion { get; set; } public DashboardConfiguration() { ListenOn = new Uri("http://localhost:8080"); ApplicationName = "Dash...
using System; namespace Dashen { public class DashboardConfiguration { public Uri ListenOn { get; set; } public string ApplicationName { get; set; } public string ApplicationVersion { get; set; } } }
lgpl-2.1
C#
1cc1462032e8ca19f6d1f8432c75b159779085a0
Simplify LoggerExtensions
mrahhal/MR.AspNetCore.Jobs,mrahhal/MR.AspNetCore.Jobs
src/MR.AspNetCore.Jobs.SqlServer/LoggerExtensions.cs
src/MR.AspNetCore.Jobs.SqlServer/LoggerExtensions.cs
using System; using Microsoft.Extensions.Logging; namespace MR.AspNetCore.Jobs { internal static class LoggerExtensions { private static Action<ILogger, Exception> _collectingExpiredEntities = LoggerMessage.Define( LogLevel.Debug, 1, "Collecting expired entities."); private static Action<ILogger, Exce...
using System; using Microsoft.Extensions.Logging; namespace MR.AspNetCore.Jobs { internal static class LoggerExtensions { private static Action<ILogger, Exception> _collectingExpiredEntities; private static Action<ILogger, Exception> _installing; private static Action<ILogger, Exception> _installingError; ...
mit
C#
16714b0df95b117beb67207ad10ee37df9b955c0
Update BradleyWyatt.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/BradleyWyatt.cs
src/Firehose.Web/Authors/BradleyWyatt.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class BradleyWyatt : IAmACommunityMember { public string FirstName => "Bradley"; public string L...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class BradleyWyatt : IAmACommunityMember { public string FirstName => "Bradley"; public string L...
mit
C#
24e256f364e4a2133b03dbe9b0a3ee0069eb77b9
Disable ObjectTests.Write test (#38101)
ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,BrennanConroy/corefx,BrennanConroy/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,BrennanConroy/core...
src/System.Text.Json/tests/Serialization/Object.WriteTests.cs
src/System.Text.Json/tests/Serialization/Object.WriteTests.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.Text.Json.Serialization.Tests { public static ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.Text.Json.Serialization.Tests { public static ...
mit
C#
77f691251c7f5bec43571a0ba0c3a568aee4deff
Allow to replace a liquid filter (#5043)
xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,OrchardCMS/Br...
src/OrchardCore/OrchardCore.Liquid.Abstractions/ServiceExtensions.cs
src/OrchardCore/OrchardCore.Liquid.Abstractions/ServiceExtensions.cs
using Microsoft.Extensions.DependencyInjection; namespace OrchardCore.Liquid { public static class ServiceCollectionExtensions { public static IServiceCollection AddLiquidFilter<T>(this IServiceCollection services, string name) where T : class, ILiquidFilter { services.Configure<Liq...
using Microsoft.Extensions.DependencyInjection; namespace OrchardCore.Liquid { public static class ServiceCollectionExtensions { public static IServiceCollection AddLiquidFilter<T>(this IServiceCollection services, string name) where T : class, ILiquidFilter { services.Configure<Liq...
bsd-3-clause
C#
8e39c51ab21f99e4c27652ee827f7b45137b642a
Check that it can work with nullables too.
ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibe...
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 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())...
lgpl-2.1
C#
4e86b5dea18b597853a2bd0025ae967aa784b004
Use longer BusyExecIdle test timeout to avoid CI failures
mikkelbu/nunit,NikolayPianikov/nunit,OmicronPersei/nunit,JustinRChou/nunit,OmicronPersei/nunit,appel1/nunit,appel1/nunit,mjedrzejek/nunit,nunit/nunit,NikolayPianikov/nunit,nunit/nunit,mjedrzejek/nunit,JustinRChou/nunit,mikkelbu/nunit
src/NUnitFramework/tests/Internal/TestWorkerTests.cs
src/NUnitFramework/tests/Internal/TestWorkerTests.cs
// *********************************************************************** // Copyright (c) 2014 Charlie Poole, Rob Prouse // // 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 restri...
// *********************************************************************** // Copyright (c) 2014 Charlie Poole, Rob Prouse // // 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 restri...
mit
C#
a6f51664796bf8b6b93d26aaf9aa9b318fa1a1fb
Use milliseconds for unix time conversions
poxet/InfluxDB.Net,poxet/InfluxDB.Net,ziyasal/InfluxDB.Net,ziyasal/InfluxDB.Net,jamesholcomb/InfluxDB.Net,jamesholcomb/InfluxDB.Net
InfluxDB.Net/ObjectExtensions.cs
InfluxDB.Net/ObjectExtensions.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Text; namespace InfluxDB.Net { public static class ObjectExtensions { private static DateTime _epoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); public static string ToJson(this object @object) { return JsonC...
using Newtonsoft.Json; using System; using System.Text; namespace InfluxDB.Net { public static class ObjectExtensions { private static DateTime _epoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); public static string ToJson(this object @object) { return JsonConvert.SerializeObject(@object); ...
unlicense
C#
061d4188abba7d2d9c29af87ebbec6f78b0c2ad8
Add diagnostics to web app
lmno/cupster,lmno/cupster,lmno/cupster
webstats/Modules/Bootstrapper.cs
webstats/Modules/Bootstrapper.cs
/* * Created by SharpDevelop. * User: Lars Magnus * Date: 14.06.2014 * Time: 23:23 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Configuration; using System.Diagnostics; using System.IO; using Nancy; using Nancy.Bootstrapper; using Nancy.Diagnos...
/* * Created by SharpDevelop. * User: Lars Magnus * Date: 14.06.2014 * Time: 23:23 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Configuration; using System.IO; using Nancy; using Nancy.TinyIoc; using SubmittedData; namespace Modules { /// ...
mit
C#
3c0b74bdd1d0ac169018f914d9bd5c3b1519beb9
fix formatting
mm999/OrigoDB
src/OrigoDB.Core.UnitTests/ModelTests.cs
src/OrigoDB.Core.UnitTests/ModelTests.cs
using NUnit.Framework; namespace OrigoDB.Core.Test { [TestFixture] public class ModelTests { [Test] public void RevisionIsIncrementedWithEachCommand() { var config = EngineConfiguration.Create().ForIsolatedTest(); var target = Db.For<TestModel>(config); ...
using NUnit.Framework; namespace OrigoDB.Core.Test { [TestFixture] public class ModelTests { [Test] public void RevisionIsIncrementedWithEachCommand() { var config = EngineConfiguration.Create().ForIsolatedTest(); var target = Db.For<TestModel>(config); ...
mit
C#
cd9c8a3d5683e7c1381bed7978f27ded524cb7e1
Fix a test failure It is not repeatable to modify the request headers in place One integration test failed with "An item with the same key has already been added" due to this
danbadge/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Ap...
src/SevenDigital.Api.Wrapper/EndpointResolution/RequestHandlers/AllRequestHandler.cs
src/SevenDigital.Api.Wrapper/EndpointResolution/RequestHandlers/AllRequestHandler.cs
using System; using System.Collections.Generic; using SevenDigital.Api.Wrapper.EndpointResolution.OAuth; using SevenDigital.Api.Wrapper.Http; namespace SevenDigital.Api.Wrapper.EndpointResolution.RequestHandlers { public class AllRequestHandler : RequestHandler { private readonly IOAuthCredentials _oAuthCredent...
using System.Collections.Generic; using SevenDigital.Api.Wrapper.EndpointResolution.OAuth; using SevenDigital.Api.Wrapper.Http; namespace SevenDigital.Api.Wrapper.EndpointResolution.RequestHandlers { public class AllRequestHandler : RequestHandler { private readonly IOAuthCredentials _oAuthCredentials; public...
mit
C#
9931ff46aedca01f3b941c1a5a329b1a7788f8ba
Solve build related issue
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
mit
C#
95c50b49d0e4ec6bca512103a16df1d9b2e9b69f
improve logs
MetacoSA/NBitcoin.Indexer,bijakatlykkex/NBitcoin.Indexer,NicolasDorier/NBitcoin.Indexer
NBitcoin.Indexer/IndexerTrace.cs
NBitcoin.Indexer/IndexerTrace.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Indexer { class IndexerTrace { static TraceSource _Trace = new TraceSource("NBitcoin.Indexer"); internal static void ErrorWhileImportingBlockToAzure(ui...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Indexer { class IndexerTrace { static TraceSource _Trace = new TraceSource("NBitcoin.Indexer"); internal static void ErrorWhileImportingBlockToAzure(ui...
mit
C#
ca4635cc3da2e64486da9cf049082853122c0dfd
Update assembly for NuGet
jehugaleahsa/NRest
NRest/Properties/AssemblyInfo.cs
NRest/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NRest")] [assembly: AssemblyDescription("A simple REST client for making API calls using a fluent syntax.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Truncon")] [assembly: AssemblyProduct("N...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NRest")] [assembly: AssemblyDescription("Make REST API calls using a fluent syntax.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Truncon")] [assembly: AssemblyProduct("NRest")] [assembly: Ass...
unlicense
C#
6863e1f50495c5609698063fb736e7778e40cab8
Bump Assembly version number
Kerbas-ad-astra/KSPTrajectories
Plugin/Properties/AssemblyInfo.cs
Plugin/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("Tr...
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("Tr...
mit
C#
8aee4dc8e5055cb0a66cb80aa1ea0e2486f0b3fc
Simplify new test and reword
smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs
osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Input; using osu.Framework.Testing; using osu.Framework.Testing.Input; using osuTK; using osuTK.Input; name...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Input; using osu.Framework.Testing; using osu.Framework.Testing.Input; using osuTK; using osuTK.Input; name...
mit
C#
358cc23d910a72bc5fe5a05afaa8c22f2188c2ef
Remove commented out Update method from PlayerController
compumike08/Roll-a-Ball
Assets/Scripts/PlayerController.cs
Assets/Scripts/PlayerController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float speed; private Rigidbody rb; // Start is called during the first frame that this script is accessed during the game void Start () { rb = GetComponent<Rigidbody> (); } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float speed; private Rigidbody rb; // Start is called during the first frame that this script is accessed during the game void Start () { rb = GetComponent<Rigidbody> (); } ...
mit
C#
952b21edb673acb9922d272b2eca5b7caa3b33bd
Implement encoding
kappa7194/otp
Albireo.Otp.Library/Base32.cs
Albireo.Otp.Library/Base32.cs
namespace Albireo.Otp.Library { using System; using System.Diagnostics.Contracts; using System.Linq; using System.Text; internal static class Base32 { private static readonly char[] Alphabet = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',...
namespace Albireo.Otp.Library { using System; internal static class Base32 { internal static string Encode(byte[] input) { throw new NotImplementedException(); } internal static byte[] Decode(string input) { throw new NotImplementedException...
mit
C#
25a8f2a233a026f86a1d8e15d445fdaefb53b540
Remove [AllowAnonymous] since added by default
VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate
BlogTemplate/Pages/Post.cshtml.cs
BlogTemplate/Pages/Post.cshtml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.RazorPages; using BlogTemplate.Models; using Microsoft.AspNetCore.Mvc; using System.Xml; using System.Xml.Linq; using Microsoft.AspNetCore.Authorization; namespace BlogTemplate.Pa...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.RazorPages; using BlogTemplate.Models; using Microsoft.AspNetCore.Mvc; using System.Xml; using System.Xml.Linq; using Microsoft.AspNetCore.Authorization; namespace BlogTemplate.Pa...
mit
C#
5da24feb1789e6149a0505bea87465aeea100d1f
Add and remove the outline material when the outline should be shown
PearMed/Pear-Interaction-Engine
Scripts/EventListeners/Outline.cs
Scripts/EventListeners/Outline.cs
using System; using System.Collections; using System.Collections.Generic; using Pear.InteractionEngine.Events; using UnityEngine; namespace Pear.InteractionEngine.EventListeners { public class Outline : MonoBehaviour, IEventListener<RaycastHit?> { private const string LOG_TAG = "[Outline]"; // The value of the...
using System; using System.Collections; using System.Collections.Generic; using Pear.InteractionEngine.Events; using UnityEngine; namespace Pear.InteractionEngine.EventListeners { public class Outline : MonoBehaviour, IEventListener<RaycastHit?> { private const string LOG_TAG = "[Outline]"; // The value of the...
mit
C#
58a73f809205c0d0ffeeddcc66758a2791fccd81
Set header correctly
mstrother/BmpListener
BmpListener/Bgp/BgpMessage.cs
BmpListener/Bgp/BgpMessage.cs
using System; using System.Linq; using Newtonsoft.Json; namespace BmpListener.Bgp { public abstract class BgpMessage { protected BgpMessage(ref ArraySegment<byte> data) { Header = new BgpHeader(data); var offset = data.Offset + 19; var count = Header.Length ...
using System; using System.Linq; using Newtonsoft.Json; namespace BmpListener.Bgp { public abstract class BgpMessage { protected BgpMessage(ref ArraySegment<byte> data) { var bgpHeader = new BgpHeader(data); //Type = bgpHeader.Type; //Length = (int)bgpHeader...
mit
C#
0d2e405c148440a4aec318fce4a3a2693141843d
reorder members
builttoroam/BuildIt,builttoroam/BuildIt
src/BuildIt.Forms/Samples/BuildIt.Forms.Sample.Android/MainActivity.cs
src/BuildIt.Forms/Samples/BuildIt.Forms.Sample.Android/MainActivity.cs
using Android.App; using Android.Content.PM; using Android.OS; using Android.Runtime; using Plugin.Permissions; namespace BuildIt.Forms.Sample.Droid { [Activity(Label = "BuildIt.Forms.Sample", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize...
using Android.App; using Android.Content.PM; using Android.OS; using Android.Runtime; using Plugin.Permissions; namespace BuildIt.Forms.Sample.Droid { [Activity(Label = "BuildIt.Forms.Sample", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize...
mit
C#
d1dc15e72be7796223e0a882867fa0f7899faed3
Improve formatting of preprocessor regions
mmitche/codeformatter,BertTank/codeformatter,twsouthwick/codeformatter,rollie42/codeformatter,michaelcfanning/codeformatter,jaredpar/codeformatter,BradBarnich/codeformatter,dotnet/codeformatter,cbjugstad/codeformatter,mmitche/codeformatter,rainersigwald/codeformatter,twsouthwick/codeformatter,kharaone/codeformatter,dav...
src/Microsoft.DotNet.CodeFormatting/Rules/IsFormattedFormattingRule.cs
src/Microsoft.DotNet.CodeFormatting/Rules/IsFormattedFormattingRule.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under MIT. See LICENSE in the project root for license information. using System; using System.ComponentModel.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Formatting...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under MIT. See LICENSE in the project root for license information. using System; using System.ComponentModel.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Formatting...
mit
C#
b9ede7bee92435ecc5bb78b802cc9201ae018c6f
Use DynamicApis.HttpGetAsync in vm
RSuter/NSwag,quails4Eva/NSwag,NSwag/NSwag,NSwag/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,NSwag/NSwag,RSuter/NSwag,quails4Eva/NSwag,NSwag/NSwag,RSuter/NSwag,RSuter/NSwag
src/NSwagStudio/ViewModels/SwaggerGenerators/SwaggerInputViewModel.cs
src/NSwagStudio/ViewModels/SwaggerGenerators/SwaggerInputViewModel.cs
using System.Net; using System.Threading.Tasks; using System.Windows.Input; using MyToolkit.Command; using Newtonsoft.Json; using NJsonSchema.Infrastructure; using NSwag.Commands; namespace NSwagStudio.ViewModels.SwaggerGenerators { public class SwaggerInputViewModel : ViewModelBase { public SwaggerInp...
using System.Net; using System.Threading.Tasks; using System.Windows.Input; using MyToolkit.Command; using Newtonsoft.Json; using NSwag.Commands; namespace NSwagStudio.ViewModels.SwaggerGenerators { public class SwaggerInputViewModel : ViewModelBase { public SwaggerInputViewModel() ...
mit
C#
d4609ef367a3b7ddf212b8b5424657f39e3faf87
Fix all violations of SA1127
tunnelvisionlabs/InheritanceMargin
Tvl.VisualStudio.InheritanceMargin/CSharpInheritanceTaggerProvider.cs
Tvl.VisualStudio.InheritanceMargin/CSharpInheritanceTaggerProvider.cs
namespace Tvl.VisualStudio.InheritanceMargin { using System.ComponentModel.Composition; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.Text.Tagging; using Microsoft.VisualStudio.Utilities; using I...
namespace Tvl.VisualStudio.InheritanceMargin { using System.ComponentModel.Composition; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.Text.Tagging; using Microsoft.VisualStudio.Utilities; using I...
mit
C#
cf5c6c924742abebfe4bcb203cee2ea15cc60f91
Add code sample
DaveSenn/Extend
.Src/Extend/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].AnyAndNotNull.cs
.Src/Extend/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].AnyAndNotNull.cs
#region Usings using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; #endregion namespace Extend { /// <summary> /// Class containing some extension methods for <see cref="IEnumerable{T}" />. /// </summary> // ReSharper disable once InconsistentNaming ...
#region Usings using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; #endregion namespace Extend { /// <summary> /// Class containing some extension methods for <see cref="IEnumerable{T}" />. /// </summary> // ReSharper disable once InconsistentNaming ...
mit
C#
21d217b9843bd11db6d8d33bf37b288de09cff5f
remove tabstop from spacer control (fixes #21)
misterhaan/MythClient
UI/Render/ContentsRendererBase.cs
UI/Render/ContentsRendererBase.cs
using System.Collections.Generic; using System.Windows.Forms; namespace au.Applications.MythClient.UI.Render { /// <summary> /// Common logic for contents renderers. /// </summary> /// <typeparam name="TItem"></typeparam> internal abstract class ContentsRendererBase<TItem> : RendererBase, IContentsRenderer<TItem...
using System.Collections.Generic; using System.Windows.Forms; namespace au.Applications.MythClient.UI.Render { /// <summary> /// Common logic for contents renderers. /// </summary> /// <typeparam name="TItem"></typeparam> internal abstract class ContentsRendererBase<TItem> : RendererBase, IContentsRenderer<TItem...
mit
C#
bfa75d92874c4c441691be268d81154094598186
Add convenience methods for timeslots
victoria92/university-program-generator,victoria92/university-program-generator
UniProgramGen/Helpers/TimeSlot.cs
UniProgramGen/Helpers/TimeSlot.cs
using System; namespace UniProgramGen.Helpers { public class TimeSlot { public const uint START_HOUR = 8; public const uint END_HOUR = 22; public const uint TOTAL_DAY_HOURS = END_HOUR - START_HOUR; public TimeSlot(DayOfWeek day, uint startHour, uint endHour) { ...
using System; namespace UniProgramGen.Helpers { public class TimeSlot { public TimeSlot(DayOfWeek day, uint startHour, uint endHour) { Day = day; StartHour = startHour; EndHour = endHour; } public DayOfWeek Day { get; private set; } p...
bsd-2-clause
C#
38b4e2c282ea33d56afb8bfdbe19e1ae9ea7e92e
Use a single buffer for both channels.
jherby2k/AudioWorks
AudioWorks/Extensions/AudioWorks.Extensions.Flac/AudioStreamDecoder.cs
AudioWorks/Extensions/AudioWorks.Extensions.Flac/AudioStreamDecoder.cs
using JetBrains.Annotations; using System; using System.IO; using System.Runtime.InteropServices; namespace AudioWorks.Extensions.Flac { sealed class AudioStreamDecoder : AudioInfoStreamDecoder { float _divisor; [CanBeNull] int[] _buffer; [CanBeNull] public SampleCollection Sa...
using JetBrains.Annotations; using System; using System.IO; using System.Runtime.InteropServices; namespace AudioWorks.Extensions.Flac { sealed class AudioStreamDecoder : AudioInfoStreamDecoder { float _divisor; int[][] _managedBuffer; [CanBeNull] public SampleCollection Sampl...
agpl-3.0
C#
d6e0ece60d8b5bf041d5ee758fe64b47c7ebdb93
Fix typo in Branch.ToString
RyanLamansky/dotnet-webassembly
WebAssembly/Instructions/Branch.cs
WebAssembly/Instructions/Branch.cs
using System; using System.Linq; using System.Reflection.Emit; using WebAssembly.Runtime.Compilation; namespace WebAssembly.Instructions; /// <summary> /// Branch to a given label in an enclosing construct. /// </summary> public class Branch : Instruction { /// <summary> /// Always <see cref="OpCode.Branch"/>...
using System; using System.Linq; using System.Reflection.Emit; using WebAssembly.Runtime.Compilation; namespace WebAssembly.Instructions; /// <summary> /// Branch to a given label in an enclosing construct. /// </summary> public class Branch : Instruction { /// <summary> /// Always <see cref="OpCode.Branch"/>...
apache-2.0
C#
c07473031c3cc28f194643435b1079dccbde7b46
Update version
sys27/xFunc
SharedCode/SharedAssemblyInfo.cs
SharedCode/SharedAssemblyInfo.cs
using System.Reflection; using System.Resources; [assembly: AssemblyCopyright("Copyright 2012-2016 Dmitry Kischenko")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: AssemblyVersion("3.3.0")] [assembly: AssemblyFileVersion("3.3.0")] [assembl...
using System.Reflection; using System.Resources; [assembly: AssemblyCopyright("Copyright 2012-2016 Dmitry Kischenko")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembly: AssemblyVersion("3.2.1")] [assembly: AssemblyFileVersion("3.2.1")] [assembl...
mit
C#
d4157d17aed54526159c4acaa16bb5c3737abf17
Make libs target depend on externals
Redth/Cake.Android.Adb
build.cake
build.cake
#tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0 var sln = "./Cake.Android.Adb.sln"; var nuspec = "./Cake.Android.Adb.nuspec"; var target = Argument ("target", "all"); var configuration = Argument ("configuration", "Release"); var NUGET_VERSION = Argument("nugetversion", "0.9999"); var SDK_URL_BASE = "https:/...
#tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0 var sln = "./Cake.Android.Adb.sln"; var nuspec = "./Cake.Android.Adb.nuspec"; var target = Argument ("target", "all"); var configuration = Argument ("configuration", "Release"); var NUGET_VERSION = Argument("nugetversion", "0.9999"); var SDK_URL_BASE = "https:/...
mit
C#
c764ccafeb1f6bad8c8b4c14ac0b3c5d67f9367b
Update MergingCellsInWorksheet..cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cell...
Examples/CSharp/Data/AddOn/Merging/MergingCellsInWorksheet..cs
Examples/CSharp/Data/AddOn/Merging/MergingCellsInWorksheet..cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.AddOn.Merging { public class MergingCellsInWorksheet { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Exampl...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.AddOn.Merging { public class MergingCellsInWorksheet { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syst...
mit
C#
3da7efff7b4056123871b9aa8fdd21203bdc1c85
Add additional private methods to atexit (#224)
IronLanguages/ironpython3,IronLanguages/ironpython3,IronLanguages/ironpython3,IronLanguages/ironpython3,IronLanguages/ironpython3,IronLanguages/ironpython3
Src/IronPython.Modules/atexit.cs
Src/IronPython.Modules/atexit.cs
using System; using System.Collections.Generic; using Microsoft.Scripting; using IronPython.Runtime; using Microsoft.Scripting.Runtime; [assembly: PythonModule("atexit", typeof(IronPython.Modules.PythonAtExit))] namespace IronPython.Modules { [Documentation(@"allow programmer to define multiple exit functions t...
using System; using System.Collections.Generic; using Microsoft.Scripting; using IronPython.Runtime; [assembly: PythonModule("atexit", typeof(IronPython.Modules.PythonAtExit))] namespace IronPython.Modules { public static class PythonAtExit { public static void register(object func, [ParamDictionary...
apache-2.0
C#
a47d33cce0fb38b60ebd1923b5f4fd1cabc57d8b
Remove collision detector
EasyPeasyLemonSqueezy/MadCat
MadCat/NutEngine/EntityManager.cs
MadCat/NutEngine/EntityManager.cs
using System.Collections.Generic; namespace NutEngine { public class EntityManager { public List<Entity> Entities { get; } = new List<Entity>(); public void Update(float deltaTime) { foreach (var entity in Entities) { entity.Update(deltaTime); }...
using System.Collections.Generic; namespace NutEngine { public class EntityManager { public List<Entity> Entities { get; } = new List<Entity>(); public CollisionDetector Detector { get; } = new CollisionDetector(); public void Update(float deltaTime) { foreach (var...
mit
C#