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
f87f710eec948b6e3f778f894f340d619b652e80
Update App.xaml.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D/App.xaml.cs
src/Draw2D/App.xaml.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 System; using Avalonia; using Avalonia.Logging.Serilog; using Avalonia.Markup.Xaml; using Draw2D.Editor; using Draw2D.Views; namespace Draw2D { public cl...
// 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 System; using Avalonia; using Avalonia.Logging.Serilog; using Avalonia.Markup.Xaml; using Draw2D.Editor; using Draw2D.Views; namespace Draw2D { public cl...
mit
C#
8714b2cee4364f0f5602e54c19cfbc2109cee407
Support "\r\n" line endings
oocx/acme.net
src/Oocx.Asn1PKCS/Extensions.cs
src/Oocx.Asn1PKCS/Extensions.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Oocx.Asn1PKCS.Asn1BaseTypes; namespace Oocx.Asn1PKCS { public static class PEMExtensions { public const string RSAPrivateKey = "RSA PRIVATE KEY"; public const string PrivateKey = "PRIVATE KEY...
using System; using System.IO; using System.Linq; using Oocx.Asn1PKCS.Asn1BaseTypes; namespace Oocx.Asn1PKCS { public static class PEMExtensions { public const string RSAPrivateKey = "RSA PRIVATE KEY"; public const string PrivateKey = "PRIVATE KEY"; public static string ...
mit
C#
06095cd2c8d85fcbdbdb486277dda4efb830ceed
Add DisableEncoding to ITemplatePage #106
toddams/RazorLight,toddams/RazorLight
src/RazorLight/ITemplatePage.cs
src/RazorLight/ITemplatePage.cs
using Microsoft.AspNetCore.Html; using RazorLight.Internal; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace RazorLight { public interface ITemplatePage { void SetModel(object model); /// <summary> /// Gets or sets the view context of the renderi...
using Microsoft.AspNetCore.Html; using RazorLight.Internal; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace RazorLight { public interface ITemplatePage { void SetModel(object model); /// <summary> /// Gets or sets the view context of the renderi...
apache-2.0
C#
fcbac809821c0e230e2485cc48ec5ab544908949
rename slack chanel & add github discussions (#566)
reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website
input/_Navbar.cshtml
input/_Navbar.cshtml
@{ var pages = new Dictionary<string, string> { { "Blog", Context.GetLink("blog") }, { "Training", Context.GetLink("training") }, { "Book", Context.GetLink("book") }, { "Documentation", Context.GetLink("docs") }, { "Extensions", Context.GetLink("reactive-extensions") }, ...
@{ var pages = new Dictionary<string, string> { { "Blog", Context.GetLink("blog") }, { "Training", Context.GetLink("training") }, { "Book", Context.GetLink("book") }, { "Documentation", Context.GetLink("docs") }, { "Extensions", Context.GetLink("reactive-extensions") }, ...
mit
C#
d6cdde552daa84e04a76e6bf1c1d61872002c0bb
Add comment explaining dispose logic
smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,2yangk23/osu,ZLima12/osu,ZLima12/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,ppy/osu,EVAST9919/osu,2y...
osu.Game/Rulesets/RulesetConfigCache.cs
osu.Game/Rulesets/RulesetConfigCache.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.Collections.Concurrent; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Configuration; namespace osu.Game...
// 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.Collections.Concurrent; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Configuration; namespace osu.Game...
mit
C#
4f62ebc8ca59e38cccea9fb7214fee17aa5424ab
Tweak button styling
mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection
src/Cash-Flow-Projection/Views/Home/Index.cshtml
src/Cash-Flow-Projection/Views/Home/Index.cshtml
@model Cash_Flow_Projection.Models.Dashboard @{ ViewData["Title"] = "Home Page"; } @using (Html.BeginForm("Balance", "Home", FormMethod.Post)) { @Html.AntiForgeryToken() <input type="text" name="balance" placeholder="Set Balance" /> <button type="submit">Set</button> } <table class="table table-stri...
@model Cash_Flow_Projection.Models.Dashboard @{ ViewData["Title"] = "Home Page"; } @using (Html.BeginForm("Balance", "Home", FormMethod.Post)) { @Html.AntiForgeryToken() <input type="text" name="balance" placeholder="Set Balance" /> <button type="submit">Set</button> } <table class="table table-stri...
mit
C#
d030dea1b1b9760c918d1da46aac9dffeb7340e1
Optimize query for server time. (not throwing exception)
sergeyzwezdin/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,persi12/Hangfire.Mongo,sergun/Hangfire.Mongo,sergeyzwezdin/Hangfire.Mongo,sergun/Hangfire.Mongo,persi12/Hangfire.Mongo
src/Hangfire.Mongo/MongoUtils/MongoExtensions.cs
src/Hangfire.Mongo/MongoUtils/MongoExtensions.cs
using Hangfire.Mongo.Database; using MongoDB.Driver; using System; using System.Collections.Generic; using Hangfire.Mongo.Helpers; using MongoDB.Bson; namespace Hangfire.Mongo.MongoUtils { /// <summary> /// Helper utilities to work with Mongo database /// </summary> public static class Mon...
using Hangfire.Mongo.Database; using MongoDB.Driver; using System; using Hangfire.Mongo.Helpers; using MongoDB.Bson; namespace Hangfire.Mongo.MongoUtils { /// <summary> /// Helper utilities to work with Mongo database /// </summary> public static class MongoExtensions { /// <s...
mit
C#
9b319e6e2703cb8df1ab3d35a17ecfcbfdc38aa1
Fix path to bootstrap (#1831)
joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
src/JoinRpg.Portal/Views/Shared/_Layout.cshtml
src/JoinRpg.Portal/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - JoinRpg.Portal</title> <environment include="Development"> <link rel="stylesheet" href="~/lib/twitter-bootstrap/css/bootstrap.css" /> <link rel="s...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - JoinRpg.Portal</title> <environment include="Development"> <link rel="stylesheet" href="~/lib/twitter-bootstrap/css/bootstrap.css" /> <link rel="s...
mit
C#
97107ea7a8c093579c520b1006375dde09a94fac
Fix EnumNameTransformers.UpperSnake does not handle underscore correctly.
msgpack/msgpack-cli,msgpack/msgpack-cli
src/MsgPack/Serialization/KeyNameTransformers.cs
src/MsgPack/Serialization/KeyNameTransformers.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2016 FUJIWARA, Yusuke // // 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...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2016 FUJIWARA, Yusuke // // 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#
4c8b439c0025e7bec773b9617cb82dfa97db6f13
disable auto properties.
jwChung/TfsBuilder
test/WebApplication.UnitTest/TheoremAttribute.cs
test/WebApplication.UnitTest/TheoremAttribute.cs
using System; using System.Reflection; using Jwc.Experiment; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixture.Xunit; namespace Jwc.TfsBuilder.WebApplication { /// <summary> /// 이 attribute는 method위에 선언되어 해당 method가 test case라는 것을 /// 지칭하게 되며,...
using System; using System.Reflection; using Jwc.Experiment; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixture.Xunit; namespace Jwc.TfsBuilder.WebApplication { /// <summary> /// 이 attribute는 method위에 선언되어 해당 method가 test case라는 것을 /// 지칭하게 되며,...
mit
C#
cd86a29695a8d6afc48d736890cd74211d01f620
Fix the using. Sometimes atom can be...
brycekbargar/Nilgiri,brycekbargar/Nilgiri
Nilgiri.Tests/Examples/Should/NotBeOk.cs
Nilgiri.Tests/Examples/Should/NotBeOk.cs
namespace Nilgiri.Examples { using Xunit; using Nilgiri.Tests.Common; using static Nilgiri.ShouldStyle; public partial class ExampleOf_Should { public class Not_Be_Ok { [Fact] public void Int32() { _(0).Should.Not.Be.Ok(); _(() => 0).Should.Not.Be.Ok(); } ...
namespace Nilgiri.Examples { using Xunit; using Nilgiri.Tests.Common; using static Nilgiri.ExpectStyle; public partial class ExampleOf_Should { public class Not_Be_Ok { [Fact] public void Int32() { _(0).Should.Not.Be.Ok(); _(() => 0).Should.Not.Be.Ok(); } ...
mit
C#
a117b49b056b3ff5e0408737ccaf93fcd53b9fc1
Fix in location resolving.
Corniel/DeadCode
test/DeadCode.UnitTests/VerifierTest.cs
test/DeadCode.UnitTests/VerifierTest.cs
using DeadCode.CodeAnalysis; using NUnit.Framework; using System; using System.IO; namespace DeadCode.UnitTests { public class VerifierTest { [Test] public void Verify_XampleSln() { var root = new FileInfo(GetType().Assembly.Location).Directory; var solution = new FileInfo(Path.Combine(root.FullName, @"...
using DeadCode.CodeAnalysis; using NUnit.Framework; using System; using System.IO; namespace DeadCode.UnitTests { public class VerifierTest { [Test] public void Verify_XampleSln() { var solution = new FileInfo(@"xample\Xample.sln"); var parts = new CodeParts(); var context = new VerifyContext(solutio...
mit
C#
406208e580e69968253af51c86cb3a370815aa35
Fix failing daemon test build_aggregate_multiple_projections (#2024)
ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten
src/Marten/Events/Daemon/ShardStatusWatcher.cs
src/Marten/Events/Daemon/ShardStatusWatcher.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Marten.Events.Daemon { /// <summary> /// Used mostly by tests to listen for expected shard events or progress /// </summary> internal class ShardStatusWatcher: IObserver<ShardState> { private readonly IDisposable ...
using System; using System.Threading; using System.Threading.Tasks; namespace Marten.Events.Daemon { /// <summary> /// Used mostly by tests to listen for expected shard events or progress /// </summary> internal class ShardStatusWatcher: IObserver<ShardState> { private readonly IDisposable ...
mit
C#
2e093c1cf35311419d6e5b4598661a4d4f618157
Update MorpheusModification.cs
rmillikin/MetaMorpheus,hoffmann4/MetaMorpheus,lonelu/MetaMorpheus,zrolfs/MetaMorpheus,smith-chem-wisc/MetaMorpheus,XRSHEERAN/MetaMorpheus,lschaffer2/MetaMorpheus
OldInternalLogic/MorpheusModification.cs
OldInternalLogic/MorpheusModification.cs
using Chemistry; namespace OldInternalLogic { public class MorpheusModification { #region Public Constructors public MorpheusModification(string nameInXml, ModificationType type, char aminoAcid, string database, string databaseName, char prevAA, double alternativeMassShift, bool labile, Chemi...
using Chemistry; namespace OldInternalLogic { public class MorpheusModification { private double v; #region Public Constructors public MorpheusModification(string nameInXml, ModificationType type, char aminoAcid, string database, string databaseName, char prevAA, double alternativeMas...
mit
C#
cbbd9b9bd2bb47c7acf960a0403da573310f34a6
Stop spamming to console on each server response on client
neyrox/rarog
Client/Connection.cs
Client/Connection.cs
using System; using System.Net.Sockets; using Engine; namespace Rarog { public class Connection { private TcpClient _tcpClient; private NetworkStream _stream; public Connection(string host, int port) { // Create a TcpClient. // Note, for this client to w...
using System; using System.Net.Sockets; using Engine; namespace Rarog { public class Connection { private TcpClient _tcpClient; private NetworkStream _stream; public Connection(string host, int port) { // Create a TcpClient. // Note, for this client to w...
mit
C#
15411d9c6d3e8aacb9485d4a0af8b19eeae49fe3
Use the new Delete command support in CslaDataProvider.
JasonBock/csla,JasonBock/csla,jonnybee/csla,BrettJaner/csla,rockfordlhotka/csla,ronnymgm/csla-light,MarimerLLC/csla,BrettJaner/csla,ronnymgm/csla-light,BrettJaner/csla,JasonBock/csla,MarimerLLC/csla,jonnybee/csla,MarimerLLC/csla,jonnybee/csla,rockfordlhotka/csla,ronnymgm/csla-light,rockfordlhotka/csla
ProjectTrackercs/PTWpf/RolesEdit.xaml.cs
ProjectTrackercs/PTWpf/RolesEdit.xaml.cs
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; usin...
using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; usin...
mit
C#
cb8c09b271738a165adfabe10a103ed599018bd9
Add channel mute/unmute to LoadMidi
futurechris/MIDIM
Assets/Scripts/LoadMidi.cs
Assets/Scripts/LoadMidi.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; using CSharpSynth.Effects; using CSharpSynth.Sequencer; using CSharpSynth.Synthesis; using CSharpSynth.Midi; [RequireComponent (typeof(AudioSource))] public class LoadMidi : MonoBehaviour { public string testMidiFile = "Midis/Video_Game...
using UnityEngine; using System.Collections; using System.Collections.Generic; using CSharpSynth.Effects; using CSharpSynth.Sequencer; using CSharpSynth.Synthesis; using CSharpSynth.Midi; //[RequireComponent (typeof(AudioSource))] public class LoadMidi : MonoBehaviour { public string testMidiFile = "Midis/Video_Ga...
mit
C#
505f4a4be610d6eb9401cf2707cd546213ff995f
Add UWP to Platforms enum
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Portable/Enums.cs
Bindings/Portable/Enums.cs
using System; namespace Urho { [Flags] public enum ViewOverrideFlags { None = 0, LowMaterialQuality = 1, DisableShadows = 2, DisableOcclusion = 4 } public enum LogLevel { Raw = -1, Debug = 0, Info = 1, Warning = 2, Error = 3, None = 4 } [Flags] public enum ElementMask : uint { None = 0x0...
using System; namespace Urho { [Flags] public enum ViewOverrideFlags { None = 0, LowMaterialQuality = 1, DisableShadows = 2, DisableOcclusion = 4 } public enum LogLevel { Raw = -1, Debug = 0, Info = 1, Warning = 2, Error = 3, None = 4 } [Flags] public enum ElementMask : uint { None = 0x0...
mit
C#
00fd31b3c4440135ab18fbfec80e5f166ec4fb74
improve code style.
Faithlife/FaithlifeUtility
src/Faithlife.Utility/Disposables.cs
src/Faithlife.Utility/Disposables.cs
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Faithlife.Utility { /// <summary> /// A collection of disposable objects, disposed in reverse order when the collection is disposed. /// </summary> /// <remarks>This class is thread-safe. Null...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Faithlife.Utility { /// <summary> /// A collection of disposable objects, disposed in reverse order when the collection is disposed. /// </summary> /// <remarks>This class is thread-safe. Null...
mit
C#
f06576a15685a9a6417a950aab2980b9829e1435
Implement RouteData resolvement while in wcf context
baseclass/nuserv,baseclass/nuserv,baseclass/nuserv
nuserv/Utility/HttpRouteDataResolver.cs
nuserv/Utility/HttpRouteDataResolver.cs
namespace nuserv.Utility { #region Usings using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web; using System.Web.Http.Routing; #endregion public class HttpRouteDataResolver : IHttpRouteDataResolver { #region Public ...
namespace nuserv.Utility { using System.Net.Http; using System.Web; using System.Web.Http.Routing; public class HttpRouteDataResolver : IHttpRouteDataResolver { #region Public Methods and Operators public IHttpRouteData Resolve() { if (HttpContext.Current != nu...
mit
C#
910fb91912df2c5a5e5fbff3cfc373b0dbfa9d24
Improve parser
cwensley/maccore,jorik041/maccore,mono/maccore
src/Foundation/NSStream.cs
src/Foundation/NSStream.cs
// // NSStream extensions // // Authors: // Miguel de Icaza // // Copyright 2011, Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // witho...
// // NSStream extensions // // Authors: // Miguel de Icaza // // Copyright 2011, Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // witho...
apache-2.0
C#
136ddab86dc6fb31da3e5092c9ca72b147c0b5f7
Update _TermsAndConditionBody.cshtml
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml
src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/_TermsAndConditionBody.cshtml
<p>To use this service you agree to:</p> <ul class="list list-bullet"> <li>Sign out at the end of each session</li> <li>Input truthful and accurate information</li> <li>Adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li> <l...
<p>To use this service, you agree to:</p> <ul class="list list-bullet"> <li>sign out at the end of each session</li> <li>input truthful and accurate information</li> <li>adhere to the <a href="http://www.legislation.gov.uk/ukpga/1990/18/contents" target="_blank">Computer Misuse Act 1990</a></li> <...
mit
C#
11044221c65ca504223578bb3649f268ec86ce24
Add support for `Amount` on `SessionPaymentIntentTransferDataOptions`
stripe/stripe-dotnet
src/Stripe.net/Services/Checkout/Sessions/SessionPaymentIntentTransferDataOptions.cs
src/Stripe.net/Services/Checkout/Sessions/SessionPaymentIntentTransferDataOptions.cs
namespace Stripe { using System; using Newtonsoft.Json; public class SessionPaymentIntentTransferDataOptions : INestedOptions { /// <summary> /// The amount that will be transferred automatically when a charge succeeds. /// </summary> [JsonProperty("amount")] pub...
namespace Stripe { using System; using Newtonsoft.Json; public class SessionPaymentIntentTransferDataOptions : INestedOptions { [JsonProperty("destination")] public string Destination { get; set; } } }
apache-2.0
C#
40f918dce6a65a77589bd6a5800f510f82d1ff53
Remove unused using
smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ppy/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,peppy/osu-new
osu.Game/Rulesets/Mods/ModRateAdjust.cs
osu.Game/Rulesets/Mods/ModRateAdjust.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Audio; using osu.Framework.Audio.Track; using osu.Framework.Bindables; namespace osu.Game.Rulesets.Mods { public abstract class ModRateAdjust : M...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Audio; using osu.Framework.Audio.Track; using osu.Framework.Bindables; namespace osu.Game.Rulesets.Mods { public abstract class Mod...
mit
C#
256ea0920292077a1547be795cfd1d5507064cb3
Make sure to only invoke defaults once
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence/SqlPersistence.cs
src/SqlPersistence/SqlPersistence.cs
namespace NServiceBus { using Settings; using Features; using Persistence; using Persistence.Sql; /// <summary> /// The <see cref="PersistenceDefinition"/> for the SQL Persistence. /// </summary> public class SqlPersistence : PersistenceDefinition { /// <summary> //...
namespace NServiceBus { using Settings; using Features; using Persistence; using Persistence.Sql; /// <summary> /// The <see cref="PersistenceDefinition"/> for the SQL Persistence. /// </summary> public class SqlPersistence : PersistenceDefinition { /// <summary> //...
mit
C#
00b6dd5c2fa240b7fb475abf2596597437a03ca6
Remove unused property
bartlomiejwolk/AnimationPathAnimator
AnimatorEventsComponent/AnimatorEventsSettings.cs
AnimatorEventsComponent/AnimatorEventsSettings.cs
using UnityEngine; namespace ATP.AnimationPathTools.AnimatorEventsComponent { public sealed class AnimatorEventsSettings : ScriptableObject { #region FIELDS [SerializeField] private int defaultNodeLabelHaight = 30; [SerializeField] private int defaultNodeLabelWidth = 100...
using UnityEngine; namespace ATP.AnimationPathTools.AnimatorEventsComponent { public sealed class AnimatorEventsSettings : ScriptableObject { #region FIELDS [SerializeField] private int defaultNodeLabelHaight = 30; [SerializeField] private int defaultNodeLabelWidth = 100...
mit
C#
fb97cf9108c64586bec49fb3b4541cbf6b1de4ba
Fix #7 - Forgot that PREFIX=(...) lists in descending order. Reverse the order of prefixes then compare indices
Genesis2001/Lantea
Atlantis/Atlantis.Net.Irc/IrcClient.Extensions.cs
Atlantis/Atlantis.Net.Irc/IrcClient.Extensions.cs
// ----------------------------------------------------------------------------- // <copyright file="IrcClientExtensions.cs" company="Zack Loveless"> // Copyright (c) Zack Loveless. All rights reserved. // </copyright> // ----------------------------------------------------------------------------- namespace ...
// ----------------------------------------------------------------------------- // <copyright file="IrcClientExtensions.cs" company="Zack Loveless"> // Copyright (c) Zack Loveless. All rights reserved. // </copyright> // ----------------------------------------------------------------------------- namespace ...
mit
C#
94a2b784b8a840fe07b98488796d3dd89cca0d47
test commit 2
dekloni/MarketPlace,dekloni/MarketPlace,dekloni/MarketPlace
MarketPlaceUI/App_Start/BundleConfig.cs
MarketPlaceUI/App_Start/BundleConfig.cs
using System.Web; using System.Web.Optimization; namespace MarketPlaceUI { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.A...
using System.Web; using System.Web.Optimization; namespace MarketPlaceUI { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.A...
unlicense
C#
bc67de2a34d204cb7456320d6db1c2d1b7e87b45
Fix a type error in the default constructor
IrvingtonProgramming/InteractApp,IrvingtonProgramming/InteractApp,IrvingtonProgramming/InteractApp
InteractApp/Event.cs
InteractApp/Event.cs
using System; using System.Collections.Generic; namespace InteractApp { public class Event { public int Id { get; private set; } public String ImageUri { get; private set; } public String Name { get; private set; } public DateTime Date { get; private set; } public String Location { get; private set; } p...
using System; using System.Collections.Generic; namespace InteractApp { public class Event { public int Id { get; private set; } public String ImageUri { get; private set; } public String Name { get; private set; } public DateTime Date { get; private set; } public String Location { get; private set; } p...
mit
C#
22bb5ac4290e2b2cfee5003e6606c87a8a6674d6
Update LoginForm.cs
redeqn/RedConn
RedConn/LoginForm.cs
RedConn/LoginForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace RedConn { public partial class LoginForm : Form { public LoginForm() { InitializeComponent(); I...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace RedConn { public partial class LoginForm : Form { public LoginForm() { InitializeComponent(); I...
mit
C#
6f4c14bb92603ac9147816618f19c1fc86b3c175
Change error message
gblue1223/redux-unity3d
Redux/CreateStore.cs
Redux/CreateStore.cs
using System; using System.Linq; public static partial class Redux { internal static class ActionType { public const string INIT = "@@redux/C#/INIT"; }; internal static ActionCreator initialAction = () => { return new Action{ type = ActionType.INIT }; }; public static CreateStore createStore = (finalReduce...
using System; using System.Linq; public static partial class Redux { internal static class ActionType { public const string INIT = "@@redux/C#/INIT"; }; internal static ActionCreator initialAction = () => { return new Action{ type = ActionType.INIT }; }; public static CreateStore createStore = (finalReduce...
mit
C#
59d4c06d9d1a5b4d1df5f58f17ec361549aff744
add support for do not fail on delete directory task
flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core
FlubuCore/Tasks/FileSystem/DeleteDirectoryTask.cs
FlubuCore/Tasks/FileSystem/DeleteDirectoryTask.cs
using System; using System.IO; using FlubuCore.Context; namespace FlubuCore.Tasks.FileSystem { public class DeleteDirectoryTask : TaskBase<int> { private readonly string _directoryPath; private readonly bool _failIfNotExists; public DeleteDirectoryTask(string directoryPath, bool failI...
using System.IO; using FlubuCore.Context; namespace FlubuCore.Tasks.FileSystem { public class DeleteDirectoryTask : TaskBase<int> { private readonly string _directoryPath; private readonly bool _failIfNotExists; public DeleteDirectoryTask(string directoryPath, bool failIfNotExists) ...
bsd-2-clause
C#
7af0a2c025a63d1f95941e2063db76c3700cd787
Refactor in validator
mikemajesty/coolvalidator
CoolValidator/Validator.cs
CoolValidator/Validator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace CoolValidator { public static class formValidator { public static List<TextBox> ValidateTextBox(this Form form, Func<TextBox, bool> predicate = null) { var txtList = ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace CoolValidator { public static class formValidator { public static List<TextBox> GetTextBoxInComponent(this Form form, Func<TextBox, bool> predicate = null) { var txtL...
mit
C#
8e5b7d257863d4def36b578a5d5cec03455ff559
Fix crash of payment request list (Fix #3392)
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Data/PaymentRequestDataExtensions.cs
BTCPayServer/Data/PaymentRequestDataExtensions.cs
using System; using BTCPayServer.Client.Models; using NBXplorer; using Newtonsoft.Json.Linq; namespace BTCPayServer.Data { public static class PaymentRequestDataExtensions { public static PaymentRequestBaseData GetBlob(this PaymentRequestData paymentRequestData) { var result = payme...
using BTCPayServer.Client.Models; using NBXplorer; using Newtonsoft.Json.Linq; namespace BTCPayServer.Data { public static class PaymentRequestDataExtensions { public static PaymentRequestBaseData GetBlob(this PaymentRequestData paymentRequestData) { var result = paymentRequestData....
mit
C#
761ca0ccaf2f5c9235047b1d356190cef6ecabea
add missing indexes on startup
couchbaselabs/try-cb-dotnet,couchbaselabs/try-cb-dotnet
src/try-cb-dotnet/App_Start/CouchbaseConfig.cs
src/try-cb-dotnet/App_Start/CouchbaseConfig.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using Couchbase; using Couchbase.Configuration.Client; namespace try_cb_dotnet { public static class CouchbaseConfig { public static void Register() { var couchbaseServer = C...
using System; using System.Collections.Generic; using System.Configuration; using Couchbase; using Couchbase.Configuration.Client; namespace try_cb_dotnet { public static class CouchbaseConfig { public static void Register() { var couchbaseServer = ConfigurationManager....
apache-2.0
C#
3b48e65181f055cb36f067db2e30f63f1d711254
Modify app name
hug3id/Xamarin.Forms.BaiduMaps,hug3id/Xamarin.Forms.BaiduMaps
Droid/MainActivity.cs
Droid/MainActivity.cs
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace Xamarin.Forms.BaiduMaps.Sample.Droid { [Activity(Label = "BaiduMaps Sample", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLaunc...
using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace Xamarin.Forms.BaiduMaps.Sample.Droid { [Activity(Label = "Xamarin.Forms.BaiduMaps.Sample.Droid", Icon = "@drawable/icon", Theme = "@style...
apache-2.0
C#
be002091f283f0c6beedc780853e477ca18fbcf1
Add default ApiException constructor
appharbor/appharbor-cli
src/AppHarbor/ApiException.cs
src/AppHarbor/ApiException.cs
using System; namespace AppHarbor { public class ApiException : Exception { public ApiException() { } } }
using System; namespace AppHarbor { public class ApiException : Exception { } }
mit
C#
a028f24b10c4ccf9549187dd4b151f665e741822
save inflected value to Petrovich while inflecting names separately
petrovich/petrovich-net
NPetrovich/Petrovich.cs
NPetrovich/Petrovich.cs
using NPetrovich.Inflection; using NPetrovich.Rules; using NPetrovich.Rules.Loader; using NPetrovich.Rules.Loader.Yaml; using NPetrovich.Utils; namespace NPetrovich { public class Petrovich { public Petrovich() { loader = new YamlRulesLoader("rules.yml"); provider = new...
using NPetrovich.Inflection; using NPetrovich.Rules; using NPetrovich.Rules.Loader; using NPetrovich.Rules.Loader.Yaml; using NPetrovich.Utils; namespace NPetrovich { public class Petrovich { public Petrovich() { loader = new YamlRulesLoader("rules.yml"); provider = new...
mit
C#
ccafc50b6fdb9abf0189fb34057f42a62e2915db
add details about the gauge interface
alhardy/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,Liwoj/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metr...
Src/Metrics/Gauge.cs
Src/Metrics/Gauge.cs
 namespace Metrics { /// <summary> /// A gauge is the simplest metric type. It just returns a value. /// No operation can be triggered on the metric directly. /// Custom implementations can hook into any value provider. /// <see cref="Core.FunctionGauge"/> and <see cref="Core.DerivedGauge"/> /...
 namespace Metrics { /// <summary> /// A gauge is the simplest metric type. It just returns a value. /// </summary> public interface Gauge : Utils.IHideObjectMembers { } /// <summary> /// Combines the value of a gauge with the defined unit for the value. /// </summary> public s...
apache-2.0
C#
570126de3f7fbe4af565a2a8421f10ee0f12d12f
make future awaitable
icarus-consulting/Yaapii.Atoms
tests/Yaapii.Atoms.Tests/Func/AsyncFuncTest.cs
tests/Yaapii.Atoms.Tests/Func/AsyncFuncTest.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Xunit; using Yaapii.Atoms.Func; namespace Yaapii.Atoms.Tests.Func { public sealed class AsyncFuncTest { [Fact] public void RunsInBackground() { var...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using Xunit; using Yaapii.Atoms.Func; namespace Yaapii.Atoms.Tests.Func { public sealed class AsyncFuncTest { [Fact] public void RunsInBackground() { var future = ne...
mit
C#
da6e8efda7ead1c79358540a7330f809a45de07f
Update ExportVisibleRowsData.cs
asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,ma...
Examples/CSharp/Articles/ExportVisibleRowsData.cs
Examples/CSharp/Articles/ExportVisibleRowsData.cs
using System.IO; using Aspose.Cells; using System.Data; namespace Aspose.Cells.Examples.Articles { public class ExportVisibleRowsData { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Uti...
using System.IO; using Aspose.Cells; using System.Data; namespace Aspose.Cells.Examples.Articles { public class ExportVisibleRowsData { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Ref...
mit
C#
cf6539332e346d82e59f1c969e9ea6fb53ff5896
Fix Queue's toCustomString (#237)
florinciubotariu/RiotSharp,Oucema90/RiotSharp,aktai0/RiotSharp,jono-90/RiotSharp,Challengermode/RiotSharp,JanOuborny/RiotSharp,BenFradet/RiotSharp,Shidesu/RiotSharp,frederickrogan/RiotSharp,oisindoherty/RiotSharp
RiotSharp/Misc/Queue.cs
RiotSharp/Misc/Queue.cs
using Newtonsoft.Json; namespace RiotSharp { /// <summary> /// Queue of the league (League API). /// </summary> [JsonConverter(typeof(QueueConverter))] public enum Queue { /// <summary> /// Solo queue 5 vs 5. /// </summary> RankedSolo5x5, /// <summary> ...
using Newtonsoft.Json; namespace RiotSharp { /// <summary> /// Queue of the league (League API). /// </summary> [JsonConverter(typeof(QueueConverter))] public enum Queue { /// <summary> /// Solo queue 5 vs 5. /// </summary> RankedSolo5x5, /// <summary> ...
mit
C#
923c9f480ac176c3f734fa3eb6c5bfe95f05b09a
Add support for specifying buffer capacity.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Helpers/ByteArrayBuilder.cs
WalletWasabi/Helpers/ByteArrayBuilder.cs
using System.Text; namespace System { public class ByteArrayBuilder { private byte[] _buffer; public ByteArrayBuilder(): this(4096) { } public ByteArrayBuilder(int capacity) { _buffer = new byte[capacity]; Length = 0; } public int Length { get; set; } public ByteArrayBuilder Append(byte b...
using System.Text; namespace System { public class ByteArrayBuilder { private byte[] _buffer; public ByteArrayBuilder() { _buffer = new byte[4096]; Length = 0; } public int Length { get; set; } public ByteArrayBuilder Append(byte b) { if (GetUnusedBufferLength() == 0) { _buffer = Inc...
mit
C#
f3ea5e2226635d2f01dca44bcd923d364f638897
Rename ClipID to MediaReference
MiXTelematics/MiX.Integrate.Api.Client
MiX.Integrate.Shared/Entities/Events/EventClip.cs
MiX.Integrate.Shared/Entities/Events/EventClip.cs
using System; using System.Collections.Generic; using System.Text; namespace MiX.Integrate.Shared.Entities.Events { public class EventClip { public long EventId { get; set; } public string MediaReference { get; set; } public long AssetId { get; set; } } }
using System; using System.Collections.Generic; using System.Text; namespace MiX.Integrate.Shared.Entities.Events { public class EventClip { public long EventId { get; set; } public string ClipId { get; set; } public long AssetId { get; set; } } }
mit
C#
42ff77f26bf073cc7e80a7c46ec1f92736c4a812
Fix #123
kjac/FormEditor,kjac/FormEditor,kjac/FormEditor
Source/Umbraco/Views/Partials/FormEditor/FieldsAsync/core.utils.validationerror.cshtml
Source/Umbraco/Views/Partials/FormEditor/FieldsAsync/core.utils.validationerror.cshtml
@inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.IFieldWithValidation> <div class="text-danger validation-error" ng-show="shouldShowValidationError('@(Model.FormSafeName)', @(ViewBag.FormEditorPageNumber))"> @Model.ErrorMessage </div>
@inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.IFieldWithValidation> <div class="text-danger validation-error hide" ng-class="{show: shouldShowValidationError('@(Model.FormSafeName)', @(ViewBag.FormEditorPageNumber))}"> @Model.ErrorMessage </div>
mit
C#
545c0585e0697190da6b023d5310e17588745c8a
Change order of update operation in RecordRun
lpatalas/ExpressRunner
ExpressRunner/TestItem.cs
ExpressRunner/TestItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Caliburn.Micro; using ExpressRunner.Api; namespace ExpressRunner { public class TestItem : PropertyChangedBase, IRunnableTest { public string Name { get { retur...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Caliburn.Micro; using ExpressRunner.Api; namespace ExpressRunner { public class TestItem : PropertyChangedBase, IRunnableTest { public string Name { get { retur...
mit
C#
583a790d97758fcf8ff7ff0da37f82cb38ef4604
Update SleepLog.cs
amammay/Fitbit.NET,WestDiscGolf/Fitbit.NET,AlexGhiondea/Fitbit.NET,WestDiscGolf/Fitbit.NET,aarondcoleman/Fitbit.NET,aarondcoleman/Fitbit.NET,aarondcoleman/Fitbit.NET,WestDiscGolf/Fitbit.NET,amammay/Fitbit.NET,AlexGhiondea/Fitbit.NET,AlexGhiondea/Fitbit.NET,amammay/Fitbit.NET
Fitbit/Models/SleepLog.cs
Fitbit/Models/SleepLog.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Fitbit.Models { public class SleepLog { public int AwakeningsCount { get; set; } public int Duration { get; set; } public int Efficiency { get; set; } public bool IsMainSleep { get; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Fitbit.Models { public class SleepLog { public int AwakeningsCount { get; set; } public int Duration { get; set; } public int Efficiency { get; set; } public bool IsMainSleep { get; ...
mit
C#
7527730eb521d8c9375eacb8d7257ef7c49c3a61
Optimize the detection of IDisposable test classes. Array.Contains performs fewer allocations than the LINQ Any extension method.
fixie/fixie
src/Fixie/Execution/MethodDiscoverer.cs
src/Fixie/Execution/MethodDiscoverer.cs
namespace Fixie.Execution { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; class MethodDiscoverer { readonly Filter filter; readonly IReadOnlyList<Func<MethodInfo, bool>> testMethodConditions; public MethodDiscoverer(Filter ...
namespace Fixie.Execution { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; class MethodDiscoverer { readonly Filter filter; readonly IReadOnlyList<Func<MethodInfo, bool>> testMethodConditions; public MethodDiscoverer(Filter ...
mit
C#
bd68ab67e2574353f6fc4486a07b7744dbac72ec
Add parent and child app skeleton
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
projects/AlertSample/source/AlertSample.App/Program.cs
projects/AlertSample/source/AlertSample.App/Program.cs
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace AlertSample { using Syst...
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace AlertSample { using Syst...
unlicense
C#
043512d204ee12df98c8e176169ed1cd360a72fa
fix faulty razor code in view
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Web/Views/Transfers/TransferConnectionInvitationAuthorization.cshtml
src/SFA.DAS.EmployerAccounts.Web/Views/Transfers/TransferConnectionInvitationAuthorization.cshtml
@using SFA.DAS.EmployerAccounts.Authorisation @using SFA.DAS.EmployerAccounts.Web.Helpers @model TransferConnectionInvitationAuthorizationViewModel <p>Employers who pay the apprenticeship levy can connect with other employers and transfer up to @Model.TransferAllowancePercentage.ToString("N0")% of their previous yea...
@using SFA.DAS.EmployerAccounts.Authorisation @using SFA.DAS.EmployerAccounts.Web.Helpers @model TransferConnectionInvitationAuthorizationViewModel <p>Employers who pay the apprenticeship levy can connect with other employers and transfer up to @Model.TransferAllowancePercentage.ToString("N0")% of their previous yea...
mit
C#
2cf565eba5464b2527fd94f8c507dbbb1cd2b1a5
Change build script to run MSTest v2
fwinkelbauer/Jeeves
Source/build.cake
Source/build.cake
#load "artifact.cake" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); Task("Clean") .Does(() => { CleanArtifacts(); CleanDirectories($"Jeeves*/bin/{configuration}"); CleanDirectory("TestResults"); }); Task("Restore") .IsDependentOn("Clean") ...
#load "artifact.cake" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); Task("Clean") .Does(() => { CleanArtifacts(); CleanDirectories($"Jeeves*/bin/{configuration}"); CleanDirectory("TestResults"); }); Task("Restore") .IsDependentOn("Clean") ...
mit
C#
c533fc0085eea2f7f43d85e826c6ce7bafcb2a01
add fields to authrequest
FirebrandTech/fcs-sdk-net,FirebrandTech/fcs-sdk-net,FirebrandTech/fcs-sdk-net
Src/Model/Auth.cs
Src/Model/Auth.cs
// Copyright © 2010-2014 Firebrand Technologies using System; using ServiceStack; namespace Fcs.Model { [Route("/auth", "GET", Summary = "Get Authorization or Redirect if not Authenticated")] [Route("/auth", "POST", Summary = "Authenticate or Login User")] [Route("/auth", "DELETE", Summary = "Unauthentic...
// Copyright © 2010-2014 Firebrand Technologies using System; using ServiceStack; namespace Fcs.Model { [Route("/auth", "GET", Summary = "Get Authorization or Redirect if not Authenticated")] [Route("/auth", "POST", Summary = "Authenticate or Login User")] [Route("/auth", "DELETE", Summary = "Unauthentic...
mit
C#
178b50b8c548a6a3931382784494ac72c44d7b02
Fix paging for vacancies
dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua
src/WebSite/Views/Home/Vacancies.cshtml
src/WebSite/Views/Home/Vacancies.cshtml
@using X.PagedList; @using X.PagedList.Mvc.Core; @model IPagedList<Core.ViewModels.VacancyViewModel> @{ var categoryId = ViewBag.CategoryId as int?; } @section head { <meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" /> <meta property="og:type" content="website" /> <meta pr...
@using X.PagedList; @using X.PagedList.Mvc.Core; @model IPagedList<Core.ViewModels.VacancyViewModel> @{ var categoryId = ViewBag.CategoryId as int?; } @section head { <meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" /> <meta property="og:type" content="website" /> <meta pr...
mit
C#
fbcc612fbdef66a614cb211dccbabf40736ddde6
Add blocking statement to ensure service remains alive
timclipsham/tfs-hipchat
TfsHipChat/Program.cs
TfsHipChat/Program.cs
using System; using System.ServiceModel; namespace TfsHipChat { class Program { static void Main() { using (var host = new ServiceHost(typeof(CheckinEventService))) { host.Open(); Console.WriteLine("TfsHipChat started!"); ...
using System.ServiceModel; namespace TfsHipChat { class Program { static void Main() { using (var host = new ServiceHost(typeof(CheckinEventService))) { host.Open(); } } } }
mit
C#
5104195f27f3fdcfe3bca338df7fa72e402d8120
Update field enumeration for order processor
Suneco/Suneco.SitecoreBlogs.CustomExperienceProfile,Suneco/Suneco.SitecoreBlogs.CustomExperienceProfile
Suneco.SitecoreBlogs.CustomExperienceProfile/Pipelines/Reporting/ExperienceProfile/GetOrderData.cs
Suneco.SitecoreBlogs.CustomExperienceProfile/Pipelines/Reporting/ExperienceProfile/GetOrderData.cs
namespace Suneco.SitecoreBlogs.CustomExperienceProfile.Pipelines.Reporting.ExperienceProfile { using System; using System.Data; using Extensions; using Services; using Sitecore.Cintel.Reporting; using Sitecore.Cintel.Reporting.Processors; public class GetOrderData : ReportProcessorBase ...
namespace Suneco.SitecoreBlogs.CustomExperienceProfile.Pipelines.Reporting.ExperienceProfile { using System; using System.Data; using Extensions; using Services; using Sitecore.Cintel.Reporting; using Sitecore.Cintel.Reporting.Processors; public class GetOrderData : ReportProcessorBase ...
mit
C#
8ca50aa111f2ef07067f3a00103c2b34d85aec9e
Update using Linq
nmtoan07/AspNetCoreSPA,nmtoan07/AspNetCoreSPA,nmtoan07/AspNetCoreSPA
src/AspNetCoreSPA.Web/Controllers/StudentController.cs
src/AspNetCoreSPA.Web/Controllers/StudentController.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Microsoft.AspNetCore.Mvc; namespace AspNetCoreSPA.Web.Controllers { [Route("api/student")] public class StudentController : Controller { private static List<Student> _students = new List<Student...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; namespace AspNetCoreSPA.Web.Controllers { [Route("api/student")] public class StudentController : Controller { private static List<Student> _students = new List<Student> { ...
mit
C#
7328eec1115f4622ee3fcc698f9d244380a96b38
add test around internally-used class
fluffynuts/PeanutButter,fluffynuts/PeanutButter,fluffynuts/PeanutButter
source/Utils/PeanutButter.DuckTyping.Tests/Extensions/TestDictionaryWrappingNameValueCollection.cs
source/Utils/PeanutButter.DuckTyping.Tests/Extensions/TestDictionaryWrappingNameValueCollection.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using NUnit.Framework; using PeanutButter.DuckTyping.Extensions; using PeanutButter.Utils; using static PeanutButter.RandomGenerators.RandomValueGen; namespace PeanutButter.DuckTyping.Tests.Extensions { ...
using System.Collections; using System.Collections.Specialized; using NUnit.Framework; using PeanutButter.DuckTyping.Extensions; using PeanutButter.Utils; namespace PeanutButter.DuckTyping.Tests.Extensions { [TestFixture] public class TestDictionaryWrappingNameValueCollection: AssertionHelper { [T...
bsd-3-clause
C#
f8d8073dcfb5355eaa523a0d3eb542bc026f5e9f
Use nullable
physhi/roslyn,wvdd007/roslyn,tannergooding/roslyn,aelij/roslyn,heejaechang/roslyn,shyamnamboodiripad/roslyn,abock/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,reaction1989/roslyn,KirillOsenkov/roslyn,agocke/roslyn,mgoertz-msft/roslyn,aelij/roslyn,stephentoub/roslyn,tannergooding/roslyn,KevinRansom/roslyn,stephentou...
src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs
src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.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. #nullable enable using System; using System.Composition; using System.IO; using System.Linq; using Microsoft.CodeAnalysis.Host.Mef; namespace Microsoft.Cod...
// 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.IO; using System.Linq; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Serialization...
mit
C#
93457df44c4ec18e97dbfa6f54058b406e055353
Add one line in RestApiHelper
LordZoltan/docfx,928PJY/docfx,928PJY/docfx,LordZoltan/docfx,dotnet/docfx,dotnet/docfx,928PJY/docfx,superyyrrzz/docfx,superyyrrzz/docfx,DuncanmaMSFT/docfx,pascalberger/docfx,pascalberger/docfx,hellosnow/docfx,LordZoltan/docfx,LordZoltan/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,hellosnow/docfx,superyyrrzz/docfx,pascalber...
src/Microsoft.DocAsCode.Build.RestApi/RestApiHelper.cs
src/Microsoft.DocAsCode.Build.RestApi/RestApiHelper.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Build.RestApi { using System; using Microsoft.DocAsCode.Utility; public static class RestApiHelper { /// <summa...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Build.RestApi { using System; using Microsoft.DocAsCode.Utility; public static class RestApiHelper { /// <summar...
mit
C#
8e3112d4f116cca791f92e4d3010eaeb153f8737
correct sheard to shared
mschray/CalendarHelper
shared/LogHelper.csx
shared/LogHelper.csx
public static class LogHelper { private static TraceWriter logger; public static void Initialize(TraceWriter log) { if (!logger) logger = log; } public static void Info(TraceWriter log, string logtext) { logger.Info(logtext); } public static void Error(TraceWriter lo...
public static class LogHelper { private static TraceWriter logger; public static void InitializeLogger(TraceWriter log) { if (!logger) logger = log; } public static void Info(TraceWriter log, string logtext) { logger.Info(logtext); } public static void Error(TraceWri...
mit
C#
58993c32a6d02349af50c5961cebacce88fdf9f7
add ztlog folder
asmrobot/ZTImage
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ZTImage")] [assembly: AssemblyDescription("base libs")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("ZTImage.com")] [...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ZTImage")] [assembly: AssemblyDescription("base libs")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("ZTImage.com")] [...
apache-2.0
C#
573627e463751ab35896a1546474c2993f6ef75b
update hello.cs
honux77/prostar,honux77/prostar
week2/hello/hello.cs
week2/hello/hello.cs
using System; namespace Hoyoung { class HelloNext { static void Main(String[] args) { Console.WriteLine("Hello, Next"); if(args.Length !=0) Print(args); else Console.WriteLine("Usage> " +AppDomain.CurrentDomain.FriendlyName + " NAME"); } static void Print(String[] hi) { Console.Write("Hello...
using System; namespace Hoyoung { class HelloNext { static void Main(String[] args) { Console.WriteLine("Hello, Next"); Console.WriteLine("Hello, {0}!", args[0]); } } }
mit
C#
3c48f7537ce3e44e875d42c47ebec12add2026cf
Improve exception catching in integration tests
Jericho/CakeMail.RestClient
CakeMail.RestClient.IntegrationTests/Program.cs
CakeMail.RestClient.IntegrationTests/Program.cs
using System; using System.Configuration; namespace CakeMail.RestClient.IntegrationTests { class Program { static void Main(string[] args) { Console.WriteLine("{0} Executing all CakeMail API methods ... {0}", new string('=', 10)); try { ExecuteAllMethods(); } catch (Exception e) { Con...
using System; using System.Configuration; namespace CakeMail.RestClient.IntegrationTests { class Program { static void Main(string[] args) { Console.WriteLine("{0} Executing all CakeMail API methods ... {0}", new string('=', 10)); try { ExecuteAllMethods(); } catch (Exception e) { Con...
mit
C#
e6a35e0b1396e5436225039664ca256dd2c8fa24
Update AtataContext configuring in SetUpFixture of AtataSamples.MultipleBrowsersViaFixtureArguments project
atata-framework/atata-samples
MultipleBrowsersViaFixtureArguments/AtataSamples.MultipleBrowsersViaFixtureArguments/SetUpFixture.cs
MultipleBrowsersViaFixtureArguments/AtataSamples.MultipleBrowsersViaFixtureArguments/SetUpFixture.cs
using System; using Atata; using NUnit.Framework; namespace AtataSamples.MultipleBrowsersViaFixtureArguments { [SetUpFixture] public class SetUpFixture { [OneTimeSetUp] public void GlobalSetUp() { AtataContext.GlobalConfiguration. UseChrome(). ...
using Atata; using NUnit.Framework; namespace AtataSamples.MultipleBrowsersViaFixtureArguments { [SetUpFixture] public class SetUpFixture { [OneTimeSetUp] public void GlobalSetUp() { AtataContext.GlobalConfiguration. UseChrome(). With...
apache-2.0
C#
7ec7a5d16bd8a94cdc7c4df97135a958bbb1fc21
添加微信支付V3单元测试(尚未完成)
JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK
src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs
src/Senparc.Weixin.TenPay/Senparc.Weixin.TenPayV3.Test/Apis/BasePay/BasePayApisTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using Senparc.Weixin.Helpers; using Senparc.Weixin.TenPayV3.Apis; using Senparc.Weixin.TenPayV3.Apis.BasePay; using Senparc.Weixin.TenPayV3.Entities; using Senparc.Weixin.TenPayV3.Helpers; using System; using System.Collections.Generic; using System.Text; using Syste...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Senparc.Weixin.TenPayV3.Apis; using Senparc.Weixin.TenPayV3.Apis.BasePay; using System; using System.Collections.Generic; using System.Text; namespace Senparc.Weixin.TenPayV3.Apis.Tests { [TestClass()] public class BasePayApisTests { [TestM...
apache-2.0
C#
1f4afb1eb02d9874f4c1755ec3864f3b6ae8a89f
Format Timestamp
carbon/Amazon
src/Amazon.DynamoDb/Models/Timestamp.cs
src/Amazon.DynamoDb/Models/Timestamp.cs
using System.Text.Json.Serialization; using Amazon.DynamoDb.JsonConverters; namespace Amazon.DynamoDb; [JsonConverter(typeof(TimestampConverter))] public readonly struct Timestamp { public Timestamp(double value) { Value = value; } public double Value { get; } public st...
using System.Text.Json.Serialization; using Amazon.DynamoDb.JsonConverters; namespace Amazon.DynamoDb { [JsonConverter(typeof(TimestampConverter))] public readonly struct Timestamp { public Timestamp(double value) { Value = value; } public double...
mit
C#
d5df48be378f9223170106938be75bf04d531b74
Address ProcessStartInfo envvar case sensitivite issue
mholo65/cake,ferventcoder/cake,daveaglick/cake,daveaglick/cake,Julien-Mialon/cake,devlead/cake,mholo65/cake,Sam13/cake,RehanSaeed/cake,DixonD-git/cake,phenixdotnet/cake,patriksvensson/cake,thomaslevesque/cake,phrusher/cake,phenixdotnet/cake,ferventcoder/cake,gep13/cake,robgha01/cake,vlesierse/cake,Julien-Mialon/cake,ca...
src/Cake.Core/Polyfill/ProcessHelper.cs
src/Cake.Core/Polyfill/ProcessHelper.cs
using System; using System.Diagnostics; using System.Linq; namespace Cake.Core.Polyfill { internal static class ProcessHelper { public static void SetEnvironmentVariable(ProcessStartInfo info, string key, string value) { #if NETCORE var envKey = info.Environment.Keys.FirstOrDefault...
using System.Diagnostics; namespace Cake.Core.Polyfill { internal static class ProcessHelper { public static void SetEnvironmentVariable(ProcessStartInfo info, string key, string value) { #if NETCORE info.Environment[key] = value; #else info.EnvironmentVariables[key] = ...
mit
C#
b5a7cfcfb502aa2d5f4bbc0e86d60a4e6d178701
unify end of line
locatw/LocaHealthLog
LocaHealthLog/LocaHealthLog/WeeklyChartImage.cs
LocaHealthLog/LocaHealthLog/WeeklyChartImage.cs
using LocaHealthLog.HealthPlanet; using LocaHealthLog.Storage; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace LocaHealthLog { public static class WeeklyChartImage { // start on Saturd...
using LocaHealthLog.HealthPlanet; using LocaHealthLog.Storage; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace LocaHealthLog { public static class WeeklyChartImage { // start on Saturday at 0...
mit
C#
099679a3a6d9490289d8767910c6116528d8fe0e
Fix compilation error when building w/ .NET 4.0
nwoolls/MultiMiner,nwoolls/MultiMiner
MultiMiner.Engine/Installers/AvailableMiners.cs
MultiMiner.Engine/Installers/AvailableMiners.cs
using MultiMiner.Engine.Data; using MultiMiner.Utility.Net; using MultiMiner.Utility.OS; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net; namespace MultiMiner.Engine.Installers { public static class AvailableMiners { public static List<AvailableMiner> GetAvailab...
using MultiMiner.Engine.Data; using MultiMiner.Utility.Net; using MultiMiner.Utility.OS; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net; namespace MultiMiner.Engine.Installers { public static class AvailableMiners { public static List<AvailableMiner> GetAvailab...
mit
C#
2638f5dddb08f12655b24dad74a2b0a615031069
Set initial page to LoginPage
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey/App.xaml.cs
client/BlueMonkey/BlueMonkey/App.xaml.cs
using BlueMonkey.ExpenceServices; using BlueMonkey.ExpenceServices.Local; using BlueMonkey.Model; using Prism.Unity; using BlueMonkey.Views; using Xamarin.Forms; using Microsoft.Practices.Unity; namespace BlueMonkey { public partial class App : PrismApplication { public App(IPlatformInitializer initia...
using BlueMonkey.ExpenceServices; using BlueMonkey.ExpenceServices.Local; using BlueMonkey.Model; using Prism.Unity; using BlueMonkey.Views; using Xamarin.Forms; using Microsoft.Practices.Unity; namespace BlueMonkey { public partial class App : PrismApplication { public App(IPlatformInitializer initia...
mit
C#
fff3bcba6dfb5453805fe238811931ccb51ff2aa
Test stability improve
linkelf/GridDomain,andreyleskov/GridDomain
GridDomain.Tests.Acceptance/EventsUpgrade/Future_events_class_upgraded_by_object_adapter.cs
GridDomain.Tests.Acceptance/EventsUpgrade/Future_events_class_upgraded_by_object_adapter.cs
using System; using System.Threading.Tasks; using GridDomain.Common; using GridDomain.CQRS; using GridDomain.EventSourcing.Adapters; using GridDomain.Scheduling.Quartz.Configuration; using GridDomain.Tests.Acceptance.Snapshots; using GridDomain.Tests.Common; using GridDomain.Tests.Unit; using GridDomain.Tests.Unit.Even...
using System; using System.Threading.Tasks; using GridDomain.Common; using GridDomain.CQRS; using GridDomain.EventSourcing.Adapters; using GridDomain.Scheduling.Quartz.Configuration; using GridDomain.Tests.Acceptance.Snapshots; using GridDomain.Tests.Common; using GridDomain.Tests.Unit; using GridDomain.Tests.Unit.Even...
apache-2.0
C#
65443d401ac92c61d4bd2cc80a5cac5af95d6b48
Fix issue with namespace.
malaysf/RestApiClient,symphonyoss/RestApiClient
test/SymphonyOSS.RestApiClient.Tests/UtilApiTest.cs
test/SymphonyOSS.RestApiClient.Tests/UtilApiTest.cs
namespace SymphonyOSS.RestApiClient.Tests { using System; using Api; using Api.AgentApi; using Authentication; using Generated.OpenApi.AgentApi.Client; using Generated.OpenApi.AgentApi.Model; using Moq; using Xunit; /// <summary> /// Summary description for UtilApiTest /// ...
using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace SymphonyOSS.RestApiClient.Tests { using Api; using Api.AgentApi; using Authentication; using Generated.OpenApi.AgentApi.Client; using Generated.OpenApi.AgentApi.Model; ...
apache-2.0
C#
46dcf7632088f583ebc40d5a2a3f0254910d80c4
Remove unnecessary method.
jkotas/roslyn,VSadov/roslyn,panopticoncentral/roslyn,Hosch250/roslyn,robinsedlaczek/roslyn,tmeschter/roslyn,dotnet/roslyn,lorcanmooney/roslyn,nguerrera/roslyn,mattwar/roslyn,stephentoub/roslyn,mgoertz-msft/roslyn,MichalStrehovsky/roslyn,shyamnamboodiripad/roslyn,nguerrera/roslyn,AnthonyDGreen/roslyn,OmarTawfik/roslyn,r...
src/EditorFeatures/Core/Implementation/IntelliSense/Completion/CompletionFilterReason.cs
src/EditorFeatures/Core/Implementation/IntelliSense/Completion/CompletionFilterReason.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 Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Completion { internal enum CompletionFilterReason { Insertion, Deletion, ...
// 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 Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Completion { internal enum CompletionFilterReason { Insertion, Deletion, ...
mit
C#
ea1809006f38412deb398c24e8eb892824ceab32
Update SwaggerToCSharpClientGeneratorSettings.cs
quails4Eva/NSwag,aelbatal/NSwag,NSwag/NSwag,quails4Eva/NSwag,RSuter/NSwag,aelbatal/NSwag,NSwag/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,NSwag/NSwag,NSwag/NSwag,RSuter/NSwag,RSuter/NSwag,aelbatal/NSwag,aelbatal/NSwag
src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpClientGeneratorSettings.cs
src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpClientGeneratorSettings.cs
//----------------------------------------------------------------------- // <copyright file="SwaggerToCSharpClientGeneratorSettings.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Sute...
//----------------------------------------------------------------------- // <copyright file="SwaggerToCSharpClientGeneratorSettings.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Sute...
mit
C#
fb5bf5e62b76688b93cb8892ac9cc31bbb5ca3b5
Add comment to backwards compat alias
hungmai-msft/azure-powershell,krkhan/azure-powershell,AzureRT/azure-powershell,rohmano/azure-powershell,naveedaz/azure-powershell,krkhan/azure-powershell,jtlibing/azure-powershell,yoavrubin/azure-powershell,zhencui/azure-powershell,AzureAutomationTeam/azure-powershell,rohmano/azure-powershell,atpham256/azure-powershell...
src/ResourceManager/AzureBatch/Commands.Batch/Locations/GetBatchLocationQuotasCommand.cs
src/ResourceManager/AzureBatch/Commands.Batch/Locations/GetBatchLocationQuotasCommand.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#
e010058e1564c6ace6afc33e64aa967942cc362b
comment change
uncas/core,uncas/core
tests/Uncas.Core.Tests/Ioc/BaseBootstrapperTests.cs
tests/Uncas.Core.Tests/Ioc/BaseBootstrapperTests.cs
namespace Uncas.Core.Tests.Ioc { using Moq; using NUnit.Framework; using Uncas.Core.Data.Migration; using Uncas.Core.Ioc; [TestFixture] public class BaseBootstrapperTests { [Test] public void BaseBootstrapper_WithBasicSetupOfTestAssembly_RunsWithoutFailing() ...
namespace Uncas.Core.Tests.Ioc { using Moq; using NUnit.Framework; using Uncas.Core.Data.Migration; using Uncas.Core.Ioc; [TestFixture] public class BaseBootstrapperTests { [Test] public void BaseBootstrapper_WithBasicSetupOfTestAssembly_RunsWithoutFailing() ...
mit
C#
81f9283dbc49edfb9dead422b86871e462112c53
Add hovering flag
DMagic1/KSP_Contract_Window
Source/ContractsWindow.Unity/TextHighlighter.cs
Source/ContractsWindow.Unity/TextHighlighter.cs
 using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; namespace ContractsWindow.Unity { [RequireComponent(typeof(Text))] public class TextHighlighter : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IScrollHandler { [SerializeField] private Color NormalColor = Color.white; [Ser...
 using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; namespace ContractsWindow.Unity { [RequireComponent(typeof(Text))] public class TextHighlighter : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IScrollHandler { [SerializeField] private Color NormalColor = Color.white; [Ser...
mit
C#
c0533d2f7623075a1dd5c8a1ab6801af0c16ceed
Check if the workitem if a jira issue, before logging time.
n-develop/tickettimer
TicketTimer.Jira/Services/DefaultJiraService.cs
TicketTimer.Jira/Services/DefaultJiraService.cs
using Atlassian.Jira; using TicketTimer.Core.Infrastructure; using TicketTimer.Jira.Extensions; namespace TicketTimer.Jira.Services { public class DefaultJiraService : JiraService { private readonly WorkItemStore _workItemStore; // TODO Insert correct parameters public Atlassian.Jira....
using Atlassian.Jira; using TicketTimer.Core.Infrastructure; using TicketTimer.Jira.Extensions; namespace TicketTimer.Jira.Services { public class DefaultJiraService : JiraService { private readonly WorkItemStore _workItemStore; // TODO Insert correct parameters public Atlassian.Jira....
mit
C#
85bd20e827a53112fb831002c524ae0f5d7ad5bd
Correct 'hearth' to 'heart'
FormsCommunityToolkit/FormsCommunityToolkit
Toolkit/Animations/Animations/HeartAnimation.cs
Toolkit/Animations/Animations/HeartAnimation.cs
using System; using System.Threading.Tasks; using Xamarin.Forms; namespace Xamarin.Toolkit.Animations { public class HeartAnimation : AnimationBase { protected override Task BeginAnimation() { if (Target == null) { throw new NullReferenceException("Null ...
using System; using System.Threading.Tasks; using Xamarin.Forms; namespace Xamarin.Toolkit.Animations { public class HeartAnimation : AnimationBase { protected override Task BeginAnimation() { if (Target == null) { throw new NullReferenceException("Null ...
mit
C#
08678d9217d43e7537713ba68824666951405507
Remove test code
sailro/LLZipLib
ZipEntry.cs
ZipEntry.cs
using System.Diagnostics; using System.IO; namespace Llziplib { public class ZipEntry { public CentralDirectoryHeader CentralDirectoryHeader { get; } public LocalFileHeader LocalFileHeader { get; } public byte[] Data { get; set; } public DataDescriptor DataDescriptor { get; set; } public bool HasDataDesc...
using System.Diagnostics; using System.IO; namespace Llziplib { public class ZipEntry { public CentralDirectoryHeader CentralDirectoryHeader { get; } public LocalFileHeader LocalFileHeader { get; } public byte[] Data { get; set; } public DataDescriptor DataDescriptor { get; set; } public bool HasDataDesc...
mit
C#
cc29101b88b927e3fbe5c54c8abdf985dd92146d
Remove diagnostics page from perf app, not implemented.
HongJunRen/katanaproject,HongJunRen/katanaproject,eocampo/KatanaProject301,tomi85/Microsoft.Owin,julianpaulozzi/katanaproject,eocampo/KatanaProject301,HongJunRen/katanaproject,julianpaulozzi/katanaproject,eocampo/KatanaProject301,HongJunRen/katanaproject,eocampo/KatanaProject301,eocampo/KatanaProject301,abrodersen/kata...
tests/Katana.Performance.ReferenceApp/Startup.cs
tests/Katana.Performance.ReferenceApp/Startup.cs
// <copyright file="Startup.cs" company="Microsoft Open Technologies, Inc."> // Copyright 2011-2013 Microsoft Open Technologies, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy ...
// <copyright file="Startup.cs" company="Microsoft Open Technologies, Inc."> // Copyright 2011-2013 Microsoft Open Technologies, Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy ...
apache-2.0
C#
15762abf323aad07126a9d0b2f2e8d94302a48ee
fix whitespace in EnumTests.cs
gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text,mono/ServiceStack.Text,gerryhigh/ServiceStack.Text,mono/ServiceStack.Text,NServiceKit/NServiceKit.Text
tests/ServiceStack.Text.Net40.Tests/EnumTests.cs
tests/ServiceStack.Text.Net40.Tests/EnumTests.cs
using System; using NUnit.Framework; namespace ServiceStack.Text.Tests { [TestFixture] public class EnumTests { [SetUp] public void SetUp() { JsConfig.Reset(); } public enum EnumWithoutFlags { One = 1, Two = 2 } [Flags] public enum EnumWithFlags { One = 1, Two = 2 } public ...
using System; using NUnit.Framework; namespace ServiceStack.Text.Tests { [TestFixture] public class EnumTests { [SetUp] public void SetUp() { JsConfig.Reset(); } public enum EnumWithoutFlags { One = 1, Two = 2 } [Flags] public enum EnumWithFlags { One = 1, Two = 2 } ...
bsd-3-clause
C#
7e7eddea70e0c495a949c208d7867308b2ab76f3
Bump to v0.10.0
viagogo/gogokit.net
SolutionInfo.cs
SolutionInfo.cs
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("GogoKit")] [assembly: AssemblyCompanyAttribute("viagogo")] [assembly: AssemblyCopyrightAttribute("Copyright viagogo 2016")] [assembly: AssemblyVersionAttribute("0.10.0")] [assembly: AssemblyFileVer...
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("GogoKit")] [assembly: AssemblyCompanyAttribute("viagogo")] [assembly: AssemblyCopyrightAttribute("Copyright viagogo 2016")] [assembly: AssemblyVersionAttribute("0.9.0")] [assembly: AssemblyFileVers...
mit
C#
49a10f4fba2fc1d405f5ebf6ec5cafb8b76c7dd4
Update development to 7.3.1.
robsiera/Dnn.Platform,yiji/Dnn.Platform,RichardHowells/Dnn.Platform,51Degrees/Dnn.Platform,AugustKarlstedt/Dnn.Platform,abukres/Dnn.Platform,mitchelsellers/Dnn.Platform,moshefi/Dnn.Platform,ohine/Dnn.Platform,ohine/Dnn.Platform,janjonas/Dnn.Platform,bdukes/Dnn.Platform,nvisionative/Dnn.Platform,EPTamminga/Dnn.Platform,...
SolutionInfo.cs
SolutionInfo.cs
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2014 // by DotNetNuke Corporation // // 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 restrict...
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2014 // by DotNetNuke Corporation // // 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 restrict...
mit
C#
575070c5eeb41d00315b4f36e03e855567d410b7
add binding flat to reduce list of getfunctions
haolly/slua_source_note,jiangzhhhh/slua,luzexi/slua-3rd-lib,luzexi/slua-3rd-lib,Roland0511/slua,yaukeywang/slua,luzexi/slua-3rd,luzexi/slua-3rd,haolly/slua_source_note,Roland0511/slua,jiangzhhhh/slua,Roland0511/slua,jiangzhhhh/slua,mr-kelly/slua,yaukeywang/slua,yaukeywang/slua,yaukeywang/slua,mr-kelly/slua,jiangzhhhh/s...
Assets/Plugins/Slua_Managed/Lua3rdDLL.cs
Assets/Plugins/Slua_Managed/Lua3rdDLL.cs
using System.Collections.Generic; using LuaInterface; using System; using System.Linq; using System.Reflection; using UnityEngine; namespace SLua{ public static class Lua3rdDLL{ static Dictionary<string, LuaCSFunction> DLLRegFuncs = new Dictionary<string, LuaCSFunction>(); static Lua3rdDLL(){ //...
using System.Collections.Generic; using LuaInterface; using System; using System.Linq; using System.Reflection; namespace SLua{ public static class Lua3rdDLL{ static Dictionary<string, LuaCSFunction> DLLRegFuncs = new Dictionary<string, LuaCSFunction>(); static Lua3rdDLL(){ // LuaSocketDLL.Reg(DL...
mit
C#
57ae9797aab6e46d8dda3556af916700f107d598
bump version
Fody/Fody,GeertvanHorrik/Fody
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("2.0.11")] [assembly: AssemblyFileVersion("2.0.11")]
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("2.0.10")] [assembly: AssemblyFileVersion("2.0.10")]
mit
C#
2719d59b6551dfbb291adb3e680e5c9d16af0b35
rename PostParameters to BodyParameters
NebulousConcept/b2-csharp-client
b2-csharp-client/B2.Client/Rest/IRestRequest.cs
b2-csharp-client/B2.Client/Rest/IRestRequest.cs
using System.Collections.Generic; using System.Net.Http; namespace B2.Client.Rest { /// <summary> /// Represents a REST client request. /// </summary> public interface IRestRequest { /// <summary> /// The HTTP method to be used for this request. /// </summary> ...
using System.Collections.Generic; using System.Net.Http; namespace B2.Client.Rest { /// <summary> /// Represents a REST client request. /// </summary> public interface IRestRequest { /// <summary> /// The HTTP method to be used for this request. /// </summary> ...
mit
C#
380726b71cc3dd7746684e223bb2a793db625f6c
Fix exception message
cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium
Src/MaintainableSelenium/MaintainableSelenium.MvcPages/WebPages/WebForms/UnableToSetFieldValueException.cs
Src/MaintainableSelenium/MaintainableSelenium.MvcPages/WebPages/WebForms/UnableToSetFieldValueException.cs
using System; namespace MaintainableSelenium.MvcPages.WebPages.WebForms { public class UnableToSetFieldValueException:ApplicationException { public UnableToSetFieldValueException(string fieldName, string value) : base(string.Format("Cannot set value '{0}' for field '{1}'", value, fieldName...
using System; namespace MaintainableSelenium.MvcPages.WebPages.WebForms { public class UnableToSetFieldValueException:ApplicationException { public UnableToSetFieldValueException(string fieldName, string value) : base(string.Format("Cannot set value '{0}' for field '{1}'", fieldName, value)...
mit
C#
f334fd6b7eab616b3a188124a77ff1f791a14509
Make bool type coercion work with arrays, and improve handling of non-null objects as expression arguments to unary ! and such
kayateia/scriptdotnet,kayateia/scriptdotnet
TypeCoercion.cs
TypeCoercion.cs
namespace ScriptNET { using System; using System.Collections.Generic; using System.Linq; using System.Text; internal class TypeCoercion { // Handle type coercion to bool for Javascript-style if(foo) statements. static public object CoerceToBool(object obj) { if (obj is bool) { // Do nothing, we're fine. } el...
namespace ScriptNET { using System; using System.Collections.Generic; using System.Linq; using System.Text; internal class TypeCoercion { // Handle type coercion to bool for Javascript-style if(foo) statements. static public object CoerceToBool(object obj) { if (obj is bool) { // Do nothing, we're fine. } el...
mit
C#
5ad122bfec900566a9d3ec1ad5f910d5e77c3528
Fix beatmaps importing with -1 as online set ID
ppy/osu,smoogipoo/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,naoey/osu,2yangk23/osu,peppy/osu,UselessToucan/o...
osu.Game/Beatmaps/BeatmapSetInfo.cs
osu.Game/Beatmaps/BeatmapSetInfo.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using osu.Game.Database; namespace osu.Game.Beatmaps { pub...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using osu.Game.Database; namespace osu.Game.Beatmaps { pub...
mit
C#
1f93a1d93841a8973252c84664d2ea1cb037c120
Fix up first responder callback
jamesmontemagno/Office365-FiveMinuteMeeting,gxy001/Office365-FiveMinuteMeeting
FiveMinuteMeeting.iOS/ContactDetailViewController.cs
FiveMinuteMeeting.iOS/ContactDetailViewController.cs
using System; using MonoTouch.Foundation; using MonoTouch.UIKit; using System.CodeDom.Compiler; using MonoTouch.MessageUI; using Microsoft.Office365.OutlookServices; namespace FiveMinuteMeeting.iOS { partial class ContactDetailViewController : UIViewController { public ContactDetailViewController(IntPtr handle...
using System; using MonoTouch.Foundation; using MonoTouch.UIKit; using System.CodeDom.Compiler; using MonoTouch.MessageUI; using Microsoft.Office365.OutlookServices; namespace FiveMinuteMeeting.iOS { partial class ContactDetailViewController : UIViewController { public ContactDetailViewController(IntPtr handle...
mit
C#
1c8f46fe5db68b7f74ecd53e30ce332dbd2be173
Delete commented out code
xyon1/Expenditure-App
GeneralUseClasses/Services/IRecordExpenditureData.cs
GeneralUseClasses/Services/IRecordExpenditureData.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GeneralUseClasses.Contracts; namespace GeneralUseClasses.Services { public interface IRecordExpenditureData { void RecordExpenditureData(IExpenditureEntry entry); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GeneralUseClasses.Contracts; namespace GeneralUseClasses.Services { public interface IRecordExpenditureData { //IExpenditureEntry ExpenditureData { get; set; } void Record...
apache-2.0
C#
df64d80570de8430cfa03e33fe1fc4024667b7e4
Fix namespaces in ProjectCreateViewModel
leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Models/ProjectCreateViewModel.cs
Joinrpg/Models/ProjectCreateViewModel.cs
namespace JoinRpg.Web.Models { public class ProjectCreateViewModel { public string ProjectName { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JoinRpg.Web.Models { public class ProjectCreateViewModel { public string ProjectName { get; set; } } }
mit
C#
a9fa229f8f7e5666fb88cd433e4bb8ec1c7db453
Remove preprocess for texturemodel
tobyclh/UnityCNTK,tobyclh/UnityCNTK
Assets/UnityCNTK/Scripts/Models/TextureTransferModel.cs
Assets/UnityCNTK/Scripts/Models/TextureTransferModel.cs
using UnityEngine; using CNTK; using System; using System.Linq; using System.Collections.Generic; using System.IO; using UnityCNTK; using System.Net; using System.Threading; using UnityEngine.Assertions; namespace UnityCNTK { [CreateAssetMenu(fileName = "TextureModel", menuName = "UnityCNTk/Model/TextureModel")] ...
using UnityEngine; using CNTK; using System; using System.Linq; using System.Collections.Generic; using System.IO; using UnityCNTK; using System.Net; using System.Threading; using UnityEngine.Assertions; namespace UnityCNTK { [CreateAssetMenu(fileName = "TextureModel", menuName = "UnityCNTk/Model/TextureModel")] ...
mit
C#
ad83ea70c62bf9bf71e7d55e4d3ce52850db1e0e
Initialize the OcclusionGeometryConcatenator to empty instead of null
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
Importer/src/occlusion/OcclusionGeometryConcatenator.cs
Importer/src/occlusion/OcclusionGeometryConcatenator.cs
using System.Linq; public class OcclusionGeometryConcatenator { private SubdivisionMesh combinedMesh = SubdivisionMesh.Empty; private float[] combinedFaceTransparencies = new float[0]; public ArraySegment Add(SubdivisionMesh mesh, float[] faceTransparencies) { int startingOffset = combinedMesh.Topology.VertexCo...
using System.Linq; public class OcclusionGeometryConcatenator { private SubdivisionMesh combinedMesh; private float[] combinedFaceTransparencies; public ArraySegment Add(SubdivisionMesh mesh, float[] faceTransparencies) { if (combinedMesh == null) { combinedMesh = mesh; combinedFaceTransparencies = faceTr...
mit
C#
ac9bbab618055e15d1ce98af7e998e019ad90595
Allow getting a user env variable
sdl/groupsharekit.net
Sdl.Community.GroupShareKit.Tests.Integration/Helper.cs
Sdl.Community.GroupShareKit.Tests.Integration/Helper.cs
using System; using System.Threading.Tasks; using Sdl.Community.GroupShareKit.Clients; using Sdl.Community.GroupShareKit.Http; namespace Sdl.Community.GroupShareKit.Tests.Integration { public static class Helper { public static string GetVariable(string key) { // by default it get...
using System; using System.Threading.Tasks; using Sdl.Community.GroupShareKit.Clients; using Sdl.Community.GroupShareKit.Http; namespace Sdl.Community.GroupShareKit.Tests.Integration { public static class Helper { public static async Task<GroupShareClient> GetGroupShareClient() { ...
mit
C#
33eaeff9ac35820012b24cb3872c8095454a650f
Fix localization context issue in OrchardCore.Templates (#4042)
petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orc...
src/OrchardCore.Modules/OrchardCore.Templates/Settings/TemplateContentTypeDefinitionDriver.cs
src/OrchardCore.Modules/OrchardCore.Templates/Settings/TemplateContentTypeDefinitionDriver.cs
using Microsoft.Extensions.Localization; using OrchardCore.ContentManagement.Metadata.Models; using OrchardCore.ContentManagement.Metadata.Settings; using OrchardCore.ContentTypes.Editors; using OrchardCore.DisplayManagement.Views; using OrchardCore.Templates.ViewModels; namespace OrchardCore.Templates.Settings { ...
using Microsoft.Extensions.Localization; using OrchardCore.ContentManagement.Metadata.Models; using OrchardCore.ContentManagement.Metadata.Settings; using OrchardCore.ContentTypes.Editors; using OrchardCore.DisplayManagement.Views; using OrchardCore.Templates.ViewModels; namespace OrchardCore.Templates.Settings { ...
bsd-3-clause
C#
7b8d34243aa5e5af4fcdf6963765f7ed75f3126f
Update Error.cshtml.cs
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/Pages/Error.cshtml.cs
src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/Pages/Error.cshtml.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace Company.WebApplication1.Pages { [ResponseCache(Duration = 0, Location =...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Company.WebApplication1.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore...
apache-2.0
C#
47ec42e9d2d101d1ce5bff794cc3d9a22784348f
Fix bug with 1080p WP 8.1 devices (using a strange hack)
ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus
Windows/Source/Common.WindowsPhone/Controls/BasePage.cs
Windows/Source/Common.WindowsPhone/Controls/BasePage.cs
// Copyright (c) PocketCampus.Org 2014 // See LICENSE file for more details // File author: Solal Pirelli using System.Windows; using Microsoft.Phone.Controls; namespace PocketCampus.Common.Controls { /// <summary> /// Base class for all pages. /// Contains animations and orientation visual states. //...
// Copyright (c) PocketCampus.Org 2014 // See LICENSE file for more details // File author: Solal Pirelli using System.Windows; using Microsoft.Phone.Controls; namespace PocketCampus.Common.Controls { /// <summary> /// Base class for all pages. /// Contains animations and orientation visual states. //...
bsd-3-clause
C#
ceeb59518c1cf625f0c02a3b837f2e0fc131551f
Remove setter from List in test
Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet
Tests/WeaverTests/AssemblyToProcess/FaultyClasses.cs
Tests/WeaverTests/AssemblyToProcess/FaultyClasses.cs
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/l...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/l...
apache-2.0
C#