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
797fa4fbf024981ed4b3bf9fc4cf31a06afd9ead
fix Back pressed detection
fabianwilliams/xamarin-forms-samples,reverence12389/xamarin-forms-samples-1,KiranKumarAlugonda/xamarin-forms-samples,teefresh/xamarin-forms-samples-1,fabianwilliams/xamarin-forms-samples,JakeShanley/xamarin-forms-samples,williamsrz/xamarin-forms-samples,pabloescribanoloza/xamarin-forms-samples-1,biste5/xamarin-forms-sa...
EmployeeDirectoryXaml/EmployeeDirectoryXaml.Android/MainActivity.cs
EmployeeDirectoryXaml/EmployeeDirectoryXaml.Android/MainActivity.cs
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using System.IO; using EmployeeDirectory; namespace EmployeeDirectory.Android { [Activity (Label = "Employee Directory", MainLauncher = true)] public class Activity1 : Xamarin....
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using System.IO; using EmployeeDirectory; namespace EmployeeDirectory.Android { [Activity (Label = "Employee Directory", MainLauncher = true)] public class Activity1 : Xamarin....
mit
C#
ad7debd8189a4c02a1a6bcce10bd9980626e465a
Update QuotesController.cs
smeehan82/Hermes,smeehan82/Hermes,smeehan82/Hermes
src/Hermes.Content.Quotes/QuotesController.cs
src/Hermes.Content.Quotes/QuotesController.cs
using Hermes.DataAccess; using Hermes.Mvc; using Microsoft.AspNet.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Hermes.Content.Quotes { [Route("api/content/quotes")] public class QuoteController : ContentController<Quote, Guid> { #r...
using Hermes.DataAccess; using Hermes.Mvc; using Microsoft.AspNet.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Hermes.Content.Quotes { [Route("api/quotes")] public class QuoteController : ContentController<Quote, Guid> { #region Co...
mit
C#
a8847431e8e04e07ae54450eaffd2a3c767a7ad2
Add ignore_missing to the remove processor (#3441)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Ingest/Processors/RemoveProcessor.cs
src/Nest/Ingest/Processors/RemoveProcessor.cs
using Newtonsoft.Json; using System; using System.Linq.Expressions; namespace Nest { [JsonObject(MemberSerialization.OptIn)] [JsonConverter(typeof(ProcessorJsonConverter<RemoveProcessor>))] public interface IRemoveProcessor : IProcessor { [JsonProperty("field")] Field Field { get; set; } /// <summary> //...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Nest { [JsonObject(MemberSerialization.OptIn)] [JsonConverter(typeof(ProcessorJsonConverter<RemoveProcessor>))] public interface IRemov...
apache-2.0
C#
a13b6abcff74b5bd9782d8caf7dbf733b7417a59
Remove incorrect default specification from IRealmFactory interface
smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu
osu.Game/Database/IRealmFactory.cs
osu.Game/Database/IRealmFactory.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 Realms; namespace osu.Game.Database { public interface IRealmFactory { Realm Get(); /// <summary> /// Request a context for write ...
// 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 Realms; namespace osu.Game.Database { public interface IRealmFactory { public Realm Get() => Realm.GetInstance(); /// <summary> //...
mit
C#
23a729c83a6f9afbf76a2cc6af5b314bae477ea8
Make avatars use a delayed load wrapper
smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,ZLima12/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,Frontear/osuKyzer,Drezi126/osu,Nabile-Rahmani/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,D...
osu.Game/Users/UpdateableAvatar.cs
osu.Game/Users/UpdateableAvatar.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Users { /// <summary> /// An avatar which can update to a ne...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Users { /// <summary> /// An avatar which can update to a ne...
mit
C#
0f10ae12566ebc08bd72e0189b5ef4f80e1b64eb
Format SqsMessageAttributeValue
carbon/Amazon
src/Amazon.Sqs/Models/SqsMessageAttributeValue.cs
src/Amazon.Sqs/Models/SqsMessageAttributeValue.cs
#nullable disable using System.Xml.Serialization; namespace Amazon.Sqs; public sealed class SqsMessageAttributeValue { [XmlElement("StringValue")] public string StringValue { get; init; } [XmlElement("BinaryValue")] public string BinaryValue { get; init; } [XmlElement("DataType")...
#nullable disable using System.Xml.Serialization; namespace Amazon.Sqs { public sealed class SqsMessageAttributeValue { [XmlElement("StringValue")] public string StringValue { get; init; } [XmlElement("BinaryValue")] public string BinaryValue { get; init; } ...
mit
C#
3da3a5dae09b1167ff4363eccf1ec86ec7653c58
test mode
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Program.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SendGrid; using SendGrid.Helpers.Mail; using System.Net; using System.IO; using Newtonsoft.Json; using System.Data.SqlClient; using System.Data; using System.Configuration; using Dapper; namespac...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SendGrid; using SendGrid.Helpers.Mail; using System.Net; using System.IO; using Newtonsoft.Json; using System.Data.SqlClient; using System.Data; using System.Configuration; using Dapper; namespac...
apache-2.0
C#
42e67b5c913fa59a74ccf597eca2bba40cd6d035
Estructura de herencia
Beelzenef/GestionMenu
ejemplosClase/Circunferencia.cs
ejemplosClase/Circunferencia.cs
using System; using System.Collections.Generic; namespace egb.Circunferencia { abstract class Figura { public abstract double Area { get; } public abstract double Longitud { get; } public virtual ConsoleColor Color() { return ConsoleColor.Red; } } class Circunferencia : Figura { // Cam...
using System; namespace egb.Circunferencia { class Circunferencia { // Campos double radio = 0; double area = 0; double longitud = 0; // Props public double Radio { get { return this.radio; } set { if (value < 0) value = 0; if (value > 100) value = 100; this.radio = value; ...
mit
C#
282f9cecf8d817fee022fa8ea9c04737ff5dbdba
drop comments from rules
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs
src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs
namespace FilterLists.Services.SnapshotService { public static class RawRuleLinterExtensions { public static string LintStringForMySql(this string rule) { rule = rule.TrimLeadingAndTrailingWhitespace(); rule = rule.DropIfEmpty(); rule = rule.DropIfComment(); ...
namespace FilterLists.Services.SnapshotService { public static class RawRuleLinterExtensions { //TODO: resolve issues and/or track dropped rules public static string LintStringForMySql(this string rule) { rule = rule.TrimLeadingAndTrailingWhitespace(); rule = rul...
mit
C#
c744bdd0c684a33731d65ebeaa635d5f878768f2
add overload for kv store
aloneguid/config
src/Impl/Azure/Config.Net.Azure.KeyVault/ConfigurationExtensions.cs
src/Impl/Azure/Config.Net.Azure.KeyVault/ConfigurationExtensions.cs
using System; using Config.Net.Azure.KeyVault; namespace Config.Net { public static class ConfigurationExtensions { /// <summary> /// Use Azure Key Vault by authenticating with Managed Identity /// </summary> /// <typeparam name="TInterface"></typeparam> /// <param name="builder"><...
using System; using Config.Net.Azure.KeyVault; namespace Config.Net { public static class ConfigurationExtensions { /// <summary> /// Use Azure Key Vault by authenticating with Managed Identity /// </summary> /// <typeparam name="TInterface"></typeparam> /// <param name="builder"><...
mit
C#
5ad295ece50f923d419a22ee5df667db550b0408
Remove C# 6 syntax
cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium
Src/MaintainableSelenium/MaintainableSelenium.MvcPages/WebPages/Navigator.cs
Src/MaintainableSelenium/MaintainableSelenium.MvcPages/WebPages/Navigator.cs
using System; using System.Linq.Expressions; using System.Text.RegularExpressions; using System.Web.Mvc; using OpenQA.Selenium.Remote; namespace MaintainableSelenium.MvcPages.WebPages { public interface INavigator { void NavigateTo<TController>(Expression<Action<TController>> action) where TController ...
using System; using System.Linq.Expressions; using System.Text.RegularExpressions; using System.Web.Mvc; using OpenQA.Selenium.Remote; namespace MaintainableSelenium.MvcPages.WebPages { public interface INavigator { void NavigateTo<TController>(Expression<Action<TController>> action) where TController ...
mit
C#
39d9a014b7b337750d1c84d39d3ced96741920f7
Fix static SetAssemblyDescriptorResolver usage in tests
AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia
tests/Avalonia.Base.UnitTests/AssetLoaderTests.cs
tests/Avalonia.Base.UnitTests/AssetLoaderTests.cs
using System; using System.Reflection; using Avalonia.Platform; using Avalonia.Platform.Internal; using Moq; using Xunit; namespace Avalonia.Base.UnitTests; public class AssetLoaderTests : IDisposable { public class MockAssembly : Assembly {} private const string AssemblyNameWithWhitespace = "Awesome Library...
using System; using System.Reflection; using Avalonia.Platform; using Avalonia.Platform.Internal; using Moq; using Xunit; namespace Avalonia.Base.UnitTests; public class AssetLoaderTests { public class MockAssembly : Assembly {} private const string AssemblyNameWithWhitespace = "Awesome Library"; privat...
mit
C#
9dc8267b12213eb809d3b4f1f80b8e4f7ac3fa73
Remove debug logs
PUT-PTM/SuperTrackMayhem,PUT-PTM/SuperTrackMayhem,PUT-PTM/SuperTrackMayhem
UnityProject/Assets/Scripts/RaceLogic/Timer.cs
UnityProject/Assets/Scripts/RaceLogic/Timer.cs
using UnityEngine; using UnityEngine.UI; public class Timer : MonoBehaviour { private float _timeStart; private float _timeLastCheckpoint; public Text SinceStart; public Text SinceLastCheckpoint; private bool _inRace = false; void Start() { Checkpoint.CheckPointReached += OnCheckpointReached; LevelManag...
using UnityEngine; using UnityEngine.UI; public class Timer : MonoBehaviour { private float _timeStart; private float _timeLastCheckpoint; public Text SinceStart; public Text SinceLastCheckpoint; private bool _inRace = false; void Start() { Checkpoint.CheckPointReached += OnCheckpointReached; LevelManag...
mit
C#
23ce4135a4c0e8657e1d788bdd3c83802d77b53b
Make attribute search more to the point
madsbangh/EasyButtons
Assets/EasyButtons/Editor/ButtonEditor.cs
Assets/EasyButtons/Editor/ButtonEditor.cs
using System.Linq; using UnityEngine; using UnityEditor; namespace EasyButtons { /// <summary> /// Custom inspector for Object including derived classes. /// </summary> [CanEditMultipleObjects] [CustomEditor(typeof(Object), true)] public class ObjectEditor : Editor { public overri...
using System.Linq; using UnityEngine; using UnityEditor; namespace EasyButtons { /// <summary> /// Custom inspector for Object including derived classes. /// </summary> [CanEditMultipleObjects] [CustomEditor(typeof(Object), true)] public class ObjectEditor : Editor { public overrid...
mit
C#
e59f43623c872f86dc333dca26dd768f5b22f17c
Fix FlashyBox regression.
paparony03/osu-framework,peppy/osu-framework,naoey/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,paparony03/osu-framework,RedNesto/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framew...
osu.Framework/Graphics/Visualisation/FlashyBox.cs
osu.Framework/Graphics/Visualisation/FlashyBox.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK; using OpenTK.Graphics; using osu.Framework.Graphics.Primitives; using osu.Framework.Graphics.Sprites; namespace osu.Framework.Graphics....
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK; using OpenTK.Graphics; using osu.Framework.Graphics.Primitives; using osu.Framework.Graphics.Sprites; namespace osu.Framework.Graphics....
mit
C#
448714aff76f4fd9cfd2e26f76fced9023512369
Use enum
ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework
osu.Framework/Statistics/DotNetRuntimeListener.cs
osu.Framework/Statistics/DotNetRuntimeListener.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics.Tracing; namespace osu.Framework.Statistics { // https://medium.com/criteo-labs/c-in-process-clr-event-listeners-with-net-core-2-2-ef4075c14...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics.Tracing; namespace osu.Framework.Statistics { // https://medium.com/criteo-labs/c-in-process-clr-event-listeners-with-net-core-2-2-ef4075c14...
mit
C#
0363c0a19f0e045044d75488e37b8157bd207cae
Add windows mouse support
ChillyFlashER/OpenInput
src/OpenInput.Windows/Mouse.cs
src/OpenInput.Windows/Mouse.cs
namespace OpenInput { using System; using DI_Mouse = SharpDX.DirectInput.Mouse; /// <summary> /// /// </summary> public class Mouse : IMouse { /// <inheritdoc /> public string Name => mouse.Information.ProductName.Trim('\0'); internal readonly DI_Mouse mouse; ...
namespace OpenInput { using System; using DI_Mouse = SharpDX.DirectInput.Mouse; /// <summary> /// /// </summary> public class Mouse : IMouse { /// <inheritdoc /> public string Name => mouse.Information.ProductName.Trim('\0'); internal readonly DI_Mouse mouse; ...
mit
C#
d60eac7967a15544e36716d9e594b3e46114ca91
Fix quicksearch hard coding
episerver/QuicksilverB2B,vnbaaij/QuicksilverB2B,vnbaaij/QuicksilverB2B,episerver/QuicksilverB2B,episerver/QuicksilverB2B,vnbaaij/QuicksilverB2B
Sources/EPiServer.Reference.Commerce.Site/Views/Search/QuickSearch.cshtml
Sources/EPiServer.Reference.Commerce.Site/Views/Search/QuickSearch.cshtml
@model IEnumerable<EPiServer.Reference.Commerce.Site.Features.Product.ViewModels.ProductViewModel> @{ Layout = null; } <ul class="product-dropdown product-row list-unstyled"> @foreach (var product in Model.Where(x => x.DiscountedPrice.HasValue)) { bool hasDiscount = product.DiscountedPrice.GetValue...
@model IEnumerable<EPiServer.Reference.Commerce.Site.Features.Product.ViewModels.ProductViewModel> @{ Layout = null; } <ul class="product-dropdown product-row list-unstyled"> @foreach (var product in Model.Where(x => x.DiscountedPrice.HasValue)) { bool hasDiscount = product.DiscountedPrice.GetValu...
apache-2.0
C#
3b10b149976288314bddfdf8ae788e22a2c98f31
Use DeveloperExceptionPage only in DEV Enviroment
dotnetgeek/shariff-backend-dotnet,dotnetgeek/shariff-backend-dotnet
src/Startup.cs
src/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Shariff.Backend { public class Startup { public Startup( IHostingEnvironment env) ...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Shariff.Backend { public class Startup { public Startup(IHostingEnvironment env) { ...
mit
C#
bff2d12f8bee1701884dc126a907629d288ae44e
Remove length property
mstrother/BmpListener
BmpListener/Bgp/BgpMessage.cs
BmpListener/Bgp/BgpMessage.cs
using System; using System.Linq; using Newtonsoft.Json; namespace BmpListener.Bgp { public abstract class BgpMessage { protected BgpMessage(ref ArraySegment<byte> data) { var bgpHeader = new BgpHeader(data); Type = bgpHeader.Type; var msgLength = (int) bgpHe...
using System; using System.Linq; using Newtonsoft.Json; namespace BmpListener.Bgp { public abstract class BgpMessage { protected BgpMessage(ref ArraySegment<byte> data) { var bgpHeader = new BgpHeader(data); Length = bgpHeader.Length; Type = bgpHeader.Type; ...
mit
C#
32b745a8a7b668ece52c9d92bad732525f4d2714
Update ResponseMessageMusic.cs
lishewen/WeiXinMPSDK,JeffreySu/WxOpen,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPS...
Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/ResponseMessageMusic.cs
Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Response/ResponseMessageMusic.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Senparc.Weixin.MP.Entities { public class ResponseMessageMusic : ResponseMessageBase, IResponseMessageBase { public override ResponseMsgType MsgType { get { return ResponseMsgType.Music;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Senparc.Weixin.MP.Entities { public class ResponseMessageMusic : ResponseMessageBase, IResponseMessageBase { public override ResponseMsgType MsgType { get { return ResponseMsgType.Music;...
apache-2.0
C#
c98a78c376a312330521fd87cee531d06e70f43b
Use IR sensors
smoy/Monkey.Robotics,milindur/Monkey.Robotics,milindur/Monkey.Robotics,DynamicDevices/Monkey.Robotics,smoy/Monkey.Robotics,islandof/Monkey.Robotics,xamarin/Monkey.Robotics,islandof/Monkey.Robotics,DynamicDevices/Monkey.Robotics,milindur/Monkey.Robotics,smoy/Monkey.Robotics,milindur/Monkey.Robotics,DynamicDevices/Monkey...
Source/Xamarin.Robotics/Xamarin.Robotics.Micro.Core.Netduino2Tests/Program.cs
Source/Xamarin.Robotics/Xamarin.Robotics.Micro.Core.Netduino2Tests/Program.cs
using SecretLabs.NETMF.Hardware.Netduino; using System; using System.Threading; namespace Xamarin.Robotics.Micro.Core.Netduino2Tests { public class Program { public static void Main() { var led = new Microsoft.SPOT.Hardware.OutputPort(Pins.ONBOARD_LED, false); for (var i = 0...
using SecretLabs.NETMF.Hardware.Netduino; using System; using System.Threading; namespace Xamarin.Robotics.Micro.Core.Netduino2Tests { public class Program { public static void Main() { var led = new Microsoft.SPOT.Hardware.OutputPort(Pins.ONBOARD_LED, false); for (var i = 0...
apache-2.0
C#
194c39914e04d106e8e35af376988d5b54ecbcf9
Update CuidCorrelationServiceTests.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs
TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs
using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using TIKSN.DependencyInjection; using Xunit; namespace TIKSN.Integration.Correlation.Tests { public class CuidCorrelationServiceTests { private readonly ICorrelationService _correlationService; public CuidCorrelationServ...
using Microsoft.Extensions.DependencyInjection; using TIKSN.DependencyInjection; namespace TIKSN.Integration.Correlation.Tests { public class CuidCorrelationServiceTests { private readonly ICorrelationService _correlationService; public CuidCorrelationServiceTests() { var s...
mit
C#
ab3d765a4bc6f535fea266408d1bc2da7028fd58
Test Refactor, Evaluate using Machine.RootContext
ajlopez/ClojSharp
Src/ClojSharp.Core.Tests/EvaluateTests.cs
Src/ClojSharp.Core.Tests/EvaluateTests.cs
namespace ClojSharp.Core.Tests { using System; using System.Collections.Generic; using System.Linq; using System.Text; using ClojSharp.Core.Compiler; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class EvaluateTests { private Machine mac...
namespace ClojSharp.Core.Tests { using System; using System.Collections.Generic; using System.Linq; using System.Text; using ClojSharp.Core.Compiler; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class EvaluateTests { private Machine mac...
mit
C#
eca4e04dce69ad3acef112772a591e148f654c3b
Define PhoneNumber struct
SICU-Stress-Measurement-System/frontend-cs
StressMeasurementSystem/Models/Patient.cs
StressMeasurementSystem/Models/Patient.cs
namespace StressMeasurementSystem.Models { public class Patient { #region Structs struct Name { public string Prefix { get; set; } public string First { get; set; } public string Middle { get; set; } public string Last { get; set; } ...
namespace StressMeasurementSystem.Models { public class Patient { #region Structs struct Name { public string Prefix { get; set; } public string First { get; set; } public string Middle { get; set; } public string Last { get; set; } ...
apache-2.0
C#
2b08a3ed6c6a4cf61f5f318a1d7c14c3b30a011d
Set version to 0.8.0
jaenyph/DelegateDecompiler,hazzik/DelegateDecompiler,morgen2009/DelegateDecompiler
src/DelegateDecompiler/Properties/AssemblyInfo.cs
src/DelegateDecompiler/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#
08a54a4e99d10fb789f228caf4d0e4b3976a728b
Change the page title to show the name of our business
ISEPTrabalhos/BizzKit,ISEPTrabalhos/BizzKit,ISEPTrabalhos/BizzKit,ISEPTrabalhos/BizzKit
WebDev/WebDev/Views/Shared/_Layout.cshtml
WebDev/WebDev/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>BizzKit :: @ViewBag.Title</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-inverse navbar-...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
apache-2.0
C#
e02e1405c13164be2566a1f7fe194984ea9bd6e6
Split config and command line parsing into separate private methods.
Cisien/OniBot
OniBot/Program.cs
OniBot/Program.cs
using Microsoft.Extensions.Configuration; using OniBot.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace OniBot { class Program { static void Main(string[] args) { var ctx = new Synchro...
using Microsoft.Extensions.Configuration; using OniBot.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace OniBot { class Program { static void Main(string[] args) { var ctx = new Synchro...
apache-2.0
C#
ebaaf9546aaa1aace3863b115004db7e02431f70
Improve diff.
stephentoub/roslyn,TyOverby/roslyn,orthoxerox/roslyn,robinsedlaczek/roslyn,jmarolf/roslyn,gafter/roslyn,reaction1989/roslyn,kelltrick/roslyn,yeaicc/roslyn,cston/roslyn,mgoertz-msft/roslyn,tannergooding/roslyn,khyperia/roslyn,cston/roslyn,aelij/roslyn,mavasani/roslyn,jamesqo/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,pan...
src/Features/Core/Portable/DocumentHighlighting/IDocumentHighlightsService.cs
src/Features/Core/Portable/DocumentHighlighting/IDocumentHighlightsService.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.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Text...
// 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.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Text...
mit
C#
666af3597c0d0ae7972e69b0a489a881407cece3
Improve code documentation in the IComponentBuilder interface
openchain/openchain
src/Openchain.Infrastructure/IComponentBuilder.cs
src/Openchain.Infrastructure/IComponentBuilder.cs
// Copyright 2015 Coinprism, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright 2015 Coinprism, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
C#
bca76068bc43cd3821924ccad0db0785ca0be925
Fix load template source
toddams/RazorLight,gr8woo/RazorLight,gr8woo/RazorLight,toddams/RazorLight
src/RazorLight/Templating/LoadedTemplateSource.cs
src/RazorLight/Templating/LoadedTemplateSource.cs
using System; using System.IO; namespace RazorLight.Templating { public class LoadedTemplateSource : ITemplateSource { public string Content { get; private set; } public string FilePath { get; private set; } public string TemplateKey { get; } public LoadedTemplateSource(string content) : ...
using System; using System.IO; namespace RazorLight.Templating { public class LoadedTemplateSource : ITemplateSource { public string Content { get; private set; } public string FilePath { get; private set; } public string TemplateKey { get; } public LoadedTemplateSource(string key) : this...
apache-2.0
C#
ecb958820060c409bba5f7fd625aacb817591b75
Fix to support virtual directories/folders in IIS.
aaronpowell/glimpse-knockout,modulexcite/glimpse-knockout,modulexcite/glimpse-knockout,modulexcite/glimpse-knockout,aaronpowell/glimpse-knockout
src/VisualStudio/Glimpse.Knockout/ClientScript.cs
src/VisualStudio/Glimpse.Knockout/ClientScript.cs
using Glimpse.Core.Extensibility; namespace Glimpse.Knockout { public sealed class ClientScript : IStaticClientScript { public ScriptOrder Order { get { return ScriptOrder.IncludeAfterClientInterfaceScript; } } public string GetUri(string version) { return System.W...
using Glimpse.Core.Extensibility; namespace Glimpse.Knockout { public sealed class ClientScript : IStaticClientScript { public ScriptOrder Order { get { return ScriptOrder.IncludeAfterClientInterfaceScript; } } public string GetUri(string version) { return "/Script...
mit
C#
278083ae8e8a13ec105c3a5b971271564fec0f61
Check when list is null and campaign details doesn't exist
productinfo/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,andrelmp/eShopOnContainers,albertodall/eShopOnContai...
src/Web/WebMVC/Controllers/CampaignsController.cs
src/Web/WebMVC/Controllers/CampaignsController.cs
namespace Microsoft.eShopOnContainers.WebMVC.Controllers { using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.eShopOnContainers.WebMVC.Models; using Microsoft.eShopOnContainers.WebMVC.Services; using Microsoft.eShopOnContainers.WebMVC.ViewModels; using Syst...
namespace Microsoft.eShopOnContainers.WebMVC.Controllers { using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.eShopOnContainers.WebMVC.Services; using Microsoft.eShopOnContainers.WebMVC.ViewModels; using System; using System.Collections.Generic; using S...
mit
C#
0b0f7b120a6bff5708ed62ca2deb88d9852dfcba
Add support for APP_IN_USE dependency change
rit-sse-mycroft/core
Mycroft/Cmd/App/AppCommand.cs
Mycroft/Cmd/App/AppCommand.cs
using Mycroft.App; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mycroft.Cmd.App { class AppCommand : Command { /// <summary> /// Parses JSON into App command objects /// </summary> /// <param name=...
using Mycroft.App; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mycroft.Cmd.App { class AppCommand : Command { /// <summary> /// Parses JSON into App command objects /// </summary> /// <param name=...
bsd-3-clause
C#
fe6192bbbd114e29a7050a39cda7f8c33e07284b
Remove unused constant
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs
src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs
using System.Collections.Generic; using System.Linq; using System.Text; using Confluent.Kafka; using Jasper.Transports; namespace Jasper.ConfluentKafka { public class KafkaTransportProtocol : ITransportProtocol<Message<byte[], byte[]>> { public Message<byte[], byte[]> WriteFromEnvelope(Envelope envelop...
using System; using System.Collections.Generic; using System.Diagnostics.Eventing.Reader; using System.Linq; using System.Text; using Confluent.Kafka; using Jasper.Transports; namespace Jasper.ConfluentKafka { public class KafkaTransportProtocol : ITransportProtocol<Message<byte[], byte[]>> { private c...
mit
C#
c1410bf7bbd0b2c1cbcf1eccbbcb2c8e70d79950
Remove LINQ dependency
mstrother/BmpListener
BmpListener/Bgp/IPAddrPrefix.cs
BmpListener/Bgp/IPAddrPrefix.cs
using System; using System.Net; namespace BmpListener.Bgp { public class IPAddrPrefix { public IPAddrPrefix(byte[] data, AddressFamily afi = AddressFamily.IP) { DecodeFromBytes(data, afi); } public byte Length { get; private set; } public IPAddress Prefix {...
using System; using System.Net; namespace BmpListener.Bgp { public class IPAddrPrefix { public IPAddrPrefix(byte[] data, AddressFamily afi = AddressFamily.IP) { DecodeFromBytes(data, afi); } public byte Length { get; private set; } public IPAddress Prefix {...
mit
C#
96eeb562739ac67bdead54cb98d457034e8e536e
Update ExchangeRate.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/ForeignExchange/ExchangeRate.cs
TIKSN.Core/Finance/ForeignExchange/ExchangeRate.cs
using System; namespace TIKSN.Finance.ForeignExchange { public class ExchangeRate : IEquatable<ExchangeRate> { public ExchangeRate(CurrencyPair pair, DateTimeOffset asOn, decimal rate) { if (rate <= decimal.Zero) { throw new ArgumentOutOfRangeException(na...
using System; namespace TIKSN.Finance.ForeignExchange { public class ExchangeRate : IEquatable<ExchangeRate> { public ExchangeRate(CurrencyPair pair, DateTimeOffset asOn, decimal rate) { if (pair == null) { throw new ArgumentNullException(nameof(pair)); ...
mit
C#
45bcfab3a59a3db22ce4330a387dfd6b386fcd12
Update Cake.Issues.Reporting to 0.6.1
cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe
Cake.Recipe/Content/addins.cake
Cake.Recipe/Content/addins.cake
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.2.0 #...
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.2.0 #...
mit
C#
23a6748163e8f544ef8d047ca01a7cf1cdba4ecf
Fix Mono compiler error
ProgramFOX/Chess.NET
ChessDotNet/PositionDistance.cs
ChessDotNet/PositionDistance.cs
using System; namespace ChessDotNet { public struct PositionDistance { int _distanceX; public int DistanceX { get { return _distanceX; } } int _distanceY; public int DistanceY { get ...
using System; namespace ChessDotNet { public struct PositionDistance { public int DistanceX { get; private set; } public int DistanceY { get; private set; } public PositionDistance(Position position1, Posi...
mit
C#
f08a83021b9f26b9cbd77273cc69d9c4d3812c97
add summary comment.
dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap
src/DotNetCore.CAP/ICapOptionsExtension.cs
src/DotNetCore.CAP/ICapOptionsExtension.cs
using Microsoft.Extensions.DependencyInjection; namespace DotNetCore.CAP { /// <summary> /// Cap options extension /// </summary> public interface ICapOptionsExtension { /// <summary> /// Registered child service. /// </summary> /// <param name="services">add servic...
using Microsoft.Extensions.DependencyInjection; namespace DotNetCore.CAP { public interface ICapOptionsExtension { void AddServices(IServiceCollection services); } }
mit
C#
dd32c771bbc62f5ba9e16767d04970b7775fe1fa
modify comment.
tangxuehua/enode,Aaron-Liu/enode
src/ENode/Infrastructure/ENodeException.cs
src/ENode/Infrastructure/ENodeException.cs
using System; namespace ENode.Infrastructure { /// <summary>Represents a common exception of enode framework. /// </summary> [Serializable] public class ENodeException : Exception { /// <summary>Default constructor. /// </summary> public ENodeException() { } /// <su...
using System; namespace ENode.Infrastructure { /// <summary>Represents a concurrent exception. /// </summary> [Serializable] public class ENodeException : Exception { /// <summary>Default constructor. /// </summary> public ENodeException() { } /// <summary>Parameter...
mit
C#
45c37578c618afc0b06203a95fe3da14be3d3d05
Add Listing_Standard extension methods.
neitsa/PrepareLanding,neitsa/PrepareLanding
src/Extensions/ListingStandardExtension.cs
src/Extensions/ListingStandardExtension.cs
using UnityEngine; using Verse; namespace PrepareLanding.Extensions { /// <summary> /// Extension class for <see cref="Verse.Listing_Standard" />. /// </summary> public static class ListingStandardExtension { /// <summary> /// Start a scroll view inside a <see cref="Listing...
using UnityEngine; using Verse; namespace PrepareLanding.Extensions { /// <summary> /// Extension class for <see cref="Verse.Listing_Standard" />. /// </summary> public static class ListingStandardExtension { /// <summary> /// Start a scroll view inside a <see cref="Listing...
mit
C#
b07918de09972c8b38e66d325790ef3e17725ea2
Disable some unit tests that are broken on Mono
jstedfast/MimeKit,jstedfast/MimeKit,nachocove/MimeKit,nachocove/MimeKit,nachocove/MimeKit,jstedfast/MimeKit
UnitTests/MimeVisitorTests.cs
UnitTests/MimeVisitorTests.cs
// // MimeVisitorTests.cs // // Author: Jeffrey Stedfast <jeff@xamarin.com> // // Copyright (c) 2013-2016 Xamarin Inc. (www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software...
// // MimeVisitorTests.cs // // Author: Jeffrey Stedfast <jeff@xamarin.com> // // Copyright (c) 2013-2016 Xamarin Inc. (www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software...
mit
C#
6a15132c761cf95d88455d663f4fe9f9ef5360f0
Fix reference plane rotation bug.
Starstrider42/Custom-Asteroids
src/Coordinates/SimplePlane.cs
src/Coordinates/SimplePlane.cs
using UnityEngine; namespace Starstrider42.CustomAsteroids { /// <summary>Standard implementation of <see cref="ReferencePlane"/>.</summary> internal class SimplePlane : ReferencePlane { public string name { get; private set; } /// <summary>Rotation used to implement toDefaultFrame.</summary> private readonly...
using UnityEngine; using System; namespace Starstrider42.CustomAsteroids { /// <summary>Standard implementation of <see cref="ReferencePlane"/>.</summary> internal class SimplePlane : ReferencePlane { public string name { get; private set; } /// <summary>Rotation used to implement toDefaultFrame.</summary> pr...
mit
C#
b5cceb0e68ea36db3fab8567e76a3ba92f533ad7
Fix to allow email addresses as users names, Issue #163 #158
gencer/Bonobo-Git-Server,crowar/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,kfarnung/Bonobo-Git-Server,Ollienator/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,RedX2501/Bonobo-Git-Server,crowar/Bonobo-Git-Server,YelaSeamless/Bonobo-Git-Server,gencer/Bonobo-Git-Server,jiangzm/Bonobo-Git-Server,dunderburken/Bonobo-...
Bonobo.Git.Server/UsernameUrl.cs
Bonobo.Git.Server/UsernameUrl.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web; namespace Bonobo.Git.Server { public class UsernameUrl { //to allow support for email addresses as user names, only encode/decode user name if it is not an email address p...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Bonobo.Git.Server { public class UsernameUrl { public static string Encode(string username) { var nameParts = username.Split('\\'); if (nameParts.Count() == 2) { ...
mit
C#
b7a3f3f0aa087277ba5e4f8081403e0ab2060cfb
Fix a typo in IBusControl.StartAsync XML doc
MassTransit/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit
src/MassTransit/IBusControl.cs
src/MassTransit/IBusControl.cs
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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#
f30ac4089c5d351a2fad5055b4a2bf3652f59e0a
Add properties to BufferRange
vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary
CSGL.Vulkan/Vulkan/BufferView.cs
CSGL.Vulkan/Vulkan/BufferView.cs
using System; using System.Collections.Generic; namespace CSGL.Vulkan { public class BufferViewCreateInfo { public Buffer buffer; public VkFormat format; public ulong offset; public ulong range; } public class BufferView : INative<VkBufferView>, IDisposable { bool ...
using System; using System.Collections.Generic; namespace CSGL.Vulkan { public class BufferViewCreateInfo { public Buffer buffer; public VkFormat format; public ulong offset; public ulong range; } public class BufferView : INative<VkBufferView>, IDisposable { bool ...
mit
C#
beba54fde781c3ce498adcb1ed26e8831ba6fa58
Increment version to 1.0.0
LeCantaloop/MassTransit.Extras.MessageData.DocumentDb,MattKotsenas/MassTransit.Extras.MessageData.DocumentDb
src/Properties/AssemblyInfo.cs
src/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("Mas...
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("Mas...
apache-2.0
C#
704be66806bb7b37b141a90eee6d9f75bb1d064f
tidy up a bit
DHancock/Countdown
Countdown/ViewModels/ItemBase.cs
Countdown/ViewModels/ItemBase.cs
namespace Countdown.ViewModels { abstract internal class ItemBase : PropertyChangedBase { public string Content { get; protected set; } private bool isSelected = false; public ItemBase() { } public ItemBase(string item) { C...
namespace Countdown.ViewModels { abstract internal class ItemBase : PropertyChangedBase { public string Content { get; protected set; } private bool isSelected = false; public ItemBase() : this(null) { } public ItemBase(string item) { ...
unlicense
C#
debb99056204b943f7e6a72603d11de8c47426d9
Mark sub-header navigation link as 'last' so that the trailing vertical bar goes away.
dafrito/trac-mirror,dafrito/trac-mirror,dokipen/trac,moreati/trac-gitsvn,dokipen/trac,exocad/exotrac,dafrito/trac-mirror,moreati/trac-gitsvn,exocad/exotrac,exocad/exotrac,moreati/trac-gitsvn,exocad/exotrac,moreati/trac-gitsvn,dafrito/trac-mirror,dokipen/trac
templates/log.cs
templates/log.cs
<?cs include "header.cs"?> <?cs include "macros.cs"?> <div id="page-content"> <ul class="subheader-links"> <li class="last"><a href="<?cs var:log.items.0.file_href ?>">View Latest Revision</a></li> </ul> <div id="main"> <div id="main-content"> <h1 id="log-hdr" class="hide">Revision log for <?cs var:log.path...
<?cs include "header.cs"?> <?cs include "macros.cs"?> <div id="page-content"> <ul class="subheader-links"> <li><a href="<?cs var:log.items.0.file_href ?>">View Latest Revision</a></li> </ul> <div id="main"> <div id="main-content"> <h1 id="log-hdr" class="hide">Revision log for <?cs var:log.path ?></h1> <?cs c...
bsd-3-clause
C#
ae33680a9dda174087dede6fdebff83596333bcf
Fix to ensure HTMLElement uses the Caption when loading up the actual HTML page.
MonoCross/MonoCross,MonoCross/MonoCross,sam-lippert/DialogSampleApp,MonoCross/MonoCross,TimeIncOSS/MonoDroid.Dialog,Clancey/MonoDroid.Dialog
MonoDroid.Dialog/HtmlElement.cs
MonoDroid.Dialog/HtmlElement.cs
using Android.App; using Android.Content; using Android.OS; using Android.Views; using Android.Webkit; using Uri = Android.Net.Uri; namespace MonoDroid.Dialog { public class HtmlElement : StringElement { // public string Value; public HtmlElement(string caption, string url) : ba...
using Android.App; using Android.Content; using Android.OS; using Android.Views; using Android.Webkit; using Uri = Android.Net.Uri; namespace MonoDroid.Dialog { public class HtmlElement : StringElement { // public string Value; public HtmlElement(string caption, string url) : ba...
mit
C#
e9638a221312c8c99f4a7011f2c645fde57d12c9
Fix a image naming bug.
zhen08/PiDashcam,zhen08/PiDashcam
PiDashcam/PiDashcam/StillCam.cs
PiDashcam/PiDashcam/StillCam.cs
using System; using System.IO; using System.Timers; using Shell.Execute; namespace PiDashcam { public class StillCam { Timer timer; int imgcounter; string folder; public StillCam(string imageFolder) { imgcounter = 1; folder = imageFolder; if (!Directory.Exists(folder)) { Directory.CreateD...
using System; using System.IO; using System.Timers; using Shell.Execute; namespace PiDashcam { public class StillCam { Timer timer; int imgcounter; string folder; public StillCam(string imageFolder) { folder = imageFolder; if (!Directory.Exists(folder)) { Directory.CreateDirectory(folder); ...
mit
C#
04df802e54962a2ac2ab53a0dee0bad1338f993d
Add ReliabilityContract for the ReleaseHandle on SafeSspiHandle so that it can fully participate in the implicit CER that is created during finalization.
antiduh/nsspi
NSspi/SspiHandle.cs
NSspi/SspiHandle.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using NSspi.Contexts; namespace NSspi { /// <summary> /// Rep...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using NSspi.Contexts; namespace NSspi { /// <summary> /// Rep...
bsd-2-clause
C#
f89640b7398c0107ed48dd35b5715b558d0fc46e
Clear all input lines
ivanmishev/ShipGame
ShipGame/Logger.cs
ShipGame/Logger.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShipGame { class Logger { private static List<string> messages = new List<string>(); private static int startingLine = 0; private static int LO...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShipGame { class Logger { private static List<string> messages = new List<string>(); private static int startingLine = 0; private static int LO...
mit
C#
5025a8926113e79847e82057ace756065c80ee05
Set AssemblyVersion as 0.1
felipebz/ndapi
Ndapi/Properties/AssemblyInfo.cs
Ndapi/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("Nd...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Nd...
mit
C#
2eda53ed39adb2badcd7f0d5bf3bb05432bb4cd1
Update SolutionVersion.cs
gigya/microdot
SolutionVersion.cs
SolutionVersion.cs
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
apache-2.0
C#
cd756b12fe0e16bffb02b3152c19049940823568
increase version no
gigya/microdot
SolutionVersion.cs
SolutionVersion.cs
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
apache-2.0
C#
07532064887dc0778e40fc527e7af9392b846ffb
fix unit test
Kusumoto/PromptPayQrCode
PromptPayQrCode.Test/ThaiPromptPayQrCodeImageTest.cs
PromptPayQrCode.Test/ThaiPromptPayQrCodeImageTest.cs
using System; using System.IO; using Xunit; namespace PromptPayQrCode.Test { public class ThaiPromptPayQrCodeImageTest { [Fact] public void Generate_PromptPay_Qr_With_Local_Phone_Number_No_Amount_Test() { var path = AppDomain.CurrentDomain.BaseDirectory; var fil...
using System; using System.IO; using Xunit; namespace PromptPayQrCode.Test { public class ThaiPromptPayQrCodeImageTest { [Fact] public void Generate_PromptPay_Qr_With_Local_Phone_Number_No_Amount_Test() { var path = AppDomain.CurrentDomain.BaseDirectory; var fil...
mit
C#
5663f45b027a642cf3fb39c9dafc327e19ec4c6c
Clean up PastebinException
nikibobi/pastebin-csharp
PastebinAPI/PastebinException.cs
PastebinAPI/PastebinException.cs
using System; using System.Collections.Generic; namespace PastebinAPI { public class PastebinException : Exception { public enum ParameterType { None, DevKey, ExpireDate, Option, PasteFormat, PastePrivate, User...
using System; using System.Collections.Generic; namespace PastebinAPI { public class PastebinException : Exception { public enum ParameterType { None, DevKey, ExpireDate, Option, PasteFormat, PastePrivate, User...
mit
C#
c1177d19e86f439b7ee24b54d9e4e98e5fe61e2c
return IRazorLightEngine from EngineFactory
toddams/RazorLight,toddams/RazorLight
src/RazorLight/EngineFactory.cs
src/RazorLight/EngineFactory.cs
using System; using RazorLight.Caching; using RazorLight.Templating; using RazorLight.Templating.Embedded; using RazorLight.Templating.FileSystem; namespace RazorLight { public static class EngineFactory { /// <summary> /// Creates a <see cref="RazorLightEngine"/> that resolves templates by searching them on ph...
using System; using RazorLight.Caching; using RazorLight.Templating; using RazorLight.Templating.Embedded; using RazorLight.Templating.FileSystem; namespace RazorLight { public static class EngineFactory { /// <summary> /// Creates a <see cref="RazorLightEngine"/> that resolves templates by searching them on ph...
apache-2.0
C#
d0a54dfaff12e5e4aaa25a4e7294b41f4b8e0ed1
Compress save files with GZip to save space (~20 times)
manio143/ShadowsOfShadows
src/Serialization/Serializer.cs
src/Serialization/Serializer.cs
using System; using System.IO; using System.IO.Compression; using System.Linq; using Microsoft.Xna.Framework; using YamlDotNet.Serialization; using ShadowsOfShadows.Entities; using ShadowsOfShadows.Items; using ShadowsOfShadows.Renderables; using ShadowsOfShadows.Helpers; namespace ShadowsOfShadows.Serialization {...
using System; using System.IO; using System.Linq; using Microsoft.Xna.Framework; using YamlDotNet.Serialization; using ShadowsOfShadows.Entities; using ShadowsOfShadows.Items; using ShadowsOfShadows.Renderables; using ShadowsOfShadows.Helpers; namespace ShadowsOfShadows.Serialization { public static class Seri...
mit
C#
9b19884ff44d731a9c18db49a6ed246b3d12964c
Change serialize/deserialize functions to abstract
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/LiteNetLibMessageBase.cs
Scripts/LiteNetLibMessageBase.cs
using LiteNetLib.Utils; namespace LiteNetLibHighLevel { public abstract class LiteNetLibMessageBase { public abstract void Deserialize(NetDataReader reader); public abstract void Serialize(NetDataWriter writer); } }
using LiteNetLib.Utils; namespace LiteNetLibHighLevel { public abstract class LiteNetLibMessageBase { public virtual void Deserialize(NetDataReader reader) { } public virtual void Serialize(NetDataWriter writer) { } } }
mit
C#
941e4fe184f9c71343f7bfbfc4e38fe200e644a8
Fix task name.
wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample
environment/Assets/Scripts/OneDimTask7.cs
environment/Assets/Scripts/OneDimTask7.cs
using UnityEngine; public class OneDimTask7 : OneDimTaskBase { public GameObject reward; public ShapeSelector selector; bool rewardShown = false; int waited = 0; int elapsed = 0; Range range; public override string Name() { return "One Dimensional Task 7"; } public override void In...
using UnityEngine; public class OneDimTask7 : OneDimTaskBase { public GameObject reward; public ShapeSelector selector; bool rewardShown = false; int waited = 0; int elapsed = 0; Range range; public override string Name() { return "One Dimensional Task 6"; } public override void In...
apache-2.0
C#
65f063788dfc8c3cdddf63c16c4e027342c1e9f3
Check admin user from controller.
RichardHowells/Dnn.Platform,dnnsoftware/Dnn.Platform,EPTamminga/Dnn.Platform,robsiera/Dnn.Platform,nvisionative/Dnn.Platform,nvisionative/Dnn.Platform,EPTamminga/Dnn.Platform,mitchelsellers/Dnn.Platform,bdukes/Dnn.Platform,bdukes/Dnn.Platform,valadas/Dnn.Platform,RichardHowells/Dnn.Platform,bdukes/Dnn.Platform,valadas/...
src/Modules/Content/Dnn.PersonaBar.Pages/MenuControllers/PagesMenuController.cs
src/Modules/Content/Dnn.PersonaBar.Pages/MenuControllers/PagesMenuController.cs
#region Copyright // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2017 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction,...
#region Copyright // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2017 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction,...
mit
C#
5cae927cf03737bdfd013d84654cb076266095bf
Add dbus-sharp-glib to friend assemblies
tmds/Tmds.DBus
AssemblyInfo.cs
AssemblyInfo.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; //[assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC ...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; //[assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC ...
mit
C#
2df89d46b243ea121369fe8c4ce46d634e40bad4
Add client_iden field to push requests
adamyeager/PushbulletSharp,DriesPeeters/PushbulletSharp
PushbulletSharp/Models/Requests/PushRequestBase.cs
PushbulletSharp/Models/Requests/PushRequestBase.cs
using System.Runtime.Serialization; namespace PushbulletSharp.Models.Requests { [DataContract] public abstract class PushRequestBase { /// <summary> /// Gets or sets the device iden. /// </summary> /// <value> /// The device iden. /// </value> [DataM...
using System.Runtime.Serialization; namespace PushbulletSharp.Models.Requests { [DataContract] public abstract class PushRequestBase { /// <summary> /// Gets or sets the device iden. /// </summary> /// <value> /// The device iden. /// </value> [DataM...
mit
C#
093b76e0ff59662353cd04ee865ccd54f5ba755d
Fix drawable mania judgement scene looking broken
ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneDrawableJudgement.cs
osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneDrawableJudgement.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Rulesets.Judgements; using osu....
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Mania.Scoring; ...
mit
C#
a33f84d5251382cc0f7ca5a5b4231240e843ca7a
Fix #95: Restrict platforms the P/Invoke SetEnvironmentVariable.
IronLanguages/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython...
Runtime/Microsoft.Scripting/Utils/NativeMethods.cs
Runtime/Microsoft.Scripting/Utils/NativeMethods.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
apache-2.0
C#
366040c3a625dbb31265e56f2f3204412ff01f05
break the build to check travis ci
Isantipov/mqpi,Isantipov/mqpi
mqpi/Controllers/MockedController.cs
mqpi/Controllers/MockedController.cs
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; namespace mqpi.Controllers { [Route("api/{type}")] public class MockedController : Controller { private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(MockedController)); // GET api/valu...
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; namespace mqpi.Controllers { [Route("api/{type}")] public class MockedController : Controller { private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(MockedController)); // GET api/valu...
mit
C#
ff5c47be59506173113c8bca608d93b87e701faf
Write if differ file write tests.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Tests/StoreTests.cs
WalletWasabi.Tests/StoreTests.cs
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using WalletWasabi.Stores; using Xunit; namespace WalletWasabi.Tests { public class StoreTests { [Fact] public async Task IndexStoreTestsAsync() { var indexSto...
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using WalletWasabi.Stores; using Xunit; namespace WalletWasabi.Tests { public class StoreTests { [Fact] public async Task IndexStoreTestsAsync() { var indexSto...
mit
C#
143589c9cb670b50d9c760068d683590c99a2e26
remove not needed #if directives - AnalyticsServices
RadicalFx/radical
src/Radical/AnalyticsService.cs
src/Radical/AnalyticsService.cs
using System; using System.Security.Principal; using System.Threading; namespace Radical { namespace ComponentModel { public interface IAnalyticsServices { Boolean IsEnabled { get; set; } void TrackUserActionAsync(Analytics.AnalyticsEvent action); } } n...
using System; using System.Security.Principal; using System.Threading; namespace Radical { namespace ComponentModel { public interface IAnalyticsServices { Boolean IsEnabled { get; set; } void TrackUserActionAsync(Analytics.AnalyticsEvent action); } } n...
mit
C#
f79728b63a0fffe12f18b84c381d8d88f61d14ef
Add cull as final step
RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake
src/Snowflake.Framework/Scraping/GameScrapeContextAsyncEnumerator.cs
src/Snowflake.Framework/Scraping/GameScrapeContextAsyncEnumerator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Snowflake.Scraping { internal class GameScrapeContextAsyncEnumerator : IAsyncEnumerator<IEnumerable<ISeed>> { public GameScrapeContextAsyncEnumerator(Ga...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Snowflake.Scraping { internal class GameScrapeContextAsyncEnumerator : IAsyncEnumerator<IEnumerable<ISeed>> { public GameScrapeContextAsyncEnumerator(Ga...
mpl-2.0
C#
139070df59b53014f81120c11e1caadb5850c0db
Fix AssemblyInfo for Security.Interop.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.Owin.Security.Interop.Test/Properties/AssemblyInfo.cs
test/Microsoft.Owin.Security.Interop.Test/Properties/AssemblyInfo.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyMetadata("Serviceable", "True")] [assembly: ...
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("Mic...
apache-2.0
C#
a5bb516052e5623a6c0cb25e76097b6197a68d41
Update XProperty.cs
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D/Data/XProperty.cs
src/Core2D/Data/XProperty.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Core2D.Attributes; namespace Core2D.Data { /// <summary> /// Data property. /// </summary> public class XProperty : Observable...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Core2D.Attributes; namespace Core2D.Data { /// <summary> /// Data property. /// </summary> public class XProperty : Observable...
mit
C#
bd09157978581d6463c5320b92f11b96ae5542f5
change to list interface
tparnell8/XIVSync.Net
src/XIVSync.Net/LodestoneApi.cs
src/XIVSync.Net/LodestoneApi.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using CsQuery; using CsQuery.ExtensionMethods; using CsQuery.Web; using Newtonsoft.Json; using RestSharp; namespace XIVSync.Net { public class LodestoneApi { public LodestoneSearch SearchCharacter(string char...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using CsQuery; using CsQuery.ExtensionMethods; using CsQuery.Web; using Newtonsoft.Json; using RestSharp; namespace XIVSync.Net { public class LodestoneApi { public LodestoneSearch SearchCharacter(string char...
mit
C#
d52a7362d4290b6b6d00759e5ab05581195a8eb2
set console encoding to UTF-8
cityindex/LogSearchShipper,modulexcite/LogSearchShipper
src/MtLogTailer/Program.cs
src/MtLogTailer/Program.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; namespace MtLogTailer { static class Program { static void Main(string[] args) { try { if (args.Length != 1) throw new ApplicationException("Inv...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; namespace MtLogTailer { static class Program { static void Main(string[] args) { try { if (args.Length != 1) throw new ApplicationException("Inv...
apache-2.0
C#
2751cbfaba65569c2fdefad87fa00a89be9e9968
Bump version.
FacilityApi/FacilityCSharp
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.4.1.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("0.4.0.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
d08aad712447d5a78992464df9523d36fe7754a0
Bump version to v1.2.1, breaking change for Data.HashFunction.CRC only.
brandondahler/Data.HashFunction,dbckr/Data.HashFunction
SolutionInfo.cs
SolutionInfo.cs
using System; using System.Reflection; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Data.HashFunction Developers")] [assembly: AssemblyCopyright("Copyright 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: CLSCompliant(false)] [assembly: AssemblyVersion("1.2.1...
using System; using System.Reflection; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Data.HashFunction Developers")] [assembly: AssemblyCopyright("Copyright 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: CLSCompliant(false)] [assembly: AssemblyVersion("1.1.1...
mit
C#
70758b2850faeb9710a201216d881d78d680ac82
Add helper methods to http descriptor. This provides a more fluent interface between setting name and description with actions.
khalidabuhakmeh/descriptor,kendaleiv/descriptor,ritterim/descriptor,kendaleiv/descriptor
src/Descriptor/HttpDescriptor.cs
src/Descriptor/HttpDescriptor.cs
using System; using System.Linq.Expressions; using RimDev.Descriptor.Generic; namespace RimDev.Descriptor { public class HttpDescriptor<TClass> : Descriptor<TClass> where TClass : class, new() { public HttpDescriptor( string name = null, string description = null, ...
using System; using System.Linq.Expressions; using RimDev.Descriptor.Generic; namespace RimDev.Descriptor { public class HttpDescriptor<TClass> : Descriptor<TClass> where TClass : class, new() { public HttpDescriptor<TClass> Action<TModel>( Expression<Func<TClass, Func<TModel, obje...
mit
C#
17d86538682af854d7f6c4b1edc4d54d69ae53f3
Update FSharpServiceFeatureOnOffOptions.cs
davkean/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,physhi/roslyn,agocke/roslyn,dotnet/roslyn,nguerrera/roslyn,KirillOsenkov/roslyn,shyamnamboodiripad/roslyn,reaction1989/roslyn,AmadeusW/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,AlekseyTs/roslyn,gafter/roslyn,bartdesmet/roslyn,ErikSchierboom/roslyn,sharwell/roslyn,dotn...
src/Tools/ExternalAccess/FSharp/Shared/Options/FSharpServiceFeatureOnOffOptions.cs
src/Tools/ExternalAccess/FSharp/Shared/Options/FSharpServiceFeatureOnOffOptions.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 Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.ExternalAccess.FSharp.Shared.Options { internal static class FSharpServiceFeature...
// 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 Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.ExternalAccess.FSharp.Shared.Options { internal static class FSharpServiceFeature...
mit
C#
054d17863604701910d74da26fef158086ca787a
Update SharedAssemblyInfo.cs
wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter
src/Shared/SharedAssemblyInfo.cs
src/Shared/SharedAssemblyInfo.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2010-2016")] [assembly: AssemblyTr...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2010-2016")] [assembly: AssemblyTr...
mit
C#
be58c4a881c502cc2deb19376f9cebfa6fe82169
Fix to detect Mac OS X
CodeComb/Package,CodeComb/Package
src/CodeComb.Package/OS.cs
src/CodeComb.Package/OS.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Runtime.InteropServices; #if DNXCORE50 || DNX451 using Microsoft.Extensions.DependencyInjection; using Microsoft.Dnx.Runtime; using Microsoft.Dnx.Runtime.Infrastructure; #endif namespace CodeComb.P...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Runtime.InteropServices; #if DNXCORE50 || DNX451 using Microsoft.Extensions.DependencyInjection; using Microsoft.Dnx.Runtime; using Microsoft.Dnx.Runtime.Infrastructure; #endif namespace CodeComb.P...
apache-2.0
C#
9cce05ea7396879d52a6bad05186818dc7dadaa2
Update ai ranges
GameMakersUnion/JurassicCraft,GameMakersUnion/JurassicCraft,GameMakersUnion/JurassicCraft
Assets/EnemyAI.cs
Assets/EnemyAI.cs
using UnityEngine; using System.Collections; public class EnemyAI : MonoBehaviour { public GameObject enemies; public GameObject friends; private int targetUnit; // Use this for initialization void Start () { targetUnit = 0; } // Update is called once per frame void Update () { foreach (Transform enem...
using UnityEngine; using System.Collections; public class EnemyAI : MonoBehaviour { public GameObject enemies; public GameObject friends; // Use this for initialization void Start () { } // Update is called once per frame void Update () { foreach (Transform enemy in enemies.transform) { Vector3 targe...
apache-2.0
C#
57fc25c385575d0ce790e9d11b44a4a9a08e70e1
change to minor version update instead of patch
cadon/ARKStatsExtractor
ARKBreedingStats/Properties/AssemblyInfo.cs
ARKBreedingStats/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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("ARK Smart Breedin...
using System.Reflection; using System.Resources; 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("ARK Smart Breedin...
mit
C#
3dbb41d13e2fda9b8004c3473e072e5c8c8e9d63
Fix comments
quartz-software/kephas,quartz-software/kephas
src/Kephas.Core/Security/Authorization/RequiresPermissionAttribute.cs
src/Kephas.Core/Security/Authorization/RequiresPermissionAttribute.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RequiresPermissionAttribute.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file i...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DemandPermissionAttribute.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in ...
mit
C#
09aefef415755dc457e476cb873325580740b95d
add Digest structure and ComputeDigest for computing hash code for a given buffer.
kingsamchen/EasyKeeper
VaultMarshal.cs
VaultMarshal.cs
/* @ Kingsley Chen */ using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Security.Cryptography; namespace EasyKeeper { public static class VaultMarshal { private class Digest { private readonly byte[] _data; pu...
/* @ Kingsley Chen */ using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace EasyKeeper { public static class VaultMarshal { private const uint ProtoclVersion = 1U; public static void Marshal(string pwd, AccountStore store, Stream ou...
mit
C#
2508f241b323ac8ca6cdcac8734105f4ff671a21
Add AddStarToIssueAndCommentAsync
ats124/backlog4net
src/Backlog4net.Test/StarMethodsTest.cs
src/Backlog4net.Test/StarMethodsTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Remoting; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json;...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Remoting; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json;...
mit
C#
b1d0409f9901b5da4f3e25bd50f82f6c9e55c91c
Clean up ModMonoCmd
murador/xsp,stormleoxia/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,arthot/xsp
src/Mono.WebServer.Apache/ModMonoCmd.cs
src/Mono.WebServer.Apache/ModMonoCmd.cs
// // Mono.WebServer.ModMonoCmd // // Authors: // Daniel Lopez Ridruejo // Gonzalo Paniagua Javier // // Copyright (c) 2002 Daniel Lopez Ridruejo. // (c) 2002,2003 Ximian, Inc. // All rights reserved. // (C) Copyright 2004-2010 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted...
// // Mono.WebServer.ModMonoCmd // // Authors: // Daniel Lopez Ridruejo // Gonzalo Paniagua Javier // // Copyright (c) 2002 Daniel Lopez Ridruejo. // (c) 2002,2003 Ximian, Inc. // All rights reserved. // (C) Copyright 2004-2010 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted...
mit
C#
284dd8f365a350a00dfd304ab756f285cb4261a6
Simplify filter.
zacbrown/hiddentreasure-etw-demo
hiddentreasure-etw-demo/PowerShellMethodExecution.cs
hiddentreasure-etw-demo/PowerShellMethodExecution.cs
// Copyright (c) Zac Brown. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using O365.Security.ETW; namespace hiddentreasure_etw_demo { public static class PowerShellMethodExecution { public static void Run() ...
// Copyright (c) Zac Brown. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using O365.Security.ETW; namespace hiddentreasure_etw_demo { public static class PowerShellMethodExecution { public static void Run() ...
mit
C#
3e7a2363d520c7f0c10c8a7be2c8845a3c1b36b6
Fix one parameter in the EthernetDevice.cs functions
shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg
trunk/src/bindings/EthernetDevice.cs
trunk/src/bindings/EthernetDevice.cs
using System; using System.Runtime.InteropServices; namespace TAPCfg { public class EthernetDevice : IDisposable { private const int MTU = 1522; private IntPtr handle; public EthernetDevice() { handle = tapcfg_init(); } public void Start() { tapcfg_start(handle); } public byte[] Read() { in...
using System; using System.Runtime.InteropServices; namespace TAPCfg { public class EthernetDevice : IDisposable { private const int MTU = 1522; private IntPtr handle; public EthernetDevice() { handle = tapcfg_init(); } public void Start() { tapcfg_start(handle); } public byte[] Read() { in...
lgpl-2.1
C#
4a67b885a84cf58e2aad601ffbb53b9febc6b0f1
fix badge center icon links
ucdavis/Badges,ucdavis/Badges
Badges/Views/Badge/Index.cshtml
Badges/Views/Badge/Index.cshtml
@model dynamic @{ ViewBag.Title = "Badge Center"; } <h2>Badge center</h2> <ul class="nav menu row"> <li class="col-md-4"><a href="/Badge/Create"><i class="icon-beaker icon-3x"></i>@Html.ActionLink("Design a badge", "Create")</a></li> <li class="col-md-4"><a href="/Badge/Browse"><i class="ico...
@model dynamic @{ ViewBag.Title = "Badge Center"; } <h2>Badge center</h2> <ul class="nav menu row"> <li class="col-md-4"><a href="Create"><i class="icon-beaker icon-3x"></i>@Html.ActionLink("Design a badge", "Create")</a></li> <li class="col-md-4"><a href="Browse"><i class="icon-star icon-3x...
mpl-2.0
C#
ac78bcffef6651b9ca03b5b3c4ea5c2ef77321e7
Fix build warning in SharedLibrary.cs
cshung/clrmd,cshung/clrmd,Microsoft/clrmd,Microsoft/clrmd
src/TestTargets/Shared/SharedLibrary.cs
src/TestTargets/Shared/SharedLibrary.cs
using System; #pragma warning disable CS0169 #pragma warning disable 0414 public class Foo { int i = 42; string s = "string"; bool b = true; float f = 4.2f; double d = 8.4; object o = new object(); Struct st = new Struct(); public string FooString = "Foo string"; public void Bar(...
using System; #pragma warning disable 0414 public class Foo { int i = 42; string s = "string"; bool b = true; float f = 4.2f; double d = 8.4; object o = new object(); Struct st = new Struct(); public string FooString = "Foo string"; public void Bar() { } public void Baz() { ...
mit
C#
7e242bd18c361607a44ec307165820d39687761c
Add help output
jennings/DbfCmd
DbfCmd/Program.cs
DbfCmd/Program.cs
//------------------------------------------------------------------------------------ // <copyright file="Program.cs" company="The DbfCmd Project"> // Copyright 2011 Various Contributors. Licensed under the Apache License, Version 2.0. // </copyright> //--------------------------------------------------------------...
//------------------------------------------------------------------------------------ // <copyright file="Program.cs" company="The DbfCmd Project"> // Copyright 2011 Various Contributors. Licensed under the Apache License, Version 2.0. // </copyright> //--------------------------------------------------------------...
apache-2.0
C#
c13ccab64912639d4261afe7a2f015b593533533
Update Languages.cs
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Localization/Base/Languages.cs
Client/Localization/Base/Languages.cs
namespace LunaClient.Localization { public enum Languages { English, Russian, German } }
namespace LunaClient.Localization { public enum Languages { English, Russian } }
mit
C#
d1eede448bcfda3335c18fbaf2a1ae3ad5a3bb22
Fix "Popup" action "Text", "Title" default values
danielchalmers/DesktopWidgets
DesktopWidgets/Actions/PopupAction.cs
DesktopWidgets/Actions/PopupAction.cs
using System.ComponentModel; using System.Windows; namespace DesktopWidgets.Actions { internal class PopupAction : ActionBase { [DisplayName("Text")] public string Text { get; set; } = ""; [DisplayName("Title")] public string Title { get; set; } = ""; [DisplayName("Im...
using System.ComponentModel; using System.Windows; namespace DesktopWidgets.Actions { internal class PopupAction : ActionBase { [DisplayName("Text")] public string Text { get; set; } [DisplayName("Title")] public string Title { get; set; } [DisplayName("Image")] ...
apache-2.0
C#
4f6a3a25bc4436d79a3d1b1bbc0d8ce576029d17
Remove redundant modifiers on ReverseComparer
fsateler/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq,morelinq/MoreLINQ,ddpruitt/morelinq
MoreLinq/ReverseComparer.cs
MoreLinq/ReverseComparer.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2016 Felipe Sateler. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2016 Felipe Sateler. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
apache-2.0
C#
c5b10b05976365d942740470912f94ce7c7019ac
Remove unnecessary comments
fredatgithub/WinFormTemplate
WinFormTemplate/FormMain.cs
WinFormTemplate/FormMain.cs
using System; using System.Diagnostics; using System.Reflection; using System.Windows.Forms; using WinFormTemplate.Properties; namespace WinFormTemplate { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private void QuitToolStripMenuItem_Click(object send...
using System; using System.Diagnostics; using System.Reflection; using System.Windows.Forms; using WinFormTemplate.Properties; namespace WinFormTemplate { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private void QuitToolStripMenuItem_Click(object send...
mit
C#
ccf9771a0664d1cc7f379e40bad924a77dab4989
Remove MIT license header
fredatgithub/WinFormTemplate
WinFormTemplate/Language.cs
WinFormTemplate/Language.cs
namespace WinFormTemplate { public enum Language { French, English } }
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
mit
C#
ed2e876236242fafb15accdd8642400eb9cde63c
fix property accessibility
depp/morning-ritual
MorningRitual/Assets/Scripts/GameManager.cs
MorningRitual/Assets/Scripts/GameManager.cs
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { private static GameManager instanceValue; public GameObject initialRoom; /// <summary> /// Get the global GameManager instance. /// </summary> public static GameManager Instance { get { if (!instanceValue) { var ob...
using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { private static GameManager instanceValue; public GameObject initialRoom; /// <summary> /// Get the global GameManager instance. /// </summary> public static GameManager Instance { get { if (!instanceValue) { var ob...
mit
C#
70927007c5c7c96856caa5b1b093b8894d0f886e
Remove unused 'using' on InternalErrorException.cs
nieltg/ReadSharp.Core
NReadability.Core/InternalErrorException.cs
NReadability.Core/InternalErrorException.cs
/* * NReadability * http://code.google.com/p/nreadability/ * * Copyright 2010 Marek Stój * http://immortal.pl/ * * 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.ap...
/* * NReadability * http://code.google.com/p/nreadability/ * * Copyright 2010 Marek Stój * http://immortal.pl/ * * 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.ap...
mit
C#