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
12cf7cf6133e3428a90f42c18b9ec73d61880b05
add a fallback value for game client language, in case if res/text/settings.xml file is not existed
smellyriver/tank-inspector-pro,smellyriver/tank-inspector-pro,smellyriver/tank-inspector-pro
src/Smellyriver.TankInspector.Pro/Repository/LocalGameClientLocalization.cs
src/Smellyriver.TankInspector.Pro/Repository/LocalGameClientLocalization.cs
using System.IO; using Smellyriver.TankInspector.Common.Text; using Smellyriver.TankInspector.IO.Gettext; using Smellyriver.TankInspector.IO.XmlDecoding; namespace Smellyriver.TankInspector.Pro.Repository { public class LocalGameClientLocalization : IRepositoryLocalization { private readonly Localiza...
using Smellyriver.TankInspector.Common.Text; using Smellyriver.TankInspector.IO.Gettext; using Smellyriver.TankInspector.IO.XmlDecoding; namespace Smellyriver.TankInspector.Pro.Repository { public class LocalGameClientLocalization : IRepositoryLocalization { private readonly LocalizationDatabase _loc...
mit
C#
0e80a2d52dd4148b1b8ca2ca6a555858296c15c9
fix using
elyen3824/myfinanalysis-data
data-provider/run.csx
data-provider/run.csx
using System.Net; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { log.Info("C# HTTP trigger function processed a request."); string symbol = GetValueFromQuery(req, "symbol"); string start = GetValueFromQuery(req, "start"); string end = GetValueFromQuery...
#r "System.Web.Http" using System.Net; using System.Net.Http; using System.Threading.Tasks; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { log.Info("C# HTTP trigger function processed a request."); // parse query parameter string name = req.GetQueryNameValueP...
mit
C#
5035fa39b72bfbd6c22bd487fe7b21fb56fb9a79
Fix inaccurate error tooltip
TorchAPI/Torch
Torch/TorchPluginBase.cs
Torch/TorchPluginBase.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using NLog; using Torch.API; using Torch.API.Plugins; namespace Torch { public abstra...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using NLog; using Torch.API; using Torch.API.Plugins; namespace Torch { public abstra...
apache-2.0
C#
5b501cc0e309c1e17f50820e6753e2d48dec2141
Increment version to 1.1.0.25
jcvandan/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,TDaphneB/XeroAPI.Net,XeroAPI/XeroAPI.Net
source/XeroApi/Properties/AssemblyInfo.cs
source/XeroApi/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("XeroApi")] [assembly: AssemblyDesc...
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("XeroApi")] [assembly: AssemblyDesc...
mit
C#
5d6c8326541640cbcb9e0820704584d3947eda7b
Update Index.cshtml
ikezili/mvc-pagination,ikezili/mvc-pagination
demo/MVCPagination/Views/Home/Index.cshtml
demo/MVCPagination/Views/Home/Index.cshtml
@{ ViewBag.Title = "MVC Pagination"; } @using MVCPagination.Components @{ var modelPaginning = new Pagination.ModelPaginning(); modelPaginning.Id = "mvc-pagination"; modelPaginning.TotalPages = 50; modelPaginning.StartPage = Convert.ToInt32(!String.IsNullOrEmpty(Request["page"]) ? Request["page"]....
@{ ViewBag.Title = "MVC Pagination"; } @using MVCPagination.Components @{ var modelPaginning = new Pagination.ModelPaginning(); modelPaginning.Id = "mvc-pagination"; modelPaginning.TotalPages = 50; modelPaginning.StartPage = Convert.ToInt32(!String.IsNullOrEmpty(Request["page"]) ? Request["page"]....
apache-2.0
C#
2f0a6934c0261af1db0a52e81414df4350759c95
Fix type of auto-properties
CurrencyCloud/currencycloud-net
Source/CurrencyCloud/Entity/ConversionSplit.cs
Source/CurrencyCloud/Entity/ConversionSplit.cs
using System; using Newtonsoft.Json; namespace CurrencyCloud.Entity { public class ConversionSplit : Entity { [JsonConstructor] public ConversionSplit() { } public ConversionSplitDetails ParentConversion { get; set; } public ConversionSplitDetails ChildConversion { get; set; }...
using System; using Newtonsoft.Json; namespace CurrencyCloud.Entity { public class ConversionSplit : Entity { [JsonConstructor] public ConversionSplit() { } public Conversion ParentConversion { get; set; } public Conversion ChildConversion { get; set; } public string ...
mit
C#
da47c542737a8a570280076692700d8a379d0b35
add cannot understand
adipatl/ken,adipatl/ken,adipatl/ken
KenBot/Ai/KenAi.cs
KenBot/Ai/KenAi.cs
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Builder.Luis.Models; namespace Ken { [LuisModel("829ee634-ba62-4240-baf7-70a66163ab01", "d018c3a25fcc49889b863595ceef2ffd")] [Serializable] public class...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Builder.Luis.Models; namespace Ken { [LuisModel("829ee634-ba62-4240-baf7-70a66163ab01", "d018c3a25fcc49889b863595ceef2ffd")] [Serializable] public class...
mit
C#
0d92eb6e37eea7ddc7d6b87aed63b3266255b6f3
Verify if .paket\paket.exe exists if not, try downloading using .paket\paket.bootstrapper.exe else fail
hmemcpy/Paket.VisualStudio,fsprojects/Paket.VisualStudio
src/Paket.VisualStudio/Utils/PaketLauncher.cs
src/Paket.VisualStudio/Utils/PaketLauncher.cs
using System.Diagnostics; using System.IO; namespace Paket.VisualStudio.Utils { public static class PaketLauncher { const string PAKET_EXE = ".paket\\paket.exe"; const string PAKET_BOOTSTRAPPER_EXE = ".paket\\paket.bootstrapper.exe"; const string PAKET_RELEASE_URL = "https://github.com...
using System.Diagnostics; namespace Paket.VisualStudio.Utils { public static class PaketLauncher { public static void LaunchPaket(string SolutionDirectory, string PaketSubCommand, DataReceivedEventHandler PaketDataReceivedHandler) { Process process = new Process(); ...
mit
C#
85c2da8a57f75987a13d35aa40aa442e3bc5b762
Add coment
dorayaki4369/CutImageFromVideo
MainWindow.xaml.cs
MainWindow.xaml.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Medi...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Medi...
mit
C#
1f3aa695bfa5db5f54f5479a647785d91762a488
Use stream in using scope
appharbor/appharbor-cli
src/AppHarbor/ApplicationConfiguration.cs
src/AppHarbor/ApplicationConfiguration.cs
using System; using System.IO; using AppHarbor.Model; namespace AppHarbor { public class ApplicationConfiguration { private readonly IFileSystem _fileSystem; private readonly IGitExecutor _gitExecutor; public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecutor) { _fileSystem = file...
using System; using System.IO; using AppHarbor.Model; namespace AppHarbor { public class ApplicationConfiguration { private readonly IFileSystem _fileSystem; private readonly IGitExecutor _gitExecutor; public ApplicationConfiguration(IFileSystem fileSystem, IGitExecutor gitExecutor) { _fileSystem = file...
mit
C#
b482f2e900fa2e3ac16fda0e0bc8de4a39fb8e11
Add modifiers
fredatgithub/Crypto
SearchAllCombinaisons/Program.cs
SearchAllCombinaisons/Program.cs
using System; namespace SearchAllCombinaisons { public class Program { private static readonly char[] PossibleCharacters = {'0','1','2','3','4','5','6','7','8','9', 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A','B','C','D','E','F','G'...
using System; namespace SearchAllCombinaisons { class Program { static readonly char[] PossibleCharacters = {'0','1','2','3','4','5','6','7','8','9', 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A','B','C','D','E','F','G','H','I','J','K...
mit
C#
810cc50896b5e3a98092db6347230ac8aff2b6fc
fix - build
pavelekNET/DesignPatterns
StructuralDesignPatterns/StructuralDesignPatterns/Adapter/Helpers/TokenBasedAuthentication.cs
StructuralDesignPatterns/StructuralDesignPatterns/Adapter/Helpers/TokenBasedAuthentication.cs
using System; namespace StructuralDesignPatterns.Adapter.Helpers { public class TokenBasedAuthentication { public Guid SignIn(string userName, string password) { return Guid.NewGuid(); } public Guid GetUserToken(string userName) { return Guid.Ne...
using System; namespace StructuralDesignPatterns.Adapter.Helpers { public class TokenBasedAuthentication { public Guid SignIn(string userName, string password) { return Guid.NewGuid(); } public Guid GetUserToken(string userName) { return Guid.Ne...
mit
C#
fd7862e2836cf2fdeec475331198ee3835d3ee3e
Replace npmcdn.com with unpkg.com
oldskoolfan/mvctest,oldskoolfan/mvctest
Views/Accounts/AddAccount.cshtml
Views/Accounts/AddAccount.cshtml
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> <script src="~/js/add-account.js"></script> <fieldset> <legend>Add Account</legend> <label for="nickname">Nickname: <input id="nickname" type="text" /> </label> <label>Type: <input name="account-type" type="radio" value="checking"/>Checking <in...
<script src="https://npmcdn.com/axios/dist/axios.min.js"></script> <script src="~/js/add-account.js"></script> <fieldset> <legend>Add Account</legend> <label for="nickname">Nickname: <input id="nickname" type="text" /> </label> <label>Type: <input name="account-type" type="radio" value="checking"/>Checking <i...
mit
C#
1d9198b81116df056e7f23e8baa730a32a47c116
Use the logger for writing to the console.
FloodProject/flood,FloodProject/flood,FloodProject/flood
src/Editor/Editor.Client/ServerManager.cs
src/Editor/Editor.Client/ServerManager.cs
using System; using System.Threading; using Flood.Editor.Server; namespace Flood.Editor { public class ServerManager { public EditorServer Server { get; private set; } private ManualResetEventSlim serverCreatedEvent; private void RunBuiltinServer() { serverCreatedEv...
using System; using System.Threading; using Flood.Editor.Server; namespace Flood.Editor { public class ServerManager { public EditorServer Server { get; private set; } private ManualResetEventSlim serverCreatedEvent; private void RunBuiltinServer() { serverCreatedEv...
bsd-2-clause
C#
36e578790e0e5ca9e0fe5ffa9b20ce6b0d246999
Use non-temp parameter name
JakeGinnivan/GitVersion,GitTools/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,JakeGinnivan/GitVersion,JakeGinnivan/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,dazinator/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,asbjornu/GitVersion,ermshi...
src/GitVersionCore/TemplateManager.cs
src/GitVersionCore/TemplateManager.cs
namespace GitVersion { using System; using System.Collections.Generic; using System.IO; using System.Linq; using GitVersionCore.Extensions; enum TemplateType { VersionAssemblyInfoResources, GitVersionInformationResources } class TemplateManager { readon...
namespace GitVersion { using System; using System.Collections.Generic; using System.IO; using System.Linq; using GitVersionCore.Extensions; enum TemplateType { VersionAssemblyInfoResources, GitVersionInformationResources } class TemplateManager { readon...
mit
C#
702a8b91e99b35a03ea14b9032a348f00a19921d
Make bitmap loading cache the image
distantcam/WPFConverters
src/WPFConverters/BitmapImageConverter.cs
src/WPFConverters/BitmapImageConverter.cs
using System; using System.Globalization; using System.Windows; using System.Windows.Media.Imaging; namespace WPFConverters { public class BitmapImageConverter : BaseConverter { protected override object OnConvert(object value, Type targetType, object parameter, CultureInfo culture) { ...
using System; using System.Globalization; using System.Windows; using System.Windows.Media.Imaging; namespace WPFConverters { public class BitmapImageConverter : BaseConverter { protected override object OnConvert(object value, Type targetType, object parameter, CultureInfo culture) { ...
mit
C#
2b58b1e89220144f669f306fce375f73a596698d
Use google API key in async test.
Troncho/Geocoding.net,harsimranb/Geocoding.net,chadly/Geocoding.net
src/Tests/GoogleAsyncGeocoderTest.cs
src/Tests/GoogleAsyncGeocoderTest.cs
using System.Configuration; using System.Linq; using Geocoding.Google; using Xunit; using Xunit.Extensions; namespace Geocoding.Tests { public class GoogleAsyncGeocoderTest : AsyncGeocoderTest { GoogleGeocoder geoCoder; protected override IAsyncGeocoder CreateAsyncGeocoder() { geoCoder = new GoogleGeocode...
using System.Linq; using Geocoding.Google; using Xunit; using Xunit.Extensions; namespace Geocoding.Tests { public class GoogleAsyncGeocoderTest : AsyncGeocoderTest { GoogleGeocoder geoCoder; protected override IAsyncGeocoder CreateAsyncGeocoder() { geoCoder = new GoogleGeocoder(); return geoCoder; }...
mit
C#
b46c0768dbee668b57d89d0be8db741e8534288b
Modify DescriptionAttribute to use PropertyAttribute
danielmarbach/nunit,modulexcite/nunit,ChrisMaddock/nunit,dicko2/nunit,Green-Bug/nunit,mikkelbu/nunit,Green-Bug/nunit,acco32/nunit,agray/nunit,jhamm/nunit,dicko2/nunit,pcalin/nunit,mikkelbu/nunit,Green-Bug/nunit,pflugs30/nunit,zmaruo/nunit,michal-franc/nunit,appel1/nunit,jadarnel27/nunit,JustinRChou/nunit,JustinRChou/nu...
src/framework/DescriptionAttribute.cs
src/framework/DescriptionAttribute.cs
// *********************************************************************** // Copyright (c) 2007 Charlie Poole // // 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, ...
// *********************************************************************** // Copyright (c) 2007 Charlie Poole // // 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#
ba298f4269063461c90cdf11184bd3e85fac390d
Fix typos.
jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr
test/HelloCoreClrApp.Test/Data/DatabaseOptionsBuilderFactoryTest.cs
test/HelloCoreClrApp.Test/Data/DatabaseOptionsBuilderFactoryTest.cs
using System; using FluentAssertions; using HelloCoreClrApp.Data; using Microsoft.EntityFrameworkCore; using Xunit; namespace HelloCoreClrApp.Test.Data { public class DatabaseOptionsBuilderFactoryTest { [Fact] public void SqliteConnectionStringShouldReturnConfiguredBuilderTest() { ...
using System; using FluentAssertions; using HelloCoreClrApp.Data; using Microsoft.EntityFrameworkCore; using Xunit; namespace HelloCoreClrApp.Test.Data { public class DatabaseOptionsBuilderFactoryTest { [Fact] public void SqliteConnectionstringShouldReturnConfguredBuilderTest() { ...
mit
C#
6d94aaddb7a3cf38422af267c5dc698f71b69c2b
Fix test
henkmollema/Dommel
test/Dommel.IntegrationTests/MultiMapTests.cs
test/Dommel.IntegrationTests/MultiMapTests.cs
using System.Threading.Tasks; using Xunit; namespace Dommel.IntegrationTests { [Collection("Database")] public class MultiMapTests { [Theory] [ClassData(typeof(DatabaseTestData))] public async Task GetAsync(DatabaseDriver database) { using (var con = database.Ge...
using System.Threading.Tasks; using Xunit; namespace Dommel.IntegrationTests { [Collection("Database")] public class MultiMapTests { [Theory] [ClassData(typeof(DatabaseTestData))] public async Task GetAsync(DatabaseDriver database) { using (var con = database.Ge...
mit
C#
db7602b5ea3cb9915fc48acfa3b62ed1eb5ff94b
Allow for multiple instances of redis running on the same server but different ports.
LeCantaloop/StackExchange.Redis.Extensions,imperugo/StackExchange.Redis.Extensions,imperugo/StackExchange.Redis.Extensions
src/StackExchange.Redis.Extensions.Core/Configuration/RedisHostCollection.cs
src/StackExchange.Redis.Extensions.Core/Configuration/RedisHostCollection.cs
using System.Configuration; namespace StackExchange.Redis.Extensions.Core.Configuration { /// <summary> /// Configuration Element Collection for <see cref="RedisHost"/> /// </summary> public class RedisHostCollection : ConfigurationElementCollection { /// <summary> /// Gets or sets the <see cref="R...
using System.Configuration; namespace StackExchange.Redis.Extensions.Core.Configuration { /// <summary> /// Configuration Element Collection for <see cref="RedisHost"/> /// </summary> public class RedisHostCollection : ConfigurationElementCollection { /// <summary> /// Gets or sets the <see cref="R...
mit
C#
0b78a326d6a739d7045e3890b74f8d52c5ab9279
Fix up badly spelled test
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
LINQToTTree/LINQToTTreeLib.Tests/Expressions/SubExpressionReplacementTest.cs
LINQToTTree/LINQToTTreeLib.Tests/Expressions/SubExpressionReplacementTest.cs
using LINQToTTreeLib.Expressions; using Microsoft.Pex.Framework; using Microsoft.Pex.Framework.Validation; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Diagnostics; using System.Linq.Expressions; namespace LINQToTTreeLib.Tests.ResultOperators { [TestClass] [PexClass...
using System; using System.Diagnostics; using System.Linq.Expressions; using LINQToTTreeLib.Expressions; using Microsoft.Pex.Framework; using Microsoft.Pex.Framework.Validation; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LINQToTTreeLib.Tests.ResultOperators { [TestClass] [PexClass...
lgpl-2.1
C#
bb96bc94772e0909fb92e00f2fee4fb5c475e051
Fix FixedAddressValueTypeTest test
wtgodbe/corefx,parjong/corefx,ravimeda/corefx,krytarowski/corefx,krk/corefx,ericstj/corefx,ericstj/corefx,jlin177/corefx,DnlHarvey/corefx,weltkante/corefx,rjxby/corefx,richlander/corefx,nchikanov/corefx,dotnet-bot/corefx,Jiayili1/corefx,stone-li/corefx,the-dwyer/corefx,ravimeda/corefx,Petermarcu/corefx,seanshpark/coref...
src/System.Runtime/tests/System/Runtime/CompilerServices/RuntimeHelpersTests.netstandard1.7.cs
src/System.Runtime/tests/System/Runtime/CompilerServices/RuntimeHelpersTests.netstandard1.7.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 System.Collections.Generic; using System.Runtime.CompilerServices; using Xunit; namespace Syste...
// 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; namespace System.Runtime.CompilerServices.Tests ...
mit
C#
9d2a395be0d804e1c2a9f01d044ae130a3448d2a
Fix chatbox crash (#8204)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/Chat/ChatSystem.cs
Content.Client/Chat/ChatSystem.cs
using Content.Client.Chat.Managers; using Content.Client.Chat.UI; using Content.Client.Examine; using Content.Shared.Chat; using Content.Shared.Examine; using Robust.Client.Player; using Robust.Shared.Map; namespace Content.Client.Chat; public sealed class ChatSystem : SharedChatSystem { [Dependency] private read...
using Content.Client.Chat.Managers; using Content.Client.Chat.UI; using Content.Client.Examine; using Content.Shared.Chat; using Content.Shared.Examine; using Robust.Client.Player; using Robust.Shared.Map; namespace Content.Client.Chat; public sealed class ChatSystem : SharedChatSystem { [Dependency] private read...
mit
C#
04a42619ac298c02154bbee8037bfc7c648ecaa0
Fix build error
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.Dashboard/LocalRequestsOnlyAuthorizationFilter.cs
src/DotNetCore.CAP.Dashboard/LocalRequestsOnlyAuthorizationFilter.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Threading.Tasks; using DotNetCore.CAP.Internal; namespace DotNetCore.CAP.Dashboard { public class LocalRequestsOnlyAuthorizationFilter : IDashboa...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using DotNetCore.CAP.Internal; namespace DotNetCore.CAP.Dashboard { public class LocalRequestsOnlyAuthorizationFilter : IDashboardAuthorizationFilter { ...
mit
C#
a9a9d06cba6e1bcd2de9cf2e00935baf53544d7e
fix type-o
FatJohn/UnicornToolkit
DemoApp/DemoApp.DotNet/Program.cs
DemoApp/DemoApp.DotNet/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Unicorn; namespace DemoApp.DotNet { class Program { static void Main(string[] args) { PlatformService.Log = new NullLogService(); var result = Task...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Unicorn; namespace DemoApp.DotNet { class Program { static void Main(string[] args) { PlatformService.Log = new NullLogService(); var resutl = Task...
mit
C#
368261a339f3a8e84079241a2f0798fd93962e0f
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/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("storybrew editor")] [assembly: AssemblyDe...
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("storybrew editor")] [assembly: AssemblyDe...
mit
C#
00ad220951c0fa949bbe3dc05d90249862fd3330
update session guid added to merchantofferDto
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/MerchantOfferDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Merchant/MerchantOfferDto.cs
using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Gen; using PS.Mothership.Core.Common.Template.Opp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PS.Mothership.Core.Common.Dto.Merchant { [DataContract] ...
using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Gen; using PS.Mothership.Core.Common.Template.Opp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PS.Mothership.Core.Common.Dto.Merchant { [DataContract] ...
mit
C#
d91cdb9fbe01763818dcf6344fddf794b88cdb17
Correct test
modulexcite/lokad-cqrs
Framework/Lokad.Cqrs.Portable.Tests/Synthetic/Given_duplicate_configuration.cs
Framework/Lokad.Cqrs.Portable.Tests/Synthetic/Given_duplicate_configuration.cs
using System.Runtime.Serialization; using System.Threading; using Lokad.Cqrs.Build; using Lokad.Cqrs.Build.Engine; using Lokad.Cqrs.Core.Dispatch.Events; using Lokad.Cqrs.Core.Reactive; using Lokad.Cqrs.Feature.HandlerClasses; using NUnit.Framework; namespace Lokad.Cqrs.Synthetic { [TestFixture] public sealed...
using System.Threading; using Lokad.Cqrs.Build; using Lokad.Cqrs.Build.Engine; using Lokad.Cqrs.Core.Dispatch.Events; using Lokad.Cqrs.Core.Reactive; using NUnit.Framework; namespace Lokad.Cqrs.Synthetic { [TestFixture] public sealed class Given_duplicate_configuration { // ReSharper disable Incon...
bsd-3-clause
C#
7852e8c67b4a84391583cf6fde0aa6f0fb799309
update portal self update
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/PortableAreas/SelfUpdater/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/PortableAreas/SelfUpdater/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Web; // 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("SelfUpdater")] [assembl...
using System.Reflection; using System.Runtime.InteropServices; using System.Web; // 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("SelfUpdater")] [assembl...
apache-2.0
C#
99756a301f215e1346a122046473321b5753d94a
Add group to the soldier list, replacing id as the first element
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Soldier/List.cshtml
BatteryCommander.Web/Views/Soldier/List.cshtml
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "List"; } <h2>@ViewBag.Title</h2> @Html.ActionLink("Include Inactive Soldiers", "List", new { activeOnly = false }) @Html.ActionLink("Add a Soldier", "Edit") @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk") <table class="table ta...
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "List"; } <h2>@ViewBag.Title</h2> @Html.ActionLink("Include Inactive Soldiers", "List", new { activeOnly = false }) @Html.ActionLink("Add a Soldier", "Edit") @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk") <table class="table ta...
mit
C#
a90f9074540d20f7e937211f621a9d59022d5774
Increase nuget package version to 1.0.0-beta05
Jericho/CakeMail.RestClient
CakeMail.RestClient/Properties/AssemblyInfo.cs
CakeMail.RestClient/Properties/AssemblyInfo.cs
using System.Reflection; // 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("CakeMail.RestClient")] [assembly: AssemblyDescription("CakeMail.RestClient is a...
using System.Reflection; // 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("CakeMail.RestClient")] [assembly: AssemblyDescription("CakeMail.RestClient is a...
mit
C#
e9e0731ce2d1f2f5dcc0216b65943ca854a92b24
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.Adobe/ValuesOut.cs
RegistryPlugin.Adobe/ValuesOut.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.Adobe { public class ValuesOut:IValueOut { public ValuesOut(string productName, string productVersion, string fullPath, Date...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.Adobe { public class ValuesOut:IValueOut { public ValuesOut(string productName, string productVersion, string fullPath, Date...
mit
C#
faf6737218f051bfa35f470e32ef0dc0c407473d
Use shell execute for run action.
simontaylor81/HomeAutomation,simontaylor81/HomeAutomation,simontaylor81/HomeAutomation,simontaylor81/HomeAutomation,simontaylor81/HomeAutomation
MediaCentreServer/Controllers/RunController.cs
MediaCentreServer/Controllers/RunController.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace MediaCentreServer.Controllers { // Controller for running an application. public class RunController : ApiController { // POST /api/run?path=... ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace MediaCentreServer.Controllers { // Controller for running an application. public class RunController : ApiController { // POST /api/run?path=... ...
mit
C#
71ba0f9476006ec4877c2e15f2454c2ecf57c2df
Add cookie
RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag
src/NSwag.Core/OpenApiParameterKind.cs
src/NSwag.Core/OpenApiParameterKind.cs
//----------------------------------------------------------------------- // <copyright file="SwaggerParameterKind.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsuter.co...
//----------------------------------------------------------------------- // <copyright file="SwaggerParameterKind.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsuter.co...
mit
C#
afd80a8c727256a99e499287a66208909e9d4a36
Update HttpContextAccessor.cs
jtkech/Orchard,sfmskywalker/Orchard,OrchardCMS/Orchard,jchenga/Orchard,jimasp/Orchard,jersiovic/Orchard,LaserSrl/Orchard,Codinlab/Orchard,grapto/Orchard.CloudBust,sfmskywalker/Orchard,aaronamm/Orchard,yersans/Orchard,li0803/Orchard,mvarblow/Orchard,brownjordaninternational/OrchardCMS,johnnyqian/Orchard,brownjordaninter...
src/Orchard/Mvc/HttpContextAccessor.cs
src/Orchard/Mvc/HttpContextAccessor.cs
using System; using System.Runtime.Remoting.Messaging; using System.Web; namespace Orchard.Mvc { public class HttpContextAccessor : IHttpContextAccessor { private HttpContextBase _httpContext; public HttpContextBase Current() { var httpContext = GetStaticProperty(); return...
using System; using System.Web; namespace Orchard.Mvc { public class HttpContextAccessor : IHttpContextAccessor { private HttpContextBase _httpContext; public HttpContextBase Current() { var httpContext = GetStaticProperty(); return !IsBackgroundHttpContext(httpContext) ? ...
bsd-3-clause
C#
b087c95581e960f80fa26af370aceb15dadf251e
Use a frozen clock for catcher trails
ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu
osu.Game.Rulesets.Catch/UI/CatcherTrail.cs
osu.Game.Rulesets.Catch/UI/CatcherTrail.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Pooling; using osu.Framework.Timing; using osuTK; namespace osu.Game.Rulesets.Catch.UI { /// <summary> ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Pooling; using osuTK; namespace osu.Game.Rulesets.Catch.UI { /// <summary> /// A trail of the catcher....
mit
C#
f375db368f1ac0208d7dd4dd5497da93ec6ab448
Remove useless null check
peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,ppy/osu,johnneijzen/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,ppy/osu
osu.Game/Users/Drawables/UpdateableFlag.cs
osu.Game/Users/Drawables/UpdateableFlag.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Input.Events; using osu.Game.Overlays; namesp...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Input.Events; using osu.Game.Overlays; namesp...
mit
C#
744f77c528da3e8e5ef753e96974386c61e23466
fix VersionFilterAttribute
AlejandroCano/framework,avifatal/framework,signumsoftware/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework
Signum.React/Filters/VersionFilterAttribute.cs
Signum.React/Filters/VersionFilterAttribute.cs
using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Web; namespace Signum.React.Filters { public class VersionFilterAttribut...
using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Web; namespace Signum.React.Filters { public class VersionFilterAttribut...
mit
C#
1028b8acd91c2aa84f2dd57bfd6ab4514db89922
Implement WPF IComboBoxEntryBackend.SetTextColumn
residuum/xwt,directhex/xwt,mono/xwt,lytico/xwt,mminns/xwt,hwthomas/xwt,iainx/xwt,steffenWi/xwt,cra0zy/xwt,sevoku/xwt,hamekoz/xwt,antmicro/xwt,mminns/xwt,akrisiun/xwt,TheBrainTech/xwt
Xwt.WPF/Xwt.WPFBackend/ComboBoxEntryBackend.cs
Xwt.WPF/Xwt.WPFBackend/ComboBoxEntryBackend.cs
// // ComboBoxEntryBackend.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without...
// // ComboBoxEntryBackend.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without...
mit
C#
366f9120cef48871e96ede0ddf7db4a3b88a4623
Bump build number.
DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod
Terraria_Server/Server/Statics.cs
Terraria_Server/Server/Statics.cs
using System; using System.IO; namespace Terraria_Server { public static class Statics { public const int BUILD = 26; public const int CURRENT_TERRARIA_RELEASE = 12; public static string CURRENT_TERRARIA_RELEASE_STR = CURRENT_TERRARIA_RELEASE.ToString(); private const String W...
using System; using System.IO; namespace Terraria_Server { public static class Statics { public const int BUILD = 24; public const int CURRENT_TERRARIA_RELEASE = 12; public static string CURRENT_TERRARIA_RELEASE_STR = CURRENT_TERRARIA_RELEASE.ToString(); private const String W...
mit
C#
9288f1430b6237d80316c85986f3f416359a7138
Fix to Expiry Processor constructor to ensure compilation under C# 6
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/SFA.DAS.Commitments.AcademicYearEndProcessor.WebJob/Updater/AcademicYearEndExpiryProcessor.cs
src/SFA.DAS.Commitments.AcademicYearEndProcessor.WebJob/Updater/AcademicYearEndExpiryProcessor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SFA.DAS.Commitments.Domain.Data; using SFA.DAS.Commitments.Domain.Entities.DataLock; using SFA.DAS.Commitments.Domain.Interfaces; using SFA.DAS.NLog.Logger; namespace SFA.DAS.Commitments.AcademicYearEndProcessor.Web...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using SFA.DAS.Commitments.Domain.Data; using SFA.DAS.Commitments.Domain.Entities.DataLock; using SFA.DAS.Commitments.Domain.Interfaces; using SFA.DAS.NLog.Logger; namespace SFA.DAS.C...
mit
C#
0879f6b8fb54fe33bcfe5f237168377d345b164b
Add new function
ruben69695/Net-UtilityLibrary
UtilityLibraries/StringLibrary.cs
UtilityLibraries/StringLibrary.cs
using System; using System.Collections.Generic; using System.Text; namespace UtilityLibraries { /// <summary> /// Static class that offers universal functions with Strings for .NET Standard Platform (Continuous updating class) /// </summary> public static class StringLibrary { /// <summary...
using System; using System.Collections.Generic; using System.Text; namespace UtilityLibraries { /// <summary> /// Static class that offers universal functions with Strings for .NET Standard Platform (Continuous updating class) /// </summary> public static class StringLibrary { /// <summary...
mit
C#
cde3d9c08ba8e3b9af8e8e6192c9febdfa306baa
Change precedence order to favour playlist as a source for beatmap count
peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Screens/OnlinePlay/Lounge/Components/PlaylistCountPill.cs
osu.Game/Screens/OnlinePlay/Lounge/Components/PlaylistCountPill.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 Humanizer; using osu.Framework.Allocation; using osu.Framework.Extensions.LocalisationExtensions; using osu.Framework.Graphics; using osu.Game.Gr...
// 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 Humanizer; using osu.Framework.Allocation; using osu.Framework.Extensions.LocalisationExtensions; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.G...
mit
C#
7d232563070eab4648a5a7d39f0cee00643d5072
Enable NRT
weltkante/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,diryboy/roslyn,diryboy/roslyn,mavasani/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,dotnet/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,KevinR...
src/Analyzers/Core/CodeFixes/UseInferredMemberName/AbstractUseInferredMemberNameCodeFixProvider.cs
src/Analyzers/Core/CodeFixes/UseInferredMemberName/AbstractUseInferredMemberNameCodeFixProvider.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 System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading...
// 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; using System.Collections.Immutable; using System.Linq; using System.Threading; usi...
mit
C#
70f305562164245be4cd89cb5fc9706c5a9696d7
Support null source value
Stonefinch/AzureIntro,Stonefinch/AzureIntro
src/AzureIntro.WebJobs.QueueTrigger/TraceWriters/SqlTraceWriter.cs
src/AzureIntro.WebJobs.QueueTrigger/TraceWriters/SqlTraceWriter.cs
using Microsoft.Azure.WebJobs.Host; using System.Data.SqlClient; using System.Diagnostics; using System.Linq; namespace AzureIntro.WebJobs.QueueTrigger.TraceWriters { public class SqlTraceWriter : TraceWriter { private string SqlConnectionString { get; set; } private string LogTableName { get...
using Microsoft.Azure.WebJobs.Host; using System.Data.SqlClient; using System.Diagnostics; using System.Linq; namespace AzureIntro.WebJobs.QueueTrigger.TraceWriters { public class SqlTraceWriter : TraceWriter { private string SqlConnectionString { get; set; } private string LogTableName { get...
apache-2.0
C#
4a4830c717373ac7742fe3d64741a4cd674a8906
Update cake dependencies
ppy/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,EVAST9919/osu,ZLima12/osu,peppy/osu,ppy/osu,ZLima12/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,johnneijzen/osu,Useless...
build/build.cake
build/build.cake
#addin "nuget:?package=CodeFileSanity&version=0.0.33" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.2.1" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); ///////////////////////////////////////////////////////...
#addin "nuget:?package=CodeFileSanity&version=0.0.21" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.1.1" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); ///////////////////////////////////////////////////////...
mit
C#
38c0d5dd958d189bbeef105791975fdcf85db176
Test Fixes
jjb3rd/Freshdesk.Net
Freshdesk.Tests/UserTests.cs
Freshdesk.Tests/UserTests.cs
/* * Copyright 2015 Beckersoft, Inc. * * Author(s): * John Becker (john@beckersoft.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
/* * Copyright 2015 Beckersoft, Inc. * * Author(s): * John Becker (john@beckersoft.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
apache-2.0
C#
b52337c64e9f4f6b542da7429bc2042ef5eeae5e
Remove check for bearer on generic ApiController definition
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/API/ApiController.cs
Battery-Commander.Web/Controllers/API/ApiController.cs
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace BatteryCommander.Web.Controllers.API { [Route("api/[controller]"), Authorize(AuthenticationSchemes = "Auth0,Cookies")] public class ApiController : Controller { protected readonly...
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace BatteryCommander.Web.Controllers.API { [Route("api/[controller]"), Authorize(AuthenticationSchemes = "Auth0,Bearer,Cookies")] public class ApiController : Controller { protected r...
mit
C#
0fc9f5a513214aebbbee0983c0e9f49fea4309e0
Fix PrintViewApi
InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform
InfinniPlatform.FlowDocument/PrintView/PrintViewApi.cs
InfinniPlatform.FlowDocument/PrintView/PrintViewApi.cs
using System; using System.IO; using InfinniPlatform.Core.Metadata; using InfinniPlatform.Core.PrintView; using InfinniPlatform.Sdk.Dynamic; using InfinniPlatform.Sdk.PrintView; using InfinniPlatform.Sdk.Serialization; namespace InfinniPlatform.FlowDocument.PrintView { /// <summary> /// Предоставляет методы ...
using System; using InfinniPlatform.Core.Metadata; using InfinniPlatform.Core.PrintView; using InfinniPlatform.Sdk.PrintView; namespace InfinniPlatform.FlowDocument.PrintView { /// <summary> /// Предоставляет методы для работы с печатными представлениями. /// </summary> internal sealed class PrintVie...
agpl-3.0
C#
cd00e0e215f650aa232d07465bee39e98da4fd01
Refactor Keys.
JohanLarsson/Gu.Wpf.Validation
Gu.Wpf.Validation/PropertyGrid/Keys.cs
Gu.Wpf.Validation/PropertyGrid/Keys.cs
namespace Gu.Wpf.Validation { using System.Runtime.CompilerServices; using System.Windows; public static class Keys { public static ResourceKey SettingsListStyleKey { get; } = CreateKey(); public static ResourceKey NestedListStyleKey { get; } = CreateKey(); public static Reso...
namespace Gu.Wpf.Validation { using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Windows; public static class Keys { private static readonly Dictionary<string, ComponentResourceKey> Cache = new Dictionary<string, ComponentResourceKey>(); public s...
mit
C#
f9bfaf0ea091a1011310a80232a3ede90e3d9dda
Fix status label updating (update method not called if control is not visible)
ethanmoffat/EndlessClient
EndlessClient/UIControls/StatusBarLabel.cs
EndlessClient/UIControls/StatusBarLabel.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using EndlessClient.HUD; using EndlessClient.Rendering; using EOLib; using Microsoft.Xna.Framework; using XNAControls; namespace EndlessClient.UIControls {...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using EndlessClient.HUD; using EndlessClient.Rendering; using EOLib; using Microsoft.Xna.Framework; using XNAControls; namespace EndlessClient.UIControls {...
mit
C#
258898a078ba03279c2326639666b7acf63b0825
Add fields for PPU registers.
DanTup/DaNES
DaNES.Emulation/Ppu.cs
DaNES.Emulation/Ppu.cs
using System.Drawing; namespace DanTup.DaNES.Emulation { class Ppu { public Memory Ram { get; } public Bitmap Screen { get; } // PPU Control bool NmiEnable; bool PpuMasterSlave; bool SpriteHeight; bool BackgroundTileSelect; bool SpriteTileSelect; bool IncrementMode; bool NameTableSelect1; boo...
using System.Drawing; namespace DanTup.DaNES.Emulation { class Ppu { public Memory Ram { get; } public Bitmap Screen { get; } public Ppu(Memory ram, Bitmap screen) { Ram = ram; Screen = screen; for (var x = 0; x < 256; x++) { for (var y = 0; y < 240; y++) { Screen.SetPixel(x, y, C...
mit
C#
4795170c6044bc7092b4c78b687f5a5bdc880088
Add back the default json converter locally to ensure it's actually used
peppy/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu
osu.Game/IO/Serialization/IJsonSerializable.cs
osu.Game/IO/Serialization/IJsonSerializable.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.Collections.Generic; using Newtonsoft.Json; using osu.Framework.IO.Serialization; namespace osu.Game.IO.Serialization { public interface IJsonSerializa...
// 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 Newtonsoft.Json; namespace osu.Game.IO.Serialization { public interface IJsonSerializable { } public static class JsonSerializableExtensions ...
mit
C#
16e7b7bc4cb50308710542d5134829c5f5800fa2
Add testing for impersonation
Seddryck/Idunn.SqlServer
IdunnSql.Testing.Acceptance/ProgramTest.cs
IdunnSql.Testing.Acceptance/ProgramTest.cs
using IdunnSql.Console; using IdunnSql.Core.Model; using IdunnSql.Core.Template.StringTemplate; using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace IdunnSql.Testing.Acceptance { ...
using IdunnSql.Console; using IdunnSql.Core.Model; using IdunnSql.Core.Template.StringTemplate; using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace IdunnSql.Testing.Acceptance { ...
apache-2.0
C#
91851decf160d1001a5cf4c3e6c9eaca3678eab5
Change RSA_OAEP to RSA-OAEP
AzCiS/azure-sdk-for-net,marcoippel/azure-sdk-for-net,samtoubia/azure-sdk-for-net,enavro/azure-sdk-for-net,vladca/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,juvchan/azure-sdk-for-net,smithab/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,vivsriaus/azure-sdk-for-net,kagamsft/azure-sdk-for-net,DeepakRajendranMsft/azu...
src/KeyVault/Microsoft.Azure.KeyVault/WebKey/JsonWebKeyEncryptionAlgorithms.cs
src/KeyVault/Microsoft.Azure.KeyVault/WebKey/JsonWebKeyEncryptionAlgorithms.cs
// // Copyright © Microsoft Corporation, 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 // // THIS CODE IS PROVIDED ...
// // Copyright © Microsoft Corporation, 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 // // THIS CODE IS PROVIDED ...
apache-2.0
C#
16a07e417ce653bfa310b0f6eee7cb82c6f2a2dc
update code for raven 3
agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro
api/Search.Api/Bootstrapper.cs
api/Search.Api/Bootstrapper.cs
using System.Net; using Nancy; using Nancy.Bootstrapper; using Nancy.TinyIoc; using Newtonsoft.Json; using Raven.Client; using Raven.Client.Document; using Search.Api.Config; using Search.Api.Index; using Search.Api.Serializers; using Search.Api.Services; namespace Search.Api { public class Bootstrapper : Default...
using System.Net; using Nancy; using Nancy.Bootstrapper; using Nancy.TinyIoc; using Newtonsoft.Json; using Raven.Client; using Raven.Client.Document; using Search.Api.Config; using Search.Api.Index; using Search.Api.Serializers; using Search.Api.Services; namespace Search.Api { public class Bootstrapper : Default...
mit
C#
041eda7e74a012bf5fa21e9859840ba110738d4b
Set Secret.cs so it will not be modified by default. This means we can put sensitive information in it, and it won't go into source control
AiBattleground/BotWars,AiBattleground/BotWars
Source/Server/NetBots.WebServer.Host/Models/Secrets.cs
Source/Server/NetBots.WebServer.Host/Models/Secrets.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace NetBotsHostProject.Models { public static class Secrets { private static readonly Dictionary<string,string> _secrets = new Dictionary<string, string>() { {"gitHubClientIdDev", "placeHolde...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace NetBotsHostProject.Models { public static class Secrets { private static readonly Dictionary<string,string> _secrets = new Dictionary<string, string>() { {"gitHubClientIdDev", "placeholde...
mit
C#
79aff4739afb5a901db52f54911229395fe5ab56
Fix issue with tag retrieval (#739)
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/src/Squidex/Areas/Api/Controllers/Schemas/Models/SchemaPropertiesDto.cs
backend/src/Squidex/Areas/Api/Controllers/Schemas/Models/SchemaPropertiesDto.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
696f096845a879e37aae0ff4033cfed66db955b1
Add missing documentation
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
2015/day-06/AdventOfCode.Day6/Instruction.cs
2015/day-06/AdventOfCode.Day6/Instruction.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Instruction.cs" company="https://github.com/martincostello/adventofcode"> // Martin Costello (c) 2015 // </copyright> // <license> // See license.txt in the project root for l...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Instruction.cs" company="https://github.com/martincostello/adventofcode"> // Martin Costello (c) 2015 // </copyright> // <license> // See license.txt in the project root for l...
apache-2.0
C#
00e3d67de41386aad10638760a14256693b3a3cf
test (issue #15)
sergeyt/xserializer,sergeyt/xserializer
src/Tests/MiscTests.cs
src/Tests/MiscTests.cs
#if NUNIT using System.Xml.Linq; using NUnit.Framework; namespace TsvBits.Serialization.Tests { [TestFixture] public class MiscTests { [TestCase(@"<Entity><Value>test</Value><Unknown>abc</Unknown></Entity>", Result = "test")] [TestCase(@"<Entity><Unknown><nested>abc</nested></Unknown><Value>test</Value></Entit...
#if NUNIT using System.Xml.Linq; using NUnit.Framework; namespace TsvBits.Serialization.Tests { [TestFixture] public class MiscTests { [TestCase(@"<Entity><Value>test</Value><Unknown>abc</Unknown></Entity>", Result = "test")] [TestCase(@"<Entity><Unknown><nested>abc</nested></Unknown><Value>test</Value></Entit...
mit
C#
b4a6a6fbe06f77f8a91e7500598da05fe181c8e1
Change version up to 1.1.1
matiasbeckerle/breakout,matiasbeckerle/arkanoid,matiasbeckerle/perspektiva
source/Assets/Scripts/Loader.cs
source/Assets/Scripts/Loader.cs
using UnityEngine; using System.Reflection; [assembly: AssemblyVersion("1.1.1.*")] public class Loader : MonoBehaviour { /// <summary> /// DebugUI prefab to instantiate. /// </summary> [SerializeField] private GameObject _debugUI; /// <summary> /// ModalDialog prefab to insta...
using UnityEngine; using System.Reflection; [assembly: AssemblyVersion("1.1.0.*")] public class Loader : MonoBehaviour { /// <summary> /// DebugUI prefab to instantiate. /// </summary> [SerializeField] private GameObject _debugUI; /// <summary> /// ModalDialog prefab to insta...
unknown
C#
31514c8eff77c153e6863aaeb841956e9c63828a
Fix remaining comment spacing.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Rpc/JsonRpcService.cs
WalletWasabi.Gui/Rpc/JsonRpcService.cs
using System; using System.Collections.Generic; using System.Reflection; namespace WalletWasabi.Gui.Rpc { /// <summary> /// Base class for service classes. /// /// Provides two methods for responding to the clients with a **result** for valid /// requests or with **error** in case the request is invalid or there ...
using System; using System.Collections.Generic; using System.Reflection; namespace WalletWasabi.Gui.Rpc { ///<summary> /// Base class for service classes. /// /// Provides two methods for responding to the clients with a **result** for valid /// requests or with **error** in case the request is invalid or there i...
mit
C#
55d102fd2ed65b32205de6423f39f2f81ee1e0cc
Simplify foreach'es to a LINQ expression
boumenot/Grobid.NET
src/Grobid/PdfBlockExtractor.cs
src/Grobid/PdfBlockExtractor.cs
using System; using System.Collections.Generic; using System.Linq; using Grobid.PdfToXml; namespace Grobid.NET { public class PdfBlockExtractor<T> { private readonly BlockStateFactory factory; public PdfBlockExtractor() { this.factory = new BlockStateFactory...
using System; using System.Collections.Generic; using System.Linq; using Grobid.PdfToXml; namespace Grobid.NET { public class PdfBlockExtractor<T> { private readonly BlockStateFactory factory; public PdfBlockExtractor() { this.factory = new BlockStateFactory...
apache-2.0
C#
ea772c960a89844de445a14a5b9ed3bc0bc21d7b
remove stream copy
icarus-consulting/Yaapii.Atoms
src/Yaapii.Atoms/IO/ZipFiles.cs
src/Yaapii.Atoms/IO/ZipFiles.cs
using System.Collections; using System.Collections.Generic; using System.IO; using System.IO.Compression; using Yaapii.Atoms; using Yaapii.Atoms.Enumerable; using Yaapii.Atoms.Scalar; namespace Yaapii.Atoms.IO { /// <summary> /// The files in a ZIP archive. /// Note: Extraction is sticky. /// </summar...
using System.Collections; using System.Collections.Generic; using System.IO; using System.IO.Compression; using Yaapii.Atoms; using Yaapii.Atoms.Enumerable; using Yaapii.Atoms.Scalar; namespace Yaapii.Atoms.IO { /// <summary> /// The files in a ZIP archive. /// Note: Extraction is sticky. /// </summar...
mit
C#
3f3ea9ceca219b600373959df35ed95dc1738729
Tidy up route declaration
stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing
src/RestfulRouting/Mappers/DebugRouteMapper.cs
src/RestfulRouting/Mappers/DebugRouteMapper.cs
using System.Web.Routing; using RestfulRouting.RouteDebug; namespace RestfulRouting.Mappers { public class DebugRouteMapper : StandardMapper { string _path; public DebugRouteMapper(string path) { _path = path; } public override void RegisterRoutes(RouteColl...
using System.Web.Routing; using RestfulRouting.RouteDebug; namespace RestfulRouting.Mappers { public class DebugRouteMapper : StandardMapper { string _path; public DebugRouteMapper(string path) { _path = path; } public override void RegisterRoutes(System.We...
mit
C#
3afc86180ca9c4c7e5e3eeb9c7c3d49ddafeb1b0
Update vesion to 3.4.0.0 (#71)
adjackura/compute-image-windows,ning-yang/compute-image-windows,adjackura/compute-image-windows,illfelder/compute-image-windows,GoogleCloudPlatform/compute-image-windows,GoogleCloudPlatform/compute-image-windows,ning-yang/compute-image-windows,illfelder/compute-image-windows
agent/Common/Properties/VersionInfo.cs
agent/Common/Properties/VersionInfo.cs
/* * Copyright 2015 Google 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 * * Unless required by applica...
/* * Copyright 2015 Google 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 * * Unless required by applica...
apache-2.0
C#
efd79306e75512788f9bb66ff58993fe16296a84
fix pending download server selection
yar229/WebDavMailRuCloud
MailRuCloud/MailRuCloudApi/Base/Pending.cs
MailRuCloud/MailRuCloudApi/Base/Pending.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YaR.MailRuCloud.Api.Base { class Pending<T> where T : class { private readonly List<PendingItem<T>> _items = new List<PendingItem<T>>(); private readonly int _maxLocks; private readonly Func...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YaR.MailRuCloud.Api.Base { class Pending<T> where T : class { private readonly List<PendingItem<T>> _items = new List<PendingItem<T>>(); private readonly int _maxLocks; private readonly Func...
mit
C#
8f7577a314e6efadd3a62f15c1fdb3fa385f8c5a
Update EllipseShape.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Shapes/EllipseShape.cs
src/Core2D/Shapes/EllipseShape.cs
using System; using System.Collections.Generic; using Core2D.Data; using Core2D.Renderer; namespace Core2D.Shapes { /// <summary> /// Ellipse shape. /// </summary> public class EllipseShape : TextShape, IEllipseShape { /// <inheritdoc/> public override Type TargetType => typeof(IEl...
using System; using System.Collections.Generic; using Core2D.Data; using Core2D.Renderer; namespace Core2D.Shapes { /// <summary> /// Ellipse shape. /// </summary> public class EllipseShape : TextShape, IEllipseShape { /// <inheritdoc/> public override Type TargetType => typeof(IEl...
mit
C#
e126fd3ed60273dfd720c3977cb79889fb9c16d7
Complete implementation AlbumsRepo.
CassandraDied/SimpleRestService
src/DataLayer/AlbumsRepository.cs
src/DataLayer/AlbumsRepository.cs
using System.Collections.Generic; using System.Threading.Tasks; using DataLayer.Contract; using DataLayer.Contract.Models; using System.Net.Http; using System; using Newtonsoft.Json; using System.Linq; namespace DataLayer { public class AlbumsRepository : IAlbumsRepository { private static HttpClient ...
using System.Collections.Generic; using System.Threading.Tasks; using DataLayer.Contract; using DataLayer.Contract.Models; using System.Net.Http; using System; using Newtonsoft.Json; namespace DataLayer { public class AlbumsRepository : IAlbumsRepository { private static HttpClient _client = new HttpC...
mit
C#
b3e7ca47cad2971433616ccdea6883c8b5b825e6
Add timer for email sending
mattgwagner/CertiPay.Common
CertiPay.Common/Notifications/ISMSService.cs
CertiPay.Common/Notifications/ISMSService.cs
using CertiPay.Common.Logging; using System; 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 processing. /// </remarks...
using CertiPay.Common.Logging; using System; 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 processing. /// </remarks...
mit
C#
1033c42d0156db660f53b3ca113741ca3cc23b37
Make Tablet and Desktop device types report as Desktop
pingzing/digi-transit-10
DigiTransit10/Helpers/DeviceTypeHelper.cs
DigiTransit10/Helpers/DeviceTypeHelper.cs
using Windows.System.Profile; using Windows.UI.ViewManagement; namespace DigiTransit10.Helpers { public static class DeviceTypeHelper { public static DeviceFormFactorType GetDeviceFormFactorType() { switch (AnalyticsInfo.VersionInfo.DeviceFamily) { case ...
using Windows.System.Profile; using Windows.UI.ViewManagement; namespace DigiTransit10.Helpers { public static class DeviceTypeHelper { public static DeviceFormFactorType GetDeviceFormFactorType() { switch (AnalyticsInfo.VersionInfo.DeviceFamily) { case ...
mit
C#
04eb1d877d5334f9eb8a2b93afe90a53f0bcf6ee
remove duplicated public keys (#1326)
open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet
src/OpenTelemetry/AssemblyInfo.cs
src/OpenTelemetry/AssemblyInfo.cs
// <copyright file="AssemblyInfo.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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.or...
// <copyright file="AssemblyInfo.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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.or...
apache-2.0
C#
ddbc71ab3a398214a932ed4ceeee8090f102b62b
Format the build script
DuFF14/OSVR-Unity,JeroMiya/OSVR-Unity,grobm/OSVR-Unity,grobm/OSVR-Unity,OSVR/OSVR-Unity
OSVR-Unity/Assets/Editor/OSVRUnityBuild.cs
OSVR-Unity/Assets/Editor/OSVRUnityBuild.cs
using UnityEditor; using System.Collections; public class OSVRUnityBuild { static void build() { string[] assets = { "Assets/OSVRUnity", "Assets/Plugins" }; AssetDatabase.ExportPackage(assets, "OSVR-Unity.unitypackage", ...
using UnityEditor; using System.Collections; public class OSVRUnityBuild { static void build() { string[] assets = { "Assets/OSVRUnity", "Assets/Plugins" }; AssetDatabase.ExportPackage(assets, "OSVR-Unity.unitypackage", ExportPackageOptions.Inc...
apache-2.0
C#
41c6981d12798538c6e12600ccc6ba52c2f3a32d
更新版本2.2.2.34
Laforeta/KanColleCacher,hakuame/KanColleCacher,Gizeta/KanColleCacher
KanColleCacher/Properties/AssemblyInfo.cs
KanColleCacher/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using d_f_32.KanColleCacher; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle(AssemblyInfo.Title)] [assembly: AssemblyDescription(AssemblyInfo.Description)] [assembly: Assembl...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using d_f_32.KanColleCacher; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle(AssemblyInfo.Title)] [assembly: AssemblyDescription(AssemblyInfo.Description)] [assembly: Assembl...
mit
C#
1b87767472bea0910e6dd34f5749a98e6f48c90e
Fix bug in test where key value was not being set.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/MusicStore.Test/GenreMenuComponentTest.cs
test/MusicStore.Test/GenreMenuComponentTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc.ViewComponents; using Microsoft.Data.Entity; using Microsoft.Extensions.DependencyInjection; using MusicStore.Models; using Xunit; namespace MusicStore.Components { public class GenreMenuComp...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc.ViewComponents; using Microsoft.Data.Entity; using Microsoft.Extensions.DependencyInjection; using MusicStore.Models; using Xunit; namespace MusicStore.Components { public class GenreMenuComp...
apache-2.0
C#
536ad8ee256c50cf7ec44c941c1e55504b58905b
Fix DebuggerExtensions (#84)
nanoframework/nf-debugger,Eclo/nf-debugger
source/nanoFramework.Tools.DebugLibrary.Shared/Extensions/DebuggerExtensions.cs
source/nanoFramework.Tools.DebugLibrary.Shared/Extensions/DebuggerExtensions.cs
// // Copyright (c) 2017 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // using System.Threading.Tasks; namespace nanoFramework.Tools.Debugger.Extensions { public static class DebuggerExtensions { /// <summary> /// Check if device...
// // Copyright (c) 2017 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // using System.Threading.Tasks; namespace nanoFramework.Tools.Debugger.Extensions { public static class DebuggerExtensions { /// <summary> /// Check if device...
mit
C#
d4759c3d1f2aeb8686cc02014a3a4f9e4c701b31
Remove comments
Cimpress-MCP/serilog-sinks-awscloudwatch
src/Serilog.Sinks.AwsCloudWatch/LogStreamNameProvider/ILogStreamNameProvider.cs
src/Serilog.Sinks.AwsCloudWatch/LogStreamNameProvider/ILogStreamNameProvider.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Serilog.Sinks.AwsCloudWatch { public interface ILogStreamNameProvider { /// <summary> /// Gets the log stream name. /// </summary> /// <returns></return...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Serilog.Sinks.AwsCloudWatch { /// <summary> /// /// </summary> public interface ILogStreamNameProvider { /// <summary> /// Gets the log stream name. ...
apache-2.0
C#
b76c0cd5bd014362e1578ba652f3c3737467f117
Work on keyword completion.
rsdn/nitra,rsdn/nitra,JetBrains/Nitra,JetBrains/Nitra
Nitra.Visualizer/LiteralCompletionData.cs
Nitra.Visualizer/LiteralCompletionData.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSharpCode.AvalonEdit.CodeCompletion; using ICSharpCode.AvalonEdit.Document; using ICSharpCode.AvalonEdit.Editing; namespace Nitra.Visualizer { class LiteralCompletionData : ICompletionData { public NSpan ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSharpCode.AvalonEdit.CodeCompletion; using ICSharpCode.AvalonEdit.Document; using ICSharpCode.AvalonEdit.Editing; namespace Nitra.Visualizer { class LiteralCompletionData : ICompletionData { public NSpan ...
apache-2.0
C#
a8ada2f5d9463afea789b567fd6b2b3862903824
Make RecordTokenToStringAdapter.ToString return empty string instead of Null.
mccarthyrb/libpalaso,chrisvire/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,marksvc/libpalaso,sillsdev/libpalaso,mccarthyrb/libpalaso,mccarthyrb/libpalaso,tombogle/libpalaso,hatton/libpalaso,gmartin7/libpalaso,marksvc/libpalaso,JohnThomson/libpalaso,hatton/libpalaso,andrew-polk/libpalaso,darcywong00/libpalaso,Joh...
Palaso/Data/RecordTokenToStringAdapter.cs
Palaso/Data/RecordTokenToStringAdapter.cs
namespace Palaso.Data { public class RecordTokenToStringAdapter<T> where T:class, new() { private RecordToken<T> _recordToken = null; private string _fieldToShow = null; public RecordTokenToStringAdapter(string fieldToShow, RecordToken<T> recordToken) { _recordToken = recordToken; _fieldToShow = fiel...
namespace Palaso.Data { public class RecordTokenToStringAdapter<T> where T:class, new() { private RecordToken<T> _recordToken = null; private string _fieldToShow = null; public RecordTokenToStringAdapter(string fieldToShow, RecordToken<T> recordToken) { _recordToken = recordToken; _fieldToShow = fiel...
mit
C#
1b92322fabbe17ac2a824039009a1a5c304e19eb
Fix regression & enable ClearInitLocals in System.Text.RegularExpressions (#27146)
gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert
src/System.Private.CoreLib/shared/System/Collections/Generic/ValueListBuilder.cs
src/System.Private.CoreLib/shared/System/Collections/Generic/ValueListBuilder.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.Buffers; using System.Diagnostics; using System.Runtime.CompilerServices; namespace System.Collection...
// 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.Buffers; using System.Diagnostics; using System.Runtime.CompilerServices; namespace System.Collection...
mit
C#
1873bf244f5159294769a83cf66a98003f0ce841
Rewrite and make it public for use in server.
AIWolfSharp/AIWolf_NET
AIWolfLib/DataConverter.cs
AIWolfLib/DataConverter.cs
// // DataConverter.cs // // Copyright (c) 2016 Takashi OTSUKI // // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; using System; using System.Linq; using System.Collect...
// // DataConverter.cs // // Copyright (c) 2016 Takashi OTSUKI // // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; using System.Linq; namespace AIWolf.Lib { /// <s...
mit
C#
54968bb2bc856925371547a908a2e77c2b001a36
remove whitespace
thyn/haproxy-api
HaProxyApi.Client/Parsers/ShowErrorParser.cs
HaProxyApi.Client/Parsers/ShowErrorParser.cs
using System; using System.Globalization; using System.Text.RegularExpressions; using HAProxyApi.Client.Models; namespace HAProxyApi.Client.Parsers { public class ShowErrorParser { public IShowErrorResponse Parse(string rawShowErrorResult) { var result = new ShowErrorResponse() { Raw = rawShowErrorResu...
using System; using System.Globalization; using System.Text.RegularExpressions; using HAProxyApi.Client.Models; namespace HAProxyApi.Client.Parsers { public class ShowErrorParser { public IShowErrorResponse Parse(string rawShowErrorResult) { var result = new ShowErrorResponse() { Raw = rawShowErrorResu...
mit
C#
daa3803956ce5eb5de911845da274f6f841fcdb9
Add assert
DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,Madhukarc/azure-sdk-tools,DinoV/azure-sdk-tools,Madhukarc/azure-sdk-tools,akromm/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,markcowl/azure-sdk-tools,akromm/azure-sdk-tools,DinoV/azure-sdk-tools,Madhukarc/azu...
WindowsAzurePowershell/src/Management.Test/CloudService/Utilities/GeneralTests.cs
WindowsAzurePowershell/src/Management.Test/CloudService/Utilities/GeneralTests.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
c40dd91e966fb3c7f372d4e263ac7ae4bff0fd40
Fix bug with range.
tiagomartines11/ggj17
Assets/Scripts/Launcher.cs
Assets/Scripts/Launcher.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Launcher : MonoBehaviour { public int[] projectileAngles; public float aimDistance = 3; float activeAngle = 0.0f; private PointBehaviour point; public float angularSpeed = 2.0f; GameObject aimContainer; // Use this f...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Launcher : MonoBehaviour { public int[] projectileAngles; public float aimDistance = 3; float activeAngle = 0.0f; private PointBehaviour point; public float angularSpeed = 2.0f; GameObject aimContainer; // Use this f...
apache-2.0
C#
170575d4e285c64d8ce04d660c42c397889bba82
バージョン番号を更新、年号を更新、不要な参照を削除。
t-miyake/OutlookOkan
SetupCustomAction/Properties/AssemblyInfo.cs
SetupCustomAction/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("SetupCustomAction")] [assembly: AssemblyDe...
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("Set...
apache-2.0
C#
30870882fdccb4837ebf903647aab8abd05d524e
Set ContentLength in ConnectResponse explicitly to properly handle HTTP 1.0
titanium007/Titanium-Web-Proxy,justcoding121/Titanium-Web-Proxy,titanium007/Titanium
Titanium.Web.Proxy/Http/ConnectResponse.cs
Titanium.Web.Proxy/Http/ConnectResponse.cs
using StreamExtended; using System; using System.Net; namespace Titanium.Web.Proxy.Http { public class ConnectResponse : Response { public ServerHelloInfo ServerHelloInfo { get; set; } /// <summary> /// Creates a successfull CONNECT response /// </summary> /// <param n...
using StreamExtended; using System; using System.Net; namespace Titanium.Web.Proxy.Http { public class ConnectResponse : Response { public ServerHelloInfo ServerHelloInfo { get; set; } /// <summary> /// Creates a successfull CONNECT response /// </summary> /// <param n...
mit
C#
e10fc48a6568482e41c0c3c7dcffd0ede5cc93c7
Remove some trash
vostok/core
Vostok.Core/Metrics/MetricConfiguration.cs
Vostok.Core/Metrics/MetricConfiguration.cs
using System; using System.Collections.Generic; using Vostok.Commons.Collections; namespace Vostok.Metrics { public class MetricConfiguration : IMetricConfiguration { public IMetricEventReporter Reporter { get; set; } public ISet<string> ContextFieldsWhitelist { get; } = new ConcurrentSet<stri...
using System; using System.Collections.Generic; using Vostok.Commons.Collections; namespace Vostok.Metrics { public class MetricConfiguration : IMetricConfiguration { public IMetricEventReporter Reporter { get; set; } public string Environment { get; set; } public ISet<string> ContextF...
mit
C#
2250ac23063cb2f644818ca8a307482d3dde8f84
update version num
KevinWG/OS.Social,KevinWG/OSS.Social
WX/OS.Social.WX/Properties/AssemblyInfo.cs
WX/OS.Social.WX/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("OS.Social.WX")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyP...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("OS.Social.WX")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyP...
apache-2.0
C#
8eaf8dd0337c60f0f4caac337ea051bfafe227df
Add `OptionExtensions.Invoke`
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/OptionExtensions.cs
SolidworksAddinFramework/OptionExtensions.cs
using System; using System.Collections.Generic; using System.Collections.Immutable; using LanguageExt; using static LanguageExt.Prelude; namespace SolidworksAddinFramework { public static class OptionExtensions { /// <summary> /// Get the value from an option. If it is none /// then ...
using System; using System.Collections.Generic; using System.Collections.Immutable; using LanguageExt; using static LanguageExt.Prelude; namespace SolidworksAddinFramework { public static class OptionExtensions { /// <summary> /// Get the value from an option. If it is none /// then ...
mit
C#
7f6e6f5a08d2d9d8287c5594b1f9e9956b6f1d24
Use type filtering when searching matching content for BestBets
SergVro/FindExportImport,SergVro/FindExportImport,SergVro/FindExportImport
Vro.FindExportImport/Stores/SearchService.cs
Vro.FindExportImport/Stores/SearchService.cs
using System; using System.Linq; using EPiServer; using EPiServer.Core; using EPiServer.Find; using EPiServer.Find.Framework; using EPiServer.ServiceLocation; using Vro.FindExportImport.Models; namespace Vro.FindExportImport.Stores { public interface ISearchService { ContentReference FindMatchingConten...
using System.Linq; using EPiServer.Core; using EPiServer.Find; using EPiServer.Find.Framework; using EPiServer.ServiceLocation; using Vro.FindExportImport.Models; namespace Vro.FindExportImport.Stores { public interface ISearchService { ContentReference FindMatchingContent(BestBetEntity bestBetEntity);...
mit
C#
2add8f2eed378f9b137e420228b1d5762bcaabb0
Add class attribute.
dougludlow/umbraco-navbuilder,dougludlow/umbraco-navbuilder
src/Cob.Umb.NavBuilder/NavNodeTraverser.cs
src/Cob.Umb.NavBuilder/NavNodeTraverser.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; namespace Cob.Umb.NavBuilder { class NavNodeTraverser { private NavNode root; public NavNodeTraverser(NavNode root) { this.root = root; } public string ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; namespace Cob.Umb.NavBuilder { class NavNodeTraverser { private NavNode root; public NavNodeTraverser(NavNode root) { this.root = root; } public string ...
mit
C#
8071ed8bc03b6619dafc1c35f68e8e74e49d6916
update version to 1.5.1.0
todor-dk/HTML-Renderer,windygu/HTML-Renderer,tinygg/graphic-HTML-Renderer,windygu/HTML-Renderer,slagou/HTML-Renderer,drickert5/HTML-Renderer,ArthurHub/HTML-Renderer,evitself/HTML-Renderer,todor-dk/HTML-Renderer,evitself/HTML-Renderer,tinygg/graphic-HTML-Renderer,Perspex/HTML-Renderer,drickert5/HTML-Renderer,verdesgrobe...
Source/SharedAssemblyInfo.cs
Source/SharedAssemblyInfo.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("HTML Renderer")] [assembly: AssemblyDesc...
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("HTML Renderer")] [assembly: AssemblyDesc...
bsd-3-clause
C#
e2bac7171a282de238c699093986a35ea1e3c5f2
Add null check to RefSpec
GitTools/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,asbjornu/GitVersion,gep13/GitVersion,gep13/GitVersion
src/GitVersion.LibGit2Sharp/Git/RefSpec.cs
src/GitVersion.LibGit2Sharp/Git/RefSpec.cs
using GitVersion.Extensions; using GitVersion.Helpers; namespace GitVersion; public class RefSpec : IRefSpec { private static readonly LambdaEqualityHelper<IRefSpec> equalityHelper = new(x => x.Specification); private static readonly LambdaKeyComparer<IRefSpec, string> comparerHelper = new(x => x.Specificatio...
using GitVersion.Helpers; namespace GitVersion; public class RefSpec : IRefSpec { private static readonly LambdaEqualityHelper<IRefSpec> equalityHelper = new(x => x.Specification); private static readonly LambdaKeyComparer<IRefSpec, string> comparerHelper = new(x => x.Specification); private readonly Lib...
mit
C#
62df0ec7d4c50b58a1bbcfdb2004a2bec10584de
Handle external files with File instead
naoey/osu,smoogipoo/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,naoey/osu,ZLima12/osu,ZLima12/osu,pepp...
osu.Game/Rulesets/Scoring/ScoreStore.cs
osu.Game/Rulesets/Scoring/ScoreStore.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.IO; using osu.Framework.Logging; using osu.Framework.Platform; using osu.Game.Beatmaps; using osu.Game.Database; using osu.Game.IPC; using os...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.IO; using osu.Framework.Platform; using osu.Game.Beatmaps; using osu.Game.Database; using osu.Game.IPC; using osu.Game.Rulesets.Scoring.Legac...
mit
C#
d9e222f0a94e0606f12696fd9053c48130c2b1a9
Fix MamlSyntax
PowerShell/platyPS,PowerShell/platyPS,PowerShell/platyPS
src/Markdown.MAML/Model/MAML/MamlSyntax.cs
src/Markdown.MAML/Model/MAML/MamlSyntax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Markdown.MAML.Model.MAML { public class MamlSyntax { public List<MamlParameter> Parameters { get { return _parameters; } } private List<MamlParameter> _parameters = ne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Markdown.MAML.Model.MAML { public class MamlSyntax { public string Name { get; set; } public MamlParameter parameter { get; set; } } }
mit
C#
6ab20e3f9274dca6e3c2172a36e1249d50a8e0f1
rework toolbar activation
Kerbas-ad-astra/KSP_Contract_Window,DMagic1/KSP_Contract_Window
contractToolbar.cs
contractToolbar.cs
#region license /*The MIT License (MIT) Contract Toolbar- Addon for toolbar interface Copyright (c) 2014 DMagic KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework Permission is hereby granted, free of charge, to any person obtaining a copy of this softwar...
#region license /*The MIT License (MIT) Contract Toolbar- Addon for toolbar interface Copyright (c) 2014 DMagic KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework Permission is hereby granted, free of charge, to any person obtaining a copy of this softwar...
mit
C#
66616f510d601a91707f28d3501f967fb09899f7
Support new Navigation Service
Mark-RSK/FreshMvvm,bbqchickenrobot/FreshMvvm,asednev/FreshMvvm,keannan5390/FreshMvvm,rid00z/FreshMvvm
samples/FreshMvvmSampleApp/FreshMvvmSampleApp/Navigation/CustomImplementedNav.cs
samples/FreshMvvmSampleApp/FreshMvvmSampleApp/Navigation/CustomImplementedNav.cs
using System; using FreshMvvm; using Xamarin.Forms; using System.Collections.Generic; using System.Threading.Tasks; namespace FreshMvvmSampleApp { /// <summary> /// This is a sample custom implemented Navigation. It combines a MasterDetail and a TabbedPage. /// </summary> public class CustomImplementedNav : Xa...
using System; using FreshMvvm; using Xamarin.Forms; using System.Collections.Generic; using System.Threading.Tasks; namespace FreshMvvmSampleApp { /// <summary> /// This is a sample custom implemented Navigation. It combines a MasterDetail and a TabbedPage. /// </summary> public class CustomImplementedNav : Xamar...
apache-2.0
C#
63b8d232f2580d535259ff91e6023fa567276497
Update FileAccessLevel.cs
A51UK/File-Repository
File-Repository/Enum/FileAccessLevel.cs
File-Repository/Enum/FileAccessLevel.cs
/* * Copyright 2017 Craig Lee Mark Adams 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 2017 Criag Lee Mark Adams 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#
2ee3e97e59ecc55a7fece47234462651f96b0e82
Add ignore_empty_value to set processor (#4915)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Ingest/Processors/SetProcessor.cs
src/Nest/Ingest/Processors/SetProcessor.cs
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Linq.Expressions; using System.Runtime.Serialization; using Elasticsearch.Net.Utf8Json...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Linq.Expressions; using System.Runtime.Serialization; using Elasticsearch.Net.Utf8Json...
apache-2.0
C#