commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
96c23d2a627ed60902897579f86b86c82a92f588 | osu.Game/Graphics/UserInterface/FocusedTextBox.cs | osu.Game/Graphics/UserInterface/FocusedTextBox.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 OpenTK.Graphics;
using OpenTK.Input;
using osu.Framework.Input;
using System;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
/// A ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using OpenTK.Input;
using osu.Framework.Input;
using System;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
/// A ... | Add override to fix left/right arrow control | Add override to fix left/right arrow control
| C# | mit | EVAST9919/osu,Nabile-Rahmani/osu,ppy/osu,peppy/osu,ZLima12/osu,DrabWeb/osu,DrabWeb/osu,2yangk23/osu,smoogipooo/osu,johnneijzen/osu,2yangk23/osu,naoey/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,NeoA... |
84b3b1f8b7afeb4a427ff38c6edf0f889cd05e6c | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Properties/AssemblyInfo.cs | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. 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 applicable la... | //
// Copyright (c) Microsoft. 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 applicable la... | Change assembly version to be major version | Change assembly version to be major version
| C# | apache-2.0 | smithab/azure-sdk-for-net,jamestao/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,stankovski/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,r22016/azure-sdk-for-net,r22016/azure-... |
7641ca3722650ac1f6576cc62f64631494191677 | test/MusicStore.Spa.Test/ShoppingCartTest.cs | test/MusicStore.Spa.Test/ShoppingCartTest.cs | using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Core;
using Microsoft.AspNet.Http.Core.Collections;
using Xunit;
namespace MusicStore.Models
{
public class ShoppingCartTest
{
[Fact]
public void GetCartId_ReturnsCartIdFromCookies()
{
// Arrange
var cartI... | using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Core;
using Microsoft.AspNet.Http.Core.Collections;
using Xunit;
namespace MusicStore.Models
{
public class ShoppingCartTest
{
[Fact]
public void GetCartId_ReturnsCartIdFromCookies()
{
... | Handle change to cookie parser. | Handle change to cookie parser.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
a5625331a0603c76729b1b6922c59ff3a9e74c0f | src/Assets/Scripts/Licensing/KeyLicenseObtainer.cs | src/Assets/Scripts/Licensing/KeyLicenseObtainer.cs | using System;
using System.Threading;
using UnityEngine;
using UnityEngine.UI;
namespace PatchKit.Unity.Patcher.Licensing
{
public class KeyLicenseObtainer : MonoBehaviour, ILicenseObtainer
{
private State _state = State.None;
private KeyLicense _keyLicense;
private Animator _animato... | using System;
using System.Threading;
using UnityEngine;
using UnityEngine.UI;
namespace PatchKit.Unity.Patcher.Licensing
{
public class KeyLicenseObtainer : MonoBehaviour, ILicenseObtainer
{
private State _state = State.None;
private KeyLicense _keyLicense;
private Animator _animato... | Fix problem with invalid whitespaces and lower characters in input license key code | Fix problem with invalid whitespaces and lower characters in input license key code
| C# | mit | patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity |
4089ab789a16d4d4fb6eb7d58401b09ce78d9e02 | Project/WorkshopManager/WorkshopManager/Forms/RequestsDatabaseView/RequestsDatabasePresenter.cs | Project/WorkshopManager/WorkshopManager/Forms/RequestsDatabaseView/RequestsDatabasePresenter.cs | using System;
namespace WorkshopManager.Forms.RequestsDatabaseView
{
public class RequestsDatabasePresenter
{
private IRequestsDatabaseView _view;
public RequestsDatabasePresenter(IRequestsDatabaseView view)
{
_view = view;
_view.Presenter = this;
... | namespace WorkshopManager.Forms.RequestsDatabaseView
{
public class RequestsDatabasePresenter
{
public RequestsDatabasePresenter(IRequestsDatabaseView view)
{
}
}
}
| Revert "Added form initialization method in Presenter" | Revert "Added form initialization method in Presenter"
This reverts commit 938944c6b4823cac8ec02abb47794fefecf76d0a.
| C# | mit | BartoszBaczek/WorkshopRequestsManager |
77cc99331f2b0a1db9f6421c7908b5227034dd2e | BasePluginAction.cs | BasePluginAction.cs | using System;
namespace KpdApps.Common.MsCrm2015
{
public class BasePluginAction
{
public PluginState State { get; set; }
public BasePluginAction(PluginState state)
{
State = state;
}
public virtual void Execute()
{
throw new NotImpleme... | using System;
using Microsoft.Xrm.Sdk;
namespace KpdApps.Common.MsCrm2015
{
public class BasePluginAction
{
public PluginState State { get; set; }
public IOrganizationService Service => State.Service;
public BasePluginAction(PluginState state)
{
State = state;
... | Add short link to Service | Add short link to Service
| C# | mit | KpdApps/KpdApps.Common.MsCrm2015 |
4bcab1d57fe2803e95bf366f5488a311eef16435 | src/Cassette/Configuration/IFileSearchModifier.cs | src/Cassette/Configuration/IFileSearchModifier.cs | namespace Cassette.Configuration
{
public interface IFileSearchModifier<T>
{
void Modify(FileSearch fileSearch);
}
} | namespace Cassette.Configuration
{
// ReSharper disable UnusedTypeParameter
// The T type parameter makes it easy to distinguish between file search modifiers for the different type of bundles
public interface IFileSearchModifier<T>
where T : Bundle
// ReSharper restore UnusedTypeParameter
{
... | Clarify the apparently unused generic type parameter. | Clarify the apparently unused generic type parameter.
| C# | mit | damiensawyer/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,honestegg/cassette,honestegg/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette |
afa31ac8b25d9ed3fac1d5531cb83c897e876b4f | src/Glimpse.Server.Web/GlimpseServerWebOptions.cs | src/Glimpse.Server.Web/GlimpseServerWebOptions.cs | using System;
namespace Glimpse.Server
{
public class GlimpseServerWebOptions
{
public bool AllowRemote { get; set; }
}
} | using System;
using System.Collections.Generic;
namespace Glimpse.Server
{
public class GlimpseServerWebOptions
{
public GlimpseServerWebOptions()
{
AllowedUserRoles = new List<string>();
}
public bool AllowRemote { get; set; }
public IList<string> Allowed... | Add option for allowed user roles | Add option for allowed user roles
| C# | mit | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototy... |
278584de99e416aed21ef3034a88d072d61de2c4 | osu.Game.Benchmarks/Program.cs | osu.Game.Benchmarks/Program.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 BenchmarkDotNet.Running;
namespace osu.Game.Benchmarks
{
public static class Program
{
public static void Main(string[] args)
{
... | // 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 BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
namespace osu.Game.Benchmarks
{
public static class Program
{
public static void Main(stri... | Disable optimisations validator (in line with framework project) | Disable optimisations validator (in line with framework project)
| C# | mit | NeoAdonis/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu |
b63a90966ba260c5122203c4b06299d2af40aa52 | osu.Game/Scoring/IScoreInfo.cs | osu.Game/Scoring/IScoreInfo.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Beatmaps;
using osu.Game.Database;
using osu.Game.Rulesets;
using osu.Game.Users;
namespace osu.Game.Scoring
{
public interface IScoreIn... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Beatmaps;
using osu.Game.Database;
using osu.Game.Rulesets;
using osu.Game.Users;
namespace osu.Game.Scoring
{
public interface IScoreIn... | Remove misplaced access modifier in interface specification | Remove misplaced access modifier in interface specification
Co-authored-by: Bartłomiej Dach <809709723693c4e7ecc6f5379a3099c830279741@gmail.com> | C# | mit | ppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu |
b18f5b0562da4d179ca191d7ce5aa065bd23c742 | osu.Framework.Android/Properties/AssemblyInfo.cs | osu.Framework.Android/Properties/AssemblyInfo.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.Runtime.CompilerServices;
// We publish our internal attributes to other sub-projects of the framework.
// Note, that we omit visual tests as they are mean... | // 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.Runtime.CompilerServices;
using Android.App;
// We publish our internal attributes to other sub-projects of the framework.
// Note, that we omit visual tes... | Declare storage permission at assembly level | Declare storage permission at assembly level
| C# | mit | ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework |
546e9f7b2ada33a3b68bc74440c4aa631e37345c | CSF.Screenplay/Scenarios/IServiceRegistryBuilder.cs | CSF.Screenplay/Scenarios/IServiceRegistryBuilder.cs | using System;
namespace CSF.Screenplay.Scenarios
{
/// <summary>
/// Builder service which assists in the creation of service registrations.
/// </summary>
public interface IServiceRegistryBuilder
{
/// <summary>
/// Registers a service which will be used across all scenarios within a test run.
/... | using System;
namespace CSF.Screenplay.Scenarios
{
/// <summary>
/// Builder service which assists in the creation of service registrations.
/// </summary>
public interface IServiceRegistryBuilder
{
/// <summary>
/// Registers a service which will be used across all scenarios within a test run.
/... | Fix mistake in registration (method not on interface) | Fix mistake in registration (method not on interface)
| C# | mit | csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay |
14ab71003ce6325d43adcd2133100cefc8d422f8 | OData/src/CommonAssemblyInfo.cs | OData/src/CommonAssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if !BUILD_GENERATED_VERSION
[assembly: AssemblyCompany("... | Upgrade OData WebAPI Version to 5.6.0 | Upgrade OData WebAPI Version to 5.6.0
| C# | mit | lungisam/WebApi,chimpinano/WebApi,abkmr/WebApi,congysu/WebApi,scz2011/WebApi,chimpinano/WebApi,lewischeng-ms/WebApi,yonglehou/WebApi,scz2011/WebApi,LianwMS/WebApi,congysu/WebApi,lungisam/WebApi,lewischeng-ms/WebApi,abkmr/WebApi,yonglehou/WebApi,LianwMS/WebApi |
23ea01b37326963b5ebf68bbcc1edd51c66a28d6 | TextKitDemo/TextKitDemo/CollectionViewCell.cs | TextKitDemo/TextKitDemo/CollectionViewCell.cs | using System;
using CoreGraphics;
using Foundation;
using UIKit;
namespace TextKitDemo
{
public partial class CollectionViewCell : UICollectionViewCell
{
public CollectionViewCell (IntPtr handle) : base (handle)
{
BackgroundColor = UIColor.DarkGray;
Layer.CornerRadius = 5;
UIApplication.Notifications.... | using System;
using CoreGraphics;
using Foundation;
using UIKit;
namespace TextKitDemo
{
public partial class CollectionViewCell : UICollectionViewCell
{
public CollectionViewCell (IntPtr handle) : base (handle)
{
Initialize ();
}
[Export ("initWithCoder:")]
public CollectionViewCell (NSCoder coder) :... | Fix ctor, we must use initWithCoder when loading from a storyboard | [TextKitDemo] Fix ctor, we must use initWithCoder when loading from a storyboard
initWithCoder: is the designated initializer for views built from the storyboard
since we are not creating the Cell programatically by calling
RegisterClassForCell we must export initWithCoder: ctor to unmanaged world so
when it needs to ... | C# | mit | a9upam/monotouch-samples,andypaul/monotouch-samples,a9upam/monotouch-samples,albertoms/monotouch-samples,robinlaide/monotouch-samples,kingyond/monotouch-samples,xamarin/monotouch-samples,a9upam/monotouch-samples,sakthivelnagarajan/monotouch-samples,sakthivelnagarajan/monotouch-samples,xamarin/monotouch-samples,nelzomal... |
c2d4f488bdbbe4fa249d5be192d2eaa45ac88a99 | src/SFA.DAS.EmployerAccounts/Commands/UnsubscribeProviderEmail/UnsubscribeProviderEmailQueryHandler.cs | src/SFA.DAS.EmployerAccounts/Commands/UnsubscribeProviderEmail/UnsubscribeProviderEmailQueryHandler.cs | using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.Interfaces;
namespace SFA.DAS.EmployerAccounts.Commands.UnsubscribeProviderEmail
{
public class UnsubscribeProviderEmailQueryHandler : AsyncRequestHandler<UnsubscribeProviderEmailQuery>
{
... | using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerAccounts.Configuration;
using SFA.DAS.EmployerAccounts.Interfaces;
namespace SFA.DAS.EmployerAccounts.Commands.UnsubscribeProviderEmail
{
public class UnsubscribeProviderEmailQueryHandler : AsyncRequestHandler<UnsubscribeProviderEmailQuery>
{
... | Change to call new API | Change to call new API
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
2047baf8bc6470c7406dcafcce9f6ee773f9be7f | src/Dotnet.Microservice/Health/HealthResponse.cs | src/Dotnet.Microservice/Health/HealthResponse.cs | using System;
namespace Dotnet.Microservice.Health
{
/// <summary>
/// Represents a health check response
/// </summary>
public struct HealthResponse
{
public readonly bool IsHealthy;
public readonly string Message;
private HealthResponse(bool isHealthy, string statusMessa... | using System;
namespace Dotnet.Microservice.Health
{
/// <summary>
/// Represents a health check response
/// </summary>
public struct HealthResponse
{
public readonly bool IsHealthy;
public readonly object Response;
private HealthResponse(bool isHealthy, object statusObje... | Allow the status to be any object instead of just a string. | Allow the status to be any object instead of just a string.
| C# | isc | lynxx131/dotnet.microservice |
a7fd882d7aeeae8c03256fa7e34e0c02e40ade8a | src/core/BrightstarDB.InternalTests/TestPaths.cs | src/core/BrightstarDB.InternalTests/TestPaths.cs | using System.IO;
using NUnit.Framework;
namespace BrightstarDB.InternalTests
{
internal static class TestPaths
{
public static string DataPath => Path.Combine(TestContext.CurrentContext.TestDirectory, "..\\..\\..\\BrightstarDB.Tests\\Data\\");
}
}
| using System.IO;
using NUnit.Framework;
namespace BrightstarDB.InternalTests
{
internal static class TestPaths
{
public static string DataPath => Path.Combine(TestContext.CurrentContext.TestDirectory, "..\\..\\..\\..\\BrightstarDB.Tests\\Data\\");
}
}
| Fix path to SPARQL test suite files | Fix path to SPARQL test suite files
| C# | mit | BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB |
8f3fa7cd2661a282a31fbd9eb514d86bce2f872e | BmpListener/Bmp/BmpHeader.cs | BmpListener/Bmp/BmpHeader.cs | using System;
using Newtonsoft.Json;
namespace BmpListener.Bmp
{
public class BmpHeader
{
public BmpHeader(byte[] data)
{
ParseBytes(data);
}
public byte Version { get; private set; }
[JsonIgnore]
public uint Length { get; private set; }
p... | using System;
using Newtonsoft.Json;
using System.Linq;
using BmpListener;
namespace BmpListener.Bmp
{
public class BmpHeader
{
public BmpHeader(byte[] data)
{
Version = data.First();
//if (Version != 3)
//{
// throw new Exception("invalid BMP... | Move initialization logic to ctor | Move initialization logic to ctor
| C# | mit | mstrother/BmpListener |
da750a74fc91d26ba39205201a33ac1d6b5b49fb | osu.Game/Database/IHasOnlineID.cs | osu.Game/Database/IHasOnlineID.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Database
{
public interface IHasOnlineID
{
/// <summary>
/// The server-side ID representing this instance, i... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Database
{
public interface IHasOnlineID
{
/// <summary>
/// The server-side ID representing this instance, i... | Add xmldoc mention of valid `OnlineID` values | Add xmldoc mention of valid `OnlineID` values
| C# | mit | smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu |
de07804952c2de14b01835f3ed2e5263b440de91 | NSuperTest/Registration/RegistrationDiscoverer.cs | NSuperTest/Registration/RegistrationDiscoverer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NSuperTest.Registration
{
public class RegistrationDiscoverer
{
public IEnumerable<IRegisterServers> FindRegistrations()
{
var type = typeof(IRegisterServers);
va... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace NSuperTest.Registration
{
public static class AssemblyExtensions
{
public static IEnumerable<Type> GetLoadableTypes(this Assembly assembly)
{
try
... | Fix for blinking tests issue | Fix for blinking tests issue
Tests occasionally fail on build server loading a generated assembly
thats used by moq i think. (Its castle) Making sure to swallow loader
exceptions.
| C# | mit | pshort/nsupertest |
3fa6821e92d9a9ec8d9bf64ff8c5ebd54568d097 | src/Arango/Arango.Client/API/ArangoDocument.cs | src/Arango/Arango.Client/API/ArangoDocument.cs | //using System;
using System.Collections.Generic;
using System.Dynamic;
namespace Arango.Client
{
public class ArangoDocument
{
public string Handle { get; set; }
public string Revision { get; set; }
public dynamic JsonObject { get; set; }
public ArangoDocument()
... | //using System;
using System.Collections.Generic;
using System.Dynamic;
namespace Arango.Client
{
public class ArangoDocument
{
public string ID { get; set; }
public string Revision { get; set; }
public dynamic JsonObject { get; set; }
public ArangoDocument()
... | Change document handle to id. | Change document handle to id.
| C# | mit | yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET |
6d9331c49d36ce9590cd6c1cae6c69f41dbc8679 | LibGit2Sharp/Mode.cs | LibGit2Sharp/Mode.cs | namespace LibGit2Sharp
{
/// <summary>
/// Git specific modes for entries.
/// </summary>
public enum Mode
{
// Inspired from http://stackoverflow.com/a/8347325/335418
/// <summary>
/// 000000 file mode (the entry doesn't exist)
/// </summary>
Nonexisten... | namespace LibGit2Sharp
{
/// <summary>
/// Git specific modes for entries.
/// </summary>
public enum Mode
{
// Inspired from http://stackoverflow.com/a/8347325/335418
/// <summary>
/// 000000 file mode (the entry doesn't exist)
/// </summary>
Nonexisten... | Improve documentation of 0100664 mode usage | Improve documentation of 0100664 mode usage
| C# | mit | OidaTiftla/libgit2sharp,dlsteuer/libgit2sharp,AMSadek/libgit2sharp,vivekpradhanC/libgit2sharp,libgit2/libgit2sharp,psawey/libgit2sharp,psawey/libgit2sharp,yishaigalatzer/LibGit2SharpCheckOutTests,dlsteuer/libgit2sharp,oliver-feng/libgit2sharp,PKRoma/libgit2sharp,jamill/libgit2sharp,GeertvanHorrik/libgit2sharp,xoofx/lib... |
2fda0b71fe44891089d59ecdfbbc10bffdd8d340 | PrintNodeComputer.cs | PrintNodeComputer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PrintNodeNet.Http;
namespace PrintNodeNet
{
public sealed class PrintNodeComputer
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProper... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using PrintNodeNet.Http;
namespace PrintNodeNet
{
public sealed class PrintNodeComputer
{
[JsonProperty("id")]
public long Id { get; set; }
[JsonProper... | Add method to get a computer’s printers | Add method to get a computer’s printers
| C# | mit | christianz/printnode-net |
77f8df930f7530d4e20d187c517729125498ecd8 | src/OnPremise/WebSite/ViewModels/RelyingPartyViewModel.cs | src/OnPremise/WebSite/ViewModels/RelyingPartyViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Thinktecture.IdentityServer.Web.ViewModels
{
public class RelyingPartyViewModel
{
public int ID { get; set; }
public string DisplayName { get; set; }
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Thinktecture.IdentityServer.Web.ViewModels
{
public class RelyingPartyViewModel
{
public string ID { get; set; }
public string DisplayName { get; set; }
public bool Enabled { get; set; }
... | Build edit page for enabled RPs | Build edit page for enabled RPs
| C# | bsd-3-clause | rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,IdentityServer/IdentityServer2,kjnilsson/Thinktect... |
53f7f0a9f08d041e639ed071350f852c7e7ac1bd | main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs | main/dbms_gui_02/dbms_gui_02/dbms_objects_data/Table.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace dbms_objects_data
{
class Table
{
public DataTable table = new DataTable();
public Table()
{
}
public bool insertRows(str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace dbms_objects_data
{
class Table
{
public DataTable table = new DataTable();
public Table()
{
}
public bool insertRows(str... | Update in creation of table | Update in creation of table
| C# | mpl-2.0 | pontazaricardo/DBMS_Parser_Insert |
c61b5bb979d682a5d7bf527578e4b82b7adc78bf | source/Core/Models/ClientSecret.cs | source/Core/Models/ClientSecret.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | Add expiration to client secret | Add expiration to client secret
| C# | apache-2.0 | chicoribas/IdentityServer3,jonathankarsh/IdentityServer3,delRyan/IdentityServer3,delloncba/IdentityServer3,roflkins/IdentityServer3,angelapper/IdentityServer3,openbizgit/IdentityServer3,ryanvgates/IdentityServer3,bodell/IdentityServer3,tonyeung/IdentityServer3,charoco/IdentityServer3,tuyndv/IdentityServer3,uoko-J-Go/Id... |
2922998dddb3ab81209ad06ec6bf491c7e23ed0d | Assets/NaughtyAttributes/Scripts/Test/ValidateInputTest.cs | Assets/NaughtyAttributes/Scripts/Test/ValidateInputTest.cs | using UnityEngine;
namespace NaughtyAttributes.Test
{
public class ValidateInputTest : MonoBehaviour
{
[ValidateInput("NotZero0", "int0 must not be zero")]
public int int0;
private bool NotZero0(int value)
{
return value != 0;
}
public ValidateInputNest1 nest1;
}
[System.Seriali... | using UnityEngine;
namespace NaughtyAttributes.Test
{
public class ValidateInputTest : MonoBehaviour
{
[ValidateInput("NotZero0", "int0 must not be zero")]
public int int0;
private bool NotZero0(int value)
{
return value != 0;
}
public ValidateInputNest1 nest1;
public ValidateInp... | Create test for inherited private validator function | Create test for inherited private validator function
| C# | mit | dbrizov/NaughtyAttributes |
45e23e1ad95a440ec75c0d8095deabfc32183eff | tests/cs-errors/misspelled-name/MisspelledMemberName.cs | tests/cs-errors/misspelled-name/MisspelledMemberName.cs | using static System.Console;
public class Counter
{
public Counter() { }
public int Count;
public Counter Increment()
{
Count++;
return this;
}
}
public static class Program
{
public static readonly Counter printCounter = new Counter();
public static void Main()
{
... | using static System.Console;
public class Counter
{
public Counter() { }
public int Count;
public Counter Increment()
{
Count++;
return this;
}
}
public static class Program
{
public static readonly Counter printCounter = new Counter();
public static void Main()
{
... | Add unqualified name lookup to the MissingMemberName test | Add unqualified name lookup to the MissingMemberName test
| C# | mit | jonathanvdc/ecsc |
620006fa7689f779b248b2d9fa720afa9f596552 | Extractor/Extractor.Core.Tests/FileReaderTests.cs | Extractor/Extractor.Core.Tests/FileReaderTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Xtrmstep.Extractor.Core.Tests
{
public class FileReaderTests
{
const string testDataFolder = @"f:\TestData\";
[Fact(DisplayName = "Read JSON Files / One e... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Xtrmstep.Extractor.Core.Tests
{
public class FileReaderTests
{
const string testDataFolder = @"c:\TestData\";
[Fact(DisplayName = "Read JSON Files / One e... | Test for sequence in JSON | Test for sequence in JSON
| C# | mit | xtrmstep/xtrmstep.extractor |
fa7be52fa71ab991d7911c558b05ed48f2a1cda3 | VotingApplication/VotingApplication.Web.Api/Global.asax.cs | VotingApplication/VotingApplication.Web.Api/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using VotingApplication.Data.Context;
using VotingApplicati... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using VotingApplication.Data.Context;
using VotingApplicati... | Revert "Force fix for new databases" | Revert "Force fix for new databases"
This reverts commit bb721dd50c2a7e59cdafab1623fb2792c009d57c.
| C# | apache-2.0 | stevenhillcox/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,J... |
bc48ccef88b3ccd5231aaa3882d5d9e953923b1f | SupportManager.Control/SupportManagerService.cs | SupportManager.Control/SupportManagerService.cs | using Hangfire;
using StructureMap;
using SupportManager.Control.Infrastructure;
using Topshelf;
namespace SupportManager.Control
{
public class SupportManagerService : ServiceControl
{
private readonly IContainer container;
private BackgroundJobServer jobServer;
public SupportManagerS... | using Hangfire;
using StructureMap;
using SupportManager.Contracts;
using SupportManager.Control.Infrastructure;
using Topshelf;
namespace SupportManager.Control
{
public class SupportManagerService : ServiceControl
{
private readonly IContainer container;
private BackgroundJobServer jobServer;... | Add recurring job for reading status | Add recurring job for reading status
| C# | mit | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager |
cb3e032b6228c04d44fc8414eb8e4f5dcd3433eb | test/GlobalSearch.cs | test/GlobalSearch.cs | using NUnit.Framework;
using OpenQA.Selenium;
using System.Linq;
namespace Vidyano.Test
{
[TestFixture("chrome")]
[TestFixture("safari")]
[TestFixture("firefox")]
[TestFixture("edge")]
[TestFixture("ie")]
[Parallelizable(ParallelScope.Fixtures)]
public class GlobalSearch: BrowserStackTestB... | using NUnit.Framework;
using OpenQA.Selenium;
using System.Linq;
namespace Vidyano.Test
{
[TestFixture("chrome")]
[TestFixture("safari")]
[TestFixture("firefox")]
[TestFixture("edge")]
[TestFixture("ie")]
[Parallelizable(ParallelScope.Fixtures)]
public class GlobalSearch: BrowserStackTestB... | Make sure grid is not still initializing when verifying its data | Make sure grid is not still initializing when verifying its data
| C# | mit | 2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano |
f1bfc9d56a5233622a36252ee5bb8769792f1e1c | ClosedXML/Utils/OpenXmlHelper.cs | ClosedXML/Utils/OpenXmlHelper.cs | using DocumentFormat.OpenXml;
namespace ClosedXML.Utils
{
internal static class OpenXmlHelper
{
public static BooleanValue GetBooleanValue(bool value, bool defaultValue)
{
return value == defaultValue ? null : new BooleanValue(value);
}
public static bool GetBoolea... | using DocumentFormat.OpenXml;
namespace ClosedXML.Utils
{
internal static class OpenXmlHelper
{
public static BooleanValue GetBooleanValue(bool value, bool defaultValue)
{
return value == defaultValue ? null : new BooleanValue(value);
}
public static bool GetBoolea... | Fix converter for possible null values. | Fix converter for possible null values.
| C# | mit | igitur/ClosedXML,b0bi79/ClosedXML,ClosedXML/ClosedXML |
c8b600802b49f859e56c1db63bc610b33da485e0 | CSharpMath.Ios.Example/IosMathViewController.cs | CSharpMath.Ios.Example/IosMathViewController.cs | using UIKit;
namespace CSharpMath.Ios.Example {
public class IosMathViewController : UIViewController {
public override void ViewDidLoad() {
View.BackgroundColor = UIColor.White;
var latexView = IosMathLabels.MathView(Rendering.Tests.MathData.ColorBox, 50); // WJWJWJ latex here
latexView.Conte... | using UIKit;
namespace CSharpMath.Ios.Example {
public class IosMathViewController : UIViewController {
public override void ViewDidLoad() {
View.BackgroundColor = UIColor.White;
var latexView = IosMathLabels.MathView(Rendering.Tests.MathData.IntegralColorBoxCorrect, 50); // WJWJWJ latex here
... | Use an actual available choice for LaTeX | Use an actual available choice for LaTeX | C# | mit | verybadcat/CSharpMath |
ddac3f23ae75409784e49a39819c052a7d516c7c | Sketchball/Elements/Ball.cs | Sketchball/Elements/Ball.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sketchball.Elements
{
public class Ball : PinballElement, IPhysics
{
private Vector2 v;
private Vector2 v0;
long t = 0;
public V... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sketchball.Elements
{
public class Ball : PinballElement, IPhysics
{
public Vector2 Velocity
{
get;
set;
}
... | Move away from v0 approach. | Move away from v0 approach.
| C# | mit | EusthEnoptEron/Sketchball |
40941c5b60a4413eedab7c582008e35f6d7573f9 | src/TypeScriptBinding/Properties/AddinInfo.cs | src/TypeScriptBinding/Properties/AddinInfo.cs |
using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly:Addin ("TypeScript",
Namespace = "MonoDevelop",
Version = "0.6",
Category = "Web Development")]
[assembly:AddinName ("TypeScript")]
[assembly:AddinDescription ("Adds TypeScript support. Updated to use TypeScript 1.4")]
[assembly:AddinDepe... |
using System;
using Mono.Addins;
using Mono.Addins.Description;
[assembly:Addin ("TypeScript",
Namespace = "MonoDevelop",
Version = "0.6",
Category = "Web Development")]
[assembly:AddinName ("TypeScript")]
[assembly:AddinDescription ("Adds TypeScript support. Updated to use TypeScript 1.5.3")]
[assembly:AddinDe... | Update addin info showing that addin uses TypeScript 1.5.3 | Update addin info showing that addin uses TypeScript 1.5.3
| C# | mit | mrward/typescript-addin,mrward/typescript-addin |
1828a30c1dcd0df2db8dd18583dc6d5397d4eaf2 | ConsoleApps/FunWithSpikes/Wix.CustomActions/CustomAction.cs | ConsoleApps/FunWithSpikes/Wix.CustomActions/CustomAction.cs | using System;
using Microsoft.Deployment.WindowsInstaller;
namespace Wix.CustomActions
{
using System.IO;
using System.Diagnostics;
public class CustomActions
{
[CustomAction]
public static ActionResult CloseIt(Session session)
{
try
{
... | using Microsoft.Deployment.WindowsInstaller;
using System;
using System.IO;
namespace Wix.CustomActions
{
public class CustomActions
{
[CustomAction]
public static ActionResult CloseIt(Session session)
{
try
{
string fileFullPath = Path.Combine(E... | Make the custom action not have to use Debugger.Launch to prove that it works. | Make the custom action not have to use Debugger.Launch to prove that it works.
| C# | mit | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes |
08faef694bde8b66b7234c231ea58b89a058a951 | osu.Game/Screens/Edit/Timing/DifficultySection.cs | osu.Game/Screens/Edit/Timing/DifficultySection.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.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Screens.Edit.Timing
{
internal class Difficu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Screens.Edit.Timing
{
internal class Difficu... | Add change handling for difficulty section | Add change handling for difficulty section
| C# | mit | ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu |
9b8184c7d90defef736e087a758b70be7fd65f52 | src/NEventStore.Tests/DefaultSerializationWireupTests.cs | src/NEventStore.Tests/DefaultSerializationWireupTests.cs | namespace NEventStore
{
using FluentAssertions;
using NEventStore.Persistence.AcceptanceTests;
using NEventStore.Persistence.AcceptanceTests.BDD;
using System;
using Xunit;
public class DefaultSerializationWireupTests
{
public class when_building_an_event_store_without_an_explicit_... | namespace NEventStore
{
using FluentAssertions;
using NEventStore.Persistence.AcceptanceTests;
using NEventStore.Persistence.AcceptanceTests.BDD;
using System;
using Xunit;
public class DefaultSerializationWireupTests
{
public class when_building_an_event_store_without_an_explicit_... | Fix assertion, need to check if it's not null first. | Fix assertion, need to check if it's not null first.
| C# | mit | gael-ltd/NEventStore |
1fbc47f75857140072163b960ce0392d3f0e1910 | SnappyMap/CommandLine/Options.cs | SnappyMap/CommandLine/Options.cs | namespace SnappyMap.CommandLine
{
using System.Collections.Generic;
using global::CommandLine;
using global::CommandLine.Text;
public class Options
{
[Option('s', "size", DefaultValue = "8x8", HelpText = "Set the size of the output map.")]
public string Size { get; set; ... | namespace SnappyMap.CommandLine
{
using System.Collections.Generic;
using global::CommandLine;
using global::CommandLine.Text;
public class Options
{
[Option('s', "size", DefaultValue = "8x8", HelpText = "Set the size of the output map.")]
public string Size { get; set; ... | Change library command line option | Change library command line option
| C# | mit | MHeasell/SnappyMap,MHeasell/SnappyMap |
def804300c4c961698b3f25cf2335b4d4a80b9b6 | src/app/Sieve.NET.Core/Properties/AssemblyInfo.cs | src/app/Sieve.NET.Core/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("Si... | 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("Si... | Update assembly to version 0. | Update assembly to version 0.
| C# | mit | SeanKilleen/Sieve.NET |
120dffda5fb4ccc635a7ff0cb53e038f145a8bcb | TodoPad/Views/MainWindow.xaml.cs | TodoPad/Views/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using TodoPad.Models;
using TodoPad.Task_Parser;
namespace TodoPad.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public par... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using TodoPad.Models;
using TodoPad.Task_Parser;
namespace TodoPad.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
///... | Change parsing to only trigger on changed lines. | Change parsing to only trigger on changed lines.
| C# | mit | jcheng31/todoPad |
55018579c3565e0c4abf8fce19e5a30c8577da29 | MvvmLightBindings/MvvmLightBindings.UITest/Tests.cs | MvvmLightBindings/MvvmLightBindings.UITest/Tests.cs | using System.Linq;
using NUnit.Framework;
using Xamarin.UITest;
namespace MvvmLightBindings.UITest
{
[TestFixture(Platform.Android)]
[TestFixture(Platform.iOS)]
public class Tests
{
IApp app;
Platform platform;
public Tests(Platform platform)
{
this.platfor... | using System.Linq;
using NUnit.Framework;
using Xamarin.UITest;
namespace MvvmLightBindings.UITest
{
[TestFixture(Platform.Android)]
[TestFixture(Platform.iOS)]
public class Tests
{
IApp app;
Platform platform;
public Tests(Platform platform)
{
this.platfor... | Add category to test run | Add category to test run
| C# | apache-2.0 | mallibone/MvvmLightSamples |
fb69d085f6e2c437bdbacb71283ce9ad8e71926a | SPAD.Interfaces/SimConnect/DataItemAttributeBase.cs | SPAD.Interfaces/SimConnect/DataItemAttributeBase.cs | using System;
namespace SPAD.neXt.Interfaces.SimConnect
{
public interface IDataItemAttributeBase
{
int ItemIndex
{
get;
set;
}
int ItemSize
{
get;
set;
}
float ItemEpsilon
{
get;
... | using System;
namespace SPAD.neXt.Interfaces.SimConnect
{
public interface IDataItemAttributeBase
{
int ItemIndex
{
get;
set;
}
int ItemSize
{
get;
set;
}
float ItemEpsilon
{
get;
... | Add support for fixed structures | Add support for fixed structures
| C# | mit | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt |
8b4807cfc4b37b82932ea85a986307b4d7a3c82f | Digipost.Api.Client.Domain/Identify/IdentificationById.cs | Digipost.Api.Client.Domain/Identify/IdentificationById.cs | using System;
using Digipost.Api.Client.Domain.Enums;
namespace Digipost.Api.Client.Domain.Identify
{
public class IdentificationById : IIdentification
{
public IdentificationById(IdentificationType identificationType, string value)
{
IdentificationType = identificationType;
... | using System;
using Digipost.Api.Client.Domain.Enums;
namespace Digipost.Api.Client.Domain.Identify
{
public class IdentificationById : IIdentification
{
public IdentificationById(IdentificationType identificationType, string value)
{
IdentificationType = identificationType;
... | Add descriptor to IgnoreCase for parsing of enum | Add descriptor to IgnoreCase for parsing of enum
| C# | apache-2.0 | digipost/digipost-api-client-dotnet |
a9fbabebb6f4347312c23a10dd866b9060292fcb | SecretSanta/Views/Home/Index.cshtml | SecretSanta/Views/Home/Index.cshtml | @model SendLogInLinkModel
@{
ViewBag.Title = "Send Log In Link";
}
<div class="jumbotron">
<div class="row">
<div class="col-lg-6">
<h1>Welcome to Secret Santa!</h1>
@using (Html.BeginForm("LogIn", "Account", FormMethod.Post, new { role = "form", @class = "form-horizontal" }))... | @model SendLogInLinkModel
@{
ViewBag.Title = "Send Log In Link";
}
<div class="jumbotron">
<div class="row">
<div class="col-lg-6">
<h1>Welcome to Secret Santa!</h1>
@using (Html.BeginForm("SendLogInLink", "Account", FormMethod.Post, new { role = "form", @class = "form-horizon... | Correct action for send log in link form | Correct action for send log in link form
| C# | apache-2.0 | bradwestness/SecretSanta,bradwestness/SecretSanta |
2d4f858cc95e098912cc37548c4a8176cbcc6cca | Withings.Specifications/DateTimeExtensionsTests.cs | Withings.Specifications/DateTimeExtensionsTests.cs | using System;
using FluentAssertions;
using NUnit.Framework;
using Withings.NET.Client;
namespace Withings.Specifications
{
[TestFixture]
public class DateTimeExtensionsTests
{
[Test]
public void DoubleFromUnixTimeTest()
{
((double)1491934309).FromUnixTime().Date.Should(... | using System;
using FluentAssertions;
using NUnit.Framework;
using Withings.NET.Client;
namespace Withings.Specifications
{
[TestFixture]
public class DateTimeExtensionsTests
{
[Test]
public void DoubleFromUnixTimeTest()
{
((double)1491934309).FromUnixTime().Date.Should(... | Add Tests For DateTime Extensions | Add Tests For DateTime Extensions
| C# | mit | atbyrd/Withings.NET,atbyrd/Withings.NET |
afd389fa69777b5cdd0d88000501bd079b824f86 | osu.Framework.Tests/Platform/HeadlessGameHostTest.cs | osu.Framework.Tests/Platform/HeadlessGameHostTest.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 System;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Platform;
namespace osu.Framework.Tests.Platform
{
[TestFixture]
pub... | // 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 System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Platform;
namespace osu.Framework.Tests.Platfo... | Fix usage of deprecated Action.BeginInvoke() | Fix usage of deprecated Action.BeginInvoke()
| C# | mit | smoogipooo/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-fram... |
4e839e4f1fb595740caa29f901f7072fc2858f23 | osu.Game.Tests/Visual/Menus/TestSceneIntroWelcome.cs | osu.Game.Tests/Visual/Menus/TestSceneIntroWelcome.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Screens;
using osu.Game.Screens.Menu;
namespace osu.Game.Tests.Visual.Menus
{
[TestFixture]
public class TestSceneInt... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Audio.Track;
using osu.Framework.Screens;
using osu.Game.Screens.Menu;
namespace osu.Game.Tests.Visual.Menus
{
[TestFixtu... | Fix "welcome" intro test failure due to no wait logic | Fix "welcome" intro test failure due to no wait logic
| C# | mit | peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu |
be500070ad1620f5fc21b77ea94fb802b0c9b22c | MongoDBDriver/AssemblyInfo.cs | MongoDBDriver/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Permissions;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MongoDBDriver")]
[assembly: AssemblyDescripti... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security.Permissions;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MongoDBDriver")]
[assembly: AssemblyDescripti... | Revert last commit since it is currently not possible. | Revert last commit since it is currently not possible.
| C# | apache-2.0 | samus/mongodb-csharp,mongodb-csharp/mongodb-csharp,zh-huan/mongodb |
595f2abaaaaa02e67df94c0be9f05b45f48817ed | SGEnviro/Utilities/Parsing.cs | SGEnviro/Utilities/Parsing.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace SGEnviro.Utilities
{
public class NumberParseException : Exception
{
public NumberParseException(string message) { }
}
public class Parsing
{
public static v... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace SGEnviro.Utilities
{
public class NumberParseException : Exception
{
public NumberParseException(string message) { }
}
public class Parsing
{
public static v... | Add method to parse ints and throw exception on failure. | Add method to parse ints and throw exception on failure.
| C# | mit | jcheng31/SGEnviro |
7276059d806ac5998686a61f8cc9e220c17aef9d | WendySharp/Commands/Parrot.cs | WendySharp/Commands/Parrot.cs | using System;
using System.Collections.Generic;
namespace WendySharp
{
class Parrot : Command
{
public Parrot()
{
Match = new List<string>
{
"parrot"
};
Usage = "<text>";
ArgumentMatch = "(?<text>.+)$";
Hel... | using System;
using System.Collections.Generic;
namespace WendySharp
{
class Parrot : Command
{
public Parrot()
{
Match = new List<string>
{
"parrot"
};
Usage = "<text>";
ArgumentMatch = "(?<text>.+)$";
Hel... | Add max length to parrot | Add max length to parrot
| C# | mit | xPaw/WendySharp |
f685d0772da67bf5289b83f94be497d4c3c41baf | src/CGO.Web/NinjectModules/RavenModule.cs | src/CGO.Web/NinjectModules/RavenModule.cs | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | Disable Raven's Embedded HTTP server | Disable Raven's Embedded HTTP server
I'm not really making use of this, and it's preventing successful
deployment in Azure.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
734379af4722a831111375a490f6fff6309d57b2 | osu.Framework/Threading/AudioThread.cs | osu.Framework/Threading/AudioThread.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.Statistics;
using System;
using System.Collections.Generic;
using osu.Framework.Audio;
namespace osu.Framework.Threading
{
public class AudioThr... | // 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.Statistics;
using System;
using System.Collections.Generic;
using osu.Framework.Audio;
namespace osu.Framework.Threading
{
public class AudioThr... | Use for loop to avoid nested unregister case | Use for loop to avoid nested unregister case
| C# | mit | peppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framewor... |
0fec24c844b9b0fed31569b03ee12fe89e3629e0 | src/BmpListener/Serialization/Models/UpdateModel.cs | src/BmpListener/Serialization/Models/UpdateModel.cs | using System.Collections.Generic;
namespace BmpListener.Serialization.Models
{
public class UpdateModel
{
public PeerHeaderModel Peer { get; set; }
public string Origin { get; set; }
public IList<int> AsPath { get; set; }
public IList<AnnounceModel> Announce { get; set; }
... | using System.Collections.Generic;
namespace BmpListener.Serialization.Models
{
public class UpdateModel
{
public int BmpMsgLength { get; set; }
public int BgpMsgLength { get; set; }
public PeerHeaderModel Peer { get; set; }
public string Origin { get; set; }
public ILis... | Add BGP and BMP message lengths to JSON | Add BGP and BMP message lengths to JSON
| C# | mit | mstrother/BmpListener |
4cfe064b63d300cd23ff4a409079a3da6a1bb6fa | src/Raven.Contrib.AspNet.Demo/Extensions/UriExtensions.cs | src/Raven.Contrib.AspNet.Demo/Extensions/UriExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Raven.Contrib.AspNet.Demo.Extensions
{
public static class UriExtensions
{
public static Uri AddQueryParameter(this Uri uri, KeyValuePair<string, string> pair)
{
return uri.AddQueryParame... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Raven.Contrib.AspNet.Demo.Extensions
{
public static class UriExtensions
{
public static Uri AddQueryParameter(this Uri uri, KeyValuePair<string, string> pair)
{
return uri.AddQueryParame... | Fix "double question mark" bug in UriBuilder | Fix "double question mark" bug in UriBuilder
I ran into this bug when calling AddQueryParameter multiple times.
I found the solution here: http://www.andornot.com/blog/post/The-Uri-gotcha-that-gotchad-me-good.aspx | C# | mit | ravendb/ravendb.contrib |
42443b303c6e86b78a183f2b9044fa2cd0acbec8 | Algorithm.CSharp/Benchmarks/EmptyMinute400EquityAlgorithm.cs | Algorithm.CSharp/Benchmarks/EmptyMinute400EquityAlgorithm.cs | using System.Collections.Generic;
using System.Linq;
using QuantConnect.Data;
namespace QuantConnect.Algorithm.CSharp.Benchmarks
{
public class EmptyMinute400EquityAlgorithm : QCAlgorithm
{
public override void Initialize()
{
SetStartDate(2015, 09, 28);
SetEndDate(2015,... | using System.Collections.Generic;
using System.Linq;
using QuantConnect.Data;
namespace QuantConnect.Algorithm.CSharp.Benchmarks
{
public class EmptyMinute400EquityAlgorithm : QCAlgorithm
{
public override void Initialize()
{
SetStartDate(2015, 09, 28);
SetEndDate(2015,... | Increase length of benchmark algorithm | Increase length of benchmark algorithm
| C# | apache-2.0 | JKarathiya/Lean,FrancisGauthier/Lean,FrancisGauthier/Lean,mabeale/Lean,JKarathiya/Lean,Jay-Jay-D/LeanSTP,JKarathiya/Lean,squideyes/Lean,mabeale/Lean,AlexCatarino/Lean,kaffeebrauer/Lean,bdilber/Lean,AnshulYADAV007/Lean,QuantConnect/Lean,Obawoba/Lean,andrewhart098/Lean,devalkeralia/Lean,squideyes/Lean,mabeale/Lean,bizcad... |
86ca74d1b47acbf1eacc92d833bbc9c203deb1da | samples/templates/atom.cs | samples/templates/atom.cs | <?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text"><?cs var:title ?></title>
<subtitle type="text"><?cs var:title ?></subtitle>
<id><?cs var:url ?>/</id>
<link rel="self" href="<?cs var:url ?><?cs var:CGI.RequestURI ?>" />
<link rel="alternate" type="text/html" hre... | <?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="text"><?cs var:title ?></title>
<subtitle type="text"><?cs var:title ?></subtitle>
<id><?cs var:url ?>/</id>
<link rel="self" href="<?cs var:url ?><?cs var:CGI.RequestURI ?>" />
<link rel="alternate" type="text/html" hre... | Use new author var for posts too | Use new author var for posts too
| C# | bsd-2-clause | bapt/cblog,bapt/cblog |
b2acd51b9d172d87749b38b0f2dc55e30405de7c | client/BlueMonkey/BlueMonkey/ViewModels/MainPageViewModel.cs | client/BlueMonkey/BlueMonkey/ViewModels/MainPageViewModel.cs | using System;
using Prism.Mvvm;
using Prism.Navigation;
using Reactive.Bindings;
namespace BlueMonkey.ViewModels
{
/// <summary>
/// ViewModel for MainPage.
/// </summary>
public class MainPageViewModel : BindableBase
{
/// <summary>
/// NavigationService
/// </summary>
... | using System;
using Prism.Mvvm;
using Prism.Navigation;
using Prism.Services;
using Reactive.Bindings;
namespace BlueMonkey.ViewModels
{
/// <summary>
/// ViewModel for MainPage.
/// </summary>
public class MainPageViewModel : BindableBase
{
/// <summary>
/// NavigationService
... | Change to show alert if Secrets.cs is not edited | Change to show alert if Secrets.cs is not edited
| C# | mit | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey |
6d3f8aa3ee85eccf62d81bc32cbdc3d18eace716 | component/samples/Tasky/TaskySharedCode/TodoDatabaseADO.cs | component/samples/Tasky/TaskySharedCode/TodoDatabaseADO.cs | using System;
using System.Linq;
using System.Collections.Generic;
using Realms;
using System.IO;
namespace Tasky.Shared
{
/// <summary>
/// TaskDatabase uses ADO.NET to create the [Items] table and create,read,update,delete data
/// </summary>
public class TodoDatabase
{
private Realm re... | using System;
using System.Linq;
using System.Collections.Generic;
using Realms;
using System.IO;
namespace Tasky.Shared
{
/// <summary>
/// TaskDatabase uses ADO.NET to create the [Items] table and create,read,update,delete data
/// </summary>
public class TodoDatabase
{
private Realm re... | Fix typo in Tasky GetItem | Fix typo in Tasky GetItem
| C# | apache-2.0 | realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet |
6ecb83247fd74752bb021869714336b0d363b560 | SnakeMess/Component.cs | SnakeMess/Component.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using ... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using ... | Use newly created vector object | Use newly created vector object
| C# | mit | eivindveg/PG3300-Innlevering1 |
a68b344bf0b67b2ea05029f6cdb69510c2594071 | ZendeskApi_v2/Models/Targets/BaseTarget.cs | ZendeskApi_v2/Models/Targets/BaseTarget.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace ZendeskApi_v2.Models.Targets
{
public class BaseTarget
{
[JsonProperty("id")]
public long? Id { get; set; }
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("type")... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace ZendeskApi_v2.Models.Targets
{
public class BaseTarget
{
[JsonProperty("id")]
public long? Id { get; set; }
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("type")... | Test fix for appveyor CS0840 | Test fix for appveyor CS0840
| C# | apache-2.0 | CKCobra/ZendeskApi_v2,mattnis/ZendeskApi_v2,mwarger/ZendeskApi_v2 |
1e06820f71a9a15333195b02d67dd0b77013f119 | src/Cocoa/AppDelegate.cs | src/Cocoa/AppDelegate.cs | using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
using NLog;
using Radish.Support;
using System.IO;
namespace Radish
{
public partial class AppDelegate : NSApplicationDelegate
{
private static Logger logger = LogManager.GetCurrentClassLogger();
MainW... | using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
using NLog;
using Radish.Support;
using System.IO;
namespace Radish
{
public partial class AppDelegate : NSApplicationDelegate
{
private static Logger logger = LogManager.GetCurrentClassLogger();
priva... | Fix issue of file opened via Finder doesn't always display. | Fix issue of file opened via Finder doesn't always display.
| C# | mit | kevintavog/Radish.net,kevintavog/Radish.net |
097788f672e65e9c83d005a3029a3193d8f5faef | DevelopmentInProgress.DipState/DipStateActionType.cs | DevelopmentInProgress.DipState/DipStateActionType.cs | using System.Xml.Serialization;
namespace DevelopmentInProgress.DipState
{
public enum DipStateActionType
{
[XmlEnum("1")]
Entry,
[XmlEnum("2")]
Exit
}
}
| using System.Xml.Serialization;
namespace DevelopmentInProgress.DipState
{
public enum DipStateActionType
{
[XmlEnum("1")]
Status,
[XmlEnum("2")]
Entry,
[XmlEnum("3")]
Exit
}
}
| Add action type for status | Add action type for status
Add action type for status
| C# | apache-2.0 | grantcolley/dipstate |
c7026d735896d5b2b2176a710123021cbf8768dd | NuGet.Extensions.Tests/Nuspec/NuspecBuilderTests.cs | NuGet.Extensions.Tests/Nuspec/NuspecBuilderTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Moq;
using NuGet.Common;
using NuGet.Extensions.Nuspec;
using NUnit.Framework;
namespace NuGet.Extensions.Tests.Nuspec
{
[TestFixture]
public class NuspecBuilderTests
{
[Test]
publi... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Moq;
using NuGet.Common;
using NuGet.Extensions.Nuspec;
using NuGet.Extensions.Tests.MSBuild;
using NUnit.Framework;
namespace NuGet.Extensions.Tests.Nuspec
{
[TestFixture]
public class NuspecBuilderTe... | Test target framework written as expected (characterise current lack of validation) | Test target framework written as expected (characterise current lack of validation)
| C# | mit | BenPhegan/NuGet.Extensions |
4bdd9d58f3303c33cada2a467f3ead7a6714238d | test/Telegram.Bot.Tests.Integ/Framework/Extensions.cs | test/Telegram.Bot.Tests.Integ/Framework/Extensions.cs | using System;
using System.Linq;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace Telegram.Bot.Tests.Integ.Framework
{
internal static class Extensions
{
public static User GetUser(this Update update)
{
switch (update.Type)
{
case Updat... | using System;
using System.Linq;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
namespace Telegram.Bot.Tests.Integ.Framework
{
internal static class Extensions
{
public static User GetUser(this Update update)
{
switch (update.Type)
{
case Updat... | Fix bug in fixture with unescaped underscore in username | Fix bug in fixture with unescaped underscore in username
| C# | mit | AndyDingo/telegram.bot,MrRoundRobin/telegram.bot,TelegramBots/telegram.bot |
5e337f9ddb56b5f49e38cd60d4eea1ef23317728 | Assets/UnityUtilities/Scripts/Misc/UnityUtils.cs | Assets/UnityUtilities/Scripts/Misc/UnityUtils.cs | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (KeyCode key in keys)
{
if (Input.GetKeyUp(key))
return true;
}
return false;
}
... | using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Networking;
public static class UnityUtils
{
public static bool IsAnyKeyUp(KeyCode[] keys)
{
foreach (KeyCode key in keys)
{
if (Input.GetKeyUp(key))
return true;
}
return false;
}
... | Improve network game object detection codes | Improve network game object detection codes
| C# | mit | insthync/unity-utilities |
b119a0909ecf30090d8852d738d3f9b6a740964d | SignalR.Hosting.AspNet.Samples/App_Start/Startup.cs | SignalR.Hosting.AspNet.Samples/App_Start/Startup.cs | using System;
using System.Diagnostics;
using System.Threading;
using System.Web.Routing;
using SignalR.Hosting.AspNet.Routing;
using SignalR.Samples.App_Start;
using SignalR.Samples.Hubs.DemoHub;
[assembly: WebActivator.PreApplicationStartMethod(typeof(Startup), "Start")]
namespace SignalR.Samples.App_Start
{
p... | using System;
using System.Diagnostics;
using System.Threading;
using System.Web.Routing;
using SignalR.Hosting.AspNet.Routing;
using SignalR.Samples.App_Start;
using SignalR.Samples.Hubs.DemoHub;
[assembly: WebActivator.PostApplicationStartMethod(typeof(Startup), "Start")]
namespace SignalR.Samples.App_Start
{
... | Change samples to use PostApplicationStart instead of pre. | Change samples to use PostApplicationStart instead of pre.
| C# | mit | shiftkey/SignalR,shiftkey/SignalR |
17838271e6092c7eb7923918a8317f0bff9e8665 | LuckyPlayer/LuckyPlayer/DestinyTuner.cs | LuckyPlayer/LuckyPlayer/DestinyTuner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JLChnToZ.LuckyPlayer {
public class DestinyTuner<T> {
static DestinyTuner<T> defaultInstance;
public static DestinyTuner<T> Default {
get {
if(d... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JLChnToZ.LuckyPlayer {
public class DestinyTuner<T> {
static DestinyTuner<T> defaultInstance;
public static DestinyTuner<T> Default {
get {
if(d... | Remove range constraint in destiny tuner | Remove range constraint in destiny tuner
| C# | mit | JLChnToZ/LuckyPlayer |
f18240cc58dca678405d19cb9efa113d6aaeee8c | Assets/UnityCNTK/Scripts/Models/_Model.cs | Assets/UnityCNTK/Scripts/Models/_Model.cs | using System;
using System.Collections.Generic;
using UnityEngine;
using CNTK;
using UnityEngine.Events;
using System.Threading;
using UnityEngine.Assertions;
namespace UnityCNTK
{
/// <summary>
/// the non-generic base class for all model
/// only meant to be used for model management and GUI s... | using System;
using System.Collections.Generic;
using UnityEngine;
using CNTK;
using UnityEngine.Events;
using System.Threading;
using UnityEngine.Assertions;
namespace UnityCNTK
{
/// <summary>
/// the non-generic base class for all model
/// only meant to be used for model management and GUI s... | Make model to text asset so it can be loaded just like everything else | Make model to text asset so it can be loaded just like everything else
| C# | mit | tobyclh/UnityCNTK,tobyclh/UnityCNTK |
c9f25e1b621065fa5aa3f855f716c623b7d26192 | buildconfig.cake | buildconfig.cake | public class BuildConfig
{
private const string Version = "0.3.0";
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
public string BuildProfile { get; private set; ... | public class BuildConfig
{
private const string Version = "0.4.0";
private const bool IsPreRelease = true;
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
pub... | Build script, no dep on branch for now | Build script, no dep on branch for now
| C# | mit | danielwertheim/mynatsclient,danielwertheim/mynatsclient |
a02adfdbd4efb69dd44d0ed872da398bb8ba09df | osu.Game.Rulesets.Osu/Skinning/Default/KiaiFlash.cs | osu.Game.Rulesets.Osu/Skinning/Default/KiaiFlash.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.Audio.Track;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Graphics.Contain... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Audio.Track;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Gr... | Fix crash on super high bpm kiai sections | Fix crash on super high bpm kiai sections
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu |
2df71a5c9b7576594679d0a79d3e7704d0a18f1d | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle... | using System.Collections.Generic;
using System.Net.Mail;
namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
public struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle... | Add whitespace to type enum definitions | Add whitespace to type enum definitions
| C# | apache-2.0 | SICU-Stress-Measurement-System/frontend-cs |
bd351535177d0ba388b00cacae85aef856a04f57 | osu.Framework/Graphics/Transformations/ITransform.cs | osu.Framework/Graphics/Transformations/ITransform.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Transformations
{
public interface ITransform
{
double Duration { get; }
bool ... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Transformations
{
public interface ITransform
{
double Duration { get; }
bool ... | Fix incorrect default value in interface. | Fix incorrect default value in interface.
| C# | mit | NeoAdonis/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,ppy/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,paparony03/osu-framework,peppy/osu-framework,Tom94/osu-framework,Re... |
72023606ff239d07092f661d5cba6cb4b7267b30 | src/NEventStore/CommonDomain/Core/ExtensionMethods.cs | src/NEventStore/CommonDomain/Core/ExtensionMethods.cs | namespace CommonDomain.Core
{
using System.Globalization;
internal static class ExtensionMethods
{
public static string FormatWith(this string format, params object[] args)
{
return string.Format(CultureInfo.InvariantCulture, format ?? string.Empty, args);
}
public static void ThrowHandlerNotFound(this ... | namespace CommonDomain.Core
{
using System.Globalization;
internal static class ExtensionMethods
{
public static string FormatWith(this string format, params object[] args)
{
return string.Format(CultureInfo.InvariantCulture, format ?? string.Empty, args);
}
public static void ThrowHandlerNotFound(this ... | Fix typo in exception message | Fix typo in exception message
| C# | mit | gael-ltd/NEventStore |
db4339dc552f02aa0330a6ed0480766f2887a889 | Program.cs | Program.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace PCSBingMapKeyManager
{
class Program
{
private const string NewKeySwitch = "/a:";
static void Main(string[] args)
{
if (args.Length > 1 || args.Any() && !args[0].StartsWith(NewKeySwitch))
... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace PCSBingMapKeyManager
{
class Program
{
private const string NewKeySwitch = "/newkey:";
static void Main(string[] args)
{
if (args.Length > 1 || args.Any() && !args[0].StartsWith(NewKeySwit... | Change the switch to set/update key to "/newkey:" | Change the switch to set/update key to "/newkey:"
| C# | mit | IoTChinaTeam/PCSBingMapKeyManagerFX |
2e2eee75f57f337204053e28b81bdc4b9559b2ee | fsserver/Comparers/TitleComparer.cs | fsserver/Comparers/TitleComparer.cs | using NMaier.sdlna.Server;
namespace NMaier.sdlna.FileMediaServer.Comparers
{
class TitleComparer : IItemComparer
{
public virtual string Description
{
get { return "Sort alphabetically"; }
}
public virtual string Name
{
get { return "title"; }
}
public virtual int Com... | using System;
using System.Collections;
using NMaier.sdlna.Server;
using NMaier.sdlna.Util;
namespace NMaier.sdlna.FileMediaServer.Comparers
{
class TitleComparer : IItemComparer, IComparer
{
private static StringComparer comp = new NaturalStringComparer();
public virtual string Description
{
get... | Use NaturalStringComparer to compare titles | Use NaturalStringComparer to compare titles
| C# | bsd-2-clause | bra1nb3am3r/simpleDLNA,itamar82/simpleDLNA,antonio-bakula/simpleDLNA,nmaier/simpleDLNA |
63ce82888d4691818d9dc63447f4d5ad3db44f2f | R7.University/ModelExtensions/EnumerableExtensions.cs | R7.University/ModelExtensions/EnumerableExtensions.cs | //
// EnumerableExtensions.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software F... | //
// EnumerableExtensions.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software F... | Make IEnumerable.IsNullOrEmpty extension method generic | Make IEnumerable.IsNullOrEmpty extension method generic
| C# | agpl-3.0 | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University |
45bbca0381fdc6612047b2b8e86426d1ca8316ac | src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs | src/ServiceBus.AttachmentPlugin.Tests/DocoUpdater.cs | using MarkdownSnippets;
using Xunit;
public class DocoUpdater
{
[Fact]
public void Run()
{
GitHubMarkdownProcessor.RunForFilePath();
}
} | using MarkdownSnippets;
using Xunit;
public class DocoUpdater
{
[Fact]
public void Run()
{
DirectoryMarkdownProcessor.RunForFilePath();
}
} | Update MarkdownSnippets API to use new DirectoryMarkdownProcessor | Update MarkdownSnippets API to use new DirectoryMarkdownProcessor
| C# | mit | SeanFeldman/ServiceBus.AttachmentPlugin |
39efd5830a170eeb44d5ab5f9c01f3b9f23dba33 | test/Bartender.Tests/AsyncCommandDispatcherTests.cs | test/Bartender.Tests/AsyncCommandDispatcherTests.cs | using Bartender.Tests.Context;
using Moq;
using Xunit;
namespace Bartender.Tests
{
public class AsyncCommandDispatcherTests : DispatcherTests
{
[Fact]
public async void ShouldHandleCommandOnce_WhenCallDispatchAsyncMethod()
{
await AsyncCommandDispatcher.DispatchAsync<Command... | using Bartender.Tests.Context;
using Moq;
using Shouldly;
using Xunit;
namespace Bartender.Tests
{
public class AsyncCommandDispatcherTests : DispatcherTests
{
[Fact]
public async void ShouldHandleCommandOnce_WhenCallDispatchAsyncMethod()
{
await AsyncCommandDispatcher.Dispa... | Return result when dispatch a command | Return result when dispatch a command
| C# | mit | Vtek/Bartender |
16491199894638b709acb26fccb678adec5756b1 | Blueprint41.Modeller.Schemas/DatastoreModelComparer.cs | Blueprint41.Modeller.Schemas/DatastoreModelComparer.cs | using System;
using System.IO;
using System.Reflection;
namespace Blueprint41.Modeller.Schemas
{
public abstract class DatastoreModelComparer
{
static public DatastoreModelComparer Instance { get { return instance.Value; } }
static private Lazy<DatastoreModelComparer> instance = new Lazy<Datas... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Blueprint41.Modeller.Schemas
{
public abstract class DatastoreModelComparer
{
public static DatastoreModelComparer Instance { get { return instance.Value; } }
private static Lazy<DatastoreModelComparer> instan... | Load comparer assembly from bytes | Load comparer assembly from bytes
| C# | mit | xirqlz/blueprint41 |
4b3d9002914e89569c9b9a72a3a993c7f1ffd75d | build.cake | build.cake | using System.Xml.Linq;
var target = Argument<string>("target", "Default");
var configuration = Argument<string>("configuration", "Release");
var projectName = "WeakEvent";
var libraryProject = $"./{projectName}/{projectName}.csproj";
var testProject = $"./{projectName}.Tests/{projectName}.Tests.csproj";
var outDir = ... | using System.Xml.Linq;
var target = Argument<string>("target", "Default");
var configuration = Argument<string>("configuration", "Release");
var projectName = "WeakEvent";
var solution = $"{projectName}.sln";
var libraryProject = $"./{projectName}/{projectName}.csproj";
var testProject = $"./{projectName}.Tests/{proj... | Use MSBuild for Build and Pack | Use MSBuild for Build and Pack
in order to support .NET 3.5
| C# | apache-2.0 | thomaslevesque/WeakEvent |
1c717613c6b5d0c75e1425f1cd5035dea6eb7bdd | osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.cs | osu.Framework.Tests/Visual/Platform/TestSceneAllowSuspension.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.Bindables;
using osu.Framework.Configuration;
using osu.Framework.Platform;
namespace osu.Framework.Tests.Visual.Plat... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Platform;
namespace osu.Framework.Tests.Visual.Platform
{
public class TestSceneAl... | Fix formatting / usings in test scene | Fix formatting / usings in test scene
| C# | mit | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework |
23cfd49a5ee0214225f528ce29a2c624a8c0b911 | Source/Services/Interapp.Services.Common/FilterModel.cs | Source/Services/Interapp.Services.Common/FilterModel.cs | namespace Interapp.Services.Common
{
public class FilterModel
{
public string OrderBy { get; set; }
public string Order { get; set; }
public int Page { get; set; }
public int PageSize { get; set; }
public string Filter { get; set; }
}
}
| namespace Interapp.Services.Common
{
public class FilterModel
{
public FilterModel()
{
this.Page = 1;
this.PageSize = 10;
}
public string OrderBy { get; set; }
public string Order { get; set; }
public int Page { get; set; }
... | Set default values for filter model | Set default values for filter model
| C# | mit | shunobaka/Interapp,shunobaka/Interapp,shunobaka/Interapp |
f42d9aaaf5873d1c544402c1470b7504d2106e7b | build.cake | build.cake | #tool "nuget:?package=xunit.runners&version=1.9.2"
var config = Argument("configuration", "Release");
var runEnvironment = Argument("runenv", "local");
var buildDir = Directory("./Titan/bin/") + Directory(config);
var testDir = Directory("./TitanTest/bin/") + Directory(config);
Task("Clean")
.Does(() =>
{
Cl... | #tool "nuget:?package=xunit.runner.console"
var config = Argument("configuration", "Release");
var runEnvironment = Argument("runenv", "local");
var buildDir = Directory("./Titan/bin/") + Directory(config);
var testDir = Directory("./TitanTest/bin/") + Directory(config);
Task("Clean")
.Does(() =>
{
CleanDire... | Use XUnit v2 runner in Cake instead of XUnit v1 | Use XUnit v2 runner in Cake instead of XUnit v1
| C# | mit | Marc3842h/Titan,Marc3842h/Titan,Marc3842h/Titan |
4092b4ad3395e5e5b18b054ff1546be32b2405a7 | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | Increase toleranceSeconds in SafeWait_Timeout test | Increase toleranceSeconds in SafeWait_Timeout test
| C# | apache-2.0 | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras |
e4b9b0a3cb320dcbb8f7eb0c726e0352663d1e4c | SnapMD.ConnectedCare.ApiModels/PatientAccountInfo.cs | SnapMD.ConnectedCare.ApiModels/PatientAccountInfo.cs | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | Add IsDependent and GuardianId to patient profile | Add IsDependent and GuardianId to patient profile
| C# | apache-2.0 | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk |
9938084343b989ef7dada28656c1444412297683 | osu.Game/Graphics/Containers/ParallaxContainer.cs | osu.Game/Graphics/Containers/ParallaxContainer.cs | using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Framework.Input;
using OpenTK;
using osu.Framework;
using osu.Framework.Allocation;
namespace osu.Game.Graphics.Containers
{
class ParallaxContainer : Container
{
public float ParallaxAmount = 0.02f;
... | using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
using osu.Framework.Input;
using OpenTK;
using osu.Framework;
using osu.Framework.Allocation;
namespace osu.Game.Graphics.Containers
{
class ParallaxContainer : Container
{
public float ParallaxAmount = 0.02f;
... | Make parallax container work with global mouse state (so it ignores bounds checks). | Make parallax container work with global mouse state (so it ignores bounds checks).
| C# | mit | smoogipooo/osu,2yangk23/osu,johnneijzen/osu,default0/osu,2yangk23/osu,Nabile-Rahmani/osu,RedNesto/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,ppy/osu,EVAST9919/osu,nyaamara/osu,peppy/osu,peppy/osu,johnneijzen/osu,Damnae/osu,DrabWeb/osu,Drezi126/osu,peppy/osu,NotKyon/lolisu,UselessToucan/osu,ppy/osu,osu-RP... |
d432ab7510072781da6b4f1cb7559e127ff67333 | osu.Game/Screens/Edit/Screens/EditorScreenMode.cs | osu.Game/Screens/Edit/Screens/EditorScreenMode.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
namespace osu.Game.Screens.Edit.Screens
{
public enum EditorScreenMode
{
[Description("compose")]
Compos... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
namespace osu.Game.Screens.Edit.Screens
{
public enum EditorScreenMode
{
[Description("setup")]
SongSetu... | Reorder screen tab control items | Reorder screen tab control items
| C# | mit | NeoAdonis/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,Nabile-Rahmani/osu,naoey/osu,naoey/osu,UselessToucan/osu,peppy/osu,peppy/osu,DrabWeb/osu,naoey/osu,ZLima12/osu,Drezi126/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,UselessTouc... |
57ed91d86fcc45a0ac1aadd646d8311de5195dc3 | source/Glimpse.Core2/Resource/MetadataResource.cs | source/Glimpse.Core2/Resource/MetadataResource.cs | using System.Collections.Generic;
using System.Linq;
using Glimpse.Core2.Extensibility;
using Glimpse.Core2.Framework;
using Glimpse.Core2.ResourceResult;
namespace Glimpse.Core2.Resource
{
public class Metadata : IResource
{
internal const string InternalName = "metadata.js";
private const int... | using System.Collections.Generic;
using System.Linq;
using Glimpse.Core2.Extensibility;
using Glimpse.Core2.Framework;
using Glimpse.Core2.ResourceResult;
namespace Glimpse.Core2.Resource
{
public class Metadata : IResource
{
internal const string InternalName = "metadata.js";
private const int... | Update metadata resource to use callback instead of console.log | Update metadata resource to use callback instead of console.log
| C# | apache-2.0 | dudzon/Glimpse,flcdrg/Glimpse,gabrielweyer/Glimpse,sorenhl/Glimpse,dudzon/Glimpse,SusanaL/Glimpse,sorenhl/Glimpse,codevlabs/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,rho24/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,Glimpse/Glimpse,paynecrl97/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,elkingtonmcb/Glim... |
159efe394f24a5935fce623a4f7be6c9a18d26bf | DesktopWidgets/Widgets/CountdownClock/Settings.cs | DesktopWidgets/Widgets/CountdownClock/Settings.cs | using System;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public DateTime EndDateTime { get; } = DateTime.Now;
}
} | using System;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public DateTime EndDateTime { get; set; } = DateTime.Now;
}
} | Fix "Countdown" widget "EndDateTime" read only | Fix "Countdown" widget "EndDateTime" read only
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
e96c52cc9bd4c7f4fe408c1bf5d145f337eab339 | src/Tests.Daterpillar/Helper/ConnectionFactory.cs | src/Tests.Daterpillar/Helper/ConnectionFactory.cs | using System;
using System.Data;
using System.IO;
namespace Tests.Daterpillar.Helper
{
public static class ConnectionFactory
{
public static IDbConnection CreateMySQLConnection(string database = null)
{
var connStr = new MySql.Data.MySqlClient.MySqlConnectionStringBuilder("");
... | using System;
using System.Data;
using System.IO;
namespace Tests.Daterpillar.Helper
{
public static class ConnectionFactory
{
public static IDbConnection CreateSQLiteConnection(string filePath = "")
{
if (!File.Exists(filePath))
{
filePath = Path.Combin... | Add default database names to connectionfactory.cs | Add default database names to connectionfactory.cs
| C# | mit | Ackara/Daterpillar |
028040344a9c2bfcc1cd25d3efad2e8dcf651207 | osu.Game.Tests/Skins/TestSceneBeatmapSkinResources.cs | osu.Game.Tests/Skins/TestSceneBeatmapSkinResources.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.IO.Archives;
using osu.G... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.IO.Archives;
using osu.G... | Fix test scene using local beatmap | Fix test scene using local beatmap
| C# | mit | smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu |
8115a4bb8fd9e2d53c40b8607c7ad99f0f62e9a0 | osu.Game/Configuration/DevelopmentOsuConfigManager.cs | osu.Game/Configuration/DevelopmentOsuConfigManager.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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | // 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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available | Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available
| C# | mit | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu |
1e28cb9ac2707f554e3d7e961335ba9ef8ba15f0 | src/CompetitionPlatform/ScheduledJobs/JobScheduler.cs | src/CompetitionPlatform/ScheduledJobs/JobScheduler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common.Log;
using CompetitionPlatform.Data.AzureRepositories.Log;
using Quartz;
using Quartz.Impl;
namespace CompetitionPlatform.ScheduledJobs
{
public static class JobScheduler
{
public static async... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common.Log;
using CompetitionPlatform.Data.AzureRepositories.Log;
using Quartz;
using Quartz.Impl;
namespace CompetitionPlatform.ScheduledJobs
{
public static class JobScheduler
{
public static async... | Change StatusUpdater job to run every hour. | Change StatusUpdater job to run every hour.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
6a50c7bde5843d5f0ee625259b9d87c1cd902e86 | src/RealEstateAgencyFranchise/CorporationJson.json.cs | src/RealEstateAgencyFranchise/CorporationJson.json.cs | using RealEstateAgencyFranchise.Database;
using Starcounter;
namespace RealEstateAgencyFranchise
{
partial class CorporationJson : Json
{
static CorporationJson()
{
DefaultTemplate.Offices.ElementType.InstanceType = typeof(AgencyOfficeJson);
}
void Handle(Input.Save... | using RealEstateAgencyFranchise.Database;
using Starcounter;
namespace RealEstateAgencyFranchise
{
partial class CorporationJson : Json
{
static CorporationJson()
{
DefaultTemplate.Offices.ElementType.InstanceType = typeof(AgencyOfficeJson);
}
void Handle(Input.Save... | Fix new office name clearing after adding | Fix new office name clearing after adding
| C# | mit | aregaz/starcounterdemo,aregaz/starcounterdemo |
5e7c91cb36e843edb2880963334e6f2ab1ddb735 | src/Silverpop.Client/TransactClientException.cs | src/Silverpop.Client/TransactClientException.cs | using System;
namespace Silverpop.Client
{
public class TransactClientException : Exception
{
public TransactClientException()
{
}
public TransactClientException(string message)
: base(message)
{
}
public TransactClientException(string mess... | using System;
namespace Silverpop.Client
{
[Serializable]
public class TransactClientException : Exception
{
public TransactClientException()
{
}
public TransactClientException(string message)
: base(message)
{
}
public TransactClientEx... | Apply SerializableAttribute to custom exception | Apply SerializableAttribute to custom exception
| C# | mit | ritterim/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api,billboga/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api |
fca5ae088e2c3864cc1e728fba8cfbc7b434bf95 | test/binarycache-test/Program.cs | test/binarycache-test/Program.cs | using System;
using System.Diagnostics;
using Dependencies.ClrPh;
namespace Dependencies
{
namespace Test
{
class Program
{
static void Main(string[] args)
{
// always the first call to make
Phlib.InitializePhLib();
// Re... | using System;
using System.Diagnostics;
using System.Collections.Generic;
using Dependencies.ClrPh;
using NDesk.Options;
namespace Dependencies
{
namespace Test
{
class Program
{
static void ShowHelp(OptionSet p)
{
Console.WriteLine("Usage: binarycache ... | Use NDes.options for binarycache test executable | [test] Use NDes.options for binarycache test executable
| C# | mit | lucasg/Dependencies,lucasg/Dependencies,lucasg/Dependencies |
4102b5857d71cabae340c069d09cb96e2cfe59e4 | ZimmerBot.Core/Request.cs | ZimmerBot.Core/Request.cs | using System.Collections.Generic;
using CuttingEdge.Conditions;
namespace ZimmerBot.Core
{
public class Request
{
public enum EventEnum { Welcome }
public string Input { get; set; }
public Dictionary<string, string> State { get; set; }
public string SessionId { get; set; }
p... | using System.Collections.Generic;
using CuttingEdge.Conditions;
namespace ZimmerBot.Core
{
public class Request
{
public enum EventEnum { Welcome }
public string Input { get; set; }
public Dictionary<string, string> State { get; set; }
public string SessionId { get; set; }
p... | Make sure multi-line output works when invoked with <<...>> output templates. | Make sure multi-line output works when invoked with <<...>> output templates.
| C# | mit | JornWildt/ZimmerBot |
9bf9c6b2871d7ff710063d4056d6da5563c4117b | Profiles/Quester/Scripts/11661.cs | Profiles/Quester/Scripts/11661.cs | WoWUnit unit = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(questObjective.Entry, questObjective.IsDead), questObjective.IgnoreNotSelectable, questObjective.IgnoreBlackList,
questObjective.AllowPlayerControlled);
if (unit.IsValid && unit.Position.DistanceTo(questObjective.Position) <=8)
{
Movemen... | WoWUnit unit = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(questObjective.Entry, questObjective.IsDead), questObjective.IgnoreNotSelectable, questObjective.IgnoreBlackList,
questObjective.AllowPlayerControlled);
ObjectManager.Me.UnitAura(115191).TryCancel(); //Remove Stealth from rogue
if (unit.... | Fix : Un-Stealth rogues for this quest otherwise the mobs arent aggroed. | Fix : Un-Stealth rogues for this quest otherwise the mobs arent aggroed.
| C# | mit | TheNoobCompany/LevelingQuestsTNB |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.