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 |
|---|---|---|---|---|---|---|---|---|
40f84ac4384d7bcf4108f50a00594eaff3477cfa | Add function for distance in spherical metric. | roice3/Honeycombs | code/R3/R3.Core/Geometry/Spherical2D.cs | code/R3/R3.Core/Geometry/Spherical2D.cs | namespace R3.Geometry
{
using Math = System.Math;
using R3.Core;
using System.Diagnostics;
public static class Spherical2D
{
// The next two methods mimic Don's stuff for the hyperbolic plane.
public static double
s2eNorm( double sNorm )
{
//if( double.IsNaN( sNorm ) )
// return 1.0;
return Math... | namespace R3.Geometry
{
using Math = System.Math;
using R3.Core;
using System.Diagnostics;
public static class Spherical2D
{
// The next two methods mimic Don's stuff for the hyperbolic plane.
public static double
s2eNorm( double sNorm )
{
//if( double.IsNaN( sNorm ) )
// return 1.0;
return Math... | mit | C# |
4e01abc37ce9c908e0fe341f62eec0e83c81fa92 | fix broken on purpose build | Isantipov/mqpi,Isantipov/mqpi | mqpi/Controllers/MockedController.cs | mqpi/Controllers/MockedController.cs | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
namespace mqpi.Controllers
{
[Route("api/{type}")]
public class MockedController : Controller
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(MockedController));
// GET api/valu... | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
namespace mqpi.Controllers
{
[Route("api/{type}")]
public class MockedController : Controller
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(MockedController));
// GET api/valu... | mit | C# |
e633cd48e2cbea97d91d5a21b09e3e5b14aebc2c | fix in-game website link. fixes #33 | erosson/orbitris,erosson/orbitris,erosson/orbitris,erosson/orbitris | Assets/MainMenu.cs | Assets/MainMenu.cs | using UnityEngine;
using System.Collections;
public class MainMenu : MonoBehaviour {
public AudioClip select;
public AudioClip cancel;
public OptionsMenu optionsMenu;
private string url = "http://erosson.org/games/orbitris";
void OnGUI() {
DebugUtil.ScaleGUI();
GUILayout.BeginArea(new Rect(DebugUtil.Scree... | using UnityEngine;
using System.Collections;
public class MainMenu : MonoBehaviour {
public AudioClip select;
public AudioClip cancel;
public OptionsMenu optionsMenu;
private string url = "http://orbitris.zealgame.com";
void OnGUI() {
DebugUtil.ScaleGUI();
GUILayout.BeginArea(new Rect(DebugUtil.ScreenWidt... | mit | C# |
59f3a778cf97eb8009849f94a232c8b9c03f3e4d | Simplify test for build | webprofusion/Certify | src/Certify.Tests/Certify.Core.Tests.Unit/MigrationManagerTests.cs | src/Certify.Tests/Certify.Core.Tests.Unit/MigrationManagerTests.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Certify.Config.Migration;
using Certify.Core.Management;
using Certify.Management;
using Certify.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Certify.Core.Tests.Unit
{
[TestClass]
public class Mig... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Certify.Config.Migration;
using Certify.Core.Management;
using Certify.Management;
using Certify.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Certify.Core.Tests.Unit
{
[TestClass]
public class Mig... | mit | C# |
b185d91ec335a29b75a6cd3bbf79816ce72f6bd9 | Format CSV values using invariant culture | vendolis/EDDiscovery,jeoffman/EDDiscovery,jeoffman/EDDiscovery,vendolis/EDDiscovery,mwerle/EDDiscovery,jthorpe4/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery | EDDiscovery/Export/ExportBase.cs | EDDiscovery/Export/ExportBase.cs | using EDDiscovery.EliteDangerous;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Text;
namespace EDDiscovery.Export
{
public enum CSVFormat
{
USA_UK = 0,
EU = 1,
}
public abstract class ExportBase... | using EDDiscovery.EliteDangerous;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Text;
namespace EDDiscovery.Export
{
public enum CSVFormat
{
USA_UK = 0,
EU = 1,
}
public abstract class ExportBase... | apache-2.0 | C# |
a15ba1b29ad5418700cdb5527f5a1046e5c5872e | Implement Point4 methods | turtle-box-games/leaf-csharp | Leaf/Leaf/Types/Point4.cs | Leaf/Leaf/Types/Point4.cs | using System;
namespace Leaf.Types
{
/// <summary>
/// Storage for a four-dimensional point or size.
/// The values are integers.
/// This type has an X, Y, Z, and W value.
/// </summary>
public struct Point4
{
private readonly int _x, _y, _z, _w;
/// <summary... | using System;
namespace Leaf.Types
{
/// <summary>
/// Storage for a four-dimensional point or size.
/// The values are integers.
/// This type has an X, Y, Z, and W value.
/// </summary>
public struct Point4
{
/// <summary>
/// Offset along the x-axis.
... | mit | C# |
a99c5ebfbcb955d952913587ed1a78578fb96c67 | change type of Id in WateringValue model | MCeddy/IoT-core | IoT-Core/Models/WateringValue.cs | IoT-Core/Models/WateringValue.cs | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Models
{
public class WateringValue
{
public ObjectId Id { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.... | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Models
{
public class WateringValue
{
public int Id { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Local... | mit | C# |
c127ede07a54c377348f326f326b7f3db229c216 | mark ProgressIndicator as obsolete | Danghor/MahApps.Metro,Evangelink/MahApps.Metro,MahApps/MahApps.Metro,psinl/MahApps.Metro,batzen/MahApps.Metro,ye4241/MahApps.Metro,chuuddo/MahApps.Metro,jumulr/MahApps.Metro,Jack109/MahApps.Metro,pfattisc/MahApps.Metro,p76984275/MahApps.Metro,xxMUROxx/MahApps.Metro | MahApps.Metro/Controls/ProgressIndicator.xaml.cs | MahApps.Metro/Controls/ProgressIndicator.xaml.cs | using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace MahApps.Metro.Controls
{
[Obsolete("The ProgressIndicator is now obsolete, use the MetroProgressBar or ProgressBar ins... | using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace MahApps.Metro.Controls
{
public class WidthPercentageConverter : IValueConverter
{
public object Convert(o... | mit | C# |
54728ae20ab9e72edbf7fcabf7298bdf96f02ba8 | Fix to LineCollider DebugRender() | lucas-miranda/Raccoon | Raccoon/Core/Components/Colliders/LineCollider.cs | Raccoon/Core/Components/Colliders/LineCollider.cs | using System;
namespace Raccoon.Components {
public class LineCollider : Collider {
#region Constructors
public LineCollider(Vector2 from, Vector2 to) : base() {
Initialize(from, to);
}
public LineCollider(Vector2 from, Vector2 to, params string[] tags) : ba... | using System;
namespace Raccoon.Components {
public class LineCollider : Collider {
#region Constructors
public LineCollider(Vector2 from, Vector2 to) : base() {
Initialize(from, to);
}
public LineCollider(Vector2 from, Vector2 to, params string[] tags) : ba... | mit | C# |
aa16fead9f368319f6f3ca5e023cd2374010f426 | fix directory not found bug | Jeffiy/NewsCollection | NewsCollection.Service/PluginHelper.cs | NewsCollection.Service/PluginHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using NewLife.Log;
using NewsCollection.Core;
using NewsCollection.Plugin;
namespace NewsCollection.Service
{
public static class PluginHelper
{
public static List<ICollect> FindPlugins()
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using NewLife.Log;
using NewsCollection.Core;
using NewsCollection.Plugin;
namespace NewsCollection.Service
{
public static class PluginHelper
{
public static List<ICollect> FindPlugins()
... | mit | C# |
92ef500d74b74087515dc5bfef31ff429bd415b8 | Update Skill.cs | NinjaVault/NinjaHive,NinjaVault/NinjaHive | NinjaHive.Contract/DTOs/Skill.cs | NinjaHive.Contract/DTOs/Skill.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace NinjaHive.Contract.DTOs
{
public class Skill
{
[Required]
public Guid Id { get; set; }
[Required]
public string Name { get; set; }
[Required]
public int Range ... | using System;
using System.ComponentModel.DataAnnotations;
namespace NinjaHive.Contract.DTOs
{
public class Skill
{
public Guid Id { get; set; }
[Required]
public string Name { get; set; }
}
}
| apache-2.0 | C# |
52a3cf90a03a09112576b144c42b59957f394b4c | Change the assembly guid | amoeba/PhatACUtil | Properties/AssemblyInfo.cs | 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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
64198b198a97b696cca12a6376585744dfeea557 | add description comment for tags | etishor/Metrics.NET,huoxudong125/Metrics.NET,ntent-ad/Metrics.NET,Recognos/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,Liwoj/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,mnadel/Metrics.NET,... | Src/Metrics/MetricTags.cs | Src/Metrics/MetricTags.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Metrics
{
/// <summary>
/// Collection of tags that can be attached to a metric.
/// </summary>
public struct MetricTags : Utils.IHideObjectMembers
{
private static readonly string[] empty = new string[0];
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Metrics
{
public struct MetricTags : Utils.IHideObjectMembers
{
private static readonly string[] empty = new string[0];
public static readonly MetricTags None = new MetricTags(Enumerable.Empty<string>());
pr... | apache-2.0 | C# |
468b41904b9d5e9460f8edbcef36e0c1e96e99a9 | Add Vector3d constructor | yanyiyun/LockstepFramework,erebuswolf/LockstepFramework,SnpM/Lockstep-Framework | Core/Simulation/Math/Vector3d.cs | Core/Simulation/Math/Vector3d.cs | using UnityEngine;
using System.Collections;
namespace Lockstep
{
//THIS IS HAPPENING!!!!
public struct Vector3d
{
[FixedNumber]
public long x;
[FixedNumber]
public long y;
[FixedNumber]
public long z; //Height
public Vector3d (long X, long Y, long ... | using UnityEngine;
using System.Collections;
namespace Lockstep
{
//THIS IS HAPPENING!!!!
public struct Vector3d
{
[FixedNumber]
public long x;
[FixedNumber]
public long y;
[FixedNumber]
public long z; //Height
public void Normalize () {
... | mit | C# |
8ddcdc7598a26e959b95085ff60100c4fa1e9d0f | add ImageFlip extensions | lucas-miranda/Raccoon | Raccoon/Core/Definitions/ImageFlip.cs | Raccoon/Core/Definitions/ImageFlip.cs | using System;
namespace Raccoon {
[Flags]
public enum ImageFlip {
None = 0,
Horizontal = 1,
Vertical = 1 << 1,
Both = Horizontal | Vertical
}
public static class ImageFlipExtensions {
public static bool IsHorizontal(this ImageFlip flip) {
return (fl... | using System;
namespace Raccoon {
[Flags]
public enum ImageFlip {
None = 0,
Horizontal = 1,
Vertical = 1 << 1,
Both = Horizontal | Vertical
}
}
| mit | C# |
c0fe72e5710ed114df564da33a795bb545aafcf7 | Bump version to 0.6.0.0 | kenegozi/kudu,kenegozi/kudu,barnyp/kudu,uQr/kudu,shibayan/kudu,YOTOV-LIMITED/kudu,YOTOV-LIMITED/kudu,badescuga/kudu,duncansmart/kudu,shanselman/kudu,sitereactor/kudu,juoni/kudu,WeAreMammoth/kudu-obsolete,dev-enthusiast/kudu,chrisrpatterson/kudu,shrimpy/kudu,EricSten-MSFT/kudu,uQr/kudu,shibayan/kudu,juvchan/kudu,shrimpy... | Common/CommonAssemblyInfo.cs | Common/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyVersion("0.6.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| using System.Reflection;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyVersion("0.5.*")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| apache-2.0 | C# |
d1d60d6f1ffad2c6090e622a218b388b98cd4ba4 | Update Index.cshtml | TheScienceOfCode/Sibelius.Web,TheScienceOfCode/Sibelius.Web,TheScienceOfCode/Sibelius.Web | Sibelius.Web/Views/Posts/Index.cshtml | Sibelius.Web/Views/Posts/Index.cshtml | @{
ViewBag.bodyclass = "dark-body";
ViewBag.ContainerClass = "body-content";
}
<br />
<div class="row">
<div class="col-xs-12">
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Post show -->
<ins cla... | @{
ViewBag.bodyclass = "dark-body";
ViewBag.ContainerClass = "body-content";
}
<br />
<div class="row">
<div class="col-xs-12">
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Post show -->
- <ins cl... | mit | C# |
5e011d7f8215f13bcf24f42f4b14e34b9acdf09a | Remove unused usings | jkonecki/Streamstone,james-andrewsmith/Streamstone | Source/Streamstone/Extensions.cs | Source/Streamstone/Extensions.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Streamstone
{
static class TaskExtensions
{
public static ConfiguredTaskAwaitable Really(this Task task)
{
return task.... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
namespace Streamstone
{
static class TaskExt... | apache-2.0 | C# |
637febe9b632c3de7d13ee50460151f69e378857 | Fix The GlowWindow in the taskmanager | Danghor/MahApps.Metro,xxMUROxx/MahApps.Metro,psinl/MahApps.Metro,Jack109/MahApps.Metro,batzen/MahApps.Metro,Evangelink/MahApps.Metro,MahApps/MahApps.Metro,jumulr/MahApps.Metro,p76984275/MahApps.Metro,pfattisc/MahApps.Metro,chuuddo/MahApps.Metro,ye4241/MahApps.Metro | MahApps.Metro/Behaviours/GlowWindowBehavior.cs | MahApps.Metro/Behaviours/GlowWindowBehavior.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Interactivity;
using MahApps.Metro.Controls;
namespace MahApps.Metro.Behaviours
{
public class GlowWindowBehavior : Behavior<Window>
{
private GlowWindow left, right, top, b... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Interactivity;
using MahApps.Metro.Controls;
namespace MahApps.Metro.Behaviours
{
public class GlowWindowBehavior : Behavior<Window>
{
private GlowWindow left, right, top, b... | mit | C# |
6db044cc6c5d7a9fb8ef03c1bcfe5b3d37cc85e1 | Fix broken redirect when restoring game on mobile | siege918/quest,siege918/quest,siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,siege918/quest,F2Andy/quest,textadventures/quest,textadventures/quest,F2Andy/quest | WebPlayer/Mobile/Default.aspx.cs | WebPlayer/Mobile/Default.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
namespace WebPlayer.Mobile
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, Event... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
namespace WebPlayer.Mobile
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, Event... | mit | C# |
574e1b9a441a69d6b346c9ba8cbe55045d1713bf | Make units face camera, not match rotation | JapaMala/armok-vision,JapaMala/armok-vision,JapaMala/armok-vision | Assets/MapGen/Units/CameraFacing.cs | Assets/MapGen/Units/CameraFacing.cs | // CameraFacing.cs
// original by Neil Carter (NCarter)
// modified by Hayden Scott-Baron (Dock) - http://starfruitgames.com
// allows specified orientation axis
using UnityEngine;
using System.Collections;
public class CameraFacing : MonoBehaviour
{
Camera referenceCamera;
public enum Axis { up, down, l... | // CameraFacing.cs
// original by Neil Carter (NCarter)
// modified by Hayden Scott-Baron (Dock) - http://starfruitgames.com
// allows specified orientation axis
using UnityEngine;
using System.Collections;
public class CameraFacing : MonoBehaviour
{
Camera referenceCamera;
public enum Axis { up, down, l... | mit | C# |
cee73062a70a1a3421f685cfbbbf20287c224172 | Enable all warnings in 'MismatchedFileNameHighlightingTests' and also fix the test bug for the partial class test (missing aux file) | ulrichb/Roflcopter,ulrichb/Roflcopter | Src/Roflcopter.Plugin.Tests/MismatchedFileNames/MismatchedFileNameHighlightingTests.cs | Src/Roflcopter.Plugin.Tests/MismatchedFileNames/MismatchedFileNameHighlightingTests.cs | using System.IO;
using System.Linq;
using JetBrains.Annotations;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace Roflcopter.Plugin.Tests.MismatchedFileNames
{
[TestFixture]
[TestNetFramework4]
public class MismatchedFileName... | using System.IO;
using JetBrains.Annotations;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
using Roflcopter.Plugin.MismatchedFileNames;
namespace Roflcopter.Plug... | mit | C# |
1e97818892353741ca6b6d93813afcd6e3034452 | Update EnumerableExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/EnumerableExtensions.cs | src/EnumerableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
public static class EnumerableExtensions
{
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> source, Random rng)
{ // http://stackoverflow.com/questions/1287567/is-using-random-and-orderby-a-good-shuffle-algorithm
T[] elements = source.To... | public static EnumerableExtensions {
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T> source, Random rng)
{ // http://stackoverflow.com/questions/1287567/is-using-random-and-orderby-a-good-shuffle-algorithm
T[] elements = source.ToArray();
for (int i = elements.Length - 1; i >= 0; i--) {
// Swap... | apache-2.0 | C# |
1bc9f6129b932d2b1f6022789088b519782c44a8 | add dummy text to admin nav | momcms/MoM,momcms/MoM | MoM.Web/Views/Pages/Admin.cshtml | MoM.Web/Views/Pages/Admin.cshtml | @{
ViewBag.Title = "Administration";
}
<mom-admin>
<div class="container-fluid">
<div class="row">
<div class="col-sm-2 col-md-1 admin-sidebar">
<ul class="nav nav-sidebar">
<li><a href="#" title="Parent"><i class="fa fa-level-up fa-2x"></i></a></li>
... | @{
ViewBag.Title = "Administration";
}
<mom-admin>
<div class="container-fluid">
<div class="row">
<div class="col-sm-2 col-md-1 admin-sidebar">
<ul class="nav nav-sidebar">
<li><a href="#" title="Users"><i class="fa fa-level-up fa-2x"></i></a></li>
... | mit | C# |
6c312fa18015053b0f0ab57c4590bd8c8a59817d | fix logging bug divide by zero | NicolasDorier/NBitcoin.Indexer,bijakatlykkex/NBitcoin.Indexer,MetacoSA/NBitcoin.Indexer | NBitcoin.Indexer/IndexerTrace.cs | NBitcoin.Indexer/IndexerTrace.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.Indexer
{
class IndexerTrace
{
static TraceSource _Trace = new TraceSource("NBitcoin.Indexer");
internal static void ErrorWhileImportingBlockToAzure(ui... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.Indexer
{
class IndexerTrace
{
static TraceSource _Trace = new TraceSource("NBitcoin.Indexer");
internal static void ErrorWhileImportingBlockToAzure(ui... | mit | C# |
46d91339c56838057f2fd5c2d709aed83ee4e1ae | Update the year 2016 in the AssemblyInfo | noelpush/noelpush | NPush/Properties/AssemblyInfo.cs | NPush/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("NoelPush... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("NoelPush... | mit | C# |
b7308f5ed479623e67150e9886450436617410d3 | Fix storyboard videos being offset incorrectly | NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu | osu.Game/Storyboards/Drawables/DrawableStoryboardVideo.cs | osu.Game/Storyboards/Drawables/DrawableStoryboardVideo.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.G... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.G... | mit | C# |
ecf8f05331c7cbb385fa0cfdd80c3c013edf8631 | Revert "Revert "LoginTest is completed"" | oleksandrp1/SeleniumTasks | SeleniumTasksProject1.1/SeleniumTasksProject1.1/InternetExplorer.cs | SeleniumTasksProject1.1/SeleniumTasksProject1.1/InternetExplorer.cs | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class InternetExplorer
... | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class InternetExplorer
... | apache-2.0 | C# |
78350ad28fcb51e8d59cae63e039bf71e21c63d5 | change member visibility | runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty | Source/ReactiveProperty.NETStandard/Internals/PropertyObservable.cs | Source/ReactiveProperty.NETStandard/Internals/PropertyObservable.cs | using System;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Reactive.Subjects;
namespace Reactive.Bindings.Internals
{
internal sealed class PropertyObservable<TProperty> : IObservable<TProperty>, IDisposable
{
private PropertyPathNode RootNode { get; set; }
internal... | using System;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Reactive.Subjects;
namespace Reactive.Bindings.Internals
{
internal sealed class PropertyObservable<TProperty> : IObservable<TProperty>, IDisposable
{
private PropertyPathNode RootNode { get; set; }
internal... | mit | C# |
e0187ecf7a3bc913b757767344065226771d5ea3 | Fix for disposing DataContext object. | cube-soft/Cube.Core,cube-soft/Cube.Core | Libraries/Triggers/DisposeAction.cs | Libraries/Triggers/DisposeAction.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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-2.0 | C# |
fd70b866560b660726bfca8855599e13ac9dd9a0 | Add missing field to FinishedWarp | HelloKitty/Booma.Proxy | src/Booma.Proxy.Packets.BlockServer/Payloads/Client/Subpayloads/Command60/Sub60FinishedWarpingBurstingPayload.cs | src/Booma.Proxy.Packets.BlockServer/Payloads/Client/Subpayloads/Command60/Sub60FinishedWarpingBurstingPayload.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Payload that tells the server we've finsihed loading/bursting/warping.
/// We should have sent a warp request to the server b... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// Payload that tells the server we've finsihed loading/bursting/warping.
/// We should have sent a warp request to the server b... | agpl-3.0 | C# |
26f3a32cd61ba56f4dff1acc38acc67f67782616 | Increase project version number to 0.8 | YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0... | apache-2.0 | C# |
d8af70e8914c587cdc35dd7d523539ee2ab1a12a | Add DeleteQueryHandlerAsyncShould and one unit test | bcbeatty/allReady,chinwobble/allReady,HamidMosalla/allReady,shanecharles/allReady,HTBox/allReady,BillWagner/allReady,gitChuckD/allReady,GProulx/allReady,mipre100/allReady,mgmccarthy/allReady,MisterJames/allReady,colhountech/allReady,mgmccarthy/allReady,dpaquette/allReady,anobleperson/allReady,colhountech/allReady,Visha... | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/DeleteQueryHandlerAsyncShould.cs | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Campaigns/DeleteQueryHandlerAsyncShould.cs | using System.Threading.Tasks;
using AllReady.Areas.Admin.Features.Campaigns;
using AllReady.Areas.Admin.ViewModels.Campaign;
using AllReady.Models;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Campaigns
{
public class DeleteQueryHandlerAsyncShould : InMemoryContextTest
{
[Fa... | using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Campaigns
{
public class DeleteQueryHandlerAsyncShould
{
[Fact]
public void ReturnTheCorrectVieModel()
{
}
[Fact]
public void ReturnTheCorrectData()
{
}
}
}
| mit | C# |
1e53f5f9aafc0836a34176baead285b3d0e0e409 | Fix the Connect.Initialize typo | getconnect/connect-net-sdk,getconnect/connect-net | src/ConnectSdk/Connect.cs | src/ConnectSdk/Connect.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using ConnectSdk.Config;
namespace ConnectSdk
{
public static class Connect
{
private static IConnect _connect;
public static void Initialize(IConfiguration configuration)
{
_connect = new ConnectClient(config... | using System.Collections.Generic;
using System.Threading.Tasks;
using ConnectSdk.Config;
namespace ConnectSdk
{
public static class Connect
{
private static IConnect _connect;
public static void Inititialize(IConfiguration configuration)
{
_connect = new ConnectClient(conf... | mit | C# |
322386626be46659340e617ceb5dffaa9848cad4 | Add \n to output. | stpettersens/nGaudi,stpettersens/nGaudi | dist/CLRCheck.cs | dist/CLRCheck.cs | /*
Common Language Runtime (.NET/Mono) checker
@author Sam Saint-Pettersen, 2011
Released into the public domain.
Originally written for use with
the NSIS installation script for nGaudi.
But use as you like. No warranty.
Usage: [mono] CLRCheck.exe
Output: CLR version (e.g. 4.0.30319.1)
Exit code: -1 (ne... | /*
Common Language Runtime (.NET/Mono) checker
@author Sam Saint-Pettersen, 2011
Released into the public domain.
Originally written for use with
the NSIS installation script for nGaudi.
But use as you like. No warranty.
Usage: [mono] CLRCheck.exe
Output: CLR version (e.g. 4.0.30319.1)
Exit code: -1 (ne... | mit | C# |
4db692041ea0d027fdc51017c016585b7deb846c | Fix up spelling of Diagnostics | datalust/seq-api,nblumhardt/seq-api,continuousit/seq-api | src/Seq.Api/Api/SeqConnection.cs | src/Seq.Api/Api/SeqConnection.cs | using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Seq.Api.Client;
using Seq.Api.Model;
using Seq.Api.Model.Root;
using Seq.Api.ResourceGroups;
namespace Seq.Api
{
public class SeqConnection : ISeqConnection
{
readonly SeqApiClient _client;
readonly Concurre... | using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Seq.Api.Client;
using Seq.Api.Model;
using Seq.Api.Model.Root;
using Seq.Api.ResourceGroups;
namespace Seq.Api
{
public class SeqConnection : ISeqConnection
{
readonly SeqApiClient _client;
readonly Concurre... | apache-2.0 | C# |
599deb11b04619168ce5ec892b922b22ccb0efd0 | Convert struct to class | MHeasell/Mappy,MHeasell/Mappy | Mappy/Models/ListViewItem.cs | Mappy/Models/ListViewItem.cs | namespace Mappy.Models
{
using System.Drawing;
public class ListViewItem
{
public ListViewItem(string name, Bitmap image, object tag)
{
this.Name = name;
this.Image = image;
this.Tag = tag;
}
public string Name { get; }
... | namespace Mappy.Models
{
using System.Drawing;
public struct ListViewItem
{
public ListViewItem(string name, Bitmap image, object tag)
{
this.Name = name;
this.Image = image;
this.Tag = tag;
}
public string Name { get; }
... | mit | C# |
d4a680913c87087abdd0433b0c05276d85fe30cf | update MethodExecuteLoggerInterceptor | AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite | extras/src/AspectCore.Extensions.AspNetCore/Interceptors/MethodExecuteLoggerInterceptor.cs | extras/src/AspectCore.Extensions.AspNetCore/Interceptors/MethodExecuteLoggerInterceptor.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using AspectCore.DynamicProxy;
using AspectCore.Extensions.Reflection;
using Microsoft.Extensions.Logging;
namespace AspectCore.Extensions.AspNetCore
{
public class MethodExecuteLoggerInterceptor : AbstractInterceptor
{
... | using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
using AspectCore.DynamicProxy;
using AspectCore.Injector;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace AspectCore.Extensions.AspNetCore
{
public class MethodExecuteLoggerInterceptor : Abstra... | mit | C# |
7b20d1c948d7b6035f50ba098bc15198ef985c57 | build version: 3.9.71.5 | wiesel78/Canwell.OrmLite.MSAccess2003 | Source/GlobalAssemblyInfo.cs | Source/GlobalAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyCompany("canwell - IT Solutions... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyCompany("canwell - IT Solutions... | bsd-3-clause | C# |
faf0a7cd576bbd25be1648b8519ca0ed713163fd | Remove deprecated methods | Puzzlepart/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,m-carter1/PnP-Sites-Core,PieterVeenstra/PnP-Sites-Core,phillipharding/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,Oaden/PnP-Sites-Core,phillipharding/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,comblox/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,it... | Core/OfficeDevPnP.Core/Framework/Provisioning/Deprecated/ObjectHandlers/ProvisioningTemplateApplyingInformation.deprecated.cs | Core/OfficeDevPnP.Core/Framework/Provisioning/Deprecated/ObjectHandlers/ProvisioningTemplateApplyingInformation.deprecated.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers
{
public partial class ProvisioningTemplateApplyingInformation
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers
{
public partial class ProvisioningTemplateApplyingInformation
{
[Obsolete("Please don't use this member, insted use Mes... | mit | C# |
1efaa1a6045863facfd6cf4c7b44f5387032f794 | Update UITestFixture.SetUp method | atata-framework/atata-kendoui,atata-framework/atata-kendoui | src/Atata.KendoUI.Tests/UITestFixture.cs | src/Atata.KendoUI.Tests/UITestFixture.cs | using System.Configuration;
using NUnit.Framework;
namespace Atata.KendoUI.Tests
{
[TestFixture]
public abstract class UITestFixture
{
[SetUp]
public void SetUp()
{
string baseUrl = ConfigurationManager.AppSettings["TestAppUrl"];
AtataContext.Configure().
... | using System.Configuration;
using NUnit.Framework;
namespace Atata.KendoUI.Tests
{
[TestFixture]
public abstract class UITestFixture
{
[SetUp]
public void SetUp()
{
string baseUrl = ConfigurationManager.AppSettings["TestAppUrl"];
AtataContext.Configure().
... | apache-2.0 | C# |
0c120a231ff49944509c12118620b91c3013b11b | Add auto completer for offer type. | devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationT... | src/ResourceManager/SubscriptionDefinition/Commands.SubscriptionDefinition/Cmdlets/NewAzureRmSubscriptionDefinition.cs | src/ResourceManager/SubscriptionDefinition/Commands.SubscriptionDefinition/Cmdlets/NewAzureRmSubscriptionDefinition.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# |
e1d22e58bfbd03c6d8c198460711860ae1c23fb1 | Simplify queue count text logic | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu | osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerPlaylistTabControl.cs | osu.Game/Screens/OnlinePlay/Multiplayer/Match/Playlist/MultiplayerPlaylistTabControl.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.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.Rooms;
namespace osu.Game.Screen... | // 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.Bindables;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
using osu.Game.Online.Rooms;
namespace osu.Game.Screen... | mit | C# |
641e89b28aa538e5ed7069a4c8593aa2cadeed65 | Improve error handling | kzu/OctoFlow | src/OctoFlow.Console/Program.cs | src/OctoFlow.Console/Program.cs | /*
Copyright 2014 Daniel Cazzulino
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
*/
namespace OctoFlow
{
using CLAP;
using ... | /*
Copyright 2014 Daniel Cazzulino
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
*/
namespace OctoFlow
{
using CLAP;
using Oct... | apache-2.0 | C# |
2f7edc2596c2ae4d393cb16ebe658ffb515f5fd0 | fix hardcoded blog path in theme | Wyamio/Wyam,Wyamio/Wyam,Wyamio/Wyam | themes/Docs/Samson/_BlogIndex.cshtml | themes/Docs/Samson/_BlogIndex.cshtml | @{
bool fullContent = Model.String(Keys.RelativeFilePath) == $"{@Context.String(DocsKeys.BlogPath)}/index.html" && Model.Get<int>(Keys.CurrentPage) == 1;
foreach(IDocument post in Model.DocumentList(Keys.PageDocuments))
{
<h2><a href="@Context.GetLink(post)">@post.WithoutSettings.String(Keys.Title)<... | @{
bool fullContent = Model.String(Keys.RelativeFilePath) == "blog/index.html" && Model.Get<int>(Keys.CurrentPage) == 1;
foreach(IDocument post in Model.DocumentList(Keys.PageDocuments))
{
<h2><a href="@Context.GetLink(post)">@post.WithoutSettings.String(Keys.Title)</a></h2>
@Html.Partial("_... | mit | C# |
694c2c3ca6c9dcbd4c76876e14c6148f8b411d33 | Improve delete field dialog | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Views/GameField/Delete.cshtml | Joinrpg/Views/GameField/Delete.cshtml | @model JoinRpg.DataModel.ProjectCharacterField
@{
ViewBag.Title = "Удалить поле персонажа «" + Model.FieldName +"»";
}
<h2>@ViewBag.Title</h2>
<h3>Вы действительно хотите удалить?</h3>
<div>
<h4>@Model.FieldName</h4>
<hr/> @if (Model.WasEverUsed)
{
<p>У некоторых персонажей это п... | @model JoinRpg.DataModel.ProjectCharacterField
@{
ViewBag.Title = "Delete";
}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
<div>
<h4>ProjectCharacterField</h4>
<hr/>
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.FieldName)
</dt>
... | mit | C# |
a3c5c4413a5a5dd2befaf91f4a5842704771a6d6 | update AbstractInterceptorAttribute | AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite | datavalidation/AspectCore.Extensions.DataValidation/DataValidationInterceptorAttribute.cs | datavalidation/AspectCore.Extensions.DataValidation/DataValidationInterceptorAttribute.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AspectCore.DynamicProxy;
namespace AspectCore.Extensions.DataValidation
{
public class DataValidationInterceptorAttribute : AbstractInterceptorAttribute
{
public override Task Invoke(AspectContext co... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AspectCore.DynamicProxy;
namespace AspectCore.Extensions.DataValidation
{
public class DataValidationInterceptorAttribute : AbstractInterceptorAttribute
{
public override Task Invoke(AspectContext co... | mit | C# |
3173addf26023d131ce93e00ced34cb76093ffaf | Clean up TypeConverterAttribute.cs | the-dwyer/corefx,ViktorHofer/corefx,ravimeda/corefx,parjong/corefx,krytarowski/corefx,axelheer/corefx,shimingsg/corefx,YoupHulsebos/corefx,BrennanConroy/corefx,nchikanov/corefx,manu-silicon/corefx,ericstj/corefx,rahku/corefx,alphonsekurian/corefx,twsouthwick/corefx,cydhaselton/corefx,wtgodbe/corefx,mazong1123/corefx,st... | src/System.ComponentModel.TypeConverter/src/System/ComponentModel/TypeConverterAttribute.cs | src/System.ComponentModel.TypeConverter/src/System/ComponentModel/TypeConverterAttribute.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.ComponentModel
{
/// <devdoc>
/// <para>
/// Specifies what type to use as a ... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Globalization;
namespace System.ComponentModel
{
/// <devdoc>
/// <para>Specifies what type... | mit | C# |
22b8bb57009bccfd053d2ed0f038bb432795d1d9 | Enable NRT | KevinRansom/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,sharwell/roslyn,sharwell/roslyn,weltkante/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,dotnet/roslyn,weltkante/roslyn,mavasani/roslyn,mavasani/roslyn,diryboy/roslyn,KevinRansom/roslyn,weltkante/roslyn,bartdesmet/roslyn,... | src/Analyzers/CSharp/Analyzers/SimplifyBooleanExpression/CSharpSimplifyConditionalDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/SimplifyBooleanExpression/CSharpSimplifyConditionalDiagnosticAnalyzer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.LanguageServices;
using Microsoft.CodeAnalysis.CSharp.S... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.LanguageServices;
using Microsoft.Co... | mit | C# |
7f13c3e0af7d5ec6d2964a4639e62a9579932cf0 | Update FormattingSelectedCharacters.cs | aspose-cells/Aspose.Cells-for-.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,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Formatting/FormattingSelectedCharacters.cs | Examples/CSharp/Formatting/FormattingSelectedCharacters.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting
{
public class FormattingSelectedCharacters
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = ... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting
{
public class FormattingSelectedCharacters
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Ut... | mit | C# |
e518ee4de8df60af9734aac8dbe715b1e9fd2236 | Downgrade GitLink to latest stable release | cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe | Cake.Recipe/Content/tools.cake | Cake.Recipe/Content/tools.cake | ///////////////////////////////////////////////////////////////////////////////
// TOOLS
///////////////////////////////////////////////////////////////////////////////
private const string CodecovTool = "#tool nuget:?package=codecov&version=1.0.1";
private const string CoverallsTool = "#tool nuget:?package=coveralls.... | ///////////////////////////////////////////////////////////////////////////////
// TOOLS
///////////////////////////////////////////////////////////////////////////////
private const string CodecovTool = "#tool nuget:?package=codecov&version=1.0.1";
private const string CoverallsTool = "#tool nuget:?package=coveralls.... | mit | C# |
a7f6d3da3b9ad6f2bad570d49470b7750d26bebd | Make SdlWindowHandle private | ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework/Platform/Sdl/Sdl2GraphicsBackend.cs | osu.Framework/Platform/Sdl/Sdl2GraphicsBackend.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 SDL2;
namespace osu.Framework.Platform.Sdl
{
internal class Sdl2GraphicsBackend : PassthroughGraphicsBackend
{
private IntPtr sdlWind... | // 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 SDL2;
namespace osu.Framework.Platform.Sdl
{
internal class Sdl2GraphicsBackend : PassthroughGraphicsBackend
{
internal IntPtr SdlWin... | mit | C# |
08c1a2d4a3885c0408786e9dfdf21fb21e641077 | remove -rc suffix | KevinJump/uSync,KevinJump/uSync,KevinJump/uSync | uSync8.BackOffice/BackOfficeConstants.cs | uSync8.BackOffice/BackOfficeConstants.cs | namespace uSync8.BackOffice
{
public static partial class uSyncBackOfficeConstants
{
public const string ReleaseSuffix = "";
public const string ConfigFile = "uSync8.config";
public static class Priorites
{
public const int USYNC_RESERVED_LOWER = 1000;
... | namespace uSync8.BackOffice
{
public static partial class uSyncBackOfficeConstants
{
public const string ReleaseSuffix = "-rc";
public const string ConfigFile = "uSync8.config";
public static class Priorites
{
public const int USYNC_RESERVED_LOWER = 1000;
... | mpl-2.0 | C# |
10348af50fc26b09ec12fab5f865cdab07dd4e7c | Add a foreach induction variable cast test | jonathanvdc/ecsc | tests/cs/foreach/Foreach.cs | tests/cs/foreach/Foreach.cs | using System;
using System.Collections.Generic;
public class Enumerator
{
public Enumerator() { }
public int Current { get; private set; } = 10;
public bool MoveNext()
{
Current--;
return Current > 0;
}
public void Dispose()
{
Console.WriteLine("Hi!");
}
}
pu... | using System;
using System.Collections.Generic;
public class Enumerator
{
public Enumerator() { }
public int Current { get; private set; } = 10;
public bool MoveNext()
{
Current--;
return Current > 0;
}
public void Dispose()
{
Console.WriteLine("Hi!");
}
}
pu... | mit | C# |
534ed81010699de441a01a2e3936331be0f8112f | Hide iOS home indicator | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework | osu.Framework.iOS/GameViewController.cs | osu.Framework.iOS/GameViewController.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 CoreGraphics;
using osu.Framework.Platform;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
{
priv... | // 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 CoreGraphics;
using osu.Framework.Platform;
using UIKit;
namespace osu.Framework.iOS
{
internal class GameViewController : UIViewController
{
priv... | mit | C# |
43843ac5586b2fb5e25292f80c4147e0ebab213c | Remove explicit dispose | EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,naoey/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,DrabWeb/osu,NeoAdonis/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,2yangk23/osu,peppy/osu-new,naoey/osu,DrabWeb/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,... | osu.Game/Tests/Visual/ScreenTestCase.cs | osu.Game/Tests/Visual/ScreenTestCase.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Game.Screens;
namespace osu.Game.Tests.Visual
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Game.Screens;
namespace osu.Game.Tests.Visual
{
/// <summary>
... | mit | C# |
7750f36f88295386eff67e0d16742e08de0b8d15 | Remove unnecessary suppressions. | GGG-KILLER/GUtils.NET | GUtils.Net/GlobalSuppressions.cs | GUtils.Net/GlobalSuppressions.cs | /*
* Copyright © 2019 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modi... | /*
* Copyright © 2019 GGG KILLER <gggkiller2@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the “Software”), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modi... | mit | C# |
f9660c475a039e1e66d9ab609ebe37f67483ddbf | Fix benchmarking double parsing | nickbabcock/Pfarah,nickbabcock/Pfarah | src/Pfarah.Benchmarks/ParseDouble.cs | src/Pfarah.Benchmarks/ParseDouble.cs | using BenchmarkDotNet.Attributes;
using System.Text;
using System.Globalization;
namespace Pfarah.Benchmarks
{
public class ParseDouble
{
private byte[] data;
private readonly NumberStyles numStyle = NumberStyles.AllowDecimalPoint | NumberStyles.AllowLeadingSign;
[Setup]
publi... | using BenchmarkDotNet.Attributes;
using System.Text;
using System.Globalization;
namespace Pfarah.Benchmarks
{
public class ParseDouble
{
private byte[] data;
private readonly NumberStyles numStyle = NumberStyles.AllowDecimalPoint | NumberStyles.AllowLeadingSign;
[Setup]
publi... | mit | C# |
12c8dc958dd4d3e3583d41baa2976efc3d4f0e90 | fix notifica duplicata in aggiungi chiamata | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationAddChiamataInCorso.cs | src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationAddChiamataInCorso.cs | //-----------------------------------------------------------------------
// <copyright file="NotificationAddChiamataInCorso.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | //-----------------------------------------------------------------------
// <copyright file="NotificationAddChiamataInCorso.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero Gene... | agpl-3.0 | C# |
2b20dc540407bc458944d52ab2b9cfb7aa3b98da | Disable xunit parallel test runner | michael-wolfenden/Cake.IIS,SharpeRAD/Cake.IIS | src/Tests/Properties/AssemblyInfo.cs | src/Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// 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: Asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Te... | mit | C# |
05e51d730ce23d4ffa3018c2856924bab90e60b5 | update tracing code | tbitowner/IdentityServer3,paulofoliveira/IdentityServer3,bestwpw/IdentityServer3,wondertrap/IdentityServer3,wondertrap/IdentityServer3,kouweizhong/IdentityServer3,chicoribas/IdentityServer3,olohmann/IdentityServer3,openbizgit/IdentityServer3,angelapper/IdentityServer3,mvalipour/IdentityServer3,tuyndv/IdentityServer3,bo... | source/Core/Configuration/Hosting/WebApiConfig.cs | source/Core/Configuration/Hosting/WebApiConfig.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 | C# |
198d518d487e12a361b6a076128889d369937263 | Set the Key when NameConstant gets created | mvbalaw/MvbaCore | src/MvbaCore/NamedConstant.cs | src/MvbaCore/NamedConstant.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using MvbaCore.Extensions;
namespace MvbaCore
{
[Serializable]
#pragma warning disable 661,660
public class NamedConstant<T> : INamedConstant
#pragma warning restore 661,660
where T : NamedConstant<T>
{
private static readonly Dictionary<... | using System;
using System.Collections.Generic;
using System.Reflection;
using MvbaCore.Extensions;
namespace MvbaCore
{
[Serializable]
#pragma warning disable 661,660
public class NamedConstant<T> : INamedConstant
#pragma warning restore 661,660
where T : NamedConstant<T>
{
private static readon... | mit | C# |
e9a25849337865a9194edc6dec7a77720079efdc | Update to next version | twenzel/Cake.MarkdownToPdf,twenzel/Cake.MarkdownToPdf,twenzel/Cake.MarkdownToPdf | src/Cake.MarkdownToPdf/Properties/AssemblyInfo.cs | src/Cake.MarkdownToPdf/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("Cak... | 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("Cak... | mit | C# |
0a295135f6f8446ecf8feec03e06718576a75df1 | Update StephanosConstantinou.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/StephanosConstantinou.cs | src/Firehose.Web/Authors/StephanosConstantinou.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class StephanosConstantinou : IAmACommunityMember
{
public string FirstName => "Stephanos";
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class StephanosConstantinou : IAmACommunityMember
{
public string FirstName => "Stephanos";
publ... | mit | C# |
5d536b4b187da8654117b9ef48b0c0b35136449d | Bump version to 0.14.1 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
e5b8c6080d31a74ef48bdde6e3dafc60118c4047 | Fix controller in winner menu | Nigh7Sh4de/shatterfall,Nigh7Sh4de/shatterfall | shatterfall/Assets/Scripts/selector2.cs | shatterfall/Assets/Scripts/selector2.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class selector2 : MonoBehaviour {
public static int option;
public List<GameObject> uiChoices;
public Text PlayerWin;
public static int winner;
public AudioClip selectSound;
private AudioSource source;... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class selector2 : MonoBehaviour {
public static int option;
public List<GameObject> uiChoices;
public Text PlayerWin;
public static int winner;
public AudioClip selectSound;
private AudioSource source;... | mit | C# |
0c98263edfb96f62df0270354153719e6083ab61 | Use quest IDs when looking up translations | KCV-Localisation/KanColleViewer,Yuubari/LegacyKCV | Grabacr07.KanColleWrapper/Models/Quest.cs | Grabacr07.KanColleWrapper/Models/Quest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grabacr07.KanColleWrapper.Models.Raw;
namespace Grabacr07.KanColleWrapper.Models
{
public class Quest : RawDataWrapper<kcsapi_quest>, IIdentifiable
{
public int Id
{
get { re... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grabacr07.KanColleWrapper.Models.Raw;
namespace Grabacr07.KanColleWrapper.Models
{
public class Quest : RawDataWrapper<kcsapi_quest>, IIdentifiable
{
public int Id
{
get { re... | mit | C# |
030e2d99d9a3dd06072005c401f7b65459574f2c | update version number to 0.2.1.0 | ChrisDeadman/KSPPartRemover | KSPPartRemover/Properties/AssemblyInfo.cs | KSPPartRemover/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("KSPPartRemover")]
[assembly: AssemblyDes... | 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("KSPPartRemover")]
[assembly: AssemblyDes... | mit | C# |
181bb7b6d651a8b8a113eed49b91614d7ab0033b | Add DefaultMetadataTableName | lecaillon/Evolve | test/Evolve.Test/TestContext.cs | test/Evolve.Test/TestContext.cs | using System.IO;
using System.Reflection;
namespace Evolve.Test
{
public static class TestContext
{
static TestContext()
{
ResourcesDirectory = Path.Combine(Path.GetDirectoryName(typeof(TestContext).GetTypeInfo().Assembly.Location), "Resources");
ValidMigrationScriptPat... | using System.IO;
using System.Reflection;
namespace Evolve.Test
{
public static class TestContext
{
static TestContext()
{
ResourcesDirectory = Path.Combine(Path.GetDirectoryName(typeof(TestContext).GetTypeInfo().Assembly.Location), "Resources");
ValidMigrationScriptPat... | mit | C# |
d83ad4381843e527a602e6a6d72e29075fd2f9ea | Update PowerShellEventTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Analytics/Telemetry/PowerShellEventTelemeter.cs | TIKSN.Framework.Core/Analytics/Telemetry/PowerShellEventTelemeter.cs | using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class PowerShellEventTelemeter : IEventTelemeter
{
private readonly Cmdlet cmdlet;
public PowerShellEventTelemeter(Cmdlet cmdlet)... | using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class PowerShellEventTelemeter : IEventTelemeter
{
private readonly Cmdlet cmdlet;
public PowerShellEventTelemeter(Cmdlet cmdlet)... | mit | C# |
9d4f53c97cf77c40bad613144fcc75809f1ab05a | Fix Typo in comment | Eclo/azure-iot-sdks,kevinledinh/azure-iot-sdks,kevinledinh/azure-iot-sdks,dominicbetts/azure-iot-sdks,damonbarry/azure-iot-sdks-1,kevinledinh/azure-iot-sdks,oriolpinol/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,dominicbetts/azure-iot-sdks,kevinledinh/azure-iot-sdks,damonbarry/azure-iot-sdks-1,oriolpinol/azu... | csharp/device/Microsoft.Azure.Devices.Client/AuthenticationScheme.cs | csharp/device/Microsoft.Azure.Devices.Client/AuthenticationScheme.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.Azure.Devices.Client
{
/// <summary>
/// Specifies the Authentication Scheme used by Device Client
/// </summary>
public enum Authe... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.Client
{
/// <summary>
/// Specifies the Authentication Scheme used by Device Clienty
/// </summary>
public enum Auth... | mit | C# |
38f3c277d84eae73a69c92d7b3b7831fcc06561b | Remove unused usings | onatm/Ecowa-Api | src/Ecowa.Api/App_Start/WebApiConfig.cs | src/Ecowa.Api/App_Start/WebApiConfig.cs | using Autofac;
using Autofuzz.Dependency;
using Ecowa.Business;
using Microsoft.WindowsAzure.Mobile.Service;
using System.Web.Http;
namespace Ecowa.Api
{
public static class WebApiConfig
{
public static void Register()
{
ConfigOptions options = new ConfigOptions();
Htt... | using Autofuzz.Dependency;
using Ecowa.Business;
using Microsoft.WindowsAzure.Mobile.Service;
using Microsoft.WindowsAzure.Mobile.Service.Config;
using System.Reflection;
using System.Web.Http;
using Autofac;
namespace Ecowa.Api
{
public static class WebApiConfig
{
public static void Register()
... | mit | C# |
9d2d03a306e70a05bee8c134eef93501680ef962 | handle exceptions of RunTimed | sepehr-laal/swag-sync | swag-sync/swag-sync/TaskUtils.cs | swag-sync/swag-sync/TaskUtils.cs | namespace swag
{
using System;
using System.Threading;
using System.Threading.Tasks;
public class TaskUtils
{
public static async Task<bool> RunTimed(Action action, TimeSpan timeout)
{
bool timedout = true;
try
{
if (action == nu... | namespace swag
{
using System;
using System.Threading;
using System.Threading.Tasks;
public class TaskUtils
{
public static async Task<bool> RunTimed(Action action, TimeSpan timeout)
{
bool timedout = false;
if (action == null)
return timedo... | mit | C# |
e33b9019f410a475f63bb2a1e2e5d8a9b9f7744a | Update DebugInfo.cs | gotmachine/MandatoryRCS | MandatoryRCS-Source/DebugInfo.cs | MandatoryRCS-Source/DebugInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace MandatoryRCS
{
class DebugInfo : PartModule
{
VesselModuleRotation vm;
ModuleTorqueController tc;
ModuleReactionWheel rw;
[KSPField(guiActive = true, guiName = "A... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace MandatoryRCS
{
class DebugInfo : PartModule
{
VesselModuleRotation vm;
ModuleTorqueController tc;
ModuleReactionWheel rw;
[KSPField(guiActive = true, guiName = "A... | unlicense | C# |
57932a991805af46266ac9148f09681bee71097c | Remove logging statement | depp/ggj15-hacker | Hacker/Assets/Hacker/Platform.cs | Hacker/Assets/Hacker/Platform.cs | using UnityEngine;
using System.Collections;
public class Platform : MonoBehaviour {
void Awake () {
SpriteRenderer sprite = GetComponent<SpriteRenderer>();
Vector2 ssize = sprite.bounds.size;
Vector2 sscale = transform.localScale;
ssize.x /= sscale.x;
ssize.y /= sscale.y;
GameObject prefab = new GameObj... | using UnityEngine;
using System.Collections;
public class Platform : MonoBehaviour {
void Awake () {
SpriteRenderer sprite = GetComponent<SpriteRenderer>();
Vector2 ssize = sprite.bounds.size;
Vector2 sscale = transform.localScale;
ssize.x /= sscale.x;
ssize.y /= sscale.y;
GameObject prefab = new GameObj... | bsd-2-clause | C# |
740d7eb7ef1ab7f2ac049579bba2fb52414f9e72 | Make broken pipe classifier cover more scenarios. (#1090) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/MavenBrokenPipeFailureClassifier.cs | tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/MavenBrokenPipeFailureClassifier.cs | using Azure.Sdk.Tools.PipelineWitness.Entities.AzurePipelines;
using Microsoft.TeamFoundation.Build.WebApi;
using Microsoft.VisualStudio.Services.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Azure.Sdk.Tools.PipelineWitness.Servic... | using Azure.Sdk.Tools.PipelineWitness.Entities.AzurePipelines;
using Microsoft.TeamFoundation.Build.WebApi;
using Microsoft.VisualStudio.Services.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Azure.Sdk.Tools.PipelineWitness.Servic... | mit | C# |
ca008e2d514dd02df4ab0c7a6f769b60e957f50c | add typed ShouldEqual to assert extentions | AMSadek/libgit2sharp,vorou/libgit2sharp,Zoxive/libgit2sharp,xoofx/libgit2sharp,Zoxive/libgit2sharp,GeertvanHorrik/libgit2sharp,jamill/libgit2sharp,OidaTiftla/libgit2sharp,jorgeamado/libgit2sharp,shana/libgit2sharp,psawey/libgit2sharp,sushihangover/libgit2sharp,dlsteuer/libgit2sharp,AArnott/libgit2sharp,carlosmn/libgit2... | LibGit2Sharp.Tests/TestHelpers/AssertExtensions.cs | LibGit2Sharp.Tests/TestHelpers/AssertExtensions.cs | #region Copyright (c) 2011 LibGit2Sharp committers
// The MIT License
//
// Copyright (c) 2011 LibGit2Sharp committers
//
// 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 withou... | #region Copyright (c) 2011 LibGit2Sharp committers
// The MIT License
//
// Copyright (c) 2011 LibGit2Sharp committers
//
// 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 withou... | mit | C# |
2975ea9210a7e329a2ae35dfb7f0ef57a283fd74 | Adjust repeat/tail fade in to match stable closer | UselessToucan/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu | osu.Game.Rulesets.Osu/Objects/SliderEndCircle.cs | osu.Game.Rulesets.Osu/Objects/SliderEndCircle.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects
{
/// <summary>
/// A h... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Objects
{
/// <summar... | mit | C# |
0fc0aac7195b9678c3c274d32b34cc0bf62b0433 | Add update method to TodoRepository | OkraFramework/Okra-Todo | Okra-Todo/Data/TodoRepository.cs | Okra-Todo/Data/TodoRepository.cs | using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Okra.TodoSample.Data
{
[Export(typeof(ITodoRepository))]
public class TodoRepository : ITodoRepository
{
private IList<TodoItem> todoItems;
... | using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Okra.TodoSample.Data
{
[Export(typeof(ITodoRepository))]
public class TodoRepository : ITodoRepository
{
private IList<TodoItem> todoItems;
... | apache-2.0 | C# |
2d5e26cc6e42e2687dbe9161e7c72028d19d1033 | Update Program.cs | fredatgithub/Crypto | SearchAllCombinaisons/Program.cs | SearchAllCombinaisons/Program.cs | using System;
namespace SearchAllCombinaisons
{
public class Program
{
private static readonly char[] PossibleCharacters = {'0','1','2','3','4','5','6','7','8','9',
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',
'A','B','C','D','E','F','G','... | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | mit | C# |
ee505ac0f1d337007e2c55d7b4c7c004a2ebf1d9 | Mark assembly as CLSCompliant | felipebz/ndapi | Ndapi/Properties/AssemblyInfo.cs | Ndapi/Properties/AssemblyInfo.cs | using System;
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("Ndapi")]
[assembly: Assembl... | 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("Nd... | mit | C# |
84918ac50c6e43dd8f6c3ee303d2fe4c966f3a3e | Update to version 1.3.4 (#94) | Microsoft/Microsoft.IO.RecyclableMemoryStream,maxwellb/Microsoft.IO.RecyclableMemoryStream | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
e8b2a2fde48ac2dbb22c175dd7d0875aa38fb913 | Check price for 0 | xobed/RohlikAPI,notdev/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI | RohlikAPI/Helpers/PriceParser.cs | RohlikAPI/Helpers/PriceParser.cs | using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace RohlikAPI.Helpers
{
public class PriceParser
{
public double ParsePrice(string priceString)
{
var priceStringWithoutSpaces = priceString.Replace(" ", "");
var cleanPriceString = Re... | using System;
using System.Globalization;
using System.Text.RegularExpressions;
namespace RohlikAPI.Helpers
{
public class PriceParser
{
public double ParsePrice(string priceString)
{
var priceStringWithoutSpaces = priceString.Replace(" ", "");
var cleanPriceString = Re... | mit | C# |
3e848221458a1f864ae86c90086ab11602709d03 | Remove overlapped delegate allocation | dotnet-bot/corefx,rahku/corefx,axelheer/corefx,cydhaselton/corefx,DnlHarvey/corefx,krk/corefx,Jiayili1/corefx,zhenlan/corefx,mmitche/corefx,nbarbettini/corefx,gkhanna79/corefx,rjxby/corefx,gkhanna79/corefx,nchikanov/corefx,weltkante/corefx,Ermiar/corefx,parjong/corefx,krytarowski/corefx,stone-li/corefx,the-dwyer/corefx... | src/System.Threading.Overlapped/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs | src/System.Threading.Overlapped/src/System/Threading/ClrThreadPoolBoundHandleOverlapped.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Threading
{
/// <summary>
/// Overlapped subclass adding data needed by ThreadPoolBoundHand... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Threading
{
/// <summary>
/// Overlapped subclass adding data needed by ThreadPoolBoundHand... | mit | C# |
8f4ba49613769a9d0fda109598333c30633615b7 | Fix a test due to new public type | joelverhagen/TorSharp | test/TorSharp.Tests/PublicTypesTests.cs | test/TorSharp.Tests/PublicTypesTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace UnsharedNamespace
{
public class PublicTypesTests
{
[Fact]
public void TheSetOfPublicTypesIsExpected()
{
var expectedTypes = new List<Type>()
{
typeof(Knapc... | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace UnsharedNamespace
{
public class PublicTypesTests
{
[Fact]
public void TheSetOfPublicTypesIsExpected()
{
var expectedTypes = new List<Type>()
{
typeof(Knapc... | mit | C# |
f4870c4678112638b693e59872ae936dc2989ae7 | Update QuoteRepository.cs | halitalf/NadekoMods,PravEF/EFNadekoBot,WoodenGlaze/NadekoBot,Midnight-Myth/Mitternacht-NEW,Taknok/NadekoBot,ShadowNoire/NadekoBot,Nielk1/NadekoBot,Blacnova/NadekoBot,gfrewqpoiu/NadekoBot,Midnight-Myth/Mitternacht-NEW,ScarletKuro/NadekoBot,Midnight-Myth/Mitternacht-NEW,miraai/NadekoBot,shikhir-arora/NadekoBot,Midnight-M... | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | mit | C# |
62be3861971382632dea63eddb5adefc17a7974d | Fix issue with precision in assertions | SkillsFundingAgency/das-paymentsacceptancetesting | src/SFA.DAS.Payments.AcceptanceTests/Assertions/TransactionTypeRules/TransactionTypeRuleBase.cs | src/SFA.DAS.Payments.AcceptanceTests/Assertions/TransactionTypeRules/TransactionTypeRuleBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using SFA.DAS.Payments.AcceptanceTests.Contexts;
using SFA.DAS.Payments.AcceptanceTests.ReferenceDataModels;
using SFA.DAS.Payments.AcceptanceTests.ResultsDataModels;
namespace SFA.DAS.Payments.AcceptanceTests.Assertions.TransactionTypeRules
{... | using System;
using System.Collections.Generic;
using System.Linq;
using SFA.DAS.Payments.AcceptanceTests.Contexts;
using SFA.DAS.Payments.AcceptanceTests.ReferenceDataModels;
using SFA.DAS.Payments.AcceptanceTests.ResultsDataModels;
namespace SFA.DAS.Payments.AcceptanceTests.Assertions.TransactionTypeRules
{... | mit | C# |
43fd62ddefd28f60a41021c9f0b87e833f51fd88 | add IfTest | sdcb/sdmap | sdmap/test/sdmap.test/DictionaryTest.cs | sdmap/test/sdmap.test/DictionaryTest.cs | using sdmap.Compiler;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test
{
public class DictionaryTest
{
[Fact]
public void MacroTest()
{
var rt = ne... | using sdmap.Compiler;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test
{
public class DictionaryTest
{
[Fact]
public void Dictionary()
{
var rt = n... | mit | C# |
d83ce8ea0518379b4433662ee6fc8b83af1e68ab | write exceptions on migration error | mehrandvd/Tralus,mehrandvd/Tralus | Framework/Source/Tralus.Framework.PowerShell/Migration/Cmdlets/UpdateTralusDatabaseCmdlet.cs | Framework/Source/Tralus.Framework.PowerShell/Migration/Cmdlets/UpdateTralusDatabaseCmdlet.cs | using System;
using System.Linq;
using System.Management.Automation;
namespace Tralus.Framework.PowerShell.Migration
{
[Cmdlet(VerbsData.Update, "TralusDatabase", SupportsShouldProcess = true)]
public class UpdateTralusDatabaseCmdlet : TralusMigrationCmdletBase
{
protected override void ProcessRec... | using System.Linq;
using System.Management.Automation;
namespace Tralus.Framework.PowerShell.Migration
{
[Cmdlet(VerbsData.Update, "TralusDatabase", SupportsShouldProcess = true)]
public class UpdateTralusDatabaseCmdlet : TralusMigrationCmdletBase
{
protected override void ProcessRecord()
... | apache-2.0 | C# |
5696d2a944bbea61e124ec2097bb3d92ee263c91 | Use int instead of uint in BCRYPT_RSAKEY_BLOB | AArnott/pinvoke,jmelosegui/pinvoke,vbfox/pinvoke | src/BCrypt/BCrypt+BCRYPT_RSAKEY_BLOB.cs | src/BCrypt/BCrypt+BCRYPT_RSAKEY_BLOB.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
/// <content>
/// Contains the <see cref="BCRYPT_RSAKEY_BLOB"/> ne... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
/// <content>
/// Contains the <see cref="BCRYPT_RSAKEY_BLOB"/> ne... | mit | C# |
84bfaac5c4ba427105ef7040357d8cf41c2ba9ee | Fix sender UpdateChiamataInCorso | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationUpDateChiamataInCorso.cs | src/backend/SO115App.SignalR/Sender/GestioneChiamateInCorso/NotificationUpDateChiamataInCorso.cs | //-----------------------------------------------------------------------
// <copyright file="NotificationUpDateChiamataInCorso.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero G... | //-----------------------------------------------------------------------
// <copyright file="NotificationUpDateChiamataInCorso.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero G... | agpl-3.0 | C# |
170be79da78f8427ee1b932314d208b6584f3313 | Fix `SynchronizationContext` to match correctly implementation structure | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework/Threading/SchedulerSynchronizationContext.cs | osu.Framework/Threading/SchedulerSynchronizationContext.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.Diagnostics;
using System.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts a... | // 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.Threading;
#nullable enable
namespace osu.Framework.Threading
{
/// <summary>
/// A synchronisation context which posts all continuatiuons to a sch... | mit | C# |
f42f9cffe34a57b516c298feb9e5a52ee548f96d | Make HitCirclePlacementMask directly modify hitcircle position | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,DrabWeb/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,naoey/osu,UselessToucan/osu,smoogip... | osu.Game.Rulesets.Osu/Edit/Masks/HitCirclePlacementMask.cs | osu.Game.Rulesets.Osu/Edit/Masks/HitCirclePlacementMask.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 osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Objects;
namespace osu.Game.Rulesets.Osu.Edit.... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Objects;
namespace osu.Game.Rulesets.Osu.Edit.... | mit | C# |
72dbeaec1632ce6a94c71bc82141d447a1f19d4f | Fix the comment | johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,ppy/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,smo... | osu.Game/Online/API/Requests/Responses/APIKudosuHistory.cs | osu.Game/Online/API/Requests/Responses/APIKudosuHistory.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 Humanizer;
using Newtonsoft.Json;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIKudosuHistory
{
[JsonProperty("... | // 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 Humanizer;
using Newtonsoft.Json;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIKudosuHistory
{
[JsonProperty("... | mit | C# |
9854b9f7d07790e45bee23d3885f1119d7a34131 | add two hubs dd | mequanta/MsoServices,mequanta/MsoServices,mequanta/MsoServices | Mso.SignalR/SmartQuantHub.cs | Mso.SignalR/SmartQuantHub.cs | using System;
using Microsoft.AspNet.SignalR;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR.Hubs;
namespace Mso.SignalR.Hubs
{
public class SmartQuantHub : Hub<ISmartQuantService>
{
public async Task<string> GetProviderListAsync()
{
throw new NotImplementedException(... | using System;
using Microsoft.AspNet.SignalR;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR.Hubs;
namespace Mso.SignalR.Hubs
{
public class SmartQuantHub : Hub<ISmartQuantService>
{
}
}
| apache-2.0 | C# |
2964d6b5b9ce9d76b818880be7b47c1dea848c0b | Add optional dotnet new arguments | RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates | Tests/Boilerplate.Templates.Test/Framework/TempDirectoryExtensions.cs | Tests/Boilerplate.Templates.Test/Framework/TempDirectoryExtensions.cs | namespace Boilerplate.Templates.Test
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
public static class TempDirectoryExtensions
{
public static async Task<Project> DotnetNew(
this TempDirectory tempDire... | namespace Boilerplate.Templates.Test
{
using System;
using System.IO;
using System.Threading.Tasks;
public static class TempDirectoryExtensions
{
public static async Task<Project> DotnetNew(
this TempDirectory tempDirectory,
string templateName,
string na... | mit | C# |
74ca780c7996b7acd910f390fee631fade5f2355 | Fix NRE when GridAction does not target a CCNodeGrid. Also, continue issuing error to log for just a little while longer. | haithemaraissia/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,haithemaraissia/CocosSharp | src/actions/action_grid/CCGridAction.cs | src/actions/action_grid/CCGridAction.cs | using System;
using System.Diagnostics;
namespace CocosSharp
{
public class CCGridAction : CCAmplitudeAction
{
protected internal CCGridSize GridSize { get; private set; }
#region Constructors
public CCGridAction (float duration) : base (duration)
{
}
public CCGridAction (float duration, CCGridSize g... | using System;
using System.Diagnostics;
namespace CocosSharp
{
public class CCGridAction : CCAmplitudeAction
{
protected internal CCGridSize GridSize { get; private set; }
#region Constructors
public CCGridAction (float duration) : base (duration)
{
}
public CCGridAction (float duration, CCGridSize g... | mit | C# |
b9b8d3d655dafb6417172838970c6e41ed0eb1e5 | Add tutorials to blog categories. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/BlogCategory/BlogCategoriesRepository.cs | src/CompetitionPlatform/Data/BlogCategory/BlogCategoriesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Data.BlogCategory
{
public class BlogCategoriesRepository : IBlogCategoriesRepository
{
public List<string> GetCategories()
{
return new List<string>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Data.BlogCategory
{
public class BlogCategoriesRepository : IBlogCategoriesRepository
{
public List<string> GetCategories()
{
return new List<string>
... | mit | C# |
6e45d0f0296e31aedf7d8ca7386e0cd41fa7cb14 | Change object to dynamic | watson-developer-cloud/dotnet-standard-sdk,watson-developer-cloud/dotnet-standard-sdk | src/IBM.WatsonDeveloperCloud.Conversation/v1/Model/MessageResponse.cs | src/IBM.WatsonDeveloperCloud.Conversation/v1/Model/MessageResponse.cs | /**
* Copyright 2017 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /**
* Copyright 2017 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 | C# |
291fd839896adfd3761e4887cc4e5775c777c6eb | add default constructor | psyun/HDO2O-RestfulAPI | HDO2O.DTO/BarbershopDTO.cs | HDO2O.DTO/BarbershopDTO.cs | using HDO2O.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HDO2O.DTO
{
public class BarbershopDTO : BaseDTO<Barbershop>
{
public string BusinessLicense { get; set; }
public int Id { get; set; }
publi... | using HDO2O.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HDO2O.DTO
{
public class BarbershopDTO : BaseDTO<Barbershop>
{
public string BusinessLicense { get; set; }
public Guid Id { get; set; }
publ... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.