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
74c849cf0d8afb5ef4b49033abac03eab2a88973
Bump version to 0.9.7
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.9.7")] [assembly: AssemblyInformationalVersionAttribute("0.9.7")] [assembly: AssemblyFileVersionAttribute("0.9.7")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.9.6")] [assembly: AssemblyInformationalVersionAttribute("0.9.6")] [assembly: AssemblyFileVersionAttribute("0.9.6")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
apache-2.0
C#
29fed22853ea70c38f50f629db03ffc9e52c935c
add IDisposal class
keke78ui9/Mongo.Net,keke78ui9/CSharpMongo
CSharpMongo/Mongo.cs
CSharpMongo/Mongo.cs
using MongoDB.Driver; using System; using System.Configuration; namespace CSharpMongo { public class Mongo : IMongo, IDisposable { public Mongo(string connectionName) { var config = ConfigurationManager.ConnectionStrings[connectionName]; if (config == null) ...
using MongoDB.Driver; using System; using System.Configuration; namespace CSharpMongo { public class Mongo : IMongo { public Mongo(string connectionName) { var config = ConfigurationManager.ConnectionStrings[connectionName]; if (config == null) { ...
mit
C#
4e7c7b26305db6fa0d9263f593791b43512396cc
add docs to Publisher settings
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Publisher/PublisherSettings.cs
TCC.Publisher/PublisherSettings.cs
using System.Collections.Generic; namespace TCC.Publisher { public class PublisherSettings { /// <summary> /// Name of the repository (eg. Tera-custom-cooldowns) /// </summary> public string RepositoryName { get; set; } /// <summary> /// Username of repository o...
using System.Collections.Generic; namespace TCC.Publisher { public class PublisherSettings { public string RepositoryName { get; set; } public string RepositoryOwner { get; set; } public string SevenZipLibPath { get; set; } public string LocalRepositoryPath { get; set; } ...
mit
C#
5f5fec0b35b6685b24c6380d8e398cb8a495007f
Increase precision of 'g', as requested.
cmdrmcdonald/EliteDangerousDataProvider
DataDefinitions/Body.cs
DataDefinitions/Body.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EddiDataDefinitions { /// <summary> /// A star or planet /// </summary> public class Body { /// <summary>The ID of this body in EDDB</summary> public long E...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EddiDataDefinitions { /// <summary> /// A star or planet /// </summary> public class Body { /// <summary>The ID of this body in EDDB</summary> public long E...
apache-2.0
C#
7c117369923e39ef48b74af2bfc83e0b6acacaf3
Enable nullable reference checking in UserService
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Services/UserService.cs
BTCPayServer/Services/UserService.cs
#nullable enable using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using BTCPayServer.Data; using BTCPayServer.Storage.Services; using BTCPayServer.Services.Stores; namespace BTCPayServer.Servi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using BTCPayServer.Data; using BTCPayServer.Storage.Services; using BTCPayServer.Services.Stores; namespace BTCPayServer.Services { public ...
mit
C#
72fc4d3d0ac705ec56951e41f5fb709d4b347af7
Update Step 3 - Remove integration test category.
dubmun/DependencyKata
DependencyKata.Tests/DoItAllTests.cs
DependencyKata.Tests/DoItAllTests.cs
using NSubstitute; using NUnit.Framework; namespace DependencyKata.Tests { [TestFixture] public class DoItAllTests { [Test, Category("Integration")] public void DoItAll_Does_ItAll() { var expected = "The passwords don't match"; var io = Substitute.For<IOutpu...
using NSubstitute; using NUnit.Framework; namespace DependencyKata.Tests { [TestFixture] public class DoItAllTests { [Test, Category("Integration")] public void DoItAll_Does_ItAll() { var expected = "The passwords don't match"; var io = Substitute.For<IOutpu...
mit
C#
1088d273797dc8dadd38ab5fb58bb14dc8ff8d96
Add ability to send array of channels to PartMessage
Fredi/NetIRC
src/NetIRC/Messages/PartMessage.cs
src/NetIRC/Messages/PartMessage.cs
using System.Collections.Generic; namespace NetIRC.Messages { public class PartMessage : IRCMessage, IServerMessage, IClientMessage { private readonly string channels; public string Nick { get; } public string Channel { get; } public PartMessage(ParsedIRCMessage parsedMessage...
using System.Collections.Generic; namespace NetIRC.Messages { public class PartMessage : IRCMessage, IServerMessage, IClientMessage { private string channels; public string Nick { get; } public string Channel { get; } public PartMessage(ParsedIRCMessage parsedMessage) ...
mit
C#
b9b164116493444b2bcbe673799038579dee084d
Extend TriggerHelp for querying help
IvionSauce/MeidoBot
MeidoBot/Plugins/PluginExtensions.cs
MeidoBot/Plugins/PluginExtensions.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using MeidoCommon; namespace MeidoBot { public static class PluginExtensions { public static string Name(this IMeidoHook plugin) { string name = plugin.Name.Trim(); switch (name) ...
using System.Collections.Generic; using MeidoCommon; namespace MeidoBot { public static class PluginExtensions { public static string Name(this IMeidoHook plugin) { string name = plugin.Name.Trim(); switch (name) { case "": c...
bsd-2-clause
C#
9f3420ce207cc5c926798a0cd108ebc9ed4aba51
update server samples
IntelliTect/CoAP.NET,martindevans/CoAP.NET,smeshlink/CoAP.NET
CoAP.Server/Resources/TimeResource.cs
CoAP.Server/Resources/TimeResource.cs
using System; using System.Collections.Generic; using System.Text; using CoAP.EndPoint; using System.Threading; namespace CoAP.Examples.Resources { class TimeResource : LocalResource { private Timer _timer; private DateTime _now; public TimeResource() : base("time") ...
using System; using System.Collections.Generic; using System.Text; using CoAP.EndPoint; using System.Threading; namespace CoAP.Examples.Resources { class TimeResource : LocalResource { private Timer _timer; private DateTime _now; public TimeResource() : base("time") ...
bsd-3-clause
C#
fa2a00b28c4ad7309bfc36454926cb683bf51aca
Fix AppDomain creation causing cctor executing twice.
Desolath/ConfuserEx3,yeaicc/ConfuserEx,engdata/ConfuserEx,Desolath/Confuserex
Confuser.Runtime/AntiTamper.Normal.cs
Confuser.Runtime/AntiTamper.Normal.cs
using System; using System.Reflection; using System.Runtime.InteropServices; namespace Confuser.Runtime { internal static class AntiTamperNormal { [DllImport("kernel32.dll")] static extern bool VirtualProtect(IntPtr lpAddress, uint dwSize, uint flNewProtect, out uint lpflOldProtect); static unsafe void Initia...
using System; using System.Reflection; using System.Runtime.InteropServices; namespace Confuser.Runtime { internal static class AntiTamperNormal { [DllImport("kernel32.dll")] static extern bool VirtualProtect(IntPtr lpAddress, uint dwSize, uint flNewProtect, out uint lpflOldProtect); static unsafe void Initia...
mit
C#
22d5728049e310fb2c42fd0ec4cc7a887b71a3bc
comment for previous commit #433
samwa/loconomics,loconomics/loconomics,samwa/loconomics,loconomics/loconomics,samwa/loconomics,samwa/loconomics,loconomics/loconomics,loconomics/loconomics
web/api/v1/me/user-job-profile.cshtml
web/api/v1/me/user-job-profile.cshtml
@using WebMatrix.WebData; @* Get the list and details of job titles attached to the logged user (a service professional) and any alerts for those job titles. The collection of job titles is called the "User Job Profile". It allows to edit the data of each one, and special actions on each like deactive/reac...
@using WebMatrix.WebData; @* Get the list and details of job titles attached to the logged user (a service professional). The collection of job titles is called the "User Job Profile". It allows to edit the data of each one, and special actions on each like deactive/reactive. We allow client-only users...
mpl-2.0
C#
e2de5d1fde687c5ecff250b4ccd0dfde8853b5e1
use the send irc message where applicable
SexyFishHorse/IrcClient4Net
IrcClient4Net/TwitchIrcClient.cs
IrcClient4Net/TwitchIrcClient.cs
namespace SexyFishHorse.Irc.Client { using System.IO; using System.Net.Sockets; using SexyFishHorse.Irc.Client.Configuration; public class TwitchIrcClient : ITwitchIrcClient { private readonly IConfiguration configuration; private TcpClient client; private StreamReader in...
namespace SexyFishHorse.Irc.Client { using System.IO; using System.Net.Sockets; using SexyFishHorse.Irc.Client.Configuration; public class TwitchIrcClient : ITwitchIrcClient { private readonly IConfiguration configuration; private TcpClient client; private StreamReader in...
mit
C#
ba974268d8bfdebcd7ea0f3b1125728104bf864a
Add user32 function in winutilities
CindyB/sloth
Sloth/Sloth/Core/WinUtilities.cs
Sloth/Sloth/Core/WinUtilities.cs
using Sloth.Interfaces.Core; using System; using System.Runtime.InteropServices; using System.Text; namespace Sloth.Core { public class WinUtilities : IWinUtilities { public IntPtr FindControlHandle(IntPtr windowsHandle, string controlName) { throw new NotImplementedException(); ...
using Sloth.Interfaces.Core; using System; namespace Sloth.Core { public class WinUtilities : IWinUtilities { public IntPtr FindControlHandle(IntPtr windowsHandle, string controlName) { throw new NotImplementedException(); } public IntPtr FindWindowsHandle(string c...
mit
C#
32adab462e96748a1048b1d7fafe9619072b7cd6
Remove unused using statements
whampson/cascara,whampson/bft-spec
Src/WHampson.Bft/TemplateFile.cs
Src/WHampson.Bft/TemplateFile.cs
#region License /* Copyright (c) 2017 Wes Hampson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
#region License /* Copyright (c) 2017 Wes Hampson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify,...
mit
C#
33c3efd06434da41b7be214331ff9010434970a2
Change pen color.
eylvisaker/AgateLib
Tools/FontCreator/frmViewFont.cs
Tools/FontCreator/frmViewFont.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Xml; using ERY.AgateLib.BitmapFont; using ERY.AgateLib.WinForms; namespace FontCreator { public partial class frmViewFont : ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Xml; using ERY.AgateLib.BitmapFont; using ERY.AgateLib.WinForms; namespace FontCreator { public partial class frmViewFont : ...
mit
C#
dc5cfa810a23b9ed6a4f242e89b9763942df202a
Add wrapper function for PathCanonicalize.
mcneel/RhinoCycles
Core/RcCore.cs
Core/RcCore.cs
/** Copyright 2014-2017 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
/** Copyright 2014-2017 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
apache-2.0
C#
1f1a15b5614fc2c239f5fc9793824975f740bdda
Update for cli start command on Ubuntu
WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework
Framework.Cli/Command/CommandStart.cs
Framework.Cli/Command/CommandStart.cs
namespace Framework.Cli.Command { using System.Runtime.InteropServices; /// <summary> /// Cli start command. /// </summary> public class CommandStart : CommandBase { public CommandStart(AppCli appCli) : base(appCli, "start", "Start server and open browser") { ...
namespace Framework.Cli.Command { /// <summary> /// Cli start command. /// </summary> public class CommandStart : CommandBase { public CommandStart(AppCli appCli) : base(appCli, "start", "Start server and open browser") { } protected internal override v...
mit
C#
48f49d5105f4bdeeca7f9c55120812c49b6e637b
Fix ci error
gmich/Gem
Gem.Infrastructure/DisposableEntry.cs
Gem.Infrastructure/DisposableEntry.cs
using System; using System.Collections.Generic; namespace Gem.Infrastructure { /// <summary> /// Helper class for disposable collection entries. /// Disposing removes the entry from the list /// <remarks>Not thread safe</remarks> /// </summary> /// <typeparam name="TEntry">The IList's generic ...
using System; using System.Collections.Generic; namespace Gem.Infrastructure { /// <summary> /// Helper class for disposable collection entries. /// Disposing removes the entry from the list /// <remarks>Not thread safe</remarks> /// </summary> /// <typeparam name="TEntry">The IList's generic ...
mit
C#
57cc1642d45f39c10af0de17b8ee87c175866c23
Add comments to PersonDto.
harrison314/MapperPerformace
MapperPerformace/Testing/PersonDto.cs
MapperPerformace/Testing/PersonDto.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MapperPerformace.Testing { /// <summary> /// Dto reprints <see cref="MapperPerformace.Ef.Person"/> /// </summary> public class PersonDto { public int BusinessEntityI...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MapperPerformace.Testing { public class PersonDto { public int BusinessEntityID { get; set; } public string PersonType ...
mit
C#
fb435c8ef4f92af1f895b94412d4699a24d56483
fix on small screens total score doesn't line up right
CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper
Upchurch.Ingress/Views/Home/OverallScore.cshtml
Upchurch.Ingress/Views/Home/OverallScore.cshtml
<div class="jumbotron"> <div class="row"> <div class="col-md-4"> Resistance <br /> {{overallScore.ResistanceScore | number}} </div> <div class="col-md-8"> Enlightened <br /> {{overallScore.EnlightenedScore |...
<div class="jumbotron"> <div class="row"> <div class="col-md-4"> Resistance </div> <div class="col-md-8"> Enlightened </div> <div class="col-md-4"> {{overallScore.ResistanceScore | number}} </div> <div class="c...
mit
C#
b33f0cec88f8bbe70dfaf4c466dfb70824f83af6
fix nuget versioning
FantasticFiasco/mvvm-dialogs
build.cake
build.cake
#load "build/utils.cake" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); ///////////////////////////////////...
#load "build/utils.cake" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); ///////////////////////////////////...
apache-2.0
C#
d595860d7acea34d5cb7584f3a3f53edbf7108cf
Clean up build script
robertcoltheart/Deploy
build.cake
build.cake
#tool "nuget:?package=GitVersion.CommandLine&version=3.6.1" #tool "nuget:?package=NUnit.ConsoleRunner&version=3.4.1" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var...
#addin "nuget:?package=Cake.DocFx&version=0.1.6" #addin "nuget:?package=Cake.ReSharperReports&version=0.3.1" #tool "nuget:?package=GitVersion.CommandLine&version=3.6.1" #tool "nuget:?package=NUnit.ConsoleRunner&version=3.4.1" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////...
mit
C#
1c3220765369ab9ae9c9ed4aedcd61388aa7ab9f
Add basic subjects tab
victoria92/university-program-generator,victoria92/university-program-generator
UniProgramGen/Data/Subject.cs
UniProgramGen/Data/Subject.cs
using System.Collections.Generic; namespace UniProgramGen.Data { public class Subject { public List<RoomType> roomTypes { get; internal set; } public List<Teacher> teachers { get; internal set; } public string name { get; internal set; } public uint duration { get; internal set...
using System.Collections.Generic; namespace UniProgramGen.Data { public class Subject { public List<RoomType> roomTypes { get; internal set; } public List<Teacher> teachers { get; internal set; } public string name { get; internal set; } public uint duration { get; internal set...
bsd-2-clause
C#
8f209336e72c196da18a6b568884cd69f7a13a26
Fix AudioFormat.GetBytesPerSample
ermau/Gablarski,ermau/Gablarski
src/Gablarski/Audio/AudioExtensions.cs
src/Gablarski/Audio/AudioExtensions.cs
// Copyright (c) 2011, Eric Maupin // All rights reserved. // // Redistribution and use in source and binary forms, with // or without modification, are permitted provided that // the following conditions are met: // // - Redistributions of source code must retain the above // copyright notice, this list of...
// Copyright (c) 2011, Eric Maupin // All rights reserved. // // Redistribution and use in source and binary forms, with // or without modification, are permitted provided that // the following conditions are met: // // - Redistributions of source code must retain the above // copyright notice, this list of...
bsd-3-clause
C#
239d6433a13ffa5a92907a307ef979072be9d60e
Update CopyHelper.cs
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
src/GitHub.Api/Installer/CopyHelper.cs
src/GitHub.Api/Installer/CopyHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using GitHub.Logging; namespace GitHub.Unity { public static class CopyHelper { private static readonly ILogging Logger = LogHelper.GetLogger(typeof(CopyHelper)); public static void Copy(NPath fromPath, NPat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using GitHub.Logging; namespace GitHub.Unity { public static class CopyHelper { private static readonly ILogging Logger = LogHelper.GetLogger(typeof(CopyHelper)); public static void Copy(NPath fromPath, NPat...
mit
C#
b46c5d5e15bdc6e4babd5194e0a1723d3e9cfc46
Correct the docs on ISession.IsAvailable #27733 (#36301)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Http/Http.Features/src/ISession.cs
src/Http/Http.Features/src/ISession.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Http { /// <summary...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Http { /// <summary...
apache-2.0
C#
b2a659d20fcd5e2c2befce488ab0137e26166ce4
Update the AntShellDemo to the new API.
antmicro/AntShell
AntShellDemo/AntCalc.cs
AntShellDemo/AntCalc.cs
/* Copyright (c) 2013 Ant Micro <www.antmicro.com> Authors: * Mateusz Holenko (mholenko@antmicro.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limita...
/* Copyright (c) 2013 Ant Micro <www.antmicro.com> Authors: * Mateusz Holenko (mholenko@antmicro.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limita...
apache-2.0
C#
e63393c1996c40ad7c9bd420d061963ef5596d88
Create project and editor explicitly
Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
Core2D.Sample/Program.cs
Core2D.Sample/Program.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dependencies; namespace Core2D.Sample { ...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dependencies; namespace Core2D.Sample { ...
mit
C#
15128f71aae67374c34a8a0b6ca247b1873924fd
Update Program.cs
SteveAndrews/EmptyFolderDeleter
EmptyFolderDeleter/Program.cs
EmptyFolderDeleter/Program.cs
using System; using System.IO; using System.Linq; namespace EmptyFolderDeleter { public class Program { private static string rootPath = @"C:\ReplaceWithDirectoryPath\"; public static void Main(string[] args) { RecurseDirectory(rootPath); Console.WriteLine(); ...
using System; using System.IO; using System.Linq; namespace EmptyFolderDeleter { public class Program { private static string rootPath = @"C:\Users\stevanich\"; public static void Main(string[] args) { RecurseDirectory(rootPath); Console.WriteLine(); ...
mit
C#
4d3baafe06f345cf97cd98c4b1bbd496af1c1cc2
Remove unneeded member variable
TheEadie/LazyLibrary,TheEadie/LazyStorage,TheEadie/LazyStorage
LazyStorage/StorageFactory.cs
LazyStorage/StorageFactory.cs
using LazyStorage.InMemory; using LazyStorage.Xml; namespace LazyStorage { public class StorageFactory { public IStorage GetInMemoryStorage() { return new InMemoryStorage(); } public IStorage GetXmlStorage(string storageFolder) { return new XmlS...
using LazyStorage.InMemory; using LazyStorage.Xml; namespace LazyStorage { public class StorageFactory { private IStorage m_Store; public IStorage GetInMemoryStorage() { return m_Store = new InMemoryStorage(); } public IStorage GetXmlStorage(string storage...
mit
C#
4ee162fbc0292ef70bdb5bcfd78f048e89c28c60
Update Test
arduosoft/wlog,arduosoft/wlog
Wlog.Test/Tests/Repository.cs
Wlog.Test/Tests/Repository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Wlog.Library.BLL.Reporitories; using Xunit; namespace Wlog.Test.Tests { public class Repository { [Fact] public void InitRepo() { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Wlog.Library.BLL.Reporitories; using Xunit; namespace Wlog.Test.Tests { public class Repository { [Fact] public void InitRepo() { RepositoryContext.Curre...
lgpl-2.1
C#
e8537d34af2037c6a6381f44c1a8b7d8025556a1
Change messages attribute to type "object"
goshippo/shippo-csharp-client
Shippo/BatchShipment.cs
Shippo/BatchShipment.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class BatchShipment : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus; [JsonProperty (PropertyName = "car...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class BatchShipment : ShippoId { [JsonProperty (PropertyName = "object_status")] public string ObjectStatus; [JsonProperty (PropertyName = "car...
apache-2.0
C#
f18816a2040d17225f61f8f1da5cb530eb51313e
Use new expressions
steamcore/TinyIpc
test/TinyIpc.Benchmarks/Benchmark.cs
test/TinyIpc.Benchmarks/Benchmark.cs
using System.Text; using BenchmarkDotNet.Attributes; using TinyIpc.IO; using TinyIpc.Messaging; namespace TinyIpc.Benchmarks; [MemoryDiagnoser] public class Benchmark : IDisposable { private readonly byte[] message = Encoding.UTF8.GetBytes("Lorem ipsum dolor sit amet."); private readonly TinyMessageBus messagebusWi...
using System.Text; using BenchmarkDotNet.Attributes; using TinyIpc.IO; using TinyIpc.Messaging; namespace TinyIpc.Benchmarks; [MemoryDiagnoser] public class Benchmark : IDisposable { private readonly byte[] message = Encoding.UTF8.GetBytes("Lorem ipsum dolor sit amet."); private readonly TinyMessageBus messagebusWi...
mit
C#
077be5a5603d058ba582e9ae8a6d5e5e2a366d32
remove summary for atom feed
bapt/cplanet
samples/cplanet-atom.cs
samples/cplanet-atom.cs
<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text"><?cs var:CPlanet.Name ?></title> <subtitle type="text"><?cs var:CPlanet.Description ?></subtitle> <id><?cs var:CPlanet.URL ?>/</id> <link rel="self" type="text/xml" href="<?cs var:CPlanet.URL ?>/cplanet.atom" /> <l...
<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text"><?cs var:CPlanet.Name ?></title> <subtitle type="text"><?cs var:CPlanet.Description ?></subtitle> <id><?cs var:CPlanet.URL ?>/</id> <link rel="self" type="text/xml" href="<?cs var:CPlanet.URL ?>/cplanet.atom" /> <l...
bsd-2-clause
C#
a92252bee3a99d77832b173396ef8cf297fdc3f6
optimize red
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Converters/MoneyBrushConverter.cs
WalletWasabi.Gui/Converters/MoneyBrushConverter.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using Avalonia.Data.Converters; using Avalonia.Media; using AvalonStudio.Extensibility.Theme; using NBitcoin; using WalletWasabi.Models; namespace WalletWasabi.Gui.Converters { public class MoneyBrushConverter : IValueConve...
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using Avalonia.Data.Converters; using Avalonia.Media; using AvalonStudio.Extensibility.Theme; using NBitcoin; using WalletWasabi.Models; namespace WalletWasabi.Gui.Converters { public class MoneyBrushConverter : IValueConve...
mit
C#
edc4867c54cf8b97f76df1d0cff3dfd76d7d10f7
Divide by zero error
1game/1game-csharp
Playtomic/PlayerLevel.cs
Playtomic/PlayerLevel.cs
using System; using System.Collections; namespace Playtomic { public class PlayerLevel : Hashtable { public PlayerLevel() { } public PlayerLevel(IDictionary data) { foreach(string x in data.Keys) { if(x == "date") { var d = new DateTime(1970, 1, 1, 0, 0, 0); date = d.AddSecon...
using System; using System.Collections; namespace Playtomic { public class PlayerLevel : Hashtable { public PlayerLevel() { } public PlayerLevel(IDictionary data) { foreach(string x in data.Keys) { if(x == "date") { var d = new DateTime(1970, 1, 1, 0, 0, 0); date = d.AddSecon...
mit
C#
a6d9adb5bff9d790342bed1413b1afab1fb36b53
Adjust timing ratio to prevent occasional failing
Fody/FodyAddinSamples,Fody/FodyAddinSamples
ThrottleSample/Sample.cs
ThrottleSample/Sample.cs
using System; using System.Threading; using System.Windows.Threading; using Throttle; using Xunit; using TomsToolbox.Desktop; public class ThrottleSample { int throttledCalls; [Fact] public void Run() { var dispatcher = Dispatcher.CurrentDispatcher; dispatcher.BeginInvoke(() => ...
using System; using System.Threading; using System.Windows.Threading; using Throttle; using Xunit; using TomsToolbox.Desktop; public class ThrottleSample { int throttledCalls; [Fact] public void Run() { var dispatcher = Dispatcher.CurrentDispatcher; dispatcher.BeginInvoke(() => ...
mit
C#
2bb674bb0ae06cd624c03564a8606983dbed0b3e
Fix line endings.
OSVR/OSVR-Unity,DuFF14/OSVR-Unity,grobm/OSVR-Unity,grobm/OSVR-Unity,JeroMiya/OSVR-Unity
Managed-OSVR/ExampleClients/TrackerCallback/Properties/AssemblyInfo.cs
Managed-OSVR/ExampleClients/TrackerCallback/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Managed-OSVR Tracker Callback Example")] [assembly: AssemblyDescription ("")] [assembly: Assembly...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Managed-OSVR Tracker Callback Example")] [assembly: AssemblyDescription ("")] [assembly: Assemb...
apache-2.0
C#
acb73b172f344e1dcbb10cb4c14d02bcf5a012a9
Change default ships
BeefEX/ships
Ships-Common/Ship.cs
Ships-Common/Ship.cs
using System; using System.Collections.Generic; using System.Linq; namespace Ships_Common { public class Ship { public static class Parts { public static char[,] PART_EXPLODED = {{'\\', '#', '/'}, {'@', '#', '@'}, {'/', '@', '\\'}}; } public static Dictionary<string, Ship> defaultShips = new Di...
using System; using System.Collections.Generic; using System.Linq; namespace Ships_Common { public class Ship { public static class Parts { public static char[,] PART_EXPLODED = {{'\\', '#', '/'}, {'@', '#', '@'}, {'/', '@', '\\'}}; } public static Ship SHIP_SMALL = new Ship(default(Vector...
mit
C#
80e7e473470bef732381c782b412e6925c8bab2d
Remove random SoftPwm test code
treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk
NET/Demos/Console/Blink/Program.cs
NET/Demos/Console/Blink/Program.cs
using System; using Treehopper; using System.Threading.Tasks; using System.Diagnostics; using System.Collections.Generic; using System.Threading; namespace Blink { /// <summary> /// This demo blinks the built-in LED using async programming. /// </summary> class Program { static Treehopper...
using System; using Treehopper; using System.Threading.Tasks; using System.Diagnostics; using System.Collections.Generic; using System.Threading; namespace Blink { /// <summary> /// This demo blinks the built-in LED using async programming. /// </summary> class Program { static Treehopper...
mit
C#
fe748ce1d1869d783e348aa083fa7c94d46affce
Add Comment C#2.0 point_07 restricting-accessor-accessibility
m2wasabi/CSharpYuRuFuWaHandson
CS2_07_restricting-accessor-accessibility/Program.cs
CS2_07_restricting-accessor-accessibility/Program.cs
using System; namespace CS2_07_restricting_accessor_accessibility { class Program { /// <summary>プロパティの get/set 個別のアクセスレベル</summary> /// <remarks>プロパティの get アクセサーと set で異なるアクセス レベルを設定できる。 /// https://docs.microsoft.com/ja-jp/dotnet/csharp/programming-guide/nullable-types/ /// <...
using System; namespace CS2_07_restricting_accessor_accessibility { class Program { static void Main(string[] args) { A a = new A(); // a.PropertyA = 1; <- これはできない a.SetPropertyA(10); int propertyValue = a.PropertyA; Console.WriteLine...
mit
C#
7b7da43fd819830151aa70b9e4dc951d835d19de
Update comments in RemoteAuthenticationOptions
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Authentication/RemoteAuthenticationOptions.cs
src/Microsoft.AspNetCore.Authentication/RemoteAuthenticationOptions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Net.Http; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Authentication; namespace Microsoft.AspNetCore.Builder...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Net.Http; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Authentication; namespace Microsoft.AspNetCore.Builder...
apache-2.0
C#
26b7aaa76ea8c53e8f0aafc796c12652f3a2eee6
Fix Navigation link on acl
dfensgmbh/biz.dfch.CS.Appclusive.UI,dfensgmbh/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI
src/biz.dfch.CS.Appclusive.UI/Views/Shared/DisplayTemplates/Acl.cshtml
src/biz.dfch.CS.Appclusive.UI/Views/Shared/DisplayTemplates/Acl.cshtml
@model biz.dfch.CS.Appclusive.UI.Models.Core.Acl @using biz.dfch.CS.Appclusive.UI.App_LocalResources @if (Model != null && !string.IsNullOrEmpty(Model.Name)) { if (biz.dfch.CS.Appclusive.UI.Navigation.PermissionDecisions.Current.HasPermission(Model.GetType(), "CanRead")) { string id = (string)ViewCont...
@model biz.dfch.CS.Appclusive.UI.Models.Core.Acl @using biz.dfch.CS.Appclusive.UI.App_LocalResources @if (Model != null && !string.IsNullOrEmpty(Model.Name)) { if (biz.dfch.CS.Appclusive.UI.Navigation.PermissionDecisions.Current.HasPermission(Model.GetType(), "CanRead")) { string id = (string)ViewCont...
apache-2.0
C#
bb4b9f84040af3fdd43111a50e90bd92e6be5cd4
Remove drop menus from main menu
michaelp0730/MichaelsMusic,michaelp0730/MichaelsMusic,michaelp0730/MichaelsMusic
MichaelsMusic/Views/Shared/Components/_Header.cshtml
MichaelsMusic/Views/Shared/Components/_Header.cshtml
<header class="main-header"> <div class="row"> <div class="column"> <ul class="menu"> <li class="mobile-expand" id="mobile-expand"> <a href="#"> <i class="fa fa-align-justify"></i> </a> </li> ...
<header class="main-header"> <div class="row"> <div class="column"> <ul class="menu"> <li class="mobile-expand" id="mobile-expand"> <a href="#"> <i class="fa fa-align-justify"></i> </a> </li> ...
mit
C#
fe6644a5adff9d230d8344d78c84d1344cef7162
make PropertiesProvider test pass
jagt/fullserializer,shadowmint/fullserializer,shadowmint/fullserializer,Ksubaka/fullserializer,jacobdufault/fullserializer,Ksubaka/fullserializer,jagt/fullserializer,jagt/fullserializer,nuverian/fullserializer,jacobdufault/fullserializer,shadowmint/fullserializer,jacobdufault/fullserializer,Ksubaka/fullserializer
Testing/RuntimeTests/Providers/PropertiesProvider.cs
Testing/RuntimeTests/Providers/PropertiesProvider.cs
using System; using System.Collections.Generic; using UnityEngine; public class PropertiesProvider : TestProvider<object> { public struct PublicGetPublicSet { public PublicGetPublicSet(int value) : this() { Value = value; } public int Value { get; set; } } public struct PrivateGetPublicSe...
using System; using System.Collections.Generic; public class PropertiesProvider : TestProvider<object> { public struct PublicGetPublicSet { public PublicGetPublicSet(int value) : this() { Value = value; } public int Value { get; set; } } public struct PrivateGetPublicSet { public ...
mit
C#
d8212808381f686d630daa11c54e6f03bd754174
fix merge conflict.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/AddWallet/TermsAndConditionsViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/TermsAndConditionsViewModel.cs
using System.Reactive.Linq; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Services; namespace WalletWasabi.Fluent.ViewModels.AddWallet { [NavigationMetaData(Title = "Welcome to Wasabi Wallet")] public partial class TermsAndConditionsViewModel : Rout...
using System.Reactive.Linq; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Services; namespace WalletWasabi.Fluent.ViewModels.AddWallet { [NavigationMetaData(Title = "Welcome to Wasabi Wallet")] public partial class TermsAndConditionsViewModel : Rout...
mit
C#
bd4c8e3cc2aa150a13a3e499cde417589495f497
Add jitter to head movement of faking avatar even when there's no speaker. Fix #45
Nagasaki45/UnsocialVR,Nagasaki45/UnsocialVR
Assets/Scripts/Faking/LookAtSpeaker.cs
Assets/Scripts/Faking/LookAtSpeaker.cs
using UnityEngine; public class LookAtSpeaker : MonoBehaviour { public bool active = false; public float speed; public float jitterFreq; public float jitterLerp; public float jitterScale; public float blankGazeDistance; private Transform myTransform; private Vector3 randomValue; p...
using UnityEngine; public class LookAtSpeaker : MonoBehaviour { public bool active = false; public float speed; public float jitterFreq; public float jitterLerp; public float jitterScale; private Transform myTransform; private Vector3 randomValue; private Vector3 randomTarget; vo...
mit
C#
3761e9eb48a8c542f142684a1993997bac4cffc5
create files for import into ArangoDB Layer Collection.
johnvcoleman/Harlow,layeredio/Harlow
Harlow/HarlowConsoleTestbed/Program.cs
Harlow/HarlowConsoleTestbed/Program.cs
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Harlow; using Newtonsoft.Json; namespace HarlowConsoleTestbed { class Program { static void Main(string[] args) { try{ Console.WriteLine("Starting Harlow interactions....
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Harlow; using Newtonsoft.Json; namespace HarlowConsoleTestbed { class Program { static void Main(string[] args) { try{ Console.WriteLine("Starting Harlow interactions....
mit
C#
1d830061096de3427cd7db80126281a2c1b1d833
Update FuncOfTaskWhichThrowsDirectlyScenario.cs
JoeMighty/shouldly
src/Shouldly.Tests/ShouldThrow/FuncOfTaskWhichThrowsDirectlyScenario.cs
src/Shouldly.Tests/ShouldThrow/FuncOfTaskWhichThrowsDirectlyScenario.cs
using System; using System.Threading.Tasks; using Xunit; namespace Shouldly.Tests.ShouldThrow { public class FuncOfTaskWhichThrowsDirectlyScenario { [Fact] public void ShouldPass() { // ReSharper disable once RedundantDelegateCreation var task = new Func<Task>((...
using System; using System.Threading.Tasks; using Xunit; namespace Shouldly.Tests.ShouldThrow { public class FuncOfTaskWhichThrowsDirectlyScenario { [Fact] public void ShouldPass() { // ReSharper disable once RedundantDelegateCreation var task = new Func<Task>(...
bsd-3-clause
C#
375c5c0f9893ccee32c3fa80b0ce6cb0dda12557
fix missed script register
ziyasal/AspNet.Mvc.ConfigurationExporter,ziyasal/AspNet.Mvc.ConfigurationExporter
src/AspNet.Mvc.ConfigurationExporter.WebSite/Views/Shared/_Layout.cshtml
src/AspNet.Mvc.ConfigurationExporter.WebSite/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <di...
mit
C#
a11a600cf5cf2752d4cd1370350d872315cb133e
Clean up file
gordonwatts/IndicoInterface.NET
IndicoInterface.NET/DateTimeUtils.cs
IndicoInterface.NET/DateTimeUtils.cs
using System; namespace IndicoInterface.NET { public static class DateTimeUtils { /// <summary> /// Return the date time as the number of seconds since Jan 1, 1970. /// </summary> /// <param name="dt"></param> /// <returns></returns> public static int AsSecondsF...
using System; namespace IndicoInterface.NET { public static class DateTimeUtils { /// <summary> /// Return the date time as the number of seconds since Jan 1, 1970. /// </summary> /// <param name="dt"></param> /// <returns></returns> public static int AsSecondsF...
mit
C#
bac1771f6b8c116552d220ef4091111f32658bc6
Add comment
mattherman/MbDotNet,mattherman/MbDotNet
MbDotNet.Acceptance.Tests/Program.cs
MbDotNet.Acceptance.Tests/Program.cs
using System; using MbDotNet; using System.Collections.Generic; namespace MbDotNet.Acceptance.Tests { public class Program { private static int _passed = 0; private static int _failed = 0; private static int _skipped = 0; public static void Main() { ...
using System; using MbDotNet; using System.Collections.Generic; namespace MbDotNet.Acceptance.Tests { public class Program { private static int _passed = 0; private static int _failed = 0; private static int _skipped = 0; public static void Main() { ...
mit
C#
fe60e590c7cf16b3f3e015221aaf58a696e01c42
Add ShowId to TvEpisode
LordMike/TMDbLib
TMDbLib/Objects/TvShows/TvEpisode.cs
TMDbLib/Objects/TvShows/TvEpisode.cs
using System; using System.Collections.Generic; using TMDbLib.Objects.General; namespace TMDbLib.Objects.TvShows { public class TvEpisode { /// <summary> /// Object Id, will only be populated when explicitly getting episode details /// </summary> public int? Id { get; set; } ...
using System; using System.Collections.Generic; using TMDbLib.Objects.General; using TMDbLib.Objects.Lists; namespace TMDbLib.Objects.TvShows { public class TvEpisode { /// <summary> /// Object Id, will only be populated when explicitly getting episode details /// </summary> pu...
mit
C#
e2f032c8f4847b7372e5ec8c19f7a2a18ba3f8a4
Update version to 1.0.0-alpha5
bungeemonkee/Utilitron
Utilitron/Properties/AssemblyInfo.cs
Utilitron/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Utilitron")] [ass...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Utilitron")] [ass...
mit
C#
a42bc03b497806c0af01b4db113b9089db0d4966
Update Index.cshtml
johnnyreilly/jQuery.Validation.Unobtrusive.Native,johnnyreilly/jQuery.Validation.Unobtrusive.Native,johnnyreilly/jQuery.Validation.Unobtrusive.Native,senzacionale/jQuery.Validation.Unobtrusive.Native
jVUNDemo/Views/Home/Index.cshtml
jVUNDemo/Views/Home/Index.cshtml
@section metatags{ <meta name="Description" content="Provides MVC HTML helper extensions that marry jQuery Validation's native unobtrusive support for validation driven by HTML 5 data attributes with MVC's ability to generate data attributes from Model metadata. With this in place you can use jQuery Validation as ...
@section metatags{ <meta name="Description" content="Provides MVC HTML helper extensions that marry jQuery Validation's native unobtrusive support for validation driven by HTML 5 data attributes with MVC's ability to generate data attributes from Model metadata. With this in place you can use jQuery Validation as ...
mit
C#
b1b19ebe490368cbdfb2c953390ac896e59ed782
Update EngineInfo
Vorlias/Andromeda
System/EngineInfo.cs
System/EngineInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Andromeda.System { public static class EngineInfo { const int DATE = 180104; const int MAJOR = 0; const int MINOR = 500; const int REVISION = 0; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Andromeda.System { public static class EngineInfo { const int DATE = 171214; const int MAJOR = 0; const int MINOR = 400; const int REVISION = 0; ...
mit
C#
d244ef040fb564c24a503288f4c571ad12c79233
add SendEvent to QueryService (#3)
NickRimmer/ApiAi
ApiAi/QueryService.cs
ApiAi/QueryService.cs
// // Copyright (c) 2017 Nick Rimmer. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using ApiAi.Internal.Attributes; using ApiAi.Internal.Models; using ApiAi.Internal.Models.Requests; using ApiAi.Internal.Models.Responses; using Api...
// // Copyright (c) 2017 Nick Rimmer. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using ApiAi.Internal.Attributes; using ApiAi.Internal.Models; using ApiAi.Internal.Models.Requests; using ApiAi.Internal.Models.Responses; using Api...
mit
C#
0c1e23cd27ec81303bb1013ada6f0ce49b4cb66a
Remove unnecessary IFormattable constraint from IEnumerable.StringJoin
orbitalgames/collections-extensions
IEnumerableExtensions.cs
IEnumerableExtensions.cs
/* The MIT License (MIT) Copyright (c) 2015 Orbital Games, LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,...
/* The MIT License (MIT) Copyright (c) 2015 Orbital Games, LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,...
mit
C#
b08bb6f08b076621f987c54f0b6b7c551cdb11e2
Kill dead code.
arlobelshee/Minions,Minions/Minions,Minions/Minions,arlobelshee/Minions
src/Fools/Recognizing/BlockFinder.cs
src/Fools/Recognizing/BlockFinder.cs
using System.Collections.Generic; using System.Linq; using Fools.Ast; using Fools.Tokenization; namespace Fools.Recognizing { public class BlockFinder : Transformation<INode, INode> { private static readonly IdentifierToken Colon = new IdentifierToken(":"); private readonly Stack<Block> _currentBlocks = new Stac...
using System.Collections.Generic; using System.Linq; using Fools.Ast; using Fools.Tokenization; namespace Fools.Recognizing { public class BlockFinder : Transformation<INode, INode> { private static readonly IdentifierToken Colon = new IdentifierToken(":"); private readonly Stack<Block> _currentBlocks = new Stac...
bsd-3-clause
C#
ed4ac2c9c1c0f3f28c8929c040be83c058cc5a76
add stylecop suggestions
carterjones/pe-analyzer,carterjones/pe-analyzer
PEAnalyzer/Extensions.cs
PEAnalyzer/Extensions.cs
namespace PEAnalyzer { using System; using System.Collections.Generic; using System.Linq; using System.Text; /// <summary> /// A collection of miscellaneous extension methods. /// </summary> internal static class Extensions { /// <summary> /// Get a hexidecimal addr...
namespace PEAnalyzer { using System; using System.Collections.Generic; using System.Linq; using System.Text; internal static class Extensions { public static string ToAddressString32(this ulong value) { return "0x" + new IntPtr((long)value).ToString("x").PadLeft(8, ...
bsd-2-clause
C#
9a8f59ab5088a8e937178cfa153959f27c97305f
Add debug-upgrade CL command
Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server
TGCommandLine/Program.cs
TGCommandLine/Program.cs
using System; using System.Collections.Generic; using System.Linq; using TGServiceInterface; namespace TGCommandLine { class Program { static ExitCode RunCommandLine(IList<string> argsAsList) { var res = Server.VerifyConnection(); if (res != null) { Console.WriteLine("Unable to connect to service:...
using System; using System.Collections.Generic; using System.Linq; using TGServiceInterface; namespace TGCommandLine { class Program { static ExitCode RunCommandLine(IList<string> argsAsList) { var res = Server.VerifyConnection(); if (res != null) { Console.WriteLine("Unable to connect to service:...
agpl-3.0
C#
598b04a37b490b28349c6705895a03babfee11fa
update version
danelkhen/corex
src/corex/Properties/AssemblyInfo.cs
src/corex/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("co...
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("co...
apache-2.0
C#
de741e1598119f50f21316b213f924d1207486f4
Add missing close tag
CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction
CollAction/Views/Projects/Embed.cshtml
CollAction/Views/Projects/Embed.cshtml
@model int @{ Layout = "_EmbeddedLayout"; ViewData["Title"] = "Embedded Project"; } <div id="embedded-project" data-project-id="@Model"></div>
@model int @{ Layout = "_EmbeddedLayout"; ViewData["Title"] = "Embedded Project"; } <div id="embedded-project" data-project-id="@Model"><div>
agpl-3.0
C#
14e86c2cd5f4841200b8122d4702d46e72eec1e1
Enable Shift+R to reset prefs in development builds
NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Global/GameController.cs
Assets/Scripts/Global/GameController.cs
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Events; using System.Collections; public class GameController : MonoBehaviour { public static GameController instance; #pragma warning disable 0649 [SerializeField] private bool disableCursor; [SerializeField] private MicrogameCol...
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Events; using System.Collections; public class GameController : MonoBehaviour { public static GameController instance; #pragma warning disable 0649 [SerializeField] private bool disableCursor; [SerializeField] private MicrogameCol...
mit
C#
354ee81ff5151e38270147f2ba4b78b89fef05f0
Update to v0.2.0.0
codeite/WebApiProblem
WebApiProblem/Properties/AssemblyInfo.cs
WebApiProblem/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
00cdd985f6932fce3d827d030aa638e5fa75836e
bump version for release
barnhill/barcodelib,barnhill/barcodelib,bbarnhill/barcodelib
BarcodeLib/Properties/AssemblyInfo.cs
BarcodeLib/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("Ba...
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("Ba...
apache-2.0
C#
b772407c81e37387730a648bf86060878a40f516
Implement vmdscale command
paralleltree/Scallion.Tools
vmdscale/Program.cs
vmdscale/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text.RegularExpressions; using System.Numerics; using NDesk.Options; using Scallion.Tools.Essentials; using Scallion.DomainModels; namespace Scallion.Tools.VmdScale { class Program : Runner { public overr...
using System; using System.Collections.Generic; using System.Linq; namespace Scallion.Tools.VmdScale { class Program { static void Main(string[] args) { } } }
mit
C#
f533260ae62988793ad6d74fac32429da96c50fe
make Ord<T> be an IComparer<T>
StanJav/language-ext,louthy/language-ext
LanguageExt.Core/TypeClasses/Ord/Ord.cs
LanguageExt.Core/TypeClasses/Ord/Ord.cs
using LanguageExt.Attributes; using System.Diagnostics.Contracts; namespace LanguageExt.TypeClasses { [Typeclass("Ord*")] public interface Ord<A> : Eq<A>, System.Collections.Generic.IComparer<A> { /// <summary> /// Compare two values /// </summary> /// <param name="x">Left ...
using LanguageExt.Attributes; using System.Diagnostics.Contracts; namespace LanguageExt.TypeClasses { [Typeclass("Ord*")] public interface Ord<A> : Eq<A> { /// <summary> /// Compare two values /// </summary> /// <param name="x">Left hand side of the compare operation</param...
mit
C#
894a1dea82ff171e6c39b6378cff2f7ce146ce51
add get metod
nudyk/NudykBot,nudyk/NudykBot
BotNudyk/BotNudyk/Controllers/MessagesController.cs
BotNudyk/BotNudyk/Controllers/MessagesController.cs
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using Microsoft.Bot.Connector; using Microsoft.Bot.Connector.Utilities; using Newtonsoft.Json; namespace BotNudyk { [BotAuthentication] public class...
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using Microsoft.Bot.Connector; using Microsoft.Bot.Connector.Utilities; using Newtonsoft.Json; namespace BotNudyk { [BotAuthentication] public class...
mit
C#
ecad7e7084005e150afaede93b046803060362c9
Change Assembly version to 2.3.
transistor1/dockpanelsuite,15070217668/dockpanelsuite,thijse/dockpanelsuite,Romout/dockpanelsuite,angelapper/dockpanelsuite,15070217668/dockpanelsuite,joelbyren/dockpanelsuite,RadarNyan/dockpanelsuite,compborg/dockpanelsuite,jorik041/dockpanelsuite,xo-energy/dockpanelsuite,ArsenShnurkov/dockpanelsuite,rohitlodha/dockpa...
WinFormsUI/Properties/AssemblyInfo.cs
WinFormsUI/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Diagnostics.CodeAnalysis; [assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")] [assembly: AssemblyDescription(".Net Docking Library for Windows Forms")] [assembly: AssemblyConf...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Diagnostics.CodeAnalysis; [assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")] [assembly: AssemblyDescription(".Net Docking Library for Windows Forms")] [assembly: AssemblyConf...
mit
C#
a6996ee8027c4a9afe2fcbe2815c6e7122dbccdb
Support for Split Payment. Closes #1.
sirmmo/FatturaElettronicaPA,FatturaElettronicaPA/FatturaElettronicaPA
Validators/FEsigibilitaIVAValidator.cs
Validators/FEsigibilitaIVAValidator.cs
using BusinessObjects.Validators; namespace FatturaElettronicaPA.Validators { /// <summary> /// Validates FatturaElettronicaBody.DatiGenerali.DatiBeniServizi.DatiRiepilogo.EsigibilitaIVA. /// </summary> public class FEsigibilitaIVAValidator : DomainValidator { private const string BrokenDes...
using BusinessObjects.Validators; namespace FatturaElettronicaPA.Validators { /// <summary> /// Validates FatturaElettronicaBody.DatiGenerali.DatiBeniServizi.DatiRiepilogo.EsigibilitaIVA. /// </summary> public class FEsigibilitaIVAValidator : DomainValidator { private const string BrokenDes...
bsd-3-clause
C#
c2abce22f55bcfa77707da72d61891ee4e6a2e3f
Fix wrong guard expression
evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx
HermaFx.Foundation/DesignPatterns/EnhancedEnumType.cs
HermaFx.Foundation/DesignPatterns/EnhancedEnumType.cs
using System; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Reflection; namespace HermaFx.DesignPatterns { [Serializable] public abstract class EnhancedEnumType<L, T> : ReadOnlyCollection<T>, IEnhancedEnumTypeDescriptor<T> where L : EnhancedEnumType<L, T> { #region F...
using System; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Reflection; namespace HermaFx.DesignPatterns { [Serializable] public abstract class EnhancedEnumType<L, T> : ReadOnlyCollection<T>, IEnhancedEnumTypeDescriptor<T> where L : EnhancedEnumType<L, T> { #region F...
mit
C#
8f297e7f69cb4c4865f03bfa0c9a3a11bb59558a
bump version to 1.5.11
martin2250/OpenCNCPilot
OpenCNCPilot/Properties/AssemblyInfo.cs
OpenCNCPilot/Properties/AssemblyInfo.cs
using System.Reflection; 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 with an assembly. [assembly: AssemblyTitle("OpenCNCPilot")] [as...
using System.Reflection; 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 with an assembly. [assembly: AssemblyTitle("OpenCNCPilot")] [as...
mit
C#
067a211b08e83844119d435a15f9fb35c9c82f8a
Build and publish nuget package.
rlyczynski/XSerializer,QuickenLoans/XSerializer
XSerializer/Properties/AssemblyInfo.cs
XSerializer/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. [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. [assembly: Ass...
mit
C#
dd4a4f790df3b546731ed1dd39da1f7bad960f63
Add unit test for implicit Guid construction
OlsonDev/YeamulNet
Yeamul.Test/Test_Node_Implicit_Ctor.cs
Yeamul.Test/Test_Node_Implicit_Ctor.cs
using System; using NUnit.Framework; namespace Yeamul { [TestFixture] public class Test_Node_Implicit_Ctor { [Test] public void CanConstructImplicitlyFromBoolean() { Node node = true; AssertNodeIsDefinedScalar(node); Assert.That(node.IsBoolean); AssertNodeHasTypes(node, NodeType.Scalar, ScalarType.B...
using System; using NUnit.Framework; namespace Yeamul { [TestFixture] public class Test_Node_Implicit_Ctor { [Test] public void CanConstructImplicitlyFromBoolean() { Node node = true; AssertNodeIsDefinedScalar(node); Assert.That(node.IsBoolean); AssertNodeHasTypes(node, NodeType.Scalar, ScalarType.B...
mit
C#
e0a700d9e39625eb274f1e974c7726c4805b705f
bump version
Fody/PropertyChanged,user1568891/PropertyChanged,0x53A/PropertyChanged
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("1.48.4"...
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("1.48.3"...
mit
C#
f28834e2963cf0b02c3eed812d99a1e4519afd32
Fix GraphQL type error
ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates
Source/Content/GraphQLTemplate/Types/HumanObject.cs
Source/Content/GraphQLTemplate/Types/HumanObject.cs
namespace GraphQLTemplate.Types { using System.Collections.Generic; #if (Authorization) using GraphQL.Authorization; #endif using GraphQL.Types; using GraphQLTemplate.Constants; using GraphQLTemplate.Models; using GraphQLTemplate.Repositories; public class HumanObject : ObjectGraphType<Huma...
namespace GraphQLTemplate.Types { using System.Collections.Generic; #if (Authorization) using GraphQL.Authorization; #endif using GraphQL.Types; using GraphQLTemplate.Constants; using GraphQLTemplate.Models; using GraphQLTemplate.Repositories; public class HumanObject : ObjectGraphType<Huma...
mit
C#
bd75a2f43aaa42d0e063a8226bfac5badd8ebc97
Make sure playerComp is in the node lookup list
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
PathfinderAPI/BaseGameFixes/Performance/NodeLookup.cs
PathfinderAPI/BaseGameFixes/Performance/NodeLookup.cs
using System.Collections.Generic; using Hacknet; using HarmonyLib; using Pathfinder.Event; using Pathfinder.Event.Loading; using Pathfinder.Util; namespace Pathfinder.BaseGameFixes.Performance { [HarmonyPatch] internal static class NodeLookup { [HarmonyPostfix] [HarmonyPatch(typeof(List<Co...
using System.Collections.Generic; using Hacknet; using HarmonyLib; using Pathfinder.Event; using Pathfinder.Event.Loading; using Pathfinder.Util; namespace Pathfinder.BaseGameFixes.Performance { [HarmonyPatch] internal static class NodeLookup { [HarmonyPostfix] [HarmonyPatch(typeof(List<Co...
mit
C#
151d717005bfe5e9d452c0148afcc6eee2e813d7
Add GetEndpointData manual test to ConsoleAppTester
AshleyPoole/ssllabs-api-wrapper
SSLLWrapper.ConsoleAppTester/Program.cs
SSLLWrapper.ConsoleAppTester/Program.cs
using System; using System.Linq; namespace SSLLWrapper.ConsoleAppTester { class Program { private const string ApiUrl = "https://api.dev.ssllabs.com/api/fa78d5a4"; static readonly ApiService ApiService = new ApiService(ApiUrl); static void Main(string[] args) { //AnalyzeTester(); //InfoTester(); G...
using System; using System.Linq; namespace SSLLWrapper.ConsoleAppTester { class Program { private const string apiUrl = "https://api.dev.ssllabs.com/api/fa78d5a4"; static void Main(string[] args) { AnalyzeTester(); } static void AnalyzeTester() { var apiService = new ApiService(apiUrl); var a...
mit
C#
545f166856f626d332e28c9fbbf1d0db767f01e5
Make reference type
CamTechConsultants/CvsntGitImporter
Revision.cs
Revision.cs
/* * John Hall <john.hall@xjtag.com> * Copyright (c) Midas Yellow Ltd. All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace CvsGitConverter { /// <summary> /// Represents a CVS revision number. /// </summary> c...
/* * John Hall <john.hall@xjtag.com> * Copyright (c) Midas Yellow Ltd. All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace CvsGitConverter { /// <summary> /// Represents a CVS revision number. /// </summary> s...
mit
C#
e31104dc7da75dab3a01920bd52366fd991c1843
Use element type name for variable names
zatherz/MonoMod,0x0ade/MonoMod,AngelDE98/MonoMod
MonoMod/DebugIL/DebugILGeneratorExt.cs
MonoMod/DebugIL/DebugILGeneratorExt.cs
using Mono.Cecil; using Mono.Cecil.Cil; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace MonoMod.DebugIL { public static class DebugILGeneratorExt { public readonly static Type ...
using Mono.Cecil; using Mono.Cecil.Cil; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace MonoMod.DebugIL { public static class DebugILGeneratorExt { public readonly static Type ...
mit
C#
a3906a72db7dfe40b0dd0df5eabc50648b895046
Fix board size updater not running
thijser/ARGAME,thijser/ARGAME,thijser/ARGAME
ARGame/Assets/Scripts/Core/BoardResizer.cs
ARGame/Assets/Scripts/Core/BoardResizer.cs
//---------------------------------------------------------------------------- // <copyright file="BoardResizer.cs" company="Delft University of Technology"> // Copyright 2015, Delft University of Technology // // This software is licensed under the terms of the MIT License. // A copy of the license s...
//---------------------------------------------------------------------------- // <copyright file="BoardResizer.cs" company="Delft University of Technology"> // Copyright 2015, Delft University of Technology // // This software is licensed under the terms of the MIT License. // A copy of the license s...
mit
C#
28c49e91b6ff633214f5702dd66d45d20833cdc2
Use actual StarDate
dannydwarren/Cortana-Location-UWP,dannydwarren/Cortana-Location-UWP
dev/Cortana_Location/ComputerAssistant.UI/Models/DateTimeStampedBindable.cs
dev/Cortana_Location/ComputerAssistant.UI/Models/DateTimeStampedBindable.cs
using System; namespace ComputerAssistant.UI.Models { public class DateTimeStampedBindable : Bindable { public DateTimeStampedBindable() { StarDate = DateTime.UtcNow; } public DateTime StarDate { get; set; } public string StardateString => $"{StarDate.ToSt...
using System; namespace ComputerAssistant.UI.Models { public class DateTimeStampedBindable : Bindable { public DateTimeStampedBindable() { StarDate = DateTime.UtcNow; } public DateTime StarDate { get; set; } public string StardateString => $"{StarDate.ToString( "yyyy" )}.{StarDate.DayOfYear}{StarDate...
mit
C#
9e044514f27bb53f44f36fe439cfbeb9db163191
Change the content for COVID banner
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_COVID19GuidanceBanner.cshtml
src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_COVID19GuidanceBanner.cshtml
@if (ViewBag.UseCDN ?? false) { <div class="das-notification"> <h3 class="das-notification__heading"> Coronavirus (COVID-19): <a href="https://www.gov.uk/government/publications/coronavirus-covid-19-apprenticeship-programme-response/coronavirus-covid-19-guidance-for-apprentices-employers-traini...
@if (ViewBag.UseCDN ?? false) { <div class="das-notification"> <h3 class="das-notification__heading">New employer agreement</h3> <p class="das-notification__body">From 14 April 2020, you must accept a new employer agreement to:</p> <ul class="govuk-list govuk-list--bullet"> <li>...
mit
C#
67f6d8231b9b36d8c40ece543fc5c94a65fd3af4
Fix GetStocks by reading the response in the proper format.
leddt/Stockfighter
Stockfighter/Venue.cs
Stockfighter/Venue.cs
using System.Threading.Tasks; using Stockfighter.Helpers; namespace Stockfighter { public class Venue { public string Symbol { get; private set; } public Venue(string symbol) { Symbol = symbol; } public async Task<bool> IsUp() { using (...
using System.Threading.Tasks; using Stockfighter.Helpers; namespace Stockfighter { public class Venue { public string Symbol { get; private set; } public Venue(string symbol) { Symbol = symbol; } public async Task<bool> IsUp() { using (...
mit
C#
8625dc127743c0bbd0b06da956abffffa451e783
Fix PrototypeDerived.Has returning void
copygirl/EntitySystem
src/EntitySystem/Components/PrototypeDerived.cs
src/EntitySystem/Components/PrototypeDerived.cs
using System.Collections; using System.Collections.Generic; namespace EntitySystem.Components { public class PrototypeDerived : IComponent, IEnumerable<Entity> { readonly HashSet<Entity> _derivatives = new HashSet<Entity>(); public bool Has(Entity entity) => _derivatives.Contains(entity); public void Add(En...
using System.Collections; using System.Collections.Generic; namespace EntitySystem.Components { public class PrototypeDerived : IComponent, IEnumerable<Entity> { readonly HashSet<Entity> _derivatives = new HashSet<Entity>(); public void Has(Entity entity) => _derivatives.Contains(entity); public void Add(En...
mit
C#
6586c921f0ca944865f0fe74976a72ac9fa56158
Fix compiler error introduced by merge conflict
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
build/tasks/ProjectModel/ProjectInfo.cs
build/tasks/ProjectModel/ProjectInfo.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; namespace RepoTasks.ProjectModel { internal class ProjectInfo { public...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; namespace RepoTasks.ProjectModel { internal class ProjectInfo { public...
apache-2.0
C#
eb31c8a785d5522519d9bbf5d8043bcf6469a24d
Fix issue with tests where settings were not being injected into test class and causing a null error at runtime. Now uses parent settings class. Also changed one expected test return type to reflect change in Google data.
chadly/Geocoding.net
test/Geocoding.Tests/GoogleAsyncGeocoderTest.cs
test/Geocoding.Tests/GoogleAsyncGeocoderTest.cs
using System; using System.Linq; using System.Threading.Tasks; using Geocoding.Google; using Xunit; namespace Geocoding.Tests { [Collection("Settings")] public class GoogleAsyncGeocoderTest : AsyncGeocoderTest { GoogleGeocoder geoCoder; protected override IGeocoder CreateAsyncGeocoder() { string apiKey =...
using System; using System.Linq; using System.Threading.Tasks; using Geocoding.Google; using Xunit; namespace Geocoding.Tests { [Collection("Settings")] public class GoogleAsyncGeocoderTest : AsyncGeocoderTest { readonly SettingsFixture settings; GoogleGeocoder geoCoder; public GoogleAsyncGeocoderTest(Setti...
mit
C#
78598bed11e5dbadbf08d358a3d0945530fd8b66
Use FormatMessageHandler instead of eagerly formatting.
Stift/NuGet.Lucene,googol/NuGet.Lucene,themotleyfool/NuGet.Lucene
source/NuGet.Lucene.Web/UnhandledExceptionLogger.cs
source/NuGet.Lucene.Web/UnhandledExceptionLogger.cs
using System; using System.Threading.Tasks; using System.Web; using System.Web.UI; using Common.Logging; namespace NuGet.Lucene.Web { public static class UnhandledExceptionLogger { internal static readonly ILog Log = LogManager.GetLogger(typeof(UnhandledExceptionLogger)); public static void L...
using System; using System.Threading.Tasks; using System.Web; using System.Web.UI; using Common.Logging; namespace NuGet.Lucene.Web { public static class UnhandledExceptionLogger { internal static readonly ILog Log = LogManager.GetLogger(typeof(UnhandledExceptionLogger)); public static void L...
apache-2.0
C#
276943f4ab9d5b62cab3f81f6bdac5513f30a288
Update message converter to access context
zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.P...
src/Glimpse.Common/Broker/DefaultMessageConverter.cs
src/Glimpse.Common/Broker/DefaultMessageConverter.cs
using Newtonsoft.Json; using System; using System.Globalization; using System.IO; using System.Text; namespace Glimpse { public class DefaultMessageConverter : IMessageConverter { private readonly JsonSerializer _jsonSerializer; private readonly IServiceProvider _serviceProvider; publ...
using Newtonsoft.Json; using System; using System.Globalization; using System.IO; using System.Text; namespace Glimpse { public class DefaultMessageConverter : IMessageConverter { private readonly JsonSerializer _jsonSerializer; public DefaultMessageConverter(JsonSerializer jsonSerializer) ...
mit
C#
bba9d2e51a7ef5e29dc04f75b1b3faf9a696fc41
Fix failing unittest
ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp
src/SampSharp.Core.UnitTests/Hosting/InteropTests.cs
src/SampSharp.Core.UnitTests/Hosting/InteropTests.cs
// SampSharp // Copyright 2022 Tim Potze // // 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 o...
// SampSharp // Copyright 2022 Tim Potze // // 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 o...
apache-2.0
C#
269d833e266f3f0633511e39a039daa0a4d6ad10
Fix misspelled ConventionTemplateAttribute::otherTemplateName property
DejanMilicic/n2cms,SntsDev/n2cms,nicklv/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,bussemac/n2cms,bussemac/n2cms,nicklv/n2cms,nicklv/n2cms,SntsDev/n2cms,nicklv/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,bussemac/n2cms,DejanMilicic/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,nimore/n2cms,nimor...
src/Framework/N2/Web/ConventionTemplateAttribute.cs
src/Framework/N2/Web/ConventionTemplateAttribute.cs
using System; namespace N2.Web { /// <summary> /// Tells the system to look for the ASPX template associated with the /// attribute content item in the default location. This is typically /// "~/UI/Views/" or the location defined by any [ConventionTemplateDirectory] /// attribute in the same assemb...
using System; namespace N2.Web { /// <summary> /// Tells the system to look for the ASPX template associated with the /// attribute content item in the default location. This is typically /// "~/UI/Views/" or the location defined by any [ConventionTemplateDirectory] /// attribute in the same assemb...
lgpl-2.1
C#
b58bb3cbbdc0cce3e2f49d699cf9c2005c21f460
add missing model: NuGetPackageSymbols
lvermeulen/ProGet.Net
src/ProGet.Net/Native/Models/NuGetPackageSymbols.cs
src/ProGet.Net/Native/Models/NuGetPackageSymbols.cs
// ReSharper disable InconsistentNaming namespace ProGet.Net.Native.Models { public class NuGetPackageSymbols { public int Feed_Id { get; set; } public byte[] Symbol_Id { get; set; } public string SymbolFileName_Text { get; set; } public int Symbol_Age { get; set; } pub...
namespace ProGet.Net.Native.Models { public class NuGetPackageSymbols { } }
mit
C#
bca8e66494a7f0993f57a77c522180a9e5c5d7f1
fix setter and readonly
dfch/biz.dfch.CS.System.Utilities
src/biz.dfch.CS.System.Utilities/Logging/LogBase.cs
src/biz.dfch.CS.System.Utilities/Logging/LogBase.cs
/** * Copyright 2014-2015 d-fens GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/** * Copyright 2014-2015 d-fens GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
apache-2.0
C#
da614b9d9680cfda303cb00823a2f994221ec2ef
Add missing file header
vladikk/NLog,kevindaub/NLog,FeodorFitsner/NLog,pwelter34/NLog,NLog/NLog,rajk987/NLog,kevindaub/NLog,BrandonLegault/NLog,vbfox/NLog,BrandonLegault/NLog,AqlaSolutions/NLog-Unity3D,fringebits/NLog,littlesmilelove/NLog,zbrad/NLog,snakefoot/NLog,campbeb/NLog,AndreGleichner/NLog,RichiCoder1/NLog,Niklas-Peter/NLog,BrandonLega...
tests/NLog.UnitTests/Targets/EventLogTargetTests.cs
tests/NLog.UnitTests/Targets/EventLogTargetTests.cs
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
#if !SILVERLIGHT && !MONO namespace NLog.UnitTests.Targets { using System.Diagnostics; using NLog.Config; using NLog.Targets; using System; using System.Linq; using Xunit; public class EventLogTargetTests : NLogTestBase { [Fact] public void WriteEventLogEntry() ...
bsd-3-clause
C#
d51d61054b0ec2f15ea9d3df8327809f7e94cb9d
Update code
sakapon/Samples-2017
AzureFunctionsSample/GetRandomNumber-Webhook/run.csx
AzureFunctionsSample/GetRandomNumber-Webhook/run.csx
using System.Net; static readonly Random random = new Random(); public static async Task<object> Run(HttpRequestMessage req, TraceWriter log) { log.Info($"Webhook was triggered!"); var n = random.Next(1, 10000); return req.CreateResponse(HttpStatusCode.OK, new { n }); }
#r "Newtonsoft.Json" using System; using System.Net; using Newtonsoft.Json; static readonly Random random = new Random(); public static async Task<object> Run(HttpRequestMessage req, TraceWriter log) { log.Info($"Webhook was triggered!"); var n = random.Next(1, 10000); return req.CreateRes...
mit
C#
0ca361a78a3cd5e82427da69729904f76fa341e0
Make HttpClientHandler wiping more conservative. Fixes #1484
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/MonoSanityClient/Examples.cs
samples/MonoSanityClient/Examples.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using WebAssembly.JSInterop; using System; using System.Runtime.InteropServices; using System.Text; using System.Net.Http; namespace MonoSanityClient {...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using WebAssembly.JSInterop; using System; using System.Runtime.InteropServices; using System.Text; using System.Net.Http; namespace MonoSanityClient {...
apache-2.0
C#
eb363810abc8e05219d4bf0e315936c4157b8f02
Update ComponentManager.Set
copygirl/EntitySystem
src/EntitySystem/ComponentManager.cs
src/EntitySystem/ComponentManager.cs
using System; using System.Collections.Generic; using System.Reflection; using EntitySystem.Collections; using EntitySystem.Storage; using EntitySystem.Utility; namespace EntitySystem { public class ComponentManager { readonly TypedCollection<object> _typeHandlers = new TypedCollection<object>(); readonly Generi...
using System; using System.Collections.Generic; using System.Reflection; using EntitySystem.Collections; using EntitySystem.Storage; using EntitySystem.Utility; namespace EntitySystem { public class ComponentManager { readonly TypedCollection<object> _typeHandlers = new TypedCollection<object>(); readonly Generi...
mit
C#
f2ca52fe975e5906070411feb33317db536116f0
Clean up IRequestBroker
murador/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,arthot/xsp
src/Mono.WebServer/IRequestBroker.cs
src/Mono.WebServer/IRequestBroker.cs
// // Mono.WebServer.IRequestBroker // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Documentation: // Brian Nickel // // (C) 2003 Ximian, Inc (http://www.ximian.com) // (C) Copyright 2004-2010 Novell, Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this ...
// // Mono.WebServer.IRequestBroker // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Documentation: // Brian Nickel // // (C) 2003 Ximian, Inc (http://www.ximian.com) // (C) Copyright 2004-2010 Novell, Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this ...
mit
C#
0d500de983a5b506be0df2203cca5ac6b1575d89
Fix issue #2 (build error in sample project)
weltkante/managed-lzma,weltkante/managed-lzma,weltkante/managed-lzma
sandbox-7z/Program.cs
sandbox-7z/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using ManagedLzma.LZMA.Master.SevenZip; namespace sandbox_7z { static class Program { class Password: master._7zip.Legacy.IPasswordProvider ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using ManagedLzma.LZMA.Master.SevenZip; namespace sandbox_7z { static class Program { class Password: master._7zip.Legacy.IPasswordProvider ...
mit
C#