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
856cfc0c24298093a765e556bb00c3717cdb3683
Change port number 8888 to 8898
AlexPuiu/Nancy,VQComms/Nancy,sloncho/Nancy,EIrwin/Nancy,jonathanfoster/Nancy,charleypeng/Nancy,phillip-haydon/Nancy,NancyFx/Nancy,fly19890211/Nancy,tareq-s/Nancy,MetSystem/Nancy,malikdiarra/Nancy,davidallyoung/Nancy,albertjan/Nancy,daniellor/Nancy,jonathanfoster/Nancy,horsdal/Nancy,jongleur1983/Nancy,rudygt/Nancy,fly19...
src/Nancy.Demo.Hosting.Self/Program.cs
src/Nancy.Demo.Hosting.Self/Program.cs
namespace Nancy.Demo.Hosting.Self { using System; using System.Diagnostics; using Nancy.Hosting.Self; class Program { static void Main() { using (var nancyHost = new NancyHost(new Uri("http://localhost:8888/nancy/"), new Uri("http://127.0.0.1:8898/nancy/"), ...
namespace Nancy.Demo.Hosting.Self { using System; using System.Diagnostics; using Nancy.Hosting.Self; class Program { static void Main() { using (var nancyHost = new NancyHost(new Uri("http://localhost:8888/nancy/"), new Uri("http://127.0.0.1:8888/nancy/"), ...
mit
C#
e34ae5b3da37e77728fae6264ac53346a3c2d1b8
Add IndentHeuristic option to CompareOptions
PKRoma/libgit2sharp,libgit2/libgit2sharp
LibGit2Sharp/CompareOptions.cs
LibGit2Sharp/CompareOptions.cs
using System; namespace LibGit2Sharp { /// <summary> /// Options to define file comparison behavior. /// </summary> public sealed class CompareOptions { /// <summary> /// Initializes a new instance of the <see cref="CompareOptions"/> class. /// </summary> public Comp...
using System; namespace LibGit2Sharp { /// <summary> /// Options to define file comparison behavior. /// </summary> public sealed class CompareOptions { /// <summary> /// Initializes a new instance of the <see cref="CompareOptions"/> class. /// </summary> public Comp...
mit
C#
a21f0375c3ef2b93c4a2315822b2048dbe489fc1
Fix crash when no slam data came back from the server. (Fixes #17)
VoiDeD/steam-irc-bot
SteamIrcBot/IRC/Commands/Slam.cs
SteamIrcBot/IRC/Commands/Slam.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace SteamIrcBot { class SlamCommand : Command<SlamCommand.Request> { public class Request : BaseRequest { } ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace SteamIrcBot { class SlamCommand : Command<SlamCommand.Request> { public class Request : BaseRequest { } ...
mit
C#
821a85fd127b6f263d4d6adce3ba8bb9d6588fd3
Remove unused declarations
OrleansContrib/Orleankka,mhertis/Orleankka,yevhen/Orleankka,pkese/Orleankka,OrleansContrib/Orleankka,pkese/Orleankka,yevhen/Orleankka,mhertis/Orleankka
Source/Orleankka.Tests/Features/One_off_timers.cs
Source/Orleankka.Tests/Features/One_off_timers.cs
using System; using System.Threading; using NUnit.Framework; using Orleans; namespace Orleankka.Features { using CSharp; namespace One_off_timers { using Meta; using Testing; [Serializable] public class SetOneOffTimer : Command {} [Serializable] ...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using NUnit.Framework; using Orleankka.Services; using Orleans; namespace Orleankka.Features { using CSharp; namespace One_off_timers { using Meta; using Testing; [Serializable] pub...
apache-2.0
C#
1ac540bb88da40566a98f2c05aa89398bad132c6
Update ArrayEntity.cs
dimmpixeye/Unity3dTools
Runtime/LibMisc/ArrayEntity.cs
Runtime/LibMisc/ArrayEntity.cs
// Project : ecs // Contacts : Pix - ask@pixeye.games using System; using System.Runtime.CompilerServices; using Unity.IL2CPP.CompilerServices; using UnityEngine; namespace Pixeye.Framework { [Serializable] public struct ArrayEntity { public int length; public ent[] source; public ref ent this[int index] ...
// Project : ecs // Contacts : Pix - ask@pixeye.games using System; using System.Runtime.CompilerServices; using Unity.IL2CPP.CompilerServices; namespace Pixeye.Framework { [Serializable] public struct ArrayEntity { public int length; public ent[] source; public ref ent this[int index] { [MethodImpl(...
mit
C#
b9e0b9ecebaa04c7be262517546941fa2f99482e
Remove Guid, fix typo and change to allowed seperator character
aliostad/PerfIt,aliostad/PerfIt
src/PerfIt/InstrumentationEventSource.cs
src/PerfIt/InstrumentationEventSource.cs
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PerfIt { [EventSource(Name = "PerfIt-Instrumentation")] public class InstrumentationEventSource : EventSource { public static readonly Ins...
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PerfIt { [EventSource(Name = "PerIt!Instrumentation", Guid = "{010380F8-40A7-45C3-B87B-FD4C6CC8700A}")] public class InstrumentationEventSource : Even...
mit
C#
40fa01b78e481694a72437c080c78e4f344d38cc
Document PoELeague
jcmoyer/Yeena
Yeena/PathOfExile/PoELeague.cs
Yeena/PathOfExile/PoELeague.cs
// Copyright 2013 J.C. Moyer // // 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 agreed to ...
// Copyright 2013 J.C. Moyer // // 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 agreed to ...
apache-2.0
C#
631735e7b19d86e85be64840461047a9168e257a
Increment version
Haacked/Scientist.net
src/Scientist/Properties/AssemblyInfo.cs
src/Scientist/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Scientist")] [assembly: AssemblyDescripti...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Scientist")] [assembly: AssemblyDescripti...
mit
C#
3e5393831138e1b13a0aa34ae43e6a1a225230eb
Update ComputationAssembly.cs
HelloKitty/DistributedComputationEngine
TerminalClient/Compilation/ComputationAssembly.cs
TerminalClient/Compilation/ComputationAssembly.cs
using System; using System.Codedom; namespace Distributed.Compile { ///<Summary> /// Provides a wrapper for the dyanmic assembly, method substituion and etc. /// It's important that this class only be created once or we will suffer memory issues /// as dynamic assemblies in the same AppDomain cannot be freed up. ...
using System; using System.Codedom; namespace Distributed.Compile { ///<Summary> /// Provides a wrapper for the dyanmic assembly, method substituion and etc. /// It's important that this class only be created once or we will suffer memory issues /// as dynamic assemblies in the same AppDomain cannot be freed up. ...
mit
C#
63fd62235d1af364baeaa1b2679157a626c898ce
Rename "Total Tips" to "Tips"
BillChirico/Tipage,BillChirico/Tipage
src/Tipage.Web/Views/Shifts/Index.cshtml
src/Tipage.Web/Views/Shifts/Index.cshtml
@model Tipage.Web.Models.ViewModels.ShiftListViewModel @{ ViewData["Title"] = "Shifts"; } <h2>Shifts</h2> <h3 class="total-tip">@Html.DisplayNameFor(model => model.TotalTips) @Html.DisplayFor(model => model.TotalTips)</h3> <h3 class="total-tip">@Html.DisplayNameFor(model => model.AverageHourlyWage) @Html.DisplayF...
@model Tipage.Web.Models.ViewModels.ShiftListViewModel @{ ViewData["Title"] = "Shifts"; } <h2>Shifts</h2> <h3 class="total-tip">@Html.DisplayNameFor(model => model.TotalTips) @Html.DisplayFor(model => model.TotalTips)</h3> <h3 class="total-tip">@Html.DisplayNameFor(model => model.AverageHourlyWage) @Html.DisplayF...
mit
C#
11efb5ec78f9b1fe744d04879db36c2e72f9c118
Fix capitalization in comments
corsairmarks/band.personalize
src/Band.Personalize/Band.Personalize.App.Universal/Views/ImageUserControl.xaml.cs
src/Band.Personalize/Band.Personalize.App.Universal/Views/ImageUserControl.xaml.cs
// Copyright 2016 Nicholas Butcher // // 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 agreed ...
// Copyright 2016 Nicholas Butcher // // 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 agreed ...
apache-2.0
C#
55261e55ef2b0354d4b8cabd35a5207f7a19d84b
Increment version
R-Smith/vmPing
vmPing/Properties/AssemblyInfo.cs
vmPing/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
efcda2a8822d905f097ae8abd422c61373ea5cd6
Add link to reports
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Units/List.cshtml
Battery-Commander.Web/Views/Units/List.cshtml
@model IEnumerable<Unit> <div class="page-header"> <h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1> </div> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th> <t...
@model IEnumerable<Unit> <div class="page-header"> <h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default btn-xs" })</h1> </div> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th> <t...
mit
C#
3db49069dff9abfd905b6e012d18a460f9a3eba4
Package numbering test
rippo/testing.casperjs.presentation.vscode.50mins,rippo/testing.casperjs.presentation.vscode.50mins,rippo/testing.casperjs.presentation.vscode.50mins,rippo/testing.casperjs.presentation.vscode.50mins
Casper.Mvc/Casper.Mvc/Views/Home/Index.cshtml
Casper.Mvc/Casper.Mvc/Views/Home/Index.cshtml
@{ViewBag.Title = "Home";} <div class="jumbotron"> <h1>CasperJS Testing!</h1> <p>CasperJS is a navigation scripting & testing utility for PhantomJS written in Javascript</p> <p><a target="_blank" href="http://casperjs.org/" class="btn btn-primary btn-lg" role="button">Learn more</a></p> </div> <div clas...
@{ViewBag.Title = "Home";} <div class="jumbotron"> <h1>CasperJS Testing</h1> <p>CasperJS is a navigation scripting & testing utility for PhantomJS written in Javascript</p> <p><a target="_blank" href="http://casperjs.org/" class="btn btn-primary btn-lg" role="button">Learn more</a></p> </div> <div class...
mit
C#
eca93be009afdba6ff2e29280aa36ffbd6c7b5d8
Remove IXLPivotTables.Add() - wasn't used
igitur/ClosedXML,ClosedXML/ClosedXML,b0bi79/ClosedXML
ClosedXML/Excel/PivotTables/IXLPivotTables.cs
ClosedXML/Excel/PivotTables/IXLPivotTables.cs
using System; using System.Collections.Generic; namespace ClosedXML.Excel { public interface IXLPivotTables : IEnumerable<IXLPivotTable> { IXLPivotTable AddNew(String name, IXLCell target, IXLRange source); IXLPivotTable AddNew(String name, IXLCell target, IXLTable table); Boolean Con...
using System; using System.Collections.Generic; namespace ClosedXML.Excel { public interface IXLPivotTables : IEnumerable<IXLPivotTable> { void Add(String name, IXLPivotTable pivotTable); IXLPivotTable AddNew(String name, IXLCell target, IXLRange source); IXLPivotTable AddNew(String n...
mit
C#
8ff2132afe3eeb5a7c397766c9ac198e618222d3
bump ver
AntonyCorbett/OnlyT,AntonyCorbett/OnlyT
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.3.0.5")]
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.3.0.4")]
mit
C#
7f1f0658bf0e0dfa7b483ec95d3297992d953cc1
Make that UInt
Dreadlow/PolarisServer,lockzag/PolarisServer,MrSwiss/PolarisServer,cyberkitsune/PolarisServer,PolarisTeam/PolarisServer
PolarisServer/Packets/Handlers/ClientDebug.cs
PolarisServer/Packets/Handlers/ClientDebug.cs
using System; namespace PolarisServer.Packets.Handlers { [PacketHandlerAttr(0x1, 0x2)] public class ClientDebug : PacketHandler { public override void handlePacket(Client context, byte[] data, uint position, uint size) { if (!(data[7] == 0x3 && data[8] == 0x4)) ...
using System; namespace PolarisServer.Packets.Handlers { [PacketHandlerAttr(0x1, 0x2)] public class ClientDebug : PacketHandler { public override void handlePacket(Client context, byte[] data, uint position, uint size) { if (!(data[7] == 0x3 && data[8] == 0x4)) ...
agpl-3.0
C#
0cba81cec23c793d3fe4ff84b7def01d51054aa8
Change LabelUrl property from string to List<String>
goshippo/shippo-csharp-client
Shippo/Batch.cs
Shippo/Batch.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Batch : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus { get; set; } [JsonProperty (PropertyName = "obj...
using System; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Batch : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus { get; set; } [JsonProperty (PropertyName = "object_created")] public stri...
apache-2.0
C#
34f32ce93806e4292f9ff54e7a4ef0ee89313379
Update XML comments of ScopeSource
atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata
src/Atata/ScopeSource.cs
src/Atata/ScopeSource.cs
namespace Atata { /// <summary> /// Specifies the source of the scope. /// </summary> public enum ScopeSource { /// <summary> /// Uses the parent's scope. /// </summary> Parent, /// <summary> /// Uses the grandparent's (the parent of the pare...
namespace Atata { /// <summary> /// Specifies the source scope. /// </summary> public enum ScopeSource { /// <summary> /// Uses the parent's scope. /// </summary> Parent, /// <summary> /// Uses the grandparent's (the parent of the parent) sco...
apache-2.0
C#
196b81e43f88295ffffcc16ac8de9a47b81fcabb
Refactor Log objects to class DTOs.
nessos/Eff
src/Eff.Core/LogTypes.cs
src/Eff.Core/LogTypes.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Eff.Core { public class ExceptionLog { public string CallerMemberName { get; set; } public string CallerFilePath { get; set; } public int CallerLineNumber { get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Eff.Core { public struct ExceptionLog { public string CallerMemberName; public string CallerFilePath; public int CallerLineNumber; public Exception Exce...
mit
C#
097b5a6cfdb95a6138ffa4455d0a62864ed6fa86
Set version
BizTalkComponents/EncryptMessage
Src/EncryptMessage/Properties/AssemblyInfo.cs
Src/EncryptMessage/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("Bi...
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("Bi...
mit
C#
2e3209ef3bd0d116135e325dd8043f0d792a7c30
Switch to version 1.4.4
Abc-Arbitrage/Zebus,biarne-a/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.4.4")] [assembly: AssemblyFileVersion("1.4.4")] [assembly: AssemblyInformationalVersion("1.4.4")]
using System.Reflection; [assembly: AssemblyVersion("1.4.3")] [assembly: AssemblyFileVersion("1.4.3")] [assembly: AssemblyInformationalVersion("1.4.3")]
mit
C#
7b14376f79c55026f0e4a7b991b3dcb6d06428f3
fix KeyMover
RyotaMurohoshi/unity_mathf_example
Assets/Example/Scripts/KeyMover.cs
Assets/Example/Scripts/KeyMover.cs
using UnityEngine; public class KeyMover : MonoBehaviour { void Update() { if (Input.GetKey(KeyCode.UpArrow)) { transform.position += 5.0F * Time.deltaTime * Vector3.up; } if (Input.GetKey(KeyCode.RightArrow)) { transform.position += 5.0F * Time...
using UnityEngine; public class KeyMover : MonoBehaviour { void Update() { if (Input.GetKey(KeyCode.UpArrow)) { transform.position += 5.0F * Time.deltaTime * Vector3.up; } else if (Input.GetKey(KeyCode.RightArrow)) { transform.position += 5.0F * ...
mit
C#
d1a90612c22b7a91fce67f6b921b67633739ef72
Change ControlExtensions.InvokeSafe to use Control instead of Form
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Controls/ControlExtensions.cs
Core/Controls/ControlExtensions.cs
using System; using System.Drawing; using System.Windows.Forms; namespace TweetDck.Core.Controls{ static class ControlExtensions{ public static void InvokeSafe(this Control control, Action func){ if (form.InvokeRequired){ form.Invoke(func); } else{ ...
using System; using System.Drawing; using System.Windows.Forms; namespace TweetDck.Core.Controls{ static class ControlExtensions{ public static void InvokeSafe(this Form form, Action func){ if (form.InvokeRequired){ form.Invoke(func); } else{ ...
mit
C#
9d07a39644f2b5e1665389937697e5afaccd1846
Update Foo.cs
Test20130521/201605282045
Foo.cs
Foo.cs
using System; using System.Text; namespace ConsoleApplication44 { class Foo { public void M1(DateTime? date) { var builder = new StringBuilder(@" SELECT PostId, Text, CreationDate4 FROM Post WHERE 1 = 1"); } } }
using System; using System.Text; namespace ConsoleApplication44 { class Foo { public void M1(DateTime? date) { var builder = new StringBuilder(@" SELECT PostId, Text, CreationDate FROM Post WHERE 1 = 1"); } } }
apache-2.0
C#
9f133d1c3609c9bf13313589970776a9cc1cb7d0
Fix in UpdateBindingBehaviorBase
blebougge/Catel
src/Catel.MVVM/Catel.MVVM.Shared/Windows/Interactivity/Behaviors/UpdateBindingBehaviorBase.cs
src/Catel.MVVM/Catel.MVVM.Shared/Windows/Interactivity/Behaviors/UpdateBindingBehaviorBase.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="UpdateBindingOnTextChanged.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Catel development team. All rights reserved. // </copyright> // -------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="UpdateBindingOnTextChanged.cs" company="Catel development team"> // Copyright (c) 2008 - 2014 Catel development team. All rights reserved. // </copyright> // -------------------...
mit
C#
e66be626f7f585e56da9e8a98aee78def10225f1
make field readonly
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance/Infrastructure/OuterApiRequests/GetExpiringAccountFundsRequest.cs
src/SFA.DAS.EmployerFinance/Infrastructure/OuterApiRequests/GetExpiringAccountFundsRequest.cs
using SFA.DAS.EmployerFinance.Interfaces.OuterApi; namespace SFA.DAS.EmployerFinance.Infrastructure.OuterApiRequests { public class GetExpiringAccountFundsRequest : IGetApiRequest { private readonly long _accountId; public string GetUrl => $"account/{_accountId}/expiring-funds"; publ...
using SFA.DAS.EmployerFinance.Interfaces.OuterApi; namespace SFA.DAS.EmployerFinance.Infrastructure.OuterApiRequests { public class GetExpiringAccountFundsRequest : IGetApiRequest { private long _accountId; public string GetUrl => $"account/{_accountId}/expiring-funds"; public GetExp...
mit
C#
49ce5bbe29d0c6ca63ad93ac432eb07757daf73e
Add TimeoutHelper license header
sergezhigunov/Hangfire.EntityFramework
src/Hangfire.EntityFramework/TimeoutHelper.cs
src/Hangfire.EntityFramework/TimeoutHelper.cs
// Copyright (c) 2017 Sergey Zhigunov. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; namespace Hangfire.EntityFramework { using static ErrorStrings; internal struct TimeoutHelper { public DateTime Deadline { get; } pu...
using System; namespace Hangfire.EntityFramework { using static ErrorStrings; internal struct TimeoutHelper { public DateTime Deadline { get; } public TimeoutHelper(TimeSpan timeout) { if (timeout < TimeSpan.Zero) throw new ArgumentOutOfRangeException(...
mit
C#
97fcf92f7ae968969f079a5a6dae975486d07c34
Remove FadeInFromZero from base class.
ppy/osu-framework,naoey/osu-framework,paparony03/osu-framework,default0/osu-framework,ppy/osu-framework,peppy/osu-framework,paparony03/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,default0/osu-...
osu.Framework/Graphics/Containers/AsyncLoadContainer.cs
osu.Framework/Graphics/Containers/AsyncLoadContainer.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; using System.Threading.Tasks; using osu.Framework.Allocation; namespace osu.Framework.Graphics.Containers { /// <summary> /// ...
// 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; using System.Threading.Tasks; using osu.Framework.Allocation; namespace osu.Framework.Graphics.Containers { /// <summary> /// ...
mit
C#
cd7559bce1c4ba13eacaa2ea32f235960d4c8313
Remove null values
HelloKitty/SceneJect,HelloKitty/SceneJect
src/SceneJect.Common/Injection/SceneJector.cs
src/SceneJect.Common/Injection/SceneJector.cs
using Autofac; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace SceneJect.Common { public sealed class SceneJector : MonoBehaviour { [SerializeField] private List<DependencyTypePair> typePairs; [SerializeField] private List<NonBehaviourDepen...
using Autofac; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace SceneJect.Common { public sealed class SceneJector : MonoBehaviour { [SerializeField] private List<DependencyTypePair> typePairs; [SerializeField] private List<NonBehaviourDepen...
mit
C#
40d6fe8f63afc298d86af7cec2c1d1ae22edb34b
fix output file path string
zrma/newboy,zrma/newboy
WaveFun/Main.cs
WaveFun/Main.cs
//----------------------------------------------------- // Main.cs // Code for the main form of this app. // // Copyright (c) 2009 Dan Waters // This code is provided AS-IS and is written by me, // with no endorsement from Microsoft. //----------------------------------------------------- using System; usin...
//----------------------------------------------------- // Main.cs // Code for the main form of this app. // // Copyright (c) 2009 Dan Waters // This code is provided AS-IS and is written by me, // with no endorsement from Microsoft. //----------------------------------------------------- using System; usin...
mit
C#
af0b3ad8b8fcf846a2587f72bca78eec0900740b
Update Note.cs
stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp
ZUGFeRD/Note.cs
ZUGFeRD/Note.cs
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace s2industries.ZUGFeRD { public class Note { public string Content { get; set; } public SubjectCodes SubjectCode { get; set; } = SubjectCodes.Unknown; public Cont...
apache-2.0
C#
60e8beca6a1c45e82e283c0a0a631b219c16f46f
Add generic at Instantiate. (Instantiate에 Generic 추가)
Cube219/SimpleObjectPool
Assets/SimpleObjectPool/PooledObject.cs
Assets/SimpleObjectPool/PooledObject.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; namespace Cube219.SimpleObjectPool { /// <summary> /// An Object that can be recycled. /// It can be managed by ObjectPool. /// (재사용 가능한 Object입니다. /// ObjectPool에 의해 관리됩니다.) /// </summary> public abstract class P...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; namespace Cube219.SimpleObjectPool { /// <summary> /// An Object that can be recycled. /// It can be managed by ObjectPool. /// (재사용 가능한 Object입니다. /// ObjectPool에 의해 관리됩니다.) /// </summary> public abstract class P...
mit
C#
347e600307d2c221ddfa603becdae102cad6d58a
Handle edges and slopes
ivanarellano/unity-in-action-book
Ch07/Assets/Scripts/RelativeMovement.cs
Ch07/Assets/Scripts/RelativeMovement.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CharacterController))] public class RelativeMovement : MonoBehaviour { [SerializeField] private Transform target; public float moveSpeed = 6.0f; public float rotSpeed = 15.0f; public float jumpSp...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CharacterController))] public class RelativeMovement : MonoBehaviour { [SerializeField] private Transform target; public float moveSpeed = 6.0f; public float rotSpeed = 15.0f; private CharacterCo...
mit
C#
72ff2002a2af932aeb9c91c8b40a6e79b5aaf884
Change Prompt Wording
Ferris-DMSE/DmseBot,Ferris-DMSE/DmseBot
DmseBot/Forms/RequestInformationForm.cs
DmseBot/Forms/RequestInformationForm.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Web; using DmseBot.Options; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.FormFlow; namespace DmseBot.Forms { /// <summary> /// D...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Web; using DmseBot.Options; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.FormFlow; namespace DmseBot.Forms { /// <summary> /// D...
mit
C#
6791c4ea6accfe56e9faacdd100b779fd3410470
Fix crash with null text
ethanmoffat/EndlessClient
EndlessClient/UIControls/ChatTextBox.cs
EndlessClient/UIControls/ChatTextBox.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Content; using EOLib; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using XNAControls; ...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Content; using EOLib; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using XNAControls; ...
mit
C#
c751e1239133cb94b7cd9d427bcbf39fdc66bd02
Add GetOrNull<T> to ActorInfo.
LipkeGu/OpenRPG
Actor.cs
Actor.cs
using System; using System.Collections.Generic; using System.Linq; namespace OpenRPG { public class ActorInfo { public readonly string Name; public readonly List<ITraitInfo> TraitInfos = new List<ITraitInfo>(); public ActorInfo(string actorName, MetadataNode actorMeta) { Name = actorName; foreach (v...
using System; using System.Collections.Generic; using System.Linq; namespace OpenRPG { public class ActorInfo { public readonly string Name; public readonly List<ITraitInfo> TraitInfos = new List<ITraitInfo>(); public ActorInfo(string actorName, MetadataNode actorMeta) { Name = actorName; foreach (v...
isc
C#
9f85b36577d97b810074f5acc82cbf1a7fff62ae
Remove STAThread from main function
TriDevs/TriCraftClassic
TriDevs.TriCraftClassic/Program.cs
TriDevs.TriCraftClassic/Program.cs
using System; using System.Drawing; namespace TriDevs.TriCraftClassic { class Program { public static void Main(string[] args) { Window window = new Window(1280, 720); window.Run(60.0); } } }
using System; using System.Drawing; namespace TriDevs.TriCraftClassic { class Program { [STAThread] public static void Main(string[] args) { Window window = new Window(1280, 720); window.Run(60.0); } } }
mit
C#
8366eb5d15986a14662402fcc7ca41ae9f1a2ef4
Use field for metadata to prevent reloading every time a term is read
ChristopherJennings/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector
KenticoInspector.Core/AbstractReport.cs
KenticoInspector.Core/AbstractReport.cs
using KenticoInspector.Core.Models; using KenticoInspector.Core.Services.Interfaces; using System; using System.Collections.Generic; namespace KenticoInspector.Core { public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new() { private ReportMetadata<T> metadata; prote...
using KenticoInspector.Core.Models; using KenticoInspector.Core.Services.Interfaces; using System; using System.Collections.Generic; namespace KenticoInspector.Core { public abstract class AbstractReport<T> : IReport, IWithMetadata<T> where T : new() { protected readonly IReportMetadataService reportM...
mit
C#
9549f1305e41a8296fbc4af0b53ec37c12d9408c
Add some tests
pfattisc/MahApps.Metro,chuuddo/MahApps.Metro,Evangelink/MahApps.Metro,psinl/MahApps.Metro,xxMUROxx/MahApps.Metro,ye4241/MahApps.Metro,batzen/MahApps.Metro,p76984275/MahApps.Metro,jumulr/MahApps.Metro,Danghor/MahApps.Metro,Jack109/MahApps.Metro,MahApps/MahApps.Metro
Mahapps.Metro.Tests/ThemeManagerTest.cs
Mahapps.Metro.Tests/ThemeManagerTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Mime; using System.Text; using System.Threading.Tasks; using System.Windows; using MahApps.Metro; using MahApps.Metro.Controls; using Xunit; namespace Mahapps.Metro.Tests { public class ThemeManagerTest : AutomationTestBase { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Mime; using System.Text; using System.Threading.Tasks; using System.Windows; using MahApps.Metro; using MahApps.Metro.Controls; using Xunit; namespace Mahapps.Metro.Tests { public class ThemeManagerTest : AutomationTestBase { ...
mit
C#
9332a34263c060520f08176a4e81a7e2245f7078
Update credit card property descriptions to be more accurate
maxmind/minfraud-api-dotnet
MaxMind.MinFraud/Response/CreditCard.cs
MaxMind.MinFraud/Response/CreditCard.cs
using Newtonsoft.Json; namespace MaxMind.MinFraud.Response { /// <summary> /// Information about the credit card based on the issuer ID number. /// </summary> public sealed class CreditCard { /// <summary> /// An object containing information about the credit card issuer. /...
using Newtonsoft.Json; namespace MaxMind.MinFraud.Response { /// <summary> /// Information about the credit card based on the issuer ID number. /// </summary> public sealed class CreditCard { /// <summary> /// An object containing information about the credit card issuer. /...
apache-2.0
C#
e30b48fa8a2fbc3a8dca020a30fcec7c835ee650
Use ContainsOrdinal (#525)
skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper
NuKeeper.GitHub/GitHubSettingsReader.cs
NuKeeper.GitHub/GitHubSettingsReader.cs
using NuKeeper.Abstractions; using NuKeeper.Abstractions.CollaborationPlatform; using NuKeeper.Abstractions.Configuration; using System; using System.Linq; using NuKeeper.Abstractions.Formats; namespace NuKeeper.GitHub { public class GitHubSettingsReader : ISettingsReader { public Platform Platform => ...
using NuKeeper.Abstractions; using NuKeeper.Abstractions.CollaborationPlatform; using NuKeeper.Abstractions.Configuration; using System; using System.Linq; namespace NuKeeper.GitHub { public class GitHubSettingsReader : ISettingsReader { public Platform Platform => Platform.GitHub; public bool...
apache-2.0
C#
2c2fda24ba4df412231f49c071323d282daeed60
Change lock object
sharper-library/Sharper.C.Promise
Sharper.C.Promise/Data/PromiseModule.cs
Sharper.C.Promise/Data/PromiseModule.cs
using System.Threading; namespace Sharper.C.Data { using static UnitModule; public static class PromiseModule { public sealed class Promise<A> { private readonly object lockobj = new object(); private readonly CountdownEvent latch; private A value; internal Promise() ...
using System.Threading; using Sharper.C.Data; namespace Sharper.C.Data { using static UnitModule; public static class PromiseModule { public sealed class Promise<A> { private readonly CountdownEvent latch; private A value; internal Promise() { value = default(A); ...
mit
C#
b789ad486fa470b798f6cdbea172ad817395000b
bump to version 1.2.4
Terradue/DotNetTep,Terradue/DotNetTep
Terradue.Tep/Properties/AssemblyInfo.cs
Terradue.Tep/Properties/AssemblyInfo.cs
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.2.4 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.2.3 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
agpl-3.0
C#
48ac461c2526e52f7a156a9027f478645d9fbda0
bump to version 1.3.9
Terradue/DotNetTep,Terradue/DotNetTep
Terradue.Tep/Properties/AssemblyInfo.cs
Terradue.Tep/Properties/AssemblyInfo.cs
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.3.9 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.3.8 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
agpl-3.0
C#
e3824d1cedfc83aafd315e13eb2e7e63bd86d817
Make RowStrings private
12joan/hangman
table.cs
table.cs
using System; using System.Collections.Generic; using System.Text; namespace Hangman { public class Table { public int Width; public int Spacing; public Row[] Rows; public Table(int width, int spacing, Row[] rows) { Width = width; Spacing = spacing; Rows = rows; } public s...
using System; using System.Collections.Generic; using System.Text; namespace Hangman { public class Table { public int Width; public int Spacing; public Row[] Rows; public Table(int width, int spacing, Row[] rows) { Width = width; Spacing = spacing; Rows = rows; } public s...
unlicense
C#
69150b54f4cf1e8f753e6afa60478ab93443e7cd
Handle TimeZoneNotFoundException in DefaultTimeProvider.
ZhangLeiCharles/mobile,masterrr/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile,peeedge/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,peeedge/mobile
Phoebe/DefaultTimeProvider.cs
Phoebe/DefaultTimeProvider.cs
using System; using XPlatUtils; namespace Toggl.Phoebe { public class DefaultTimeProvider : ITimeProvider { private static TimeSpan Correction { get { return ServiceContainer.Resolve<TimeCorrectionManager> ().Correction; } } public DateTime Now { get { return D...
using System; using XPlatUtils; namespace Toggl.Phoebe { public class DefaultTimeProvider : ITimeProvider { private static TimeSpan Correction { get { return ServiceContainer.Resolve<TimeCorrectionManager> ().Correction; } } public DateTime Now { get { return D...
bsd-3-clause
C#
17b2240302d169e425ef630ed21979a3982eb1c7
merge serilog request logging to request response logging
Abhith/Code.Library,Abhith/Code.Library
src/Code.Library.AspNetCore/Middleware/RequestResponseLoggingMiddlewareExtensions.cs
src/Code.Library.AspNetCore/Middleware/RequestResponseLoggingMiddlewareExtensions.cs
using Code.Library.AspNetCore.Helpers; using Microsoft.AspNetCore.Builder; using Serilog; namespace Code.Library.AspNetCore.Middleware { public static class RequestResponseLoggingMiddlewareExtensions { public static IApplicationBuilder UseRequestResponseLogging(this IApplicationBuilder builder) ...
using Microsoft.AspNetCore.Builder; namespace Code.Library.AspNetCore.Middleware { public static class RequestResponseLoggingMiddlewareExtensions { public static IApplicationBuilder UseRequestResponseLogging(this IApplicationBuilder builder) { return builder.UseMiddleware<RequestRe...
apache-2.0
C#
7821b9e1bba82f07e3dfe09e6bcc853701eacfb9
Fix UserRepository.Add yet again
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/AtomicChessPuzzles/DbRepositories/UserRepository.cs
src/AtomicChessPuzzles/DbRepositories/UserRepository.cs
using MongoDB.Driver; using AtomicChessPuzzles.Models; using MongoDB.Bson; namespace AtomicChessPuzzles.DbRepositories { public class UserRepository : IUserRepository { MongoSettings settings; IMongoCollection<User> userCollection; public UserRepository() { setting...
using MongoDB.Driver; using AtomicChessPuzzles.Models; using MongoDB.Bson; namespace AtomicChessPuzzles.DbRepositories { public class UserRepository : IUserRepository { MongoSettings settings; IMongoCollection<User> userCollection; public UserRepository() { setting...
agpl-3.0
C#
17294b1b09719724a8694b38aa374b15ebbc6501
Make wind down max value 200%
UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,2yangk23/osu,ppy/osu,peppy/osu,johnneijzen/osu
osu.Game/Rulesets/Mods/ModWindDown.cs
osu.Game/Rulesets/Mods/ModWindDown.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 System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Configuration; namespace osu.Game.Rulesets.Mods { ...
// 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 System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Configuration; namespace osu.Game.Rulesets.Mods { ...
mit
C#
a0432b0361ec76c3b3f0f9923949a17e0986070a
Fix typo in certificate operation status details field name.
jtlibing/azure-powershell,devigned/azure-powershell,hungmai-msft/azure-powershell,krkhan/azure-powershell,krkhan/azure-powershell,naveedaz/azure-powershell,yantang-msft/azure-powershell,arcadiahlyy/azure-powershell,hungmai-msft/azure-powershell,AzureRT/azure-powershell,naveedaz/azure-powershell,atpham256/azure-powershe...
src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCertificateOperation.cs
src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultCertificateOperation.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
C#
bdd4679e13297cabe7f30fa5bfc7b3bce5511659
Test commit
optivem/immerest,optivem/optivem-commons-cs
src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs
src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs
using System; using System.Globalization; namespace Optivem.Commons.Parsing.Default { public abstract class BaseNumberParser<T> : BaseParser<T> { public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null) { NumberStyles = numberStyles; ...
using System; using System.Globalization; namespace Optivem.Commons.Parsing.Default { public abstract class BaseNumberParser<T> : BaseParser<T> { public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null) { NumberStyles = numberStyles; ...
apache-2.0
C#
7215f84230ab894cd1c452f23b8f038eac90a070
Update base index query with filter definition
sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/Schematic
src/SJP.Schematic.PostgreSql/Queries/GetTableIndexes.cs
src/SJP.Schematic.PostgreSql/Queries/GetTableIndexes.cs
namespace SJP.Schematic.PostgreSql.Queries; internal static class GetTableIndexes { internal sealed record Query { public string SchemaName { get; init; } = default!; public string TableName { get; init; } = default!; } internal sealed record Result { public string? Index...
namespace SJP.Schematic.PostgreSql.Queries; internal static class GetTableIndexes { internal sealed record Query { public string SchemaName { get; init; } = default!; public string TableName { get; init; } = default!; } internal sealed record Result { public string? Index...
mit
C#
c502fd74c590948ca447bcad7c8ad1ce238c6ac3
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
b5cbccf4ffd9a4585cde0245f8bd81ff214ce41f
Disable CwD tests
skarpdev/dotnet-version-cli
test/CsProj/FileSystem/DotNetFileSystemProviderTests.cs
test/CsProj/FileSystem/DotNetFileSystemProviderTests.cs
using System; using System.IO; using System.Linq; using Skarp.Version.Cli.CsProj.FileSystem; using Xunit; namespace Skarp.Version.Cli.Test.CsProj.FileSystem { public class DotNetFileSystemProviderTests { private readonly DotNetFileSystemProvider _provider; public DotNetFileSystemProviderTests(...
using System; using System.IO; using System.Linq; using Skarp.Version.Cli.CsProj.FileSystem; using Xunit; namespace Skarp.Version.Cli.Test.CsProj.FileSystem { public class DotNetFileSystemProviderTests { private readonly DotNetFileSystemProvider _provider; public DotNetFileSystemProviderTests(...
mit
C#
f2a053ff75c3e9c10ceb7b8d48d9a1ba7313912d
Test setup
Merchello/Merchello,BluefinDigital/Merchello,clausjensen/Merchello,ProNotion/Merchello,BarryFogarty/Merchello,rasmusjp/Merchello,ProNotion/Merchello,Merchello/Merchello.Bazaar,BarryFogarty/Merchello,MindfireTechnology/Merchello,BarryFogarty/Merchello,Merchello/Merchello,rasmusjp/Merchello,bjarnef/Merchello,bjarnef/Merc...
test/Merchello.Tests.IntegrationTests/Workflow/Setup.cs
test/Merchello.Tests.IntegrationTests/Workflow/Setup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Merchello.Tests.IntegrationTests.TestHelpers; using NUnit.Framework; namespace Merchello.Tests.IntegrationTests.Workflow { [TestFixture] public class Setup : DatabaseIntegrationTestBase ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Merchello.Tests.IntegrationTests.TestHelpers; using NUnit.Framework; namespace Merchello.Tests.IntegrationTests.Workflow { [TestFixture] public class Setup : DatabaseIntegrationTestBase ...
mit
C#
fef02add130ec4f309cf58b09aba88a107f5f0ad
Add properties StartLocation and PreviousLocation. Delta now uses world coordinates to calculate the difference
mono/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,MSylvia/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,haithemaraissia/CocosSharp
src/predefine/CCTouch.cs
src/predefine/CCTouch.cs
using System; namespace CocosSharp { // // TODO: Add CCGesture // public class CCTouch { bool startPointCaptured; CCPoint point; CCPoint prevPoint; CCPoint startPoint; internal CCNode Target { get; set; } #region Properties public int Id ...
using System; namespace CocosSharp { // // TODO: Add CCGesture // public class CCTouch { bool startPointCaptured; CCPoint point; CCPoint prevPoint; CCPoint startPoint; internal CCNode Target { get; set; } #region Properties public int Id {...
mit
C#
f3543463330b05d1a654a39715d7ec45ebcc2e04
Add XML comments to OrdinaryPage
YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata
src/Atata/Components/OrdinaryPage.cs
src/Atata/Components/OrdinaryPage.cs
namespace Atata { /// <summary> /// Represents the ordinary page. /// </summary> public class OrdinaryPage : Page<OrdinaryPage> { } }
namespace Atata { public class OrdinaryPage : Page<OrdinaryPage> { } }
apache-2.0
C#
fc085f43e2ff66fb101457d642fa1c04eafd2baa
Allow converting integers (UNIX timestamps) to DateTime instances.
brendanjbaker/Bakery
src/Bakery.Time/IntegerExtensions.cs
src/Bakery.Time/IntegerExtensions.cs
using System; public static class IntegerExtensions { private static readonly DateTime UNIX_EPOCH = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public static TimeSpan Days(this Int32 integer) { return TimeSpan.FromDays(integer); } public static TimeSpan Hours(this Int32 integer) { re...
using System; public static class IntegerExtensions { public static TimeSpan Days(this Int32 integer) { return TimeSpan.FromDays(integer); } public static TimeSpan Hours(this Int32 integer) { return TimeSpan.FromHours(integer); } public static TimeSpan Milliseconds(this Int32 integer) { ...
mit
C#
bec5d7f8bf2b068d699d843201759d719c855234
Work around XmlDocMarkdown bug.
Faithlife/Parsing
src/Faithlife.Parsing/Parser-Char.cs
src/Faithlife.Parsing/Parser-Char.cs
namespace Faithlife.Parsing; public static partial class Parser { /// <summary> /// Parses a single character if the specified predicate returns true. /// </summary> public static IParser<char> Char(Func<char, bool> test) => new FuncCharParser(test); private abstract class CharParser : Parser<char> { public o...
namespace Faithlife.Parsing; public static partial class Parser { /// <summary> /// Parses a single character if the specified predicate returns true. /// </summary> public static IParser<char> Char(Func<char, bool> test) => new FuncCharParser(test); private abstract class CharParser : Parser<char> { public o...
mit
C#
2eea0763a8d800d6f68474f8cf208f847f3e3933
Move RestEase.SourceGenerator out of preview
canton7/RestEase
build.csx
build.csx
#!/usr/bin/env dotnet-script #r "nuget: SimpleTasks, 0.9.4" using SimpleTasks; using static SimpleTasks.SimpleTask; #nullable enable string restEaseDir = "src/RestEase"; string sourceGeneratorDir = "src/RestEase.SourceGenerator"; string httpClientFactoryDir = "src/RestEase.HttpClientFactory"; string t...
#!/usr/bin/env dotnet-script #r "nuget: SimpleTasks, 0.9.4" using SimpleTasks; using static SimpleTasks.SimpleTask; #nullable enable string restEaseDir = "src/RestEase"; string sourceGeneratorDir = "src/RestEase.SourceGenerator"; string httpClientFactoryDir = "src/RestEase.HttpClientFactory"; string t...
mit
C#
3156b1427224c13c6f11f37a5dc28032443c5740
Test for iframe content (currently disabled)
AngleSharp/AngleSharp.Scripting,AngleSharp/AngleSharp.Scripting
AngleSharp.Scripting.JavaScript.Tests/ScriptEvalTests.cs
AngleSharp.Scripting.JavaScript.Tests/ScriptEvalTests.cs
namespace AngleSharp.Scripting.JavaScript.Tests { using NUnit.Framework; using System; using System.Threading.Tasks; [TestFixture] public class ScriptEvalTests { public static async Task<String> EvaluateComplexScriptAsync(params String[] sources) { var cfg = Configu...
namespace AngleSharp.Scripting.JavaScript.Tests { using NUnit.Framework; using System; using System.Threading.Tasks; [TestFixture] public class ScriptEvalTests { public static async Task<String> EvaluateComplexScriptAsync(params String[] sources) { var cfg = Configu...
mit
C#
28020fa5daad642b8b6fb5abb9e38cd709569e83
fix .ctor in NotDefaultAttribute
evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx
HermaFx.DataAnnotations/NotDefaultAttribute.cs
HermaFx.DataAnnotations/NotDefaultAttribute.cs
using System; using System.Collections.Concurrent; using System.ComponentModel.DataAnnotations; using HermaFx; namespace HermaFx.DataAnnotations { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class NotDefaultAttribute : ValidationAttribute { ...
using System; using System.Collections.Concurrent; using System.ComponentModel.DataAnnotations; using HermaFx; namespace HermaFx.DataAnnotations { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class NotDefaultAttribute : ValidationAttribute { ...
mit
C#
3ce03fdabf19c6d46e4b59a0ea74c6e50d497e3c
Remove unused line
cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS
src/CIAPI.IntegrationTests/LoggingFixture.cs
src/CIAPI.IntegrationTests/LoggingFixture.cs
using CIAPI.IntegrationTests.Streaming; using CityIndex.JsonClient; using CityIndex.ReflectiveLoggingAdapter; using NUnit.Framework; namespace CIAPI.IntegrationTests { [TestFixture] public class LoggingFixture : RpcFixtureBase { [Test] public void DefaultLogging() { //...
using CIAPI.IntegrationTests.Streaming; using CityIndex.JsonClient; using CityIndex.ReflectiveLoggingAdapter; using NUnit.Framework; namespace CIAPI.IntegrationTests { [TestFixture] public class LoggingFixture : RpcFixtureBase { [Test] public void DefaultLogging() { //...
apache-2.0
C#
383b937a7e44b2eac1f20ba7b1b1a6cfce0bfae2
Rename F grade to D
smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,peppy/osu,Neo...
osu.Game/Scoring/ScoreRank.cs
osu.Game/Scoring/ScoreRank.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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"D")] F, [Description(@"D")] D,...
// 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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D,...
mit
C#
a391ad3092ac79f4564021fa5ee0f49c41c08edd
Fix TimeSlept not being reset when not throttling
EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework
osu.Framework/Timing/ThrottledFrameClock.cs
osu.Framework/Timing/ThrottledFrameClock.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 System.Diagnostics; using System.Threading; namespace osu.Framework.Timing { /// <summary> /// A FrameClock which will limit the number of f...
// 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 System.Diagnostics; using System.Threading; namespace osu.Framework.Timing { /// <summary> /// A FrameClock which will limit the number of f...
mit
C#
808f9fcccacd44e1465fcf49ae7d5d27e4fd0df0
Add comment to IHasSpecial.
NeoAdonis/osu,osu-RP/osu-RP,RedNesto/osu,NeoAdonis/osu,Frontear/osuKyzer,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,tacchinotacchi/osu,2yangk23/osu,DrabWeb/osu,peppy/osu,ppy/osu,Nabile-Rahmani/osu,2yangk23/osu,nyaamara/osu,smoogipooo/osu,EVAST9919/osu,UselessToucan/o...
osu.Game/Modes/Objects/Types/IHasSpecial.cs
osu.Game/Modes/Objects/Types/IHasSpecial.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Modes.Objects.Types { /// <summary> /// A special type of HitObject, mostly used for legacy conversion of "holds". /// </summary> ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Modes.Objects.Types { public interface IHasSpecial { } }
mit
C#
c22d80a8cb5b843c7fdb6bf29839059b59a771fe
Convert properties to auto-properties.
wildcardjoker/Person
Person.cs
Person.cs
// Copyright (c) 2015 WildCardJoker // Licensed under the MIT License: http://opensource.org/licenses/MIT // Created: 2015-07-12 // Last Modified: 2015-07-25-9:11 PM #region Using Directives #endregion namespace wcj { public class Person { #region Properties public string...
// Copyright (c) 2014 WildCardJoker // Licensed under the MIT License: http://opensource.org/licenses/MIT // Created: 2014-12-21 // Last Modified: 2014-12-21-9:58 PM #region Using Directives using System.ComponentModel; using System.Runtime.CompilerServices; using Person.Annotations; #endregion namesp...
mit
C#
abb02c2f7f387f8b9c0a8388b8f8dfe6f4eb8e93
expand drop target adorner size to the right
JohnnyJoe/Johnny-s-repository,JohnnyJoe/Johnny-s-repository,huoxudong125/gong-wpf-dragdrop,emsaks/gong-wpf-dragdrop,Haukinger/gong-wpf-dragdrop,ruisebastiao/gong-wpf-dragdrop,Livit/Mailbird.Gong.WPF.DragDrop,punker76/gong-wpf-dragdrop
GongSolutions.Wpf.DragDrop/DropTargetHighlightAdorner.cs
GongSolutions.Wpf.DragDrop/DropTargetHighlightAdorner.cs
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace GongSolutions.Wpf.DragDrop { public class DropTargetHighlightAdorner : DropTargetAdorner { public DropTargetHighlightAdorner(UIElement adornedElement) : base(adornedElement) { } protected override voi...
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace GongSolutions.Wpf.DragDrop { public class DropTargetHighlightAdorner : DropTargetAdorner { public DropTargetHighlightAdorner(UIElement adornedElement) : base(adornedElement) { } protected override voi...
bsd-3-clause
C#
3a33b1491a29a0725e44cb8638d80644e571412e
Bump version to v2.2.4
rickyah/ini-parser,rickyah/ini-parser
src/IniFileParser/Properties/AssemblyInfo.cs
src/IniFileParser/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("INIParser")] [assembly: AssemblyDescripti...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("INIParser")] [assembly: AssemblyDescripti...
mit
C#
e28b6017de25fadf75f290f36232e109bfdc4c92
Add attributes to MSBuild task in an attempt to make it really load in a spearate appdomain and not lock DLLs in Visual Studio.
BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,honestegg/cassette
src/Cassette.MSBuild/CreateBundles.cs
src/Cassette.MSBuild/CreateBundles.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Cassette.IO; using Cassette.Manifests; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Cassette.MSBuild { [Serializable] [LoadInSeparateAppDomain] pu...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Cassette.IO; using Cassette.Manifests; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Cassette.MSBuild { public class CreateBundles : AppDomainIsolatedTask ...
mit
C#
94fe08427643de02485ff1fc4a28772605465bcf
remove unnecessary semicolon
ph10m/COCOA,ph10m/COCOA
src/COCOA/Views/User/Index.cshtml
src/COCOA/Views/User/Index.cshtml
@{ Layout = "~/Views/Shared/_HeaderLayout.cshtml"; } <html> <head> <title>Sign in</title> </head> <body> @Html.React("UserPage", new { }) <script src="@Url.Content("~/js/components/UserPage.jsx")"></script> </body> </html>
@{ Layout = "~/Views/Shared/_HeaderLayout.cshtml"; } <html> <head> <title>Sign in</title> </head> <body> @Html.React("UserPage", new { }); <script src="@Url.Content("~/js/components/UserPage.jsx")"></script> </body> </html>
mit
C#
3ff5a9c0ed76930f45ca079920f9793279e393e1
Remove log
SnpM/DarkRiftNetworkHelper
DarkRiftNetworkHelper.cs
DarkRiftNetworkHelper.cs
using UnityEngine; using System.Collections; using DarkRift; using Lockstep.NetworkHelpers.DarkRift; namespace Lockstep.NetworkHelpers { public class DarkRiftNetworkHelper : NetworkHelper { DarkRiftConnection Connection = new DarkRiftConnection (); void Start() { Connection.onData += HandleData; } int...
using UnityEngine; using System.Collections; using DarkRift; using Lockstep.NetworkHelpers.DarkRift; namespace Lockstep.NetworkHelpers { public class DarkRiftNetworkHelper : NetworkHelper { DarkRiftConnection Connection = new DarkRiftConnection (); void Start() { Connection.onData += HandleData; } int...
mit
C#
b326458f1a135b405dff5d5359dfa733646ce881
Update AssemblyInfo.cs
LightBuzz/SMTP-WinRT
LightBuzz.SMTP/LightBuzz.SMTP/Properties/AssemblyInfo.cs
LightBuzz.SMTP/LightBuzz.SMTP/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("Li...
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("Li...
mit
C#
fc1db498833a86bf2bf12e93810e1d428c136b79
Make StandardMemberRenamer.Rename accept a string. It makes testing it much easier.
textamina/scriban,lunet-io/scriban
src/Scriban/Runtime/StandardMemberRenamer.cs
src/Scriban/Runtime/StandardMemberRenamer.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using System.Reflection; using System.Text; namespace Scriban.Runtime { /// <summary> /// The standard rename make a camel/pascalcase nam...
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using System.Reflection; using System.Text; namespace Scriban.Runtime { /// <summary> /// The standard rename make a camel/pascalcase na...
bsd-2-clause
C#
d3438df3e0a82d644613c65c8d4f43702e72b516
add data-ajax attributes in AjaxOptions
ernado-x/X.PagedList,dncuug/X.PagedList,kpi-ua/X.PagedList,kpi-ua/X.PagedList,ernado-x/X.PagedList
src/X.PagedList.Mvc.Core/Fake/AjaxOptions.cs
src/X.PagedList.Mvc.Core/Fake/AjaxOptions.cs
using System.Collections.Generic; namespace X.PagedList.Mvc.Core.Fake { public class AjaxOptions { public IEnumerable<HtmlAttribute> ToUnobtrusiveHtmlAttributes() { var result = new List<HtmlAttribute>(); result.Add(new HtmlAttribute() { Key = "data-ajax-method", Value...
using System.Collections.Generic; namespace X.PagedList.Mvc.Core.Fake { public class AjaxOptions { public IEnumerable<HtmlAttribute> ToUnobtrusiveHtmlAttributes() { var result = new List<HtmlAttribute>(); return result; } public string HttpMethod { get...
mit
C#
da348110bb56afbea28b492baf1876cc02ca86da
fix file header
ilya-g/NLog,ie-zero/NLog,kevindaub/NLog,luigiberrettini/NLog,snakefoot/NLog,hubo0831/NLog,UgurAldanmaz/NLog,nazim9214/NLog,304NotModified/NLog,hubo0831/NLog,MoaidHathot/NLog,bhaeussermann/NLog,ie-zero/NLog,breyed/NLog,BrutalCode/NLog,AndreGleichner/NLog,MartinTherriault/NLog,bhaeussermann/NLog,breyed/NLog,michaeljbaird...
src/NLog/Time/CachedTimeSource.cs
src/NLog/Time/CachedTimeSource.cs
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
bsd-3-clause
C#
d50212d62bc7dc269601dc8e4251f6874a03c60a
Correct version, managed by build script
danielwertheim/mynatsclient,danielwertheim/mynatsclient
src/GlobalAssemblyVersion.cs
src/GlobalAssemblyVersion.cs
using System.Reflection; [assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyInformationalVersion("0.0.0.*")]
using System.Reflection; [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")]
mit
C#
9b7e8d34a8ea78bbcf08d67aeb89c7018187b2b5
initialise empty list of pension regulator organisations.
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts/Queries/GetPensionRegulator/GetPensionRegulatorResponse.cs
src/SFA.DAS.EmployerAccounts/Queries/GetPensionRegulator/GetPensionRegulatorResponse.cs
using System.Collections.Generic; using SFA.DAS.EmployerAccounts.Models.PensionRegulator; namespace SFA.DAS.EmployerAccounts.Queries.GetPensionRegulator { public class GetPensionRegulatorResponse { public IEnumerable<Organisation> Organisations { get; set; } = new List<Organisation>(); } }
using System.Collections.Generic; using SFA.DAS.EmployerAccounts.Models.PensionRegulator; namespace SFA.DAS.EmployerAccounts.Queries.GetPensionRegulator { public class GetPensionRegulatorResponse { public IEnumerable<Organisation> Organisations { get; set; } } }
mit
C#
f6675189a516aeb8d00496c78244b2b49ac7f2fa
Fix bug in "where" if-statement
lnu/nhibernate-core,alobakov/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,gliljas/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,livioc/nhib...
src/NHibernate/Sql/Delete.cs
src/NHibernate/Sql/Delete.cs
using System; using System.Text; using NHibernate.Util; namespace NHibernate.Sql { /// <summary> /// An SQL <c>DELETE</c> statement /// </summary> public class Delete { private string tableName; private string[] primaryKeyColumnNames; private string versionColumnName; private string where; public Delet...
using System; using System.Text; using NHibernate.Util; namespace NHibernate.Sql { /// <summary> /// An SQL <c>DELETE</c> statement /// </summary> public class Delete { private string tableName; private string[] primaryKeyColumnNames; private string versionColumnName; private string where; public Delet...
lgpl-2.1
C#
768f7bcc369a49796975656684eb41613ed6dc0b
Replace switch with if-else in Calc.cs
EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB
dotnet_3/cs/rest/SCS/Imp/Calc.cs
dotnet_3/cs/rest/SCS/Imp/Calc.cs
using System; namespace SCS.Imp { public class Calc { public static string Subject(string op, double arg1 , double arg2 ) { op = op.ToLower(); double result; if (op == "pi") result = Math.PI; else if (op == "e") ...
using System; namespace SCS.Imp { public class Calc { public static string Subject(string op, double arg1 , double arg2 ) { op = op.ToLower(); var result = op switch { "pi" => Math.PI, "e" => Math.E, ...
apache-2.0
C#
c3e3d1b7f3cf8654dd1fc47762a011b319bbc2fc
Add links and more info
davidebbo/ForumScorer
ForumScorer/index.cshtml
ForumScorer/index.cshtml
@using Newtonsoft.Json; @{ string dataFile = Server.MapPath("~/App_Data/data.json"); string json = File.ReadAllText(dataFile); var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json); } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Forum ...
@using Newtonsoft.Json; @{ string dataFile = Server.MapPath("~/App_Data/data.json"); string json = File.ReadAllText(dataFile); var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json); } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Forum ...
apache-2.0
C#
7d4561d6103dc4489a23bc3c1de70eb2083fc43c
Update DependenciesModule.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
apps/Core2D.Avalonia.Cairo/Modules/DependenciesModule.cs
apps/Core2D.Avalonia.Cairo/Modules/DependenciesModule.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Autofac; using Core2D.Data.Database; using Core2D.Interfaces; using Core2D.Renderer; using FileSystem.DotNetFx; using FileWriter.PdfSharp; using Log.Trace; u...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Autofac; using Core2D.Data.Database; using Core2D.Interfaces; using Core2D.Renderer; using FileSystem.DotNetFx; using FileWriter.PdfSharp; using Log.Trace; u...
mit
C#
2f62c80140a6808eced465fe27a1f9f4110a5d2d
Fix SAFI decoding
mstrother/BmpListener
src/BmpListener/Bgp/PathAttributeMPUnreachNLRI.cs
src/BmpListener/Bgp/PathAttributeMPUnreachNLRI.cs
using System; using System.Collections.Generic; using System.Linq; namespace BmpListener.Bgp { public class PathAttributeMPUnreachNLRI : PathAttribute { public AddressFamily AFI { get; private set; } public SubsequentAddressFamily SAFI { get; private set; } public IList<IPAddrPrefix> W...
using System; using System.Collections.Generic; using System.Linq; namespace BmpListener.Bgp { public class PathAttributeMPUnreachNLRI : PathAttribute { public AddressFamily AFI { get; private set; } public SubsequentAddressFamily SAFI { get; private set; } public IList<IPAddrPrefix> W...
mit
C#
1229a93b27e7e81729c421e77c0d2e950d1798fa
Disable IsCategoryFilterSticky by default
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer/Contracts/TaskMappingConfiguration.cs
CalDavSynchronizer/Contracts/TaskMappingConfiguration.cs
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
agpl-3.0
C#
d632aa678e2b4b2743b8925068ec9593d8f7ff83
Add the same to the _viewimports file for the dotnet new template
dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,robert...
build/templates/UmbracoProject/Views/_ViewImports.cshtml
build/templates/UmbracoProject/Views/_ViewImports.cshtml
@using Umbraco.Web.UI.NetCore @using Umbraco.Extensions @using Umbraco.Web.PublishedModels @using Umbraco.Cms.Core.Models.PublishedContent @using Microsoft.AspNetCore.Html @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers @addTagHelper *, Smidge @inject Smidge.SmidgeHelper SmidgeHelper
@using Umbraco.Web.UI.NetCore @using Umbraco.Extensions @using Umbraco.Web.PublishedModels @using Umbraco.Cms.Core.Models.PublishedContent @using Microsoft.AspNetCore.Html @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
mit
C#
4fa9a7c8879753b9ba185ed50095ec70f1bf2eea
Sort diagnostics by id
pdelvo/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status,DotNetAnalyzers/StyleCopAnalyzers,sharwell/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status
StyleCop.Analyzers.Status.Generator/Program.cs
StyleCop.Analyzers.Status.Generator/Program.cs
namespace StyleCop.Analyzers.Status.Generator { using System; using System.IO; using System.Linq; using LibGit2Sharp; using Newtonsoft.Json; /// <summary> /// The starting point of this application. /// </summary> internal class Program { /// <summary> /// The s...
namespace StyleCop.Analyzers.Status.Generator { using System; using System.IO; using System.Linq; using LibGit2Sharp; using Newtonsoft.Json; /// <summary> /// The starting point of this application. /// </summary> internal class Program { /// <summary> /// The s...
mit
C#
ed2d906ff7d92935ccb4a61a2e5a935a9de774a4
fix data factory
AzureDay/2016-WebSite,AzureDay/2016-WebSite
TeamSpark.AzureDay.WebSite.Data/DataFactory.cs
TeamSpark.AzureDay.WebSite.Data/DataFactory.cs
using System; using System.Threading.Tasks; using TeamSpark.AzureDay.WebSite.Config; using TeamSpark.AzureDay.WebSite.Data.Service.Table; namespace TeamSpark.AzureDay.WebSite.Data { public static class DataFactory { public static readonly Lazy<AttendeeService> AttendeeService = new Lazy<AttendeeService>(() => new...
using System; using System.Threading.Tasks; using TeamSpark.AzureDay.WebSite.Config; using TeamSpark.AzureDay.WebSite.Data.Service.Table; namespace TeamSpark.AzureDay.WebSite.Data { public static class DataFactory { public static readonly Lazy<AttendeeService> AttendeeService = new Lazy<AttendeeService>(() => new...
mit
C#
1cb28240125b7be592bf0f9b7f30e67407a963fe
Update sortedBitSearch.cs
michaeljwebb/Algorithm-Practice
Other/sortedBitSearch.cs
Other/sortedBitSearch.cs
//Given an array of sorted 0s and 1s, count how many 1st exist //Space complexity: O(1) //Time complexity: O(log(N)) where N is the number of digits //Example: [0,0,0,0,0,1,1,1] -> 3 //Not Complete
//Given an array of sorted 0s and 1s, count how many 1st exist //Space complexity: O(1) //Time complexity: O(log(N)) where N is the number of digits //Example: [0,0,0,0,0,1,1,1] -> 3
mit
C#
4d1bb89af2650027461a58c9535ff7b904f64222
allow stdout redirect for script running post actions
mlorbetske/templating,mlorbetske/templating
src/Microsoft.TemplateEngine.Cli/PostActionProcessors/ProcessStartPostActionProcessor.cs
src/Microsoft.TemplateEngine.Cli/PostActionProcessors/ProcessStartPostActionProcessor.cs
using System; using System.Diagnostics; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Utils; namespace Microsoft.TemplateEngine.Cli.PostActionProcessors { public class ProcessStartPostActionProcessor : IPostActionProcessor { public static readonly Guid ActionProcessorId = ...
using System; using System.Diagnostics; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Utils; namespace Microsoft.TemplateEngine.Cli.PostActionProcessors { public class ProcessStartPostActionProcessor : IPostActionProcessor { public static readonly Guid ActionProcessorId = ...
mit
C#
1411c8875de28f0c1c56da51e286c03ba069714e
Add support for double type
protyposis/Aurio,protyposis/Aurio
Aurio/Aurio.WaveControls/TimeSpanTicksConverter.cs
Aurio/Aurio.WaveControls/TimeSpanTicksConverter.cs
// // Aurio: Audio Processing, Analysis and Retrieval Library // Copyright (C) 2010-2015 Mario Guggenberger <mg@protyposis.net> // // 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 Foundat...
// // Aurio: Audio Processing, Analysis and Retrieval Library // Copyright (C) 2010-2015 Mario Guggenberger <mg@protyposis.net> // // 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 Foundat...
agpl-3.0
C#
c2feac5648205f1d15f43a18517759d234e644e7
Fix group edit controls
leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Views/GameGroups/_GroupEditControls.cshtml
Joinrpg/Views/GameGroups/_GroupEditControls.cshtml
@model JoinRpg.Web.Models.CharacterGroupListItemViewModel <span> @Html.ActionLink("все заявки", "ListForGroup", "Claim", new { Model.ProjectId, Model.CharacterGroupId }, null) <a href="@Url.Action("Edit", "GameGroups", new {Model.ProjectId, Model.CharacterGroupId}, null)"><span title="изменить" class="glyphico...
@model JoinRpg.Web.Models.CharacterGroupListItemViewModel <span> @Html.ActionLink("все заявки", "ListForGroup", "Claim", new { Model.ProjectId, Model.CharacterGroupId }, null) <a href="@Url.Action("Edit", "GameGroups", new {Model.ProjectId, Model.CharacterGroupId}, null)"><span title="изменить" class="glyphico...
mit
C#
b912fa5c66f780f85f15b3bc114f0834982928e9
Remove unused post properties
appharbor/ConsolR,appharbor/ConsolR
Core/Models/Post.cs
Core/Models/Post.cs
namespace Compilify.Models { public class Post { public string Content { get; set; } public string Classes { get; set; } } }
using System; using System.Collections.Generic; namespace Compilify.Models { public class Post { public Post() { Tags = new HashSet<string>(); } public string Id { get; set; } public string Title { get; set; } public string...
mit
C#
c297b38bc94b8140fc046a2d8b97c28795ba3202
添加多租户OAuth演示(.NET 4.5) #1550
mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK
Samples/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Filters/CustomOAuthAttribute.cs
Samples/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Filters/CustomOAuthAttribute.cs
using System.Web; using Senparc.Weixin.MP.MvcExtension; namespace Senparc.Weixin.MP.Sample.Filters { /// <summary> /// OAuth自动验证,可以加在Action或整个Controller上 /// </summary> public class CustomOAuthAttribute : SenparcOAuthAttribute { public CustomOAuthAttribute(string appId, string oauthCallbac...
using System.Web; using Senparc.Weixin.MP.MvcExtension; namespace Senparc.Weixin.MP.Sample.Filters { /// <summary> /// OAuth自动验证,可以加在Action或整个Controller上 /// </summary> public class CustomOAuthAttribute : SenparcOAuthAttribute { public CustomOAuthAttribute(string appId, string oauthCallbac...
apache-2.0
C#
3d52628f1b1ad2e5e0011ffdc0c972372c2db357
Update Social.aspx.cs
oneall/dot-net-sdk,DerikPal/OneAll
Demo/Social.aspx.cs
Demo/Social.aspx.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using OneAll.Users; using OneAll.Connections; namespace OneAll.ASPNET { public partial class Social : System.Web.UI.Page { protected void Page_Load(object sender,...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using OneAll.Users; using OneAll.Connections; namespace OneAll.ASPNET { public partial class Social : System.Web.UI.Page { protected void Page_Load(object sender,...
mit
C#
b7b764a3c416e5298f570187f1864efd46140929
Update AssemblyVersion to 1.2.0.0
oliverzick/ImmutableUndoRedo
src/ImmutableUndoRedo/Properties/AssemblyInfo.cs
src/ImmutableUndoRedo/Properties/AssemblyInfo.cs
#region Copyright and license // <copyright file="AssemblyInfo.cs" company="Oliver Zick"> // Copyright (c) 2015 Oliver Zick. All rights reserved. // </copyright> // <author>Oliver Zick</author> // <license> // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exce...
#region Copyright and license // <copyright file="AssemblyInfo.cs" company="Oliver Zick"> // Copyright (c) 2015 Oliver Zick. All rights reserved. // </copyright> // <author>Oliver Zick</author> // <license> // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exce...
apache-2.0
C#
015d065c9cd2cbfef2af8c7ba9c78a54cda933bb
Remove faux synchronous methods (http://www.webcitation.org/6g8GdAUus)
jzebedee/lcapi
LCAPI/LCAPI/Loan.cs
LCAPI/LCAPI/Loan.cs
using System.Threading.Tasks; using LCAPI.JSON; using LCAPI.REST; using LendingClub.Models; namespace LendingClub { public class Loan : ApiBase { public string Url => $"{BaseUrl}/loans"; public Loan(string apiKey) : base(apiKey) { } protected string ListingUrl...
using System.Threading.Tasks; using LCAPI.JSON; using LCAPI.REST; using LendingClub.Models; namespace LendingClub { public class Loan : ApiBase { public string Url => $"{BaseUrl}/loans"; public Loan(string apiKey) : base(apiKey) { } protected string ListingUrl...
agpl-3.0
C#
1e40be04bb94f6ba8e76fa32e01bc6d54b160bdb
Update #283 - Switched MVC4 sample project over to use initializers for the time being
codevlabs/Glimpse,flcdrg/Glimpse,gabrielweyer/Glimpse,paynecrl97/Glimpse,dudzon/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,elkingtonmcb/Glimpse,gabrielweyer/Glimpse,codevlabs/Glimpse,SusanaL/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,SusanaL/Glimpse,sorenhl/Glimpse,flcdrg/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,Glimpse/G...
source/Glimpse.Mvc4.MusicStore.Sample/Global.asax.cs
source/Glimpse.Mvc4.MusicStore.Sample/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Glimpse.Ado; using Glimpse.EF; namespace MvcMusicStore { // Note: For instructions on enabling IIS6 or IIS7 classic mode,...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace MvcMusicStore { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.microsoft.co...
apache-2.0
C#
e94889f4b8db302c66dee4cbb19ef4d3e3a36b72
Add missing QuantityCodes based on "ZUGFeRD Version 1.0, Codelisten Version 1.0"
stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp,drocx/ZUGFeRD-csharp
ZUGFeRD/QuantityCodes.cs
ZUGFeRD/QuantityCodes.cs
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
C#
0f4b474f8662b60273347d27540af33438723f27
Update yield tests
exodrifter/unity-rumor
Editor/Tests/YieldTest.cs
Editor/Tests/YieldTest.cs
using Exodrifter.Rumor.Engine; using NUnit.Framework; namespace Exodrifter.Rumor.Test { /// <summary> /// Makes sure that yield objects operate as expected. /// </summary> public class YieldTest { /// <summary> /// Ensure yield for advance operates as expected. /// </summary> [Test] public void YieldAd...
using Exodrifter.Rumor.Engine; using NUnit.Framework; namespace Exodrifter.Rumor.Test { /// <summary> /// Makes sure that yield objects operate as expected. /// </summary> public class YieldTest { /// <summary> /// Makes sure yield for seconds operates as expected. /// </summary> [Test] public void Yie...
mit
C#