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
3401db182a6fffe9346c7732b5462fad74938639
Update ShapesContainerRenderView.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Wpf/Controls/ShapesContainerRenderView.cs
src/Draw2D.Wpf/Controls/ShapesContainerRenderView.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.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using Draw2D.Core.ViewModels.Containers; namespace Draw2D.Wpf.Controls { ...
// 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.Windows.Controls; using System.Windows.Media; using Draw2D.Core.ViewModels.Containers; namespace Draw2D.Wpf.Controls { public class ShapesContain...
mit
C#
c1aa827441e2abcb573cdb791162a2a55a681555
Bump to v0.9.1
danielwertheim/mynatsclient,danielwertheim/mynatsclient
buildconfig.cake
buildconfig.cake
public class BuildConfig { private const string Version = "0.9.1"; private const bool IsPreRelease = false; public readonly string SrcDir = "./src/"; public readonly string OutDir = "./build/"; public string Target { get; private set; } public string SemVer { get; private set; } pu...
public class BuildConfig { private const string Version = "0.9.0"; private const bool IsPreRelease = false; public readonly string SrcDir = "./src/"; public readonly string OutDir = "./build/"; public string Target { get; private set; } public string SemVer { get; private set; } pu...
mit
C#
701a9fd6aa46556c7bd7864b3daceb4bb627841d
Bump version to v1.1.0.31
TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,XeroAPI/XeroAPI.Net,jcvandan/XeroAPI.Net
source/XeroApi/Properties/AssemblyInfo.cs
source/XeroApi/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("XeroApi")] [assembly: AssemblyDesc...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("XeroApi")] [assembly: AssemblyDesc...
mit
C#
29f0f89a653c9b83150ab45ae7bdcf94dcd0911e
Make one test more explicit, using shoulds rather than approvals. Faster and all the info is inside the test (spec is in one place).
arlobelshee/Fools.net,Minions/Fools.net,JayBazuzi/Fools.net
src/Core/Gibberish.Tests/PickTheRightLanguageForFile/ParserChooseLanguageBasedOnUseLanguageStatement.cs
src/Core/Gibberish.Tests/PickTheRightLanguageForFile/ParserChooseLanguageBasedOnUseLanguageStatement.cs
using ApprovalTests; using Gibberish.AST; using Gibberish.Parsing; using Gibberish.Tests.ZzTestHelpers; using NUnit.Framework; namespace Gibberish.Tests.PickTheRightLanguageForFile { [TestFixture] public class ParserChooseLanguageBasedOnUseLanguageStatement { [Test, Timeout(1000)] public void just_a_uselanguag...
using ApprovalTests; using Gibberish.Parsing; using Gibberish.Tests.ZzTestHelpers; using NUnit.Framework; namespace Gibberish.Tests.PickTheRightLanguageForFile { [TestFixture] public class ParserChooseLanguageBasedOnUseLanguageStatement { [Test, Timeout(1000)] public void just_a_uselanguage_statement_should_be...
bsd-3-clause
C#
d94c51f4dcaf9e639fbb910c1022ad851fc6846a
use Regex to handle wildcards in search query
mvbalaw/MvbaCore
src/MvbaCore/Lucene/LuceneSearchResult.cs
src/MvbaCore/Lucene/LuceneSearchResult.cs
// * ************************************************************************** // * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C. // * This source code is subject to terms and conditions of the MIT License. // * A copy of the license can be found in the License.txt file // * at the root of this distributi...
// * ************************************************************************** // * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C. // * This source code is subject to terms and conditions of the MIT License. // * A copy of the license can be found in the License.txt file // * at the root of this distributi...
mit
C#
59d155533f82b4a8b5f0b01ab58916db56eede1c
add auto open wallet part 1/2
bozoweed/Sanderling
src/Sanderling/Sanderling/Parse/Neocom.cs
src/Sanderling/Sanderling/Parse/Neocom.cs
using System; using System.Linq; using Bib3.Geometrik; using BotEngine.Common; using MemoryStruct = Sanderling.Interface.MemoryStruct; using System.Collections.Generic; namespace Sanderling.Parse { public interface INeocom : MemoryStruct.INeocom { MemoryStruct.IUIElement PeopleAndPlacesButton { get; } MemoryStr...
using System; using System.Linq; using Bib3.Geometrik; using BotEngine.Common; using MemoryStruct = Sanderling.Interface.MemoryStruct; using System.Collections.Generic; namespace Sanderling.Parse { public interface INeocom : MemoryStruct.INeocom { MemoryStruct.IUIElement PeopleAndPlacesButton { get; } MemorySt...
apache-2.0
C#
a717c4821cda51c48a677f2834576dc034bb8683
Add instructions for using UITest REPL.
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
XamarinApp/MyTrips/MyTrips.UITests/Tests.cs
XamarinApp/MyTrips/MyTrips.UITests/Tests.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace MyTrips.UITests { [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Tests(Platform platform) { ...
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace MyTrips.UITests { [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Tests(Platform platform) { ...
mit
C#
129743d6439d99d71ee58f43eeba40a24f43fb5b
change enumeration binder to use value in, object out
pmcvtm/vandelay,HeadspringLabs/vandelay,HeadspringLabs/vandelay,pmcvtm/vandelay,pmcvtm/vandelay
src/Core/App_Start/EnumerationConverter.cs
src/Core/App_Start/EnumerationConverter.cs
using System; using System.Reflection; using Headspring; using Newtonsoft.Json; namespace Core { public class EnumerationConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { dynamic enumeration = value; ...
using System; using System.Reflection; using Headspring; using Newtonsoft.Json; namespace Core { public class EnumerationConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { dynamic enumeration = value; ...
unlicense
C#
420cecc926289fddd715885313d44f470a2070b5
Add xml comments to IDocumentExecuter (#1538)
graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet
src/GraphQL/Execution/IDocumentExecuter.cs
src/GraphQL/Execution/IDocumentExecuter.cs
using System; using System.Threading.Tasks; namespace GraphQL { /// <summary> /// Processes an entire GraphQL request, given an input GraphQL request string. This is intended to /// be called by user code to process a query.<br/> /// <br/> /// Typical implementation starts metrics if enabled, relie...
using System; using System.Threading.Tasks; namespace GraphQL { public interface IDocumentExecuter { Task<ExecutionResult> ExecuteAsync(ExecutionOptions options); Task<ExecutionResult> ExecuteAsync(Action<ExecutionOptions> configure); } }
mit
C#
4a7a354290aa69a724d728034549dbf5db6ff05f
Update DisposableCollection to be thread-safe
Whiteknight/Acquaintance,Whiteknight/Acquaintance
Acquaintance/Utility/DisposableCollection.cs
Acquaintance/Utility/DisposableCollection.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; namespace Acquaintance.Utility { public sealed class DisposableCollection : IDisposable { private readonly ConcurrentBag<IDisposable> _disposables; private volatile int _isDisposed; ...
using System; using System.Collections.Generic; using System.Threading; namespace Acquaintance.Utility { public sealed class DisposableCollection : IDisposable { private readonly List<IDisposable> _disposables; private int _isDisposed; public DisposableCollection() { ...
apache-2.0
C#
514f33dd9cfa50d2458b68f41c964e7b4a48dfbe
Stop being the speaker when starting to fake. Fix #35
Nagasaki45/UnsocialVR,Nagasaki45/UnsocialVR
Assets/Scripts/Player/PlayerTalking.cs
Assets/Scripts/Player/PlayerTalking.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.SceneManagement; using Dissonance; using Dissonance.VAD; public class PlayerTalking : NetworkBehaviour { // Static speaker is set whenever a player starts talking. static public Gam...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.SceneManagement; using Dissonance; using Dissonance.VAD; public class PlayerTalking : NetworkBehaviour { // Static speaker is set whenever a player starts talking. static public Gam...
mit
C#
00dbd851d6f56425deab2560ac96026fd3b77e29
Add api key template to the sample
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Android/Crashlytics/samples/CrashlyticsSample/CrashlyticsSample/MainActivity.cs
Android/Crashlytics/samples/CrashlyticsSample/CrashlyticsSample/MainActivity.cs
using Android.App; using Android.Widget; using Android.OS; using Java.Lang; using Android.Views; using System; [assembly: MetaData("io.fabric.ApiKey", Value ="<FABRIC_API_KEY>")] namespace CrashlyticsSample { [Activity(Label = "Crashlytics Sample", MainLauncher = true, Icon = "@mipmap/icon")] public class Ma...
using Android.App; using Android.Widget; using Android.OS; using Java.Lang; using Android.Views; using System; namespace CrashlyticsSample { [Activity(Label = "Crashlytics Sample", MainLauncher = true, Icon = "@mipmap/icon")] public class MainActivity : Activity { protected override void OnCreate(...
mit
C#
cdde59f3957b3793e97256e3e25c6a1a143cb3d4
Update SettingSubscriptEffect.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cell...
Examples/CSharp/Articles/ApplySuperscriptAndSubscript/SettingSubscriptEffect.cs
Examples/CSharp/Articles/ApplySuperscriptAndSubscript/SettingSubscriptEffect.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.ApplySuperscriptAndSubscript { public class SettingSubscriptEffect { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = A...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.ApplySuperscriptAndSubscript { public class SettingSubscriptEffect { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Uti...
mit
C#
7a1fd931bc1d582aa474e68c89ce7ee04710b60f
fix quit command to actually quit the bot
stwalkerster/eyeinthesky,stwalkerster/eyeinthesky,stwalkerster/eyeinthesky
EyeInTheSky/Commands/Quit.cs
EyeInTheSky/Commands/Quit.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EyeInTheSky.Commands { class Quit : GenericCommand { #region Overrides of GenericCommand protected override void execute(User source, string destination, string[] tokens) { EyeI...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EyeInTheSky.Commands { class Quit : GenericCommand { #region Overrides of GenericCommand protected override void execute(User source, string destination, string[] tokens) { EyeI...
mit
C#
eee83ed357009b028d6c697bb547066189ee1a4a
Enable setters and initialize lists from constructor (again)
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Core/ArchiveMetadata.cs
src/Arkivverket.Arkade/Core/ArchiveMetadata.cs
using System; using System.Collections.Generic; namespace Arkivverket.Arkade.Core { public class ArchiveMetadata { public string ArchiveDescription { get; set; } public string AgreementNumber { get; set; } public List<MetadataEntityInformationUnit> ArchiveCreators { get; set; } ...
using System; using System.Collections.Generic; namespace Arkivverket.Arkade.Core { public class ArchiveMetadata { public string ArchiveDescription { get; set; } public string AgreementNumber { get; set; } public List<MetadataEntityInformationUnit> ArchiveCreators { get; } = new List<M...
agpl-3.0
C#
a3588285bbbf53fcda5ea91b1c05bfa75af29a28
fix skill api paths
stoiveyp/Alexa.NET.Management
Alexa.NET.Management/ISkillManagementApi.cs
Alexa.NET.Management/ISkillManagementApi.cs
using System.Threading.Tasks; using Alexa.NET.Management.Skills; using Refit; namespace Alexa.NET.Management { [Headers("Authorization: Bearer")] public interface ISkillManagementApi { [Get("skills/{skillId}")] Task<Skill> Get(string skillId); [Post("skills/{vendorId}")] Ta...
using System.Threading.Tasks; using Alexa.NET.Management.Skills; using Refit; namespace Alexa.NET.Management { [Headers("Authorization: Bearer")] public interface ISkillManagementApi { [Get("{skillId}")] Task<Skill> Get(string skillId); [Post("{vendorId}")] Task<SkillId> Cr...
mit
C#
a677fe5105a60fa79a3c28af78f39f8f110de4cc
Add collection resolver to container
appharbor/appharbor-cli
src/AppHarbor/AppHarborInstaller.cs
src/AppHarbor/AppHarborInstaller.cs
using System; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using Castle.MicroKernel.Resolvers.SpecializedResolvers; namespace AppHarbor { public class AppHarborInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfi...
using System; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; namespace AppHarbor { public class AppHarborInstaller : IWindsorInstaller { public void Install(IWindsorContainer container, IConfigurationStore store) { container.Register(Component ...
mit
C#
e98b747ae6465492638589f8eb02b45bcb4cdfb5
Fix Azure host silo startup
smolyakoff/conreign,smolyakoff/conreign,smolyakoff/conreign
src/Conreign.Host.Azure/SiloRole.cs
src/Conreign.Host.Azure/SiloRole.cs
using System; using Conreign.Cluster; using Microsoft.WindowsAzure.ServiceRuntime; using Orleans.Runtime.Configuration; using Orleans.Runtime.Host; namespace Conreign.Host.Azure { public class SiloRole : RoleEntryPoint { private AzureSilo _silo; public override void Run() { ...
using System; using Conreign.Cluster; using Microsoft.WindowsAzure.ServiceRuntime; using Orleans.Runtime.Configuration; using Orleans.Runtime.Host; namespace Conreign.Host.Azure { public class SiloRole : RoleEntryPoint { private AzureSilo _silo; public override void Run() { ...
mit
C#
a2920d07ddfca7f076e91b03261f464b2be85da0
Optimize ContainerSlot
space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/GameObjects/ContainerSlot.cs
Content.Server/GameObjects/ContainerSlot.cs
using System; using System.Collections.Generic; using Robust.Server.GameObjects.Components.Container; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Interfaces.GameObjects.Components; using Robust.Shared.ViewVariables; namespace Content.Server.GameObjects { public class ContainerSlot : BaseContai...
using System; using System.Collections.Generic; using Robust.Server.GameObjects.Components.Container; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Interfaces.GameObjects.Components; using Robust.Shared.ViewVariables; namespace Content.Server.GameObjects { public class ContainerSlot : BaseContai...
mit
C#
c286f8a4511367d0a540bf9da15f0dd83088b052
Fix Math.Round bug
ErikEJ/EntityFramework.SqlServerCompact,ErikEJ/EntityFramework7.SqlServerCompact
src/Provider40/Query/ExpressionTranslators/Internal/SqlCeMathRoundTranslator.cs
src/Provider40/Query/ExpressionTranslators/Internal/SqlCeMathRoundTranslator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFrameworkCore.Query.Expressions; namespace Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.Internal { public class SqlCeMathRoundTranslator : IMethodCallTransl...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFrameworkCore.Query.Expressions; namespace Microsoft.EntityFrameworkCore.Query.ExpressionTranslators.Internal { public class SqlCeMathRoundTranslator : IMethodCallTransl...
apache-2.0
C#
374eb5a1f6ac1e80ac98f70e5788b433586a5bc5
remove defaults
alfantp/azure-powershell,pomortaz/azure-powershell,AzureRT/azure-powershell,oaastest/azure-powershell,naveedaz/azure-powershell,nemanja88/azure-powershell,zhencui/azure-powershell,dominiqa/azure-powershell,AzureAutomationTeam/azure-powershell,rohmano/azure-powershell,DeepakRajendranMsft/azure-powershell,haocs/azure-pow...
src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs
src/ResourceManager/HDInsight/Commands.HDInsight/Models/AzureHDInsightConfig.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
6f20311de2aecac95cd4e938ff2be870b1f3bd60
Update TODO statement
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetAccountPayeSchemes/GetAccountPayeSchemesQueryHandler.cs
src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetAccountPayeSchemes/GetAccountPayeSchemesQueryHandler.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using MediatR; using SFA.DAS.EmployerApprenticeshipsService.Domain; using SFA.DAS.EmployerApprenticeshipsService.Domain.Data; namespace SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetAccountPayeSchemes { public class GetA...
using System; using System.Collections.Generic; using System.Threading.Tasks; using MediatR; using SFA.DAS.EmployerApprenticeshipsService.Domain; using SFA.DAS.EmployerApprenticeshipsService.Domain.Data; namespace SFA.DAS.EmployerApprenticeshipsService.Application.Queries.GetAccountPayeSchemes { public class GetA...
mit
C#
472860e1de5d3e34a1cd9babea319486998b2b58
Bump assembly
Hawxy/SCAlternativeDownloader
SCPatchDownloader/Properties/AssemblyInfo.cs
SCPatchDownloader/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("SCP...
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("SCP...
apache-2.0
C#
e2547bf67be535fbb28cb252c17e46acb5e02030
Write PBoolean and PInteger values.
PenguinF/sandra-three
Sandra.UI.WF/Storage/CompactSettingWriter.cs
Sandra.UI.WF/Storage/CompactSettingWriter.cs
#region License /********************************************************************************* * CompactSettingWriter.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
#region License /********************************************************************************* * CompactSettingWriter.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
apache-2.0
C#
5ca4efac317c8c401d3d675d2bb02c8fbfcfaeda
revert 109a7c1
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
src/SharpCompress/Writers/IWriterExtensions.cs
src/SharpCompress/Writers/IWriterExtensions.cs
using System; using System.IO; using System.Linq; using System.Linq.Expressions; namespace SharpCompress.Writers { public static class IWriterExtensions { public static void Write(this IWriter writer, string entryPath, Stream source) { writer.Write(entryPath, source, null); ...
using System; using System.IO; using System.Linq; using System.Linq.Expressions; namespace SharpCompress.Writers { public static class IWriterExtensions { public static void Write(this IWriter writer, string entryPath, Stream source) { writer.Write(entryPath, source, null); ...
mit
C#
450bc913fed9ac16cda02052e4d1e3b528650821
fix appveyor test
dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,df...
Serenity.Script.Imports/Q/Q.Notifications.cs
Serenity.Script.Imports/Q/Q.Notifications.cs
using System.Runtime.CompilerServices; namespace Serenity { public static partial class Q { /// <summary> /// Display a warning notification /// </summary> /// <param name="message">Message</param> [InlineCode("Q.notifyWarning({message}, {title}, {options})")]...
using System.Runtime.CompilerServices; namespace Serenity { public static partial class Q { /// <summary> /// Display a warning notification /// </summary> /// <param name="message">Message</param> [InlineCode("Q.notifyWarning({message}, {title}, {options})")]...
mit
C#
c4dc497840f589f306be48d69ff29f2c6cf1f304
add guid initialization in baseDataModel constructor
olebg/car-mods-heaven,olebg/car-mods-heaven
CarModsHeaven/CarModsHeaven/CarModsHeaven.Data.Models/Abstracts/BaseDataModel.cs
CarModsHeaven/CarModsHeaven/CarModsHeaven.Data.Models/Abstracts/BaseDataModel.cs
using CarModsHeaven.Data.Models.Contracts; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CarModsHeaven.Data.Models.Abstracts { public abstract class BaseDataModel : IDeletable, IAuditable { public BaseDataModel() { ...
using CarModsHeaven.Data.Models.Contracts; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CarModsHeaven.Data.Models.Abstracts { public abstract class BaseDataModel : IDeletable, IAuditable { public Guid Id { get; set; } ...
mit
C#
464d988bf1a33cdeeb0a5137faf084223579a801
add assert helper for skills
mzrimsek/resume-site-api
Test.Integration/TestHelpers/AssertHelper.cs
Test.Integration/TestHelpers/AssertHelper.cs
using Test.Integration.TestModels.JobModels; using Test.Integration.TestModels.JobProjectModels; using Test.Integration.TestModels.LanguageModels; using Test.Integration.TestModels.SchoolModels; using Test.Integration.TestModels.SkillModels; namespace Test.Integration.TestHelpers { public static class AssertHelper...
using Test.Integration.TestModels.JobModels; using Test.Integration.TestModels.JobProjectModels; using Test.Integration.TestModels.LanguageModels; using Test.Integration.TestModels.SchoolModels; namespace Test.Integration.TestHelpers { public static class AssertHelper { public static bool AreTestJobVie...
mit
C#
f364fa88eadc7e925c47d8de85544eed11aa866f
Update MoneyPickup.cs
IGDAStl/gateway2dwest,stlgamedev/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest,stlgamedev/gateway2dwest,IGDAStl/gateway2dwest
Assets/Scripts/MoneyPickup.cs
Assets/Scripts/MoneyPickup.cs
using UnityEngine; using System.Collections; public class MoneyPickup : MonoBehaviour { public float moneyToGive = 5; // Use this for initialization void OnCollisionEnter2D(Collision2D col) { OnTriggerEnter2D(col.collider); } void OnTriggerEnter2D(Collider2D col) { col.tra...
using UnityEngine; using System.Collections; public class MoneyPickup : MonoBehaviour { public float moneyToGive = 5; // Use this for initialization void OnCollisionEnter2D(Collision2D col) { OnTriggerEnter2D(col.collider); } void OnTriggerEnter2D(Collider2D col) { col.tra...
apache-2.0
C#
9ef63f97170cae97ce20c2fc2e3cc3ff3c57cf0a
Include timestamp in generated logs
HSAR/sonar-msbuild-runner,jango2015/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,LunicLynx/sonar-msbuild-runner,LunicLynx/sonar-msbuild-runner,jessehouwing/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,dbolkensteyn/sonar-msbuild-runner,jessehouwing/son...
src/SonarProjectPropertiesGenerator/Program.cs
src/SonarProjectPropertiesGenerator/Program.cs
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="SonarSource SA and Microsoft Corporation"> // (c) SonarSource SA and Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------...
//----------------------------------------------------------------------- // <copyright file="Program.cs" company="SonarSource SA and Microsoft Corporation"> // (c) SonarSource SA and Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------...
mit
C#
74f964a2f8cae96f3895d1480f32b1972f7ea9f5
Increase node agent version in preperation for the release
Aprogiena/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,fassadlr/StratisBit...
src/Stratis.Bitcoin/Properties/AssemblyInfo.cs
src/Stratis.Bitcoin/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("Str...
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("Str...
mit
C#
4ca1e823d994f29e25f13f928d953ba3cd9795bc
Fix unit tests, not sure why file paths have changed?
siege918/quest,siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,F2Andy/quest,F2Andy/quest,siege918/quest,siege918/quest,textadventures/quest,textadventures/quest
EditorControllerTests/TemplateTests.cs
EditorControllerTests/TemplateTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using AxeSoftware.Quest; namespace EditorControllerTests { [TestClass] public class TemplateTests { [TestMethod] public void TestTemplates(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using AxeSoftware.Quest; namespace EditorControllerTests { [TestClass] public class TemplateTests { [TestMethod] public void TestTemplates(...
mit
C#
64e468650996359951b2efc94c346f7e9e20851b
Update IOManager.cs
hprose/hprose-dotnet
src/Hprose.RPC/IOManager.cs
src/Hprose.RPC/IOManager.cs
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
mit
C#
747a262147ff8b270d441b2ad696980dceefd270
Put download stream in using statement (doesn't seem to have any effect though).
mthamil/TFSTestCaseAutomator
TestCaseAutomator.TeamFoundation/TfsFile.cs
TestCaseAutomator.TeamFoundation/TfsFile.cs
using System.IO; using System.Threading.Tasks; namespace TestCaseAutomator.TeamFoundation { /// <summary> /// Represents a TFS source controlled file. /// </summary> public class TfsFile : TfsSourceControlledItem { /// <summary> /// Initializes a new <see cref="TfsFile"/>. /// </summary> /// <param name="...
using System.IO; using System.Threading.Tasks; namespace TestCaseAutomator.TeamFoundation { /// <summary> /// Represents a TFS source controlled file. /// </summary> public class TfsFile : TfsSourceControlledItem { /// <summary> /// Initializes a new <see cref="TfsFile"/>. /// </summary> /// <param name="...
apache-2.0
C#
11784730113fc0283c2ba271935a5d3ab36b7c05
Fix grammar mistake
StevenLiekens/Txt,StevenLiekens/TextFx
src/Txt.ABNF/CoreGrammar.cs
src/Txt.ABNF/CoreGrammar.cs
using Txt.ABNF.Core.ALPHA; using Txt.ABNF.Core.BIT; using Txt.ABNF.Core.CHAR; using Txt.ABNF.Core.CR; using Txt.ABNF.Core.CRLF; using Txt.ABNF.Core.CTL; using Txt.ABNF.Core.DIGIT; using Txt.ABNF.Core.DQUOTE; using Txt.ABNF.Core.HEXDIG; using Txt.ABNF.Core.HTAB; using Txt.ABNF.Core.LF; using Txt.ABNF.Core.LWSP; using T...
using Txt.ABNF.Core.ALPHA; using Txt.ABNF.Core.BIT; using Txt.ABNF.Core.CHAR; using Txt.ABNF.Core.CR; using Txt.ABNF.Core.CRLF; using Txt.ABNF.Core.CTL; using Txt.ABNF.Core.DIGIT; using Txt.ABNF.Core.DQUOTE; using Txt.ABNF.Core.HEXDIG; using Txt.ABNF.Core.HTAB; using Txt.ABNF.Core.LF; using Txt.ABNF.Core.LWSP; using T...
mit
C#
db0dcdcf36265cf1e2a2d31a930ba226bd4bedb5
Fix OverlayContainer
ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,D...
osu.Framework/Graphics/Containers/OverlayContainer.cs
osu.Framework/Graphics/Containers/OverlayContainer.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 System.Collections.Generic; using osu.Framework.Input; using OpenTK; namespace osu.Framework.Graphics.Containers { /// <summary> /// An element...
// 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 System.Collections.Generic; using osu.Framework.Input; using OpenTK; namespace osu.Framework.Graphics.Containers { /// <summary> /// An element...
mit
C#
1e940ffe6b16cf99cb56a7cdddc1b45934cccb2e
Fix objects can be interactable by mouse wheel and dragging
EVAST9919/osu-framework,default0/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,default0/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ZLima12/osu-frame...
osu.Framework/Graphics/Containers/OverlayContainer.cs
osu.Framework/Graphics/Containers/OverlayContainer.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Input; using OpenTK.Input; namespace osu.Framework.Graphics.Containers { /// <summary> /// An element which starts hidde...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Input; using OpenTK.Input; namespace osu.Framework.Graphics.Containers { /// <summary> /// An element which starts hidde...
mit
C#
7d9c00737e7a781094b7f9049f71e3548b73df3e
Mark benchmarks as implicitly used
EamonNerbonne/ExpressionToCode,asd-and-Rizzo/ExpressionToCode
ExpressionToCode.Benchmarks/Program.cs
ExpressionToCode.Benchmarks/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using ExpressionToCodeLib; using JetBrains.Annotations; namespace ExpressionToCode.Benchmarks { public class Program { public static void M...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using ExpressionToCodeLib; namespace ExpressionToCode.Benchmarks { public class Program { public static void Main(string[] args) { ...
apache-2.0
C#
65dbfcdef2988c33f469a269faa0f728dd126a9b
allow nulls for operation
wikibus/Argolis
src/Hydra/Operation.cs
src/Hydra/Operation.cs
using NullGuard; namespace Hydra { /// <summary> /// A Hydra operation /// </summary> public class Operation { /// <summary> /// Initializes a new instance of the <see cref="Operation"/> class. /// </summary> /// <param name="method">The HTTP method.</param> ...
using NullGuard; namespace Hydra { /// <summary> /// A Hydra operation /// </summary> public class Operation { /// <summary> /// Initializes a new instance of the <see cref="Operation"/> class. /// </summary> /// <param name="method">The HTTP method.</param> ...
mit
C#
65b98db2d05dd97adc83b7b1124bfbbeb0d8f03a
Set the DB Context to rebuild database when a model change is detected. Dangerous times for data =O
wildbillcat/MakerFarm,wildbillcat/MakerFarm
MakerFarm/Models/MakerfarmDBContext.cs
MakerFarm/Models/MakerfarmDBContext.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity; namespace MakerFarm.Models { public class MakerfarmDBContext : DbContext { public MakerfarmDBContext() : base("DefaultConnection") { Database.SetInitializer<MakerfarmDBCon...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.Entity; namespace MakerFarm.Models { public class MakerfarmDBContext : DbContext { public MakerfarmDBContext() : base("DefaultConnection") { //Database.SetInitializer<MakerfarmDBC...
unlicense
C#
58183ad3d5b01a9bf49bfa11c43186ad19644424
Change intro test to test full intro screen
smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,peppy/osu-new,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,2y...
osu.Game.Tests/Visual/Menus/TestSceneIntroSequence.cs
osu.Game.Tests/Visual/Menus/TestSceneIntroSequence.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Contain...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphic...
mit
C#
5db4fe863166575ed8f6d19ee60acca4df4c3fe5
Use cancellationToken properly in task wait.
borkedLabs/borkedLabs.CrestScribe
borkedLabs.CrestScribe/ScribeQueryWorker.cs
borkedLabs.CrestScribe/ScribeQueryWorker.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace borkedLabs.CrestScribe { public class ScribeQueryWorker { private BlockingCollection<SsoCharacter> _queryQueue; ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace borkedLabs.CrestScribe { public class ScribeQueryWorker { private BlockingCollection<SsoCharacter> _queryQueue; ...
mit
C#
054e16af5cec88735bf3a052ca4f90b4e26cef7c
Add PrefabGuid to PrefabData
jacobdufault/forge-unity
Assets/Forge/Integration/API/PrefabData.cs
Assets/Forge/Integration/API/PrefabData.cs
using Forge.Entities; using Newtonsoft.Json; namespace Forge.Unity { /// <summary> /// Data that specifies that an IEntity should use a prefab as its base GameObject instead of an /// empty GameObject. /// </summary> [JsonObject(MemberSerialization.OptIn)] public class PrefabData : Data.NonVer...
using Forge.Entities; using Newtonsoft.Json; namespace Forge.Unity { /// <summary> /// Data that specifies that an IEntity should use a prefab as its base GameObject instead of an /// empty GameObject. /// </summary> [JsonObject(MemberSerialization.OptIn)] public class PrefabData : Data.NonVer...
mit
C#
44e6f1e57b682e84c7c598fb932367f9d9318112
Add ReflectionHelper.FindType(fullName, assemblyName)
samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays
Assets/Scripts/Helpers/ReflectionHelper.cs
Assets/Scripts/Helpers/ReflectionHelper.cs
using System; using System.Linq; public static class ReflectionHelper { public static Type FindType(string fullName) { return AppDomain.CurrentDomain.GetAssemblies().SelectMany(a => a.GetTypes()).FirstOrDefault(t => t.FullName.Equals(fullName)); } public static Type FindType(string fullName, ...
using System; using System.Linq; public static class ReflectionHelper { public static Type FindType(string fullName) { return AppDomain.CurrentDomain.GetAssemblies().SelectMany(a => a.GetTypes()).FirstOrDefault(t => t.FullName.Equals(fullName)); } }
mit
C#
e649a330a405d7d58490e50ea8c7f3b17cb3e27c
Implement SoloPlayer's request construction
ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu
osu.Game/Screens/Play/SoloPlayer.cs
osu.Game/Screens/Play/SoloPlayer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Diagnostics; using osu.Game.Online.API; using osu.Game.Online.Rooms; using osu.Game.Online.Solo; using osu.Game.Scoring; namespace osu.Game.Sc...
// 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.Game.Online.API; using osu.Game.Online.Rooms; using osu.Game.Scoring; namespace osu.Game.Screens.Play { public class SoloPlayer : SubmittingPlayer { ...
mit
C#
d958d4f8f22368cfdb757c9181ad46b22b0dd05a
Convert ShelveList to NDesk.Options.
hazzik/git-tfs,codemerlin/git-tfs,codemerlin/git-tfs,allansson/git-tfs,adbre/git-tfs,WolfVR/git-tfs,spraints/git-tfs,steveandpeggyb/Public,codemerlin/git-tfs,bleissem/git-tfs,bleissem/git-tfs,WolfVR/git-tfs,jeremy-sylvis-tmg/git-tfs,guyboltonking/git-tfs,adbre/git-tfs,timotei/git-tfs,TheoAndersen/git-tfs,hazzik/git-tfs...
GitTfs/Commands/ShelveList.cs
GitTfs/Commands/ShelveList.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using NDesk.Options; using Sep.Git.Tfs.Core; using StructureMap; namespace Sep.Git.Tfs.Commands { [Pluggable("shelve-list")] [Description("shelve-list -u <shelve-owner-name> [options]")] [Requi...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using NDesk.Options; using CommandLine.OptParse; using Sep.Git.Tfs.Core; using StructureMap; namespace Sep.Git.Tfs.Commands { [Pluggable("shelve-list")] [Description("shelve-list -u <shelve-owner-n...
apache-2.0
C#
e5faa74959a1d5c4ce36e81fbe9c8905bb108716
Test IOManager
stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity
C#Development/BashSoft/BashSoft/Startup.cs
C#Development/BashSoft/BashSoft/Startup.cs
namespace BashSoft { using BashSoft.IO; using BashSoft.Judge; public class Startup { public static void Main(string[] args) { OutputWriter.PrintLogo(); } } }
namespace BashSoft { using BashSoft.IO; public class Startup { public static void Main(string[] args) { OutputWriter.PrintLogo(); OutputWriter.PrintMenu(); } } }
mit
C#
ca511b26dcc5f7d76b986fa0caa82c951ff64804
Update version
andreabbondanza/DewControls
DewUserControls/Properties/AssemblyInfo.cs
DewUserControls/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("DewUserControls")] [assembly: AssemblyDes...
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("DewUserControls")] [assembly: AssemblyDes...
mit
C#
0e5ae35f3e2fcba926109ed9df949d3cf5761348
Improve code
sakapon/Samples-2015
BuildSample/BuildEventConsole/Program.cs
BuildSample/BuildEventConsole/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace BuildEventConsole { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace BuildEventConsole { class Program { static void Main(string[] args) { ...
mit
C#
f7961024d7dcff62a881e36f9e6bed0295d32ee9
Enable popup for linking another account
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Handling/General/LifeSpanHandler.cs
Core/Handling/General/LifeSpanHandler.cs
using CefSharp; using TweetDuck.Core.Controls; using TweetDuck.Core.Utils; namespace TweetDuck.Core.Handling.General{ sealed class LifeSpanHandler : ILifeSpanHandler{ private static bool IsPopupAllowed(string url){ return url.StartsWith("https://twitter.com/teams/authorize?"); } ...
using CefSharp; using TweetDuck.Core.Controls; using TweetDuck.Core.Utils; namespace TweetDuck.Core.Handling.General{ sealed class LifeSpanHandler : ILifeSpanHandler{ public static bool HandleLinkClick(IWebBrowser browserControl, WindowOpenDisposition targetDisposition, string targetUrl){ swit...
mit
C#
ecfc693ffca17cd4bf48d85cd5fc798fcc53ce2c
Use EndsWith - nicer than LastIndexOf...
leoshaw/exercism-solutions
csharp/bob/Bob.cs
csharp/bob/Bob.cs
using System.Linq; public class Bob { public string Hey(string input) { if (IsSilence(input)) { return "Fine. Be that way!"; } else if (IsShouting(input)) { return "Whoa, chill out!"; } else if (IsQuestion(input)) { ...
using System; using System.Linq; public class Bob { public string Hey(string input) { if (IsSilence(input)) { return "Fine. Be that way!"; } else if (IsShouting(input)) { return "Whoa, chill out!"; } else if (IsQuestion(input)) ...
mit
C#
5d503354e8e0e25957d0796d154b91ed4bf7398b
Update stockMarketScreen.cs
IanMcT/StockMarketGame
SMG/SMG/stockMarketScreen.cs
SMG/SMG/stockMarketScreen.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SMG { public partial class stockMarketScreen : Form { //Glo...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace smg { public partial class stockMarketScreen : Form { public sto...
apache-2.0
C#
944d5ab52ade00af486d8502b003d0df48527cb5
Update logging service area name
ghsehn/SPMin,guisehn/SPMin,spmin/spmin
SPMin/SPMinLoggingService.cs
SPMin/SPMinLoggingService.cs
using Microsoft.SharePoint.Administration; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SPMin { public class SPMinLoggingService : SPDiagnosticsServiceBase { private static string AreaName = "SPMin"; private static SPMinLoggingService _instanc...
using Microsoft.SharePoint.Administration; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SPMin { public class SPMinLoggingService : SPDiagnosticsServiceBase { private static string AreaName = "Mavention"; private static SPMinLoggingService _ins...
apache-2.0
C#
ab2516ae6bfb3d31f4b03f145ebcce6b1d4fc89e
Fix CA1016: Mark assemblies with AssemblyVersionAttribute
Mitch-Connor/oxyplot,shoelzer/oxyplot,svendu/oxyplot,HermanEldering/oxyplot,ze-pequeno/oxyplot,as-zhuravlev/oxyplot_wpf_fork,objorke/oxyplot,DotNetDoctor/oxyplot,H2ONaCl/oxyplot,bbqchickenrobot/oxyplot,Sbosanquet/oxyplot,freudenthal/oxyplot,NilesDavis/oxyplot,svendu/oxyplot,objorke/oxyplot,as-zhuravlev/oxyplot_wpf_fork...
Source/GlobalAssemblyInfo.cs
Source/GlobalAssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // -------------------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // -------------------------------------------------------------------------...
mit
C#
ec70a2a1ff0e743e2c318336d5d7379b3983744d
update proxy module desc
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/PortableAreas/AppleseedProxy/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/PortableAreas/AppleseedProxy/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("Ap...
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("Ap...
apache-2.0
C#
22382c799df8d7eb5fd1aea1af72290e3553aa2e
Fix en Modules Badge.
jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro
Topppro.WebSite/Areas/Humanist/Views/Shared/DisplayTemplates/Serie_Modules.cshtml
Topppro.WebSite/Areas/Humanist/Views/Shared/DisplayTemplates/Serie_Modules.cshtml
@using Framework.Common.Extensions @using System.Text.RegularExpressions @using Topppro.WebSite.Areas.Humanist.Resources @using Topppro.WebSite.Areas.Humanist.Extensions @model Topppro.Entities.Assn_CategorySerie <div id="@Model.Serie.Name.ToLower()" name="@Model.Serie.Name.ToLower()" class="title"> <h1>...
@using Framework.Common.Extensions @using System.Text.RegularExpressions @using Topppro.WebSite.Areas.Humanist.Resources @using Topppro.WebSite.Areas.Humanist.Extensions @model Topppro.Entities.Assn_CategorySerie <div id="@Model.Serie.Name.ToLower()" name="@Model.Serie.Name.ToLower()" class="title"> <h1>...
mit
C#
0364c0ec27e9eba703458f726299af654fd3e082
Remove not implemented query option for now
dnauck/License.Manager,dnauck/License.Manager
src/License.Manager.Core/ServiceModel/FindLicenses.cs
src/License.Manager.Core/ServiceModel/FindLicenses.cs
// // Copyright 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 withou...
// // Copyright 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 withou...
mit
C#
c0ffdf7c82bb600e065b505c6331b1b570c26d44
Refactor to switch statement
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Mapping/Types/Core/Join/ChildrenFormatter.cs
src/Nest/Mapping/Types/Core/Join/ChildrenFormatter.cs
using System.Collections.Generic; using System.Linq; using Elasticsearch.Net; using Utf8Json; namespace Nest { internal class ChildrenFormatter : IJsonFormatter<Children> { public Children Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver) { var children = new Children(); var toke...
using System.Collections.Generic; using System.Linq; using Elasticsearch.Net; using Utf8Json; namespace Nest { internal class ChildrenFormatter : IJsonFormatter<Children> { public Children Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver) { var children = new Children(); var toke...
apache-2.0
C#
ff57593caacd8dfa28a63595d7acd6171390117a
Bump Version
c0nnex/SPAD.neXt,c0nnex/SPAD.neXt
SPAD.Interfaces/Properties/AssemblyInfo.cs
SPAD.Interfaces/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // 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....
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // 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....
mit
C#
0b7f7e4f37d3b778d37cb91a28dd7c4744570284
Use temp path for test
robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,arknu/Umbr...
src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs
src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs
using System; using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Infrastructure.HostedServices; namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.HostedServices...
using System; using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Infrastructure.HostedServices; namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.HostedServices...
mit
C#
5386f77c7a57c3fd93c20c156296939024f5bdce
Add comments.
mavasani/roslyn,physhi/roslyn,VSadov/roslyn,aelij/roslyn,davkean/roslyn,gafter/roslyn,heejaechang/roslyn,mavasani/roslyn,weltkante/roslyn,swaroop-sridhar/roslyn,KevinRansom/roslyn,diryboy/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,abock/roslyn,physhi/roslyn,VSadov/roslyn,panopticoncentral/roslyn,genlu/roslyn,weltkante/ro...
src/Features/Core/Portable/EmbeddedLanguages/AbstractEmbeddedLanguagesProvider.cs
src/Features/Core/Portable/EmbeddedLanguages/AbstractEmbeddedLanguagesProvider.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.EmbeddedLanguages.LanguageServices; using Microsoft.CodeAnalysis.Features.EmbeddedLanguages....
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.EmbeddedLanguages.LanguageServices; using Microsoft.CodeAnalysis.Features.EmbeddedLanguages....
mit
C#
ffe56b55bcf00ec9b10a6262643b73e8ed0d3830
Fix #2490
AvaloniaUI/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzi...
src/Avalonia.Animation/TransitionInstance.cs
src/Avalonia.Animation/TransitionInstance.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia.Metadata; using System; using System.Reactive.Linq; using Avalonia.Animation.Easings; using Avalonia.Animation.Utils; using Avalonia.Reacti...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia.Metadata; using System; using System.Reactive.Linq; using Avalonia.Animation.Easings; using Avalonia.Animation.Utils; using Avalonia.Reacti...
mit
C#
8cd591c6816e5d8ce13418dae0393f82d534315c
Add points to front and only add if moved a little bit
petereichinger/unity-trail-advanced
Assets/Scripts/PointSource/ObjectPointSource.cs
Assets/Scripts/PointSource/ObjectPointSource.cs
using System.Collections; using UnityEngine; namespace TrailAdvanced.PointSource { public class ObjectPointSource : AbstractPointSource { public Transform objectToFollow; private Vector3 _lastPosition; protected override void Start() { base.Start(); _lastPosition = objectToFollow.position; } prote...
using System.Collections; using UnityEngine; namespace TrailAdvanced.PointSource { public class ObjectPointSource : AbstractPointSource { public Transform objectToFollow; protected override void Update() { base.Update(); points.AddToBack(objectToFollow.position); } } }
mit
C#
0fcf9c17e323bbc0c5147564b37f19315f96aae9
Handle parenthese in method name.
AmadeusW/SourceBrowser,AmadeusW/SourceBrowser,CodeConnect/SourceBrowser,CodeConnect/SourceBrowser,AmadeusW/SourceBrowser
src/SourceBrowser.Search/ViewModels/TokenViewModel.cs
src/SourceBrowser.Search/ViewModels/TokenViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Search.ViewModels { public struct TokenViewModel { public string Id { get; } public string Path { get; } public string Username { get; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Search.ViewModels { public struct TokenViewModel { public string Id { get; } public string Path { get; } public string Username { get; } ...
mit
C#
730bb9b243a2bc2ed0121715d3f4f8349752f998
fix inconsistent line endings
StefanoFiumara/Harry-Potter-Unity
Assets/Editor/AssetManager.cs
Assets/Editor/AssetManager.cs
using System.Linq; using UnityEditor; using UnityEngine; namespace Assets.Editor { public class AssetManager : MonoBehaviour { [MenuItem("AssetDatabase/Add Photon Views To Cards")] public static void AddPhotonViews() { var assetFolderPaths = AssetDatabase.GetAllAssetPaths(...
using System.Collections.Generic; using System.Linq; using HarryPotterUnity.Cards; using UnityEditor; using UnityEngine; namespace Assets.Editor { public class AssetManager : MonoBehaviour { [MenuItem("AssetDatabase/Add Photon Views To Cards")] public static void AddPhotonViews() { ...
mit
C#
4c63b353140970c4607c8a690247ce5e027a5ea3
Fix the build
flagbug/Espera,punker76/Espera
Espera/Espera.View/ViewModels/CrashViewModel.cs
Espera/Espera.View/ViewModels/CrashViewModel.cs
using Espera.Core.Analytics; using ReactiveUI; using System; using System.Reactive.Linq; namespace Espera.View.ViewModels { internal class CrashViewModel : ReactiveObject { private readonly ObservableAsPropertyHelper<bool?> sendingSucceeded; public CrashViewModel(Exception exception) ...
using Espera.Core.Analytics; using ReactiveUI; using System; using System.Reactive.Linq; namespace Espera.View.ViewModels { internal class CrashViewModel : ReactiveObject { private readonly ObservableAsPropertyHelper<bool?> sendingSucceeded; public CrashViewModel(Exception exception) ...
mit
C#
90d4471e8b2a94949ef7340dbd19cc50c6ae833d
Use an iterator instead of modifying the source list. Faster and leaves that list alone.
arlobelshee/Fools.net,Minions/Fools.net
src/Core/Gibberish/Parsing/AssembleBlocks.cs
src/Core/Gibberish/Parsing/AssembleBlocks.cs
using System.Collections.Generic; using Gibberish.AST; using Gibberish.AST._1_Bare; using JetBrains.Annotations; namespace Gibberish.Parsing { public class AssembleBlocks { [NotNull] public List<LanguageConstruct> Transform([NotNull] List<LanguageConstruct> source) { return _CollectBodyAtLevel(new _SourceD...
using System.Collections.Generic; using Gibberish.AST; using Gibberish.AST._1_Bare; namespace Gibberish.Parsing { public class AssembleBlocks { public List<LanguageConstruct> Transform(List<LanguageConstruct> source) { return _CollectBodyAtLevel(new _SourceData(source), 0); } public class _SourceData ...
bsd-3-clause
C#
f5dad89dc91f3859c46a0c91125e2a96288de8e0
Document disabled warnings.
azabluda/InfoCarrier.Core
sample/WcfSample.Shared/Datamodel.cs
sample/WcfSample.Shared/Datamodel.cs
// Copyright (c) on/off it-solutions gmbh. All rights reserved. // Licensed under the MIT license. See license.txt file in the project root for license information. #pragma warning disable SA1402 // FileMayOnlyContainASingleType #pragma warning disable SA1649 // FileNameMustMatchTypeName namespace WcfSample { us...
// Copyright (c) on/off it-solutions gmbh. All rights reserved. // Licensed under the MIT license. See license.txt file in the project root for license information. #pragma warning disable SA1402 #pragma warning disable SA1649 namespace WcfSample { using System; using System.Collections.Generic; using Mi...
mit
C#
10e59c03784218d47f093587babe681e90df679f
Change way how benchmarks are discovered/executed
louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext
LanguageExt.Benchmarks/Program.cs
LanguageExt.Benchmarks/Program.cs
using BenchmarkDotNet.Running; namespace LanguageExt.Benchmarks { class Program { static void Main(string[] args) => BenchmarkSwitcher .FromAssembly(typeof(Program).Assembly) .Run(args); } }
using System; using BenchmarkDotNet.Running; namespace LanguageExt.Benchmarks { class Program { static void Main(string[] args) { var summary1 = BenchmarkRunner.Run<HashMapAddBenchmark>(); Console.Write(summary1); var summary2 = BenchmarkRunner.Run<HashMapR...
mit
C#
6b09e67a5a71b4b82e3d41c5941ee09d2b65de4e
Add acceleration
EasyPeasyLemonSqueezy/MadCat
MadCat/NutEngine/Physics/IBody.cs
MadCat/NutEngine/Physics/IBody.cs
using Microsoft.Xna.Framework; using NutEngine.Physics.Materials; namespace NutEngine.Physics { public interface IBody<out ShapeType> { ShapeType Shape { get; } MassData Mass { get; } Material Material { get; } object Owner { get; } Vector2 Position { get; set; } ...
using Microsoft.Xna.Framework; using NutEngine.Physics.Materials; namespace NutEngine.Physics { public interface IBody<out ShapeType> { ShapeType Shape { get; } MassData Mass { get; } Material Material { get; } object Owner { get; } Vector2 Position { get; set; } ...
mit
C#
f1caba8cdb6d4395bccba8ddac5db6990ca3d40b
Make docs service readonly
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix/Modules/DocsMasterModule.cs
Modix/Modules/DocsMasterModule.cs
using System.Text; using System.Threading.Tasks; using Discord; using Discord.Commands; using Modix.Services.DocsMaster; using Modix.Services.DocsMaster.Models; namespace Modix.Modules { [Group("docsmaster"), Name("DocsMaster"), Summary("Search for information from many documentations.")] public class DocsMas...
using System.Text; using System.Threading.Tasks; using Discord; using Discord.Commands; using Modix.Services.DocsMaster; using Modix.Services.DocsMaster.Models; namespace Modix.Modules { [Group("docsmaster"), Name("DocsMaster"), Summary("Search for information from many documentations.")] public class DocsMas...
mit
C#
85ad54606f208008b1bce898279e36b2514b2d7f
Increment version code
akorb/SteamShutdown
SteamShutdown/Properties/AssemblyInfo.cs
SteamShutdown/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("SteamShutdown")] [assembly: Assemb...
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("SteamShutdown")] [assembly: Assemb...
mit
C#
c29df8c5cbdb18e37efb46b086bd47abf3803d9a
Update version
TylerCarlson1/Automapper.Collection,AutoMapper/AutoMapper.Collection
src/AutoMapper.Collection/AutoMapper.Collection.EntityFramework/Properties/AssemblyInfo.cs
src/AutoMapper.Collection/AutoMapper.Collection.EntityFramework/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("Au...
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("Au...
mit
C#
daad4d68ad978eb5104ed2ae792cd186c5a9550d
Revert assembly version
munyirik/nodejstools,mjbvz/nodejstools,paulvanbrenk/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,mjbvz/nodejstools,AustinHull/nodejstools,kant2002/nodejstools,Microsoft/nodejstools,paladique/nodejstools,lukedgr/nodejstools,AustinHull/nodejstools,lukedgr/nodejstools,kant2002/nodejstools,paulvanbrenk/nodejsto...
Nodejs/Product/AssemblyVersion.cs
Nodejs/Product/AssemblyVersion.cs
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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 writing, software // ...
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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 writing, software // ...
apache-2.0
C#
7a47a2c8c90e96856a09b652713586160d928018
Fix daemons (#228)
bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBi...
src/Stratis.FederatedPeg.Features.FederationGateway/FederatedPegBlockDefinition.cs
src/Stratis.FederatedPeg.Features.FederationGateway/FederatedPegBlockDefinition.cs
using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Consensus; using Stratis.Bitcoin.Features.Consensus.CoinViews; using Stratis.Bitcoin.Features.MemoryPool; using Stratis.Bitcoin.Features.MemoryPool.Interfaces; using Stratis.Bitcoin.Features.SmartContracts; using Stratis.Bitcoin.Features.SmartCo...
using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Consensus; using Stratis.Bitcoin.Features.MemoryPool; using Stratis.Bitcoin.Features.MemoryPool.Interfaces; using Stratis.Bitcoin.Features.PoA; using Stratis.Bitcoin.Mining; using Stratis.Bitcoin.Utilities; using Script = NBitcoin.Script; names...
mit
C#
e13f6797795ebc4e440c63b86baaf564c8cb59db
Update Script Again
F0rTh3H0rd3/LevelingQuestsTNB,TheNoobCompany/LevelingQuestsTNB
Profiles/Quester/Scripts/28138.cs
Profiles/Quester/Scripts/28138.cs
/* This script is using a thread to make the method StartFight Async since we want to be able to check the health of the mob being attacked (to do an action) */ List<int> entries = new List<int>(); entries.Add(2270); entries.Add(2503); entries.Add(2269); System.Threading.Thread _worker2; /* Move to Zone/Hotspot */ if...
/* This script is using a thread to make the method StartFight Async since we want to be able to check the health of the mob being attacked (to do an action) */ List<int> entries = new List<int>(); entries.Add(2270); entries.Add(2503); entries.Add(2269); System.Threading.Thread _worker2; /* Move to Zone/Hotspot */ if...
mit
C#
958a56511fc4dfa0dabb5b64221b2f15a142f27a
Add package relationships.
panopticoncentral/specgen
src/specgen/Program.cs
src/specgen/Program.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace specgen { class Program { private static readonly XNamespace Pkg = "http://schemas.microsoft.com/office/2006/xmlPackage"; private static readonly XNamespace Ors = "http...
using System; using System.Xml.Linq; namespace specgen { class Program { static int Main(string[] args) { if (args.Length != 2) { Console.WriteLine("Usage: specgen <input path> <output path>"); return 1; } var pkg...
apache-2.0
C#
a0c6d9859249b695972f31262a828e3b6394b895
fix broken link
cake-build/website,cake-build/website,cake-build/website
input/_AddinsList.cshtml
input/_AddinsList.cshtml
@model IEnumerable<IDocument> <p>This page contain third party addins for Cake. If you want to file an issue for any addin listed here, contact the author of the addin.</p> <p>If you're an addin author and want your addin listed here, follow the instructions <a href="https://github.com/cake-build/website/blob/master/R...
@model IEnumerable<IDocument> <p>This page contain third party addins for Cake. If you want to file an issue for any addin listed here, contact the author of the addin.</p> <p>If you're an addin author and want your addin listed here, follow the instructions <a href="https://github.com/cake-build/website/blob/develop/...
mit
C#
bf19c1b1b98ffa8dc128f80fd3cdf72caf2373ba
Remove unused methods
inputfalken/Sharpy
Sharpy/src/GeneratorExtensions.cs
Sharpy/src/GeneratorExtensions.cs
using GeneratorAPI; namespace Sharpy { /// <summary> /// </summary> public static class GeneratorExtensions { /// <summary> /// <para> /// Provider Contains various methods for generating common data types. /// To get the same result every time you execut...
using GeneratorAPI; using Sharpy.IProviders; namespace Sharpy { /// <summary> /// </summary> public static class GeneratorExtensions { /// <summary> /// <para> /// Provider Contains various methods for generating common data types. /// To get the same res...
mit
C#
d7cc255c586cec1fca6fa9a360e2c69e14db9f40
Fix test on mono
pacificIT/FAKE,RMCKirby/FAKE,wooga/FAKE,mglodack/FAKE,haithemaraissia/FAKE,dmorgan3405/FAKE,satsuper/FAKE,xavierzwirtz/FAKE,warnergodfrey/FAKE,philipcpresley/FAKE,hitesh97/FAKE,modulexcite/FAKE,haithemaraissia/FAKE,NaseUkolyCZ/FAKE,MichalDepta/FAKE,yonglehou/FAKE,rflechner/FAKE,ArturDorochowicz/FAKE,leflings/FAKE,RMCKi...
src/test/Test.Fake.Deploy/PackageMgt/RollbackSpecs.cs
src/test/Test.Fake.Deploy/PackageMgt/RollbackSpecs.cs
using Fake; using Machine.Specifications; namespace Test.Fake.Deploy.PackageMgt { public class when_trying_to_get_the_previous_package { static string _selectedbackup; Because of = () => _selectedbackup = DeploymentHelper.getPreviousPackageVersionFromBackup(TestData.TestDataDir, "jQuery", 1); ...
using Fake; using Machine.Specifications; namespace Test.Fake.Deploy.PackageMgt { public class when_trying_to_get_the_previous_package { static string _selectedbackup; Because of = () => _selectedbackup = DeploymentHelper.getPreviousPackageVersionFromBackup(TestData.TestDataDir, "JQuery", 1); ...
apache-2.0
C#
2f3bd4eb1ecde1fa2e1c931427f35e94dcc3bbba
Return created time for reminders
schlos/denver-schedules-api,schlos/denver-schedules-api,codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api
Schedules.API/Tasks/Reminders/CreateReminder.cs
Schedules.API/Tasks/Reminders/CreateReminder.cs
using System; using Simpler; using Schedules.API.Models; using Dapper; using System.Linq; using Schedules.API.Tasks.ReminderTypes; namespace Schedules.API.Tasks.Reminders { public class CreateReminder: InOutTask<CreateReminder.Input, CreateReminder.Output> { public FetchReminderType FetchReminderType { get; s...
using System; using Simpler; using Schedules.API.Models; using Dapper; using System.Linq; using Schedules.API.Tasks.ReminderTypes; namespace Schedules.API.Tasks.Reminders { public class CreateReminder: InOutTask<CreateReminder.Input, CreateReminder.Output> { public FetchReminderType FetchReminderType { get; s...
mit
C#
407ae480d02968220b8502a6fa3d8b0af6a4c802
Add Access-Control-Allow-Headers
SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1
Snowflake/Extensions/HttpListenerContextExts.cs
Snowflake/Extensions/HttpListenerContextExts.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mono.Net; namespace Snowflake.Extensions { public static class HttpListenerContextExts { public static void AddAccessControlHeaders(this HttpListenerContext context) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mono.Net; namespace Snowflake.Extensions { public static class HttpListenerContextExts { public static void AddAccessControlHeaders(this HttpListenerContext context) { ...
mpl-2.0
C#
0d22a489632e1d9f73b7777f16bdaf0d192c901c
Update unittest
an-garcia/Ideal
IdealTests/GeneralUnitTest.cs
IdealTests/GeneralUnitTest.cs
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IdealTests { /// <summary> /// General Tests /// </summary> [TestClass] public class GeneralUnitTest { private String sampleDB = ""; private String modelDBPath = ""; private Str...
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IdealTests { /// <summary> /// General Tests /// </summary> [TestClass] public class GeneralUnitTest { private String SAMPLE_DATABASE = ""; [TestInitialize] public void Initia...
apache-2.0
C#
b869188c3b3915e486a9a35efb26c6f5e8a281be
Clean up ContentLocalizationSiteTextService.
Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions
Lombiq.HelpfulExtensions/Extensions/SiteTexts/Services/ContentLocalizationSiteTextService.cs
Lombiq.HelpfulExtensions/Extensions/SiteTexts/Services/ContentLocalizationSiteTextService.cs
using Microsoft.AspNetCore.Html; using OrchardCore.ContentLocalization; using OrchardCore.ContentLocalization.Models; using OrchardCore.ContentManagement; using OrchardCore.Markdown.Models; using OrchardCore.Markdown.Services; using System.Globalization; using System.Threading.Tasks; namespace Lombiq.HelpfulExtension...
using Microsoft.AspNetCore.Html; using OrchardCore.ContentLocalization; using OrchardCore.ContentLocalization.Models; using OrchardCore.ContentManagement; using OrchardCore.Markdown.Models; using OrchardCore.Markdown.Services; using System.Globalization; using System.Threading.Tasks; namespace Lombiq.HelpfulExtension...
bsd-3-clause
C#
d7d610ad956a5e839676d93d6f230245ad652cd9
Update MessageStoreTest.cs
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LMP.Tests/MessageStoreTest.cs
LMP.Tests/MessageStoreTest.cs
using LunaCommon.Message; using LunaCommon.Message.Base; using LunaCommon.Message.Data.Vessel; using LunaCommon.Message.Server; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LMP.Tests { [TestClass] public class MessageStoreTest { private static readonly ServerMessageFactory Factory...
using LunaCommon.Message; using LunaCommon.Message.Base; using LunaCommon.Message.Data.Vessel; using LunaCommon.Message.Server; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LMP.Tests { [TestClass] public class MessageStoreTest { private static readonly ServerMessageFactory Factory...
mit
C#
42c54eadcd4f945ad8d4c81dc9f7b823f264495f
Fix default schema rule message.
yojimbo87/dictator
src/Dictator/Dictator/Schema/Rule.cs
src/Dictator/Dictator/Schema/Rule.cs
using System.Collections.Generic; namespace Dictator { public class Rule { string _message = null; public string FieldPath { get; set; } public Constraint Constraint { get; set; } public List<object> Parameters { get; set; } public bool IsViolated { get; set; }...
using System.Collections.Generic; namespace Dictator { public class Rule { public string FieldPath { get; set; } public Constraint Constraint { get; set; } public List<object> Parameters { get; set; } public bool IsViolated { get; set; } public string Message { get; set...
mit
C#
44bd2f22bc0da15c9f5bb13f37610e72996ca637
Add total amount calculation
iluzyanin/OnlineStore
src/OnlineStore.Core/ShoppingCart.cs
src/OnlineStore.Core/ShoppingCart.cs
using System; using System.Linq; using System.Collections.Generic; namespace OnlineStore.Core { public class ShoppingCart { public ShoppingCart() { Items = new List<Item>(); } public int Id { get; set; } public IList<Item> Items { get; } public dec...
using System.Collections.Generic; namespace OnlineStore.Core { public class ShoppingCart { public ShoppingCart() { Items = new List<Item>(); } public int Id { get; set; } public IList<Item> Items { get; set; } } }
mit
C#
6b5d6f42ba7e821dcee89ad0ecd0e369d1319b39
Fix NRE in CanvasCellView
mono/xwt,hamekoz/xwt,hwthomas/xwt,lytico/xwt,cra0zy/xwt,antmicro/xwt,TheBrainTech/xwt
Xwt.XamMac/Xwt.Mac.CellViews/CellViewBackend.cs
Xwt.XamMac/Xwt.Mac.CellViews/CellViewBackend.cs
// // CellViewBackend.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2014 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in...
// // CellViewBackend.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2014 Xamarin, Inc (http://www.xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in...
mit
C#
45c280b5eb4e981818a6400286269866129becf9
Rename queue to stack to reflect its actual type
Abc-Arbitrage/Abc.NCrafts.AllocationQuiz
Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs
Abc.NCrafts.Quizz/Performance/Questions/021/Answer2.cs
using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Abc.NCrafts.Quizz.Performance.Questions._021 { public class Answer2 { public static void Run() { var stack = new ConcurrentStack<int>(); // begin ...
using System.Collections.Concurrent; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Abc.NCrafts.Quizz.Performance.Questions._021 { public class Answer2 { public static void Run() { var queue = new ConcurrentStack<int>(); // begin ...
mit
C#
a419c27ad8712f32ff5c0b8210bcbfc52e3d10c3
Modify routing initialization logic to pass test case.
lijunle/Nancy.AttributeRouting,lijunle/Nancy.AttributeRouting
Nancy.AttributeRouting/AttributeRoutingRegistration.cs
Nancy.AttributeRouting/AttributeRoutingRegistration.cs
namespace Nancy.AttributeRouting { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Nancy.Bootstrapper; using Nancy.TinyIoc; /// <inheritdoc/> public class AttributeRoutingRegistration : IRegistrations { static AttributeRouti...
namespace Nancy.AttributeRouting { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Nancy.Bootstrapper; using Nancy.TinyIoc; /// <inheritdoc/> public class AttributeRoutingRegistration : IRegistrations { static AttributeRouti...
mit
C#
3fe073cfa2b9f29d471bc535878cd62eafa722f7
Fix shadow bug with mines exploding
heyx3/rubber-duck-love
Assets/Scripts/Water/SpriteShadow.cs
Assets/Scripts/Water/SpriteShadow.cs
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; [RequireComponent(typeof(SpriteRenderer))] public class SpriteShadow : MonoBehaviour { public Sprite ShadowSprite; public float ShadowDist = 0.1f; public bool UseParentSpr = true; public Transform MyTr { get; private set; } ...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; [RequireComponent(typeof(SpriteRenderer))] public class SpriteShadow : MonoBehaviour { public Sprite ShadowSprite; public float ShadowDist = 0.1f; public bool UseParentSpr = true; public Transform MyTr { get; private set; } ...
mit
C#
4afc3c4fb99f516920039156f5c8b9b201bbb67f
Add footer property to Survey object
bcemmett/SurveyMonkeyApi-v3
SurveyMonkey/Containers/Survey.cs
SurveyMonkey/Containers/Survey.cs
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class Survey : IPageableContainer { public long? Id { get; set; } public string Title { get; set; } pu...
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class Survey : IPageableContainer { public long? Id { get; set; } public string Title { get; set; } pu...
mit
C#
f2fda3d1259863eea3a3f72a4442eb6254d8a4bb
Use sbyte in integer index
Codestellation/Pulsar
src/Pulsar/Cron/IntegerIndex.cs
src/Pulsar/Cron/IntegerIndex.cs
namespace Codestellation.Pulsar.Cron { public struct IntegerIndex { public const sbyte NotFound = -1; private readonly sbyte[] _indexArray; public IntegerIndex(SimpleCronField field) { _indexArray = new sbyte[field.Settings.MaxValue + 1]; for (int i = 0...
namespace Codestellation.Pulsar.Cron { public struct IntegerIndex { public const int NotFound = -1; private readonly int[] _indexArray; public IntegerIndex(SimpleCronField field) { _indexArray = new int[field.Settings.MaxValue + 1]; for (int i = 0; i < ...
mit
C#
9bf9892e0317a7b5d9e25c855d6bbfd57e88caad
Revert "Revert "疑问""
wangzheng888520/CefSharp,wangzheng888520/CefSharp,wangzheng888520/CefSharp,wangzheng888520/CefSharp
CefSharp.WinForms.Example/Program.cs
CefSharp.WinForms.Example/Program.cs
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Forms; using CefSharp.Example; using CefSharp.WinForms.Example.Minimal; namespace CefSharp.WinForms.Example { ...
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Forms; using CefSharp.Example; using CefSharp.WinForms.Example.Minimal; namespace CefSharp.WinForms.Example { ...
bsd-3-clause
C#
77b108b4565cd048092c43eac1eadf42d505f2e0
Add serilog logging to file
Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2,Longfld/ASPNETCoreAngular2
webapp/src/webapp/Startup.cs
webapp/src/webapp/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Logging; using System.IO; using Serilog; namespace webapp { public class ...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Logging; using System.IO; namespace webapp { public class Startup { ...
mit
C#
44323d2820c3ef8d36a1c72b817b7f483d86b0e6
Fix casing
crispingiles/LocalDBApi
LocalDBApi/InstanceManager.cs
LocalDBApi/InstanceManager.cs
using System; namespace WBSoft.LocalDBApi { /// <summary> /// Used to control instances of SQL Server Express Local DB /// </summary> public class InstanceManager : IInstanceManager { public InstanceManager() : this(new LocalDBBinaryLoader(), new LocalDBErrorProvider()) ...
using System; namespace WBSoft.LocalDBApi { /// <summary> /// Used to control instances of SQL Server Express Local DB /// </summary> public class InstanceManager : IInstanceManager { public InstanceManager() : this(new LocalDBBinaryLoader(), new LocalDBErrorProvider()) ...
mit
C#
d90023ad2e67dd25f90878938023be2e6541dcbe
Add quotes to recepient display name (#7)
bringking/mailgun_csharp
Mailgun/Messages/Recipient.cs
Mailgun/Messages/Recipient.cs
using Mailgun.Core.Messages; namespace Mailgun.Messages { /// <summary> /// A structure that represents an email recipient with a DisplayName and an e-mail address /// </summary> public struct Recipient : IRecipient { /// <summary> /// The display name for the recipient ///...
using Mailgun.Core.Messages; namespace Mailgun.Messages { /// <summary> /// A structure that represents an email recipient with a DisplayName and an e-mail address /// </summary> public struct Recipient : IRecipient { /// <summary> /// The display name for the recipient ///...
mit
C#
a633a0280df50d4f07ea3a7b03d55e1a0ba24ce8
Refactor `UITestFixture` of Atata.IntegrationTests project
atata-framework/atata,atata-framework/atata
test/Atata.IntegrationTests/UITestFixture.cs
test/Atata.IntegrationTests/UITestFixture.cs
namespace Atata.IntegrationTests; [TestFixture] public abstract class UITestFixture : UITestFixtureBase { protected virtual bool ReuseDriver => true; protected IWebDriver PreservedDriver { get; private set; } [SetUp] public void SetUp() { AtataContextBuilder contextBuilder = ConfigureBas...
using NUnit.Framework; using OpenQA.Selenium; namespace Atata.IntegrationTests { [TestFixture] public abstract class UITestFixture : UITestFixtureBase { protected virtual bool ReuseDriver => true; protected IWebDriver PreservedDriver { get; set; } [SetUp] public void SetU...
apache-2.0
C#
d22a2b9d4078954671639c853063a442166ff628
Fix issue #7
tmeers/Derby,tmeers/Derby,tmeers/Derby
Derby/Views/Membership/Delete.cshtml
Derby/Views/Membership/Delete.cshtml
@model Derby.Models.PackMembership @{ } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Delete</title> </head> <body> <h3>Are you sure you want to delete this?</h3> <div> <h4>PackMembership</h4> <hr /> <dl class="dl-horizontal"> ...
@model Derby.Models.PackMembership @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Delete</title> </head> <body> <h3>Are you sure you want to delete this?</h3> <div> <h4>PackMembership</h4> <hr /> <dl class="d...
mit
C#
316cf0108e08024ab5af456362a0b82ddbf37e36
Update Vibrancy.cs
ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET
ElectronNET.API/Entities/Vibrancy.cs
ElectronNET.API/Entities/Vibrancy.cs
using System.Runtime.Serialization; using System; namespace ElectronNET.API.Entities { /// <summary> /// /// </summary> public enum Vibrancy { /// <summary> /// The appearance based /// </summary> [EnumMember(Value = "appearance-based")] [Obsolete("Removed i...
using System.Runtime.Serialization; namespace ElectronNET.API.Entities { /// <summary> /// /// </summary> public enum Vibrancy { /// <summary> /// The appearance based /// </summary> [EnumMember(Value = "appearance-based")] appearanceBased, /// <su...
mit
C#