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
9c7a9d1bc4eacd59c1a7464a560b0ad12d4b642f
Remove unnecessary code
wtgodbe/corefx,shimingsg/corefx,Jiayili1/corefx,ericstj/corefx,mmitche/corefx,wtgodbe/corefx,zhenlan/corefx,ericstj/corefx,ViktorHofer/corefx,Jiayili1/corefx,ptoonen/corefx,Jiayili1/corefx,ericstj/corefx,ravimeda/corefx,shimingsg/corefx,ericstj/corefx,axelheer/corefx,axelheer/corefx,Ermiar/corefx,ravimeda/corefx,wtgodb...
src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.cs
src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Xunit; namespace System.Reflection.Tests { public static class ReflectionTypeLoadException...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.CompilerServices; using Xunit; [assembly: TypeForwardedTo(typeof(string))] [ass...
mit
C#
0631626c3e20a469a42afeb024e94a7a6a60423a
Add header class comment
Nvt2106/MagicalStorage
MagicalStorage.Core/MSSortInfo.cs
MagicalStorage.Core/MSSortInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagicalStorage.Core { /// <summary> /// Store sorting information, including sort by which property name and which direction. /// </summary> public class MSSortInfo { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagicalStorage.Core { public class MSSortInfo { public string PropertyName { get; private set; } public MSSortDirection SortDirection { get; private set; } pub...
mit
C#
f35705653204724c2741c0284583ffd9f736561e
update disable history api
tsolarin/readline,tsolarin/readline
src/ReadLine/ReadLine.cs
src/ReadLine/ReadLine.cs
using Internal.ReadLine; using Internal.ReadLine.Abstractions; using System.Collections.Generic; namespace System { public static class ReadLine { private static List<string> _history; static ReadLine() { _history = new List<string>(); } public static voi...
using Internal.ReadLine; using Internal.ReadLine.Abstractions; using System.Collections.Generic; namespace System { public static class ReadLine { private static List<string> _history; static ReadLine() { _history = new List<string>(); } public static voi...
mit
C#
74e54141af850c48a9727eadb12194b2663fab71
Fix JobPicker
bunashibu/kikan
Assets/Scripts/JobPicker.cs
Assets/Scripts/JobPicker.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; public class JobPicker : MonoBehaviour { public void PickManji() { PickImpl(0, 30); } public void PickMagician() { PickImpl(1, 2200); } public void PickWarrior() { //PickImpl(); } void PickImpl(int n, int life) { _play...
using UnityEngine; using UnityEngine.UI; using System.Collections; public class JobPicker : MonoBehaviour { public void PickManji() { PickImpl(0, 30); } public void PickMagician() { PickImpl(1, 2200); } public void PickWarrior() { //PickImpl(); } void PickImpl(int n, int life) { _play...
mit
C#
91e80070f4fe63958e8aeb12f2434890748dcb46
Fix #3
surviveplus/UnitTest-Sample
vs2013ja/SampleClassLibrary/Simple/StaticSomethingExecutor.cs
vs2013ja/SampleClassLibrary/Simple/StaticSomethingExecutor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SampleClassLibrary.Simple { /// <summary> /// 単体テストの対象となる「何かを実行するクラス」です。静的メソッドのみを取り扱います。 /// </summary> public static class StaticSomethingExecutor { /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SampleClassLibrary.Simple { /// <summary> /// 単体テストの対象となる「何かを実行するクラス」です。静的メソッドのみを取り扱います。 /// </summary> public static class StaticSomethingExecutor { /// <summary> ...
mit
C#
f118d80f3722a3349d1daad7857ab15b82ce89bf
Remove optional flag for app settings
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Program.cs
src/StockportWebapp/Program.cs
using System.IO; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace StockportWebapp { public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public...
using System.IO; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace StockportWebapp { public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public...
mit
C#
88606c3f38d49d6a5d3405d7a2bc4f88baa098e1
Update SettingsBase.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D.Editor/SettingsBase.cs
src/Core2D.Editor/SettingsBase.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. namespace Core2D.Editor { /// <summary> /// Defines settings contract. /// </summary> public abstract class SettingsBase : ObservableObject { ...
// 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. namespace Core2D.Editor { /// <summary> /// Defines settings base class. /// </summary> public abstract class SettingsBase : ObservableObject ...
mit
C#
275e86fdf72cd2b3999ff314d159ec1ee881e3d6
Advance to next page only after entering and leaving HomingAxis
jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl
MatterControlLib/ConfigurationPage/PrintLeveling/WizardPages/HomePrinterPage.cs
MatterControlLib/ConfigurationPage/PrintLeveling/WizardPages/HomePrinterPage.cs
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
77ae7cdad885f85f6038e20ae840311026371642
Test adding tags in ASP.NET Core test project
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net.AspNetCore2.Tests/ExampleRaygunAspNetCoreClientProvider.cs
Mindscape.Raygun4Net.AspNetCore2.Tests/ExampleRaygunAspNetCoreClientProvider.cs
using Microsoft.AspNetCore.Http; using Mindscape.Raygun4Net.AspNetCore; using System.Collections.Generic; namespace Mindscape.Raygun4Net.AspNetCore2.Tests { public class ExampleRaygunAspNetCoreClientProvider : DefaultRaygunAspNetCoreClientProvider { public override AspNetCore.RaygunClient GetClient(As...
using Microsoft.AspNetCore.Http; using Mindscape.Raygun4Net.AspNetCore; namespace Mindscape.Raygun4Net.AspNetCore2.Tests { public class ExampleRaygunAspNetCoreClientProvider : DefaultRaygunAspNetCoreClientProvider { public override AspNetCore.RaygunClient GetClient(AspNetCore.RaygunSettings settings, ...
mit
C#
41d60382044206d3c4c8a636a726928d56501301
Update NamedWeaverFromBase.cs
GeertvanHorrik/Fody,Fody/Fody
Integration/Weavers/NamedWeaverFromBase.cs
Integration/Weavers/NamedWeaverFromBase.cs
using System.Collections.Generic; using Fody; using Mono.Cecil; public class NamedWeaverFromBase : BaseModuleWeaver { public override void Execute() { var type = GetType(); var typeDefinition = new TypeDefinition( @namespace: type.Assembly.GetName().Name, name: $"TypeInj...
using System.Collections.Generic; using Fody; using Mono.Cecil; public class NamedWeaverFromBase : BaseModuleWeaver { public override void Execute() { var type = GetType(); var typeDefinition = new TypeDefinition( @namespace: type.Assembly.GetName().Name, name: $"TypeInj...
mit
C#
c87558f557a5313fdb72cfc32ef0d3412015ff95
include all headers
AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us
mikeandwan.us/Views/Admin/ShowRequestDetails.cshtml
mikeandwan.us/Views/Admin/ShowRequestDetails.cshtml
@model Microsoft.AspNetCore.Http.HttpContext @{ ViewBag.Title = "admin | request details"; } @Html.Partial("_PageHeader", "Request Details") <h2>Basic</h2> <table class="table table-condensed table-hover"> <tr> <th>Content Length</th> <td>@Model.Request.ContentLength</td> </tr> <tr> ...
@model Microsoft.AspNetCore.Http.HttpContext @{ ViewBag.Title = "admin | request details"; } @Html.Partial("_PageHeader", "Request Details") <h2>Basic</h2> <table class="table table-condensed table-hover"> <tr> <th>Content Length</th> <td>@Model.Request.ContentLength</td> </tr> <tr> ...
mit
C#
d64d6970610d8a6eaf5dfdee7821e327fe3cd4e2
Update ITableService.cs
tamasflamich/nmemory
Main/Source/NMemory.Shared/Services/Contracts/ITableService.cs
Main/Source/NMemory.Shared/Services/Contracts/ITableService.cs
// ---------------------------------------------------------------------------------- // <copyright file="ITableService.cs" company="NMemory Team"> // Copyright (C) NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentati...
// ---------------------------------------------------------------------------------- // <copyright file="ITableService.cs" company="NMemory Team"> // Copyright (C) NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentati...
mit
C#
990f515576c25b1d157281f0da9e34b819f852cc
Add attribute routing
serilog-web/classic-webapi
SerilogWeb.Classic.WebApi.Test/Controllers/ValuesController.cs
SerilogWeb.Classic.WebApi.Test/Controllers/ValuesController.cs
using System.Collections.Generic; using System.Web.Http; namespace SerilogWeb.Classic.WebApi.Test.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { return new string[] { "value1", "value2" }; } ...
using System.Collections.Generic; using System.Web.Http; namespace SerilogWeb.Classic.WebApi.Test.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { return new string[] { "value1", "value2" }; } ...
apache-2.0
C#
c784330091d3e9aa56125d3e06d78166edd833a7
Change interface parameter name to match it's type name
ChristopherJennings/KInspector,KenticoBSoltis/KInspector,pnmcosta/KInspector,anibalvelarde/KInspector,petrsvihlik/KInspector,martbrow/KInspector,petrsvihlik/KInspector,ChristopherJennings/KInspector,JosefDvorak/KInspector,martbrow/KInspector,xpekatt/KInspector,JosefDvorak/KInspector,philipproplesch/KInspector,anibalvel...
KInspector.Core/IModule.cs
KInspector.Core/IModule.cs
namespace KInspector.Core { /// <summary> /// The interface to implement to add a functionality to this application. /// Add DLL with implementation of this interface to the same folder as executing assembly to auto-load /// all of them. /// </summary> public interface IModule { //...
namespace KInspector.Core { /// <summary> /// The interface to implement to add a functionality to this application. /// Add DLL with implementation of this interface to the same folder as executing assembly to auto-load /// all of them. /// </summary> public interface IModule { //...
mit
C#
841f4372466e05ec72527eab5de473158363b7fd
Bump version to 0.1.4.
FacilityApi/Facility,ejball/Facility
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.1.4.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("0.1.3.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
56ef69b0d798a53a36d69e1b01410a744e3f18fe
Change IntervalReachedEventArgs to be a public class.
jcheng31/IntervalTimer
IntervalReachedEventArgs.cs
IntervalReachedEventArgs.cs
using System; using Microsoft.SPOT; namespace IntervalTimer { public enum IntervalType { Short, Long }; public class IntervalReachedEventArgs : EventArgs { public IntervalType Type { get; set; } public String Message { get; set; } public...
using System; using Microsoft.SPOT; namespace IntervalTimer { public enum IntervalType { Short, Long }; class IntervalReachedEventArgs : EventArgs { public IntervalType Type { get; set; } public String Message { get; set; } public Interv...
mit
C#
4cea1ac43dbbb5ec04c3413598ea5fcbee4c27bb
Update Version
metaphorce/leaguesharp
MetaSmite/Properties/AssemblyInfo.cs
MetaSmite/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("Me...
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("Me...
mit
C#
b4ae1db6b9f2f4bfa20275e2837dd2ddb142d94c
update version
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.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...
mit
C#
161b35ee91154219e404e5314688be2cd4cbde5d
Bump version
nixxquality/WebMConverter,Yuisbean/WebMConverter,o11c/WebMConverter
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("We...
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("We...
mit
C#
f7c0f0b56a1eec7e9e9b9df465a8ca1e9eaca559
Bump version
BricksandMortar/Postcoder-Web,BricksandMortar/PostcoderWeb
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("Po...
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("Po...
apache-2.0
C#
15f4fb398461aacad608abb55bd3b9a8b7c5f4f6
Increase version in assembly info
kdelmonte/netnoder,kdelmonte/netnoder
Properties/AssemblyInfo.cs
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("NetNoder")] [assembly: AssemblyDescripti...
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("NetNoder")] [assembly: AssemblyDescripti...
mit
C#
a75051a685494cd95d85f0fded149b143d23e9d0
Bump version.
JohanLarsson/KillWpfDesigner
KillWpfDesigner/Properties/AssemblyInfo.cs
KillWpfDesigner/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("KillWpfDesigner")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Johan Larsson")] [assembly: AssemblyProduct("KillWpfDesigner")] [assembly: AssemblyCopyright("")] [assembly:...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("KillWpfDesigner")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Johan Larsson")] [assembly: AssemblyProduct("KillWpfDesigner")] [assembly: AssemblyCopyright("")] [assembly:...
mit
C#
01097cfe59da46077faf884c84a49c4e3a8ff10f
Add note about specific exceptions
mattgwagner/CertiPay.Common
CertiPay.Common.Notifications/Notifications/ISMSService.cs
CertiPay.Common.Notifications/Notifications/ISMSService.cs
using CertiPay.Common.Logging; using System; using System.Threading; using System.Threading.Tasks; using Twilio; namespace CertiPay.Common.Notifications { /// <summary> /// Send an SMS message to the given recipient. /// </summary> /// <remarks> /// Implementation may be sent into background proce...
using CertiPay.Common.Logging; using System; using System.Threading; using System.Threading.Tasks; using Twilio; namespace CertiPay.Common.Notifications { /// <summary> /// Send an SMS message to the given recipient. /// </summary> /// <remarks> /// Implementation may be sent into background proce...
mit
C#
b3fe472e5d465df8fbbc8bc8b3dd98d2ac7d6357
Bump version
kamil-mrzyglod/Seal
Seal.Fody/Properties/AssemblyInfo.cs
Seal.Fody/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("Se...
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("Se...
mit
C#
95c2897c5e5a5310ad32d3630423a36bdfc7adaf
Replace machine domain
taddison/blog-oms-to-slack
GenericFunctionExternalConfig/OMSToSlack/OMSMetricToSlack.cs
GenericFunctionExternalConfig/OMSToSlack/OMSMetricToSlack.cs
using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; using OMSToSlack; using OMSToSlack.Models; using OMSToSlack.Models.OMS; using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; public class OMSMetricToSlack { private static AlertProcessor __processo...
using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Host; using OMSToSlack; using OMSToSlack.Models; using OMSToSlack.Models.OMS; using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; public class OMSMetricToSlack { private static AlertProcessor __processo...
mit
C#
656a5c5eb1465cdaf4ca4ad1a6946cb48cecf94f
Update startScreen.cs
IanMcT/StockMarketGame
SMG/SMG/startScreen.cs
SMG/SMG/startScreen.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SMG { public partial class startScreen : Form { public startScree...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SMG { public partial class startScreen : Form { public startScre...
apache-2.0
C#
897804f44b9337cd2ae11974529aab4353229474
Add stream based implementation for Calibration items
jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/M...
Library/Providers/MatterControl/CalibrationPartsContainer.cs
Library/Providers/MatterControl/CalibrationPartsContainer.cs
/* Copyright (c) 2017, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* Copyright (c) 2017, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
bsd-2-clause
C#
0082dee1ec6c7c17f5fc4a8d83c14a9566617a0c
Revert "Convert mapping async exceptions to Promise"
Miruken-DotNet/Miruken
Source/Miruken.Map/MappingHandler.cs
Source/Miruken.Map/MappingHandler.cs
namespace Miruken.Map { using System; using Callback; using Concurrency; public class MappingHandler : Handler, IMapping { public object Map(object source, object typeOrInstance, object format = null) { if (source == null) throw...
namespace Miruken.Map { using System; using Callback; using Concurrency; public class MappingHandler : Handler, IMapping { public object Map(object source, object typeOrInstance, object format = null) { if (source == null) throw...
mit
C#
a3cd55e58538262c971c729ac6c0e2ec367b2b27
Implement constants for tests
maherkassim/UnitsNet,maherkassim/UnitsNet,Tirael/UnitsNet,anjdreas/UnitsNet,BrandonLWhite/UnitsNet,BoGrevyDynatest/UnitsNet,anjdreas/UnitsNet,neutmute/UnitsNet,BrandonLWhite/UnitsNet
Tests/CustomCode/InformationTests.cs
Tests/CustomCode/InformationTests.cs
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/UnitsNet // // 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, includi...
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/UnitsNet // // 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, includi...
mit
C#
1bf5d5886e8535040c1457689310115a01010e98
Fix importer error #555
dotless/dotless,dotless/dotless
src/dotless.AspNet/HandlerImpl.cs
src/dotless.AspNet/HandlerImpl.cs
namespace dotless.Core { using Abstractions; using Input; using Response; public class HandlerImpl { public readonly IHttp Http; public readonly IResponse Response; public readonly ILessEngine Engine; public readonly IFileReader FileReader; public HandlerImp...
namespace dotless.Core { using Abstractions; using Input; using Response; public class HandlerImpl { public readonly IHttp Http; public readonly IResponse Response; public readonly ILessEngine Engine; public readonly IFileReader FileReader; public HandlerImp...
apache-2.0
C#
b0558567aa42b5cd7d6c53d550512b9dcc5e6438
support 0 max-age for HSTS
tonyeung/IdentityServer3,olohmann/IdentityServer3,bestwpw/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,mvalipour/IdentityServer3,angelapper/IdentityServer3,tbitowner/IdentityServer3,mvalipour/IdentityServer3,paulofoliveira/IdentityServer3,wondertrap/IdentityServer3,remunda/IdentityServer3,bodell/IdentityServer3...
source/Core/Configuration/AppBuilderExtensions/UseHstsExtension.cs
source/Core/Configuration/AppBuilderExtensions/UseHstsExtension.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
C#
6db6cab3f369157648adecd6cfce458b905794a5
Remove obsolete clip clear request code
Schlechtwetterfront/snipp
ViewModels/SettingsPanelViewModel.cs
ViewModels/SettingsPanelViewModel.cs
using System; namespace clipman.ViewModels { class SettingsPanelViewModel { } }
using System; namespace clipman.ViewModels { class SettingsPanelViewModel { public void ClearClips() { ClearRequested?.Invoke(this, EventArgs.Empty); } public event EventHandler ClearRequested; } }
apache-2.0
C#
2c4483f234a1e8f1d22e19febda7d3665154f12a
Update src/Abp.Web/Web/MultiTenancy/HttpCookieTenantResolveContributor.cs
beratcarsi/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,beratcarsi/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/as...
src/Abp.Web/Web/MultiTenancy/HttpCookieTenantResolveContributor.cs
src/Abp.Web/Web/MultiTenancy/HttpCookieTenantResolveContributor.cs
using System.Web; using Abp.Configuration.Startup; using Abp.Dependency; using Abp.Extensions; using Abp.MultiTenancy; namespace Abp.Web.MultiTenancy { public class HttpCookieTenantResolveContributor : ITenantResolveContributor, ITransientDependency { private readonly IMultiTenancyConfig _multiTenancyC...
using System.Web; using Abp.Configuration.Startup; using Abp.Dependency; using Abp.Extensions; using Abp.MultiTenancy; namespace Abp.Web.MultiTenancy { public class HttpCookieTenantResolveContributor : ITenantResolveContributor, ITransientDependency { private readonly IMultiTenancyConfig _multiTenancyC...
mit
C#
66c074a00377f7e4d235e27c83e3f82c4a66009f
Increment version
R-Smith/vmPing
vmPing/Properties/AssemblyInfo.cs
vmPing/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#
41037035f1eb6949ff4088c6de48c3973be2942b
change /checkinevents to /events
crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin
SignInCheckIn/SignInCheckIn/Controllers/EventController.cs
SignInCheckIn/SignInCheckIn/Controllers/EventController.cs
using System; using System.Collections.Generic; using System.Reflection; using System.Web.Http; using System.Web.Http.Description; using log4net; using SignInCheckIn.Exceptions.Models; using SignInCheckIn.Models.Authentication; using SignInCheckIn.Models.DTO; using SignInCheckIn.Models.Json; using SignInCheckIn.Servic...
using System; using System.Collections.Generic; using System.Reflection; using System.Web.Http; using System.Web.Http.Description; using log4net; using SignInCheckIn.Exceptions.Models; using SignInCheckIn.Models.Authentication; using SignInCheckIn.Models.DTO; using SignInCheckIn.Models.Json; using SignInCheckIn.Servic...
bsd-2-clause
C#
fcbe621fb59dcece216f87b63e2c778c3732c14e
Update dispose pattern to satisfy Sonar's complaint.
ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog
Take2/NuLog/LogEvents/LogEvent.cs
Take2/NuLog/LogEvents/LogEvent.cs
/* © 2017 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; namespace NuLog.LogEvents { /// <summary> /// A LogEvent rep...
/* © 2017 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; namespace NuLog.LogEvents { /// <summary> /// A LogEvent rep...
mit
C#
733c08d63f2bc42bd9dedfd4b44e0119c65e30de
Update AssemblyInfo
WaltChen/NDatabase,WaltChen/NDatabase
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
apache-2.0
C#
2fdef057758868f2a298883905c6395d13f8ed8b
Check if targets belong to the same player for animation purposes
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Spells/MiceToSnuffboxes.cs
Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Spells/MiceToSnuffboxes.cs
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Transfiguration.Spells { [UsedImplicitly] public class MiceToSnuffboxes : BaseSpell { public override List<BaseCard> GetValidTargets() { var validCards = Player.InPlay...
using System.Collections.Generic; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Transfiguration.Spells { [UsedImplicitly] public class MiceToSnuffboxes : BaseSpell { public override List<BaseCard> GetValidTargets() { var validCards = Player.InPlay.GetCreaturesInPlay...
mit
C#
a1eeb7cdc89a5f940e44c77e3e8e29f0b4306b9c
Increase WebClient timeout to 5 min to allow for large downloads.
stratisproject/NStratis
NBitcoin.Tests/WebClient.cs
NBitcoin.Tests/WebClient.cs
#if NOWEBCLIENT using System; using System.IO; using System.Net.Http; namespace NBitcoin.Tests { public class WebClient { public void DownloadFile(string url, string file) { HttpClient client = new HttpClient(); // The default value is 100,000 milliseconds (100 seconds). // That's long enough to downl...
#if NOWEBCLIENT using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Tests { public class WebClient { public void DownloadFile(string url, string file) { HttpClient client = new HttpClien...
mit
C#
56e83f6407a4f972cbc88ac31a909a798345cd23
Add test for disposal while load still running
peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework.Tests/Visual/Containers/TestSceneLoadComponentAsync.cs
osu.Framework.Tests/Visual/Containers/TestSceneLoadComponentAsync.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.Threading; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework....
// 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 NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Framework.Tests.Visual.Containers { public class TestScen...
mit
C#
861a40bdd429792ebaf99ce0bb94df9ea9009613
Fix style
ne1ro/desperation
Assets/Scripts/PlayerController.cs
Assets/Scripts/PlayerController.cs
using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour { public float speed; // Player movement void FixedUpdate () { float moveHorizontal = Input.GetAxis ("Horizontal"); float moveVertical = Input.GetAxis ("Vertical"); Vector3 movement = new Vector3(moveHorizonta...
using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour { public float speed; // Player movement void FixedUpdate () { float moveHorizontal = Input.GetAxis ("Horizontal"); float moveVertical = Input.GetAxis ("Vertical"); Vector3 movement = new Vector3(moveHorizontal, 0...
mit
C#
f18f95f10d5a482185b7dbe6be02f4fe661ea294
Add 'Content-MD5' response header
davidsh/NetworkingTestServer,davidsh/NetworkingTestServer,davidsh/NetworkingTestServer
WebServer/Test.ashx.cs
WebServer/Test.ashx.cs
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Net; using System.Net.Http; using System.Security.Cryptography; using System.Text; using System.Web; using Newtonsoft.Json; namespace WebServer { public class Test : IHttpHandler { public void ProcessRe...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Net; using System.Net.Http; using System.Web; using Newtonsoft.Json; namespace WebServer { public class Test : IHttpHandler { public void ProcessRequest(HttpContext context) { Reques...
mit
C#
833672093f8a6272f895f527af5e979783a0bf5e
Update UpdateTableBuilder.cs
PowerMogli/Rabbit.Db
src/RabbitDB/Expression/UpdateTableBuilder.cs
src/RabbitDB/Expression/UpdateTableBuilder.cs
/* * Parts of the code used in this class * originate from the OS project SqlFu: * https://github.com/sapiens/SqlFu * Licence used: Apache Licence v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * If anyone feels offended by the use of this code * please feel free to send me an e-Mail: albix@gmx.net */ ...
using System; using System.Linq.Expressions; using RabbitDB.Mapping; using RabbitDB.Storage; namespace RabbitDB.Expressions { public interface IBuildUpdateTable<T> { IBuildUpdateTable<T> Set(Expression<Func<T, object>> column, Expression<Func<T, object>> statement); IBuildUpdateTable<T> Set(Exp...
apache-2.0
C#
5d554be593e3ed2be0a458405332e2728548f697
Implement Scrollbar.ValueChanged
sevoku/xwt,directhex/xwt,lytico/xwt,iainx/xwt,hamekoz/xwt,antmicro/xwt,akrisiun/xwt,residuum/xwt,mminns/xwt,steffenWi/xwt,cra0zy/xwt,mono/xwt,TheBrainTech/xwt,mminns/xwt,hwthomas/xwt
Xwt.WPF/Xwt.WPFBackend/ScrollbarBackend.cs
Xwt.WPF/Xwt.WPFBackend/ScrollbarBackend.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xwt.Backends; using SWC = System.Windows.Controls; namespace Xwt.WPFBackend { class ScrollbarBackend : WidgetBackend, IScrollbarBackend, IScrollAdjustmentBackend { IScrollAdjustmentEventSink eventSink; #region IScrollba...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xwt.Backends; using SWC = System.Windows.Controls; namespace Xwt.WPFBackend { class ScrollbarBackend : WidgetBackend, IScrollbarBackend, IScrollAdjustmentBackend { IScrollAdjustmentEventSink eventSink; #region IScrollba...
mit
C#
17fe58fecf56f830b2e159b5097dbe3f361b5c36
resolve issue for Mono build in travis-ci -unused references
moh-hassan/odata2poco,moh-hassan/odata2poco
OData2PocoLib/OData2Poco.cs
OData2PocoLib/OData2Poco.cs
using System; using System.Collections.Generic; using System.IO; namespace OData2Poco { public class O2P { public string User { get; set; } public string Password { get; set; } public string Url { get; set; } private MetaDataReader _metaDataReader; public List<ClassTem...
using System; using System.Collections.Generic; using System.Diagnostics.Eventing.Reader; using System.IO; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading.Tasks; namespace OData2Poco { public class O2P { public string User { get; set; } pu...
mit
C#
37813cea1795b988c9cbb40395e4584e46060113
Add a Texture mode to the Response object
loicteixeira/gj-unity-api
Assets/Plugins/GameJolt/Core/Response.cs
Assets/Plugins/GameJolt/Core/Response.cs
using UnityEngine; using System.Collections.Generic; using System.Linq; using GJAPI.External.SimpleJSON; namespace GJAPI.Core { public enum ResponseFormat { Dump, Json, Raw, Texture } public class Response { public readonly ResponseFormat format; public readonly bool success = false; public readonly byte...
using UnityEngine; using System.Collections.Generic; using System.Linq; using GJAPI.External.SimpleJSON; namespace GJAPI.Core { public enum ResponseFormat { Dump, Json, Raw } public class Response { public readonly ResponseFormat format; public readonly bool success = false; public readonly byte[] bytes ...
mit
C#
1d71ea8b1b5aeb9dbe64fbe4c205b054913da0ba
fix using
phonicmouse/SharpPaste,phonicmouse/SharpPaste
Bootstrappers/StaticServeBootstrapper.cs
Bootstrappers/StaticServeBootstrapper.cs
/* * Created by SharpDevelop. * User: Phonic Mouse * Date: 02/08/2016 * Time: 17:32 */ using Nancy.Conventions namespace SharpPaste { public class StaticServeBootstrapper : DefaultNancyBootstrapper { protected override void ConfigureConventions(NancyConventions nancyConventions) { nancyConventions.Stat...
/* * Created by SharpDevelop. * User: Phonic Mouse * Date: 02/08/2016 * Time: 17:32 */ namespace SharpPaste { public class StaticServeBootstrapper : DefaultNancyBootstrapper { protected override void ConfigureConventions(NancyConventions nancyConventions) { nancyConventions.StaticContentsConventions.Add...
mit
C#
c533f82c3d3c77408a6c075d1e0aafe258850fb6
Use explicit operators, since they are no longer used implicitly
reaction1989/roslyn,dotnet/roslyn,brettfo/roslyn,genlu/roslyn,KevinRansom/roslyn,mgoertz-msft/roslyn,mavasani/roslyn,AmadeusW/roslyn,aelij/roslyn,stephentoub/roslyn,mavasani/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,mgoertz-msft/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,weltkante/roslyn,tannergooding/ros...
src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.cs
src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.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. #nullable enable using System.Diagnostics.CodeAnalysis; namespace Microsoft.CodeAnalysis.CodeStyle { internal...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System.Diagnostics.CodeAnalysis; namespace Microsoft.CodeAnalysis.CodeStyle { internal...
mit
C#
37bff2b7f2bb2fe2630050725bad6479aafaea09
Add animated loading state
PioneerCode/pioneer-blog,PioneerCode/pioneer-blog,PioneerCode/pioneer-blog,PioneerCode/pioneer-blog
src/Pioneer.Blog/Areas/Admin/Views/Portal/Index.cshtml
src/Pioneer.Blog/Areas/Admin/Views/Portal/Index.cshtml
<my-app> <i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i> <span class="sr-only">Loading...</span> </my-app>
<my-app>Loading...</my-app>
mit
C#
9550f7776d54dc3843aaaec446d09f01219046ff
Test for exception for now until we can get a proper test image.
dlemstra/Magick.NET,dlemstra/Magick.NET
tests/Magick.NET.Tests/Coders/TheAvifCoder.cs
tests/Magick.NET.Tests/Coders/TheAvifCoder.cs
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System.IO; using ImageMagick; using Xunit; namespace Magick.NET.Tests { public class TheAvifCoder { [Fact] public void ShouldEncodeAndDecodeAlphaChannel() { ...
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System.IO; using ImageMagick; using Xunit; namespace Magick.NET.Tests { public class TheAvifCoder { [Fact] public void ShouldEncodeAndDecodeAlphaChannel() { ...
apache-2.0
C#
8a2ca7572237b42e528824e881ba357e59934e95
Support configuring an existing option value.
ExRam/ExRam.Gremlinq
ExRam.Gremlinq.Core/Queries/QuerySources/Options/GremlinqOptions.cs
ExRam.Gremlinq.Core/Queries/QuerySources/Options/GremlinqOptions.cs
using System; using System.Collections.Immutable; using LanguageExt; namespace ExRam.Gremlinq.Core { public struct GremlinqOptions { private readonly IImmutableDictionary<GremlinqOption, object> _options; public GremlinqOptions(IImmutableDictionary<GremlinqOption, object> options) { ...
using System.Collections.Immutable; using LanguageExt; namespace ExRam.Gremlinq.Core { public struct GremlinqOptions { private readonly IImmutableDictionary<GremlinqOption, object> _options; public GremlinqOptions(IImmutableDictionary<GremlinqOption, object> options) { _op...
mit
C#
254783f1cc5534049a0f3fef3e0617b7563d387f
Add a link on Credit card registrations that have not paid
ucdavis/CRP,ucdavis/CRP,ucdavis/CRP
CRP.Mvc/Views/Transaction/Details.cshtml
CRP.Mvc/Views/Transaction/Details.cshtml
@model CRP.Core.Domain.Transaction @{ ViewBag.Title = "Transaction Details"; } <div class="container"> <h2>@ViewBag.Title</h2> <p> @Html.ActionLink(linkText: "Back to Item", actionName:"Details", controllerName: "ItemManagement", protocol: null, hostName: null, routeValues: new {id = Model.Item.Id...
@model CRP.Core.Domain.Transaction @{ ViewBag.Title = "Transaction Details"; } <div class="container"> <h2>@ViewBag.Title</h2> <p> @Html.ActionLink(linkText: "Back to Item", actionName:"Details", controllerName: "ItemManagement", protocol: null, hostName: null, routeValues: new {id = Model.Item.Id...
mit
C#
dd9c4be1c3944ce0b4b7d6ef2d4b407a67531328
Implement imgur authenticated context
Lorac/OwinOAuthProviders,jmloeffler/OwinOAuthProviders,nbelyh/OwinOAuthProviders,NewBoCo/OwinOAuthProviders,yfann/OwinOAuthProviders,tparnell8/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,yonglehou/OwinOAuthProviders,CrustyJew/OwinOAuthProviders,CrustyJew/OwinOAuthProviders,NewBoCo/OwinOAuthProviders,CrustyJew/Owi...
Owin.Security.Providers/Imgur/Provider/ImgurAuthenticatedContext.cs
Owin.Security.Providers/Imgur/Provider/ImgurAuthenticatedContext.cs
namespace Owin.Security.Providers.Imgur.Provider { using System.Security.Claims; using Microsoft.Owin; using Microsoft.Owin.Security; using Microsoft.Owin.Security.Provider; public class ImgurAuthenticatedContext : BaseContext<ImgurAuthenticationOptions> { public ImgurAuthenticatedCon...
namespace Owin.Security.Providers.Imgur.Provider { using Microsoft.Owin; using Microsoft.Owin.Security.Provider; public class ImgurAuthenticatedContext : BaseContext<ImgurAuthenticationOptions> { public ImgurAuthenticatedContext(IOwinContext context, ImgurAuthenticationOptions options) : base(...
mit
C#
e1774c1e36aadd9d3a84ed5b813b308bde05bdee
Update Program.cs
sentrid/OpenCKMS
OpenCKMSService/Program.cs
OpenCKMSService/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace OpenCKMSService { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace OpenCKMSService { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static ...
apache-2.0
C#
a4ba8f73833ab105557a90b52b79e68237963fb6
Update version
David-Desmaisons/DiscogsClient
DiscogsClient/Properties/AssemblyInfo.cs
DiscogsClient/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("Di...
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("Di...
mit
C#
e1dd3c7faa55eb16720b8c80f8bf2a83ab881442
Update AssemblyInfo.cs
AdaptiveMe/adaptive-arp-api,AdaptiveMe/adaptive-arp-api
adaptive-arp-api-csharp/Adaptive.Arp.Api/Properties/AssemblyInfo.cs
adaptive-arp-api-csharp/Adaptive.Arp.Api/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
apache-2.0
C#
bb8bbf8aed5a8a4a77b741e5681a33ce97730bf6
use NRT
CyrusNajmabadi/roslyn,mavasani/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,physhi/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,AmadeusW/roslyn,eriawan/roslyn,KevinRansom/roslyn,sharwell/roslyn,diryboy/roslyn,wvdd007/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,sh...
src/Features/Core/Portable/ConvertTupleToStruct/DocumentToUpdate.cs
src/Features/Core/Portable/ConvertTupleToStruct/DocumentToUpdate.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; namespace Microsoft.CodeAnalysis.ConvertTupleToStruct { internal readonly ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Collections.Immutable; namespace Microsoft.CodeAnalysis.ConvertTupleToStruct { ...
mit
C#
41a2dc97b89ccc216bbb9f84791bf145a9a5b6a7
Add default ctor to class. bugid: 417
JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,JasonBock/csla,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla,jonnybee/csla,ronnymgm/csla-light,ronnymgm/csla-light,JasonBock/csla,rockfordlhotka/csla,rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla,BrettJaner/csla
cslacs/Csla/Security/UsernameCriteria.cs
cslacs/Csla/Security/UsernameCriteria.cs
using System; using Csla; using Csla.Serialization; namespace Csla.Security { /// <summary> /// Criteria class for passing a /// username/password pair to a /// custom identity class. /// </summary> [Serializable] public class UsernameCriteria : CriteriaBase { /// <summary> /// ...
using System; using Csla; using Csla.Serialization; namespace Csla.Security { /// <summary> /// Criteria class for passing a /// username/password pair to a /// custom identity class. /// </summary> [Serializable] public class UsernameCriteria : CriteriaBase { /// <summary> /// ...
mit
C#
5d5b3fa95c5e117b3b7d11cba4d6325630dda5bd
Update App.razor.cs
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
samples/BehaviorsTestApplication.Web/App.razor.cs
samples/BehaviorsTestApplication.Web/App.razor.cs
using System.Runtime.Versioning; using Avalonia; using Avalonia.ReactiveUI; using Avalonia.Web.Blazor; [assembly:SupportedOSPlatform("browser")] namespace BehaviorsTestApplication.Web; public partial class App { protected override void OnParametersSet() { base.OnParametersSet(); AppBuilder.C...
using Avalonia; using Avalonia.ReactiveUI; using Avalonia.Web.Blazor; namespace BehaviorsTestApplication.Web; public partial class App { protected override void OnParametersSet() { base.OnParametersSet(); AppBuilder.Configure<BehaviorsTestApplication.App>() .UseBlazor() ...
mit
C#
17b291aac38b494945adaed1d2216570b7979411
Use AutoFixture for injecting argument string array
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/CreateCommandTest.cs
src/AppHarbor.Tests/Commands/CreateCommandTest.cs
using System.Linq; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; using Ploeh.AutoFixture.Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class CreateCommandTest { private readonly IFixture _fixture; public CreateCommandTest() { _f...
using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; using Ploeh.AutoFixture.Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class CreateCommandTest { private readonly IFixture _fixture; public CreateCommandTest() { _fixture = new Fixtur...
mit
C#
09d104ef7d3f865ce3146002f88616207bb290c8
fix duplicaate key mapping
stoiveyp/Alexa.NET.Management
Alexa.NET.Management/Internals/ApiConverter.cs
Alexa.NET.Management/Internals/ApiConverter.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Alexa.NET.Management.Api; using Newtonsoft.Json; namespace Alexa.NET.Management.Internals { public class ApiConverter:JsonConverter { private static readonly Dictionary<String, Type> DefaultMapping = new...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Alexa.NET.Management.Api; using Newtonsoft.Json; namespace Alexa.NET.Management.Internals { public class ApiConverter:JsonConverter { private static readonly Dictionary<String, Type> DefaultMapping = new...
mit
C#
f84cf00d5e64de3b1d9c8cde6b1cffcdbda304e3
Update version to 0.2.0
elcattivo/CloudFlareUtilities
CloudFlareUtilities/Properties/AssemblyInfo.cs
CloudFlareUtilities/Properties/AssemblyInfo.cs
using System; using System.Resources; 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 ...
using System; using System.Resources; 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 ...
mit
C#
c5432383c57dc44b0c968872328c20308ec7b9d3
Refactor into add method
DivineInject/DivineInject,DivineInject/DivineInject
DivineInject/ConstructorArgList.cs
DivineInject/ConstructorArgList.cs
using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; namespace DivineInject { public interface IConstructorArgList { } internal class ConstructorArgList : IConstructorArgList { private readonly TypeBuilder m_tb; public ConstructorArgList(Typ...
using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; namespace DivineInject { internal class ConstructorArgList { public ConstructorArgList(TypeBuilder tb, params IConstructorArgDefinition[] definitions) { Arguments = new List<IConstructorArg>(); ...
mit
C#
5080d03b3d6eac96ff4895b29bf010bb6b4f5239
Use Database.DatabaseName
iantalarico/google-cloud-dotnet,googleapis/google-cloud-dotnet,evildour/google-cloud-dotnet,evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googlea...
apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.CleanTestData/Program.cs
apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data.CleanTestData/Program.cs
// Copyright 2018 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
// Copyright 2018 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
apache-2.0
C#
61a9254d15b8d2e8dd7e373113cdf28ad362ecdf
修复快捷功能中刷新后没有应用css的bug。
Gizeta/KCV.Landscape
KCV.Landscape/LandscapeExtensionButton.xaml.cs
KCV.Landscape/LandscapeExtensionButton.xaml.cs
using Grabacr07.KanColleViewer.Models; using Grabacr07.KanColleViewer.ViewModels; using System.Windows.Controls; using KCVApp = Grabacr07.KanColleViewer.App; namespace Gizeta.KCV.Landscape { public partial class LandscapeExtensionButton : UserControl { public LandscapeExtensionButton() { ...
using Grabacr07.KanColleViewer.Models; using Grabacr07.KanColleViewer.ViewModels; using System.Windows.Controls; using KCVApp = Grabacr07.KanColleViewer.App; namespace Gizeta.KCV.Landscape { public partial class LandscapeExtensionButton : UserControl { public LandscapeExtensionButton() { ...
mit
C#
91223a349d65c3acacd8eb3268e4a20d01358f60
Update SmsController.cs
TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets
quickstart/csharp/sms/receive-sms/SmsController.cs
quickstart/csharp/sms/receive-sms/SmsController.cs
// Code sample for ASP.NET MVC on .NET Framework 4.6.1+ // In Package Manager, run: // Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor using System.Web.Mvc; using Twilio.AspNet.Common; using Twilio.AspNet.Mvc; using Twilio.TwiML; namespace YourNewWebProject.Controllers { public class SmsControll...
// Code sample for ASP.NET MVC on .NET Framework 4.6.1+ // In Package Manager, run: // Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor using System.Web.Mvc; using Twilio.AspNet.Mvc; using Twilio.TwiML; namespace YourNewWebProject.Controllers { public class SmsController : TwilioController { ...
mit
C#
0bc52e0ce9e2fdfa542d8d65cb6233c1ca18e0fd
Support chres message for item widget
k-t/SharpHaven
MonoHaven.Client/UI/Remote/ServerItemWidget.cs
MonoHaven.Client/UI/Remote/ServerItemWidget.cs
using System.Drawing; using MonoHaven.Game; using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerItemWidget : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { int i = 3; var resId = (int)args[0]; var q = (int)args[1]; var dr...
using System.Drawing; using MonoHaven.Game; using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerItemWidget : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { int i = 3; var resId = (int)args[0]; var q = (int)args[1]; var dr...
mit
C#
684ecf5e02e71eac1f2506cda388b1781bd3cc22
Change to create once
AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArk...
src/R/Core/Impl/AST/DataTypes/RNull.cs
src/R/Core/Impl/AST/DataTypes/RNull.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; using Microsoft.R.Core.AST.DataTypes.Definitions; namespace Microsoft.R.Core.AST.DataTypes { public sealed class RNull : ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; using Microsoft.R.Core.AST.DataTypes.Definitions; namespace Microsoft.R.Core.AST.DataTypes { public sealed class RNull : ...
mit
C#
185f2b79b076ff1be372f83df731eaade5aac2da
Remove hash code from FileName
chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium
src/Server/FileSystemNames/FileName.cs
src/Server/FileSystemNames/FileName.cs
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. using System; using VsChromium.Core.Files; using VsChromium.Core.Logging; using VsChromium.Core.Utility; namespace VsChromium.Server.FileSystem...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. using System; using VsChromium.Core.Files; using VsChromium.Core.Logging; using VsChromium.Core.Utility; namespace VsChromium.Server.FileSystem...
bsd-3-clause
C#
0a9d2063dac77368f4c6dc3c5507ac061f360814
Add last_label to SiftScore
Selz/SiftScienceNet,thomedwardsLMR/SiftScienceNet
src/SiftScienceNet/Scores/SiftScore.cs
src/SiftScienceNet/Scores/SiftScore.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace SiftScienceNet.Scores { public class Details { [JsonProperty("users")] public string Users { get; set; } } public class ScoreReason { [JsonProperty("name")] public string Name { get; set; } ...
using System.Collections.Generic; using Newtonsoft.Json; namespace SiftScienceNet.Scores { public class Details { [JsonProperty("users")] public string Users { get; set; } } public class ScoreReason { [JsonProperty("name")] public string Name { get; set; } ...
mit
C#
20584c9e163cdb9680fd7ec985a3826bb52f6dc8
Add full xmldoc for Live class
NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu-new
osu.Game/Database/Live.cs
osu.Game/Database/Live.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.Threading; using Realms; #nullable enable namespace osu.Game.Database { /// <summary> /// Provides a method of passing realm live obj...
// 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.Threading; using Realms; #nullable enable namespace osu.Game.Database { public class Live<T> : IEquatable<Live<T>> where T : Real...
mit
C#
d33af38989b6f9f835256031321ccb248b6aa48d
Return the highest supported version except where equal to the client version.
jagrem/msg
Msg.Core/Versioning/VersionNegotiator.cs
Msg.Core/Versioning/VersionNegotiator.cs
using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; using Version = Msg.Core.Versioning; namespace Msg.Core.Versioning { public static class VersionNegotiator { [System.Obsolete("This method is deprecated us VersionNegotiator.Select instead.")] public static asyn...
using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; using Version = Msg.Core.Versioning; namespace Msg.Core.Versioning { public static class VersionNegotiator { [System.Obsolete("This method is deprecated us VersionNegotiator.Select instead.")] public static asyn...
apache-2.0
C#
0a1f04e50cdc7e2d62f52eba5f4b71886603ee04
Verify container LoadFrom under real testing
jsmale/MassTransit,D3-LucaPiombino/MassTransit
src/Containers/MassTransit.Containers.Tests/AutofacRegistrationExtension_Specs.cs
src/Containers/MassTransit.Containers.Tests/AutofacRegistrationExtension_Specs.cs
// Copyright 2007-2015 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-2015 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#
0ee54f07586100d8cb872775daddfd15265868fc
Rename method
bartlomiejwolk/OnCollisionActivate
GameObjectActivate.cs
GameObjectActivate.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace OneDayGame { /// Enable child game object on collision with /// other game object. public class GameObjectActivate : MonoBehaviour { public enum TagOptions { Include, Exclude } /// Object to enable. [System.Serializab...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace OneDayGame { /// Enable child game object on collision with /// other game object. public class GameObjectActivate : MonoBehaviour { public enum TagOptions { Include, Exclude } /// Object to enable. [System.Serializab...
mit
C#
d82b5f64e6975c1041e5b11066d3f304f8419811
copy app + adaApp working
davidpodhola/synctoday2015,davidpodhola/synctoday2015,davidpodhola/synctoday2015,davidpodhola/synctoday2015,SyncToday/synctoday2015,davidpodhola/synctoday2015,SyncToday/synctoday2015,SyncToday/synctoday2015
sync.today.activities/Appointments/Adapter/CopyAdapterAppointmentToAppointment.cs
sync.today.activities/Appointments/Adapter/CopyAdapterAppointmentToAppointment.cs
using System; using System.Activities; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace sync.today.activities.Appointments.Adapter { public sealed class CopyAdapterAppointmentToAppointment : CodeActivity { private static readonly log4net.I...
using System; using System.Activities; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace sync.today.activities.Appointments.Adapter { public sealed class CopyAdapterAppointmentToAppointment : CodeActivity { private static readonly log4net.I...
unlicense
C#
c4cdaa3486f39b412c9355cde8f623526483d249
Change QuestList to keep state
JosephMichels/WP-MH4UDatabase
Pages/QuestListPage.xaml.cs
Pages/QuestListPage.xaml.cs
using MH4U_Database.Common; using MH4U_Database.Database; using MH4U_Database.ViewModel; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Graphics.Displa...
using MH4U_Database.Common; using MH4U_Database.Database; using MH4U_Database.ViewModel; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Graphics.Displa...
mit
C#
999b4f084be1387600779130324d9399be730e83
update console output for nancy
ballance/jsmate,ballance/jsmate,ballance/jsmate,ballance/jsmate
JsMate.Api/Program.cs
JsMate.Api/Program.cs
namespace JsMate.Api { using System; using Nancy.Hosting.Self; class Program { static void Main(string[] args) { var uri = new Uri("http://localhost:9997"); using (var host = new NancyHost(uri)) { host.Start(); ...
namespace JsMate.Api { using System; using Nancy.Hosting.Self; class Program { static void Main(string[] args) { var uri = new Uri("http://localhost:9997"); using (var host = new NancyHost(uri)) { host.Start(); ...
mit
C#
787ebd5c4b4e89b4c560d10ed6cd70d083341fbe
Fix move offset.
beta-tank/TicTacToe,beta-tank/TicTacToe,beta-tank/TicTacToe
TicTacToe/Views/Statistic/Details.cshtml
TicTacToe/Views/Statistic/Details.cshtml
@using TicTacToe.Core @using TicTacToe.Core.Enums @model TicTacToe.Core.Game <table class="table table-striped table-hover "> <thead> <tr> <th>#</th> <th>Player</th> <th>Position</th> </tr> </thead> <tbody> @{ var moves = Model.Moves.OrderBy(m => m.Id).ToArray()...
@using TicTacToe.Core @using TicTacToe.Core.Enums @model TicTacToe.Core.Game <table class="table table-striped table-hover "> <thead> <tr> <th>#</th> <th>Player</th> <th>Position</th> </tr> </thead> <tbody> @{ var moves = Model.Moves.OrderBy(m => m.Id).ToArray()...
mit
C#
89f7743d0d38d5b26ef4a57a3dc6d80e26b29d00
Normalize line endings after removing empty entries, also revert a795f63
roman-yagodin/R7.Dnn.Localization,roman-yagodin/R7.DnnLocalization,roman-yagodin/R7.DnnLocalization,roman-yagodin/R7.Dnn.Localization
RemoveEmptyEntries.cs
RemoveEmptyEntries.cs
#!/usr/bin/csexec using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.Diagnostics; public static class Program { public static void Main (string [] args) { try { Console.WriteLine ("Removing empty entries..."); var script = new Remov...
#!/usr/bin/csexec using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.Diagnostics; public static class Program { public static void Main (string [] args) { try { var script = new RemoveEmptyEntries () { PackageName = args [1], ...
mit
C#
6b59e177d6240a4646acc78cc8c79a90b1806ba8
Remove unused usings from a newly added file
davkean/roslyn,KevinRansom/roslyn,physhi/roslyn,tmat/roslyn,brettfo/roslyn,reaction1989/roslyn,bartdesmet/roslyn,physhi/roslyn,heejaechang/roslyn,aelij/roslyn,heejaechang/roslyn,stephentoub/roslyn,genlu/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,ErikSchierboom/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,mavasani/ros...
src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpInferredMemberNameReducer.cs
src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpInferredMemberNameReducer.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.PooledObjects; namespace Microsoft.CodeAnalysis.CSharp.Simplification { /// <summ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAna...
mit
C#
78df9dc8a5885c02f827573e4739fc0b49840e09
Fix search form Index name input (#11192)
stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2
src/OrchardCore.Modules/OrchardCore.Lucene/Views/Search-Form.cshtml
src/OrchardCore.Modules/OrchardCore.Lucene/Views/Search-Form.cshtml
@model SearchFormViewModel <form action="@Url.Action("Search", "Search")" method="get"> <div class="input-group mb-3 mt-5"> <input name="Index" type="hidden" value="@Model.Index" /> <input name="Terms" type="text" value="@Model.Terms" class="form-control form-control-lg" placeholder="@T["Enter your...
@model SearchFormViewModel <form action="@Url.Action("Search", "Search")" method="get"> <div class="input-group mb-3 mt-5"> <input type="hidden" value="@Model.Index" /> <input name="Terms" type="text" value="@Model.Terms" class="form-control form-control-lg" placeholder="@T["Enter your search term(...
bsd-3-clause
C#
170240fb584180711864e4a4c16d8fe4c8e59c88
Mark as obsolete for future removal
danielwertheim/Ensure.That,danielwertheim/Ensure.That
src/projects/EnsureThat/Ensure.cs
src/projects/EnsureThat/Ensure.cs
using System; using System.Diagnostics; using JetBrains.Annotations; namespace EnsureThat { public static class Ensure { public static bool IsActive { get; private set; } = true; public static void Off() => IsActive = false; public static void On() => IsActive = true; [Debugg...
using System; using System.Diagnostics; using JetBrains.Annotations; namespace EnsureThat { public static class Ensure { public static bool IsActive { get; private set; } = true; public static void Off() => IsActive = false; public static void On() => IsActive = true; [Debugg...
mit
C#
0cf86ef16462d1e9a8298ec55bac3cbf1fb564b9
Fix whitespace
rmandvikar/csharp-extensions,rmandvikar/csharp-extensions
src/rm.Extensions/IntExtension.cs
src/rm.Extensions/IntExtension.cs
using System; using System.Numerics; namespace rm.Extensions { /// <summary> /// Int extensions. /// </summary> public static class IntExtension { /// <summary> /// Gets n!. /// </summary> public static BigInteger Factorial(this int n) { n.ThrowIfArgumentOutOfRange(nameof(n)); BigInteger product ...
using System; using System.Numerics; namespace rm.Extensions { /// <summary> /// Int extensions. /// </summary> public static class IntExtension { /// <summary> /// Gets n!. /// </summary> public static BigInteger Factorial(this int n) { n.ThrowIfArgumentOutOfRange(nameof(n)); BigInteger product ...
mit
C#
b1d5a97b382f6c52352be972a8837a09de7a6356
test á upload file i index
godur/verklegt,godur/verklegt
verklegt/Views/Home/Index.cshtml
verklegt/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } @using (Html.BeginForm("Index", "Home", FormMethod.Post, new { enctype = "multipart/form-data" })) { <input type="file" name="file" /> <input type="submit" value="OK" /> }
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-large">Learn more &raquo;</a></p> </di...
mit
C#
85914909c8fc524881a54e5a395ad49e4a513449
fix whitespace in ExceptionUtilsTests
tc-dev/tc-dev.Core
tests/tc-dev.Core.Common.UnitTests/Utilities/ExceptionUtilsTests.cs
tests/tc-dev.Core.Common.UnitTests/Utilities/ExceptionUtilsTests.cs
using System; using NUnit.Framework; using tc_dev.Core.Common.Utilities; namespace tc_dev.Core.Common.UnitTests.Utilities { [TestFixture] public class ExceptionUtilsTests { [TestCase(null, null)] [TestCase("paramName", "message")] public void ThrowIfNull_NullClass_ThrowsException(s...
using System; using NUnit.Framework; using tc_dev.Core.Common.Utilities; namespace tc_dev.Core.Common.UnitTests.Utilities { [TestFixture] public class ExceptionUtilsTests { [TestCase(null, null)] [TestCase("paramName", "message")] public void ThrowIfNull_NullClass_ThrowsException(string paramN...
mit
C#
514a93bbae56f4304fb2f46c4794040a0263ba73
Bring back OfficerId computed property on CompaniesHouse.Response.Officers.OfficerAppointmentLink
kevbite/CompaniesHouse.NET
src/CompaniesHouse/Response/Officers/OfficerAppointmentLink.cs
src/CompaniesHouse/Response/Officers/OfficerAppointmentLink.cs
using Newtonsoft.Json; namespace CompaniesHouse.Response.Officers { public class OfficerAppointmentLink { [JsonProperty(PropertyName = "appointments")] public string AppointmentsResource { get; set; } public string OfficerId => AppointmentsResource?.Split('/')[2]; } }
using Newtonsoft.Json; namespace CompaniesHouse.Response.Officers { public class OfficerAppointmentLink { [JsonProperty(PropertyName = "appointments")] public string AppointmentsResource { get; set; } } }
mit
C#
6dd3cfed5e1b3c93b6dc213738acf9eb2f1a7700
Set browser version 1.3.0
MahApps/MahApps.Metro.IconPacks
src/MahApps.Metro.IconPacks.Browser/Properties/AssemblyInfo.cs
src/MahApps.Metro.IconPacks.Browser/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: ComVisible(false)] [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] [assembly: AssemblyVersion("1.3.0.0")] [assembly: AssemblyFileVersion("1.3.0.0")] [assembly: AssemblyInf...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: ComVisible(false)] [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] [assembly: AssemblyVersion("1.2.0.0")] [assembly: AssemblyFileVersion("1.2.0.0")] [assembly: AssemblyInf...
mit
C#
f32d56e213fa26566b38ca12bb44cf9d8f0f0100
Bring `HoldForMenuButton` tests up-to-date in code quality
ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu
osu.Game.Tests/Visual/Gameplay/TestSceneHoldForMenuButton.cs
osu.Game.Tests/Visual/Gameplay/TestSceneHoldForMenuButton.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.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Testing; using osu.Game.Graphics.Contai...
// 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.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Screens.Play...
mit
C#
fe0aac24a3631e6cf09d216d1130bc4d3dbfecd6
Make FieldValueMap work for non-string source values (#102)
nkdAgility/vsts-sync-migration
src/VstsSyncMigrator.Core/Execution/FieldMaps/FieldValueMap.cs
src/VstsSyncMigrator.Core/Execution/FieldMaps/FieldValueMap.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.TeamFoundation.WorkItemTracking.Client; using System.Diagnostics; using Microsoft.ApplicationInsights; using VstsSyncMigrator.Engine.Configuration.FieldMap; namespace VstsSyncMigrator.En...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.TeamFoundation.WorkItemTracking.Client; using System.Diagnostics; using Microsoft.ApplicationInsights; using VstsSyncMigrator.Engine.Configuration.FieldMap; namespace VstsSyncMigrator.En...
mit
C#
386ba19a66aac45dd2f2872d4303fa675021cde5
WORK IN PROGRESS, GET THE STABLE SOURCE FROM THE DOWNLOADS TAB Updates insert value of dialog (edit xslt file) to reflect xml schema changes
iahdevelop/Umbraco-CMS,rajendra1809/Umbraco-CMS,dawoe/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,Spijkerboer/Umbraco-CMS,KevinJump/Umbraco-CMS,rajendra1809/Umbraco-CMS,corsjune/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbraco-CMS,engern/Umbraco-CMS,KevinJump/Umbraco-CMS,zidad/Umbraco-CMS,abryukhov/Umbraco-CMS,Nicholas-...
umbraco/presentation/umbraco/developer/Xslt/xsltInsertValueOf.aspx.cs
umbraco/presentation/umbraco/developer/Xslt/xsltInsertValueOf.aspx.cs
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using umbraco.cms.businesslogic.propertytype; namespace umbr...
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using umbraco.cms.businesslogic.propertytype; namespace umbr...
mit
C#
d07d9f6ff8446bad28817fda3d4fd355bbbb7e72
Add FpsOnly property to MonoDebugHud
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Portable/MonoDebugHud.cs
Bindings/Portable/MonoDebugHud.cs
using System; using Urho.Gui; namespace Urho { public class MonoDebugHud { const int FrameSampleCount = 50; Application application; Text text; Subscription subscription; int frameCount = 0; DateTime dateTime; TimeSpan span; public MonoDebugHud(Application application) { this.application = app...
using System; using Urho.Gui; namespace Urho { public class MonoDebugHud { const int FrameSampleCount = 50; Application application; Text text; Subscription subscription; int frameCount = 0; DateTime dateTime; TimeSpan span; public MonoDebugHud(Application application) { this.application = app...
mit
C#
573e47416d8e8ef76e90612a683af8998538c72f
Change version due to API Change
dustyburwell/garlic
Garlic/Properties/AssemblyInfo.cs
Garlic/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Garlic")] [assembly: AssemblyDescription("Google Analytics Client for .Net")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyCompany("Dusty Burwell")] [assembly: AssemblyProduct("Garlic Google Analytics Client")] [assembly: AssemblyCopyright("Copyrig...
using System.Reflection; [assembly: AssemblyTitle("Garlic")] [assembly: AssemblyDescription("Google Analytics Client for .Net")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyCompany("Dusty Burwell")] [assembly: AssemblyProduct("Garlic Google Analytics Client")] [assembly: AssemblyCopyright("Copyrig...
mit
C#
409e53b2b8bbbe9d7db1c2343832c785e6bbec7e
refactor AgentContext
georgechang/SitecoreIgnition,sitecoreignition/SitecoreIgnition,sitecoreignition/SitecoreIgnition,georgechang/SitecoreIgnition,sitecoreignition/SitecoreIgnition,sabor413/SitecoreIgnition,georgechang/SitecoreIgnition,sabor413/SitecoreIgnition,sabor413/SitecoreIgnition
Ignition.Core/Mvc/AgentContext.cs
Ignition.Core/Mvc/AgentContext.cs
using System; using System.Web.Mvc; using Glass.Mapper.Sc; using Ignition.Core.Models.BaseModels; using Ignition.Core.Models.Page; namespace Ignition.Core.Mvc { public class AgentContext : ControllerContext { public ISitecoreContext SitecoreContext { get; set; } public object AgentParameters ...
using System; using System.Web.Mvc; using Glass.Mapper.Sc; using Ignition.Core.Models.BaseModels; using Ignition.Core.Models.Page; namespace Ignition.Core.Mvc { public class AgentContext : ControllerContext { public ISitecoreContext SitecoreContext { get; set; } public object AgentParameters ...
mit
C#
05e3491bdfd1c2750b08ad72afe1b0a10640258a
Remove superfluous import statements
messagebird/csharp-rest-api
MessageBird/Objects/HlrDetails.cs
MessageBird/Objects/HlrDetails.cs
using Newtonsoft.Json; namespace MessageBird.Objects { public class HlrDetails { [JsonProperty("status_desc")] public string StatusDesc { get; set; } [JsonProperty("imsi")] public string Imsi { get; set; } [JsonProperty("country_iso")] public string CountryIso ...
using System; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace MessageBird.Objects { public class HlrDetails { [JsonProperty("status_desc")] public string StatusDesc { get; set;...
isc
C#
a1c3136362a9ac2b05f1c7cdb8cc36abb870c985
Fix Coaction() for tau action
lou1306/CIV,lou1306/CIV
CIV/Processes/Extensions.cs
CIV/Processes/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace CIV.Processes { public static class Extensions { /// <summary> /// Coaction of the specified action. /// </summary> /// <returns>The coaction: 'action if action does not start /// with ' and vice versa</returns> /// <param...
using System; using System.Collections.Generic; using System.Linq; namespace CIV.Processes { public static class Extensions { /// <summary> /// Coaction of the specified action. /// </summary> /// <returns>The coaction: 'action if action does not start /// with ' and vice versa</returns> /// <param...
mit
C#
5d23ae750a23fc587ec69f9648d9550c7acb310c
remove a similar tfs remote chooser
TheoAndersen/git-tfs,modulexcite/git-tfs,WolfVR/git-tfs,vzabavnov/git-tfs,hazzik/git-tfs,bleissem/git-tfs,pmiossec/git-tfs,codemerlin/git-tfs,jeremy-sylvis-tmg/git-tfs,jeremy-sylvis-tmg/git-tfs,kgybels/git-tfs,allansson/git-tfs,codemerlin/git-tfs,steveandpeggyb/Public,steveandpeggyb/Public,kgybels/git-tfs,guyboltonking...
GitTfs/Commands/Unshelve.cs
GitTfs/Commands/Unshelve.cs
using System.ComponentModel; using System.IO; using System.Linq; using NDesk.Options; using StructureMap; using Sep.Git.Tfs.Core; namespace Sep.Git.Tfs.Commands { [Pluggable("unshelve")] [Description("unshelve [options] shelve-name destination-branch")] [RequiresValidGitRepository] public class Unshel...
using System.ComponentModel; using System.IO; using System.Linq; using NDesk.Options; using StructureMap; using Sep.Git.Tfs.Core; namespace Sep.Git.Tfs.Commands { [Pluggable("unshelve")] [Description("unshelve [options] shelve-name destination-branch")] [RequiresValidGitRepository] public class Unshel...
apache-2.0
C#
f43cc985c46a2f9c4e4e3223d877ca49f8fbbc33
Make sure code is jitted before perf test
mmanela/diffplex,mmanela/diffplex,mmanela/diffplex,mmanela/diffplex
Perf.DiffPlex/PerfTester.cs
Perf.DiffPlex/PerfTester.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Perf.DiffPlex { public class PerfTester { public void Run(Action action) { const double count = 5; var times = new List<double>(); var timer =...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Perf.DiffPlex { public class PerfTester { public void Run(Action action) { const double count = 5; var times = new List<double>(); var timer =...
apache-2.0
C#
c6c786729e1ce79e6440a211354fe2e2acd3a749
Change File Read settings
deeja/Pigeon
Pigeon.Zipper/FileZipper.cs
Pigeon.Zipper/FileZipper.cs
using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pigeon.Zipper { using System.IO; using System.IO.Compression; using Sitecore.Zip; public class FileZipper { public ZipResult ZipFiles(IEnumerable<string> fileList) { ...
using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pigeon.Zipper { using System.IO; using System.IO.Compression; using Sitecore.Zip; public class FileZipper { public ZipResult ZipFiles(IEnumerable<string> fileList) { ...
mit
C#
9271047c8554087e0d556ec0ee6227228b7e4e87
add sealed overrides for Result
acple/ParsecSharp
ParsecSharp/Core/Result/Result.cs
ParsecSharp/Core/Result/Result.cs
using System; namespace ParsecSharp { public abstract class Result<TToken, T> { public abstract T Value { get; } protected IParsecStateStream<TToken> Rest { get; } protected Result(IParsecStateStream<TToken> state) { this.Rest = state; } internal a...
using System; namespace ParsecSharp { public abstract class Result<TToken, T> { public abstract T Value { get; } protected IParsecStateStream<TToken> Rest { get; } protected Result(IParsecStateStream<TToken> state) { this.Rest = state; } internal a...
mit
C#
3a76cc759bc8ccee70e72c8931d7850c2dda9292
Update FindingCellsWithStringOrNumber.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cell...
Examples/CSharp/Data/Handling/Find/FindingCellsWithStringOrNumber.cs
Examples/CSharp/Data/Handling/Find/FindingCellsWithStringOrNumber.cs
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Data.Handling.Find { public class FindingCellsWithStringOrNumber { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir ...
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Data.Handling.Find { public class FindingCellsWithStringOrNumber { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples....
mit
C#