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
8698a52a4a5b35b9b4e73a882a185b7caefa9d82
Update Exercise8C.cs
lizaamini/CSharpExercises
Sheet-8/Exercise8C.cs
Sheet-8/Exercise8C.cs
using System; namespace Exercise8C { class MainClass { public static void Main (string[] args) { Console.WriteLine ("Please enter your first name: "); String firstName = Console.ReadLine (); Console.WriteLine ("Please enter your last name: "); String lastName = Console.ReadLine (); String firstN...
mit
C#
deaffb79b58c1dd58bf68b009807aee4ea308d63
Add hack for HOF cards
HearthSim/HearthDb
HearthDb/Card.cs
HearthDb/Card.cs
#region using System; using System.Linq; using HearthDb.CardDefs; using HearthDb.Enums; using static HearthDb.Enums.GameTag; #endregion namespace HearthDb { public class Card { internal Card(Entity entity) { Entity = entity; } public Entity Entity { get; } public string Id => Entity.CardId; publi...
#region using System; using System.Linq; using HearthDb.CardDefs; using HearthDb.Enums; using static HearthDb.Enums.GameTag; #endregion namespace HearthDb { public class Card { internal Card(Entity entity) { Entity = entity; } public Entity Entity { get; } public string Id => Entity.CardId; publi...
mit
C#
afeeb3e14b1e1c9447aec374835c457131fa12b6
Add code task
roman-yagodin/R7.DnnLocalization,roman-yagodin/R7.Dnn.Localization,roman-yagodin/R7.Dnn.Localization,roman-yagodin/R7.DnnLocalization
RemoveEmptyEntries.cs
RemoveEmptyEntries.cs
#!/usr/bin/csexec using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.Diagnostics; public static class Program { public static void Main (string [] args) { try { var script = new RemoveEmptyEntries () { PackageName = args [1], ...
#!/usr/bin/csexec using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.Diagnostics; public static class Program { public static void Main (string [] args) { try { var script = new RemoveEmptyEntries () { PackageName = args [1], ...
mit
C#
bbe17cf6eaa16b06dce1861450d63ed8f827a996
Fix ShrineRoom to always be current spawner
MoyTW/MTW_AncestorSpirits
Source/MTW_AncestorSpirits/RoomRoleWorker_ShrineRoom.cs
Source/MTW_AncestorSpirits/RoomRoleWorker_ShrineRoom.cs
using RimWorld; using Verse; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MTW_AncestorSpirits { class RoomRoleWorker_ShrineRoom : RoomRoleWorker { public override float GetScore(Room room) { // I don't know if there should be some...
using RimWorld; using Verse; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MTW_AncestorSpirits { class RoomRoleWorker_ShrineRoom : RoomRoleWorker { public override float GetScore(Room room) { // I don't know if there should be some...
mit
C#
80b723b08e50e7f74b32b8a6fa1dd8e1714f1786
copy pdbs into output path
mzboray/DynamicSoapWebService
scripts/build.cake
scripts/build.cake
using System; using System.Diagnostics; using IOPath = System.IO.Path; ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "R...
using System; using System.Diagnostics; using IOPath = System.IO.Path; ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "R...
mit
C#
d755039fd802d97d0ce31e5f28238f1d423db43a
Clean using
Silphid/Silphid.Unity,Silphid/Silphid.Unity
Sources/Silphid.Loadzup/Sources/Abstractions/Options.cs
Sources/Silphid.Loadzup/Sources/Abstractions/Options.cs
using System.Collections.Generic; using Silphid.Loadzup.Caching; namespace Silphid.Loadzup { public class Options { public ContentType ContentType; public CachePolicy? CachePolicy; public Dictionary<string, string> RequestHeaders; public bool IsSceneLoadAdditive = true; ...
using System.Collections.Generic; using System.Net.Mime; using Silphid.Loadzup.Caching; namespace Silphid.Loadzup { public class Options { public ContentType ContentType; public CachePolicy? CachePolicy; public Dictionary<string, string> RequestHeaders; public bool IsSceneLoadA...
mit
C#
c10775eed4c562957d844475e3616f1be670f685
Fix property naming inconsistency
loicteixeira/gj-unity-api
Assets/Plugins/GameJolt/Objects/Trophy.cs
Assets/Plugins/GameJolt/Objects/Trophy.cs
using System; using GJAPI.External.SimpleJSON; namespace GJAPI.Objects { public enum TrophyDifficulty { Undefined, Bronze, Silver, Gold, Platinum } public class Trophy : Base { #region Fields & Properties public int ID { get; set; } public string Title { get; set; } public string Description { get; set; }...
using System; using GJAPI.External.SimpleJSON; namespace GJAPI.Objects { public enum TrophyDifficulty { Undefined, Bronze, Silver, Gold, Platinum } public class Trophy : Base { #region Fields & Properties public int ID { get; set; } public string Title { get; set; } public string Description { get; set; }...
mit
C#
6c1d9e4802668725506dc3c67e0e80b38be22929
bump version to 0.7.2
Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.7.2")] [assembly: AssemblyFileVersion("0.7.2")]
using System.Reflection; [assembly: AssemblyVersion("0.7.1")] [assembly: AssemblyFileVersion("0.7.1")]
unlicense
C#
bc7d8052c308cb714272616b7eaf098eb3800ca0
Refactor NumberEncoderService to match algorithms in EOSERV source more closely
ethanmoffat/EndlessClient
EOLib.IO/Services/NumberEncoderService.cs
EOLib.IO/Services/NumberEncoderService.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.Linq; namespace EOLib.IO.Services { public class NumberEncoderService : INumberEncoderService { public byte[] EncodeNumber(int number, int s...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file namespace EOLib.IO.Services { public class NumberEncoderService : INumberEncoderService { public byte[] EncodeNumber(int number, int size) { ...
mit
C#
6f82480f9ed3eee5e6f62f8ed51af073a50db5f4
Fix serverlist mod.
fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game
serverlist/main.cs
serverlist/main.cs
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2009, mEthLab Interactive //------------------------------------------------------------------------------ // Game information used to query the master server $Client::GameTypeQuery ...
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2009, mEthLab Interactive //------------------------------------------------------------------------------ // Game information used to query the master server $Client::GameTypeQuery ...
lgpl-2.1
C#
bb289e8622e1c939662cdcf8a1fd2d573b48e413
fix issue on incorrect click for GotoMyAccountPage
ProtoTest/ProtoTest.Golem,ProtoTest/ProtoTest.Golem
Golem.PageObjects.Cael/HeaderComponent.cs
Golem.PageObjects.Cael/HeaderComponent.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Golem.Framework; using Golem.PageObjects.Cael.MyAccount; using OpenQA.Selenium; namespace Golem.PageObjects.Cael { public class HeaderComponent : BasePageObject { public Element We...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Golem.Framework; using Golem.PageObjects.Cael.MyAccount; using OpenQA.Selenium; namespace Golem.PageObjects.Cael { public class HeaderComponent : BasePageObject { public Element We...
apache-2.0
C#
2060aede20cdabfdcb82a2d420eb65bb0925312b
Remove unwanted COM using directive
jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode
Drums/VDrumExplorer.ViewModel/IViewServices.cs
Drums/VDrumExplorer.ViewModel/IViewServices.cs
// Copyright 2020 Jon Skeet. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Threading.Tasks; using VDrumExplorer.ViewModel.Audio; using VDrumExplorer.ViewModel.Data; using VDrumExplorer.ViewModel.Dialogs; using VDrumExplorer.Vie...
// Copyright 2020 Jon Skeet. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Runtime.InteropServices.ComTypes; using System.Threading.Tasks; using VDrumExplorer.ViewModel.Audio; using VDrumExplorer.ViewModel.Data; using VDrumExpl...
apache-2.0
C#
a2fe7e40d9dd2440cca5fbbe01cabbf25add754b
fix typo
bennettp123/test
ConsoleApplication1/ConsoleApplication1/Program.cs
ConsoleApplication1/ConsoleApplication1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string blah = "Hello World"; System.Console.Out.WriteLine(blah); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { string blah = "Hello World"; System.Console.Out.WriteLine(blah) ...
mit
C#
41b94c962a2aecb8b9a2c0a7606b1cc7c9b61a5e
Add IoC registration for login data translator
ethanmoffat/EndlessClient
EOLib/Net/Translators/PacketTranslatorContainer.cs
EOLib/Net/Translators/PacketTranslatorContainer.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 EOLib.Data.Login; using EOLib.Data.Protocol; using Microsoft.Practices.Unity; namespace EOLib.Net.Translators { public class PacketTranslatorContainer : IDependen...
// 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 EOLib.Data.Protocol; using Microsoft.Practices.Unity; namespace EOLib.Net.Translators { public class PacketTranslatorContainer : IDependencyContainer { public ...
mit
C#
7dbf613bc8d42cf410dbace46973a6d3079450e8
Remove string[] hack in ExportProperties.IconPaths since apparently it was already supported as one of the accessor types.
blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon
Compiler/Wax/ExportProperties.cs
Compiler/Wax/ExportProperties.cs
using System.Collections.Generic; namespace Wax { public class ExportProperties : JsonBasedObject { public ExportProperties() : base() { } public ExportProperties(IDictionary<string, object> data) : base(data) { } public string ByteCode { get { return this.GetString("byteCode...
using System.Collections.Generic; namespace Wax { public class ExportProperties : JsonBasedObject { public ExportProperties() : base() { } public ExportProperties(IDictionary<string, object> data) : base(data) { } public string ByteCode { get { return this.GetString("byteCode...
mit
C#
b07332640a76f0243261f8ab597304e72a5a4c3c
Fix SecretCache
bbqchickenrobot/Akavache,shana/Akavache,MathieuDSTP/MyAkavache,ghuntley/AkavacheSandpit,mms-/Akavache,christer155/Akavache,PureWeen/Akavache,martijn00/Akavache,kmjonmastro/Akavache,akavache/Akavache,MarcMagnin/Akavache,Loke155/Akavache,jcomtois/Akavache,shiftkey/Akavache,gimsum/Akavache,shana/Akavache
Akavache/WinRTEncryptedBlobCache.cs
Akavache/WinRTEncryptedBlobCache.cs
using System; using System.IO; using System.Reactive.Concurrency; using System.Reactive.Windows.Foundation; using System.Runtime.InteropServices.WindowsRuntime; using System.Reactive.Linq; using System.Reflection; using ReactiveUI; using Windows.Security.Cryptography.DataProtection; using Windows.Storage; namespace A...
using System; using System.IO; using System.Reactive.Concurrency; using System.Reactive.Windows.Foundation; using System.Runtime.InteropServices.WindowsRuntime; using System.Reactive.Linq; using System.Reflection; using ReactiveUI; using Windows.Security.Cryptography.DataProtection; using Windows.Storage; namespace A...
mit
C#
7442ec14d7517ede71a7edc67e1fecf16caee1d1
Fix DB connection
pavel07/Proyecto_MiniTrello,pavel07/Proyecto_MiniTrello
MiniTrello.Infrastructure/ConfigureDatabase.cs
MiniTrello.Infrastructure/ConfigureDatabase.cs
using AcklenAvenue.Data.NHibernate; using Autofac; using FluentNHibernate.Cfg.Db; using MiniTrello.Data; using NHibernate; namespace MiniTrello.Infrastructure { public class ConfigureDatabase : IBootstrapperTask { readonly ContainerBuilder container; public ConfigureDatabase(ContainerBuilder c...
using AcklenAvenue.Data.NHibernate; using Autofac; using FluentNHibernate.Cfg.Db; using MiniTrello.Data; using NHibernate; namespace MiniTrello.Infrastructure { public class ConfigureDatabase : IBootstrapperTask { readonly ContainerBuilder container; public ConfigureDatabase(ContainerBuilder c...
mit
C#
1232463ad86e59fe4c3aaef8022480f07942a24e
Ajuste no mapeamento de rotas para evitar duplicidade
cayodonatti/TopGearApi
TopGearApi/App_Start/WebApiConfig.cs
TopGearApi/App_Start/WebApiConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Formatting; using System.Web.Http; namespace TopGearApi { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and serv...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Formatting; using System.Web.Http; namespace TopGearApi { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and serv...
mit
C#
68e5cf269b7c63ec17db2ca74fb635c34b31bd1c
Improve ISampleChannel.Play's xmldoc
ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Audio/Sample/ISampleChannel.cs
osu.Framework/Audio/Sample/ISampleChannel.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.Audio.Track; namespace osu.Framework.Audio.Sample { /// <summary> /// A channel playing back an audio sample. /// </summary> public i...
// 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. namespace osu.Framework.Audio.Sample { /// <summary> /// A channel playing back an audio sample. /// </summary> public interface ISampleChannel : IHasAmpl...
mit
C#
1965b62b19396882d65bd39e122c04571835fe8d
Change enum value name
arnovb-github/CmcLibNet
CmcLibNet.Export/ValueFormatting.cs
CmcLibNet.Export/ValueFormatting.cs
namespace Vovin.CmcLibNet.Export { /// <summary> /// Enum for data output formats. /// </summary> internal enum ValueFormatting { /// <summary> /// No formatting, use data as-is. This means formatted to whatever formatting Commence inherits from the system. /// </summary> ...
namespace Vovin.CmcLibNet.Export { /// <summary> /// Enum for data output formats. /// </summary> internal enum ValueFormatting { /// <summary> /// No formatting, use data as-is. This means formatted to whatever formatting Commence inherits from the system. /// </summary> ...
mit
C#
b3275ccae9377a75e063afdb619a0ea5be468b4d
Simplify dictionary logic
skyguy94/dynamic-wrapper
DynamicWrapper/WrapperDictionary.cs
DynamicWrapper/WrapperDictionary.cs
using System; using System.Collections.Generic; namespace DynamicWrapper { internal class WrapperDictionary { private readonly Dictionary<string, Type> _wrapperTypes = new Dictionary<string, Type>(); private static string GenerateKey(Type interfaceType, Type realObjectType) { return interfaceTyp...
using System; using System.Collections.Generic; namespace DynamicWrapper { internal class WrapperDictionary { private readonly Dictionary<string, Type> _wrapperTypes = new Dictionary<string, Type>(); private static string GenerateKey(Type interfaceType, Type realObjectType) { return interfaceTyp...
mit
C#
988f8df05a009449cb0ec8645dc09286d8487b1c
clean up TabControl
jarmo/RAutomation,modulexcite/RAutomation,jarmo/RAutomation,jarmo/RAutomation,modulexcite/RAutomation,modulexcite/RAutomation,jarmo/RAutomation,modulexcite/RAutomation
ext/UiaDll/RAutomation.UIA/TabControl.cs
ext/UiaDll/RAutomation.UIA/TabControl.cs
using System.Collections.Generic; using System.Linq; using System.Windows.Automation; namespace RAutomation.UIA { public class TabControl { private readonly AutomationElement _element; public TabControl(AutomationElement element) { _element = element; } pu...
using System.Collections.Generic; using System.Linq; using System.Windows.Automation; namespace RAutomation.UIA { public class TabControl { private readonly AutomationElement _element; public TabControl(AutomationElement element) { _element = element; } pu...
mit
C#
7de732361e35815e3ff6aed2e41c96542108ce03
Fix port in arguments crashing app
Zyrio/ictus,Zyrio/ictus
src/Yio/Program.cs
src/Yio/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Yio.Utilities; namespace Yio { public c...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Yio.Utilities; namespace Yio { public c...
mit
C#
71035ce9d5506d22dd1cc296ee9d436820725685
bump version
MetacoSA/NBitcoin,stratisproject/NStratis,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,lontivero/NBitcoin,dangershony/NStratis,bitcoinbrisbane/NBitcoin,MetacoSA/NBitcoin,HermanSchoenfeld/NBitcoin,NicolasDorier/NBitcoin
NBitcoin/Properties/AssemblyInfo.cs
NBitcoin/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#
1a6e88d9b2919f98ba77a42d8a54be84d95c66b6
Fix integer overflow on large collection files
markmeeus/MarcelloDB
MarcelloDB/Helpers/DataHelper.cs
MarcelloDB/Helpers/DataHelper.cs
using System; namespace MarcelloDB.Helpers { internal class DataHelper { internal static void CopyData( Int64 sourceAddress, byte[] sourceData, Int64 targetAddress, byte[] targetData) { Int64 lengthToCopy = sourceData.Length; ...
using System; namespace MarcelloDB.Helpers { internal class DataHelper { internal static void CopyData( Int64 sourceAddress, byte[] sourceData, Int64 targetAddress, byte[] targetData) { var lengthToCopy = sourceData.Length; ...
mit
C#
d3d52c7e384f9c04d52d5d6a7cc69a2aec9a5db6
Update UserInfoResponse.cs
pdcdeveloper/QpGoogleApi
OAuth/Models/UserInfoResponse.cs
OAuth/Models/UserInfoResponse.cs
/* Date : Monday, June 13, 2016 Author : pdcdeveloper (https://github.com/pdcdeveloper) Objective : Version : 1.0 */ using Newtonsoft.Json; /// /// <summary> /// Model of a GooglePlus user. /// </summary> /// namespace QPGoogleAPI.OAuth.Models { /// /// <remarks> ...
/* Date : Monday, June 13, 2016 Author : QualiP (https://github.com/QualiP) Objective : Version : 1.0 */ using Newtonsoft.Json; /// /// <summary> /// Model of a GooglePlus user. /// </summary> /// namespace QPGoogleAPI.OAuth.Models { /// /// <remarks> /// ...
mit
C#
d5c78771ecde0713a9f1b825b4c1b5f03c047b6b
Clean up.
otac0n/Pegasus,dmunch/Pegasus,dmunch/Pegasus
Pegasus.Tests/RegressionTests.cs
Pegasus.Tests/RegressionTests.cs
// ----------------------------------------------------------------------- // <copyright file="RegressionTests.cs" company="(none)"> // Copyright © 2013 John Gietzen. All Rights Reserved. // This source is subject to the MIT license. // Please see license.txt for more information. // </copyright> // -----------...
namespace Pegasus.Tests { using System.Linq; using NUnit.Framework; using Pegasus.Compiler; using Pegasus.Parser; [TestFixture] public class RegressionTests { [Test(Description = "GitHub bug #20")] public void Compile_WhenGivenAGrammarWithARuleWithAnImmediateTypedExpression...
mit
C#
76af7fec0e93377a95074bdd107f8344b1e31240
add modification tests
ceee/PocketSharp
PocketSharp.Tests/ModifyTests.cs
PocketSharp.Tests/ModifyTests.cs
using System; using System.Threading.Tasks; using System.Collections.Generic; using Xunit; using PocketSharp.Models; namespace PocketSharp.Tests { public class ModifyTests : TestsBase { public ModifyTests() : base() { } [Fact] public async Task IsAnItemArchivedAndUnarchived() { PocketItem ...
using System; using System.Threading.Tasks; using System.Collections.Generic; using Xunit; using PocketSharp.Models; namespace PocketSharp.Tests { class ModifyTests : TestsBase { public ModifyTests() : base() { } } }
mit
C#
f7645637a84ffe9ebc4a9825918cfa47d5b38cf4
Remove unused using;
KonH/UDBase
Scripts/Controllers/Save/Save.cs
Scripts/Controllers/Save/Save.cs
using System; using System.Collections.Generic; using UnityEngine; using UDBase.Utils; using Rotorz.Games.Reflection; namespace UDBase.Controllers.SaveSystem { public interface ISaveSource { } public class Save { [Serializable] public class SaveItem { [ClassImplements(typeof(ISaveSource))] public ClassT...
using System; using System.Collections.Generic; using UnityEngine; using UDBase.Utils; using UDBase.Common; using Rotorz.Games.Reflection; namespace UDBase.Controllers.SaveSystem { public interface ISaveSource { } public class Save { [Serializable] public class SaveItem { [ClassImplements(typeof(ISaveSourc...
mit
C#
7d6eefa821f5297c6c214fa5030c9cb883b6a0b2
Fix XML documentation of ITreeWalker.TryGetParent
jasonmcboyd/Treenumerable
Source/Treenumerable/ITreeWalker.cs
Source/Treenumerable/ITreeWalker.cs
using System.Collections.Generic; namespace Treenumerable { /// <summary> /// Represents an object that is capable of getting the parent and child nodes of a node in a /// tree. /// </summary> /// <typeparam name="T">The type of elements in the tree.</typeparam> public interface ITreeWalker<T>...
using System.Collections.Generic; namespace Treenumerable { /// <summary> /// Represents an object that is capable of getting the parent and child nodes of a node in a /// tree. /// </summary> /// <typeparam name="T">The type of elements in the tree.</typeparam> public interface ITreeWalker<T>...
mit
C#
2b54b75156e64e46ce79b28ae23c762a866ff47d
Bump v1.0.19
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
apache-2.0
C#
5cc575ed4ba84184a3ef28d0fd55a8896a026f90
Update version number to 0.3.2.0.
beppler/trayleds
TrayLeds/Properties/AssemblyInfo.cs
TrayLeds/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("TrayLeds")] [assembly: AssemblyDescription...
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("TrayLeds")] [assembly: AssemblyDescription...
mit
C#
e077d1793eb559245557559b18878c81d62c36a9
use environment instead of args
3ventic/BotVenticCore
BotVentic2/Program.cs
BotVentic2/Program.cs
using System; using System.Net.Http; using System.Threading.Tasks; class Program { static void Main(string[] args) { string token = Environment.GetEnvironmentVariable("TOKEN"); string clientid = Environment.GetEnvironmentVariable("CLIENT_ID"); if (string.IsNullOrEmpty(token)) {...
using System; using System.Net.Http; using System.Threading.Tasks; class Program { static void Main(string[] args) { if (args.Length < 2) { Console.WriteLine("Required arguments: [bot token] [client id]"); } else { Console.WriteLine($"Starting......
mit
C#
52a7dbb1231f126f99c521c3ec01864364b05b01
test change
ilse-macias/SeleniumSetup
CSSPath/EntryPoint.cs
CSSPath/EntryPoint.cs
using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System.Threading; using System; class EntryPoint { static void Main() { string url = "http://testing.todvachev.com/selectors/css-path/"; string cssPath = "#post-108 > div > figure > img"; string xPath = ".//*[@id='post-108']/di...
using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using System.Threading; using System; class EntryPoint { static void Main() { string url = "http://testing.todvachev.com/selectors/css-path/"; string cssPath = "#post-108 > div > figure > img"; string xPath = ".//*[@id='post-108']/di...
mit
C#
5b63748cda335490fdacc9d9855b993a2d1f1861
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.LastVisitedPidlMRU/ValuesOut.cs
RegistryPlugin.LastVisitedPidlMRU/ValuesOut.cs
using System; using System.IO; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.LastVisitedPidlMRU { public class ValuesOut:IValueOut { public ValuesOut(string ext, string absolutePath, string details, string valueName, int mruPosition, DateTimeOffset? openedOn) { ...
using System; using System.IO; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.LastVisitedPidlMRU { public class ValuesOut:IValueOut { public ValuesOut(string ext, string absolutePath, string details, string valueName, int mruPosition, DateTimeOffset? openedOn) { ...
mit
C#
00dbdf544e80ffe97f3f81bfda3ea1ac1963bdc9
update version
Fody/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("2.0.1")...
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("2.0.0")...
mit
C#
41fca91bc9442dcef437530026c468aab8a3b105
Update IMongoRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/Mongo/IMongoRepository.cs
TIKSN.Core/Data/Mongo/IMongoRepository.cs
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.Mongo { public interface IMongoRepository<TDocument, TIdentity> : IRepository<TDocument>, IQueryRepository<TDocument, TIdentity>, IStreamRepository<TDocument> where TDocument : IEntity<TIdentity> where TIdentity : IEquatable<...
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.Mongo { public interface IMongoRepository<TDocument, TIdentity> : IRepository<TDocument>, IQueryRepository<TDocument, TIdentity> where TDocument : IEntity<TIdentity> where TIdentity : IEquatable<TIdentity> { Task ...
mit
C#
04c19a3b3c3dc7a0351581330deef8c4c648c728
Fix SavedCameras being null
SteamDatabase/ValveResourceFormat
GUI/Utils/Settings.cs
GUI/Utils/Settings.cs
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using ValveKeyValue; namespace GUI.Utils { internal static class Settings { public class AppConfig { public List<string> GameSearchPaths { get; set; } = new List<string>(); public stri...
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using ValveKeyValue; namespace GUI.Utils { internal static class Settings { public class AppConfig { public List<string> GameSearchPaths { get; set; } = new List<string>(); public stri...
mit
C#
8d0017fd031473ab7df1b883d1b08a9e471bcc2a
Fix navigator.getUserMedia webkit(TypeError: Illegal invocation) + moz(typo)
n9/SaltarelleWeb,n9/SaltarelleWeb,Saltarelle/SaltarelleWeb,n9/SaltarelleWeb,n9/SaltarelleWeb,Saltarelle/SaltarelleWeb
Web/Html/Navigator.cs
Web/Html/Navigator.cs
using System.Html.Media; using System.Runtime.CompilerServices; namespace System.Html { public partial class Navigator { [InlineCode("(navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia).call(navigator, {params}, {onsuccess})")] public static void GetUs...
using System.Html.Media; using System.Runtime.CompilerServices; namespace System.Html { public partial class Navigator { [InlineCode("(navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozUserMedia || navigator.msGetUserMedia)({params}, {onsuccess})")] public static void GetUserMedia(MediaStream...
apache-2.0
C#
458f663f16cf4c8978f3740f6c0759f47670e60e
Make SafeAreaTargetContainer.SafeAreaPadding entirely internal
peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework/Graphics/Containers/SafeAreaTargetContainer.cs
osu.Framework/Graphics/Containers/SafeAreaTargetContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Platform; namespace osu.Framework.Graphics.Containers { /// <summar...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Platform; namespace osu.Framework.Graphics.Containers { /// <summar...
mit
C#
bd590fe33983292d9b16bdd9e33b75d4cf70a54a
Bump version number
svroonland/TwinRx
TwinRx/Properties/AssemblyInfo.cs
TwinRx/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("Tw...
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("Tw...
apache-2.0
C#
042623c69bc4669823189a65bb39a22a728e074e
Fix shadowing property.
ctl-global/ctl-data
Ctl.Data.Excel/ExcelObjectOptions.cs
Ctl.Data.Excel/ExcelObjectOptions.cs
/* Copyright (c) 2015, CTL Global, Inc. 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 condition...
/* Copyright (c) 2015, CTL Global, Inc. 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 condition...
bsd-2-clause
C#
c9fd13950a468d8e6b6f82343217b74d2d0ea8e1
Use glob-recurse and fix the program when you pass it file names
sensics/DeviceMetadataTools
DeviceMetadataInstallTool/Program.cs
DeviceMetadataInstallTool/Program.cs
using System; using System.IO; using System.Collections; namespace DeviceMetadataInstallTool { class Program { static void Main(string[] args) { var files = new System.Collections.Generic.List<String>(); //Console.WriteLine("Args size is {0}", args.Length); ...
using System; using System.IO; using System.Collections; namespace DeviceMetadataInstallTool { /// <summary> /// see https://support.microsoft.com/en-us/kb/303974 /// </summary> class MetadataFinder { public System.Collections.Generic.List<String> Files = new System.Collections.Generic.Lis...
apache-2.0
C#
7e55fea81cf45795037f20d99f69c87250ec975d
add License to list details API endpoint
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Services/FilterListService/ListDetailsDto.cs
src/FilterLists.Services/FilterListService/ListDetailsDto.cs
using System; using System.Collections.Generic; namespace FilterLists.Services.FilterListService { public class ListDetailsDto { public int Id { get; set; } public string Description { get; set; } public string DescriptionSourceUrl { get; set; } public DateTime? DiscontinuedDat...
using System; using System.Collections.Generic; namespace FilterLists.Services.FilterListService { public class ListDetailsDto { public int Id { get; set; } public string Description { get; set; } public string DescriptionSourceUrl { get; set; } public DateTime? DiscontinuedDat...
mit
C#
d6e1c8053214027001d0572f60f6d89c306f3cde
revert the assemblyversion only updated assemblyfileversion
DheerendraRathor/azure-sdk-for-net,jamestao/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yaakoviyun/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,jam...
src/SDKs/IotHub/Management.IotHub/Properties/AssemblyInfo.cs
src/SDKs/IotHub/Management.IotHub/Properties/AssemblyInfo.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft Azure IotHub Management Library")] [a...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft Azure IotHub Management Library")] [a...
mit
C#
ca27fef1ca8f3872332c7d03ad8977ae2f32a99f
Fix leak in EN for iOS (#1075)
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
iOS/ExposureNotification/source/Extensions.cs
iOS/ExposureNotification/source/Extensions.cs
using System; using System.Runtime.InteropServices; using Foundation; using ObjCRuntime; namespace ExposureNotifications { public static class ENAttenuationRange { public static byte Min { get; } = byte.MinValue; public static byte Max { get; } = byte.MaxValue; } public static class ENRiskLevelRange { publi...
using System; using System.Runtime.InteropServices; using Foundation; using ObjCRuntime; namespace ExposureNotifications { public static class ENAttenuationRange { public static byte Min { get; } = byte.MinValue; public static byte Max { get; } = byte.MaxValue; } public static class ENRiskLevelRange { publi...
mit
C#
6bf42f87af6bbb9d45321a884c2b4af3b6da69db
increment minor version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
c5af0ff23356413f096d265be561855ebfb5473d
increment pre-release version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
3b324b7a039af0924937f907313ae7966b8a6daa
remove unused usings
psyun/HDO2O-RestfulAPI
HDO2O.Models/ApplicationDbContext.cs
HDO2O.Models/ApplicationDbContext.cs
using Microsoft.AspNet.Identity.EntityFramework; using System.Data.Entity; namespace HDO2O.Models { public class ApplicationDbContext : IdentityDbContext<ApplicationUser> { public ApplicationDbContext() : base("DefaultConnection", throwIfV1Schema: false) { } public...
using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HDO2O.Models { public class ApplicationDbContext : IdentityDbContext<ApplicationUser> { public ApplicationDbContext() ...
apache-2.0
C#
c8d158e7535e3e7d563cb65f2e838bc17f3da261
Add FixedTimeIsAllZeros function
ektrah/nsec
src/Experimental/CryptographicUtilities.cs
src/Experimental/CryptographicUtilities.cs
using System; using System.Runtime.CompilerServices; namespace NSec.Experimental { public static class CryptographicUtilities { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static byte[] Base64Decode(string base64) { return NSec.Experimental.Text.Base64.Decode(b...
using System; using System.Runtime.CompilerServices; namespace NSec.Experimental { public static class CryptographicUtilities { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static byte[] Base64Decode(string base64) { return NSec.Experimental.Text.Base64.Decode(b...
mit
C#
f0bc5cf2b1b63e1eb1458d5a97e360bb97157ee4
debug logger in release configuration enabled
OPEXGroup/ITCC.Library
src/ITCC.Logging.Core/Loggers/DebugLogger.cs
src/ITCC.Logging.Core/Loggers/DebugLogger.cs
#define DEBUG // This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com using System.Diagnostics; using ITCC.Logging.Core.Interfaces; namespace ITCC.Logging.Core.Loggers { /// <summary> /// Simple logger...
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com using System.Diagnostics; using ITCC.Logging.Core.Interfaces; namespace ITCC.Logging.Core.Loggers { /// <summary> /// Simple logger for debug logg...
bsd-2-clause
C#
52aea35a4ef6cc81ee1d7075c45fad0c19accd44
Add inline methodimpl option to Require's class methods.
ar3cka/Journalist
src/Journalist.LanguageExtensions/Require.cs
src/Journalist.LanguageExtensions/Require.cs
using System; using System.Diagnostics; using System.Runtime.CompilerServices; namespace Journalist { public static class Require { [DebuggerNonUserCode] [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void True(bool value, string param, string message) { ...
using System; using System.Diagnostics; namespace Journalist { public static class Require { [DebuggerNonUserCode] public static void True(bool value, string param, string message) { if (value == false) { throw new ArgumentException(message, para...
apache-2.0
C#
ea9c1028ad2d553a8bb165a6e3617f0e2571fa4d
Allow external translations
KirillOsenkov/XmlParser
src/Microsoft.Language.Xml/DiagnosticInfo.cs
src/Microsoft.Language.Xml/DiagnosticInfo.cs
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.Resources; namespace Microsoft.Language.Xml { /// <summary> /// Describes how severe a diagnostic is. /// </summary> public enum DiagnosticSeverity ...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; namespace Microsoft.Language.Xml { /// <summary> /// Describes how severe a diagnostic is. /// </summary> public enum DiagnosticSeverity { /// <summary>...
apache-2.0
C#
e04625bf4063226089df673415f7c39b7c41abd5
Fix inverted arugments of argumentnullexception
qqbuby/Alyio.AspNetCore.ApiMessages
src/Alyio.AspNetCore.ApiMessages/Messages/ApiMessage.cs
src/Alyio.AspNetCore.ApiMessages/Messages/ApiMessage.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Alyio.AspNetCore.ApiMessages { /// <summary> /// Represents a api message. /// </summary> public class ApiMessage { private string _message; /// <summary> ...
using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Alyio.AspNetCore.ApiMessages { /// <summary> /// Represents a api message. /// </summary> public class ApiMessage { private string _message; /// <summary> ...
mit
C#
1c2973c967d579ee60478049cf331140d60f3438
Fix tests related to WeakReference and upcoming .NET Core changes.
nkreipke/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,...
src/NHibernate.Test/UtilityTest/WeakHashtableFixture.cs
src/NHibernate.Test/UtilityTest/WeakHashtableFixture.cs
using System; using System.Collections; using System.Runtime.CompilerServices; using NHibernate.Util; using NUnit.Framework; namespace NHibernate.Test.UtilityTest { [TestFixture] public class WeakHashtableFixture { private static WeakHashtable Create() { return new WeakHashtable(); } // NoInlining to k...
using System; using System.Collections; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using NHibernate.Util; using NUnit.Framework; namespace NHibernate.Test.UtilityTest { [TestFixture] public class WeakHashtableFixture { protected WeakHashtable Create() { return new WeakHashtable()...
lgpl-2.1
C#
b0a7cefecc1a5834251b15e5125677a924708a62
Fix permission issue (#2979)
petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Br...
src/OrchardCore.Modules/OrchardCore.Lucene/AdminMenu.cs
src/OrchardCore.Modules/OrchardCore.Lucene/AdminMenu.cs
using Microsoft.Extensions.Localization; using OrchardCore.Navigation; using System; using System.Threading.Tasks; namespace OrchardCore.Lucene { public class AdminMenu : INavigationProvider { public AdminMenu(IStringLocalizer<AdminMenu> localizer) { T = localizer; } ...
using Microsoft.Extensions.Localization; using OrchardCore.Navigation; using System; using System.Threading.Tasks; namespace OrchardCore.Lucene { public class AdminMenu : INavigationProvider { public AdminMenu(IStringLocalizer<AdminMenu> localizer) { T = localizer; } ...
bsd-3-clause
C#
a77730f8712dc0c16daaa0cdeeb059e8b887138e
Patch from Wouter Bolsterlee fixing mnemonic support (BGO #557880)
GNOME/hyena,arfbtwn/hyena,arfbtwn/hyena,GNOME/hyena,dufoli/hyena,petejohanson/hyena,dufoli/hyena,petejohanson/hyena
Hyena.Gui/Hyena.Widgets/ImageButton.cs
Hyena.Gui/Hyena.Widgets/ImageButton.cs
// // ImageButton.cs // // Authors: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, inclu...
// // ImageButton.cs // // Authors: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, inclu...
mit
C#
f247d2aa216e1cf3a50aa7519eb80b3b6fbb3044
Use more standard namespace formatting
smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-fram...
osu.Framework/Platform/Linux/LinuxGameHost.cs
osu.Framework/Platform/Linux/LinuxGameHost.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Platform.Linux.Native; namespace osu.Framework.Platform.Linux { public class LinuxGameHost : DesktopGameHost { internal L...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE namespace osu.Framework.Platform.Linux { using Native; public class LinuxGameHost : DesktopGameHost { internal LinuxGameHost(string gameN...
mit
C#
28143278d2d59ed6c69f57441b6e062e8539beb5
Make COlDef ctor public
seguemark/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,Sohra/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,mcintyre321/mvc.jquery.datatables,seguemark/mvc.jquery.datatables,Sohra/mvc.jquery.datatables
Mvc.JQuery.Datatables/Models/ColDef.cs
Mvc.JQuery.Datatables/Models/ColDef.cs
using System; using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace Mvc.JQuery.Datatables.Models { public class ColDef { public ColDef(string name, Type type) { Name = name; Type = type; Filter = new FilterDef(Type); DisplayName...
using System; using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace Mvc.JQuery.Datatables.Models { public class ColDef { protected internal ColDef(string name, Type type) { Name = name; Type = type; Filter = new FilterDef(Type); ...
mit
C#
219dbf203ee5afe99161013093f6053ef402668b
add new AudioRenderer component and comment out the first gui
TUD-INF-IAI-MCI/BrailleIO,TUD-INF-IAI-MCI/BrailleIO,TUD-INF-IAI-MCI/BrailleIO,TUD-INF-IAI-MCI/BrailleIO
BrailleIO/Structs/BoxModel.cs
BrailleIO/Structs/BoxModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BrailleIO.Structs { public struct BoxModel { public uint Top; public uint Bottom; public uint Left; public uint Right; /// <summary> /// Returns a <se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BrailleIO.Structs { public struct BoxModel { public uint Top; public uint Bottom; public uint Left; public uint Right; /// <summary> /// Returns a <se...
bsd-2-clause
C#
c18e097953926ffec5a007467f06333d69fb9d44
Enable CORS again for Account controller.
enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api
Infopulse.EDemocracy.Web/Controllers/API/AccountController.cs
Infopulse.EDemocracy.Web/Controllers/API/AccountController.cs
using Infopulse.EDemocracy.Data.Repositories; using Infopulse.EDemocracy.Web.Models; using Microsoft.AspNet.Identity; using System.Threading.Tasks; using System.Web.Http; using Infopulse.EDemocracy.Common.Operations; using Infopulse.EDemocracy.Web.CORS; namespace Infopulse.EDemocracy.Web.Controllers.API { [CorsPolic...
using Infopulse.EDemocracy.Data.Repositories; using Infopulse.EDemocracy.Web.Models; using Microsoft.AspNet.Identity; using System.Threading.Tasks; using System.Web.Http; using Infopulse.EDemocracy.Common.Operations; namespace Infopulse.EDemocracy.Web.Controllers.API { [RoutePrefix("api/Account")] public class Acco...
cc0-1.0
C#
5cd4208ac8cfc577ad5e2cfb0c0b306e4cf9210c
fix a problem with null values
marinoscar/MySql2MSSQL
Code/MySql2MSSQL/SqlHelper.cs
Code/MySql2MSSQL/SqlHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MySql2MSSQL { public class SqlHelper { private Dictionary<int, bool> _numberIndex; public SqlHelper(Arguments args) { Args = args; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MySql2MSSQL { public class SqlHelper { private Dictionary<int, bool> _numberIndex; public SqlHelper(Arguments args) { Args = args; } ...
mit
C#
8d904049937aeb994b9e13673bcb5fb507833209
Update Demo
sunkaixuan/SqlSugar
Src/Asp.Net/PerformanceTest/Program.cs
Src/Asp.Net/PerformanceTest/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PerformanceTest.TestItems; namespace PerformanceTest { class Program { /// <summary> /// 注意注意注意注意注意:分开测试比较公平,并且请在Realse模式下启动程序(SqlSugar直接引用的是项目) /// </summary> /// <param name="args"></...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PerformanceTest.TestItems; namespace PerformanceTest { class Program { /// <summary> /// 注意注意注意注意注意:分开测试比较公平,并且请在Realse模式下启动程序(SqlSugar直接引用的是项目) /// </summary> /// <param name="args"></...
apache-2.0
C#
76d47794411af70ae0eb1cd5faf485e46b586835
Document HwiCommands.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Hwi/Models/HwiCommands.cs
WalletWasabi/Hwi/Models/HwiCommands.cs
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Hwi.Models { /// <summary> /// List of commands that HWI project supports for various <see href="https://en.wikipedia.org/wiki/Human_interface_device">HID devices</see>. /// </summary> /// <remarks>HWI may partially support a...
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Hwi.Models { public enum HwiCommands { Enumerate, GetMasterXpub, SignTx, GetXpub, SignMessage, GetKeypool, DisplayAddress, Setup, Wipe, Restore, Backup, PromptPin, SendPin } }
mit
C#
f8f93d87866634a5e14c4c038001b1b112b470e5
Fix map path for single player maps
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Data/Sav/GameStateMap.cs
src/OpenSage.Game/Data/Sav/GameStateMap.cs
using System.IO; using OpenSage.Network; namespace OpenSage.Data.Sav { internal static class GameStateMap { internal static void Load(SaveFileReader reader, Game game) { reader.ReadVersion(2); var mapPath1 = reader.ReadAsciiString(); var mapPath2 = reader.R...
using System.IO; using OpenSage.Network; namespace OpenSage.Data.Sav { internal static class GameStateMap { internal static void Load(SaveFileReader reader, Game game) { reader.ReadVersion(2); var mapPath1 = reader.ReadAsciiString(); var mapPath2 = reader.R...
mit
C#
3bd3e41661eea6e3649dca30bb7a6e3dadeafb89
Add extension to verify mimetype.
TastesLikeTurkey/Papyrus
Papyrus/Papyrus/Extensions/EbookExtensions.cs
Papyrus/Papyrus/Extensions/EbookExtensions.cs
using System; using System.Threading.Tasks; using Windows.Storage; namespace Papyrus { public static class EBookExtensions { public static async Task<bool> VerifyMimetypeAsync(this EBook ebook) { var mimetypeFile = await ebook._rootFolder.GetItemAsync("mimetype"); if (...
namespace Papyrus { public static class EBookExtensions { } }
mit
C#
56dc98c537f465c8abec1b21e9b54b4f16aa62d3
Revert "Allow diffs to be run from the root"
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
.ci/nuget-diff.cake
.ci/nuget-diff.cake
// SECTION: Arguments and Settings var ROOT_DIR = MakeAbsolute((DirectoryPath)Argument("root", ".")); var ARTIFACTS_DIR = MakeAbsolute((DirectoryPath)Argument("artifacts", ROOT_DIR.Combine("output").FullPath)); var CACHE_DIR = MakeAbsolute((DirectoryPath)Argument("cache", ROOT_DIR.Combine("externals/api-diff").FullPa...
// SECTION: Arguments and Settings var ROOT_DIR = MakeAbsolute((DirectoryPath)Argument("root", ".")); var ARTIFACTS_DIR = MakeAbsolute(ROOT_DIR.Combine(Argument("artifacts", "output"))); var CACHE_DIR = MakeAbsolute(ROOT_DIR.Combine(Argument("cache", "externals/api-diff"))); var OUTPUT_DIR = MakeAbsolute(ROOT_DIR.Com...
mit
C#
9c24882a3a179ebbe760957a1fa3b110a8c30200
Remove plural form
aloisdg/SharpResume
SharpResume/Resume.cs
SharpResume/Resume.cs
using System.Linq.Expressions; using Newtonsoft.Json; using SharpResume.Model; namespace SharpResume { public class Resume { public Basics Basics { get; set; } public Work[] Work { get; set; } public Volunteer[] Volunteer { get; set; } public Education[] Education { get; set; } public Award[] Awards { get...
using System.Linq.Expressions; using Newtonsoft.Json; using SharpResume.Model; namespace SharpResume { public class Resume { public Basics Basics { get; set; } public Work[] Works { get; set; } public Volunteer[] Volunteers { get; set; } public Education[] Educations { get; set; } public Award[] Awards { ...
mit
C#
66c96fe5001ba98bb7f47baad383a35c5bf0ff0f
Use azure hosted server for now
AppGet/AppGet
src/AppGet/PackageRepository/AppGetServerClient.cs
src/AppGet/PackageRepository/AppGetServerClient.cs
using System.Collections.Generic; using System.Net; using AppGet.Http; using NLog; namespace AppGet.PackageRepository { public class AppGetServerClient : IPackageRepository { private readonly IHttpClient _httpClient; private readonly Logger _logger; private readonly HttpRequestBuilder ...
using System.Collections.Generic; using System.Net; using AppGet.Http; using NLog; namespace AppGet.PackageRepository { public class AppGetServerClient : IPackageRepository { private readonly IHttpClient _httpClient; private readonly Logger _logger; private readonly HttpRequestBuilder ...
apache-2.0
C#
915e8b23110ae334e1a1805ab48e909780375711
Support mocking of Hazelcast.Net.Tests assembly's own interfaces (#701)
asimarslan/hazelcast-csharp-client,asimarslan/hazelcast-csharp-client
src/Hazelcast.Net.Tests/Properties/AssemblyInfo.cs
src/Hazelcast.Net.Tests/Properties/AssemblyInfo.cs
// Copyright (c) 2008-2022, Hazelcast, 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...
// Copyright (c) 2008-2022, Hazelcast, 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...
apache-2.0
C#
fa73a877b9f1d4fb742a75cefb569912fb06279b
Improve code documentation in the IMutationValidator interface
openchain/openchain
src/Openchain.Infrastructure/IMutationValidator.cs
src/Openchain.Infrastructure/IMutationValidator.cs
// Copyright 2015 Coinprism, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright 2015 Coinprism, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
apache-2.0
C#
a5c96fe96e4cb4b8bc1539eee24e6f6c37fda2f4
Add tests for json lists.
jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes
ConsoleApps/FunWithSpikes/FunWithNewtonsoft/ListTests.cs
ConsoleApps/FunWithSpikes/FunWithNewtonsoft/ListTests.cs
using Newtonsoft.Json; using NUnit.Framework; using System.Collections.Generic; namespace FunWithNewtonsoft { [TestFixture] public class ListTests { [Test] public void DeserializeObject_JsonList_ReturnsList() { // Assemble string json = @" [ ...
using NUnit.Framework; using System.Collections.Generic; namespace FunWithNewtonsoft { [TestFixture] public class ListTests { [Test] public void Deserialize_PartialList_ReturnsList() { // Assemble string json = @" {'Number':'1','Letter':'A'},...
mit
C#
249b713dc3a5cdeee35cc0460ec2efbe734cad1d
Change the Order for Inlining Multi Units
CryZe/GekkoAssembler
GekkoAssembler.Common/Optimizers/IRMultiUnitOptimizer.cs
GekkoAssembler.Common/Optimizers/IRMultiUnitOptimizer.cs
using System.Collections.Generic; using System.Linq; using GekkoAssembler.IntermediateRepresentation; namespace GekkoAssembler.Optimizers { public class IRMultiUnitOptimizer : IOptimizer { public IRCodeBlock Optimize(IRCodeBlock block) { var units = block.Units; var ne...
using System.Collections.Generic; using System.Linq; using GekkoAssembler.IntermediateRepresentation; namespace GekkoAssembler.Optimizers { public class IRMultiUnitOptimizer : IOptimizer { public IRCodeBlock Optimize(IRCodeBlock block) { var units = block.Units; var ne...
mit
C#
e71d7cb56bd917ee7595dda32e00838cfc6feed8
Update StringExtensionsTests.cs
GHPReporter/Ghpr.Core,GHPReporter/Ghpr.Core,GHPReporter/Ghpr.Core
Ghpr.Core.Tests/Core/Extensions/StringExtensionsTests.cs
Ghpr.Core.Tests/Core/Extensions/StringExtensionsTests.cs
using System; using System.IO; using Ghpr.Core.Extensions; using Ghpr.Core.Settings; using NUnit.Framework; namespace Ghpr.Core.Tests.Core.Extensions { [TestFixture] public class StringExtensionsTests { [TestCase(@"C:\SomePath")] [TestCase(@"C:\SomePath\1")] [TestCase(@"C:\SomePath...
using System; using System.IO; using Ghpr.Core.Extensions; using Ghpr.Core.Settings; using NUnit.Framework; namespace Ghpr.Core.Tests.Core.Extensions { [TestFixture] public class StringExtensionsTests { [TestCase(@"C:\SomePath")] [TestCase(@"C:\SomePath\1")] [TestCase(@"C:\SomePath...
mit
C#
8f525db268642cc95be549bc3949370075dde93f
Fix NullReferenceException
haefele/UwCore
src/UwCore/Services/Navigation/ParametersHelper.cs
src/UwCore/Services/Navigation/ParametersHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using UwCore.Extensions; namespace UwCore.Services.Navigation { public static class ParametersHelper { private static PropertyInfo GetParametersProperty(object instance) { var parametersProp...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using UwCore.Extensions; namespace UwCore.Services.Navigation { public static class ParametersHelper { private static PropertyInfo GetParametersProperty(object instance) { var parametersProp...
mit
C#
fc668d8a74898586c8a774fd1bd50f36032c7746
Move autoplay mod to a less overridable location
peppy/osu-new,smoogipooo/osu,ppy/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,EVAST9919/osu,EVA...
osu.Game/Tests/Visual/PlayerTestScene.cs
osu.Game/Tests/Visual/PlayerTestScene.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 osu.Framework.Allocation; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Testing; using osu.Game.Configuration; using ...
// 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 osu.Framework.Allocation; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Testing; using osu.Game.Configuration; using ...
mit
C#
c777086195462991d44fe8d50be48ce93f4da004
change URL binding
MCeddy/IoT-core
IoT-Core/Program.cs
IoT-Core/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; namespace IoT_Core { public class Program { public static void Main(string[] args) { var host = ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; namespace IoT_Core { public class Program { public static void Main(string[] args) { var host = ...
mit
C#
240681b206f604cd84db74120c9e03100d5a0feb
update meta tags
tburnett80/blender-buddy,tburnett80/blender-buddy,tburnett80/blender-buddy,tburnett80/blender-buddy
blender-buddy-web/Views/Shared/_Layout.cshtml
blender-buddy-web/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-106758103-1"></script> <script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments)};gtag('js', new Date());gtag('config', 'UA-106758103-1');</script> <meta charset="utf-8"/> <...
<!DOCTYPE html> <html> <head> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-106758103-1"></script> <script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments)};gtag('js', new Date());gtag('config', 'UA-106758103-1');</script> <meta charset="utf-8"/> <...
apache-2.0
C#
da763d20e4423080db9b0cf749d6e40d02b6fc09
Update version
segrived/WTManager
WTManager/Properties/AssemblyInfo.cs
WTManager/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("WTManager")] [assembly: AssemblyDescription("Control your Windows services with tray")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Babaev Evgeniy")] [assembly: AssemblyProduct("WTManager")] [assembl...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("WTManager")] [assembly: AssemblyDescription("Control your Windows services with tray")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Babaev Evgeniy")] [assembly: AssemblyProduct("WTManager")] [assembl...
mit
C#
8aa3ed12c604169f23c168d1b3411847d11fe8e3
Move ctor
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Hwi/Models/HwiOption.cs
WalletWasabi/Hwi/Models/HwiOption.cs
using NBitcoin; using System; using System.Collections.Generic; using System.Text; using WalletWasabi.Helpers; using WalletWasabi.Hwi.Parsers; namespace WalletWasabi.Hwi.Models { public class HwiOption : IEquatable<HwiOption> { private HwiOption(HwiOptions type, string argument = null) { Type = type; Argum...
using NBitcoin; using System; using System.Collections.Generic; using System.Text; using WalletWasabi.Helpers; using WalletWasabi.Hwi.Parsers; namespace WalletWasabi.Hwi.Models { public class HwiOption : IEquatable<HwiOption> { public static HwiOption Debug => new HwiOption(HwiOptions.Debug); public static HwiO...
mit
C#
f8f916fca8b1fc50282376b9aaac9c537caa4410
Add XML comment to MotorModule
bl-nero/miss
Miss/MotorModule.cs
Miss/MotorModule.cs
using System; using Nancy; namespace Miss { /// <summary> /// A module that is responsible for interacting with motors. It handles URLs /// of a following structure: <c>/v1/motor/[portSpec]/[action]</c>, where /// <c>[portSpec]</c> decides which motor (or pair of motors) will be used, /// and </c>[action]<...
using System; using Nancy; namespace Miss { public class MotorModule: NancyModule { public MotorModule() : base("/v1/motor") { Get["/{portSpec}/switchOn"] = parameters => { return "Switching on motor " + parameters.portSpec; }; } } }
mit
C#
c3fe35ce72d8033991d9b82968e1e6bcb70dddde
fix unit tests
dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP
test/DotNetCore.CAP.MySql.Test/DatabaseTestHost.cs
test/DotNetCore.CAP.MySql.Test/DatabaseTestHost.cs
using System.Threading; using Dapper; using DotNetCore.CAP.Persistence; namespace DotNetCore.CAP.MySql.Test { public abstract class DatabaseTestHost : TestHost { private static bool _sqlObjectInstalled; public static object _lock = new object(); protected override void PostBuildService...
using System.Threading; using Dapper; using DotNetCore.CAP.Persistence; namespace DotNetCore.CAP.MySql.Test { public abstract class DatabaseTestHost : TestHost { private static bool _sqlObjectInstalled; public static object _lock = new object(); protected override void PostBuildService...
mit
C#
d52edee05775d9dd142f9e277d4eb459d0af07bc
fix #1454 add Query(IQueryContainer) to CountDescriptor
junlapong/elasticsearch-net,robrich/elasticsearch-net,LeoYao/elasticsearch-net,robrich/elasticsearch-net,mac2000/elasticsearch-net,joehmchan/elasticsearch-net,robertlyson/elasticsearch-net,starckgates/elasticsearch-net,joehmchan/elasticsearch-net,SeanKilleen/elasticsearch-net,faisal00813/elasticsearch-net,abibell/elast...
src/Nest/DSL/CountDescriptor.cs
src/Nest/DSL/CountDescriptor.cs
using System; using System.Collections.Generic; using Elasticsearch.Net; using Newtonsoft.Json; namespace Nest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public interface ICountRequest : IQueryPath<CountRequestParameters> { [JsonProperty("query")] IQueryContainer Query { get; set; } } ...
using System; using System.Collections.Generic; using Elasticsearch.Net; using Newtonsoft.Json; namespace Nest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public interface ICountRequest : IQueryPath<CountRequestParameters> { [JsonProperty("query")] IQueryContainer Query { get; set; } } ...
apache-2.0
C#
f12596a10f91847923f3cc062dc712223be4726a
Add snippets for "Period" type showing basic construction using factory methods (#1008)
BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,jskeet/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,nodatime/nodatime
src/NodaTime.Demo/PeriodDemo.cs
src/NodaTime.Demo/PeriodDemo.cs
// Copyright 2010 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NUnit.Framework; namespace NodaTime.Demo { public class PeriodDemo { [Test] public void ConstructionFromYears() { ...
// Copyright 2010 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NUnit.Framework; namespace NodaTime.Demo { public class PeriodDemo { [Test] public void ConstructionFromDays() { ...
apache-2.0
C#
1eca747afe1f3fe48b94b68582e57b73b8b6d985
Add missing XML comments
markashleybell/MAB.DotIgnore,markashleybell/MAB.DotIgnore
MAB.DotIgnore/IgnoreLog.cs
MAB.DotIgnore/IgnoreLog.cs
using System; using System.Collections.Generic; using System.Linq; namespace MAB.DotIgnore { /// <summary> /// Keeps track of which rules matched which path (including overrides etc). /// </summary> public class IgnoreLog : Dictionary<string, List<string>> { /// <summary> /// Retur...
using System; using System.Collections.Generic; using System.Linq; namespace MAB.DotIgnore { public class IgnoreLog : Dictionary<string, List<string>> { public override string ToString() { var nl = Environment.NewLine; var prefix = nl + " "; return string...
mit
C#
f2c8ad51e9ed055ad13d8a7b8e9fb350ca37f6c3
Bump version to 0.1.3
exira/ges-runner
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyTitleAttribute("ges-runner")] [assembly: AssemblyProductAttribute("Exira.EventStore.Runner")] [assembly: AssemblyDescriptionAttribute("Exira.EventStore.Runner is a wrapper that uses Topshelf to run EventStore as a Windows Service")] [assembly: AssemblyV...
// <auto-generated/> using System.Reflection; [assembly: AssemblyTitleAttribute("ges-runner")] [assembly: AssemblyProductAttribute("Exira.EventStore.Runner")] [assembly: AssemblyDescriptionAttribute("Exira.EventStore.Runner is a wrapper that uses Topshelf to run EventStore as a Windows Service")] [assembly: AssemblyV...
mit
C#
7e43a94ac470507ba74ffa56b501a4903d07c5ba
Add capacity and time window data to route events.
nfleet/.net-sdk
NFleetSDK/Data/RouteEventData.cs
NFleetSDK/Data/RouteEventData.cs
using System; using System.Collections.Generic; namespace NFleet.Data { public class RouteEventData : IResponseData, IVersioned { public static string MIMEType = "application/vnd.jyu.nfleet.routeevent"; public static string MIMEVersion = "2.0"; int IVersioned.VersionNumber { get; set;...
using System; using System.Collections.Generic; namespace NFleet.Data { public class RouteEventData : IResponseData, IVersioned { public static string MIMEType = "application/vnd.jyu.nfleet.routeevent"; public static string MIMEVersion = "2.0"; int IVersioned.VersionNumber { get; set;...
mit
C#
9cab2b68fbcfd505f996da2982c792f9d39b7ee6
remove destroyed bullets
pako1337/raim,pako1337/raim,pako1337/raim
PaCode.Raim/Home/RaimHub.cs
PaCode.Raim/Home/RaimHub.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using Nancy.Helpers; using PaCode.Raim.Model; namespace PaCode.Raim.Home { public class RaimHub : Hub { private static Dictionary<string, Player> players = new Dictionary<st...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using Nancy.Helpers; using PaCode.Raim.Model; namespace PaCode.Raim.Home { public class RaimHub : Hub { private static Dictionary<string, Player> players = new Dictionary<st...
mit
C#
0cde03d0f2db87d01dbde0289906cc923728b85a
Optimize line/col tracking in Stringes
TheBerkin/Rant
Rant/Core/Stringes/Chare.cs
Rant/Core/Stringes/Chare.cs
using System.Globalization; namespace Rant.Core.Stringes { /// <summary> /// Represents a charactere, which provides location information on a character taken from a stringe. /// </summary> internal sealed class Chare { private int _column; private int _line; internal Chare(Stringe source, char c, int off...
using System.Globalization; namespace Rant.Core.Stringes { /// <summary> /// Represents a charactere, which provides location information on a character taken from a stringe. /// </summary> internal sealed class Chare { private int _column; private int _line; internal Chare(Stringe source, char c, int off...
mit
C#
f71843ee2e34506e9d43343a8e22c54a9a560136
Fix 2
waldemarzubik/TechTalkWroclaw
Base/NavigationBase.cs
Base/NavigationBase.cs
using System; using System.Collections.Generic; using TechTalk.Interfaces; using TechTalk.ViewModels; namespace TechTalk { public abstract class NavigationBase : INavigation { public virtual void GoBack() { throw new NotImplementedException(); } public virtual void NavigateTo<T>() where T : IBaseViewMod...
using System; using System.Collections.Generic; using TechTalk.Interfaces; using TechTalk.ViewModels; namespace TechTalk { <<<<<<< HEAD public abstract class NavigationBase : INavigation { public virtual void GoBack() { throw new NotImplementedException(); } public virtual void NavigateTo<T>() where T :...
mit
C#
255dcf891e4605897e08113e4055bb6961fabac3
Add a patch number.
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Android/GoogleDagger/build.cake
Android/GoogleDagger/build.cake
var TARGET = Argument ("t", Argument ("target", "ci")); var DAGGERS_VERSION = "2.25.2"; var DAGGERS_NUGET_VERSION = DAGGERS_VERSION + ".1"; var DAGGERS_URL = $"http://central.maven.org/maven2/com/google/dagger/dagger/{DAGGERS_VERSION}/dagger-{DAGGERS_VERSION}.jar"; Task ("externals") .WithCriteria (!FileExists ("./e...
var TARGET = Argument ("t", Argument ("target", "ci")); var DAGGERS_VERSION = "2.25.2"; var DAGGERS_NUGET_VERSION = DAGGERS_VERSION; var DAGGERS_URL = $"http://central.maven.org/maven2/com/google/dagger/dagger/{DAGGERS_VERSION}/dagger-{DAGGERS_VERSION}.jar"; Task ("externals") .WithCriteria (!FileExists ("./external...
mit
C#
087ed52a33b06c83927ee12bf7f07d73fc703518
Bump version
OrleansContrib/Orleankka,pkese/Orleankka,yevhen/Orleankka,mhertis/Orleankka,llytvynenko/Orleankka,AntyaDev/Orleankka,llytvynenko/Orleankka,OrleansContrib/Orleankka,yevhen/Orleankka,AntyaDev/Orleankka,pkese/Orleankka,mhertis/Orleankka
Source/Orleankka.Version.cs
Source/Orleankka.Version.cs
using System.Reflection; [assembly: AssemblyVersion("0.9.0.0")] [assembly: AssemblyFileVersion("0.9.0.0")]
using System.Reflection; [assembly: AssemblyVersion("0.8.8.0")] [assembly: AssemblyFileVersion("0.8.8.0")]
apache-2.0
C#
f359ad963a6014e37d5f6d38b37942e81ed177c5
Add ToString for ServiceDefinitionError.
FacilityApi/Facility
src/Facility.Definition/ServiceDefinitionError.cs
src/Facility.Definition/ServiceDefinitionError.cs
using System; namespace Facility.Definition { /// <summary> /// An error while processing a service definition. /// </summary> public sealed class ServiceDefinitionError { /// <summary> /// Creates an error. /// </summary> public ServiceDefinitionError(string message, NamedTextPosition position, Exception...
using System; namespace Facility.Definition { /// <summary> /// An error while processing a service definition. /// </summary> public sealed class ServiceDefinitionError { /// <summary> /// Creates an error. /// </summary> public ServiceDefinitionError(string message, NamedTextPosition position, Exceptio...
mit
C#
5616ce0bfafc19f34a7a13cb7ef0628c48285043
Fix for #36 - IBuilder extension methods should take IRouter
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Routing/BuilderExtensions.cs
src/Microsoft.AspNet.Routing/BuilderExtensions.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.Routing; namespace Microsoft.AspNet.Builder { public static class BuilderExtensions { public st...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet; using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing; namespace Microsoft.AspNet.Builder { public s...
apache-2.0
C#
0527afe97fbb4f5b817917cacfb4c5bf5d86a74a
Update assembly version.
maraf/Money,maraf/Money,maraf/Money
src/Money.UI.Universal/Properties/AssemblyInfo.cs
src/Money.UI.Universal/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("Mo...
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("Mo...
apache-2.0
C#
31e2248d59926b0bbd93335ab4e741557339d434
Change the method to expression body definition
tparviainen/oscilloscope
SCPI/IDN.cs
SCPI/IDN.cs
using System.Linq; using System.Text; namespace SCPI { public class IDN : ICommand { public string Description => "Query the ID string of the instrument"; public string Manufacturer { get; private set; } public string Model { get; private set; } public string SerialNumber { ge...
using System; using System.Linq; using System.Text; namespace SCPI { public class IDN : ICommand { public string Description => "Query the ID string of the instrument"; public string Manufacturer { get; private set; } public string Model { get; private set; } public string Ser...
mit
C#
b3882008d6b79fa836ae4b5524c9a670bc2de8cf
Update GameEventCharacterTitle.cs
ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,Lidefeath/ACE,ACEmulator/ACE,LtRipley36706/ACE
Source/ACE.Server/Network/GameEvent/Events/GameEventCharacterTitle.cs
Source/ACE.Server/Network/GameEvent/Events/GameEventCharacterTitle.cs
namespace ACE.Server.Network.GameEvent.Events { public class GameEventCharacterTitle : GameEventMessage { public GameEventCharacterTitle(Session session) : base(GameEventType.CharacterTitle, GameMessageGroup.UIQueue, session) { Writer.Write(1u); Writer.Write(s...
namespace ACE.Server.Network.GameEvent.Events { public class GameEventCharacterTitle : GameEventMessage { public GameEventCharacterTitle(Session session) : base(GameEventType.CharacterTitle, GameMessageGroup.UIQueue, session) { Writer.Write(1u); Writer.Write(s...
agpl-3.0
C#
60791f12afad74e563c771e330267d241a2757fa
fix thrift common datetime2 get DateTime range bug.
yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples
Thrift.Common/DateTime2.cs
Thrift.Common/DateTime2.cs
using System; public partial class DateTime2 { private static readonly DateTime _startTime = new DateTime(1, 1, 1); public static implicit operator Int64(DateTime2 time) { if (time == null) { return default(Int64); } return time.Value; } public static ...
using System; public partial class DateTime2 { private static readonly DateTime _startTime = new DateTime(1, 1, 1); public static implicit operator Int64(DateTime2 time) { if (time == null) { return default(Int64); } return time.Value; } public static ...
apache-2.0
C#
e779033ef054956fe033c032cb04aa53bf323050
add link to footer
codingteam/codingteam.org.ru,codingteam/codingteam.org.ru
Views/Shared/_Layout.cshtml
Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <title>@ViewData["Title"]</title> <link rel="icon" type="image/png" href="favicon.png"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="~/style.css"/> </head> <body> <div class="container">...
<!DOCTYPE html> <html> <head> <title>@ViewData["Title"]</title> <link rel="icon" type="image/png" href="favicon.png"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="~/style.css"/> </head> <body> <div class="container">...
mit
C#
c62893056f25f909787537a39a560d955bb8cf49
Add note about reusing of tooltips and the new behaviour
ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Graphics/Cursor/IHasCustomTooltip.cs
osu.Framework/Graphics/Cursor/IHasCustomTooltip.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. namespace osu.Framework.Graphics.Cursor { /// <summary> /// Implementing this interface allows the implementing <see cref="Drawable"/> to display a custom toolti...
// 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. namespace osu.Framework.Graphics.Cursor { /// <summary> /// Implementing this interface allows the implementing <see cref="Drawable"/> to display a custom toolti...
mit
C#