commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
f22e30668d4f9288383b75f3751adfa0ad5763fb
Fix access to schedule api (#1022)
joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Controllers/XGameApi/ProjectScheduleController.cs
Joinrpg/Controllers/XGameApi/ProjectScheduleController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web.Http; using JoinRpg.Data.Interfaces; using JoinRpg.Domain; using JoinRpg.Domain.Schedules; using JoinRpg.Helpers; using Joinrpg.Markdown; using JoinRpg.Web.Filter; using JoinRpg.Web.Models...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using JoinRpg.Data.Interfaces; using JoinRpg.Domain; using JoinRpg.Domain.Schedules; using Joinrpg.Markdown; using JoinRpg.Web.Filter; using JoinRpg.Web.XGameApi.Contract.Schedule; using JoinRpg.WebPo...
mit
C#
0bf91405399bf41891c241fa72e5d23642d874e7
Fix OnAfterMap
ernestoherrera/FluentSql
FluentSql/Mappers/EntityMap.cs
FluentSql/Mappers/EntityMap.cs
using FluentSql.DatabaseMappers.Common; using System; using System.Collections.Generic; using System.Linq; namespace FluentSql.Mappers { public class EntityMap { public string Database { get; internal set; } public string SchemaName { get; internal set; } public string TableName { get...
using System; using System.Collections.Generic; using System.Linq; namespace FluentSql.Mappers { public class EntityMap { public string Database { get; internal set; } public string SchemaName { get; internal set; } public string TableName { get; internal set; } public string ...
apache-2.0
C#
5bc2351d28048b9574f6dc4813a50325083228fd
use inner exception
pardeike/Harmony
HarmonyTests/Patching/TargetMethod.cs
HarmonyTests/Patching/TargetMethod.cs
using HarmonyLib; using HarmonyLibTests.Assets; using NUnit.Framework; using System; namespace HarmonyLibTests { [TestFixture] public class TargetMethod { [Test] public void Test_TargetMethod_Returns_Null() { var patchClass = typeof(Class15Patch); Assert.NotNull(patchClass); var harmonyInstance = ne...
using HarmonyLib; using HarmonyLibTests.Assets; using NUnit.Framework; using System; namespace HarmonyLibTests { [TestFixture] public class TargetMethod { [Test] public void Test_TargetMethod_Returns_Null() { var patchClass = typeof(Class15Patch); Assert.NotNull(patchClass); var harmonyInstance = ne...
mit
C#
433b3862dec28e69660ce838a404d63ba80fc4b9
Add USM ID API
wwwwwwzx/3DSRNGTool
3DSRNGTool/Util/SFMTSeedAPI.cs
3DSRNGTool/Util/SFMTSeedAPI.cs
using System.Collections.Generic; using System.IO; using System.Net; using System.Runtime.Serialization.Json; using System.Text; namespace Pk3DSRNGTool { public static class SFMTSeedAPI { public static List<Result> request(string needle, bool IsID, bool IsUltra) { Root root; ...
using System.Collections.Generic; using System.IO; using System.Net; using System.Runtime.Serialization.Json; using System.Text; namespace Pk3DSRNGTool { public static class SFMTSeedAPI { public static List<Result> request(string needle, bool IsID, bool IsUltra) { Root root; ...
mit
C#
2d1527eff359b9377ec038667b4544d1436820bc
Bump version for release 1.0.16349-alpha2
rlvandaveer/heliar-composition,rlvandaveer/heliar-composition,rlvandaveer/heliar-composition
src/Heliar.Composition.Web/Properties/AssemblyInfo.cs
src/Heliar.Composition.Web/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("He...
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("He...
mit
C#
afd109e5c65b0ce3e646041ecc3debac98789128
change access modifier ApiVersion setter
clD11/aspnet-owin-oauth
src/Owin.Security.HighQ/HighQAuthenticationOptions.cs
src/Owin.Security.HighQ/HighQAuthenticationOptions.cs
using Authentication.Web.OWIN.HighQ.Provider; using Microsoft.Owin; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Security; using System; using System.Net.Http; namespace Authentication.Web.OWIN.HighQ { public class HighQAuthenticationOptions : AuthenticationOptions { public HighQAuthentic...
using Authentication.Web.OWIN.HighQ.Provider; using Microsoft.Owin; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Security; using System; using System.Net.Http; namespace Authentication.Web.OWIN.HighQ { public class HighQAuthenticationOptions : AuthenticationOptions { public HighQAuthentic...
mit
C#
c2f39df0bdcb4b713ab1ebb429d870f4d807ae5e
fix non-used fields
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence/SqlPersistenceSettingsAttribute.cs
src/SqlPersistence/SqlPersistenceSettingsAttribute.cs
using System; namespace NServiceBus.Persistence.Sql { [AttributeUsage(AttributeTargets.Assembly)] public class SqlPersistenceSettingsAttribute : Attribute { public bool MsSqlServerScripts { get; } public bool MySqlScripts { get; } public SqlPersistenceSettingsAttribute( ...
using System; namespace NServiceBus.Persistence.Sql { [AttributeUsage(AttributeTargets.Assembly)] public class SqlPersistenceSettingsAttribute : Attribute { public readonly bool MsSqlServerScripts; public readonly bool MySqlScripts; public SqlPersistenceSettingsAttribute( ...
mit
C#
01d999245eeacaf3134f106cf5428cf0d32bd0a1
Fix linebreak inside hyperlink
pellea/waslibs,janabimustafa/waslibs,wasteam/waslibs,janabimustafa/waslibs,wasteam/waslibs,janabimustafa/waslibs,pellea/waslibs,wasteam/waslibs,pellea/waslibs
src/AppStudio.Uwp/Controls/HtmlBlock/Writers/BrWriter.cs
src/AppStudio.Uwp/Controls/HtmlBlock/Writers/BrWriter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AppStudio.Uwp.Html; using Windows.UI.Xaml; using Windows.UI.Xaml.Documents; namespace AppStudio.Uwp.Controls.Html.Writers { class BrWriter : HtmlWriter { public overri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AppStudio.Uwp.Html; using Windows.UI.Xaml; using Windows.UI.Xaml.Documents; namespace AppStudio.Uwp.Controls.Html.Writers { class BrWriter : HtmlWriter { public overri...
mit
C#
19a46dab8146340d72939f12c51073d8030bccd5
Fix for a bug in the class I just created.
MarkerMetro/MarkerMetro.Unity.WinLegacy,hungweng/MarkerMetro.Unity.WinLegacy
MarkerMetro.Unity.WinLegacyUnity/System/Timers/Timer.cs
MarkerMetro.Unity.WinLegacyUnity/System/Timers/Timer.cs
using System; namespace MarkerMetro.Unity.WinLegacy.IO.Timers { public delegate void ElapsedEventHandler(Object sender, ElapsedEventArgs e); public class Timer { public event ElapsedEventHandler Elapsed; public Timer(double interval) { throw new System.NotImpl...
using System; namespace MarkerMetro.Unity.WinLegacy.IO.Timers { public delegate void ElapsedEventHandler(Object sender, ElapsedEventArgs e); public class Timer { public event ElapsedEventHandler Elapsed; public Timer(double interval) { throw new System.NotImpl...
mit
C#
c5b333600d1810c23b9ad8c01271289eb9dbc7f0
Fix build
sboulema/CodeNav,sboulema/CodeNav
CodeNav/Mappers/FieldMapper.cs
CodeNav/Mappers/FieldMapper.cs
using CodeNav.Models; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Linq; using VisualBasicSyntax = Microsoft.CodeAnalysis.VisualBasic.Syntax; using VisualBasic = Microsoft.CodeAnalysis.VisualBasic; namespace CodeNav.Mappers { public st...
using CodeNav.Models; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Linq; using VisualBasicSyntax = Microsoft.CodeAnalysis.VisualBasic.Syntax; using VisualBasic = Microsoft.CodeAnalysis.VisualBasic; namespace CodeNav.Mappers { public st...
mit
C#
8264d1ea378d6738c6f53931e264276ef0700988
fix test class name
neekgreen/PaginableCollections,neekgreen/PaginableCollections
src/PaginableCollections.Tests/EmptyPaginableTests.cs
src/PaginableCollections.Tests/EmptyPaginableTests.cs
namespace PaginableCollections.Tests { using System; using System.Linq; using FluentAssertions; using NUnit.Framework; [TestFixture, Category("EmptyPaginable")] public class EmptyPaginableTests { [Test] public void ShouldEqualPageNumber() { var expectedP...
namespace PaginableCollections.Tests { using System; using System.Linq; using FluentAssertions; using NUnit.Framework; [TestFixture, Category("EmptyPaginable")] public class EmptyQueryablePaginableTests { [Test] public void ShouldEqualPageNumber() { var ...
mit
C#
bf4d6180f877b1735c2bcce1098d39122111cd8e
Refactor private and public members.
kubkon/GameOfLifeApplication
GameOfLifeApplication/Form1.cs
GameOfLifeApplication/Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace GameOfLifeApplication { public partial class Form1 : Form { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace GameOfLifeApplication { public partial class Form1 : Form { ...
mit
C#
8b2575f85e3aa5aa3f7450cb9fb01a65424181dc
Resolve #110 - Ignore failing test in Firefox
csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay
Tests/CSF.Screenplay.Web.Tests/Tasks/EnterTheDateTests.cs
Tests/CSF.Screenplay.Web.Tests/Tasks/EnterTheDateTests.cs
using CSF.Screenplay.Web.Builders; using CSF.Screenplay.Web.Tests.Pages; using FluentAssertions; using CSF.Screenplay.NUnit; using NUnit.Framework; using static CSF.Screenplay.StepComposer; using CSF.Screenplay.Web.Models; using CSF.Screenplay.Actors; using System; namespace CSF.Screenplay.Web.Tests.Tasks { [TestFi...
using CSF.Screenplay.Web.Builders; using CSF.Screenplay.Web.Tests.Pages; using FluentAssertions; using CSF.Screenplay.NUnit; using NUnit.Framework; using static CSF.Screenplay.StepComposer; using CSF.Screenplay.Web.Models; using CSF.Screenplay.Actors; using System; namespace CSF.Screenplay.Web.Tests.Tasks { [TestFi...
mit
C#
a2ca0788dbbde44c7e78c66d80074ab1aa8de63a
update demo.
shuxinqin/Chloe
src/ChloeDemo/MySqlConnectionFactory.cs
src/ChloeDemo/MySqlConnectionFactory.cs
using Chloe.Infrastructure; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChloeDemo { public class MySqlConnectionFactory : IDbConnectionFactory { string _connString = null;...
using Chloe.Infrastructure; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChloeDemo { public class MySqlConnectionFactory : IDbConnectionFactory { string _connString = null;...
mit
C#
92e2636bcdc3a63363fca9226f7166e731f6f8f8
store value on candidate so it can be placed on output
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Domain/ArcServerResponse/Geolocator/Candidate.cs
WebAPI.Domain/ArcServerResponse/Geolocator/Candidate.cs
using System.Globalization; using Newtonsoft.Json; namespace WebAPI.Domain.ArcServerResponse.Geolocator { public class Candidate { private string _address; [JsonProperty(PropertyName = "address")] public string Address { get { return _address; } set ...
using System.Globalization; using Newtonsoft.Json; namespace WebAPI.Domain.ArcServerResponse.Geolocator { public class Candidate { private string _address; [JsonProperty(PropertyName = "address")] public string Address { get { return _address; } set ...
mit
C#
f055d0e5e85c04299b71b22d78b7166abf3bfd97
Add extension method for adding bundle to bundle collection.
mrydengren/templar,mrydengren/templar
src/Bundlr/BundleExtensions.cs
src/Bundlr/BundleExtensions.cs
using System.IO; using System.Web.Optimization; namespace Bundlr { public static class BundleExtensions { public static TBundle AddTo<TBundle>(this TBundle bundle, BundleCollection collection) where TBundle : Bundle { collection.Add(bundle); return bundle; ...
using System.IO; using System.Web.Optimization; namespace Bundlr { public static class BundleExtensions { public static TBundle IncludePath<TBundle>(this TBundle bundle, string root, params string[] files) where TBundle : Bundle { foreach (string file in files) ...
mit
C#
0689e8617ae1101f13d6f4daf9151c88be6c8e4d
adjust match types
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/Enums/UriMatchType.cs
src/Core/Enums/UriMatchType.cs
namespace Bit.Core.Enums { public enum UriMatchType : byte { BaseDomain = 0, FullHostname = 1, StartsWith = 2, Exact = 3, RegularExpression = 4, Never = 5 } }
namespace Bit.Core.Enums { public enum UriMatchType : byte { BaseDomain = 0, FullHostname = 1, FullUri = 2, StartsWith = 3, RegularExpression = 4 } }
agpl-3.0
C#
620f7c4cb13f48a74b263142e95c43510e2ca5a0
Fix wrong scale
JLChnToZ/BMP-U
Assets/Scripts/CameraScaler.cs
Assets/Scripts/CameraScaler.cs
using UnityEngine; using System.Collections; [RequireComponent(typeof(Camera))] public class CameraScaler : MonoBehaviour { Camera _camera; new Camera camera { get { if(_camera == null) _camera = GetComponent<Camera>(); return _camera; } } publ...
using UnityEngine; using System.Collections; [RequireComponent(typeof(Camera))] public class CameraScaler : MonoBehaviour { Camera _camera; new Camera camera { get { if(_camera == null) _camera = GetComponent<Camera>(); return _camera; } } publ...
artistic-2.0
C#
743bf289e1d2992292f7e4a0e4f1430761793f97
Remove a bundle directive which pointed to an empty folder (which blew up Azure)
bendetat/Listy-Azure,bendetat/Listy-Azure
src/Listy.Web/App_Start/BundleConfig.cs
src/Listy.Web/App_Start/BundleConfig.cs
using System.Web.Optimization; namespace Listy.Web { public class BundleConfig { public class BootstrapResourcesTransform : IItemTransform { public string Process(string includedVirtualPath, string input) { return input.Replace(@"../fonts/", @"/Content/f...
using System.Web.Optimization; namespace Listy.Web { public class BundleConfig { public class BootstrapResourcesTransform : IItemTransform { public string Process(string includedVirtualPath, string input) { return input.Replace(@"../fonts/", @"/Content/f...
apache-2.0
C#
d4525c3f4a1ceb97c3809cb7f30fb3e189da85ec
Fix init firebase parameter.
Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x
src/unity/Runtime/Services/Internal/FirebaseParameter.cs
src/unity/Runtime/Services/Internal/FirebaseParameter.cs
using System; using System.Reflection; namespace EE.Internal { internal class FirebaseParameter { private const string TypeName = "Firebase.Analytics.Parameter, Firebase.Analytics"; private static readonly Type _type = Type.GetType(TypeName); private static readonly ConstructorInfo _constr...
using System; namespace EE.Internal { internal class FirebaseParameter { private const string TypeName = "Firebase.Analytics.Parameter, Firebase.Analytics"; private static readonly Type _type = Type.GetType(TypeName); private static readonly ObjectActivator<object> _constructor0 = ...
mit
C#
d952af5f31912e5500b451ce6b40e841498f8c87
Make tests runnable on mono
featuresnap/FAKE,philipcpresley/FAKE,pmcvtm/FAKE,ovu/FAKE,ilkerde/FAKE,modulexcite/FAKE,satsuper/FAKE,ctaggart/FAKE,dlsteuer/FAKE,tpetricek/FAKE,MichalDepta/FAKE,philipcpresley/FAKE,xavierzwirtz/FAKE,MiloszKrajewski/FAKE,NaseUkolyCZ/FAKE,gareth-evans/FAKE,rflechner/FAKE,neoeinstein/FAKE,ovu/FAKE,satsuper/FAKE,molinch/F...
src/test/Test.FAKECore/FileHandling/SubfolderSpecs.cs
src/test/Test.FAKECore/FileHandling/SubfolderSpecs.cs
using System.IO; using Fake; using Machine.Specifications; namespace Test.FAKECore.FileHandling { public class when_detecting_subfolders { It should_detect_same_dir = () => FileSystemHelper.isSubfolderOf(new DirectoryInfo("C:/sub"), new DirectoryInfo("C:/sub")).ShouldBeTrue(); It should_detect_...
using System.IO; using Fake; using Machine.Specifications; namespace Test.FAKECore.FileHandling { public class when_detecting_subfolders { It should_detect_same_dir = () => FileSystemHelper.isSubfolderOf(new DirectoryInfo("C:\\sub"), new DirectoryInfo("C:\\sub")).ShouldBeTrue(); It should_detec...
apache-2.0
C#
a50f75a7604345693c50684f1b5afb1f995f6523
Disable test parallelization to fix issues with mongodb driver upsert in tests
jageall/IdentityServer.v3.MongoDb
Source/Core.MongoDb.Tests/Properties/AssemblyInfo.cs
Source/Core.MongoDb.Tests/Properties/AssemblyInfo.cs
/* * Copyright 2014, 2015 James Geall * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright 2014, 2015 James Geall * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
apache-2.0
C#
359bea1ba3367f5483a1286c507c38bd7d18f91d
Comment out unused code.
GridProtectionAlliance/openHistorian,GridProtectionAlliance/openHistorian,GridProtectionAlliance/openHistorian,GridProtectionAlliance/openHistorian,GridProtectionAlliance/openHistorian,GridProtectionAlliance/openHistorian
Source/Tools/openHistorianServiceHost/MainService.cs
Source/Tools/openHistorianServiceHost/MainService.cs
using System.ServiceProcess; namespace openHistorianServiceHost { public partial class MainService : ServiceBase { public MainService() { InitializeComponent(); } protected override void OnStart(string[] args) { //args = args; } ...
using System.ServiceProcess; namespace openHistorianServiceHost { public partial class MainService : ServiceBase { public MainService() { InitializeComponent(); } protected override void OnStart(string[] args) { args = args; } p...
mit
C#
f9bba734ab4cf3459d454f13acbdbc68bd90e555
Remove unused staff
Verrickt/BsodSimulator
BsodSimulator/MainPage.xaml.cs
BsodSimulator/MainPage.xaml.cs
using BsodSimulator.ViewModel; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml...
using BsodSimulator.ViewModel; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml...
mit
C#
2eaff7346381d7ce0ddd40724aa404fb862605a1
Update ViewModelPut.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/NakedObjects.Rest.Test.EndToEnd/ViewModelPut.cs
Test/NakedObjects.Rest.Test.EndToEnd/ViewModelPut.cs
// Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net). // All Rights Reserved. This code released under the terms of the // Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html) using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace Restfu...
// Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net). // All Rights Reserved. This code released under the terms of the // Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html) using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace Restfu...
apache-2.0
C#
2ec300af1e846a53b8fa5ae2d888aa57076df5f8
Fix build.cake
diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
apache-2.0
C#
8accaa464222c463889a0d95ebb96ba04be366f1
Update build script
thomaslevesque/Linq.Extras
build.cake
build.cake
using System.Xml.Linq; var target = Argument<string>("target", "Default"); var configuration = Argument<string>("configuration", "Release"); var projectName = "Linq.Extras"; var libraryProject = $"{projectName}/{projectName}.csproj"; var testProject = $"{projectName}.Tests/{projectName}.Tests.csproj"; var out...
/////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument<string>("target", "Default"); var configuration = Argument<string>("configuration", "Release"); var projectName = "L...
apache-2.0
C#
3fb81ca6b166e9748ba66d700213e6c7a1a81887
change task dependencies
Sphiecoh/MusicStore,Sphiecoh/MusicStore
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var isLocalBuild ...
mit
C#
c84def7f417e72af5657c0ce40d7ba48683d502e
fix version string
IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
apache-2.0
C#
b3636632ba87050ce706f98f836093a1c73171a6
Create dummy level lazily.
orasimus/interwall
Source/Assets/Code/X.cs
Source/Assets/Code/X.cs
using UnityEngine; using System.Collections; public class X : MonoBehaviour { public static Level Level { get { return new Level() { Interval = "Sounds/ding", CorrectSheet = "A", WrongSheet = "C", WrongShee...
using UnityEngine; using System.Collections; public class X : MonoBehaviour { public static Level Level; void Start () { Level = new Level() { Interval = "Sounds/ding", CorrectSheet = "A", WrongSheet = "C", WrongSheet2 = "G" }; } }
mit
C#
d9ea2d720deb961b1054418c437f0212573bdaea
Change namespace to match project
TrekBikes/Trek.BalihooApiClient
ConsoleApplication1/Program.cs
ConsoleApplication1/Program.cs
using System; using System.Collections.Generic; using System.Linq; namespace Trek.BalihooApiClient.Sample { class Program { static void Main() { // https://github.com/balihoo/local-connect-client var client = new BalihooApiClient(); //client.GenerateClientA...
using System; using System.Collections.Generic; using System.Linq; using Trek.BalihooApiClient; namespace ConsoleApplication1 { class Program { static void Main() { // https://github.com/balihoo/local-connect-client var client = new BalihooApiClient(); //cl...
mit
C#
57dcebcd1181eea2ae67305dab42243f00b597de
Rename ConferenceDataModel.ConferenceTitle -> ConferenceDataModel.ConferenceTopic and ConferenceDataModel.ConferenceUserTitle -> ConferenceDataModel.ConferenceTopicCustom
InfiniteSoul/Azuria
Azuria/Api/v1/DataModels/Messenger/ConferenceDataModel.cs
Azuria/Api/v1/DataModels/Messenger/ConferenceDataModel.cs
using System; using Azuria.Api.v1.Converters; using Azuria.Api.v1.Converters.Messenger; using Newtonsoft.Json; namespace Azuria.Api.v1.DataModels.Messenger { /// <summary> /// </summary> public class ConferenceDataModel : DataModelBase { /// <summary> /// </summary> [JsonProper...
using System; using Azuria.Api.v1.Converters; using Azuria.Api.v1.Converters.Messenger; using Newtonsoft.Json; namespace Azuria.Api.v1.DataModels.Messenger { /// <summary> /// </summary> public class ConferenceDataModel : DataModelBase { /// <summary> /// </summary> [JsonProper...
mit
C#
945644c4aae6feffbb360be0fb81f7f9b707139d
Fix game menu spawn
Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Menu/GameMenu.cs
Assets/Scripts/Menu/GameMenu.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; //Attach to every menu animator public class GameMenu : MonoBehaviour { public static SubMenu subMenu = SubMenu.Splash; //public static SubMenu subMenu = SubMenu.Title; //Debug purposes public static bool shifting; public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; //Attach to every menu animator public class GameMenu : MonoBehaviour { public static SubMenu subMenu = SubMenu.Credits; //public static SubMenu subMenu = SubMenu.Title; //Debug purposes public static bool shifting; public...
mit
C#
84fd75d690cfbacf83f776d62168a81e950a3444
Switch default submenu to Splash
NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Menu/GameMenu.cs
Assets/Scripts/Menu/GameMenu.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; //Attach to every menu animator public class GameMenu : MonoBehaviour { public static SubMenu subMenu = SubMenu.Splash; //public static SubMenu subMenu = SubMenu.Title; //Debug purposes public static bool shifting; public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; //Attach to every menu animator public class GameMenu : MonoBehaviour { //public static SubMenu subMenu = SubMenu.Splash; public static SubMenu subMenu = SubMenu.Title; //Debug purposes public static bool shifting; public ...
mit
C#
be4e535e16958ffcbfa49132d06196d0451fcc82
Add CommandHelpAttribute Description and Options
appharbor/appharbor-cli
src/AppHarbor/CommandHelpAttribute.cs
src/AppHarbor/CommandHelpAttribute.cs
using System; namespace AppHarbor { public class CommandHelpAttribute : Attribute { public CommandHelpAttribute(string description, string options = "") { Description = description; Options = options; } public string Description { get; private set; } public string Options { get; ...
using System; namespace AppHarbor { public class CommandHelpAttribute : Attribute { } }
mit
C#
854139ac3767256ca9ae7b6b13ffe87e98634c26
Fix SimpleLogManager
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/Logging/SimpleLogManager.cs
src/Atata/Logging/SimpleLogManager.cs
using OpenQA.Selenium; using System; using System.Text; namespace Atata { public class SimpleLogManager : LogManagerBase { private Action<string> writeLineAction; public SimpleLogManager(Action<string> writeLineAction, IWebDriver driver = null, string screenshotsFolderPath = null) ...
using OpenQA.Selenium; using System; using System.Text; namespace Atata { public class SimpleLogManager : LogManagerBase { private Action<string> writeLineAction; public SimpleLogManager(Action<string> writeLineAction, IWebDriver driver = null, string screenshotsFolderPath = null) ...
apache-2.0
C#
ce81ef186d45fb98df6f16ea38458f42f1f0882c
Add OnValueChange event StatModifiers
jkpenner/RPGSystemTutorial
Assets/Scripts/RPGSystems/Modifiers/RPGStatModifier.cs
Assets/Scripts/RPGSystems/Modifiers/RPGStatModifier.cs
using UnityEngine; using System.Collections; using System; /// <summary> /// The base class for all RPGStatModifiers /// </summary> public abstract class RPGStatModifier { /// <summary> /// Variable used for the Value property /// </summary> private float _value = 0f; /// <summary> /// Event ...
using UnityEngine; using System.Collections; /// <summary> /// The base class for all RPGStatModifiers /// </summary> public abstract class RPGStatModifier { /// <summary> /// The order in which the modifier is applied to the stat /// </summary> public abstract int Order { get; } /// <summary> ...
mit
C#
9c641ae82c884143c4f4dc02ae6ed70d2daa3385
add test
vinhch/MongoData
src/MongoData.ConsoleTests/Program.cs
src/MongoData.ConsoleTests/Program.cs
using System; using Microsoft.Extensions.DependencyInjection; namespace MongoData.ConsoleTests { public class Program { public static void Main(string[] args) { AppStartup.Run(); Console.WriteLine("Press any key to start..."); Console.ReadKey(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MongoData.ConsoleTests { public class Program { public static void Main(string[] args) { } } }
mit
C#
8ed33bddd12bb84f745673d405238e1b98103789
Clean up csproj
peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,ppy/osu-framework,smoogip...
osu-framework-native/osu-framework-native/Program.cs
osu-framework-native/osu-framework-native/Program.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 namespace osu_framework_native { public class Program { public static void Main(string[] args) { } } }
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE namespace osu_framework_native { public class Program { public static void Main(string[] args) { return; } } }...
mit
C#
10edbffbcc57ae2166bb36315cef57ad1cd64c16
Update UrlFormatter.cs
rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,dfaruque/Serenity,dfaruque/Serenity,Wasi...
Serenity.Script.Core/SlickGrid/Formatters/UrlFormatter.cs
Serenity.Script.Core/SlickGrid/Formatters/UrlFormatter.cs
namespace Serenity { public class UrlFormatter : ISlickFormatter { public string Format(SlickFormatterContext ctx) { var display = !string.IsNullOrEmpty(DisplayProperty) ? ctx.Item[DisplayProperty] as string : ctx.Value; var url = !string.IsNullOr...
namespace Serenity { public class UrlFormatter : ISlickFormatter { public string Format(SlickFormatterContext ctx) { return "<a href='" + Q.HtmlEncode(ctx.Value) + "'>" + Q.HtmlEncode(ctx.Value) + "</a>"; } } }
mit
C#
255b1e3b3b283d88c1bf9e8d208290a48b3c18d2
comment for IPatternNode#Name
tmichel/thesis
Interfaces/DMT.Matcher.Data.Interfaces/IPatternNode.cs
Interfaces/DMT.Matcher.Data.Interfaces/IPatternNode.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DMT.Core.Interfaces; namespace DMT.Matcher.Data.Interfaces { /// <summary> /// A pettern node is a regular node, but it is not part of the model. Pattern nodes /// are there to mark how the pattern looks like. And ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using DMT.Core.Interfaces; namespace DMT.Matcher.Data.Interfaces { /// <summary> /// A pettern node is a regular node, but it is not part of the model. Pattern nodes /// are there to mark how the pattern looks like. And ...
mit
C#
aa9dd1f6b785d8790d39bdc4fc33d00a6918ed8f
Fix signalr JS link on monitor page
timgranstrom/JabbR,mzdv/JabbR,18098924759/JabbR,M-Zuber/JabbR,SonOfSam/JabbR,timgranstrom/JabbR,18098924759/JabbR,JabbR/JabbR,JabbR/JabbR,ajayanandgit/JabbR,ajayanandgit/JabbR,mzdv/JabbR,e10/JabbR,e10/JabbR,yadyn/JabbR,yadyn/JabbR,yadyn/JabbR,borisyankov/JabbR,M-Zuber/JabbR,borisyankov/JabbR,SonOfSam/JabbR,borisyankov/...
JabbR/Views/Home/monitor.cshtml
JabbR/Views/Home/monitor.cshtml
@using SquishIt.Framework; <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8" /> <title></title> </head> <body> <ul id="logs"> </ul> @{ WriteLiteral(Bundle.JavaScript().ForceRelease() .Add("~/Scripts/jquery-2.0.3.min.js") .Add(...
@using SquishIt.Framework; <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8" /> <title></title> </head> <body> <ul id="logs"> </ul> @{ WriteLiteral(Bundle.JavaScript().ForceRelease() .Add("~/Scripts/jquery-2.0.3.min.js") .Add(...
mit
C#
532fb5693519e4a39db926b8c876139c280e2900
Fix plotfolder activeness
joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net
JoinRpg.DataModel/PlotFolder.cs
JoinRpg.DataModel/PlotFolder.cs
using System; using System.Collections.Generic; using System.Linq; using JoinRpg.Helpers; namespace JoinRpg.DataModel { // ReSharper disable once ClassWithVirtualMembersNeverInherited.Global — required by LINQ public class PlotFolder : IProjectEntity, IDeletableSubEntity { public int PlotFolderId { get; set...
using System; using System.Collections.Generic; using System.Linq; using JoinRpg.Helpers; namespace JoinRpg.DataModel { // ReSharper disable once ClassWithVirtualMembersNeverInherited.Global — required by LINQ public class PlotFolder : IProjectEntity, IDeletableSubEntity { public int PlotFolderId { get; set...
mit
C#
05cb935a940315ad6ff3bfdbed05c010ee09388c
change WikiMarkdownImage to extend OsuMarkdownImage
peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,ppy/osu
osu.Game/Overlays/Wiki/Markdown/WikiMarkdownImage.cs
osu.Game/Overlays/Wiki/Markdown/WikiMarkdownImage.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Markdig.Syntax.Inlines; using osu.Game.Graphics.Containers.Markdown; namespace osu.Game.Overlays.Wiki.Markdown { public class WikiMarkdownImage : OsuMarkdownIm...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Markdig.Syntax.Inlines; using osu.Framework.Graphics.Containers.Markdown; using osu.Framework.Graphics.Cursor; namespace osu.Game.Overlays.Wiki.Markdown { publ...
mit
C#
01820d2a746c68e9120ac64bbcf2c1d5033f1ed1
Update Regex
pontazaricardo/DBMS_Parser_Insert
main/dbms_gui_02/dbms_gui_02/Test_Functions/Program.cs
main/dbms_gui_02/dbms_gui_02/Test_Functions/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; using dbms_objects_data; namespace Test_Functions { class Program { static void Main(string[] args) { //TestDB();\ ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using dbms_objects_data; namespace Test_Functions { class Program { static void Main(string[] args) { TestDB(); } static void TestDB() { ...
mpl-2.0
C#
7a727a3fd32a28b609d3e49b0a89482f6ea88ffe
Fix for #23, parsing decimals is different between Locales
vampireneo/SlackAPI,smanabat/SlackAPI,Jaykul/SlackAPI,Inumedia/SlackAPI
JavascriptDateTimeConverter.cs
JavascriptDateTimeConverter.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlackAPI { class JavascriptDateTimeConverter : Newtonsoft.Json.JsonConverter { public override bool CanConvert(Type objectType) { ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlackAPI { class JavascriptDateTimeConverter : Newtonsoft.Json.JsonConverter { public override bool CanConvert(Type objectType) { ...
mit
C#
14ff22e962afad5cbf51de089364e72a131037f8
Improve handling of the singleton pattern of UniqueInstance
Seddryck/NBi,Seddryck/NBi
NBi.Xml/InstanceSettlingXml.cs
NBi.Xml/InstanceSettlingXml.cs
using NBi.Xml.Settings; using NBi.Xml.Variables; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace NBi.Xml { [XmlInclude(typeof(InstanceUnique))] public class InstanceSettlingXml { [XmlEleme...
using NBi.Xml.Settings; using NBi.Xml.Variables; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace NBi.Xml { [XmlInclude(typeof(InstanceUnique))] public class InstanceSettlingXml { [XmlEleme...
apache-2.0
C#
8aaad2afc99ab9751622af3093ffc6d8630a0467
Fix Capitalize for null and empty strings
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Utilities/String.Capitalize.cs
source/Nuke.Common/Utilities/String.Capitalize.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System.Globalization; using JetBrains.Annotations; namespace Nuke.Common.Utilities { public static partial class StringExtensions { [Pure] public static ...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System.Globalization; using JetBrains.Annotations; namespace Nuke.Common.Utilities { public static partial class StringExtensions { [Pure] public static ...
mit
C#
5ce7dfa09d60e9edd5b8907b4f7c18acb51f0821
Test removing new lines for compare
CommonBuildToolset/CBT.Modules,jeffkl/CBT.Modules
src/MSBuildProjectBuilder.UnitTest/ProjectTest.cs
src/MSBuildProjectBuilder.UnitTest/ProjectTest.cs
using Microsoft.MSBuildProjectBuilder; using NUnit.Framework; using Shouldly; namespace MSBuildProjectBuilder.UnitTest { [TestFixture] public class ProjectTest { private ProjectBuilder _project; [OneTimeSetUp] public void TestInitialize() { _project = new Proje...
using Microsoft.MSBuildProjectBuilder; using NUnit.Framework; using Shouldly; namespace MSBuildProjectBuilder.UnitTest { [TestFixture] public class ProjectTest { private ProjectBuilder _project; [OneTimeSetUp] public void TestInitialize() { _project = new Proje...
mit
C#
74ef373de7b4e1729a1ff99e872d9e029f2a735d
Fix broken metadata unit test
autofac/Autofac
test/Autofac.Test/Features/Metadata/StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied.cs
test/Autofac.Test/Features/Metadata/StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied.cs
using Autofac.Core; using Autofac.Features.Metadata; using Autofac.Test.Features.Metadata.TestTypes; using Autofac.Util; using Xunit; namespace Autofac.Test.Features.Metadata { public class StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied { private readonly IContainer _container; public Stro...
using System; using Autofac.Core; using Autofac.Core.Registration; using Autofac.Features.Metadata; using Autofac.Test.Features.Metadata.TestTypes; using Autofac.Util; using Xunit; namespace Autofac.Test.Features.Metadata { public class StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied { private ICont...
mit
C#
10b9d9f2e762c2df7410eeff8776159bb68d1f84
Add subscription to the subscription item class
richardlawley/stripe.net,stripe/stripe-dotnet
src/Stripe.net/Entities/StripeSubscriptionItem.cs
src/Stripe.net/Entities/StripeSubscriptionItem.cs
using System; using Newtonsoft.Json; using System.Collections.Generic; using Stripe.Infrastructure; namespace Stripe { public class StripeSubscriptionItem : StripeEntityWithId, ISupportMetadata { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("created")] ...
using System; using Newtonsoft.Json; using System.Collections.Generic; using Stripe.Infrastructure; namespace Stripe { public class StripeSubscriptionItem : StripeEntityWithId, ISupportMetadata { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("created")] ...
apache-2.0
C#
67e19661fd2284263841f6663a0e8a99b5ffb258
Rearrange class order so form designer works
SimpleScale/SimpleScale,SimpleScale/SimpleScale
TestApp/Form1.cs
TestApp/Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Threading; using SimpleScale.HeadNode; namespace TestApp { public partial class Form1 : Form { public F...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Threading; using SimpleScale.HeadNode; namespace TestApp { public class Member { public string Name; } ...
mit
C#
6c5b36f75711e4b2d7eb62d4b3b05e42f4501899
Add new file UITests/Tests.cs
ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl
UITests/Tests.cs
UITests/Tests.cs
 �using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace userAuth.cpl.UITests { [TestFixture] public class Tests { AndroidApp app; [SetUp] public void BeforeEachTest () { ap...
�using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace userAuth.cpl.UITests { [TestFixture] public class Tests { AndroidApp app; [SetUp] public void BeforeEachTest () { app...
mit
C#
36d3f5dd46f9a389ba0442a5191405c510255e0f
Fix MUDOs.
jandppw/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandppw/ppwcode...
dotnet/Util/SharePoint/trunk/src/I/RenameAllOccurences.cs
dotnet/Util/SharePoint/trunk/src/I/RenameAllOccurences.cs
namespace PPWCode.Util.SharePoint.I { public class RenameAllOccurences : ISharepointAction { public RenameAllOccurences(ISharePointClient iSharePointClient, string baseRelativeUrl, string oldFolderName, string newFolderName) { Sharepoint = iSharePointClient; BaseR...
namespace PPWCode.Util.SharePoint.I { public class RenameAllOccurences : ISharepointAction { public RenameAllOccurences(ISharePointClient iSharePointClient, string baseRelativeUrl, string oldFolderName, string newFolderName) { Sharepoint = iSharePointClient; BaseR...
apache-2.0
C#
555a627e4ad9a5fe1222c4e47de3cb710a9d1953
Build and publish Rock.Encryption.XSerializer nuget package
RockFramework/Rock.Encryption
Rock.Encryption.XSerializer/Properties/AssemblyInfo.cs
Rock.Encryption.XSerializer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
mit
C#
3ac85abd28d1aa235f102c97da3474e66435dd2e
Rewrite GenerateJsonPocket to complete output
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/ChessVariantsTraining/Extensions/ChessGameExtensions.cs
src/ChessVariantsTraining/Extensions/ChessGameExtensions.cs
using ChessDotNet; using ChessDotNet.Variants.Crazyhouse; using System.Collections.Generic; namespace ChessVariantsTraining.Extensions { public static class ChessGameExtensions { public static Dictionary<string, int> GenerateJsonPocket(this ChessGame game) { CrazyhouseChessGame zhC...
using ChessDotNet; using ChessDotNet.Variants.Crazyhouse; using System.Collections.Generic; namespace ChessVariantsTraining.Extensions { public static class ChessGameExtensions { public static Dictionary<string, int> GenerateJsonPocket(this ChessGame game) { CrazyhouseChessGame zhC...
agpl-3.0
C#
042a9f6d31eaf54879420d0d78b184740a108635
Add Route
erangeljr/SportsStore
SportsStore/SportsStore.WebUI/App_Start/RouteConfig.cs
SportsStore/SportsStore.WebUI/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SportsStore.WebUI { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.a...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SportsStore.WebUI { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.a...
mit
C#
df6db16275f8c3c1ac9bda85bfc5cfd921649391
simplify DrawRect (and fix that rect was drawn slightly transparent as part of GUIStyle.Draw)
Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor
src/CodeEditor.Text.UI.Unity.Engine/GUIUtils.cs
src/CodeEditor.Text.UI.Unity.Engine/GUIUtils.cs
using UnityEngine; namespace CodeEditor.Text.UI.Unity.Engine { public class GUIUtils { private static Texture2D _whiteTexture; public static void DrawRect(Rect rect, Color color) { var backup = GUI.color; GUI.color = new Color(color.r, color.g, color.b); GUI.DrawTexture(rect, whiteTexture, ScaleMod...
using UnityEngine; namespace CodeEditor.Text.UI.Unity.Engine { public class GUIUtils { private static GUIStyle _style; public static void DrawRect(Rect rect, Color color) { var backup = GUI.color; GUI.color = color; GUI.Label(rect, GUIContent.none, Style); GUI.color = backup; } protected sta...
mit
C#
b293f505a837656666d186fa022d36de579dd413
Change main page text, remove comments.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Views/Home/Index.cshtml
src/CompetitionPlatform/Views/Home/Index.cshtml
@model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel @{ ViewData["Title"] = "Projects"; } <section class="section section--lead section--padding"> <div class="container container--extend"> <h1 class="text-center page__title">Lykke<span>Streams</span></h1> <h3 class="p...
@model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel @{ ViewData["Title"] = "Projects"; } <section class="section section--lead section--padding"> <div class="container container--extend"> <h1 class="text-center page__title">Lykke<span>Streams</span></h1> <h3 class="p...
mit
C#
b48561fc78bd98169ed5a69ebb6dd492e3eb79d9
Add ResolveKeyProperty extension methods for backwards compat
henkmollema/Dommel
src/Dommel/DommelMapper.IKeyPropertyResolver.cs
src/Dommel/DommelMapper.IKeyPropertyResolver.cs
using System; using System.Linq; using System.Reflection; using static Dommel.DommelMapper; namespace Dommel { public static partial class DommelMapper { /// <summary> /// Defines methods for resolving the key property of entities. /// Custom implementations can be registerd...
using System; using System.Reflection; namespace Dommel { public static partial class DommelMapper { /// <summary> /// Defines methods for resolving the key property of entities. /// Custom implementations can be registerd with <see cref="SetKeyPropertyResolver(IKeyPropertyRes...
mit
C#
976aac81f0d3791cd2406715c9e351c377d527a3
fix non-async write in FixedAltitudeDemTileProvider
WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website
src/WWT.Providers/Providers/Fixedaltitudedemtileprovider.cs
src/WWT.Providers/Providers/Fixedaltitudedemtileprovider.cs
#nullable disable using System.IO; using System.Threading; using System.Threading.Tasks; namespace WWT.Providers { [RequestEndpoint("/wwtweb/FixedAltitudeDemTile.aspx")] public class FixedAltitudeDemTileProvider : RequestProvider { public override string ContentType => ContentTypes.OctetStream; ...
#nullable disable using System.IO; using System.Threading; using System.Threading.Tasks; namespace WWT.Providers { [RequestEndpoint("/wwtweb/FixedAltitudeDemTile.aspx")] public class FixedAltitudeDemTileProvider : RequestProvider { public override string ContentType => ContentTypes.OctetStream; ...
mit
C#
8e3bd557048e764d7263272c9578e004d49ecd2c
Fix CircularContainer not always being circular
ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,default0/osu-framework,Tom94/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,default0/osu-framework,EVAST9919/osu-framework,ZLima12/osu-...
osu.Framework/Graphics/Containers/CircularContainer.cs
osu.Framework/Graphics/Containers/CircularContainer.cs
// Copyright (c) 2007-2017 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.Containers { /// <summary> /// A container which is rounded (via automatic corner-radius) on t...
// Copyright (c) 2007-2017 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.Containers { /// <summary> /// A container which is rounded (via automatic corner-radius) on t...
mit
C#
e09715d71efe23bdedf5a6b7718e6bdbe4ef2258
Add ToString implementation to MultiplayerRoom for easier debug
NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu
osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs
osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System; using System.Collections.Generic; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// A multiplayer room. /// <...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System; using System.Collections.Generic; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// A multiplayer room. /// <...
mit
C#
47f524b375a12ee7beb5d8d4b62122b7905f17ae
use less memory
dethi/troma
src/TerrainAutomator/TerrainAutomator/ProcessImage.cs
src/TerrainAutomator/TerrainAutomator/ProcessImage.cs
using System.Drawing; namespace TerrainAutomator { static class ProcessImage { public static Image CropImage(Image img, Rectangle cropArea) { return ((Bitmap)img).Clone(cropArea, img.PixelFormat); } public static Image resizeImage(Image img, Size newSize...
using System.Drawing; namespace TerrainAutomator { static class ProcessImage { public static Image CropImage(Image img, Rectangle cropArea) { Bitmap bmp = new Bitmap(img); Bitmap bmpCrop = bmp.Clone(cropArea, bmp.PixelFormat); return (Image)(bmpC...
mit
C#
35e6f10a03fa9c3050b24f10f8450ad0c039441f
Set the assembly info
Nepochal/redshift-tray
redshift-tray/redshift-tray/Properties/AssemblyInfo.cs
redshift-tray/redshift-tray/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, ...
mit
C#
3639b6fb7c4c17b18d26b49f6613ffc076c408f3
Add Server support to WaitForState.
DimensionDataResearch/cloudcontrol-client-core
src/DD.CloudControl.Client/CloudControlClient.WaitForStatus.cs
src/DD.CloudControl.Client/CloudControlClient.WaitForStatus.cs
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace DD.CloudControl.Client { using Models; using Models.Network; using Models.Server; /// <summary> /// The CloudControl API client. /// </summary> public partial class CloudControlClient { /// <summary>...
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace DD.CloudControl.Client { using Models; using Models.Network; /// <summary> /// The CloudControl API client. /// </summary> public partial class CloudControlClient { /// <summary> /// Wait for a res...
mit
C#
2540e946c049b23bf59533982b9965c88358c2af
Fix typo for xml comments in GetMultipartBoundary method (#39266)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Http/Http.Extensions/src/HttpRequestMultipartExtensions.cs
src/Http/Http.Extensions/src/HttpRequestMultipartExtensions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Net.Http.Headers; namespace Microsoft.AspNetCore.Http.Extensions; /// <summary> /// Extension methods for working with multipart form requests. /// </summary> publi...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Net.Http.Headers; namespace Microsoft.AspNetCore.Http.Extensions; /// <summary> /// Extension methods for working with multipart form requests. /// </summary> publi...
apache-2.0
C#
01c0b0e0dc2ce357be9430abd095176dec40fc68
add store to timestamp field mapping
wawrzyn/elasticsearch-net,SeanKilleen/elasticsearch-net,robrich/elasticsearch-net,mac2000/elasticsearch-net,mac2000/elasticsearch-net,mac2000/elasticsearch-net,junlapong/elasticsearch-net,joehmchan/elasticsearch-net,LeoYao/elasticsearch-net,wawrzyn/elasticsearch-net,junlapong/elasticsearch-net,gayancc/elasticsearch-net...
src/Nest/Domain/Mapping/SpecialFields/TimestampFieldMapping.cs
src/Nest/Domain/Mapping/SpecialFields/TimestampFieldMapping.cs
using System; using Newtonsoft.Json; using System.Linq.Expressions; using Nest.Resolvers.Converters; namespace Nest { [JsonConverter(typeof(ReadAsTypeConverter<TimestampFieldMapping>))] public interface ITimestampFieldMapping : ISpecialField { [JsonProperty("enabled")] bool Enabled { get; set; } [JsonProper...
using System; using Newtonsoft.Json; using System.Linq.Expressions; using Nest.Resolvers.Converters; namespace Nest { [JsonConverter(typeof(ReadAsTypeConverter<TimestampFieldMapping>))] public interface ITimestampFieldMapping : ISpecialField { [JsonProperty("enabled")] bool Enabled { get; set; } [JsonProper...
apache-2.0
C#
22270ea833c3ffc5f35bea0d3fe3d502b2bf6405
Revert "Adding assembly info attributes back to AssemblyInfo to see if patching will work."
caioproiete/Autofac.Wcf,autofac/Autofac.Wcf
src/Autofac.Integration.Wcf/Properties/AssemblyInfo.cs
src/Autofac.Integration.Wcf/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Integration.Wcf")] [assembly: InternalsVisibleTo("Autofac.Integration.Wcf.Test, PublicKey=002400000480000094000000060200000024000052534131000400...
using System; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Integration.Wcf")] [assembly: InternalsVisibleTo("Autofac.Integration.Wcf.Test, PublicKey=002400000480000094000000060200000024000052534131000400...
mit
C#
5d9ff9150909217aa357e67ef8a84fc39e1210e4
Use Traversal.Create to avoid double allocation of a step array.
ExRam/ExRam.Gremlinq
src/ExRam.Gremlinq.Core/Projections/ArrayProjection.cs
src/ExRam.Gremlinq.Core/Projections/ArrayProjection.cs
using ExRam.Gremlinq.Core.Steps; namespace ExRam.Gremlinq.Core.Projections { public sealed class ArrayProjection : Projection { private readonly Projection _inner; internal ArrayProjection(Projection inner) { _inner = inner; } public override Traversal ToT...
using System.Collections.Immutable; using System.Linq; using ExRam.Gremlinq.Core.Steps; namespace ExRam.Gremlinq.Core.Projections { public sealed class ArrayProjection : Projection { private readonly Projection _inner; internal ArrayProjection(Projection inner) { _inner = ...
mit
C#
d747a7b6ebf2b89b52eea3bbc13e427951e6d231
improve button look and feel on main page
pseale/monopoly-dotnet,pseale/monopoly-dotnet
src/MonopolyDotNet/MonopolyWeb/Views/Home/Index.cshtml
src/MonopolyDotNet/MonopolyWeb/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="hero-unit" style="height: 400px; background-image: url('../img/Monopoly_board.jpg'); background-position: center center"> <div><a href="NewGame" class="btn btn-success btn-large">Start a new game <i class="icon-white icon-arrow-right"></i></a></div> </div>
@{ ViewBag.Title = "Home Page"; } <div class="hero-unit" style="height: 400px; background-image: url('../img/Monopoly_board.jpg'); background-position: center center"> <div><a href="NewGame" class="btn btn-success btn-large" style="padding: 30px 20px 30px 20px">Start a new game <i class="icon-white icon-arrow...
mit
C#
88b061bc4394425c297a5bc7d83ec9cb9e479235
Fix UserPermissionsCacheRefresher - need to invalidate cache by prefix - key contains node ids as well
WebCentrum/Umbraco-CMS,WebCentrum/Umbraco-CMS,WebCentrum/Umbraco-CMS
src/Umbraco.Web/Cache/UserPermissionsCacheRefresher.cs
src/Umbraco.Web/Cache/UserPermissionsCacheRefresher.cs
using System; using Umbraco.Core; using Umbraco.Core.Cache; namespace Umbraco.Web.Cache { /// <summary> /// Used only to invalidate the user permissions cache /// </summary> /// <remarks> /// The UserCacheRefresher will also clear a user's permissions cache, this refresher is for invalid...
using System; using Umbraco.Core; using Umbraco.Core.Cache; namespace Umbraco.Web.Cache { /// <summary> /// Used only to invalidate the user permissions cache /// </summary> /// <remarks> /// The UserCacheRefresher will also clear a user's permissions cache, this refresher is for invalid...
mit
C#
5252ddacdcc2cca4328fe00f5824c09b47d97bd0
Create strategy's
sgrassie/gol
temporalcohesion.gol.console/Program.cs
temporalcohesion.gol.console/Program.cs
using System; using System.Threading; using Mono.Options; using temporalcohesion.gol.core; namespace temporalcohesion.gol.console { class Program { private static int _seed; private static string _initialPattern; private static int _xSize; private static int _ySize; pri...
using System; using System.Threading; using Mono.Options; using temporalcohesion.gol.core; namespace temporalcohesion.gol.console { class Program { private static int _seed; private static string _initialPattern; private static int _xSize; private static int _ySize; pri...
mit
C#
64564690aec60023f89a1d64039ff683b9cd104e
Update xaml.
MichalStrehovsky/roslyn,OmarTawfik/roslyn,DustinCampbell/roslyn,AnthonyDGreen/roslyn,CyrusNajmabadi/roslyn,AlekseyTs/roslyn,reaction1989/roslyn,diryboy/roslyn,khyperia/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,sharwell/roslyn,CaptainHayashi/roslyn,jamesqo/roslyn,bartdesmet/roslyn,mgoertz-msft/roslyn,paulvanbrenk/rosl...
src/VisualStudio/Xaml/Impl/Features/OrganizeImports/XamlRemoveUnnecessaryImportsService.cs
src/VisualStudio/Xaml/Impl/Features/OrganizeImports/XamlRemoveUnnecessaryImportsService.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.Xaml.Features.OrganizeImpor...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.Xaml.Features.OrganizeImports; using Micr...
mit
C#
1538cf40de821076402669bcfd6a8c00972d2687
allow casted IQuerable as IEnumerable to be projected
eriklieben/ErikLieben.Data
ErikLieben.Data/Projection/IQueryableExtensions.cs
ErikLieben.Data/Projection/IQueryableExtensions.cs
namespace ErikLieben.Data.Projection { using System; using System.Collections.Generic; using System.Linq; /// <summary> /// Provides projection mapping from an IQueryable source to a target type. /// </summary> public static class IQueryableExtensions { public static Projection...
namespace ErikLieben.Data.Projection { using System.Linq; /// <summary> /// Provides projection mapping from an IQueryable source to a target type. /// </summary> public static class IQueryableExtensions { public static ProjectionExpression<TSource> Project<TSource>(this IQueryable<TSo...
mit
C#
c594dcef16d7afd4cb2a481da2a1f1c5d86b8e97
fix bug with test
NickSerg/water-meter,NickSerg/water-meter,NickSerg/water-meter
WaterMeter/WM.AspNetMvc.Tests/Controllers/HomeControllerTest.cs
WaterMeter/WM.AspNetMvc.Tests/Controllers/HomeControllerTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using WM.AspNetMvc; using WM.AspNetMvc.Controllers; namespace WM.AspNetMvc.Tests.Controllers { [TestClass] public class HomeControllerTest { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using WM.AspNetMvc; using WM.AspNetMvc.Controllers; namespace WM.AspNetMvc.Tests.Controllers { [TestClass] public class HomeControllerTest { ...
apache-2.0
C#
82121eed9d5a38be939f82ec102f62f0164eb055
Convert OkanshiTimer test to new stopwatch
mvno/Okanshi,mvno/Okanshi,mvno/Okanshi
tests/Okanshi.Tests/OkanshiTimerTest.cs
tests/Okanshi.Tests/OkanshiTimerTest.cs
using System; using System.Threading; using FluentAssertions; using Xunit; using NSubstitute; namespace Okanshi.Test { public class OkanshiTimerTest { private readonly IStopwatch _stopwatch = Substitute.For<IStopwatch>(); private readonly OkanshiTimer _timer; public OkanshiTimerTest() ...
using System; using System.Threading; using FluentAssertions; using Xunit; namespace Okanshi.Test { public class OkanshiTimerTest { private readonly OkanshiTimer _timer = new OkanshiTimer(x => { }); public OkanshiTimerTest() { } [Fact] public void Cannot_be_started_multiple_ti...
mit
C#
40ffd7866c33deeb528181435ac3534f6e639774
Fix linking errors when compiled for arm
deruss/xamarin-paypal-ios-sdk
PayPalMobileForXamarin/libPayPalMobile.linkwith.cs
PayPalMobileForXamarin/libPayPalMobile.linkwith.cs
using System; using MonoTouch.ObjCRuntime; [assembly: LinkWith ("libPayPalMobile.a", LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Simulator, ForceLoad = true, Frameworks="AVFoundation CoreMedia CoreVideo SystemConfiguration Security MessageUI OpenGLES...
using System; using MonoTouch.ObjCRuntime; [assembly: LinkWith ("libPayPalMobile.a", LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Simulator, ForceLoad = true, Frameworks="AVFoundation CoreMedia CoreVideo SystemConfiguration Security MessageUI OpenGLES...
bsd-2-clause
C#
d60c56dfba0bc76b6f7c8a135567d629392b8b1b
Add tests for borders.
eylvisaker/AgateLib
AgateLib.Tests/UnitTests/UserInterface/Venus/AdapterTests.cs
AgateLib.Tests/UnitTests/UserInterface/Venus/AdapterTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AgateLib.Geometry; using AgateLib.Resources; using AgateLib.Resources.Managers; using AgateLib.UnitTests.Resources; using AgateLib.UserInterface.DataModel; using AgateLib.UserInterface.Rendering; u...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AgateLib.Geometry; using AgateLib.Resources; using AgateLib.Resources.Managers; using AgateLib.UnitTests.Resources; using AgateLib.UserInterface.Rendering; using AgateLib.UserInterface.Venus; using...
mit
C#
2b7169107c0db6a608a12bb9d150f65b0e7d2a39
Rename method
Pliner/EasyLauncher
Source/EasyLauncher/Process.cs
Source/EasyLauncher/Process.cs
using System; using System.Diagnostics; using System.Management; namespace EasyLauncher { public interface IProcess { string Name { get; } bool IsStopped { get; } void Kill(); event EventHandler OnExit; } public sealed class ProcessAdapter : IProcess { priv...
using System; using System.Diagnostics; using System.Management; namespace EasyLauncher { public interface IProcess { string Name { get; } bool IsStopped { get; } void Kill(); event EventHandler OnExit; } public sealed class ProcessAdapter : IProcess { priv...
mit
C#
781c0bea9d5d0e515e859ae1eedec074d7a11ed2
Add check for anonymous clients
bwatts/Totem,bwatts/Totem
Source/Totem/Runtime/Client.cs
Source/Totem/Runtime/Client.cs
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; namespace Totem.Runtime { /// <summary> /// A user or process establishing a security context with a runtime service /// </summary> public class Client { public Client() { Id = Id.Unassigned; ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; namespace Totem.Runtime { /// <summary> /// A user or process establishing a security context with a runtime service /// </summary> public class Client { public Client() { Id = Id.Unassigned; ...
mit
C#
4461ebe616452fd23d69b12231cbcd9fedd468a4
Fix formatting in ClipRect.cs.
eylvisaker/AgateLib
Tests/DisplayTests/ClipRect.cs
Tests/DisplayTests/ClipRect.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AgateLib; using AgateLib.DisplayLib; using AgateLib.Geometry; namespace Tests.DisplayTests { class ClipRect : IAgateTest { #region IAgateTest Members public string Name { get { return "Clip Rects"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AgateLib; using AgateLib.DisplayLib; using AgateLib.Geometry; namespace Tests.DisplayTests { class ClipRect : IAgateTest { #region IAgateTest Members public string Name { get { return "Clip Rects"; ...
mit
C#
4d74afc5c37e7fa136c099557920354e4fd0059a
Fix missing ifdef
peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype
src/Glimpse.Agent.AspNet/_SystemWeb/GlimpseAgentModule.cs
src/Glimpse.Agent.AspNet/_SystemWeb/GlimpseAgentModule.cs
#if SystemWeb using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using SystemWebAdapter; using Glimpse.Agent.Configuration; using Glimpse.Agent.Inspectors; using Glimpse.Initialization; namespace Glimpse { public class GlimpseAgentModule : IHttpModul...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using SystemWebAdapter; using Glimpse.Agent.Configuration; using Glimpse.Agent.Inspectors; using Glimpse.Initialization; namespace Glimpse { public class GlimpseAgentModule : IHttpModule { ...
mit
C#
72f9059f95e9ed334051ed68a8e5d31a9366e092
Resolve Nunit run error: System.Security.VerificationException: Operation could destabilize the runtime
cityindex-attic/RESTful-Webservice-Schema,cityindex-attic/RESTful-Webservice-Schema,cityindex-attic/RESTful-Webservice-Schema
src/JsonSchemaGeneration.Tests/Properties/AssemblyInfo.cs
src/JsonSchemaGeneration.Tests/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // 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. [asse...
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("Js...
apache-2.0
C#
c8a23379823fd6bbeea4274f37ac455e97b44904
Fix CS
Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates
CurrencyRates.NbpCurrencyRates/Service/Entity/NbpXml.cs
CurrencyRates.NbpCurrencyRates/Service/Entity/NbpXml.cs
namespace CurrencyRates.NbpCurrencyRates.Service.Entity { static class NbpXml { public const string AverageValue = "kurs_sredni"; public const string CurrencyCode = "kod_waluty"; public const string CurrencyName = "nazwa_waluty"; public const string Multiplier = "przelicz...
namespace CurrencyRates.NbpCurrencyRates.Service.Entity { static class NbpXml { public const string AverageValue = "kurs_sredni"; public const string CurrencyCode = "kod_waluty"; public const string CurrencyName = "nazwa_waluty"; public const string Multiplier = "przelicz...
mit
C#
6c5d291b10806decdd8d70d8648012471cda47ca
Remove internal types from Logging and Abstractions (dotnet/extensions#513)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Shared/BenchmarkRunner/DefaultCoreValidationConfig.cs
src/Shared/BenchmarkRunner/DefaultCoreValidationConfig.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Loggers; using BenchmarkDotNet.Toolchains.InProcess; namespace Benchma...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Reflection; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using BenchmarkDotNet.Configs...
apache-2.0
C#
2ef53330fb8b19b5a150ec1b3a2b16f6896835a5
Add newest verification level
AntiTcb/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net
src/Discord.Net.Core/Entities/Guilds/VerificationLevel.cs
src/Discord.Net.Core/Entities/Guilds/VerificationLevel.cs
namespace Discord { public enum VerificationLevel { /// <summary> Users have no additional restrictions on sending messages to this guild. </summary> None = 0, /// <summary> Users must have a verified email on their account. </summary> Low = 1, /// <summary> Users must f...
namespace Discord { public enum VerificationLevel { /// <summary> Users have no additional restrictions on sending messages to this guild. </summary> None = 0, /// <summary> Users must have a verified email on their account. </summary> Low = 1, /// <summary> Users must f...
mit
C#
9cb7bd097f6fabddbeaad3890f9e677609198f03
disable Inheritance proxyMode
AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework
src/AspectCore.Abstractions/Internal/ProxyGenerator.cs
src/AspectCore.Abstractions/Internal/ProxyGenerator.cs
using System; using System.Reflection; using AspectCore.Abstractions.Internal.Generator; namespace AspectCore.Abstractions.Internal { public sealed class ProxyGenerator : IProxyGenerator { private readonly IAspectValidator aspectValidator; public ProxyGenerator(IAspectValidator aspectValidato...
using System; using System.Reflection; using AspectCore.Abstractions.Internal.Generator; namespace AspectCore.Abstractions.Internal { public sealed class ProxyGenerator : IProxyGenerator { private readonly IAspectValidator aspectValidator; public ProxyGenerator(IAspectValidator aspectValidato...
mit
C#
acfe6750256ded98aea4a8828fc83eef700a4e5f
Remove MIT license header
fredatgithub/WinFormTemplate
WinFormTemplate/FormOptions.cs
WinFormTemplate/FormOptions.cs
using System; using System.Windows.Forms; namespace WinFormTemplate { internal partial class FormOptions : Form { private readonly ConfigurationOptions _configurationOptions2; internal FormOptions(ConfigurationOptions configurationOptions) { if (configurationOptions == null) { ...
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
mit
C#
29a28710f371587f8cf2ebbdd94f29fcd7ed2e1b
change Abstractions invokeAsync return type to Task<T>
AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions
src/AspectCore.Lite.Abstractions/IAspectActivator.cs
src/AspectCore.Lite.Abstractions/IAspectActivator.cs
using System; using System.Reflection; using System.Threading.Tasks; namespace AspectCore.Lite.Abstractions { [NonAspect] public interface IAspectActivator { void InitializeMetaData(Type serviceType, MethodInfo serviceMethod, MethodInfo targetMethod, MethodInfo proxyMethod); T Invoke<T>(o...
using System; using System.Reflection; namespace AspectCore.Lite.Abstractions { [NonAspect] public interface IAspectActivator { void InitializeMetaData(Type serviceType, MethodInfo serviceMethod, MethodInfo targetMethod, MethodInfo proxyMethod); T Invoke<T>(object targetInstance, object p...
mit
C#
3780b513b94b2b1a170cf44e36a5a8e9218485e4
Change ResourceType
mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse....
src/Glimpse.Server.Web/Resources/MetadataResource.cs
src/Glimpse.Server.Web/Resources/MetadataResource.cs
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNet.Http; using Microsoft.Net.Http.Headers; using Newtonsoft.Json; namespace Glimpse.Server.Web.Resources { public class MetadataResource : IResource { private readonly IMetadataProvider _metadataProvider; priva...
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNet.Http; using Microsoft.Net.Http.Headers; using Newtonsoft.Json; namespace Glimpse.Server.Web.Resources { public class MetadataResource : IResource { private readonly IMetadataProvider _metadataProvider; priva...
mit
C#
6c596b2515f606587faee51c9bc4f80eb2eb9425
delete children first then the rest
livioc/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,livioc/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhi...
src/NHibernate.Test/NHSpecificTest/NH1845/Fixture.cs
src/NHibernate.Test/NHSpecificTest/NH1845/Fixture.cs
using NHibernate.Cfg.MappingSchema; using NHibernate.Mapping.ByCode; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1845 { public class Fixture : TestCaseMappingByCode { protected override HbmMapping GetMappings() { var mapper = new ModelMapper(); mapper.Class<Category>(rc => ...
using NHibernate.Cfg.MappingSchema; using NHibernate.Mapping.ByCode; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1845 { public class Fixture: TestCaseMappingByCode { protected override HbmMapping GetMappings() { var mapper = new ModelMapper(); mapper.Class<Category>(rc => ...
lgpl-2.1
C#
2220f7cd1ef10dccda2677ef0d7cb0fcde99dbdc
Fix for reading the BoltHost from the environment variables.
neo4j/neo4j-dotnet-driver,neo4j/neo4j-dotnet-driver
Neo4j.Driver/Neo4j.Driver.Tests.Integration/Internals/StandAlone/Neo4jDefaultInstallation.cs
Neo4j.Driver/Neo4j.Driver.Tests.Integration/Internals/StandAlone/Neo4jDefaultInstallation.cs
// Copyright (c) 2002-2020 "Neo4j," // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org...
// Copyright (c) 2002-2020 "Neo4j," // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org...
apache-2.0
C#
9233c9dad26801d1d98b56f7bb7a8c0e2de361aa
Make integration tests explicit
micdenny/EasyNetQ.Management.Client,alexwiese/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management.Client,chinaboard/EasyNetQ.Management.Client,LawrenceWard/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management....
Source/EasyNetQ.Management.Client.Tests/ScenarioTest.cs
Source/EasyNetQ.Management.Client.Tests/ScenarioTest.cs
// ReSharper disable InconsistentNaming using System; using EasyNetQ.Management.Client.Model; using NUnit.Framework; namespace EasyNetQ.Management.Client.Tests { [TestFixture] [Explicit("Requires a RabbitMQ server on localhost to work")] public class ScenarioTest { [SetUp] public void...
// ReSharper disable InconsistentNaming using System; using EasyNetQ.Management.Client.Model; using NUnit.Framework; namespace EasyNetQ.Management.Client.Tests { [TestFixture] public class ScenarioTest { [SetUp] public void SetUp() { } /// <summary> /// De...
mit
C#
ee682135893e78786005ccc66fe3af11df8e8e43
Make ObservableSocket log using it's inherited type
danbarua/NEventSocket,pragmatrix/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket
test/NEventSocket.Tests/Sockets/OutboundSocketTests.cs
test/NEventSocket.Tests/Sockets/OutboundSocketTests.cs
namespace NEventSocket.Tests.Sockets { using System; using System.Threading; using System.Threading.Tasks; using Common.Logging; using Common.Logging.Simple; using Xunit; public class OutboundSocketTests { public OutboundSocketTests() { LogM...
namespace NEventSocket.Tests.Sockets { using System; using System.Threading; using System.Threading.Tasks; using Common.Logging; using Common.Logging.Simple; using Xunit; public class OutboundSocketTests { public OutboundSocketTests() { LogM...
mpl-2.0
C#
2786809fa2166172f3b9b84f41c708690b6ff10d
put AlwaysOnSampler in the tutorial (#1356)
open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet
docs/trace/getting-started/Program.cs
docs/trace/getting-started/Program.cs
// <copyright file="Program.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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/lic...
// <copyright file="Program.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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/lic...
apache-2.0
C#
dedc668ce0871705fd6c86ec08033e5865748d92
Add connection string test
TurnerSoftware/MongoFramework
tests/MongoFramework.Tests/MongoDbConnectionTests.cs
tests/MongoFramework.Tests/MongoDbConnectionTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MongoFramework.Tests { [TestClass] public class MongoDbConnectionTests { #if !NETCOREAPP2_0 [TestMethod] public void ConnectionFromConfig() { var connection = MongoDbConnection.FromConfig("MongoFrameworkTests"); Assert.IsNotNul...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MongoFramework.Tests { [TestClass] public class MongoDbConnectionTests { #if !NETCOREAPP2_0 [TestMethod] public void ConnectionFromConfig() { var connection = MongoDbConnection.FromConfig("MongoFrameworkTests"); Assert.IsNotNul...
mit
C#
9823966f1bb423c92af481f24be40924eaefd6fa
Reorder parameters
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/LoginAuthCommandTest.cs
src/AppHarbor.Tests/Commands/LoginAuthCommandTest.cs
using System; using System.IO; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class LoginAuthCommandTest { [Theory, AutoCommandData] public void ShouldSetAppHarborTokenIfUserIsntLoggedIn([Frozen]Mock<TextWriter...
using System; using System.IO; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class LoginAuthCommandTest { [Theory, AutoCommandData] public void ShouldSetAppHarborTokenIfUserIsntLoggedIn(string username, string...
mit
C#
dbacb7a52aa18b3539063feacdbcfb8e082506a3
Add a comment explaining why we're setting the FilePath and Region properties on the CallTreeNode class.
kschecht/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk,kschecht/sarif-sdk
src/Sarif.Viewer.VisualStudio/Models/CallTreeNode.cs
src/Sarif.Viewer.VisualStudio/Models/CallTreeNode.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Microsoft.CodeAnalysis.Sarif; using System; using System.IO; namespace Microsoft.Sarif.Viewer.Models { public class Call...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Microsoft.CodeAnalysis.Sarif; using System; using System.IO; namespace Microsoft.Sarif.Viewer.Models { public class Call...
mit
C#
1eab4e179ddb5583ded246af115edafdc41b89c1
Add sample action to test so hover effect is visible
johnneijzen/osu,peppy/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,2y...
osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.cs
osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.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.Game.Overlays.Profile.Sections; using System; using System.Collections.Generic; using osu.Framework.Graphics; namespace osu.Game.Tests.Visual.Online { pub...
// 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.Game.Overlays.Profile.Sections; using System; using System.Collections.Generic; using osu.Framework.Graphics; namespace osu.Game.Tests.Visual.Online { pub...
mit
C#