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
84c6f9a068265cb8354f9c82bef8de14f7a8cd84
Fix for the api_results FK collision.
HristoKolev/TrackTV,HristoKolev/TrackTV,HristoKolev/TrackTV,HristoKolev/TrackTV,HristoKolev/TrackTV
src/TrackTv.Updater/ApiResultRepository.cs
src/TrackTv.Updater/ApiResultRepository.cs
namespace TrackTv.Updater { using System; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using TrackTv.Data; public class ApiResultRepository { public ApiResultRepository(IDbService dbService) { this.DbService = dbService; } ...
namespace TrackTv.Updater { using System; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; using TrackTv.Data; public class ApiResultRepository { public ApiResultRepository(IDbService dbService) { this.DbService = dbService; } ...
mit
C#
0a1dc29bd2fb010d2a98e0415df239ad8c96f580
Add documentation
sguertl/Flying_Pi,sguertl/Flying_Pi,sguertl/Flying_Pi,sguertl/Flying_Pi
Dronection/Android/WiFi/WiFiDronection/WiFiDronection/CurrentVisualizationData.cs
Dronection/Android/WiFi/WiFiDronection/WiFiDronection/CurrentVisualizationData.cs
using System.Collections.Generic; namespace WiFiDronection { public class CurrentVisualizationData { // List of data points private Dictionary<string,List<DataPoint>> mPoints; public Dictionary<string, List<DataPoint>> Points { get { return mPoints; } set { mPoints = value; } } ...
using System.Collections.Generic; namespace WiFiDronection { public class CurrentVisualisatonData { private Dictionary<string,List<DataPoint>> m_Points; private List<float> m_HighContTime; public List<float> HighContTime { get { return m_HighContTime; } ...
apache-2.0
C#
7fa937d860f45326561c91c7af43add064db4dfb
Fix implementation for calendar-all-requests.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Requests/WithOAuth/Calendars/TraktCalendarUserRequest.cs
Source/Lib/TraktApiSharp/Requests/WithOAuth/Calendars/TraktCalendarUserRequest.cs
namespace TraktApiSharp.Requests.WithOAuth.Calendars { using Base.Get; using Extensions; using System; using System.Collections.Generic; internal abstract class TraktCalendarUserRequest<T> : TraktGetRequest<IEnumerable<T>, T> { internal TraktCalendarUserRequest(TraktClient client) : ba...
namespace TraktApiSharp.Requests.WithOAuth.Calendars { using Base.Get; using Extensions; using System; using System.Collections.Generic; internal abstract class TraktCalendarUserRequest<T> : TraktGetRequest<IEnumerable<T>, T> { internal TraktCalendarUserRequest(TraktClient client) : ba...
mit
C#
acb15ac103cd3feea7b4cccc7b9e00b9e76ce313
add IFonts
LayoutFarm/PixelFarm
a_mini/projects/PixelFarm/PixelFarm.DrawingCanvas/3_Drawing_Fonts/ITextPrinter.cs
a_mini/projects/PixelFarm/PixelFarm.DrawingCanvas/3_Drawing_Fonts/ITextPrinter.cs
////MIT, 2014-2017, WinterDev namespace PixelFarm.Drawing { public interface IFonts { float MeasureWhitespace(RequestFont f); Size MeasureString(char[] str, int startAt, int len, RequestFont font); Size MeasureString(char[] str, int startAt, int len, RequestFont font, float...
////MIT, 2014-2017, WinterDev namespace PixelFarm.Drawing.Fonts { public interface ITextPrinter { void DrawString(string text, double x, double y); void DrawString(char[] text, double x, double y); void ChangeFont(RequestFont font); void ChangeFontColor(Color fontColor)...
bsd-2-clause
C#
40a23b992159327b1d044bdd05b4feb13ff55a3e
Set cursor invisible in visual test game
paparony03/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,default0/osu-framework,paparony03/osu-framework,ppy/osu-framework,RedNesto/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,peppy...
osu.Framework.VisualTests/VisualTestGame.cs
osu.Framework.VisualTests/VisualTestGame.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Framework.Platform; using osu.Framework.Sc...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Framework.Screens.Testing; namespace osu...
mit
C#
3ff5a31def87f04ea8ceaac7a4fd351c742260a4
Update tag helper usage from upstream breaking change
mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterb...
src/Glimpse.Web.Common/ScriptInjector.cs
src/Glimpse.Web.Common/ScriptInjector.cs
using System.Text; using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Mvc.Rendering; namespace Glimpse.Web.Common { [TargetElement("body")] public class ScriptInjector : TagHelper { public override int Order => int.MaxValue; public override void Process(TagHelperContex...
using System.Text; using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Mvc.Rendering; namespace Glimpse.Web.Common { [TargetElement("body")] public class ScriptInjector : TagHelper { public override int Order => int.MaxValue; public override void Process(TagHelperContex...
mit
C#
23f1d114c70fc62cd02d89e1b6ade9e2b00de154
Bump version to 0.8.0
hydna/Hydna.NET
src/Hydna.Net/Properties/AssemblyInfo.cs
src/Hydna.Net/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("Hydna.Net")] [assembly: AssemblyDescription (".NET bindings for Hydna")] [assembly: AssemblyConfig...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("Hydna.Net")] [assembly: AssemblyDescription (".NET bindings for Hydna")] [assembly: AssemblyConfig...
mit
C#
f10823a3a14b40147c06633080e1663468859c2c
Change from optional parameter to overload
DbUp/DbUp
src/dbup-sqlserver/SqlConnectionManager.cs
src/dbup-sqlserver/SqlConnectionManager.cs
using System; using System.Collections.Generic; using System.Data.SqlClient; using DbUp.Engine.Transactions; using DbUp.Support; #if SUPPORTS_AZURE_AD using Microsoft.Azure.Services.AppAuthentication; #endif namespace DbUp.SqlServer { /// <summary> /// Manages Sql Database Connections /// </summary> p...
using System; using System.Collections.Generic; using System.Data.SqlClient; using DbUp.Engine.Transactions; using DbUp.Support; #if SUPPORTS_AZURE_AD using Microsoft.Azure.Services.AppAuthentication; #endif namespace DbUp.SqlServer { /// <summary> /// Manages Sql Database Connections /// </summary> p...
mit
C#
0b8b2627e09134cb50493afcb6e2f34687c7860f
Fix localization bug in credit card validator
roend83/FluentValidation,ruisebastiao/FluentValidation,olcayseker/FluentValidation,deluxetiky/FluentValidation,pacificIT/FluentValidation,IRlyDontKnow/FluentValidation,cecilphillip/FluentValidation,regisbsb/FluentValidation,robv8r/FluentValidation,glorylee/FluentValidation,GDoronin/FluentValidation,roend83/FluentValida...
src/FluentValidation/Validators/CreditCardValidator.cs
src/FluentValidation/Validators/CreditCardValidator.cs
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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...
apache-2.0
C#
4a62eda3bd1a085c38f156c9cdc2a90e58616cde
Make OwinRequestScopeContext.Current setter internal.
DavidLievrouw/OwinRequestScopeContext
src/OwinRequestScopeContext/OwinRequestScopeContext.cs
src/OwinRequestScopeContext/OwinRequestScopeContext.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Runtime.Remoting.Messaging; namespace DavidLievrouw.OwinRequestScopeContext { public class OwinRequestScopeContext : IOwinRequestScopeContext { const string ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Runtime.Remoting.Messaging; namespace DavidLievrouw.OwinRequestScopeContext { public class OwinRequestScopeContext : IOwinRequestScopeContext { const string ...
mit
C#
7d1f2bb4ea785d97571f423ea75b04b82eaad7b0
Add obsolete flag Fixes #394
jamesmontemagno/InAppBillingPlugin
src/Plugin.InAppBilling/Shared/PurchaseState.shared.cs
src/Plugin.InAppBilling/Shared/PurchaseState.shared.cs
using System; namespace Plugin.InAppBilling { /// <summary> /// Gets the current status of the purchase /// </summary> public enum PurchaseState { /// <summary> /// Purchased and in good standing /// </summary> Purchased = 0, /// <summary> /// Purcha...
namespace Plugin.InAppBilling { /// <summary> /// Gets the current status of the purchase /// </summary> public enum PurchaseState { /// <summary> /// Purchased and in good standing /// </summary> Purchased = 0, /// <summary> /// Purchase was canceled...
mit
C#
5dd8fb4fd9be5622650025b15406ccd2e0e35b10
replace path chars in zipfile
flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core
FlubuCore/Tasks/Packaging/UnzipTask.cs
FlubuCore/Tasks/Packaging/UnzipTask.cs
using System.IO; using System.IO.Compression; using System.Runtime.InteropServices; using FlubuCore.Context; namespace FlubuCore.Tasks.Packaging { public class UnzipTask : TaskBase<int> { private readonly string _fileName; private readonly string _destination; public UnzipTask(string ...
using System.IO; using System.IO.Compression; using FlubuCore.Context; namespace FlubuCore.Tasks.Packaging { public class UnzipTask : TaskBase<int> { private readonly string _fileName; private readonly string _destination; public UnzipTask(string zipFile, string destinationFolder) ...
bsd-2-clause
C#
0f74ff4f932a9aa4f2dc6da3ef6915d3a4e2921f
Update AssemblyInfo.cs
maliming/Abp.GeneralTree
GeneralTree/Properties/AssemblyInfo.cs
GeneralTree/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("Abp.GeneralTree")] [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("Abp.GeneralTree")] [assembly: AssemblyDes...
mit
C#
05227f66d0640b42b1172c8cc583b7ac5c2dfcb1
Fix MessageReplayerInitializerTests
Abc-Arbitrage/Zebus
src/Abc.Zebus.Persistence.Tests/Initialization/MessageReplayerInitializerTests.cs
src/Abc.Zebus.Persistence.Tests/Initialization/MessageReplayerInitializerTests.cs
using System.Threading.Tasks; using Abc.Zebus.Persistence.Initialization; using Abc.Zebus.Testing.Extensions; using Abc.Zebus.Util; using Moq; using NUnit.Framework; namespace Abc.Zebus.Persistence.Tests.Initialization { [TestFixture] public class MessageReplayerInitializerTests { private MessageR...
using System.Threading.Tasks; using Abc.Zebus.Persistence.Initialization; using Abc.Zebus.Testing.Extensions; using Abc.Zebus.Util; using Moq; using NUnit.Framework; namespace Abc.Zebus.Persistence.Tests.Initialization { [TestFixture] public class MessageReplayerInitializerTests { private MessageR...
mit
C#
a4d8b40a4ebafe3bbb42a76bbd3498226c19b192
Update version
Weingartner/XUnitRemote
XUnitRemote/Properties/AssemblyInfo.cs
XUnitRemote/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("XU...
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("XU...
mit
C#
f410843f7e2fbb8fe5203f0c0e402a6521249beb
clean up
ezaurum/dapper
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Resources; // 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("Dapper Repository...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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. [ass...
mit
C#
083af09be1a8bb50c2ad09b8a93f0b848e5ef833
Change version number
muojp/ptfluentapi-portable
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#
1d4900bfe9c392aca0ee8c72a7c572040ec2124a
add field to S_FIELD_POINT_INFO
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Parsing/Messages/S_FIELD_POINT_INFO.cs
TCC.Core/Parsing/Messages/S_FIELD_POINT_INFO.cs
using TCC.TeraCommon.Game.Messages; using TCC.TeraCommon.Game.Services; namespace TCC.Parsing.Messages { public class S_FIELD_POINT_INFO : ParsedMessage { public uint Points { get; } public uint MaxPoints { get; set; } public int Claimed { get; set; } public S_FIELD_POINT_INF...
using TCC.TeraCommon.Game.Messages; using TCC.TeraCommon.Game.Services; namespace TCC.Parsing.Messages { public class S_FIELD_POINT_INFO : ParsedMessage { public uint Points { get; } public uint MaxPoints { get; set; } public S_FIELD_POINT_INFO(TeraMessageReader reader) : base(reader...
mit
C#
8ea85ee8bb83ba3d6acb2543285db945eca4a944
set version to 0.1.1
tmds/Tmds.MDns
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
//Copyright (C) 2013 Tom Deseyn //This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //License as published by the Free Software Foundation; either //version 2.1 of the License, or (at your option) any later version. //This library is distribut...
//Copyright (C) 2013 Tom Deseyn //This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //License as published by the Free Software Foundation; either //version 2.1 of the License, or (at your option) any later version. //This library is distribut...
lgpl-2.1
C#
a1202a720722c19f86c6b93ba0171376de809ccc
Apply license terms uniformly
Weswit/Lightstreamer-example-StockList-client-silverlight,Lightstreamer/Lightstreamer-example-StockList-client-silverlight,Lightstreamer/Lightstreamer-example-StockList-client-silverlight,Weswit/Lightstreamer-example-StockList-client-silverlight
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: AssemblyTitle("Sil...
#region License /* * Copyright 2013 Weswit Srl * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
C#
3d9411aa5add9ad8e55e50315c0a558e44790fb0
Correct version and copyright.
EliotVU/Unreal-Library
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: AssemblyTitle( "U...
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( "U...
mit
C#
cacfb5128058f4c7ef330c48cac1f05792d34c06
fix flipped if clause
bradwestness/SecretSanta,bradwestness/SecretSanta
SecretSanta/Views/Home/Dashboard.cshtml
SecretSanta/Views/Home/Dashboard.cshtml
@model DashboardModel @{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <div class="row"> <div class="col-lg-6"> <h1>Welcome to Secret Santa, @Model?.DisplayName!</h1> @if (Model?.PickedAccountId is null) { <p>Looks like you haven't picked yo...
@model DashboardModel @{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <div class="row"> <div class="col-lg-6"> <h1>Welcome to Secret Santa, @Model?.DisplayName!</h1> @if (Model?.PickedAccountId is not null) { <p>Looks like you haven't picke...
apache-2.0
C#
516318e24956a5540f0a5c3ff7b214b95ca46935
Update WholeNumberDataValidation.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/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...
Examples/CSharp/Data/Processing/FilteringAndValidation/WholeNumberDataValidation.cs
Examples/CSharp/Data/Processing/FilteringAndValidation/WholeNumberDataValidation.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Processing.FilteringAndValidation { public class WholeNumberDataValidation { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Processing.FilteringAndValidation { public class WholeNumberDataValidation { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples...
mit
C#
18dbdb27ba64e05b9009a59b7a9cda385081bde8
Make Necronomicon's commands cancellable
samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/NecronomiconComponentSolver.cs
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/NecronomiconComponentSolver.cs
using System; using System.Collections; using UnityEngine; public class NecronomiconComponentSolver : ComponentSolver { public NecronomiconComponentSolver(TwitchModule module) : base(module) { _component = Module.BombComponent.GetComponent(ComponentType); selectables = Module.BombComponent.GetComponent<KMSele...
using System; using System.Collections; using UnityEngine; public class NecronomiconComponentSolver : ComponentSolver { public NecronomiconComponentSolver(TwitchModule module) : base(module) { _component = Module.BombComponent.GetComponent(ComponentType); selectables = Module.BombComponent.GetComponent<KMSele...
mit
C#
36cc85bd020227547fa7c274c43f64756b33c473
Bump to 3.0.0
clement911/ShopifySharp,nozzlegear/ShopifySharp,addsb/ShopifySharp
ShopifySharp/Properties/AssemblyInfo.cs
ShopifySharp/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("Sh...
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("Sh...
mit
C#
c7b4b7da7d5f51346ca4f7c840fb82b9967d4db8
Add API comments for address
mattgwagner/CertiPay.Payroll.Common
CertiPay.Payroll.Common/Address.cs
CertiPay.Payroll.Common/Address.cs
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CertiPay.Payroll.Common { /// <summary> /// Represents a basic address format for the United States /// </summary> [ComplexType] public class Address { // Warning: T...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CertiPay.Payroll.Common { [ComplexType] public class Address { // Warning: This is marked as a complex type, and used in several projects, so any changes will trickle down into ...
mit
C#
5fe0ff8332b4ecfe0f8eaa8d689ff195dfc4dbf1
Update Program.cs #9
tvert/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { // Code amended in GitHub // Code amended #2 in GitHub // Code amend...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { // Code amended in GitHub // Code amended #2 in GitHub // Code amend...
mit
C#
dc371c1979e5d3df409da4e4fae229d52944ae72
Include CheckBoxList in ValueListPreValueMigrator
dawoe/Umbraco-CMS,madsoulswe/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,bjarnef/Umbraco-CMS,hfloyd/Umbraco-CMS,NikRimington/Umbraco-CMS,arknu/Umbraco-CMS,madsoulswe/Umbraco-CMS,abjerner/Umbraco-CMS,NikRimington/Umbraco-CMS,arknu/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJ...
src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/DataTypes/ValueListPreValueMigrator.cs
src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/DataTypes/ValueListPreValueMigrator.cs
using System.Collections.Generic; using System.Linq; using Umbraco.Core.PropertyEditors; namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0.DataTypes { class ValueListPreValueMigrator : IPreValueMigrator { private readonly string[] _editors = { "Umbraco.RadioButtonList", ...
using System.Collections.Generic; using System.Linq; using Umbraco.Core.PropertyEditors; namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0.DataTypes { class ValueListPreValueMigrator : IPreValueMigrator { private readonly string[] _editors = { "Umbraco.RadioButtonList", ...
mit
C#
9358a0e4793b9e2c528017355ae7bb0c82e1275a
Add warning about no edit/delete
mattgwagner/alert-roster
alert-roster.web/Views/Home/New.cshtml
alert-roster.web/Views/Home/New.cshtml
@model alert_roster.web.Models.Message @{ ViewBag.Title = "Post New Message"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm("New", "Home", FormMethod.Post)) { @Html.AntiForgeryToken() <div class="form-horizontal"> <hr /> @Html.ValidationSummary(true) <div class="alert alert-...
@model alert_roster.web.Models.Message @{ ViewBag.Title = "Post New Message"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm("New", "Home", FormMethod.Post)) { @Html.AntiForgeryToken() <div class="form-horizontal"> <hr /> @Html.ValidationSummary(true) <div class="alert alert-...
mit
C#
602bd3d89a8a732ad0abcc39bbfce494db95b6b7
Optimize FutureProof to not load when the version is up to date
Yonom/BotBits
BotBits/Packages/Login/Client/FutureProofLoginClient.cs
BotBits/Packages/Login/Client/FutureProofLoginClient.cs
using System.Threading.Tasks; using EE.FutureProof; using JetBrains.Annotations; using PlayerIOClient; namespace BotBits { public class FutureProofLoginClient : LoginClient { private const int CurrentVersion = 218; public FutureProofLoginClient([NotNull] ConnectionManager connectionMa...
using System.Threading.Tasks; using EE.FutureProof; using JetBrains.Annotations; using PlayerIOClient; namespace BotBits { public class FutureProofLoginClient : LoginClient { private const int CurrentVersion = 218; public FutureProofLoginClient([NotNull] ConnectionManager connectionMa...
mit
C#
70d7231238f4b1a69f38136d479f6b794aa27417
Fix not pasting stats with no boss name available.
Gl0/CasualMeter
CasualMeter.Common/Formatters/DamageTrackerFormatter.cs
CasualMeter.Common/Formatters/DamageTrackerFormatter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CasualMeter.Common.Helpers; using Tera.DamageMeter; namespace CasualMeter.Common.Formatters { public class DamageTrackerFormatter : Formatter { public DamageTrackerFormatter(Damage...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CasualMeter.Common.Helpers; using Tera.DamageMeter; namespace CasualMeter.Common.Formatters { public class DamageTrackerFormatter : Formatter { public DamageTrackerFormatter(Damage...
mit
C#
54ffb405ea34cb2152545520834416ece49f3238
Set Read timeout
mbenford/dreamcheeky-big-red-button-dotnet
DreamCheeky.BigRedButton/Device.cs
DreamCheeky.BigRedButton/Device.cs
using System; using System.Linq; using HidLibrary; namespace DreamCheeky { class Device : IDisposable { private readonly byte[] statusCommand = { 0, 0, 0, 0, 0, 0, 0, 0, 2 }; private readonly int vendorId = 0x1D34; private readonly int productId = 0x000D; private readonly HidD...
using System; using System.Linq; using HidLibrary; namespace DreamCheeky { class Device : IDisposable { private readonly byte[] statusCommand = { 0, 0, 0, 0, 0, 0, 0, 0, 2 }; private readonly int vendorId = 0x1D34; private readonly int productId = 0x000D; private readonly HidD...
mit
C#
5e1b4251b2e517c3318d09bd79a1b2b3745f0512
Update ExtensionMethods.cs
unruledboy/SharpDups
Infrastructure/ExtensionMethods.cs
Infrastructure/ExtensionMethods.cs
using System; using System.Collections.Generic; namespace Xnlab.SharpDups.Infrastructure { public static class ExtensionMethods { public static IEnumerable<IEnumerable<T>> Section<T>(this IEnumerable<T> source, int length) { if (length <= 0) throw new ArgumentOutOfRangeException("length"); ...
using System; using System.Collections.Generic; namespace Xnlab.SharpDups.Infrastructure { public static class ExtensionMethods { public static IEnumerable<IEnumerable<T>> Section<T>(this IEnumerable<T> source, int length) { if (length <= 0) throw new Argu...
apache-2.0
C#
16877fe4c998977642496ee3bd605148f1098fea
remove return url bits from the social login, it doesn't work yet
AAPT/jean0226case1322,JabbR/JabbR,JabbR/JabbR,lukehoban/JabbR,M-Zuber/JabbR,AAPT/jean0226case1322,SonOfSam/JabbR,mzdv/JabbR,timgranstrom/JabbR,SonOfSam/JabbR,borisyankov/JabbR,lukehoban/JabbR,18098924759/JabbR,CrankyTRex/JabbRMirror,huanglitest/JabbRTest2,LookLikeAPro/JabbR,huanglitest/JabbRTest2,yadyn/JabbR,huanglites...
JabbR/Views/Account/_social.cshtml
JabbR/Views/Account/_social.cshtml
@using System; @using System.Linq; @using JabbR; @using JabbR.Infrastructure; @using JabbR.Models; @using JabbR.ViewModels; @using Nancy; @using Nancy.Helpers; @model SocialLoginViewModel <div class="control-group"> <div class="controls"> <form action="@Url.Content("~/account/unlink")" method="...
@using System; @using System.Linq; @using JabbR; @using JabbR.Infrastructure; @using JabbR.Models; @using JabbR.ViewModels; @using Nancy; @using Nancy.Helpers; @model SocialLoginViewModel @{ var returnUrl = HttpUtility.UrlEncode(Html.RenderContext.Context.Request.Path); } <div class="control-group"> <d...
mit
C#
ae386154fa754d3f2d86c58203c1cd9493afc2b4
Fix wrong setting check for !retry
CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/Commanders/PostGameCommander.cs
TwitchPlaysAssembly/Src/Commanders/PostGameCommander.cs
using System.Collections; using UnityEngine; public class PostGameCommander : ICommandResponder { #region Constructors public PostGameCommander(ResultPage resultsPage) { ResultsPage = resultsPage; } #endregion #region Interface Implementation public IEnumerator RespondToCommand(st...
using System.Collections; using UnityEngine; public class PostGameCommander : ICommandResponder { #region Constructors public PostGameCommander(ResultPage resultsPage) { ResultsPage = resultsPage; } #endregion #region Interface Implementation public IEnumerator RespondToCommand(st...
mit
C#
d22e1567661e17b1b835baf124d53f5cbfd9e49f
Update nuget package version
lfreneda/SimpleAmazonSQS
src/SimpleAmazonSQS/Properties/AssemblyInfo.cs
src/SimpleAmazonSQS/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("Si...
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("Si...
mit
C#
932de1f6eb9600cc2758cf510a2a41503301b135
tidy up
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipCreateOrEdit/ApprenticeshipValidationTestBase.cs
src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipCreateOrEdit/ApprenticeshipValidationTestBase.cs
using System; using Moq; using NUnit.Framework; using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces; using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services; using SFA.DAS.ProviderApprenticeshipsService.Web.Models; using SFA.DAS.ProviderApprenticeshipsService.Web.Validation; using SFA.DAS.Provi...
using System; using Moq; using NUnit.Framework; using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces; using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services; using SFA.DAS.ProviderApprenticeshipsService.Web.Models; using SFA.DAS.ProviderApprenticeshipsService.Web.Validation; using SFA.DAS.Provi...
mit
C#
da61584ee8352aedc0ab6051a9f8595ce2369724
Update canvas to use IWpfWidget
directhex/xwt,antmicro/xwt,iainx/xwt,mminns/xwt,hamekoz/xwt,residuum/xwt,mono/xwt,cra0zy/xwt,hwthomas/xwt,TheBrainTech/xwt,sevoku/xwt,lytico/xwt,mminns/xwt,steffenWi/xwt,akrisiun/xwt
Xwt.WPF/Xwt.WPFBackend/ExCanvas.cs
Xwt.WPF/Xwt.WPFBackend/ExCanvas.cs
// // ExCanvas.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, inc...
// // ExCanvas.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, inc...
mit
C#
3306cc25a8f8ffc23ce2bee33d077173f4d03041
Add Point.RotateAround
SaberSnail/GoldenAnvil.Utility
GoldenAnvil.Utility.Windows/PointUtility.cs
GoldenAnvil.Utility.Windows/PointUtility.cs
using System; using System.Windows; namespace GoldenAnvil.Utility.Windows { public static class PointUtility { public static Point WithOffset(this Point point, Point that) { return new Point(point.X + that.X, point.Y + that.Y); } public static double DistanceTo(this Point point, Point target) { var...
using System; using System.Windows; namespace GoldenAnvil.Utility.Windows { public static class PointUtility { public static Point WithOffset(this Point point, Point that) { return new Point(point.X + that.X, point.Y + that.Y); } public static double DistanceTo(this Point point, Point target) { var...
mit
C#
c69d7c185ecee08b912198ece5ab85e02283907b
use IsNull
the-ress/HarshPoint,NaseUkolyCZ/HarshPoint,HarshPoint/HarshPoint
HarshPoint/Provisioning/HarshContentType.cs
HarshPoint/Provisioning/HarshContentType.cs
using Microsoft.SharePoint.Client; using System; using System.Threading.Tasks; namespace HarshPoint.Provisioning { public class HarshContentType : HarshProvisioner { public String Description { get; set; } public String Group { get; ...
using Microsoft.SharePoint.Client; using System; using System.Threading.Tasks; namespace HarshPoint.Provisioning { public class HarshContentType : HarshProvisioner { public String Description { get; set; } public String Group { get; ...
bsd-2-clause
C#
074de6dd793d90061997f2ac8f9f0c8e1fdacdb8
Update to 2.0.0
GMJS/gmjs_ocs_dpt
IPOCS_Programmer/Properties/AssemblyInfo.cs
IPOCS_Programmer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
d808201e8fb33c3cc7c81b5730baec4446d9a3e3
Fix use of `ContinueHandlerBase` (has `Base` suffix now)
PowerShell/PowerShellEditorServices
src/PowerShellEditorServices/Services/DebugAdapter/Handlers/DebuggerActionHandlers.cs
src/PowerShellEditorServices/Services/DebugAdapter/Handlers/DebuggerActionHandlers.cs
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.PowerShell.EditorServices.Services; using...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.PowerShell.EditorServices.Services; using...
mit
C#
ad5a0a3f62e517f6842b0465f7d31b661e232c4b
Add ColorX.ToArgb extension method.
eylvisaker/AgateLib
AgateLib.UnitTests/Display/ColorXTests.cs
AgateLib.UnitTests/Display/ColorXTests.cs
using AgateLib.Display; using FluentAssertions; using Microsoft.Xna.Framework; using Xunit; namespace AgateLib.Tests.Display { public class ColorXTests { [Fact] public void ToArgb() { var clr = new Color(0x12, 0x34, 0x56, 078); clr.ToArgb().Should().Be("1234567...
using AgateLib.Display; using FluentAssertions; using Microsoft.Xna.Framework; using Xunit; namespace AgateLib.Tests.Display { public class ColorXTests { [Fact] public void ToArgb() { var clr = new Color(0x12, 0x34, 0x56, 0x78); clr.ToArgb().Should().Be("781234...
mit
C#
27abb6e0100a0d6486e01feebbd47a1a4a10e26b
add feature proposal
amiralles/contest,amiralles/contest
src/Contest.Bugs/DuplicateSetups.cs
src/Contest.Bugs/DuplicateSetups.cs
using _ = System.Action<Contest.Core.Runner>; using static System.Console; /* class feature_proposal { // runs only once before any test within the containing class. _ before_any = test => { ; }; // runs only once per class upon fixture completion. _ after_all = test => {; }; } */ class fixure_wide_setup_te...
using _ = System.Action<Contest.Core.Runner>; using static System.Console; class fixure_wide_setup_teardown { _ before_each = test => { WriteLine(">>>> fixture setup"); }; _ after_each = test => { WriteLine(">>>> fixture teardown"); }; _ foo = assert => assert.Pass(); _ bar = assert => assert.Pass(); } class...
mit
C#
8f25b0acc398af1d138d676c0dabfa016d36e61b
Update confusing GitVersionVerbosity docs
cake-build/cake,mholo65/cake,devlead/cake,mholo65/cake,devlead/cake,patriksvensson/cake,gep13/cake,cake-build/cake,patriksvensson/cake,gep13/cake
src/Cake.Common/Tools/GitVersion/GitVersionVerbosity.cs
src/Cake.Common/Tools/GitVersion/GitVersionVerbosity.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 Cake.Common.Tools.GitVersion { /// <summary> /// The GitVersion verbosity. /// </summary> ...
// 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 Cake.Common.Tools.GitVersion { /// <summary> /// The GitVersion verbosity. /// </summary> ...
mit
C#
1d831467b5238b19c16541c4ac839dc7593ee7cd
fix position bouton jouer
dethi/troma
src/Arrow/Arrow/Menu/MenuStart.cs
src/Arrow/Arrow/Menu/MenuStart.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Arrow { class MenuStart : Menu { public bool GameStart { get; private set; } private Rectangle rectangle; Texture2D fo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Arrow { class MenuStart : Menu { public bool GameStart { get; private set; } private Rectangle rectangle; Texture2D fo...
mit
C#
44e059061365ad21fb624792bdaa8e33f9722bc0
Throw exception on unsupported exception
mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard
src/Okanshi.Dashboard/GetMetrics.cs
src/Okanshi.Dashboard/GetMetrics.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Okanshi.Dashboard.Models; namespace Okanshi.Dashboard { public interface IGetMetrics { IEnumerable<Metric> Execute(string instanceName); } public class GetMetrics : IGet...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Okanshi.Dashboard.Models; namespace Okanshi.Dashboard { public interface IGetMetrics { IEnumerable<Metric> Execute(string instanceName); } public class GetMetrics : IGet...
mit
C#
f4c089d2920c518d9d8159b6e3b4814d3a3fb4b8
add more tests
martinlindhe/Punku
PunkuTests/Extensions/StringExtensions.cs
PunkuTests/Extensions/StringExtensions.cs
using System; using NUnit.Framework; using Punku; [TestFixture] [Category ("Extensions")] public class Extensions_String { [Test] public void Repeat01 () { Assert.AreEqual ("hej".Repeat (2), "hejhej"); } [Test] public void Repeat02 () { Assert.AreEqual ("häj".Repeat (2), "häjhäj"); } [Test] public voi...
using System; using NUnit.Framework; using Punku; [TestFixture] [Category ("Extensions")] public class Extensions_String { [Test] public void Repeat01 () { Assert.AreEqual ("hej".Repeat (2), "hejhej"); } [Test] public void Repeat02 () { Assert.AreEqual ("häj".Repeat (2), "häjhäj"); } [Test] public voi...
mit
C#
6d35dce2182f2662bb73f1bd15bbecb733f78d7c
Update Ignored attribute on Person in Android playground
Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet
Tests/Playground.XamarinAndroid/Person.cs
Tests/Playground.XamarinAndroid/Person.cs
/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ using System; using RealmNet; namespace Playground.XamarinAndroid { public class Person : RealmObject { // Automatically implemented (overridden) properties public string FirstName { get; set; } pub...
/* Copyright 2015 Realm Inc - All Rights Reserved * Proprietary and Confidential */ using System; using RealmNet; namespace Playground.XamarinAndroid { public class Person : RealmObject { // Automatically implemented (overridden) properties public string FirstName { get; set; } pub...
apache-2.0
C#
e1910eb3c45d7e17a27e92cc7549b9b6f508277c
Remove specifying working directory by hand
cmr/VisualRust,vadimcn/VisualRust,Stitchous/VisualRust,xilec/VisualRust,Boddlnagg/VisualRust,Muraad/VisualRust,Muraad/VisualRust,vosen/VisualRust,drewet/VisualRust,tempbottle/VisualRust,PistonDevelopers/VisualRust,tempbottle/VisualRust,vosen/VisualRust,dlsteuer/VisualRust,PistonDevelopers/VisualRust,yacoder/VisualRust,...
VisualRust.Project/DefaultRustLauncher.cs
VisualRust.Project/DefaultRustLauncher.cs
using System; using System.Diagnostics; using System.IO; using Microsoft.VisualStudio; using Microsoft.VisualStudioTools; using Microsoft.VisualStudioTools.Project; namespace VisualRust.Project { /// <summary> /// Simple realization of project launcher for executable file /// TODO need realize for library...
using System; using System.Diagnostics; using System.IO; using Microsoft.VisualStudio; using Microsoft.VisualStudioTools; using Microsoft.VisualStudioTools.Project; namespace VisualRust.Project { /// <summary> /// Simple realization of project launcher for executable file /// TODO need realize for library...
mit
C#
18b9a7fc9d05920547b1770da88f18cb4b572e57
Add tests to Common\Infrastructure\tests for TestProperties
imcarolwang/wcf,hongdai/wcf,khdang/wcf,mconnew/wcf,iamjasonp/wcf,StephenBonikowsky/wcf,hongdai/wcf,ericstj/wcf,shmao/wcf,imcarolwang/wcf,zhenlan/wcf,zhenlan/wcf,imcarolwang/wcf,mconnew/wcf,dotnet/wcf,dotnet/wcf,dotnet/wcf,ericstj/wcf,StephenBonikowsky/wcf,iamjasonp/wcf,KKhurin/wcf,shmao/wcf,ElJerry/wcf,KKhurin/wcf,Matt...
src/System.Private.ServiceModel/tests/Common/Infrastructure/tests/TestPropertiesTest.cs
src/System.Private.ServiceModel/tests/Common/Infrastructure/tests/TestPropertiesTest.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using Infrastructure.Common; using Xunit; public static class TestPropertiesTest { [Fact] p...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using Infrastructure.Common; using Xunit; public static class TestPropertiesTest { [Fact] p...
mit
C#
e0fb9a48f36a28b454b2ddc518b0cdc665596fe5
Fix parsing of mono-service's own arguments by ignoring them during command line arguments parsing.
pruiz/Topshelf.Linux,NoesisLabs/Topshelf.Linux
Topshelf.Linux/MonoHelper.cs
Topshelf.Linux/MonoHelper.cs
#region license // Copyright 2013 - Pablo Ruiz Garcia <pablo.ruiz at gmail.com> // // 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...
#region license // Copyright 2013 - Pablo Ruiz Garcia <pablo.ruiz at gmail.com> // // 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...
apache-2.0
C#
c09f97e8cece43b47b2e1a31e5f6c951091d21cf
Update src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_updating_TextBox_value.cs
dennisroche/TestStack.Seleno,dennisroche/TestStack.Seleno,random82/TestStack.Seleno,bendetat/TestStack.Seleno,random82/TestStack.Seleno,TestStack/TestStack.Seleno,bendetat/TestStack.Seleno,TestStack/TestStack.Seleno
src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_updating_TextBox_value.cs
src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_updating_TextBox_value.cs
using System; using System.Globalization; using NSubstitute; using TestStack.Seleno.PageObjects.Controls; namespace TestStack.Seleno.Tests.PageObjects.Actions.Controls { class When_updating_TextBox_value : HtmlControlSpecificationFor<TextBox> { private static readonly DateTime _the03rdOfJanuary2012At21...
using System; using NSubstitute; using TestStack.Seleno.PageObjects.Controls; namespace TestStack.Seleno.Tests.PageObjects.Actions.Controls { class When_updating_TextBox_value : HtmlControlSpecificationFor<TextBox> { private static readonly DateTime _the03rdOfJanuary2012At21h21 = new DateTime(2012, 01,...
mit
C#
e59e93941eb77e6e9a8de9bc7e1fe32d2fe6ffaa
use normalized point to display correct lat/lon
AkshayHarshe/arcgis-runtime-samples-dotnet,Esri/arcgis-runtime-samples-dotnet,Esri/arcgis-runtime-samples-dotnet,Tyshark9/arcgis-runtime-samples-dotnet,sharifulgeo/arcgis-runtime-samples-dotnet,Esri/arcgis-runtime-samples-dotnet,Arc3D/arcgis-runtime-samples-dotnet
src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/Geometry/ProjectCoordinate.xaml.cs
src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/Geometry/ProjectCoordinate.xaml.cs
using Esri.ArcGISRuntime.Controls; using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.Layers; using System; using System.Threading.Tasks; using Windows.UI.Popups; using Windows.UI.Xaml; namespace ArcGISRuntimeSDKDotNet_PhoneSamples.Samples { /// <summary> /// Sample shows how to project a coordinate from t...
using Esri.ArcGISRuntime.Controls; using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.Layers; using System; using System.Threading.Tasks; using Windows.UI.Popups; using Windows.UI.Xaml; namespace ArcGISRuntimeSDKDotNet_PhoneSamples.Samples { /// <summary> /// Sample shows how to project a coordinate from t...
apache-2.0
C#
70e6d2194009336b976cd612ec4168604433c1c3
Improve tests for RequestTracingMiddleware
alexanderkozlenko/oads,alexanderkozlenko/oads
src/WebTools.MicrosoftOffice.AddinHost.IntegrationTests/RequestTracingMiddlewareTests.cs
src/WebTools.MicrosoftOffice.AddinHost.IntegrationTests/RequestTracingMiddlewareTests.cs
using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using WebTools.Mi...
using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using WebTools.MicrosoftOffice.AddinHost.Mi...
mit
C#
0bda43d026e56fb6399dc301579f5664455d95af
Change names
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Objects/Research/Artifacts/Effects/TelepaticArtifactEffect.cs
UnityProject/Assets/Scripts/Objects/Research/Artifacts/Effects/TelepaticArtifactEffect.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using Random = UnityEngine.Random; /// <summary> /// This artifact sends telepatic messages /// </summary> public class TelepaticArtifactEffect : ArtifactEffect { [Tooltip("How far artifact sends telepatic...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using Random = UnityEngine.Random; /// <summary> /// This artifact sends telepatic messages /// </summary> public class TelepaticArtifactEffect : ArtifactEffect { [Tooltip("How far artifact sends telepatic...
agpl-3.0
C#
26ad79b393408aec589e90c229507d1188f7679a
Embed these tests classes in the test that needs them.
darrencauthon/AutoMoq,darrencauthon/AutoMoq,darrencauthon/AutoMoq
src/AutoMoq.Tests/CallingCreateTwice.cs
src/AutoMoq.Tests/CallingCreateTwice.cs
using Microsoft.Practices.Unity; using Moq; using NUnit.Framework; namespace AutoMoq.Tests { [TestFixture] public class CallingCreateTwice { [Test] public void can_create_parent_object_when_setInstance_is_called_on_child() { var autoMoq = new AutoMoqer(); /...
using Microsoft.Practices.Unity; using Moq; using NUnit.Framework; namespace AutoMoq.Tests { [TestFixture] public class CallingCreateTwice { [Test] public void can_create_parent_object_when_setInstance_is_called_on_child() { var autoMoq = new AutoMoqer(); /...
mit
C#
2dd1c9bfd10e716dd5ea63147a335c457e861f29
Update Startup.cs
filipw/Strathweb.TypedRouting.AspNetCore
sample/Demo/Startup.cs
sample/Demo/Startup.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Strathweb.TypedRouting.AspNetCor...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Strathweb.TypedRouting.AspNetCor...
mit
C#
d388aa58c8b8e15d9d0c3eb0a018fcf13670ad9f
Remove caching from QueryStringValueProviderFactory Fixes #2258
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Mvc.ModelBinding/ValueProviders/QueryStringValueProviderFactory.cs
src/Microsoft.AspNet.Mvc.ModelBinding/ValueProviders/QueryStringValueProviderFactory.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Globalization; using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc.ModelBinding { /// <summary> //...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Globalization; using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Mvc.ModelBinding { public class QuerySt...
apache-2.0
C#
e8bc8981c262d1d3ff3e946a653d1e4e8c764715
Fix encoding problem
k94ll13nn3/Strinken
src/Strinken/Properties/AssemblyInfo.cs
src/Strinken/Properties/AssemblyInfo.cs
// <auto-generated/> using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Strinken.Tests")] [assembly: AssemblyCompany("k94ll13nn3")] [assembly: AssemblyCopyright("Copyright © k94ll13nn3")] [assembly: ...
// <auto-generated/> using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Strinken.Tests")] [assembly: AssemblyCompany("k94ll13nn3")] [assembly: AssemblyCopyright("Copyright k94ll13nn3")] [assembly: A...
mit
C#
e25d046758222234049323a9adda045683916fde
Fix assembly info.
e-rik/XRoadLib,e-rik/XRoadLib,janno-p/XRoadLib
src/XRoadLib/Properties/AssemblyInfo.cs
src/XRoadLib/Properties/AssemblyInfo.cs
// <auto-generated/> using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitleAttribute("XRoadLib")] [assembly: AssemblyProductAttribute("XRoadLib")] [assembly: AssemblyDescriptionAttribute("A .NET library for implementing service interfaces of X-Road providers using Code-First Developm...

mit
C#
ffdedad0f23e90b40af110ac8fbe6cfb068cce24
Add DeleteTrigger test
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
IntegrationEngine.Tests/Scheduler/EngineSchedulerTest.cs
IntegrationEngine.Tests/Scheduler/EngineSchedulerTest.cs
using IntegrationEngine.Scheduler; using Moq; using NUnit.Framework; using Quartz; using System; using System.Collections.Generic; namespace IntegrationEngine.Tests.Scheduler { public class EngineSchedulerTest { [Test] public void ShouldDeleteTrigger() { var jobType = typeo...
using IntegrationEngine.Scheduler; using NUnit.Framework; using Quartz.Impl; using System; using System.Collections.Generic; namespace IntegrationEngine.Tests.Scheduler { public class EngineSchedulerTest { [Test] public void ShouldDeleteTrigger() { var jobType = typeof(Inte...
mit
C#
a3cc06bd5c21b5edd184db0c63546877c4c20529
Add remote commands
martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager
MediaManager/Platforms/Ios/MediaManagerImplementation.cs
MediaManager/Platforms/Ios/MediaManagerImplementation.cs
using MediaPlayer; using UIKit; namespace MediaManager { [Foundation.Preserve(AllMembers = true)] public class MediaManagerImplementation : AppleMediaManagerBase<MediaManager.Platforms.Ios.Media.MediaPlayer> { public MediaManagerImplementation() { UIApplication.SharedApplicatio...
namespace MediaManager { [Foundation.Preserve(AllMembers = true)] public class MediaManagerImplementation : AppleMediaManagerBase<MediaManager.Platforms.Ios.Media.MediaPlayer> { public MediaManagerImplementation() { } } }
mit
C#
8b3a5665e9831e6ba05739ab88d3b45409f4f4a0
add [required] on ViewModel
hatelove/MyMvcHomework,hatelove/MyMvcHomework,hatelove/MyMvcHomework
MyMoney/MyMoney/Models/ViewModels/AccountingViewModel.cs
MyMoney/MyMoney/Models/ViewModels/AccountingViewModel.cs
using MyMoney.Models.Enums; using System; using System.ComponentModel.DataAnnotations; namespace MyMoney.Models.ViewModels { public class AccountingViewModel { [Display(Name = "金額")] [DisplayFormat(DataFormatString = "{0:N0}")] [Required] public int Amount { get; set; } ...
using MyMoney.Models.Enums; using System; using System.ComponentModel.DataAnnotations; namespace MyMoney.Models.ViewModels { public class AccountingViewModel { [Display(Name = "金額")] [DisplayFormat(DataFormatString = "{0:N0}")] public int Amount { get; set; } [Display(Name = "...
mit
C#
22e6e4186f51d070351360ecc6de1458c13bce95
Update XML doc comment
jorik041/dnlib,modulexcite/dnlib,ZixiangBoy/dnlib,0xd4d/dnlib,ilkerhalil/dnlib,picrap/dnlib,yck1509/dnlib,kiootic/dnlib,Arthur2e5/dnlib
src/DotNet/Writer/IChunk.cs
src/DotNet/Writer/IChunk.cs
using System.IO; using dot10.IO; using dot10.PE; namespace dot10.DotNet.Writer { /// <summary> /// Data that gets written to the file /// </summary> public interface IChunk { /// <summary> /// Gets the file offset. This is valid only after <see cref="SetOffset"/> has been called. /// </summary> FileOffset...
using System.IO; using dot10.IO; using dot10.PE; namespace dot10.DotNet.Writer { /// <summary> /// Data that gets written to the file /// </summary> public interface IChunk { /// <summary> /// Gets the file offset. This is valid only after <see cref="SetOffset"/> has been called. /// </summary> FileOffset...
mit
C#
4213dde00547a60ad82fbe587e5ff7b2d45cad7d
Update comment for ClearMessages request
BrianMcBrayer/BasicAzureStorageSDK,tarwn/BasicAzureStorageSDK
Basic.Azure.Storage/Communications/QueueService/MessageOperations/ClearMessageRequest.cs
Basic.Azure.Storage/Communications/QueueService/MessageOperations/ClearMessageRequest.cs
using Basic.Azure.Storage.Communications.Core; using Basic.Azure.Storage.Communications.Core.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Basic.Azure.Storage.Communications.QueueService.MessageOperations { /// <summary> ...
using Basic.Azure.Storage.Communications.Core; using Basic.Azure.Storage.Communications.Core.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Basic.Azure.Storage.Communications.QueueService.MessageOperations { /// <summary> ...
bsd-3-clause
C#
b99f6cdbc168f9a1fc2fa4bbf0252116510a1238
allow long urls on admin
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Admin/Program.cs
src/Admin/Program.cs
using Bit.Core.Utilities; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Serilog.Events; namespace Bit.Admin { public class Program { public static void Main(string[] args) { WebHost .CreateDefaultBuilder(args) .ConfigureKestre...
using Bit.Core.Utilities; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Serilog.Events; namespace Bit.Admin { public class Program { public static void Main(string[] args) { WebHost .CreateDefaultBuilder(args) .UseStartup<Star...
agpl-3.0
C#
9750fdab4dacfcb10fbae8dea824d708aa471efb
cover ensure
aritters/Ritter,arsouza/Aritter,arsouza/Aritter
tests/Infra.Crosscutting.Tests/Ensuring/Ensure_That.cs
tests/Infra.Crosscutting.Tests/Ensuring/Ensure_That.cs
using System; using FluentAssertions; using Xunit; namespace Ritter.Infra.Crosscutting.Tests.Ensuring { public class Ensure_That { [Fact] public void ThrowExceptionGivenFalse() { Action act = () => Ensure.That(false); act.Should().Throw<Exception>().And.Message.S...
using System; using FluentAssertions; using Xunit; namespace Ritter.Infra.Crosscutting.Tests.Ensuring { public class Ensure_That { [Fact] public void ThrowExceptionGivenFalse() { Action act = () => Ensure.That(false); act.Should().Throw<Exception>().And.Message.S...
mit
C#
4342789dd4b6eba8f79fd038942f7605d0197525
Fix interval node interface
DMagic1/KSP_Contract_Window
Source/ContractsWindow.Unity/Interfaces/IIntervalNode.cs
Source/ContractsWindow.Unity/Interfaces/IIntervalNode.cs
using System; using System.Collections.Generic; namespace ContractsWindow.Unity.Interfaces { public interface IIntervalNode { bool IsReached { get; } int Intervals { get; } int NodeInterval { get; } string NodeTitle { get; } string NodeValue(int i); string RewardText(int i); } }
using System; using System.Collections.Generic; namespace ContractsWindow.Unity.Interfaces { public interface IIntervalNode { string NodeTitle { get; } string NodeValue { get; } string NodeOrder { get; } string RewardText { get; } } }
mit
C#
1a3679b8b938c2a976538c345cb29e3fcbda7d7c
Fix exception handling on .NET Native.
dermeister0/TimesheetParser,dermeister0/TimesheetParser
Source/TimesheetParser.Win10/Services/PasswordService.cs
Source/TimesheetParser.Win10/Services/PasswordService.cs
using System; using System.Linq; using Windows.Security.Credentials; using TimesheetParser.Business.Services; namespace TimesheetParser.Win10.Services { internal class PasswordService : IPasswordService { private readonly string pluginName; private readonly PasswordVault vault = new PasswordVa...
using System; using System.Linq; using System.Runtime.InteropServices; using Windows.Security.Credentials; using TimesheetParser.Business.Services; namespace TimesheetParser.Win10.Services { internal class PasswordService : IPasswordService { private readonly string pluginName; private readonl...
mit
C#
51d17ce1be8908001c2f0d5997d09b3d1cbdf386
Fix silly whitespace.
patridge/XamarinForms-Tabs-Demo
SwitchingTabbedPageDemo/SwitchingTabbedPageDemo/Page2.cs
SwitchingTabbedPageDemo/SwitchingTabbedPageDemo/Page2.cs
using Xamarin.Forms; namespace SwitchingTabbedPageDemo { public class Page2 : ContentPage { public Page2() { var label = new Label { Text = "Hello ContentPage 2" }; Device.OnPlatform( iOS: () => { var parentTabbedPage = this.ParentTabbedPage() as MainTabbedPage; if (parentTabbedPage != null) { ...
using Xamarin.Forms; namespace SwitchingTabbedPageDemo { public class Page2 : ContentPage { public Page2() { var label = new Label { Text = "Hello ContentPage 2" }; Device.OnPlatform( iOS: () => { var parentTabbedPage = this.ParentTabbedPage() as MainTabbedPage; if (parentT...
mit
C#
7ca2a7904d4d56f68589f58ab0f0c1343ad021c4
Undo c: reference in sample app
AzureAD/azure-activedirectory-library-for-dotnet
devApps/AdalDesktopTestApp/FileCache.cs
devApps/AdalDesktopTestApp/FileCache.cs
using Microsoft.IdentityModel.Clients.ActiveDirectory; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace AdalDesktopTestApp { internal class FileCache : TokenCache { public ...
using Microsoft.IdentityModel.Clients.ActiveDirectory; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace AdalDesktopTestApp { internal class FileCache : TokenCache { public ...
mit
C#
1d0e00ab01780d508a536f10bc805d1b57a1fda2
Update Program.cs
relianz/s2i-aspnet-example,relianz/s2i-aspnet-example,relianz/s2i-aspnet-example
app/Program.cs
app/Program.cs
using System.IO; // Directory. using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace WebApplication { public class Program { public static void Main(string[] args) { var config = new ConfigurationBuild...
// using System.Linq; // using System.Threading.Tasks; // using System; using System.IO; // using System.Collections.Generic; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace WebApplication { public class Program { ...
apache-2.0
C#
adfc0937cb4d369a37e6d3c10b6fddcbf610b9b5
comment added on github.com
merrillorg/history,merrillorg/history
Meiot.Library/Class1.cs
Meiot.Library/Class1.cs
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Meiot.Library { public class Class1 { private readonly DataSet someDataSet; public Class1() { //Adding this comment on github.com...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Meiot.Library { public class Class1 { private readonly DataSet someDataSet; public Class1() { someDataSet = new DataSet(); ...
mit
C#
445401d3d1d58a7082742426c33e8c467ec68d6b
Update Program.cs
gregyjames/OctaneDownloader
OctaneTester/Program.cs
OctaneTester/Program.cs
using System; using System.IO; using System.Threading; using OctaneDownloadEngine; using System.Xml; using System.Xml.Linq; using System.Xml.Serialization; namespace OctaneDownloadEngine { internal static class Program { private static void Main() { var xmlDoc = new Xm...
using OctaneDownloadEngine; namespace OctaneDownloadEngine { internal static class Program { private static void Main() { const string url = "https://az764295.vo.msecnd.net/stable/d5e9aa0227e057a60c82568bf31c04730dc15dcd/VSCodeUserSetup-x64-1.47.0.exe"; Octan...
mit
C#
0ff9a4142015d5d53dc3a21b373bf834f8bfbbc5
update db context
army-of-two/when-its-done,army-of-two/when-its-done,army-of-two/when-its-done
WhenItsDone/Lib/WhenItsDone.Data/WhenItsDoneDbContext.cs
WhenItsDone/Lib/WhenItsDone.Data/WhenItsDoneDbContext.cs
using System.Data.Entity; using WhenItsDone.Data.Contracts; using WhenItsDone.Data.Factories; using WhenItsDone.Models; namespace WhenItsDone.Data { public class WhenItsDoneDbContext : DbContext, IWhenItsDoneDbContext { private IStatefulFactory statefulFactory; public WhenItsDoneDbContext(ISt...
using System.Data.Entity; using WhenItsDone.Data.Contracts; using WhenItsDone.Data.Factories; using WhenItsDone.Models; namespace WhenItsDone.Data { public class WhenItsDoneDbContext : DbContext, IWhenItsDoneDbContext { private IStatefulFactory statefulFactory; public WhenItsDoneDbContext(ISt...
mit
C#
727d32c404bbead0fe35d81bf9c525405b045b27
use AppendOptional in Examples
acple/ParsecSharp
ParsecSharp.Examples/ReversePolishCalculator.cs
ParsecSharp.Examples/ReversePolishCalculator.cs
using System; using static ParsecSharp.Parser; using static ParsecSharp.Text; namespace ParsecSharp.Examples { // 逆ポーランド記法の式をパーサで計算してみるネタ public static class ReversePolishCalculator { // 整数または小数にマッチし、double にして返す private static readonly Parser<char, double> Number = Optional(One...
using System; using static ParsecSharp.Parser; using static ParsecSharp.Text; namespace ParsecSharp.Examples { // 逆ポーランド記法の式をパーサで計算してみるネタ public static class ReversePolishCalculator { // 整数または小数にマッチし、double にして返す private static readonly Parser<char, double> Number = Optional(One...
mit
C#
1de84e1c9806beb54eaae23b415cc2279c8a38be
Change description to include mention of video
smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu
osu.Game/Screens/Edit/Setup/DesignSection.cs
osu.Game/Screens/Edit/Setup/DesignSection.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.Localisation; using osu.Game.Graphics.UserInterfaceV2; namespace osu.Game.Screens.Edit.Setup { internal class Des...
// 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.Localisation; using osu.Game.Graphics.UserInterfaceV2; namespace osu.Game.Screens.Edit.Setup { internal class Des...
mit
C#
aa19e8b21ae3680fa834b3e6164a05e42e14605f
バージョンを 0.3.1 に変更
lury-lang/lury
src/Lury/Properties/AssemblyInfo.cs
src/Lury/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Lury")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Lury")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyC...
mit
C#
a6b95a4b9ad445eb52cea3155f87846e74644881
use better null checks
ssg/HashDepot
src/Require.cs
src/Require.cs
// <copyright file="Require.cs" company="Sedat Kapanoglu"> // Copyright (c) 2015-2019 Sedat Kapanoglu // MIT License (see LICENSE file for details) // </copyright> using System; using System.Runtime.CompilerServices; namespace HashDepot { /// <summary> /// Helpers for argument validation. /// </summary> ...
// <copyright file="Require.cs" company="Sedat Kapanoglu"> // Copyright (c) 2015-2019 Sedat Kapanoglu // MIT License (see LICENSE file for details) // </copyright> using System; using System.Runtime.CompilerServices; namespace HashDepot { /// <summary> /// Helpers for argument validation. /// </summary> ...
mit
C#
cb42cc0f2b9e3319aa94b19cfff54ae2d2fae6fe
add == and != operators to Position struct
Voxelgon/Voxelgon,Voxelgon/Voxelgon
Assets/Voxelgon/Math/Position.cs
Assets/Voxelgon/Math/Position.cs
using UnityEngine; namespace Voxelgon { public struct Position { short x; short y; short z; public Position(short x, short y, short z) { this.x = x; this.y = y; this.z = z; } public Position(float x, float y, float z) { this.x = (short) x; this.y = (short) y; this.z = (short) z; } ...
using UnityEngine; namespace Voxelgon { public struct Position { short x; short y; short z; public Position(short x, short y, short z) { this.x = x; this.y = y; this.z = z; } public Position(float x, float y, float z) { this.x = (short) x; this.y = (short) y; this.z = (short) z; } ...
apache-2.0
C#
1b2aed8a0718642a93928a45e4d83a4912a78791
Change in content
abhi911kumar/portfolio,abhi911kumar/portfolio,abhi911kumar/portfolio
Portfolio/Portfolio/Views/Home/Pages/_HeaderPage.cshtml
Portfolio/Portfolio/Views/Home/Pages/_HeaderPage.cshtml
<header id="home"> <div id="logoContent" class="hidden-md hidden-sm hidden-xs"> <a href="#home" class="page-scroll"><img src="~/Resources/Images/portfolio/logoAbhishek.png" /></a> </div> <a class="page-scroll backhome hidden-md hidden-sm hidden-xs" href="#home"><i class="fa fa-times fa-2x"></i></a>...
<header id="home"> <div id="logoContent" class="hidden-md hidden-sm hidden-xs"> <a href="#home" class="page-scroll"><img src="~/Resources/Images/portfolio/logoAbhishek.png" /></a> </div> <a class="page-scroll backhome hidden-md hidden-sm hidden-xs" href="#home"><i class="fa fa-times fa-2x"></i></a>...
mit
C#
47ce003b5fac506c9f2487649f8f589221267e22
Bump to v5.0.3
danielwertheim/mycouch,danielwertheim/mycouch
buildconfig.cake
buildconfig.cake
public class BuildConfig { private const string Version = "5.0.3"; public readonly string SrcDir = "./source/"; public readonly string OutDir = "./build/"; public string Target { get; private set; } public string SemVer { get; private set; } public string BuildVersion { get; private se...
public class BuildConfig { private const string Version = "5.0.2"; public readonly string SrcDir = "./source/"; public readonly string OutDir = "./build/"; public string Target { get; private set; } public string SemVer { get; private set; } public string BuildVersion { get; private se...
mit
C#
879031a024a36bd1c5887cb52f7d48a994922f0d
Update "SQLiteManager"
DRFP/Personal-Library
_Build/PersonalLibrary/Library/SQLiteManager.cs
_Build/PersonalLibrary/Library/SQLiteManager.cs
using Library.Model; using SQLite; using System.Threading.Tasks; using static Library.Configuration; using static Library.Database; namespace Library { public class SQLiteManager { private static SQLiteAsyncConnection connection; static SQLiteManager() { connection = new SQLiteAsyncConnection(dat...
using Library.Model; using SQLite; using System.Threading.Tasks; using static Library.Configuration; using static Library.Database; namespace Library { public class SQLiteManager { private static SQLiteAsyncConnection connection; static SQLiteManager() { connection = new SQLiteAsyncConnection(dat...
mit
C#
3b680d80ab58043ec6a9ec45f1d0606769c45c9e
Resolve CA1012 warnings
tjb042/Establishment
Establishment/BaseEstablisher.cs
Establishment/BaseEstablisher.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Establishment { public abstract class BaseEstablisher<TType> { protected BaseEstablisher(TType value) { Value = value; ThrowExceptionOnFailure = true; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Establishment { public abstract class BaseEstablisher<TType> { public BaseEstablisher(TType value) { Value = value; ThrowExceptionOnFailure = true; ...
mit
C#
a8a2f2954faa9b33c1d1ecdc115cd18ccfef73e2
Test cleanup
filipw/dotnet-script,filipw/dotnet-script
src/Dotnet.Script.Tests/ScriptExecutionTests.cs
src/Dotnet.Script.Tests/ScriptExecutionTests.cs
using System.IO; using Xunit; namespace Dotnet.Script.Tests { public class ScriptExecutionTests { [Fact] public void ShouldExecuteHelloWorld() { var result = Execute(Path.Combine("HelloWorld", "HelloWorld.csx")); Assert.Contains("Hello World", result); } ...
using System.IO; using Xunit; namespace Dotnet.Script.Tests { public class ScriptExecutionTests { [Fact] public void ShouldExecuteHelloWorld() { var result = Execute(Path.Combine("HelloWorld", "HelloWorld.csx")); Assert.Contains("Hello World", result); } ...
mit
C#
88540777f49a813439f9efad78563b8fb79265ef
Remove unused field.
santriseus/NLog.Targets.LogIO
src/NLog.Targets.LogIO/InternalNetworkTarget.cs
src/NLog.Targets.LogIO/InternalNetworkTarget.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using NLog.Common; using NLog.Layouts; namespace NLog.Targets.LogIO { internal sealed class InternalNetworkTarget : NetworkTarget { public Layout Node { get;...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using NLog.Common; using NLog.Layouts; namespace NLog.Targets.LogIO { internal sealed class InternalNetworkTarget : NetworkTarget { private string _node = nu...
mit
C#
68a5969006ca4cbf4c4a960a046375f518158c16
Fix .tga viewer
feliwir/openSage,feliwir/openSage
src/OpenSage.DataViewer/Framework/BmpUtility.cs
src/OpenSage.DataViewer/Framework/BmpUtility.cs
using System.IO; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; namespace OpenSage.DataViewer.Framework { internal static class BmpUtility { public static byte[] PrependBmpHeader(byte[] rgbaData, int width, int height) { var pixels = new Argb32[width * height]...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OpenSage.DataViewer.Framework { internal static class BmpUtility { public static byte[] PrependBmpHeader(byte[] rgbaData, int width, int height) { ...
mit
C#
b4eb72cbde3e744a53bd6285d11ef38c0382629e
Update TenantProvider
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Services/ITenantProvider.cs
src/WeihanLi.Common/Services/ITenantProvider.cs
using System; using WeihanLi.Common.Models; using WeihanLi.Extensions; namespace WeihanLi.Common.Services { public interface ITenantProvider { string GetTenantId(); TenantInfo GetTenantInfo(); } public static class TenantIdProviderExtensions { public static T? GetTenantId...
using System; using WeihanLi.Common.Models; using WeihanLi.Extensions; namespace WeihanLi.Common.Services { public interface ITenantProvider { string GetTenantId(); TenantInfo<TKey> GetTenantInfo<TKey>(); } public static class TenantIdProviderExtensions { public static T?...
mit
C#
cb9cf80e67e5cfe50dc2813aebe6e856b917fb82
Fix a nullref exception in path comparisons
awaescher/RepoZ,awaescher/RepoZ
RepoZ.Api/Git/DefaultRepositoryInformationAggregator.cs
RepoZ.Api/Git/DefaultRepositoryInformationAggregator.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RepoZ.Api.Git { public class DefaultRepositoryInformationAggregator : IRepositoryInformationAggregator { private ObservableCollection<RepositoryView> ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RepoZ.Api.Git { public class DefaultRepositoryInformationAggregator : IRepositoryInformationAggregator { private ObservableCollection<RepositoryView> ...
mit
C#
473bbfab0cdb22111a3386b4aceec882b102bec7
Fix Uuid.Equals() method -- had been returning false for equal Guid values.
brendanjbaker/Bakery
src/Bakery.Uuid/Bakery/Uuid.cs
src/Bakery.Uuid/Bakery/Uuid.cs
namespace Bakery { using System; using System.ComponentModel; [TypeConverter(typeof(UuidTypeConverter))] public struct Uuid { public static readonly Uuid Zero; private readonly Guid guid; static Uuid() { Zero = new Uuid(Guid.Empty); } public Uuid(Guid guid) { this.guid =...
namespace Bakery { using System; using System.ComponentModel; [TypeConverter(typeof(UuidTypeConverter))] public struct Uuid { public static readonly Uuid Zero; private readonly Guid guid; static Uuid() { Zero = new Uuid(Guid.Empty); } public Uuid(Guid guid) { this.guid =...
mit
C#
8724297d516f2494ce11db6fb1a4de64b1864507
fix platform detection (#577)
prime31/Nez,prime31/Nez,prime31/Nez,ericmbernier/Nez
Nez.Portable/Input/InputUtils.cs
Nez.Portable/Input/InputUtils.cs
using System; using Microsoft.Xna.Framework.Input; namespace Nez { public static class InputUtils { public static bool IsMac; public static bool IsWindows; public static bool IsLinux; static InputUtils() { IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT; IsLinux = Environment.OSVe...
using Microsoft.Xna.Framework.Input; namespace Nez { public static class InputUtils { public static bool IsMac; public static bool IsWindows; public static bool IsLinux; static InputUtils() { IsMac = true; } public static bool IsShiftDown() { return Input.IsKeyDown(Keys.LeftShift) || Inpu...
mit
C#
336679631c05c984c63d18f18aa501d5ae7da682
add assembly informations
maskott-inc/xAPI.NET
src/xAPI.Client/Properties/AssemblyInfo.cs
src/xAPI.Client/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("xAPI.NET Client")] [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("xAPI.Client")] [assembly: AssemblyDescrip...
mit
C#
9c00e810980d66a391a7f275005fb92230fb8166
Bump version to 1.1.0
chausner/ArffTools
ArffTools/Properties/AssemblyInfo.cs
ArffTools/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
mit
C#
c99df62990002d1bfa14751508be3c63197371ce
Make scene asset / scene name deprecated
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/Utils/LiteNetLibScene.cs
Scripts/Utils/LiteNetLibScene.cs
using UnityEngine; namespace LiteNetLibManager { [System.Serializable] public class LiteNetLibScene { [SerializeField] private Object sceneAsset; [SerializeField] private string sceneName = string.Empty; public string SceneName { get { return sc...
using UnityEngine; namespace LiteNetLibManager { [System.Serializable] public class LiteNetLibScene { [SerializeField] public Object sceneAsset; [SerializeField] public string sceneName = string.Empty; public string SceneName { get { return scen...
mit
C#
d58d049518de970bb68415c3c6c6328da4388f87
Remove redundant annotation
beratcarsi/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,yuzukwok/aspnetboilerplate,AlexGeller/aspnetboilerplate,690486439/aspnetboilerplate,berdankoca/aspnetboilerplate,lemestrez/aspnetboilerplate,ZhaoRd/aspnetboilerplate,s-takatsu/aspnetboilerplate,lvjunlei/aspne...
src/Abp/Domain/Uow/UnitOfWorkRegistrar.cs
src/Abp/Domain/Uow/UnitOfWorkRegistrar.cs
using System.Linq; using System.Reflection; using Abp.Dependency; using Castle.Core; using Castle.MicroKernel; namespace Abp.Domain.Uow { /// <summary> /// This class is used to register interceptor for needed classes for Unit Of Work mechanism. /// </summary> internal static class UnitOfWorkRegistrar ...
using System.Linq; using System.Reflection; using Abp.Dependency; using Castle.Core; using Castle.MicroKernel; namespace Abp.Domain.Uow { /// <summary> /// This class is used to register interceptor for needed classes for Unit Of Work mechanism. /// </summary> internal static class UnitOfWorkRegistrar ...
mit
C#
881c2a89f7594aefc9a6f865cc9a6c863a6c44d0
Change iOS XF surface background color to black
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Forms/IosSurfaceRenderer.cs
Bindings/Forms/IosSurfaceRenderer.cs
using System; using System.Threading; using System.Threading.Tasks; using Urho.Forms; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using UIKit; [assembly: ExportRendererAttribute(typeof(UrhoSurface), typeof(IosSurfaceRenderer))] namespace Urho.Forms { public class IosSurfaceRenderer : ViewRenderer<UrhoSurf...
using System; using System.Threading; using System.Threading.Tasks; using Urho.Forms; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using UIKit; [assembly: ExportRendererAttribute(typeof(UrhoSurface), typeof(IosSurfaceRenderer))] namespace Urho.Forms { public class IosSurfaceRenderer : ViewRenderer<UrhoSurf...
mit
C#
590d7bba4ea3d931b2632ae8d2c8dc38a25e9554
Update index.cshtml
reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website
input/contribute/maintainers/index.cshtml
input/contribute/maintainers/index.cshtml
Order: 100 --- @Html.Partial("_ChildPages") https://opensource.com/life/16/5/growing-contributor-base-modern-open-source https://medium.com/@@mikeal/community-imbalance-theory-c5f8688ae352 <script async class="speakerdeck-embed" data-slide="4" data-id="880cb5d4ec364909a1db5b5655aa9d37" data-ratio="1.33333333333333" ...
Order: 100 --- @Html.Partial("_ChildPages") https://medium.com/@@mikeal/community-imbalance-theory-c5f8688ae352 <script async class="speakerdeck-embed" data-slide="4" data-id="880cb5d4ec364909a1db5b5655aa9d37" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script>
mit
C#
a8809e04f95bf7c68fb96d0e708ee99592865883
Use the correct size for the symlink path buffer
AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex
src/Avalonia.FreeDesktop/NativeMethods.cs
src/Avalonia.FreeDesktop/NativeMethods.cs
using System.Buffers; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; namespace Avalonia.FreeDesktop { internal static class NativeMethods { [DllImport("libc", SetLastError = true)] private static extern long readlink([MarshalAs(UnmanagedType.LPArray)] byte[] ...
using System.Buffers; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; namespace Avalonia.FreeDesktop { internal static class NativeMethods { [DllImport("libc", SetLastError = true)] private static extern long readlink([MarshalAs(UnmanagedType.LPArray)] byte[] ...
mit
C#
f7f0c0b55d0aea9b97042d6518d12b34f86ab5ca
Add InvalidSessionId
joshbooker/Force.com-Toolkit-for-NET,MediaFriendsInc2/Force.com-Toolkit-for-NET,Compassion/Force.com-Toolkit-for-NET,caltomare/Force.com-Toolkit-for-NET,aaronhoffman/Force.com-Toolkit-for-NET,shankararunachalam/Force.com-Toolkit-for-NET,joeferraro/Force.com-Toolkit-for-NET,developerforce/Force.com-Toolkit-for-NET,dcarr...
src/CommonLibrariesForNET/Models/Error.cs
src/CommonLibrariesForNET/Models/Error.cs
namespace Salesforce.Common.Models { public enum Error { Unknown, InvalidClient, UnsupportedGrantType, InvalidGrant, AuthenticationFailure, InvalidPassword, ClientIdentifierInvalid, NotFound, MalFormedQuery, FieldCustomValidationEx...
namespace Salesforce.Common.Models { public enum Error { Unknown, InvalidClient, UnsupportedGrantType, InvalidGrant, AuthenticationFailure, InvalidPassword, ClientIdentifierInvalid, NotFound, MalFormedQuery, FieldCustomValidationEx...
bsd-3-clause
C#