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 |
|---|---|---|---|---|---|---|---|---|
b8e24e93bb189eac7f4fc58d7e90512c4ad69720 | Add (intentionally) broken Lazy ORM Employee service | hgcummings/DataAccessExamples,hgcummings/DataAccessExamples | DataAccessExamples.Core/Services/Employee/LazyOrmEmployeeService.cs | DataAccessExamples.Core/Services/Employee/LazyOrmEmployeeService.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using DataAccessExamples.Core.Actions;
using DataAccessExamples.Core.Data;
using DataAccessExamples.Core.ViewModels;
namespace DataAccessExamples.C... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessExamples.Core.Actions;
using DataAccessExamples.Core.ViewModels;
namespace DataAccessExamples.Core.Services.Employee
{
public class LazyOrmEmployeeService : IEmployeeServic... | cc0-1.0 | C# |
8c735233be7e2aa5372d597b8a5e3a1e70ed10fe | Update HomeController.cs | UmbrellaInc/FalconSharp,UmbrellaInc/FalconSharp | src/FalconSharp.TestHarness/Controllers/HomeController.cs | src/FalconSharp.TestHarness/Controllers/HomeController.cs | using System.Linq;
using System.Net;
using System.Web.Mvc;
namespace FalconSharp.TestHarness.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
var fiddlerProxy = new WebProxy("127.0.0.1", 8888);
//var falcon = new FalconClient("api_key");
var falc... | using System.Linq;
using System.Net;
using System.Web.Mvc;
namespace FalconSharp.TestHarness.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
var fiddlerProxy = new WebProxy("127.0.0.1", 8888);
//var falcon = new FalconClient("NLcbUTN3IAsKH2X89Dh5NCU2XZX_SXo... | mit | C# |
08970b8e0bd7c7f7328fb0317c6aa13fbc464e69 | set these name betterlabels to messagebox font to be more visible | andrew-polk/libpalaso,chrisvire/libpalaso,ermshiperete/libpalaso,darcywong00/libpalaso,chrisvire/libpalaso,andrew-polk/libpalaso,marksvc/libpalaso,ddaspit/libpalaso,hatton/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,... | PalasoUIWindowsForms/WritingSystems/WritingSystemSetupView.cs | PalasoUIWindowsForms/WritingSystems/WritingSystemSetupView.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Palaso.UI.WindowsForms.WritingSystems.WSTree;
using Palaso.WritingSystems;
namespace Palaso.UI.WindowsForms.WritingSystems
{
public partial class W... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Palaso.UI.WindowsForms.WritingSystems.WSTree;
using Palaso.WritingSystems;
namespace Palaso.UI.WindowsForms.WritingSystems
{
public partial class W... | mit | C# |
ea419ce94d42ff06ce3cd5ce53f58b2df4884554 | Update AssemblyInfo.cs | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.Framework.Providers.AppleseedSqlTableProfileProvider/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.Framework.Providers.AppleseedSqlTableProfileProvider/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("Sq... | 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("Sq... | apache-2.0 | C# |
638ebba9c3052a5f34d1051531b84f585eb5fe4a | Update garbage spewing client to use test doubles namespace. | jagrem/msg | src/Msg.Acceptance.Tests/TestDoubles/GarbageSpewingClient.cs | src/Msg.Acceptance.Tests/TestDoubles/GarbageSpewingClient.cs | using System.Threading.Tasks;
using Version = Msg.Domain.Version;
using System;
using System.Net.Sockets;
using System.Net;
namespace Msg.Acceptance.Tests.TestDoubles
{
class GarbageSpewingClient
{
TcpClient client;
public async Task<byte[]> ConnectAsync() {
client = new TcpClient ();
await client.Connect... | using System.Threading.Tasks;
using Version = Msg.Domain.Version;
using System;
using System.Net.Sockets;
using System.Net;
namespace Msg.Acceptance.Tests
{
class GarbageSpewingClient
{
TcpClient client;
public async Task<byte[]> ConnectAsync() {
client = new TcpClient ();
await client.ConnectAsync (IPAd... | apache-2.0 | C# |
982a108d2e85ff67cc195f136fcc5d4e5a4d2c1a | Add isDisabled to ApplicationLanguage ctor. | abdllhbyrktr/module-zero,aspnetboilerplate/module-zero | src/Abp.Zero.Common/Localization/ApplicationLanguage.cs | src/Abp.Zero.Common/Localization/ApplicationLanguage.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
namespace Abp.Localization
{
/// <summary>
/// Represents a language of the application.
/// </summary>
[Serializable]
[Tabl... | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
namespace Abp.Localization
{
/// <summary>
/// Represents a language of the application.
/// </summary>
[Serializable]
[Tabl... | mit | C# |
a7ffa8e95c1906276cd035c16383466c2eacb8a3 | Remove parent attribute in FloorSwitch | Steguer/MTLGJ,Steguer/MTLGJ | Assets/Scripts/FloorSwitch.cs | Assets/Scripts/FloorSwitch.cs | using UnityEngine;
using System.Collections;
public class FloorSwitch : Switch {
public bool state = false;
public Sprite sprite1;
public Sprite sprite2;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter2D(Collider... | using UnityEngine;
using System.Collections;
public class FloorSwitch : Switch {
public bool state = false;
public SwitchEvent parent;
public Sprite sprite1;
public Sprite sprite2;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
... | mit | C# |
cd0834beedd0c2aaa4cec8ecdff2118f23180dfb | Convert line endings to CR (unix) in both samples before comparing. | Stift/SlimJim,themotleyfool/SlimJim | src/SlimJim.Test/Infrastructure/SlnFileRendererTests.cs | src/SlimJim.Test/Infrastructure/SlnFileRendererTests.cs | using NUnit.Framework;
using SlimJim.Infrastructure;
using SlimJim.Model;
using SlimJim.Test.Model;
using SlimJim.Test.SampleFiles;
namespace SlimJim.Test.Infrastructure
{
[TestFixture]
public class SlnFileRendererTests
{
private Sln solution;
private SlnFileRenderer renderer;
private ProjectPrototypes projec... | using NUnit.Framework;
using SlimJim.Infrastructure;
using SlimJim.Model;
using SlimJim.Test.Model;
using SlimJim.Test.SampleFiles;
namespace SlimJim.Test.Infrastructure
{
[TestFixture]
public class SlnFileRendererTests
{
private Sln solution;
private SlnFileRenderer renderer;
private ProjectPrototypes projec... | mit | C# |
ba268d4648f12bb78df3272c177aa186c5f63b6a | make fluent. because why not | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/DashenConfiguration.cs | Dashen/DashenConfiguration.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Net.Http;
using Dashen.Endpoints.Static.ContentProviders;
using Dashen.Infrastructure;
namespace Dashen
{
public class DashenConfiguration
{
public Uri ListenOn { get; set; }
public Color HighlightColor { get; s... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Net.Http;
using Dashen.Endpoints.Static.ContentProviders;
using Dashen.Infrastructure;
namespace Dashen
{
public class DashenConfiguration
{
public Uri ListenOn { get; set; }
public Color HighlightColor { get; s... | lgpl-2.1 | C# |
49f4aa6a6a916ed4f7803e96f04fbed2f35b56ff | Update Sampling.cs | matt77hias/cs-smallpt | cs-smallpt/core/Sampling.cs | cs-smallpt/core/Sampling.cs | using System;
namespace cs_smallpt {
public static class Sampling {
public static Vector3 UniformSampleOnHemisphere(double u1, double u2) {
double sin_theta = Math.Sqrt(Math.Max(0.0, 1.0 - u1 * u1));
double phi = 2.0 * MathUtils.M_PI * u2;
return new Vector3(Math.Cos(... | using System;
namespace cs_smallpt {
public class Sampling {
public static Vector3 UniformSampleOnHemisphere(double u1, double u2) {
double sin_theta = Math.Sqrt(Math.Max(0.0, 1.0 - u1 * u1));
double phi = 2.0 * MathUtils.M_PI * u2;
return new Vector3(Math.Cos(phi) * ... | mit | C# |
3af4b83c2d7c5090f3e95063bc6ae5b293abc7a6 | Make benchmark more accurate | iarovyi/EasyHash | EasyHash.Benchmark/Program.cs | EasyHash.Benchmark/Program.cs | namespace EasyHash.Benchmark
{
using System;
using System.Diagnostics;
using System.Threading;
using FizzWare.NBuilder;
using static System.Console;
using static Helpers.ConsoleHelper;
class Program
{
private const int Times = 1000000;
static void Main(string[] args)
... | namespace EasyHash.Benchmark
{
using System;
using System.Diagnostics;
using FizzWare.NBuilder;
using static System.Console;
using static Helpers.ConsoleHelper;
class Program
{
private const int Times = 1000000;
static void Main(string[] args)
{
try
... | mit | C# |
a4ba4106fa3eab31f4dca561a1e220775923c758 | Comment update | JScott/cardboard-controls,harschell/cardboard-controls,zodsoft/cardboard-controls | ExampleCharacterController.cs | ExampleCharacterController.cs | using UnityEngine;
using System.Collections;
public class ExampleCharacterController : MonoBehaviour {
private static CardboardInput cardboard;
private Vector3 moveDirection = Vector3.zero;
private CharacterController controller;
void Start () {
controller = GetComponent<CharacterController>();
/*
... | using UnityEngine;
using System.Collections;
public class ExampleCharacterController : MonoBehaviour {
private static CardboardInput cardboard;
private Vector3 moveDirection = Vector3.zero;
private CharacterController controller;
void Start () {
controller = GetComponent<CharacterController>();
/*
... | mit | C# |
545fa93e4829dc260f966095518c0a8ec80b8396 | Update to use correct ISO code | yadyn/JabbR,yadyn/JabbR,M-Zuber/JabbR,JabbR/JabbR,yadyn/JabbR,M-Zuber/JabbR,JabbR/JabbR | JabbR/Commands/FlagCommand.cs | JabbR/Commands/FlagCommand.cs | using System;
using JabbR.Models;
using JabbR.Services;
namespace JabbR.Commands
{
[Command("flag", "Flag_CommandInfo", "Iso 3166-2 Code", "user")]
public class FlagCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser, strin... | using System;
using JabbR.Models;
using JabbR.Services;
namespace JabbR.Commands
{
[Command("flag", "Flag_CommandInfo", "Iso 3366-2 Code", "user")]
public class FlagCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser, strin... | mit | C# |
703239916bf3b76a90dd356db8eae11bfdece7f0 | add cancellations | alexbabkin/ReCaster | MCatcher/IMulticastCatcher.cs | MCatcher/IMulticastCatcher.cs | using System.Threading;
namespace Recaster.MCatcher
{
interface IMulticastCatcher
{
void Start();
void Stop();
}
}
| using System.Threading;
namespace Recaster.MCatcher
{
interface IMulticastCatcher
{
void Start(CancellationToken ct);
void Stop();
}
}
| mit | C# |
9ecc89bb88717fb957d93faea3c653b21303b6fa | fix build bug | qin-nz/kanbanflow-csharp-sdk | KanbanFlow.CSharpSDK/KanbanFlow.CSharpSDK/KanbanFlowClient.cs | KanbanFlow.CSharpSDK/KanbanFlow.CSharpSDK/KanbanFlowClient.cs | using KanbanFlow.CSharpSDK.Internal;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace KanbanFlow.CSharpSDK
{
public class KanbanFlowClient : HttpClient
{
public KanbanFlowClient(stri... | using KanbanFlow.CSharpSDK.Internal;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace KanbanFlow.CSharpSDK
{
public class KanbanFlowClient : HttpClient
{
public KanbanFlowClient(stri... | mit | C# |
6277d032adec3dbe0b08b85502ae5da6100d9226 | remove blank line | DrabWeb/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EV... | osu.Framework/Input/IDontLogKeyPresses.cs | osu.Framework/Input/IDontLogKeyPresses.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.
namespace osu.Framework.Input
{
/// <summary>
/// Marker interface which allows to suppress logging of keyboard input.
/// </summary>
public interface IDo... | // 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.
namespace osu.Framework.Input
{
/// <summary>
/// Marker interface which allows to suppress logging of keyboard input.
/// </summary>
public interface IDo... | mit | C# |
73ede914999efb21429cc93399e281e7d4ddbd2f | Implement GetNextRawLine() in class InstructionInterpreter | vejuhust/msft-scooter | ScooterController/ScooterController/InstructionInterpreter.cs | ScooterController/ScooterController/InstructionInterpreter.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace ScooterController
{
class InstructionInterpreter
{
private readonly List<string> instructionRawLines;
private int counterRawLine = 0;
public InstructionInterpreter(string filename = "instruction.txt")
... | using System.Collections.Generic;
using System.IO;
namespace ScooterController
{
class InstructionInterpreter
{
private readonly List<string> instructionRawLines;
public InstructionInterpreter(string filename = "instruction.txt")
{
using (var file = new StreamReader(filena... | mit | C# |
15b321ac07e017f9344ba964dc44c7302621f2d4 | Add get best id method for user images. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUserImages.cs | Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUserImages.cs | namespace TraktApiSharp.Objects.Get.Users
{
using Basic;
using Newtonsoft.Json;
/// <summary>A collection of images and image sets for a Trakt user.</summary>
public class TraktUserImages
{
/// <summary>Gets or sets the avatar image.</summary>
[JsonProperty(PropertyName = "avatar")... | namespace TraktApiSharp.Objects.Get.Users
{
using Basic;
using Newtonsoft.Json;
public class TraktUserImages
{
[JsonProperty(PropertyName = "avatar")]
public TraktImage Avatar { get; set; }
}
}
| mit | C# |
c5dfca606d316027cd1a6d267d4d872c68f62b42 | Add binding mode and comment. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml.cs | WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateVisible... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateVisibleProperty =
AvaloniaProper... | mit | C# |
a339c5ea87c90b5c9017724db7d6470da2647271 | Fix CodeFactor | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Backend/Models/Responses/CcjRunningRoundState.cs | WalletWasabi/Backend/Models/Responses/CcjRunningRoundState.cs | using NBitcoin;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.JsonConverters;
using WalletWasabi.Models.ChaumianCoinJoin;
namespace WalletWasabi.Backend.Models.Responses
{
public class CcjRunningRoundState
{
[JsonConve... | using NBitcoin;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using WalletWasabi.JsonConverters;
using WalletWasabi.Models.ChaumianCoinJoin;
namespace WalletWasabi.Backend.Models.Responses
{
public class CcjRunningRoundState
{
[JsonConve... | mit | C# |
c7b80062c3022cfe3b735b5ed5d07322781a002c | send list of all active users to new user on register | pako1337/Arena,pako1337/Arena | Arena/Hubs/FightArenaHub.cs | Arena/Hubs/FightArenaHub.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
using System.Collections.Concurrent;
namespace Arena.Hubs
{
public class FightArenaHub : Hub
{
private static ConcurrentBag<string> _users = new ConcurrentBag<string>();
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;
namespace Arena.Hubs
{
public class FightArenaHub : Hub
{
public void Register()
{
Clients.AllExcept(Context.ConnectionId).NewUser(Context.ConnectionId);
}
... | mit | C# |
ab86ab8ed78d783f247476c0473008fc635f0daa | Use Length property | rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSGL.Vulkan/ShaderModule.cs | CSGL.Vulkan/ShaderModule.cs | using System;
using System.Collections.Generic;
using System.IO;
using CSGL.Vulkan.Unmanaged;
namespace CSGL.Vulkan {
public class ShaderModuleCreateInfo {
public byte[] data;
}
public class ShaderModule : IDisposable, INative<VkShaderModule> {
VkShaderModule shaderModule;
bool d... | using System;
using System.Collections.Generic;
using System.IO;
using CSGL.Vulkan.Unmanaged;
namespace CSGL.Vulkan {
public class ShaderModuleCreateInfo {
public byte[] data;
}
public class ShaderModule : IDisposable, INative<VkShaderModule> {
VkShaderModule shaderModule;
bool d... | mit | C# |
e328a4b3199ed4bd27c9c6f7c81f36d4936a62fc | Initialize FNLog at launch | freenet/wintray,freenet/wintray | Program.cs | Program.cs | using System;
using System.Windows.Forms;
namespace FreenetTray
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
FNLog.Initialize();
Application.EnableVi... | using System;
using System.Windows.Forms;
namespace FreenetTray
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Applica... | mit | C# |
de25085901afc409189d8cf3b0c3c9d234c68cbf | Update FirstFactorial.cs | michaeljwebb/Algorithm-Practice | Coderbyte/FirstFactorial.cs | Coderbyte/FirstFactorial.cs | //Take the num parameter being passed and return the factorial of it.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class MainClass
{
public static int FirstFactorial(int num)
{
int fact = num;
for (int i = num - 1; i >= 1; i--)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class MainClass
{
public static int FirstFactorial(int num)
{
int fact = num;
for (int i = num - 1; i >= 1; i--)
{
fact = fact * i;
num = fa... | mit | C# |
d8868dd2792b5b1760177ee04a8c24599b2bc354 | Remove title and date from product item page | shengoo/umb,shengoo/umb | Site/Views/ProductItem.cshtml | Site/Views/ProductItem.cshtml | @using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "SW_Master.cshtml";
}
<div class="clearfix">
@Html.Partial("LeftNavigation",@Model.Content)
<div class="" style="float: left;width: 75%;padding-left: 30px;">
@*<h3>
@Model.Content.GetTit... | @using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "SW_Master.cshtml";
}
<div class="clearfix">
@Html.Partial("LeftNavigation",@Model.Content)
<div class="" style="float: left;width: 75%;padding-left: 30px;">
<h3>
@Model.Content.GetTitle... | mit | C# |
6db2ad34c97299b580418dc300e7e5ec056175a9 | Fix for Android StackOverflow problem when ShowNumberOfWeek is enabled | rebeccaXam/XamForms.Controls.Calendar | XamForms.Controls.Calendar.Droid/CalendarButtonRenderer.cs | XamForms.Controls.Calendar.Droid/CalendarButtonRenderer.cs | using Android.Graphics.Drawables;
using XamForms.Controls.Droid;
using Xamarin.Forms.Platform.Android;
using XamForms.Controls;
using Android.Runtime;
using System;
[assembly: Xamarin.Forms.ExportRenderer(typeof(CalendarButton), typeof(CalendarButtonRenderer))]
namespace XamForms.Controls.Droid
{
[Preserve(All... | using Android.Graphics.Drawables;
using XamForms.Controls.Droid;
using Xamarin.Forms.Platform.Android;
using XamForms.Controls;
using Android.Runtime;
using System;
[assembly: Xamarin.Forms.ExportRenderer(typeof(CalendarButton), typeof(CalendarButtonRenderer))]
namespace XamForms.Controls.Droid
{
[Preserve(All... | mit | C# |
84532624b7bef96ae27faeaec68f1aa01998dd34 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: November 30, 2020<br /><br />
In response to the emergency need for the analysis of wine for smoke taint,
... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: November 12, 2020<br /><br />
In response to the emergency need for the analysis of wine for smoke taint,
... | mit | C# |
48ba9b4819ba07fcffdf1ed32d0b7bfbdd33d9d4 | Change ClientCanSwapTemplatesAttribute to ReqFilter | NServiceKit/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,MindTouch/NServiceKit,MindTouch/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,MindTouch/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,ZocDoc/ServiceStack,MindTouch/NS... | src/ServiceStack.ServiceInterface/ClientCanSwapTemplatesAttribute.cs | src/ServiceStack.ServiceInterface/ClientCanSwapTemplatesAttribute.cs | using System;
using ServiceStack.ServiceHost;
namespace ServiceStack.ServiceInterface
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public class ClientCanSwapTemplatesAttribute : RequestFilterAttribute
{
public override void Execute(... | using System;
using ServiceStack.ServiceHost;
namespace ServiceStack.ServiceInterface
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public class ClientCanSwapTemplatesAttribute : ResponseFilterAttribute
{
public override void Execute... | bsd-3-clause | C# |
7ced3bfabd900eb3a5f4f2103bc2bec16c5d1de2 | Add System.Diagnostics.Process serialization | jlin177/corefx,YoupHulsebos/corefx,shimingsg/corefx,dotnet-bot/corefx,ericstj/corefx,krytarowski/corefx,billwert/corefx,mmitche/corefx,nbarbettini/corefx,lggomez/corefx,twsouthwick/corefx,the-dwyer/corefx,nchikanov/corefx,ravimeda/corefx,JosephTremoulet/corefx,gkhanna79/corefx,Petermarcu/corefx,DnlHarvey/corefx,lggomez... | src/System.Diagnostics.Process/src/System/Diagnostics/ThreadState.cs | src/System.Diagnostics.Process/src/System/Diagnostics/ThreadState.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.Diagnostics
{
/// <devdoc>
/// Specifies the execution state of a thread.
/// </dev... | // 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.Diagnostics
{
/// <devdoc>
/// Specifies the execution state of a thread.
/// </dev... | mit | C# |
2ebdeb51cc008c41cd0e22f681e72d8f8c80baa5 | Add JSON extension method | nbarbettini/FlexibleConfiguration | src/FlexibleConfiguration/ConfigurationBuilderProviderExtensions.cs | src/FlexibleConfiguration/ConfigurationBuilderProviderExtensions.cs | // Copyright (c) Nate Barbettini.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using FlexibleConfiguration.Providers;
namespace FlexibleConfiguration
{
public static class ConfigurationBuilderProviderExtensions
{
/// <summary>
... | // Copyright (c) Nate Barbettini.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using FlexibleConfiguration.Providers;
namespace FlexibleConfiguration
{
public static class ConfigurationBuilderProviderExtensions
{
/// <summary>
... | apache-2.0 | C# |
3ef284e2c9049d0ff22af135e549b91157bc2110 | Sort usings | OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Roslyn.CSharp/Services/Files/OnFilesChangedService.cs | src/OmniSharp.Roslyn.CSharp/Services/Files/OnFilesChangedService.cs | using System.Collections.Generic;
using System.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using OmniSharp.FileWatching;
using OmniSharp.Mef;
using OmniSharp.Models.FilesChanged;
namespace OmniSharp.Roslyn.CSharp.Services.Files
{
[OmniSharpHandler(OmniSharpEndpoints.FilesChanged, Langu... | using Microsoft.CodeAnalysis;
using OmniSharp.FileWatching;
using OmniSharp.Mef;
using OmniSharp.Models.FilesChanged;
using System.Collections.Generic;
using System.Composition;
using System.Threading.Tasks;
namespace OmniSharp.Roslyn.CSharp.Services.Files
{
[OmniSharpHandler(OmniSharpEndpoints.FilesChanged, Langu... | mit | C# |
6183c006ddc87126c08cf61c098b46f8f293ea20 | Update BackgroundWorkerManager.cs | lvjunlei/aspnetboilerplate,Nongzhsh/aspnetboilerplate,zclmoon/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,jaq316/aspnetboilerplate,carldai0106/aspnetboilerplate,690486439/aspnetboilerplate,Nongzhsh/aspnetboilerplate,oceanho/aspnetboilerplate,berdankoca/aspnetboilerplate,beratcarsi/as... | src/Abp/Threading/BackgroundWorkers/BackgroundWorkerManager.cs | src/Abp/Threading/BackgroundWorkers/BackgroundWorkerManager.cs | using System;
using System.Collections.Generic;
using Abp.Dependency;
namespace Abp.Threading.BackgroundWorkers
{
/// <summary>
/// Implements <see cref="IBackgroundWorkerManager"/>.
/// </summary>
public class BackgroundWorkerManager : RunnableBase, IBackgroundWorkerManager, ISingletonDependency, IDi... | using System;
using System.Collections.Generic;
using Abp.Dependency;
namespace Abp.Threading.BackgroundWorkers
{
/// <summary>
/// Implements <see cref="IBackgroundWorkerManager"/>.
/// </summary>
public class BackgroundWorkerManager : RunnableBase, IBackgroundWorkerManager, ISingletonDependency, IDi... | mit | C# |
ba25618a6d755e1e84f8fb51e94ac060c722b9ee | Fix Components.Tests that require IStatusBar | karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderS... | src/Windows/R/Components/Test/Fixtures/RComponentServicesFixture.cs | src/Windows/R/Components/Test/Fixtures/RComponentServicesFixture.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using Microsoft.Common.Core.Services;
using Microsoft.Common.Core.Test.Fixtures;
using Microsoft.R.Components.Settings;
using Micro... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections.Generic;
using Microsoft.Common.Core.Services;
using Microsoft.Common.Core.Test.Fixtures;
using Microsoft.R.Components.Settings;
using Micro... | mit | C# |
17eed66ecb4444c8f55c2b3effabcb21139c1125 | Update session provider key | billboga/dnxflash,billboga/dnxflash | src/DnxFlash.AspNet.MessageProviders/SessionMessageProvider.cs | src/DnxFlash.AspNet.MessageProviders/SessionMessageProvider.cs | using Microsoft.AspNet.Http.Features;
using Newtonsoft.Json;
using System.Text;
namespace DnxFlash.AspNet.MessageProviders
{
public class SessionMessageProvider : IMessageProvider
{
public SessionMessageProvider(ISession session)
{
this.session = session;
}
private... | using Microsoft.AspNet.Http.Features;
using Newtonsoft.Json;
using System.Text;
namespace DnxFlash.AspNet.MessageProviders
{
public class SessionMessageProvider : IMessageProvider
{
public SessionMessageProvider(ISession session)
{
this.session = session;
}
private... | mit | C# |
fb545f67bc216db948f9910a2b3c5df4a021193b | Remove unnecessary methods | Elevator89/RimWorld-Subtranslator | Elevator.Subtranslator/Program.cs | Elevator.Subtranslator/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
using CommandLine.Text;
using System.IO;
using System.Xml.Linq;
namespace Elevator.Subtranslator
{
class Options
{
[Option('d', "defs", Required = true, HelpText = "Definition fol... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
using CommandLine.Text;
using System.IO;
using System.Xml.Linq;
namespace Elevator.Subtranslator
{
class Options
{
[Option('d', "defs", Required = true, HelpText = "Definition fol... | apache-2.0 | C# |
9d00b88cddb9c602ebdbb083867ebda2007b2a9f | Add "Press any key to exit." | OlsonDev/PersonalWebApp,OlsonDev/PersonalWebApp | BuildSpritesheet/Program.cs | BuildSpritesheet/Program.cs | #if DNX451
using System;
using System.IO;
namespace BuildSpritesheet {
class Program {
static void Main(string[] args) {
PrepareOutputDirectory();
SpritePreparer.PrepareSprites();
Console.WriteLine();
Console.WriteLine("Done processing individual files");
Console.WriteLine();
SpritesheetBuilder... | #if DNX451
using System;
using System.IO;
namespace BuildSpritesheet {
class Program {
static void Main(string[] args) {
PrepareOutputDirectory();
SpritePreparer.PrepareSprites();
Console.WriteLine();
Console.WriteLine("Done processing individual files");
Console.WriteLine();
SpritesheetBuilder... | mit | C# |
c099f76ed6f1cc3d4520bc5067f5b1dcfb0e4bb9 | Update Program.cs | cybervoid/BetterProgramming,cybervoid/BetterProgramming | SoftwareEngineering/ProjectEuler/ProjectEuler/Program.cs | SoftwareEngineering/ProjectEuler/ProjectEuler/Program.cs | using ProjectEuler.Problems.P001;
using ProjectEuler.Problems.P002;
using ProjectEuler.Problems.P003;
using ProjectEuler.Problems.P004;
using ProjectEuler.Problems.P005;
using ProjectEuler.Problems.P006;
using ProjectEuler.Problems.P007;
using ProjectEuler.Problems.P008;
using ProjectEuler.Problems.P010;
using Project... | using ProjectEuler.Problems.P001;
using ProjectEuler.Problems.P002;
using ProjectEuler.Problems.P003;
using ProjectEuler.Problems.P004;
using ProjectEuler.Problems.P005;
using ProjectEuler.Problems.P006;
using ProjectEuler.Problems.P007;
using ProjectEuler.Problems.P008;
using ProjectEuler.Problems.P010;
using Project... | mit | C# |
c9959fd054fde68eb6429a9fe45342ce64c17a7a | hide subcommand 'run' in release build | li-rongcheng/CoreCmd | CoreProject/Commands/RunCommand.cs | CoreProject/Commands/RunCommand.cs | #if DEBUG
using CoreProject.Services;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreProject.Commands
{
class RunCommand
{
public void AddClass(string className, string path)
{
new ScaffoldingService().GenerateClassFile(className, path);
}
... | using CoreProject.Services;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoreProject.Commands
{
class RunCommand
{
public void AddClass(string className, string path)
{
new ScaffoldingService().GenerateClassFile(className, path);
}
p... | mit | C# |
1a05a6e5097a427e4c8283ee655f41b163112477 | Hide irrelevant options from build action configuration | Zvirja/ReSharperHelpers | AlexPovar.ReSharperHelpers/Build/RunConfigProjectWithSolutionBuild.cs | AlexPovar.ReSharperHelpers/Build/RunConfigProjectWithSolutionBuild.cs | using System.Windows;
using JetBrains.DataFlow;
using JetBrains.IDE.RunConfig;
using JetBrains.ProjectModel;
using JetBrains.VsIntegration.IDE.RunConfig;
namespace AlexPovar.ReSharperHelpers.Build
{
public class RunConfigProjectWithSolutionBuild : RunConfigBase
{
public override void Execute(RunConfigContext ... | using JetBrains.IDE.RunConfig;
namespace AlexPovar.ReSharperHelpers.Build
{
public class RunConfigProjectWithSolutionBuild : RunConfigBase
{
public override void Execute(RunConfigContext context)
{
context.ExecutionProvider.Execute(null);
}
}
} | mit | C# |
9eb673b34d969f48e04938320d62008a0970d9e8 | Fix compilation issue | jwollen/SharpDX,RobyDX/SharpDX,waltdestler/SharpDX,manu-silicon/SharpDX,waltdestler/SharpDX,sharpdx/SharpDX,weltkante/SharpDX,RobyDX/SharpDX,dazerdude/SharpDX,TigerKO/SharpDX,weltkante/SharpDX,fmarrabal/SharpDX,dazerdude/SharpDX,andrewst/SharpDX,andrewst/SharpDX,davidlee80/SharpDX-1,Ixonos-USA/SharpDX,dazerdude/SharpDX... | Source/Toolkit/SharpDX.Toolkit.Graphics/ShaderResourceViewSelector.cs | Source/Toolkit/SharpDX.Toolkit.Graphics/ShaderResourceViewSelector.cs | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, modif... | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, modif... | mit | C# |
2bff7105cb4a842705063b446d070421f65844d8 | Fix test | rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla,JasonBock/csla,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla | Source/csla.netcore.test/DataPortal/ServiceProviderInvocationTests.cs | Source/csla.netcore.test/DataPortal/ServiceProviderInvocationTests.cs | //-----------------------------------------------------------------------
// <copyright file="ServiceProviderMethodCallerTests.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>no summary</summary>
//-----------------------... | //-----------------------------------------------------------------------
// <copyright file="ServiceProviderMethodCallerTests.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>no summary</summary>
//-----------------------... | mit | C# |
7d0d8f76dce6d042045da2320e6e02d6eae26bb2 | Fix grass entity | mk-dev-team/mk-world-of-imagination | Sources/Hevadea/GameObjects/Entities/Blueprints/Legacy/EntityGrass.cs | Sources/Hevadea/GameObjects/Entities/Blueprints/Legacy/EntityGrass.cs | using Hevadea.Entities.Components;
using Hevadea.Framework;
using Hevadea.Framework.Graphic.SpriteAtlas;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Hevadea.Entities.Blueprints
{
public class EntityGrass : Entity
{
public int Variant { get; set; } = 0;
priv... | using Hevadea.Entities.Components;
using Hevadea.Framework;
using Hevadea.Framework.Graphic.SpriteAtlas;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Hevadea.Entities.Blueprints
{
public class EntityGrass : Entity
{
public int Variant { get; set; } = 0;
priv... | mit | C# |
74c22be3c0cd4d9490453302778852240222f10e | Add the built-in properties to the Properties collection. | izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp | AnimStack.cs | AnimStack.cs | using System;
namespace FbxSharp
{
public class AnimStack : Collection
{
public AnimStack(String name="")
: base(name)
{
Properties.Add(Description);
Properties.Add(LocalStart);
Properties.Add(LocalStop);
Properties.Add(ReferenceStart... | using System;
namespace FbxSharp
{
public class AnimStack : Collection
{
#region Public Attributes
public readonly PropertyT<string> Description = new PropertyT<string>( "Description");
public readonly PropertyT<FbxTime> LocalStart = new PropertyT<FbxTime>("LocalStart");
... | lgpl-2.1 | C# |
a2006283f0732608009629594609f99b72bcd0d5 | Replace URL in address bar for easy copying | Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS | src/IFS.Web/Views/Upload/Complete.cshtml | src/IFS.Web/Views/Upload/Complete.cshtml | @using System.Text.Encodings.Web
@model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Upload complete: {Model.Metadata.OriginalFileName}";
}
<h2>@ViewBag.Title</h2>
<div class="alert alert-success">
The upload of your file has completed: <code>@Model.Metadata.OriginalFileName</code>.
</div>
@{
s... | @model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Upload complete: {Model.Metadata.OriginalFileName}";
}
<h2>@ViewBag.Title</h2>
<div class="alert alert-success">
The upload of your file has completed: <code>@Model.Metadata.OriginalFileName</code>.
</div>
@{
string downloadLink = this.Url.Rou... | mit | C# |
a4735da61fecade25311a4057f6a112e26a35cd2 | Initialize MainThreadDispatcher on OnPostprocessScene | Useurmind/UniRx,ppcuni/UniRx,ic-sys/UniRx,zillakot/UniRx,saruiwa/UniRx,m-ishikawa/UniRx,cruwel/UniRx,InvertGames/UniRx,Useurmind/UniRx,juggernate/UniRx,Useurmind/UniRx,ufcpp/UniRx,zhutaorun/UniRx,juggernate/UniRx,zillakot/UniRx,ic-sys/UniRx,OC-Leon/UniRx,ic-sys/UniRx,endo0407/UniRx,cruwel/UniRx,kimsama/UniRx,TORISOUP/U... | Assets/UniRx/Scripts/UnityEngineBridge/ScenePlaybackDetector.cs | Assets/UniRx/Scripts/UnityEngineBridge/ScenePlaybackDetector.cs | #if UNITY_EDITOR
using System.Linq;
using UnityEditor;
using UnityEditor.Callbacks;
namespace UniRx
{
[InitializeOnLoad]
public class ScenePlaybackDetector
{
private static bool _isPlaying = false;
public static bool IsPlaying
{
get
{
return... | #if UNITY_EDITOR
using System.Linq;
using UnityEditor;
using UnityEditor.Callbacks;
namespace UniRx
{
[InitializeOnLoad]
public class ScenePlaybackDetector
{
private static bool _isPlaying = false;
public static bool IsPlaying
{
get
{
return... | mit | C# |
a0bf370ecc9ad457ac3eae23a4ccb6036ef9f836 | Simplify scene processing | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | test/mobile/features/fixtures/maze_runner/Assets/Scripts/Builder.cs | test/mobile/features/fixtures/maze_runner/Assets/Scripts/Builder.cs | using System.Linq;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
public class Builder : MonoBehaviour
{
// Generates AndroidBuild/MyApp.apk
public static void AndroidBuild()
{
Debug.Log("Building Android app...");
PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.Android, ... | using System.Linq;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
public class Builder : MonoBehaviour
{
// Generates AndroidBuild/MyApp.apk
public static void AndroidBuild()
{
Debug.Log("Building Android app...");
PlayerSettings.SetApplicationIdentifier(BuildTargetGroup.Android, ... | mit | C# |
b89778cb5125e5d34fb71ddc7e1686e2d42400ed | enhance test | Code-Inside/Sloader | tests/Sloader.Engine.Tests/UtilTests/StringExtensionCleanerTests.cs | tests/Sloader.Engine.Tests/UtilTests/StringExtensionCleanerTests.cs | using System.Threading.Tasks;
using Xunit;
using Sloader.Engine.Util;
namespace Sloader.Engine.Tests.UtilTests
{
public class StringExtensionCleanerTests
{
[Fact]
public void Can_Deal_With_null()
{
string test = null;
Assert.Equal(string.Empty, test.ToCleanString());
}
[Fac... | using System.Threading.Tasks;
using Xunit;
using Sloader.Engine.Util;
namespace Sloader.Engine.Tests.UtilTests
{
public class StringExtensionCleanerTests
{
[Fact]
public void Can_Deal_With_null()
{
string test = null;
Assert.Equal(string.Empty, test.ToCleanString());
}
[Fac... | mit | C# |
4053707c424d9ae2e7278bac1452670726ca46c6 | Add Delete button to TabControlSection to test deleting tabs | PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Test/Eto.Test/Sections/Controls/TabControlSection.cs | Source/Eto.Test/Eto.Test/Sections/Controls/TabControlSection.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Controls
{
public class TabControlSection : Panel
{
TabControl tabControl;
public TabControlSection ()
{
Create ();
}
protected virtual void Create ()
{
var layout = new DynamicLayout (this);
layout.AddSeparateRow... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Controls
{
public class TabControlSection : Panel
{
public TabControlSection ()
{
Add();
}
protected virtual void Add()
{
var layout = new DynamicLayout(this);
var tabControl = DefaultTabs();
layout.Add(tabControl... | bsd-3-clause | C# |
5b71d7eece9f7c7d6d4b381a63400cb4d1f25726 | Fix reward string method | DMagic1/KSP_Contract_Window | Source/ContractsWindow/PanelInterfaces/StandardNodeUI.cs | Source/ContractsWindow/PanelInterfaces/StandardNodeUI.cs | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using ProgressParser;
namespace ContractsWindow.PanelInterfaces
{
public class StandardNodeUI : IStandardNode
{
private progressStandard node;
public StandardNodeUI(progressStandard n)
{
if (n == null)
return;
... | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Interfaces;
using ProgressParser;
namespace ContractsWindow.PanelInterfaces
{
public class StandardNodeUI : IStandardNode
{
private progressStandard node;
public StandardNodeUI(progressStandard n)
{
if (n == null)
return;
... | mit | C# |
32059a85e4670471d37a161b2bf25f0fb8a92e2b | Make ConfigurationEntry constructors internal | Zoxive/libgit2sharp,OidaTiftla/libgit2sharp,psawey/libgit2sharp,AArnott/libgit2sharp,AMSadek/libgit2sharp,nulltoken/libgit2sharp,Skybladev2/libgit2sharp,mono/libgit2sharp,vorou/libgit2sharp,github/libgit2sharp,nulltoken/libgit2sharp,whoisj/libgit2sharp,github/libgit2sharp,mono/libgit2sharp,OidaTiftla/libgit2sharp,Skybl... | LibGit2Sharp/ConfigurationEntry.cs | LibGit2Sharp/ConfigurationEntry.cs | using System;
using System.Diagnostics;
namespace LibGit2Sharp
{
/// <summary>
/// The full representation of a config option.
/// </summary>
/// <typeparam name="T">The configuration value type</typeparam>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class ConfigurationEntry<T>
{
... | using System;
using System.Diagnostics;
namespace LibGit2Sharp
{
/// <summary>
/// The full representation of a config option.
/// </summary>
/// <typeparam name="T">The configuration value type</typeparam>
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class ConfigurationEntry<T>
{
... | mit | C# |
12ce8ef86613eb376a26c5777c3a98eb57f12ce6 | make some readonly fields | LayoutFarm/PixelFarm | a_mini/projects/PixelFarm/MiniAgg/04_Scanline/0_ScanlineSpan.cs | a_mini/projects/PixelFarm/MiniAgg/04_Scanline/0_ScanlineSpan.cs | //BSD, 2014-2016, WinterDev
namespace PixelFarm.Agg
{
public struct ScanlineSpan
{
public readonly short x;
public short len;
public readonly short cover_index;
public ScanlineSpan(int x, int cover_index)
{
this.x = (short)x;
this.len = 1;
... | //BSD, 2014-2016, WinterDev
namespace PixelFarm.Agg
{
public struct ScanlineSpan
{
public short x;
public short len;
public short cover_index;
public ScanlineSpan(int x, int cover_index)
{
this.x = (short)x;
this.len = 1;
this.cover_... | bsd-2-clause | C# |
824352b26f29d895c272799377406e2b021264cd | Update RotateAndSum.cs | stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity | TechnologiesFundamentals/ProgrammingFundamentals/ArraysAndLists-Excercises/02.RotateAndSum/02.RotateAndSum/RotateAndSum.cs | TechnologiesFundamentals/ProgrammingFundamentals/ArraysAndLists-Excercises/02.RotateAndSum/02.RotateAndSum/RotateAndSum.cs | using System;
using System.Linq;
public class RotateAndSum
{
public static void Main(string[] args)
{
int[] array = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int numberRotates = int.Parse(Console.ReadLine());
int[] sum = new int[array.Length];
for (int rotatio... | using System;
using System.Linq;
public class RotateAndSum
{
public static void Main(string[] args)
{
int[] array = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int numberRotates = int.Parse(Console.ReadLine());
int[] sum = new int[array.Length];
for (int i = 0; ... | mit | C# |
ad6d27f45e89fd7d03035dc15fcdc0a93bcdf3c9 | Fix InfluencerBucket bug - LSInfluencer functional | erebuswolf/LockstepFramework,SnpM/Lockstep-Framework,yanyiyun/LockstepFramework | Core/Simulation/Grid/Influence/Utility/InfluencerBucket.cs | Core/Simulation/Grid/Influence/Utility/InfluencerBucket.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace Lockstep
{
public class InfluencerBucket
{
#region Constants
const int MaxCapacity = 64;
const int StartCapacity = 8;
#endregion;
#region Static helpers
static int leIndex;
static int i;
#endregion
public int Peak... | using System;
using System.Collections;
using System.Collections.Generic;
namespace Lockstep
{
public class InfluencerBucket
{
#region Constants
const int MaxCapacity = 64;
const int StartCapacity = 8;
#endregion;
#region Static helpers
static int leIndex;
static int i;
#endregion
public int Peak... | mit | C# |
97b411fb42144e2db388118b409d67895c3bb27d | Add cancel button to Finish editing | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Web/Views/EmployerCommitments/FinishedEditing.cshtml | src/SFA.DAS.EAS.Web/Views/EmployerCommitments/FinishedEditing.cshtml | @model SFA.DAS.EAS.Web.Models.SubmitCommitmentModel
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Finished editing</h1>
<div>
<p>
What do you want to do with this commitment?
</p>
<!--h2 class="heading-medium">... | @model SFA.DAS.EAS.Web.Models.SubmitCommitmentModel
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Finished editing</h1>
<div>
<p>
What do you want to do with this commitment?
</p>
<!--h2 class="heading-medium">... | mit | C# |
a480653d9e87ebac7d547300bb8028f664aee78e | add comment in the Sequencer.cs file | sebas77/Svelto.ECS,sebas77/Svelto-ECS | ECS/Sequencer.cs | ECS/Sequencer.cs | using System;
using Steps = System.Collections.Generic.Dictionary<Svelto.ECS.IEngine, System.Collections.Generic.Dictionary<System.Enum, Svelto.ECS.IStep[]>>;
namespace Svelto.ECS
{
public interface IStep
{ }
public interface IStep<T>:IStep
{
void Step(ref T token, Enum condition);
}
... | using System;
using Steps = System.Collections.Generic.Dictionary<Svelto.ECS.IEngine, System.Collections.Generic.Dictionary<System.Enum, Svelto.ECS.IStep[]>>;
namespace Svelto.ECS
{
public interface IStep
{ }
public interface IStep<T>:IStep
{
void Step(ref T token, Enum condition);
}
... | mit | C# |
838d41daf7b838b3c58b3ebdad0de4a2e60d5423 | Remove unnecessary recommendation | farity/farity | Farity/Filter.cs | Farity/Filter.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Farity
{
public static partial class F
{
/// <summary>
/// Takes a predicate and an enumerable, and returns an enumerable of the same type containing the members of the given
/// enumerable which satis... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Farity
{
public static partial class F
{
/// <summary>
/// Takes a predicate and an enumerable, and returns an enumerable of the same type containing the members of the given
/// enumerable which satis... | mit | C# |
3bc663a1cf8cc232305c1adb3a8e46a6783f8492 | Update reCaptcha API js rendering script | aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | @using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.Name)
... | @using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.Name)
... | mit | C# |
4c592f159609555f52d750ce2b49d6cfdebca03c | Bump version to 6.3.0 | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.NetCore/Properties/AssemblyVersionInfo.cs | Mindscape.Raygun4Net.NetCore/Properties/AssemblyVersionInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can defaul... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can defaul... | mit | C# |
6fabdf441379acac419af1fcb2c9136d354c884b | Reduce SplitButton to actual behavior | jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterCon... | CustomWidgets/SplitButton.cs | CustomWidgets/SplitButton.cs | /*
Copyright (c) 2017, Matt Moening, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of ... | /*
Copyright (c) 2017, Matt Moening, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of ... | bsd-2-clause | C# |
3ee410e53e1d95f366768a23458c59f05bd94e44 | Index too | StevenThuriot/Horizon | EventCaller.cs | EventCaller.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Horizon
{
class EventCaller : IEventCaller
{
readonly EventInfo _info;
readonly Lazy<bool> _isStatic;
readonly IMethodCaller _raise;
readonly ICaller _add;
readonly ICaller _remove;
... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Horizon
{
class EventCaller : IEventCaller
{
readonly EventInfo _info;
readonly Lazy<bool> _isStatic;
readonly IMethodCaller _raise;
readonly ICaller _add;
readonly ICaller _remove;
... | mit | C# |
a59ad82ff39ebbe5445c632d3bdfab93b75e28d9 | fix welcome | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneSedi/GetDistaccamentiByCodSede/GetDistaccamentiByCodSedeQueryHandler.cs | src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneSedi/GetDistaccamentiByCodSede/GetDistaccamentiByCodSedeQueryHandler.cs | using CQRS.Queries;
using SO115App.API.Models.Classi.Condivise;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Distaccamenti;
using System.Linq;
namespace SO115App.Models.Servizi.CQRS.Queries.GestioneSedi.GetDistaccamentiByCodSede
{
public class GetDistaccamentiByCodSedeQueryHandler : IQueryHandler<G... | using CQRS.Queries;
using SO115App.API.Models.Classi.Condivise;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Distaccamenti;
using System.Linq;
namespace SO115App.Models.Servizi.CQRS.Queries.GestioneSedi.GetDistaccamentiByCodSede
{
public class GetDistaccamentiByCodSedeQueryHandler : IQueryHandler<G... | agpl-3.0 | C# |
b7f5cafc7172fd8833c326d5bec9fb1edcb72a85 | Increase move the version number to 2.1.3 | baynezy/Html2Markdown | src/Html2Markdown/Properties/AssemblyInfo.cs | src/Html2Markdown/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("Html2Markdown")]
[assembly: AssemblyDescr... | 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("Html2Markdown")]
[assembly: AssemblyDescr... | apache-2.0 | C# |
035fff94c1336b7244daafbd7d820c1c6a15c375 | Update normalize extension method to use the built in hardware accelerated static method | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped/Vector3Extensions.cs | DynamixelServo.Quadruped/Vector3Extensions.cs | using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
return Vector3.Normalize(vector);
}
public static bool Similar(this Vector3 a, Vector3 b, float marginOfError = f... | using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
float len = vector.Length();
return new Vector3(vector.X / len, vector.Y / len, vector.Z / len);
}
pu... | apache-2.0 | C# |
61b88784dfba6442f82cb6bfbc1eb6d2be7b2e92 | Fix absent documentation | rabbit-link/rabbit-link,rabbit-link/rabbit-link | src/RabbitLink.Microsoft.Extensions.Logging/LinkBuilderExtensions.cs | src/RabbitLink.Microsoft.Extensions.Logging/LinkBuilderExtensions.cs | using RabbitLink.Builders;
using Microsoft.Extensions.Logging;
namespace RabbitLink.Logging
{
/// <summary>
/// Extension methods for <see cref="ILinkBuilder"/>
/// </summary>
public static class LinkBuilderExtensions
{
/// <summary>
/// Use <see cref="Microsoft.Extensions.Logging.I... | using RabbitLink.Builders;
using Microsoft.Extensions.Logging;
namespace RabbitLink.Logging
{
public static class LinkBuilderExtensions
{
/// <summary>
/// Use <see cref="Microsoft.Extensions.Logging.ILoggerFactory"/> as ILinkLogger
/// </summary>
/// <param name="builder">Link ... | mit | C# |
066269581e126b2bda21bb280d3e5d275f405659 | add PostFormatEntityExtensions | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Persistance.SqlServer/PostFormatEntity.cs | src/Tugberk.Persistance.SqlServer/PostFormatEntity.cs | using System;
using Tugberk.Domain;
namespace Tugberk.Persistance.SqlServer
{
public enum PostFormatEntity
{
PlainText = 1,
Html = 2,
Markdown = 3
}
public static class PostFormatEntityExtensions
{
public static PostFormat ToDomainModel(this PostFormatEntity postF... | namespace Tugberk.Persistance.SqlServer
{
public enum PostFormatEntity
{
PlainText = 1,
Html = 2,
Markdown = 3
}
}
| agpl-3.0 | C# |
4a3ceaf19daa3f79452572d1a6f7d761063ebde2 | Test Fixup for a Line Normalization Issue. | aanshibudhiraja/Roslyn,ValentinRueda/roslyn,tannergooding/roslyn,grianggrai/roslyn,DustinCampbell/roslyn,vcsjones/roslyn,dovzhikova/roslyn,oocx/roslyn,jbhensley/roslyn,devharis/roslyn,AlekseyTs/roslyn,tang7526/roslyn,jcouv/roslyn,huoxudong125/roslyn,leppie/roslyn,paulvanbrenk/roslyn,jmarolf/roslyn,KevinH-MS/roslyn,aeli... | src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs | src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Organizing;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Mi... | // 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.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Organizing;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Mi... | apache-2.0 | C# |
bb6918cafc7f2645b7e8ea77cfc6f5cdbacc4478 | Remove requirement for dependency nodes to have a version. | dotnet/buildtools,roncain/buildtools,schaabs/buildtools,karajas/buildtools,chcosta/buildtools,AlexGhiondea/buildtools,AlexGhiondea/buildtools,ChadNedzlek/buildtools,roncain/buildtools,maririos/buildtools,naamunds/buildtools,mmitche/buildtools,stephentoub/buildtools,nguerrera/buildtools,stephentoub/buildtools,ChadNedzle... | src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs | src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs | using Microsoft.Build.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Microsoft.DotNet.Build.Tasks
{
public class UpdatePackageDependencyVersion : VisitProjectDependencies
{
[Required]
public string PackageId { get; set; }
[Required]
publi... | using Microsoft.Build.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Microsoft.DotNet.Build.Tasks
{
public class UpdatePackageDependencyVersion : VisitProjectDependencies
{
[Required]
public string PackageId { get; set; }
[Required]
publi... | mit | C# |
5540744d17f47eef1d25ae784db59538577256da | Update AddingListBoxControl.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cell... | Examples/CSharp/DrawingObjects/Controls/AddingListBoxControl.cs | Examples/CSharp/DrawingObjects/Controls/AddingListBoxControl.cs | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Drawing;
namespace Aspose.Cells.Examples.DrawingObjects.Controls
{
public class AddingListBoxControl
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string... | using System.IO;
using Aspose.Cells;
using Aspose.Cells.Drawing;
namespace Aspose.Cells.Examples.DrawingObjects.Controls
{
public class AddingListBoxControl
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.... | mit | C# |
e04fbc08e0d33695c5d2c722b91283f4d50321f7 | Add test cases for Models.Th143.NicknameReplacer (cont.) | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverterTests/Models/Th143/NicknameReplacerTests.cs | ThScoreFileConverterTests/Models/Th143/NicknameReplacerTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThScoreFileConverter.Models.Th143;
using ThScoreFileConverterTests.Models.Th143.Stubs;
namespace ThScoreFileConverterTests.Models.Th143
{
[TestClass]
public class NicknameReplacerTests
{
internal static IStatus Status { get; }... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThScoreFileConverter.Models.Th143;
using ThScoreFileConverterTests.Models.Th143.Stubs;
namespace ThScoreFileConverterTests.Models.Th143
{
[TestClass]
public class NicknameReplacerTests
{
internal static IStatus Status { get; }... | bsd-2-clause | C# |
7058bb60c1f734410c11a9c0667b981396d0037b | Add CreatedUTC to Created Thing | CrustyJew/RedditSharp,chuggafan/RedditSharp-1,Jinivus/RedditSharp,justcool393/RedditSharp-1,tomnolan95/RedditSharp,IAmAnubhavSaini/RedditSharp,ekaralar/RedditSharpWindowsStore,epvanhouten/RedditSharp,angelotodaro/RedditSharp,pimanac/RedditSharp,SirCmpwn/RedditSharp,RobThree/RedditSharp,nyanpasudo/RedditSharp,theonlylaw... | RedditSharp/CreatedThing.cs | RedditSharp/CreatedThing.cs | using System;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class CreatedThing : Thing
{
private Reddit Reddit { get; set; }
public CreatedThing(Reddit reddit, JToken json) : base(json)
{
Reddit = reddit;
JsonConvert.Populate... | using System;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class CreatedThing : Thing
{
private Reddit Reddit { get; set; }
public CreatedThing(Reddit reddit, JToken json) : base(json)
{
Reddit = reddit;
JsonConvert.Populate... | mit | C# |
125e1434017835cb992cd9bcad8b6b580b818cd9 | Fix banana shower placement outline initial opacity | ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu | osu.Game.Rulesets.Catch/Edit/Blueprints/Components/TimeSpanOutline.cs | osu.Game.Rulesets.Catch/Edit/Blueprints/Components/TimeSpanOutline.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.G... | mit | C# |
f5d479682218f4aa576ee3553cc1bb5cdd2cd95e | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.24")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.2.0.23")] | mit | C# |
5a2d7aa1a55dded81ead05f884100dfbf0496be3 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.44")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.43")] | mit | C# |
e732d7b847c4e976d002817c0855090e969f2344 | Update to 1.2 | bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1 | Source/GlobalAssemblyInfo.cs | Source/GlobalAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyCompany("Picoe Software Solutions Inc.")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("(c) 2010-2013 by Curtis Wensley aka Eto")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVer... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyCompany("Picoe Software Solutions Inc.")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("(c) 2010-2013 by Curtis Wensley aka Eto")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVer... | bsd-3-clause | C# |
fbc3c635cc590280d7312b6552e40098724a0c84 | support complex json token as parameter name (#7824) | xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore/OrchardCore.Recipes.Core/ParametersMethodProvider.cs | src/OrchardCore/OrchardCore.Recipes.Core/ParametersMethodProvider.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using OrchardCore.Scripting;
namespace OrchardCore.Recipes
{
public class ParametersMethodProvider : IGlobalMethodProvider
{
private readonly GlobalMethod _globalMethod;
public ParametersMethodProvider(object environme... | using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using OrchardCore.Scripting;
namespace OrchardCore.Recipes
{
public class ParametersMethodProvider : IGlobalMethodProvider
{
private readonly GlobalMethod _globalMethod;
public ParametersMethodProvider(object environme... | bsd-3-clause | C# |
65a996cdb331c4e1b09786a957be61af7701ce58 | Add tests | joaoasrosa/nppxmltreeview,joaoasrosa/nppxmltreeview | tests/NppXmlTreeviewPlugin.Parsers.Tests.Unit/WhenParsingValidXml.cs | tests/NppXmlTreeviewPlugin.Parsers.Tests.Unit/WhenParsingValidXml.cs | using System.IO;
using FluentAssertions;
using Xunit;
namespace NppXmlTreeviewPlugin.Parsers.Tests.Unit
{
public class WhenParsingValidXml
{
[Theory]
[InlineData(@"./TestFiles/NPP_comments.xml")]
[InlineData(@"./TestFiles/NPP_nocomments.xml")]
public void GivenValidXml_ThenTr... | using System.IO;
using FluentAssertions;
using Xunit;
namespace NppXmlTreeviewPlugin.Parsers.Tests.Unit
{
public class WhenParsingValidXml
{
[Theory]
[InlineData(@"./TestFiles/NPP_comments.xml")]
[InlineData(@"./TestFiles/NPP_nocomments.xml")]
public void GivenValidXml_ThenFo... | apache-2.0 | C# |
490378d9e3b0c5f545c703c2bb570748c1b8214d | Fix InvalidCastException in WebApiSample | danielgerlag/workflow-core | src/samples/WebApiSample/WebApiSample/Controllers/EventsController.cs | src/samples/WebApiSample/WebApiSample/Controllers/EventsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using WebApiSample.Workflows;
using WorkflowCore.Interface;
using WorkflowCore.Models;
namespace WebApiSample.Controllers
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using WorkflowCore.Interface;
using WorkflowCore.Models;
namespace WebApiSample.Controllers
{
[Route("api/[controller]")]... | mit | C# |
271284194f54dd684b972d1980f3adadc0aa48e0 | redefine CheckboxItem class member | peterhumbert/YARTE | YARTE/YARTE/CheckboxItem.cs | YARTE/YARTE/CheckboxItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YARTE
{
public class CheckboxItem
{
private string strLabel;
private string strIdentifier;
public CheckboxItem(string label, string identifier)
{
strLabel = label;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace YARTE
{
public class CheckboxItem
{
private string strLabel;
private int intIdentifier;
public CheckboxItem(string label, int identifier)
{
strLabel = label;
... | apache-2.0 | C# |
10e2df0b5248318917dc71c72de56fb90db4678e | change default scale factor to 1.0 | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter | AlembicImporter/Assets/UTJ/Alembic/Scripts/Importer/AlembicSettings.cs | AlembicImporter/Assets/UTJ/Alembic/Scripts/Importer/AlembicSettings.cs | using UnityEngine;
namespace UTJ.Alembic
{
[System.Serializable]
public class AlembicStreamSettings
{
[SerializeField] public aiNormalsMode normals = aiNormalsMode.CalculateIfMissing;
[SerializeField] public aiTangentsMode tangents = aiTangentsMode.Calculate;
[SerializeField] public... | using UnityEngine;
namespace UTJ.Alembic
{
[System.Serializable]
public class AlembicStreamSettings
{
[SerializeField] public aiNormalsMode normals = aiNormalsMode.CalculateIfMissing;
[SerializeField] public aiTangentsMode tangents = aiTangentsMode.Calculate;
[SerializeField] public... | mit | C# |
812b128ce101a1d3389b386afbe5fa80812be02d | Add the new keyword. | averrunci/Carna | Spec/Carna.Runner.Spec/Runner/FixtureDescriptorAssertion.cs | Spec/Carna.Runner.Spec/Runner/FixtureDescriptorAssertion.cs | // Copyright (C) 2019-2021 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using Carna.Assertions;
namespace Carna.Runner
{
internal class FixtureDescriptorAssertion : AssertionObject
{
[AssertionProper... | // Copyright (C) 2019 Fievus
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using Carna.Assertions;
namespace Carna.Runner
{
internal class FixtureDescriptorAssertion : AssertionObject
{
[AssertionProperty]
... | mit | C# |
877091c0563a07a94e027d5a0d6342a89928fe8b | Update comments for DfsStorage.cs | alphaleonis/AlphaFS,modulexcite/AlphaFS,thomaslevesque/AlphaFS | AlphaFS/Network/DfsStorage.cs | AlphaFS/Network/DfsStorage.cs | /* Copyright (C) 2008-2015 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* 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 th... | /* Copyright (C) 2008-2015 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* 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 th... | mit | C# |
6e27a6aa6cdd9a06e517a6bb8ff156f1d2afb501 | Refactor collider name for attack behaviour | bastuijnman/ludum-dare-36 | Assets/Scripts/Building/AttackBuilding.cs | Assets/Scripts/Building/AttackBuilding.cs | using UnityEngine;
using System.Collections;
public class AttackBuilding : MonoBehaviour
{
BuildingProperties properties;
SphereCollider attackZone;
void Start () {
properties = GetComponent<BuildingProperties> ();
attackZone = gameObject.AddComponent<SphereCollider> ();
attackZone.isTrigger = true;
att... | using UnityEngine;
using System.Collections;
public class AttackBuilding : MonoBehaviour
{
BuildingProperties properties;
SphereCollider collider;
void Start () {
properties = GetComponent<BuildingProperties> ();
collider = gameObject.AddComponent<SphereCollider> ();
collider.isTrigger = true;
collider.... | mit | C# |
dd252bcfb44d038c2a6635bf2a1bd2604924a838 | update version | imanushin/CheckContracts | CheckContracts/Properties/AssemblyInfo.cs | CheckContracts/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Check Contracts")]
[assembly: AssemblyDescription("Code contracts for dynamic checks")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Igor Manushin")]
[assembly: AssemblyProduct("CheckContracts")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Check Contracts")]
[assembly: AssemblyDescription("Code contracts for dynamic checks")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Igor Manushin")]
[assembly: AssemblyProduct("CheckContracts")]
[assembly: ... | mit | C# |
d1eea575d3e71b618a2adbf9eae7d9a185a4c7bb | Fix Dev15 build | karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhip... | src/Package/Impl/ProjectSystem/ProjectTreePropertiesProvider.cs | src/Package/Impl/ProjectSystem/ProjectTreePropertiesProvider.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if VS15
using System.ComponentModel.Composition;
using System.IO;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.ProjectSystem;
namespace Micros... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if VS15
using System.ComponentModel.Composition;
using System.IO;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.ProjectSystem;
namespace Micros... | mit | C# |
70b3a27f4b9b27443a960e06c0d6d0cc84e12311 | Add namespace alias for Gherkin3.Ast | dirkrombauts/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles,dirkrombauts/pickles,picklesdoc/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickles,blorgbeard/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmonty/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,lud... | src/Pickles/Pickles.Test/ObjectModel/MapperTestsForDocString.cs | src/Pickles/Pickles.Test/ObjectModel/MapperTestsForDocString.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapperTestsForDocString.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed und... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapperTestsForDocString.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed und... | apache-2.0 | C# |
ee2d23a8c749b3db958bc70f0826735e721484a8 | Update ReserializeAssetsUtility.cs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Tools/ReserializeAssetsUtility/ReserializeAssetsUtility.cs | Assets/MRTK/Tools/ReserializeAssetsUtility/ReserializeAssetsUtility.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
/// <summary>
/// Adds menu items to automate reserializing specific files in Unity.
/// </summary... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
/// <summary>
/// Adds menu items to automate reserializing specific files in Unity.
/// </summary... | mit | C# |
d2c91722dd183d8b0484d9951feb47454c89b4d4 | set only if not set previously | taka-oyama/UniHttp | Assets/UniHttp/HttpManager.cs | Assets/UniHttp/HttpManager.cs | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System;
namespace UniHttp
{
public sealed class HttpManager : MonoBehaviour
{
public string dataPath;
public int maxPersistentConnections;
public static IContentSerializer RequestBodySerializer;
public static ISslVerifier SslVerifi... | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System;
namespace UniHttp
{
public sealed class HttpManager : MonoBehaviour
{
public string dataPath;
public int maxPersistentConnections;
public static IContentSerializer RequestBodySerializer;
public static ISslVerifier SslVerifi... | mit | C# |
c41530c50a36281333b34efd4d9691aaf2611782 | Define returns defined symbol, not value | nja/keel,nja/keel | Keel/SpecialForms/Define.cs | Keel/SpecialForms/Define.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Keel.Objects;
using Keel.Builtins;
namespace Keel.SpecialForms
{
public class Define : SpecialForm
{
public Define()
: base("DEFINE")
{ }
public override LispObject Eval(Cons body, ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Keel.Objects;
using Keel.Builtins;
namespace Keel.SpecialForms
{
public class Define : SpecialForm
{
public Define()
: base("DEFINE")
{ }
public override LispObject Eval(Cons body, ... | mit | C# |
33b0f890fefc3afd392b64b3ed3d6e81194947dc | Revert incorrect changes for #8 | agc93/Cake.VisualStudio,agc93/Cake.VisualStudio | build.cake | build.cake | #addin nuget:?package=Cake.Tfx
using Cake.Tfx.Extension.Publish;
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("confi... | #addin nuget:?package=Cake.Tfx
using Cake.Tfx.Extension.Publish;
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("confi... | mit | C# |
2dacf2bd46faacc2eaa5c744c2e2f8f069f02661 | Adjust namespaces | app-enhance/ae-di,app-enhance/ae-di | src/AE.Extensions.DependencyInjection/IServiceCollectionExtensions.cs | src/AE.Extensions.DependencyInjection/IServiceCollectionExtensions.cs | namespace AE.Extensions.DependencyInjection
{
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Builder;
using Microsoft.Extensions.DependencyInjection;
public static class IServiceCollectionExtensions
{
public static IServiceCollection AddFromAs... | namespace AE.Extensions.DependencyInjection.Builder
{
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
public static class IServiceCollectionExtensions
{
public static IServiceCollection AddFromAssemblies(thi... | mit | C# |
4caeaf862b73750f5bd6391c658e5584e992ee3e | fix System.InvalidOperationException: Headers are read-only, response… (#2) | AlegriGroup/AspNetCore-RTM-1.0-Demos,AlegriGroup/AspNetCore-RTM-1.0-Demos,AlegriGroup/AspNetCore-RTM-1.0-Demos | src/AspNetCore-Middlewares-CoreFx/Samples/ProcessingTimeMiddleware.cs | src/AspNetCore-Middlewares-CoreFx/Samples/ProcessingTimeMiddleware.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace AspNetCore_Middlewares_CoreFx.Samples
{
public static class ProcessingTimeMiddlewareExtensions
{
public static IApplicationBuilder UseProcessingTime(this IApplicationBuilder app)
... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace AspNetCore_Middlewares_CoreFx.Samples
{
public static class ProcessingTimeMiddlewareExtensions
{
public static IApplicationBuilder UseProcessingTime(this IApplicationBuilder app)
... | mit | C# |
009821b3852d567b994f8e41b17adfbcc84014a0 | update orleans to v1.0.5 | weitaolee/Orleans.Storage.Couchbase | Orleans.Storage.Couchbase/Properties/AssemblyInfo.cs | Orleans.Storage.Couchbase/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Orleans.Storage.Couchbase")]
[assembly: AssemblyDescription("Orleans.Storage.Couchbase")]
[assembly: AssemblyConfiguration("")]
... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Orleans.Storage.Couchbase")]
[assembly: AssemblyDescription("Orleans.Storage.Couchbase")]
[assembly: AssemblyConfiguration("")]
... | mit | C# |
8bb3126de455a64e0214d613ddecd98ca9f28825 | Fix and add comments | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Physics/BodiesManager.cs | MadCat/NutEngine/Physics/BodiesManager.cs | using System.Collections.Generic;
namespace NutEngine.Physics
{
public class BodiesManager
{
public HashSet<Body> Bodies { get; private set; }
public HashSet<Collision> Collisions { get; private set; }
public BodiesManager()
{
Bodies = new HashSet<Body>();
... | using System.Collections.Generic;
namespace NutEngine.Physics
{
public class BodiesManager
{
public HashSet<Body> Bodies { get; private set; }
public HashSet<Collision> Collisions { get; private set; }
public BodiesManager()
{
Bodies = new HashSet<Body>();
... | mit | C# |
207568c71a053fa1d30aaeb4371b2ede4ac769f3 | Update DeletingARow.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose... | Examples/CSharp/RowsColumns/InsertingAndDeleting/DeletingARow.cs | Examples/CSharp/RowsColumns/InsertingAndDeleting/DeletingARow.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting
{
public class DeletingARow
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Exa... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting
{
public class DeletingARow
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S... | mit | C# |
6ca8b2db395da4839becfe90dc99740e031153b8 | fix critical sequence bug | zhennTil/LiteNetLib,RevenantX/LiteNetLib | LiteNetLib/NetConstants.cs | LiteNetLib/NetConstants.cs | namespace LiteNetLib
{
public enum SendOptions
{
Unreliable,
ReliableUnordered,
Sequenced,
ReliableOrdered
}
public static class NetConstants
{
public const int HeaderSize = 1;
public const int SequencedHeaderSize = 3;
public const int Fragmen... | namespace LiteNetLib
{
public enum SendOptions
{
Unreliable,
ReliableUnordered,
Sequenced,
ReliableOrdered
}
public static class NetConstants
{
public const int HeaderSize = 1;
public const int SequencedHeaderSize = 3;
public const int Fragmen... | mit | C# |
051f200ffe41c49ded19745c6213e45086c0f41f | Fix up 32 bit constants. | TomPeters/WindowMessageLogger,TomPeters/WindowMessageLogger | ShellHookLauncher32/ShellHookConstants.cs | ShellHookLauncher32/ShellHookConstants.cs | namespace ShellHookLauncher
{
internal static partial class ShellHookHelper
{
public const string DllFileName = "ShellHook32.dll";
public const string PanelessNamedPipe = "PanelessHookId32-5b4f1ea2-c775-11e2-8888-47c85008ead5";
}
}
| namespace ShellHookLauncher
{
internal static partial class ShellHookHelper
{
public const string DllFileName = "ShellHook64.dll";
public const string PanelessNamedPipe = "PanelessHookId64-5b4f1ea2-c775-11e2-8888-47c85008ead5";
}
}
| mit | C# |
9fff4ae69c2473140930b9a6edcd315566cb40c8 | Fix for missing multiple image uploads checkbox on image upload field type. | PerplexInternetmarketing/Perplex-Umbraco-Forms,PerplexInternetmarketing/Perplex-Umbraco-Forms,PerplexInternetmarketing/Perplex-Umbraco-Forms | Perplex.Umbraco.Forms/FieldTypes/PerplexImageUpload.cs | Perplex.Umbraco.Forms/FieldTypes/PerplexImageUpload.cs | using PerplexUmbraco.Forms.Code.Configuration;
using System;
using System.Collections.Generic;
using Umbraco.Forms.Core;
using Umbraco.Forms.Core.Attributes;
namespace PerplexUmbraco.Forms.FieldTypes
{
public class PerplexImageUpload : PerplexBaseFileFieldType
{
protected override PerplexBaseFileConfi... | using PerplexUmbraco.Forms.Code.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using static PerplexUmbraco.Forms.Code.Constants;
using Umbraco.Forms.Core;
namespace PerplexUmbraco.Forms.FieldTypes
{
public class PerplexImageUpload : PerplexBase... | mit | C# |
a8bd9120c27a17546bc7603030fbd580436dbbc6 | Remove special case for odd numbers | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle010.cs | src/ProjectEuler/Puzzles/Puzzle010.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | apache-2.0 | C# |
6b1c5f237c5b6d7794f06685e0010ddcae27c00b | Revert "Revert "Add OptimizationCount to UserData."" | nfleet/.net-sdk | NFleetSDK/Data/UserData.cs | NFleetSDK/Data/UserData.cs | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace NFleet.Data
{
[DataContract]
public class UserData : IResponseData
{
[IgnoreDataMember]
public int VersionNumber { get; set; }
[DataMember]
public int Id { get; set; }
[DataMember]
... | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace NFleet.Data
{
[DataContract]
public class UserData : IResponseData
{
[IgnoreDataMember]
public int VersionNumber { get; set; }
[DataMember]
public int Id { get; set; }
[DataMember]
... | mit | C# |
8527d5ed1b6cd1911082abd69336c82f7053d749 | fix warning | WojcikMike/docs.particular.net,pashute/docs.particular.net,yuxuac/docs.particular.net,SzymonPobiega/docs.particular.net,eclaus/docs.particular.net,pedroreys/docs.particular.net | Snippets/Snippets_5/Outbox/NHibernate/AccessSession.cs | Snippets/Snippets_5/Outbox/NHibernate/AccessSession.cs | using NServiceBus;
using NServiceBus.Persistence.NHibernate;
#region OutboxNHibernateAccessSession
class OrderPlacedHandler : IHandleMessages<OrderPlaced>
{
NHibernateStorageContext nHibernateStorageContext;
public OrderPlacedHandler(NHibernateStorageContext nHibernateStorageContext)
{
this.nHibe... | using NServiceBus;
using NServiceBus.Persistence.NHibernate;
#region OutboxNHibernateAccessSession
class OrderPlacedHandler : IHandleMessages<OrderPlaced>
{
NHibernateStorageContext nHibernateStorageContext;
public OrderPlacedHandler(NHibernateStorageContext nHibernateStorageContext)
{
this.nHibe... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.