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 |
|---|---|---|---|---|---|---|---|---|
08bee26f4434945d4fa9836afbf81ce371df9292 | Update SharedAssemblyInfo.cs | wieslawsoltes/PanAndZoom,wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,PanAndZoom/PanAndZoom | src/Shared/SharedAssemblyInfo.cs | src/Shared/SharedAssemblyInfo.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.Reflection;
[assembly: AssemblyCompany("Wiesław Šoltés")]
[assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2017")]
[assembly: AssemblyTradema... | // 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.Reflection;
[assembly: AssemblyCompany("Wiesław Šoltés")]
[assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2017")]
[assembly: AssemblyTradema... | mit | C# |
a9cf1d0225935a484b610d20130a88cb52f3a57c | Update EnumFlagsAttributeDrawer.cs | Tassim/UnityEnumFlags | UnityEnumFlags/Assets/Tassim/EnumFlags/Scripts/Editor/EnumFlagsAttributeDrawer.cs | UnityEnumFlags/Assets/Tassim/EnumFlags/Scripts/Editor/EnumFlagsAttributeDrawer.cs | // from http://www.sharkbombs.com/2015/02/17/unity-editor-enum-flags-as-toggle-buttons/
// Extended by Tassim
using UnityEditor;
using UnityEngine;
[CustomPropertyDrawer(typeof(EnumFlagsAttribute))]
public class EnumFlagsAttributeDrawer : PropertyDrawer {
public override void OnGUI(Rect pos, SerializedProperty ... | // from http://www.sharkbombs.com/2015/02/17/unity-editor-enum-flags-as-toggle-buttons/
// Extended by Tassim to handle GUIContent.none // mailto : thomas.tabbaza@gmail.com
// Also, flags should always start with a default value of 0, this was not considered
using UnityEditor;
using UnityEngine;
[CustomPropertyDrawe... | mit | C# |
3096391cae011444767d602046db12ca2593126c | fix code comment | SixLabors/Fonts | src/SixLabors.Fonts/GlyphType.cs | src/SixLabors.Fonts/GlyphType.cs | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.Fonts
{
/// <summary>
/// Represents the various version of a glyph records.
/// </summary>
public enum GlyphType
{
/// <summary>
/// This is a fall back glyph due to... | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.Fonts
{
/// <summary>
/// Represents the various version of a glyph records.
/// </summary>
public enum GlyphType
{
/// <summary>
/// This is a fall back glyph dure t... | apache-2.0 | C# |
5e0ccb6c91d3e1d55968882b80d3ba0eca1971a0 | Remove unncessary test step | ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu | osu.Game.Tournament.Tests/Components/TestSceneTournamentModDisplay.cs | osu.Game.Tournament.Tests/Components/TestSceneTournamentModDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Online.API;
using osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Onli... | mit | C# |
ebc1f7c471e9f7f6e231d2f1b79b04ceb08dd277 | Clarify that timestamps in semantics events are UTC-based | mdesalvo/RDFSharp | RDFSharp/Semantics/OWL/RDFSemanticsEvents.cs | RDFSharp/Semantics/OWL/RDFSemanticsEvents.cs | /*
Copyright 2015-2020 Marco De Salvo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | /*
Copyright 2015-2020 Marco De Salvo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | apache-2.0 | C# |
0ef7ee8d7b4cbf437d8839d176b18bf279391188 | Add GetProperty method to TestHelpers | Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet | Tests/IntegrationTests.Shared/TestHelpers.cs | Tests/IntegrationTests.Shared/TestHelpers.cs | /* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System.IO;
using Realms;
#if __IOS__
using Foundation;
#endif
namespace IntegrationTests
{
public static class TestHelpers
{
public static object GetPropertyValue(object o, string propName)
{
... | /* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System;
using System.Reflection;
using System.IO;
using Realms;
#if __IOS__
using Foundation;
#endif
namespace IntegrationTests
{
public static class TestHelpers
{
private static PropertyInfo GetPropertyInf... | apache-2.0 | C# |
ff5881d33a94412f6c89d3653ffb27fae1005d13 | Fix Dependencies | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Logic/Mappers/UserMapper.cs | revashare-svc-webapi/revashare-svc-webapi.Logic/Mappers/UserMapper.cs | using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace revashare_svc_webapi.Logic.Mappers
{
public... | using revashare_svc_webapi.Logic.Interfaces;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace revashare_svc_webapi.Logic.Mappers
{
public... | mit | C# |
08bf787c09618d3e126ec9bf60290b1561c27062 | Fix error route | SaarCohen/live.asp.net,rmarinho/live.asp.net,M-Zuber/live.asp.net,iaingalloway/live.asp.net,aspnet/live.asp.net,reactiveui/website,hanu412/live.asp.net,TimMurphy/live.asp.net,peterblazejewicz/live.asp.net,rmarinho/live.asp.net,reactiveui/website,TimMurphy/live.asp.net,iaingalloway/live.asp.net,reactiveui/website,sejka/... | src/live.asp.net/Controllers/HomeController.cs | src/live.asp.net/Controllers/HomeController.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using live.asp.net.Models;
using live.asp.net.Services;
using live.asp.net.ViewModels;
using Microsoft.AspNet.Mvc;
name... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using live.asp.net.Models;
using live.asp.net.Services;
using live.asp.net.ViewModels;
using Microsoft.AspNet.Mvc;
name... | mit | C# |
a80a75ca4c17079097493a6fbda83bfcfd0ca4aa | Fix possible NRE in deckstring deck obj | HearthSim/HearthDb | HearthDb/Deckstrings/Deck.cs | HearthDb/Deckstrings/Deck.cs | using System.Collections.Generic;
using System.Linq;
using HearthDb.Enums;
namespace HearthDb.Deckstrings
{
public class Deck
{
/// <summary>
/// DbfId of the hero. Required.
/// This can be a specific hero for a class, i.e. Medivh over Jaina.
/// </summary>
public int HeroDbfId { get; set; }
/// <summa... | using System.Collections.Generic;
using System.Linq;
using HearthDb.Enums;
namespace HearthDb.Deckstrings
{
public class Deck
{
/// <summary>
/// DbfId of the hero. Required.
/// This can be a specific hero for a class, i.e. Medivh over Jaina.
/// </summary>
public int HeroDbfId { get; set; }
/// <summa... | mit | C# |
5c6cb2bf57c0fc5c49e26183360175a06f86b80b | fix resolve SqlConnectionsFactory | litichevskiydv/Byndyusoft.Dotnet.Core.Infrastructure,Byndyusoft/Byndyusoft.Dotnet.Core.Infrastructure,litichevskiydv/Byndyusoft.Dotnet.Core.Infrastructure,litichevskiydv/Byndyusoft.Dotnet.Core.Infrastructure,Byndyusoft/Byndyusoft.Dotnet.Core.Infrastructure,Byndyusoft/Byndyusoft.Dotnet.Core.Infrastructure | src/Infrastructure/Dapper/ConnectionsFactory/SqlConnectionsFactory.cs | src/Infrastructure/Dapper/ConnectionsFactory/SqlConnectionsFactory.cs | namespace Byndyusoft.Dotnet.Core.Infrastructure.Dapper.ConnectionsFactory
{
using System;
using System.Data;
using Microsoft.Extensions.Options;
public class SqlConnectionsFactory<T> : IDbConnectionsFactory where T : IDbConnection
{
protected readonly SqlConnectionsFactoryOptions _options;... | namespace Byndyusoft.Dotnet.Core.Infrastructure.Dapper.ConnectionsFactory
{
using System;
using System.Data;
using Microsoft.Extensions.Options;
public class SqlConnectionsFactory<T> : IDbConnectionsFactory where T : IDbConnection
{
protected readonly SqlConnectionsFactoryOptions _options;... | mit | C# |
045c6e940dfefe3333da89615e4ded9c3d70d585 | Add filter property to most anticipated shows request. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
... | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal Trak... | mit | C# |
f507c057675309033091069d8afbf3ba9831b18f | Fix DoContAbs -> DoCont in conditionally compiled code. | jacqueline-homan/Hopac,Hopac/Hopac,Hopac/Hopac,panesofglass/Hopac,panesofglass/Hopac,jacqueline-homan/Hopac | Libs/Hopac.Core/Flow/Cont.cs | Libs/Hopac.Core/Flow/Cont.cs | // Copyright (C) by Housemarque, Inc.
namespace Hopac.Core {
using Microsoft.FSharp.Core;
using Hopac.Core;
using System;
using System.Runtime.CompilerServices;
/// <summary>Represents a continuation of a parallel job.</summary>
internal abstract class Cont<T> : Work {
internal T Value;
... | // Copyright (C) by Housemarque, Inc.
namespace Hopac.Core {
using Microsoft.FSharp.Core;
using Hopac.Core;
using System;
using System.Runtime.CompilerServices;
/// <summary>Represents a continuation of a parallel job.</summary>
internal abstract class Cont<T> : Work {
internal T Value;
... | mit | C# |
7bf2df363287b1a77d8eef250bcedcca35a065fb | disable again, will fix in a branch | elastacloud/parquet-dotnet | src/Parquet.Test/CompressionTest.cs | src/Parquet.Test/CompressionTest.cs | using Parquet.Data;
using System.IO;
using Xunit;
namespace Parquet.Test
{
public class CompressionTest : TestBase
{
[Theory]
[InlineData(CompressionMethod.None)]
[InlineData(CompressionMethod.Gzip)]
[InlineData(CompressionMethod.Snappy)]
public void All_compression_methods_support... | using Parquet.Data;
using System.IO;
using Xunit;
namespace Parquet.Test
{
public class CompressionTest : TestBase
{
[Theory]
[InlineData(CompressionMethod.None)]
[InlineData(CompressionMethod.Gzip)]
[InlineData(CompressionMethod.Snappy)]
public void All_compression_methods_support... | mit | C# |
e596a4746395e1c4c8b4c9e5d49787f285b2d5fe | Update AreaTests.cs | willrawls/xlg,willrawls/xlg | MetX/MetX.Tests/AreaTests.cs | MetX/MetX.Tests/AreaTests.cs | using MetX.Five;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MetX.Tests
{
[TestClass]
public class AreaTests
{
[TestMethod]
public void New_TemplateInstruction_TableQuestionMark()
{
var processingAlreadyBeganPreviously = false;
var area = n... | using MetX.Five;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MetX.Tests
{
[TestClass]
public class AreaTests
{
[TestMethod]
public void Test()
{
//TestCop
Assert.Fail("WriteMe");
}
[TestMethod]
public void New_T... | mit | C# |
315b7b32a2416f16384c5a531b8358f3cd259704 | Active column should be Accepted. | henkmollema/StudentFollowingSystem,henkmollema/StudentFollowingSystem | src/StudentFollowingSystem/Data/Repositories/AppointmentRepository.cs | src/StudentFollowingSystem/Data/Repositories/AppointmentRepository.cs | using StudentFollowingSystem.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Dapper;
namespace StudentFollowingSystem.Data.Repositories
{
public class AppointmentRepository : RepositoryBase<Appointment>
{
public List<Appointment> GetAppointmentsByCoun... | using StudentFollowingSystem.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Dapper;
namespace StudentFollowingSystem.Data.Repositories
{
public class AppointmentRepository : RepositoryBase<Appointment>
{
public List<Appointment> GetAppointmentsByCoun... | mit | C# |
f3f9b12270b9244e5d560b61708dcf10594537b9 | Add dots to experiment names so they can be enabled as feature flags. | brettfo/roslyn,reaction1989/roslyn,mgoertz-msft/roslyn,weltkante/roslyn,bartdesmet/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,gafter/roslyn,brettfo/roslyn,diryboy/roslyn,jmarolf/roslyn,tannergooding/roslyn,KirillOsenkov/roslyn,ErikSchierboom/roslyn,jmarolf/roslyn,gafter/roslyn,panopticoncent... | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | src/Workspaces/Core/Portable/Experiments/IExperimentationService.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.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Experiments
{
inter... | // 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.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Experiments
{
inter... | mit | C# |
8e35e1a1e9dfa210e5f11864311a815e6d24b6de | add invalid constructor | geeklearningio/gl-dotnet-domain | src/GeekLearning.Domain.Primitives/Explanations/Invalid.cs | src/GeekLearning.Domain.Primitives/Explanations/Invalid.cs | namespace GeekLearning.Domain.Explanations
{
using System.Collections.Generic;
using System.Linq;
public class Invalid : Explanation
{
public Invalid(string message, IEnumerable<Explanation> details)
: base(message, details)
{
}
public Invalid(string messag... | namespace GeekLearning.Domain.Explanations
{
using System.Collections.Generic;
using System.Linq;
public class Invalid : Explanation
{
public Invalid(string message, IEnumerable<Explanation> details)
: base(message, details)
{
}
public Invalid(string messag... | mit | C# |
6fa21b93d34cf9716b733f12b43e19f299eb166f | update test | wangkanai/Detection | src/Responsive/test/ResponsiveCollectionExtensionsTests.cs | src/Responsive/test/ResponsiveCollectionExtensionsTests.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Wangkanai.Responsive.Test
{
public class ResponsiveCollectionExtensionsTests
... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Wangkanai.Responsive.Test
{
public class ResponsiveCollectionExtensionsTests
... | apache-2.0 | C# |
1f935cacf452b3a9f212551082d4a14e4a286972 | Add spotlighted beatmaps filter to beatmap listing | peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu | osu.Game/Overlays/BeatmapListing/SearchGeneral.cs | osu.Game/Overlays/BeatmapListing/SearchGeneral.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.ComponentModel;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.BeatmapListing
{
public enum Se... | // 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.ComponentModel;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.BeatmapListing
{
public enum Se... | mit | C# |
5b83aeace17d9caf4e6119d74271b023f920e38d | update DomainBuilderFactory registration | HatfieldConsultants/Hatfield.EnviroData.WQDataProfile | Source/Hatfield.EnviroData.DataProfile.WQ.Data/DomainBuilderFactory.cs | Source/Hatfield.EnviroData.DataProfile.WQ.Data/DomainBuilderFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hatfield.EnviroData.DataProfile.WQ.Builders;
using Hatfield.EnviroData.DataProfile.WQ.Models;
namespace Hatfield.EnviroData.DataProfile.WQ
{
public class DomainBuilderFactory
{
pr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hatfield.EnviroData.DataProfile.WQ.Builders;
using Hatfield.EnviroData.DataProfile.WQ.Models;
namespace Hatfield.EnviroData.DataProfile.WQ
{
public class DomainBuilderFactory
{
pr... | mpl-2.0 | C# |
7bbcf75cf7fb86ee29a0a5a589e374c6ac098d1f | Fix authority URL in the quickstart guide 1 (#4552) | IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4 | samples/Quickstarts/1_ClientCredentials/src/Api/Startup.cs | samples/Quickstarts/1_ClientCredentials/src/Api/Startup.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace Api
{
public class Startup
{
pu... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace Api
{
public class Startup
{
pu... | apache-2.0 | C# |
df174354b1f42eff39caf80c19b0ee9c50064cba | Update ArcDrawNode.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/ArcDrawNode.cs | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/ArcDrawNode.cs | #nullable enable
using Core2D.Model.Renderer;
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class ArcDrawNode : DrawNode, IArcDrawNode
{
public ArcShapeViewModel Arc { get; set; }
... | #nullable enable
using Core2D.Model.Renderer;
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class ArcDrawNode : DrawNode, IArcDrawNode
{
public ArcShapeViewModel Arc { get; set; }
... | mit | C# |
11f481147d6f4f75bb2fe7591871e42493ec680c | update AssemblyInfo.cs | ost-onion/SolutionParser | src/Onion.SolutionParser.Parser/Properties/AssemblyInfo.cs | src/Onion.SolutionParser.Parser/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# |
b89ce8b7262c600345d6fbe6f05f7116159220ae | Update SecureSocketOptions.cs | serilog/serilog-sinks-email | src/Serilog.Sinks.Email/Sinks/Email/SecureSocketOptions.cs | src/Serilog.Sinks.Email/Sinks/Email/SecureSocketOptions.cs | //
// SecureSocketOptions.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2021 .NET Foundation and Contributors
//
// 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 th... | #if MAIL_KIT
namespace Serilog.Sinks.Email
{
/// <summary>Secure socket options.</summary>
/// <remarks>
/// Provides a way of specifying the SSL and/or TLS encryption that
/// should be used for a connection.
/// </remarks>
public enum SecureSocketOptions
{
/// <summary>
/... | apache-2.0 | C# |
eab692e414b35c55607b9c674457cfe97f6b4127 | Revert "Added xaml modification" | blstream/AugmentedSzczecin_WP,blstream/AugmentedSzczecin_WP,blstream/AugmentedSzczecin_WP | AugmentedSzczecin/AugmentedSzczecin/Services/DataService.cs | AugmentedSzczecin/AugmentedSzczecin/Services/DataService.cs | using AugmentedSzczecin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Formatting;
using System.Text;
using System.Threading.Tasks;
using Windows.Data.Json;
using Newtonsoft.Json;
using System.Collections.ObjectMode... | using AugmentedSzczecin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Formatting;
using System.Text;
using System.Threading.Tasks;
using Windows.Data.Json;
using Newtonsoft.Json;
using System.Collections.ObjectMode... | apache-2.0 | C# |
4e041112b401e56d14220fa4df9fa94ea8b11c7e | Update LayerDragAndDropListBox.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | Core2D.Wpf/Controls/Custom/Lists/LayerDragAndDropListBox.cs | Core2D.Wpf/Controls/Custom/Lists/LayerDragAndDropListBox.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.Collections.Immutable;
using System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | // 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.Collections.Immutable;
using System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | mit | C# |
272a11962b1a9826ac172645e5833302ea36ca73 | Add TODO instead of exception for HairRenderer | ethanmoffat/EndlessClient | EndlessClient/Rendering/CharacterProperties/HairRenderer.cs | EndlessClient/Rendering/CharacterProperties/HairRenderer.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.BLL;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace EndlessClient.Rendering.CharacterProperties
{
public class HairRe... | // 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.BLL;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace EndlessClient.Rendering.CharacterProperties
{
public class HairRe... | mit | C# |
7e3d471d3d2b7d3d614a8c338767309c4f569eb8 | Fix compiler test fixture setup | tgjones/mincamlsharp | src/MinCamlSharp.Tests/CompilerTests.cs | src/MinCamlSharp.Tests/CompilerTests.cs | using System.Diagnostics;
using System.IO;
using NUnit.Framework;
namespace MinCamlSharp.Tests
{
[TestFixture]
public class CompilerTests
{
[TestFixtureSetUp]
public void PrepareBinariesDirectory()
{
if (Directory.Exists("Binaries"))
Directory.Delete("Binaries", true);
Directory.CreateDirectory("Bi... | using System.Diagnostics;
using System.IO;
using NUnit.Framework;
namespace MinCamlSharp.Tests
{
[TestFixture]
public class CompilerTests
{
[TestFixtureSetUp]
public void PrepareBinariesDirectory()
{
if (Directory.Exists("Binaries"))
Directory.Delete("Binaries");
Directory.CreateDirectory("Binaries... | bsd-3-clause | C# |
003add6a7b4baad7205a1bfadfe0ecf2d1f54ade | Remove extra empty line. | ErikSchierboom/roslyn,KirillOsenkov/roslyn,jasonmalinowski/roslyn,brettfo/roslyn,bartdesmet/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,sharwell/roslyn,wvdd007/roslyn,heejaechang/roslyn,aelij/roslyn,mgoertz-msft/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,sharwell/roslyn,Ki... | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Composition;
using System.IO;
using System.Linq;
using Microsoft.CodeA... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Composition;
using System.IO;
using System.Linq;
using Microsoft.CodeA... | mit | C# |
aa8dd5947ab17d5fe9505c69fb7b245fcd7d94d7 | Call the correct implementation if IMessageHandler.ProcessMessage method | Shuttle/Shuttle.Esb,Shuttle/shuttle-esb-core | Shuttle.Esb/MessageHandling/DefaultMessageHandlerInvoker.cs | Shuttle.Esb/MessageHandling/DefaultMessageHandlerInvoker.cs | using System;
using System.Linq;
using Shuttle.Core.Infrastructure;
namespace Shuttle.Esb
{
public class DefaultMessageHandlerInvoker : IMessageHandlerInvoker
{
public MessageHandlerInvokeResult Invoke(IPipelineEvent pipelineEvent)
{
Guard.AgainstNull(pipelineEvent, "pipelineEvent");
var state = pipeline... | using System;
using Shuttle.Core.Infrastructure;
namespace Shuttle.Esb
{
public class DefaultMessageHandlerInvoker : IMessageHandlerInvoker
{
public MessageHandlerInvokeResult Invoke(IPipelineEvent pipelineEvent)
{
Guard.AgainstNull(pipelineEvent, "pipelineEvent");
var state = pipelineEvent.Pipeline.Stat... | bsd-3-clause | C# |
238dd85a2bff24c4947aeba524c2da09d4e1e2fa | repair stream dispose defect | riganti/dotvvm,riganti/dotvvm,kiraacorsac/dotvvm,darilek/dotvvm,riganti/dotvvm,darilek/dotvvm,kiraacorsac/dotvvm,kiraacorsac/dotvvm,darilek/dotvvm,riganti/dotvvm | src/DotVVM.Framework.Hosting.AspNetCore/Hosting/DotvvmHttpResponse.cs | src/DotVVM.Framework.Hosting.AspNetCore/Hosting/DotvvmHttpResponse.cs | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
namespace DotVVM.Framework.Hosting
{
public class DotvvmHttpResponse : IHttpResponse
{
public HttpResponse OriginalResponse { get; }
public IHttpContext C... | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
namespace DotVVM.Framework.Hosting
{
public class DotvvmHttpResponse : IHttpResponse
{
public HttpResponse OriginalResponse { get; }
public IHttpContext C... | apache-2.0 | C# |
fc08118a59c0ca382462a9dc52c13e27bdbb440c | Update LoggerConfigurationXamarinExtensions.cs (#18) | serilog/serilog-sinks-xamarin | src/Serilog.Sinks.Xamarin.iOS/LoggerConfigurationXamarinExtensions.cs | src/Serilog.Sinks.Xamarin.iOS/LoggerConfigurationXamarinExtensions.cs | // Copyright 2016 Serilog Contributors
//
// 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 ... | // Copyright 2016 Serilog Contributors
//
// 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 ... | apache-2.0 | C# |
bca183fead2f931a713173c36985a537d3108fd4 | Fix bug #1222: Repair MyClaimTagHelper | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | src/JoinRpg.Portal/TagHelpers/MyClaimTagHelper.cs | src/JoinRpg.Portal/TagHelpers/MyClaimTagHelper.cs | using JoinRpg.Web.Models;
using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace JoinRpg.Portal.TagHelpers
{
[HtmlTargetElement("my-claim-link")]
public class MyClaimTagHelper : AnchorTagHelper
{
[HtmlAttributeN... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JoinRpg.Web.Models;
using Microsoft.AspNetCore.Mvc.TagHelpers;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.Runtime.TagHelpers;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace ... | mit | C# |
052ec905dfd503440389303950151e55fad64175 | Fix YukariCake grab transition | NitorInc/NitoriWare,NitorInc/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare | Assets/Resources/Microgames/YukariCake/Scripts/YukariCakeController.cs | Assets/Resources/Microgames/YukariCake/Scripts/YukariCakeController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YukariCakeController : MonoBehaviour {
// Properties
public YukariCakeReimu Enemy;
public List<AudioSource> AudioSources;
public Animator YukariAnimator;
public AudioSource YukariSource;
public AudioCl... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YukariCakeController : MonoBehaviour {
// Properties
public YukariCakeReimu Enemy;
public List<AudioSource> AudioSources;
public Animator YukariAnimator;
public AudioSource YukariSource;
public AudioCl... | mit | C# |
883617e961975687b2ba5508424fb92817beda4e | Use a section for ElasticSearch. | ExRam/ExRam.Gremlinq | src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs | src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs | using System;
using ExRam.Gremlinq.Providers.Neptune;
using Microsoft.Extensions.Configuration;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
public static GremlinqSetup UseNeptune(this GremlinqSetup setup, Func<INeptuneConfigurator, IConfiguration, INeptuneConfi... | using System;
using ExRam.Gremlinq.Providers.Neptune;
using Microsoft.Extensions.Configuration;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
public static GremlinqSetup UseNeptune(this GremlinqSetup setup, Func<INeptuneConfigurator, IConfiguration, INeptuneConfi... | mit | C# |
9cffbd171b3f1fdd61de251685984c885e5efadb | Fix Elm extensions | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Diagnostics.Elm/ElmServiceCollectionExtensions.cs | src/Microsoft.AspNet.Diagnostics.Elm/ElmServiceCollectionExtensions.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 System;
using Microsoft.AspNet.Diagnostics.Elm;
using Microsoft.Framework.Internal;
namespace Microsoft.Framework.DependencyInj... | // 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 System;
using Microsoft.AspNet.Diagnostics.Elm;
using Microsoft.Framework.Internal;
namespace Microsoft.Framework.DependencyInj... | apache-2.0 | C# |
3962a42f0343d69cef11a2c6a1ce47dd29bdcfe3 | change for easier read | ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7 | ReflectionAndDynamic/DynamicSamples/DynamicSample/WroxDynamicObject.cs | ReflectionAndDynamic/DynamicSamples/DynamicSample/WroxDynamicObject.cs | using System;
using System.Collections.Generic;
using System.Dynamic;
namespace DynamicSample
{
public class WroxDynamicObject : DynamicObject
{
private Dictionary<string, object> _dynamicData = new Dictionary<string, object>();
public override bool TryGetMember(GetMemberBinder binder, out ob... | using System;
using System.Collections.Generic;
using System.Dynamic;
namespace DynamicSample
{
public class WroxDynamicObject : DynamicObject
{
private Dictionary<string, object> _dynamicData = new Dictionary<string, object>();
public override bool TryGetMember(GetMemberBinder binder, out ob... | mit | C# |
0e9df92a170e8eaa579e6c673e50c486ed821e03 | Update EntityQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>,
IQ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace TIKSN.Data.EntityFrameworkCore
{
public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>,
IQ... | mit | C# |
3a63cc70e0cfd3a3c26dcf7f0f949da7b8470df4 | fix top nav dropdown | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | src/mikeandwan.us/Views/Shared/Components/AccountStatus/Default.cshtml | src/mikeandwan.us/Views/Shared/Components/AccountStatus/Default.cshtml | @using MawMvcApp.ViewComponents
@model AccountStatusViewModel
<ul class="navbar-nav">
@if(Model.IsAuthenticated) {
<li class="nav-item" class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#"><svg-icon icon="Person" class="icon"></svg-icon></a>
... | @using MawMvcApp.ViewComponents
@model AccountStatusViewModel
<ul class="navbar-nav">
@if(Model.IsAuthenticated) {
<li class="nav-item" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><svg-icon icon="Person" class="icon"></svg-icon><svg-icon icon="CaretDown" class="... | mit | C# |
882d33397c9d21bfe43b62b80c1cc0e185ffbcfc | Fix logic error | hey-red/Mime | src/Mime/Magic.cs | src/Mime/Magic.cs | using System;
using System.Runtime.InteropServices;
namespace HeyRed.MimeGuesser
{
public class Magic : IDisposable
{
private IntPtr _magic;
public Magic(MagicOpenFlags flags, string dbPath = null)
{
_magic = MagicNative.magic_open(flags);
if (_magic == IntPtr.... | using System;
using System.Runtime.InteropServices;
namespace HeyRed.MimeGuesser
{
public class Magic : IDisposable
{
private IntPtr _magic;
public Magic(MagicOpenFlags flags, string dbPath = null)
{
_magic = MagicNative.magic_open(flags);
if (_magic == IntPtr.... | mit | C# |
5a828d0609b7229c70b774598b1f112512cac1ba | Bump Cake.Recipe from 2.1.0 to 2.2.0 | abeggchr/cake-gradle,abeggchr/cake-gradle | recipe.cake | recipe.cake | #l nuget:?package=Cake.Recipe&version=2.2.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Gradle",
repositoryOwner: "cake-contrib",
shouldRunCodecov: true,
shouldRunDotNetCorePack: true,... | #l nuget:?package=Cake.Recipe&version=2.1.0
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Gradle",
repositoryOwner: "cake-contrib",
shouldRunCodecov: true,
shouldRunDotNetCorePack: true,... | mit | C# |
72de465c34ea710b383c5d959397a50b1c6ee5ac | Update QuoteRepository.cs | Blacnova/NadekoBot,gfrewqpoiu/NadekoBot,shikhir-arora/NadekoBot,powered-by-moe/MikuBot,WoodenGlaze/NadekoBot,Nielk1/NadekoBot,Taknok/NadekoBot,Midnight-Myth/Mitternacht-NEW,ShadowNoire/NadekoBot,PravEF/EFNadekoBot,halitalf/NadekoMods,miraai/NadekoBot,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,ScarletKu... | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | mit | C# |
8d2867a2f969282bfd2a32c4b82a13594989b334 | Remove get all with dynamic clause. SHould be handeled by user in own class. Otherwise forced to use FastCRUD | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGetAll.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGetAll.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper.FastCrud;
using Dapper.FastCrud.Configuration.StatementOptions.Builders;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper.FastCrud;
using Dapper.FastCrud.Configuration.StatementOptions.Builders;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<... | mit | C# |
bf0cbf182fe5d6505a8bea0254fa0f27b54585cb | rework of ValueSyntax | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/reni2/TokenClasses/Function.cs | src/reni2/TokenClasses/Function.cs | using hw.Parser;
using Reni.Parser;
namespace Reni.TokenClasses
{
[BelongsTo(typeof(MainTokenFactory))]
[Variant(false, false)]
[Variant(true, false)]
[Variant(false, true)]
sealed class Function : TokenClass, IValueProvider
{
readonly bool IsImplicit;
readonly bool ... | using hw.Parser;
using Reni.Parser;
namespace Reni.TokenClasses
{
[BelongsTo(typeof(MainTokenFactory))]
[Variant(false, false)]
[Variant(true, false)]
[Variant(false, true)]
sealed class Function : TokenClass, IValueProvider
{
public static string TokenId(bool isImplicit = fa... | mit | C# |
0bc2bff05b1119c937ba8afc5e754d69129fa950 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.63")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.62")] | mit | C# |
ec647141aa72f7d876770dd8d6b2c5e6d78b520e | work backup | asmrobot/ZTImage | src/ZTImage.HttpParser/HttpFrame.cs | src/ZTImage.HttpParser/HttpFrame.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZTImage.HttpParser
{
public class HttpFrame
{
public HttpFrame():this(http_parser_type.HTTP_BOTH)
{
}
public HttpFrame(http_parser_type parserType)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZTImage.HttpParser
{
public class HttpFrame
{
public HttpFrame():this(http_parser_type.HTTP_BOTH)
{
}
public HttpFrame(http_parser_type parserType)
... | apache-2.0 | C# |
d44040d800f638ff4b53aa4d4f979d040c319588 | Add more arango specific attributes. | yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET | src/Arango/Arango.Client/API/Documents/ArangoProperty.cs | src/Arango/Arango.Client/API/Documents/ArangoProperty.cs | using System;
namespace Arango.Client
{
[AttributeUsage(AttributeTargets.Property)]
public class ArangoProperty : Attribute
{
public bool Serializable { get; set; }
public bool Identity { get; set; }
public bool Key { get; set; }
public bool Revision { get; set; }... | using System;
namespace Arango.Client
{
[AttributeUsage(AttributeTargets.Property)]
public class ArangoProperty : Attribute
{
public string Alias { get; set; }
public bool Serializable { get; set; }
public ArangoProperty()
{
Serializable = t... | mit | C# |
5a882e0ca6aff5e8c91193f8def7dbdeda0bccee | Add support for `submit` option on Dispute update (#1562) | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/Disputes/DisputeUpdateOptions.cs | src/Stripe.net/Services/Disputes/DisputeUpdateOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class DisputeUpdateOptions : BaseOptions
{
/// <summary>
/// Evidence to upload, to respond to a dispute. Updating any field in the hash will submit
/// all fields in the hash for review. The comb... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class DisputeUpdateOptions : BaseOptions
{
[JsonProperty("evidence")]
public DisputeEvidenceOptions Evidence { get; set; }
[JsonProperty("metadata")]
public Dictionary<string, string> Met... | apache-2.0 | C# |
a63ea96a3cb5ecc9fbf83f0f0de68a0c8b485a5e | Fix broken TemplateHost sample | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/Framework/Framework/Compilation/DataContextPropertyAssigningVisitor.cs | src/Framework/Framework/Compilation/DataContextPropertyAssigningVisitor.cs | using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.Compilation.ControlTree.Resolved;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Controls.Infrastructure;
using DotVVM.Framework.Utils;
namespace DotVVM.Framework.Compilation
{
/// <summary>
/// Assigns <see cre... | using System;
using System.Collections.Generic;
using System.Text;
using DotVVM.Framework.Compilation.ControlTree.Resolved;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Controls.Infrastructure;
using DotVVM.Framework.Utils;
namespace DotVVM.Framework.Compilation
{
/// <summary>
/// Assigns <see cre... | apache-2.0 | C# |
c4b8dd456dce6a62fa96c7643f4e664a055f4c81 | update persisted grant mapper | IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework | src/IdentityServer4.EntityFramework/Mappers/PersistedGrantMapperProfile.cs | src/IdentityServer4.EntityFramework/Mappers/PersistedGrantMapperProfile.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using AutoMapper;
namespace IdentityServer4.EntityFramework.Mappers
{
/// <summary>
/// Defines entity/model mapping for persisted g... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using AutoMapper;
namespace IdentityServer4.EntityFramework.Mappers
{
/// <summary>
/// Defines entity/model mapping for persisted g... | apache-2.0 | C# |
94f5477d5e939be65c178e06e512f1a1ce361b3d | Fix #351 : SiteName defined in setup is not used | yiji/Orchard2,stevetayloruk/Orchard2,jtkech/Orchard2,lukaskabrt/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,lukaskabrt/Orchard2,yiji/Orchard2,xkproject/Orchard2,xkproject/Orchard2,lukaskabrt/Or... | src/Orchard.Cms.Web/Modules/Orchard.Settings/Services/SetupEventHandler.cs | src/Orchard.Cms.Web/Modules/Orchard.Settings/Services/SetupEventHandler.cs | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Orchard.Events;
namespace Orchard.Settings.Services
{
public interface ISetupEventHandler : IEventHandler
{
Task Setup(string siteName, string userName);
}
/// <summary>
/// During setup, reg... | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Orchard.Events;
namespace Orchard.Settings.Services
{
public interface ISetupEventHandler : IEventHandler
{
Task Setup(string userName);
}
/// <summary>
/// During setup, registers the Super ... | bsd-3-clause | C# |
e61b2064cb2e629ac192379fbcfaa71ade20f9e6 | Fix route name clash | Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-applicati... | VotingApplication/VotingApplication.Web.Api/App_Start/WebApiConfig.cs | VotingApplication/VotingApplication.Web.Api/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
using System.Net.Http.Headers;
namespace VotingApplication.Web.Api
{
public static class WebApiConfig
{
public stat... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Owin.Security.OAuth;
using Newtonsoft.Json.Serialization;
using System.Net.Http.Headers;
namespace VotingApplication.Web.Api
{
public static class WebApiConfig
{
public stat... | apache-2.0 | C# |
e2984c319851683bf0ae7f150e6b55dcd3e99556 | Update SettingsServiceTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core.Tests/Settings/SettingsServiceTests.cs | TIKSN.Framework.Core.Tests/Settings/SettingsServiceTests.cs | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.DependencyInjection;
using TIKSN.FileSystem;
namespace TIKSN.Settings.Tests
{
public partial class SettingsServiceTests
{
partial void SetupDenepdencies()
{
this.services.AddFramew... | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.DependencyInjection;
using TIKSN.FileSystem;
namespace TIKSN.Settings.Tests
{
public partial class SettingsServiceTests
{
partial void SetupDenepdencies()
{
services.AddFrameworkPl... | mit | C# |
12769f90a759df5ba2b091e868a25fa5fc104deb | Add missing effect types to generic effect enum | CoraleStudios/Colore | src/Colore/Effects/Generic/Effect.cs | src/Colore/Effects/Generic/Effect.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Effect.cs" company="Corale">
// Copyright © 2015-2018 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and ... | // ---------------------------------------------------------------------------------------
// <copyright file="Effect.cs" company="Corale">
// Copyright © 2015-2018 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and ... | mit | C# |
93397873bb34e70f8d7e8e7564ca9aebee0d4eb3 | make non-ASCII names show in sources | gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,gma... | src/BloomExe/Collection/ShortcutMaker.cs | src/BloomExe/Collection/ShortcutMaker.cs | using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
#if !__MonoCS__
using IWshRuntimeLibrary;
#endif
using File = System.IO.File;
namespace Bloom.Collection
{
static class ShortcutMaker
{
#if !__MonoCS__
const int MAX_PATH = 255;
[DllImport("kernel32.dll", CharSet = CharSet.... | using System;
using System.IO;
#if !__MonoCS__
using IWshRuntimeLibrary;
#endif
using File = System.IO.File;
namespace Bloom.Collection
{
class ShortcutMaker
{
public static void CreateDirectoryShortcut(string targetPath, string whereToPutItPath)
{
var name = Path.GetFileName(targetPath);
string linkPath ... | mit | C# |
145075b13942a8987dbfdb0cfa633df0dabc1560 | 修改 Detail view (加入Rating欄位). | NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie | src/MvcMovie/Views/Movies/Details.cshtml | src/MvcMovie/Views/Movies/Details.cshtml | @model MvcMovie.Models.Movie
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>Movie</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Genre)
</dt>
<dd>
@Html.DisplayFor(model => model.Genre)
</dd>
... | @model MvcMovie.Models.Movie
@{
ViewData["Title"] = "Details";
}
<h2>Details</h2>
<div>
<h4>Movie</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Genre)
</dt>
<dd>
@Html.DisplayFor(model => model.Genre)
</dd>
... | apache-2.0 | C# |
60d584827db1a0b3bbfd29be365ca2a811f65f0c | fix peek min | justcoding121/Algorithm-Sandbox,justcoding121/Advanced-Algorithms | Advanced.Algorithms/DataStructures/Queues/PriorityQueue/MinPriorityQueue.cs | Advanced.Algorithms/DataStructures/Queues/PriorityQueue/MinPriorityQueue.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace Advanced.Algorithms.DataStructures
{
/// A priority queue implementation using min heap,
/// assuming that lower values have a higher priority.
public class MinPriorityQueue<T> : IEnumerable<T> where T : IComparable
{
... | using System;
using System.Collections;
using System.Collections.Generic;
namespace Advanced.Algorithms.DataStructures
{
/// A priority queue implementation using min heap,
/// assuming that lower values have a higher priority.
public class MinPriorityQueue<T> : IEnumerable<T> where T : IComparable
{
... | mit | C# |
6518b89659d7a97b2aa172dea891520daaf6a151 | update vs to release | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/PortableAreas/Password/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/PortableAreas/Password/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("Pa... | 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("Pa... | apache-2.0 | C# |
3536cf5aade8a67bb610d29586a53b963be96a66 | Fix #5183 - update docs of CreateWriter | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterWriteContext.cs | src/Microsoft.AspNetCore.Mvc.Abstractions/Formatters/OutputFormatterWriteContext.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Text;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Text;
using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
... | apache-2.0 | C# |
79bab5f08ec671417e2d6ba5254c02a6c21071c0 | Address feedback | eriawan/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,diryboy/roslyn,bartdesmet/roslyn,eriawan/roslyn,dotnet/roslyn,weltkante/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,physhi/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,wvdd007/roslyn,wvdd007/roslyn,bartdesme... | src/Analyzers/CSharp/Analyzers/ConvertTypeofToNameof/CSharpConvertTypeOfToNameOfDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/ConvertTypeofToNameof/CSharpConvertTypeOfToNameOfDiagnosticAnalyzer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.ConvertTypeOfToNameOf;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Cod... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.ConvertTypeOfToNameOf;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Cod... | mit | C# |
3093302edaa40ce7cc6d165e4c200921d37352ea | initialize returns gameobject | taka-oyama/UniHttp | Assets/UniHttp/HttpManager.cs | Assets/UniHttp/HttpManager.cs | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System;
namespace UniHttp
{
public sealed class HttpManager : MonoBehaviour
{
public string dataPath;
public int maxPersistentConnections;
public string encryptionPassword;
public static IContentSerializer RequestBodySerializer;
... | using UnityEngine;
using System.IO;
using System.Collections.Generic;
using System;
namespace UniHttp
{
public sealed class HttpManager : MonoBehaviour
{
public string dataPath;
public int maxPersistentConnections;
public string encryptionPassword;
public static IContentSerializer RequestBodySerializer;
... | mit | C# |
cfbed220f37829c80b2e9ae1c2fc523919f6da98 | Fix creation of admin role in DB initialization | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu | src/Dangl.WebDocumentation/Models/DatabaseInitialization.cs | src/Dangl.WebDocumentation/Models/DatabaseInitialization.cs | using System.Linq;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Dangl.WebDocumentation.Models
{
public static class DatabaseInitialization
{
public static void Initialize(ApplicationDbContext Context)
{
SetUpRoles(Context);
}
private static vo... | using System.Linq;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Dangl.WebDocumentation.Models
{
public static class DatabaseInitialization
{
public static void Initialize(ApplicationDbContext Context)
{
SetUpRoles(Context);
}
private static vo... | mit | C# |
82157f6e927869d62c69924003cf0b35e90b073a | Remove Margin from Approval Buttons | 4-of-3/cvgs,4-of-3/cvgs | CVGS/Views/Reviews/Pending.cshtml | CVGS/Views/Reviews/Pending.cshtml | @model IEnumerable<CVGS.Models.REVIEW>
@{
ViewBag.Title = "Pending Reviews";
}
<h2>@ViewBag.Title</h2>
<table class="table">
<tr>
<th>
User
</th>
<th>
@Html.DisplayNameFor(model => model.GAME.Title)
</th>
<th>
@Html.DisplayNameFor(m... | @model IEnumerable<CVGS.Models.REVIEW>
@{
ViewBag.Title = "Pending Reviews";
}
<h2>@ViewBag.Title</h2>
<table class="table">
<tr>
<th>
User
</th>
<th>
@Html.DisplayNameFor(model => model.GAME.Title)
</th>
<th>
@Html.DisplayNameFor(m... | mit | C# |
663ce7ec1bd069904dbee36cb9e43451a6726ec5 | Use Span to drop byte[1] allocations (dotnet/coreclr#15680) (#5190) | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/System.Private.CoreLib/shared/System/IO/PinnedBufferMemoryStream.cs | src/System.Private.CoreLib/shared/System/IO/PinnedBufferMemoryStream.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
**
**
**
**
** Purpose: Pins a byte[], exposing ... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
**
**
**
**
** Purpose: Pins a byte[], exposing ... | mit | C# |
2254d475bdebe3a4b1ce46d501e0a193a374d3f5 | Apply suggestions from code review | dawoe/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,abryuk... | src/Umbraco.Web.Common/Extensions/UmbracoApplicationBuilder.Identity.cs | src/Umbraco.Web.Common/Extensions/UmbracoApplicationBuilder.Identity.cs | using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Security;
namespace Umbraco.Extensions
{
public static partial class UmbracoApplicationBuilderExtensions... | using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Security;
namespace Umbraco.Extensions
{
public static partial class UmbracoApplicationBuilderExtensions... | mit | C# |
304bb9ce5b9058a59925cb425e1cec1b25658561 | Send proper 401 for access denied | MacDennis76/Unicorn,rmwatson5/Unicorn,PetersonDave/Unicorn,bllue78/Unicorn,kamsar/Unicorn,GuitarRich/Unicorn,kamsar/Unicorn,PetersonDave/Unicorn,MacDennis76/Unicorn,bllue78/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn | src/Unicorn/ControlPanel/AccessDenied.cs | src/Unicorn/ControlPanel/AccessDenied.cs | using System.Web;
using System.Web.UI;
namespace Unicorn.ControlPanel
{
public class AccessDenied : IControlPanelControl
{
public void Render(HtmlTextWriter writer)
{
writer.Write("<h2>Access Denied</h2>");
writer.Write("<p>You need to <a href=\"/sitecore/admin/login.aspx?ReturnUrl={0}\">sign in to Siteco... | using System.Web;
using System.Web.UI;
namespace Unicorn.ControlPanel
{
public class AccessDenied : IControlPanelControl
{
public void Render(HtmlTextWriter writer)
{
writer.Write("<h2>Access Denied</h2>");
writer.Write("<p>You need to <a href=\"/sitecore/admin/login.aspx?ReturnUrl={0}\">sign in to Siteco... | mit | C# |
84a198800e4e07871fa246ca4273468e899028f8 | change IsNew_OldEntity_Returns* test name from true to false | tc-dev/tc-dev.Core | tests/tc-dev.Core.UnitTests/Domain/Extensions/IdentifiableUtilsTests.cs | tests/tc-dev.Core.UnitTests/Domain/Extensions/IdentifiableUtilsTests.cs | using System;
using NUnit.Framework;
using tc_dev.Core.Domain.Extensions;
namespace tc_dev.Core.UnitTests.Domain.Extensions
{
[TestFixture]
public class IdentifiableUtilsTests
{
[Test]
public void IsNew_NullEntity_ThrowsException() {
FakeEntity nullEntity = null;
A... | using System;
using NUnit.Framework;
using tc_dev.Core.Domain.Extensions;
namespace tc_dev.Core.UnitTests.Domain.Extensions
{
[TestFixture]
public class IdentifiableUtilsTests
{
[Test]
public void IsNew_NullEntity_ThrowsException() {
FakeEntity nullEntity = null;
A... | mit | C# |
ebe61a232837dd4c782deca5f8aabbba34e6085e | Comment code | mstrother/BmpListener | BmpListener/Bgp/Capability.cs | BmpListener/Bgp/Capability.cs | using System;
using System.Linq;
namespace BmpListener.Bgp
{
public abstract class Capability
{
//private readonly int length;
// http://www.iana.org/assignments/capability-codes/capability-codes.xhtml
public enum CapabilityCode
{
Multiprotocol = 1,
Rou... | using System;
using System.Linq;
namespace BmpListener.Bgp
{
public abstract class Capability
{
//private readonly int length;
public enum CapabilityCode
{
Multiprotocol = 1,
RouteRefresh = 2,
//TODO capability code 4
GracefulRestart = 6... | mit | C# |
54d1fbd369a962611dfca191f65ace6344b070af | update directives for AHK v2 | maul-esel/CobaltAHK,maul-esel/CobaltAHK | CobaltAHK/Syntax/Directive.cs | CobaltAHK/Syntax/Directive.cs | using System;
namespace CobaltAHK
{
public static partial class Syntax
{
public enum Directive
{
ClipboardTimeout,
ErrorStdOut,
HotkeyInterval,
HotkeyModifierTimeout,
Hotstring,
If,
IfTimeout,
IfWinActive,
IfWinExist,
Include,
InputLevel,
InstallKeybdHook,
InstallMouseHook,... | using System;
namespace CobaltAHK
{
public static partial class Syntax
{
public enum Directive
{
ClipboardTimeout,
CommentFlag,
ErrorStdOut,
EscapeChar,
HotkeyInterval,
HotkeyModifierTimeout,
Hotstring,
If,
IfTimeout,
IfWinActive,
IfWinExist,
Include,
InputLevel,
Install... | mit | C# |
806a069cebf13347f5a96a5a9ceb7a3e000904cc | Simplify code | ridercz/AutoACME | Altairis.AutoAcme.Core/Challenges/ManagementExtensions.cs | Altairis.AutoAcme.Core/Challenges/ManagementExtensions.cs | using System;
using System.Collections.Generic;
using System.Management;
using System.Threading.Tasks;
namespace Altairis.AutoAcme.Core.Challenges {
public static class ManagementExtensions {
private static CompletedEventHandler CreateCompletedHandler<T>(this TaskCompletionSource<T> that, T result ... | using System;
using System.Collections.Generic;
using System.Management;
using System.Threading.Tasks;
namespace Altairis.AutoAcme.Core.Challenges {
public static class ManagementExtensions {
private static CompletedEventHandler CreateCompletedHandler<T>(this TaskCompletionSource<T> that, T result ... | mit | C# |
58d48c6ba452a5a0592cc9b28c9dbe8837f36a8a | Fix it again | appetizermonster/Unity3D-ActionEngine | Assets/ActionEngine/AEScript/Editor/AEScriptDataDrawer.cs | Assets/ActionEngine/AEScript/Editor/AEScriptDataDrawer.cs | using System;
using System.Collections;
using UnityEditor;
using UnityEngine;
namespace ActionEngine {
[CustomPropertyDrawer(typeof(AEScriptData))]
public sealed class AEScriptDataDrawer : PropertyDrawer {
private const int TEXT_HEIGHT = 18;
public override void OnGUI (Rect position, SerializedProperty proper... | using System;
using System.Collections;
using UnityEditor;
using UnityEngine;
namespace ActionEngine {
[CustomPropertyDrawer(typeof(AEScriptData))]
public sealed class AEScriptDataDrawer : PropertyDrawer {
private const int TEXT_HEIGHT = 18;
public override void OnGUI (Rect position, SerializedProperty proper... | mit | C# |
996430b495c9b26db2e43037462d37676ea65be1 | Fix typo. | int19h/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,int19h/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS | Python/Product/PythonTools/PythonTools/Options/LanguageServerOptions.cs | Python/Product/PythonTools/PythonTools/Options/LanguageServerOptions.cs | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | apache-2.0 | C# |
09c55bd178c864b374767f8cb34b2d2e780a10b5 | Remove this last piece of hardcodedness | red-gate/Knockout.Binding | Knockout.Binding/KnockoutProxy.cs | Knockout.Binding/KnockoutProxy.cs | using System;
namespace KnckoutBindingGenerater
{
public class KnockoutProxy
{
private readonly string m_ViewModelName;
private readonly string m_PrimitiveObservables;
private readonly string m_MethodProxies;
private readonly string m_CollectionObservables;
... | using System;
namespace KnckoutBindingGenerater
{
public class KnockoutProxy
{
private readonly string m_ViewModelName;
private readonly string m_PrimitiveObservables;
private readonly string m_MethodProxies;
private readonly string m_CollectionObservables;
... | mit | C# |
1b9d19e646d8a5cf53f038a3f727ff0461bdcac0 | Fix failing tests | rmunn/lfmerge-autosrtests,rmunn/lfmerge-autosrtests | LfMerge.AutomatedSRTests/Tests.cs | LfMerge.AutomatedSRTests/Tests.cs | // Copyright (c) 2017 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace LfMerge.AutomatedSRTests
{
[TestFixture]
public class Tests
{
private c... | // Copyright (c) 2017 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace LfMerge.AutomatedSRTests
{
[TestFixture]
public class Tests
{
private c... | mit | C# |
72067187dac92d7eecb54d084ebe81cf3956db95 | add headless mode for tests | yashaka/NSelene,yashaka/NSelene,yashaka/NSelene | NSeleneTests/Integration/SharedDriver/Harness/BaseTest.cs | NSeleneTests/Integration/SharedDriver/Harness/BaseTest.cs | using NUnit.Framework;
using OpenQA.Selenium.Chrome;
using WebDriverManager;
using WebDriverManager.DriverConfigs.Impl;
using static NSelene.Selene;
namespace NSelene.Tests.Integration.SharedDriver.Harness
{
[TestFixture]
public class BaseTest
{
[OneTimeSetUp]
public void initDriver()
... | using NUnit.Framework;
using OpenQA.Selenium.Chrome;
using WebDriverManager;
using WebDriverManager.DriverConfigs.Impl;
using static NSelene.Selene;
namespace NSelene.Tests.Integration.SharedDriver.Harness
{
[TestFixture]
public class BaseTest
{
[OneTimeSetUp]
public void initDriver()
... | mit | C# |
c1ebadf4f7d56483f1112fc7f81e42de2a614d39 | Access operator for array is now "item" | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/reni2/FeatureTest/Reference/ArrayReferenceByInstance.cs | src/reni2/FeatureTest/Reference/ArrayReferenceByInstance.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType]
[TargetSet(@"
text: 'abcdefghijklmnopqrstuvwxyz';
pointer: ((text type item)*1) array_reference instance (text);
pointer item(7) dump_print;
pointer ... | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType]
[TargetSet(@"
text: 'abcdefghijklmnopqrstuvwxyz';
pointer: ((text type >>)*1) array_reference instance (text);
(pointer >> 7) dump_print;
(pointer >>... | mit | C# |
e1ae408db9bdff035cb096ea9d9d9ed41517f5aa | Adjust some code comments | andrasm/prometheus-net | Prometheus.AspNetCore/MetricServerMiddlewareExtensions.cs | Prometheus.AspNetCore/MetricServerMiddlewareExtensions.cs | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace Prometheus
{
public static class MetricServerMiddlewareExtensions
{
/// <summary>
/// Starts a Prometheus metrics exporter, filtering to only handle requests received on a specific port.
/// Th... | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace Prometheus
{
public static class MetricServerMiddlewareExtensions
{
/// <summary>
/// Starts a Prometheus metrics exporter on a specific port.
/// Use static methods on the <see cref="Metrics"/... | mit | C# |
c331c04f9a23b614bb9979398b2d6802bbbac3c4 | switch index to outtask | ResourceDataInc/Simpler.Data,ResourceDataInc/Simpler.Data,ResourceDataInc/Simpler.Data,gregoryjscott/Simpler,gregoryjscott/Simpler | MvcExample/Tasks/Players/Index.cs | MvcExample/Tasks/Players/Index.cs | using MvcExample.Models.Players;
using Simpler;
using Simpler.Data.Tasks;
using Simpler.Web.Models;
namespace MvcExample.Tasks.Players
{
public class Index : OutTask<IndexResult<PlayerIndex>>
{
public RunSqlAndReturn<PlayerIndexItem> FetchPlayers { get; set; }
public override void Execute()
... | using MvcExample.Models.Players;
using Simpler;
using Simpler.Data.Tasks;
using Simpler.Web.Models;
namespace MvcExample.Tasks.Players
{
public class Index : InOutTask<object, IndexResult<PlayerIndex>>
{
public RunSqlAndReturn<PlayerIndexItem> FetchPlayers { get; set; }
public override void E... | mit | C# |
2137b7ef9c79ef30ecbebf6bb118d43bbf4ce8b3 | Add copy constructor. | mcneel/RhinoCycles | LinearWorkflow.cs | LinearWorkflow.cs | /**
Copyright 2014-2015 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | /**
Copyright 2014-2015 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | apache-2.0 | C# |
f9428edead7d82b1c9bab4219e3a6c0336f4dc4b | Add missing client method to interface | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Client/ICommitmentsApiClient.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Client/ICommitmentsApiClient.cs | using System.Threading;
using System.Threading.Tasks;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
namespace SFA.DAS.CommitmentsV2.Api.Client
{
public interface ICommitmentsApiClient
{
Task<bool> HealthCheck();
Task<AccountLegalEntityRespons... | using System.Threading;
using System.Threading.Tasks;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
namespace SFA.DAS.CommitmentsV2.Api.Client
{
public interface ICommitmentsApiClient
{
Task<bool> HealthCheck();
Task<AccountLegalEntityRespons... | mit | C# |
7a082677a9f2b4dd2091c5149befb44b3b0d24dd | Add comment | diryboy/roslyn,bartdesmet/roslyn,mgoertz-msft/roslyn,AmadeusW/roslyn,aelij/roslyn,MichalStrehovsky/roslyn,panopticoncentral/roslyn,brettfo/roslyn,jasonmalinowski/roslyn,jmarolf/roslyn,wvdd007/roslyn,reaction1989/roslyn,VSadov/roslyn,bartdesmet/roslyn,davkean/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,davkean/roslyn,E... | src/Features/CSharp/Portable/EmbeddedLanguages/EmbeddedLanguageUtilities.cs | src/Features/CSharp/Portable/EmbeddedLanguages/EmbeddedLanguageUtilities.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.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.Features.EmbeddedLanguages
{
internal static class EmbeddedLanguageUtilities
{
... | // 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.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.Features.EmbeddedLanguages
{
internal static class EmbeddedLanguageUtilities
{
... | mit | C# |
9db8a94d8218772a434e3e6a41820a39513f96cd | allow customizing DefaultNamingConventions | SathishN/JSONAPI.NET,SphtKr/JSONAPI.NET,JSONAPIdotNET/JSONAPI.NET,danshapir/JSONAPI.NET | JSONAPI/Core/DefaultNamingConventions.cs | JSONAPI/Core/DefaultNamingConventions.cs | using System;
using System.Linq;
using System.Reflection;
using JSONAPI.Extensions;
using Newtonsoft.Json;
namespace JSONAPI.Core
{
/// <summary>
/// Default implementation of INamingConventions
/// </summary>
public class DefaultNamingConventions : INamingConventions
{
private readonly IP... | using System;
using System.Linq;
using System.Reflection;
using JSONAPI.Extensions;
using Newtonsoft.Json;
namespace JSONAPI.Core
{
/// <summary>
/// Default implementation of INamingConventions
/// </summary>
public class DefaultNamingConventions : INamingConventions
{
private readonly IP... | mit | C# |
5a5cceb2ee010ca71727dd8350dcd5ce2e6e6857 | refactor tests | OlegKleyman/Omego.Extensions | tests/unit/Omego.Extensions.Tests.Unit/Poco/GenericEqualityComparerTests.cs | tests/unit/Omego.Extensions.Tests.Unit/Poco/GenericEqualityComparerTests.cs | using System;
namespace Omego.Extensions.Tests.Unit.Poco
{
using FluentAssertions;
using Omego.Extensions.Poco;
using Xunit;
[CLSCompliant(false)]
public class GenericEqualityComparerTests
{
[Theory]
[InlineData(1)]
[InlineData(default(int))]
public void GetH... | using System;
namespace Omego.Extensions.Tests.Unit.Poco
{
using FluentAssertions;
using Omego.Extensions.Poco;
using Xunit;
[CLSCompliant(false)]
public class GenericEqualityComparerTests
{
[Theory]
[InlineData(1)]
[InlineData(default(int))]
public void GetH... | unlicense | C# |
cd7515977aae568eee28baf6aef514d494acfb09 | Update HttpPoller.cs | keith-hall/Extensions,keith-hall/Extensions | src/HttpPoller.cs | src/HttpPoller.cs | using System;
using System.Net;
using System.Reactive.Linq;
public static class HttpPoller
{
public struct ResponseDetails
{
public WebHeaderCollection Headers;
public string Text;
}
public static IObservable<ResponseDetails> PollURL(string url, TimeSpan frequency, Func<WebClient> createWebClient = null)
{
... | public static class HttpPoller {
public struct ResponseDetails {
public WebHeaderCollection Headers;
public string Text;
}
public static IObservable<ResponseDetails> PollURL (string url, TimeSpan frequency, Func<WebClient> createWebClient = null) {
createWebClient = createWebClient ?? (() => new WebClient())... | apache-2.0 | C# |
20fddfa83bc4707b13030abf4fbfdb3b31cc42c9 | Update Mod.cs | maritaria/terratech-mod,Exund/nuterra,Nuterra/Nuterra | src/Sylver/Mod.cs | src/Sylver/Mod.cs | using System;
using UnityEngine;
namespace Sylver
{
public static class Mod
{
public static void Init()
{
Console.WriteLine("Sylver.Mod.Init()");
Mod.BehaviorHolder = new GameObject();
Mod.BehaviorHolder.AddComponent<SylverMod>();
Mod.BehaviorHolder.AddComponent<GUIRenderer>();
UnityEngine.Object.... | using System;
using UnityEngine;
namespace Sylver
{
public static class Mod
{
public static void Init()
{
Console.WriteLine("Sylver.Mod.Init()");
Mod.BehaviorHolder = new GameObject();
Mod.BehaviorHolder.AddComponent<SylverMod>();
UnityEngine.Object.DontDestroyOnLoad(Mod.BehaviorHolder);
}
stati... | mit | C# |
5d0c5a7c5a6a30a02463939856c9e78ae4d86a70 | update version number to 1.8 | estorski/langlay | Langlay.Common/AppSpecific.cs | Langlay.Common/AppSpecific.cs | namespace Product.Common
{
public static class AppSpecific
{
public const string MainAppTitle = "Langlay";
public const string MainAppProcessName = "Langlay";
public const string MainAppProcessNameDebug = MainAppProcessName + ".vshost";
public const string MainAppFilename = "Lan... | namespace Product.Common
{
public static class AppSpecific
{
public const string MainAppTitle = "Langlay";
public const string MainAppProcessName = "Langlay";
public const string MainAppProcessNameDebug = MainAppProcessName + ".vshost";
public const string MainAppFilename = "Lan... | mit | C# |
7c2dc68e13178647e01919d01c4b7d2c1bc82003 | Update RectangleMarker.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/Markers/RectangleMarker.cs | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/Markers/RectangleMarker.cs | #nullable enable
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes.Markers;
internal class RectangleMarker : MarkerBase
{
public SKRect Rect { get; set; }
public override void Draw(object? dc)
{
if (dc is not SKCanvas canvas)
{
return;
}
if (... | #nullable enable
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes.Markers;
internal class RectangleMarker : MarkerBase
{
public SKRect Rect { get; set; }
public override void Draw(object? dc)
{
if (dc is not SKCanvas canvas)
{
return;
}
var ... | mit | C# |
ded1e579ac6ccb2c1fc849dc3587bc06bb2cdbaa | Fix bug in log globalmethod (#6806) | petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2 | src/OrchardCore.Modules/OrchardCore.Scripting/Providers/LogProvider.cs | src/OrchardCore.Modules/OrchardCore.Scripting/Providers/LogProvider.cs | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace OrchardCore.Scripting.Providers
{
public class LogProvider : IGlobalMethodProvider
{
private readonly GlobalMethod _log;
public LogProvider(ILogger<LogProvider> logger)
{
_log = ne... | using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
namespace OrchardCore.Scripting.Providers
{
public class LogProvider : IGlobalMethodProvider
{
private readonly GlobalMethod _log;
public LogProvider(ILogger<LogProvider> logger)
{
_log = ne... | bsd-3-clause | C# |
576104044ec8d8cc361481881975b5a4d0d200d8 | 修改版本号。 | RabbitTeam/RabbitHub | Components/Rabbit.Components.Data/Properties/AssemblyInfo.cs | Components/Rabbit.Components.Data/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Rabbit.Components.Data")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Rabbit.Components... | using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Rabbit.Components.Data")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Rabbit.Components... | apache-2.0 | C# |
bfb9c8fbacd37108790e15353be05c48fd635abf | read kek | XomakNet/tasks | Eval/EvalProgram.cs | Eval/EvalProgram.cs | using System;
using System.Globalization;
using System.Security.Cryptography.X509Certificates;
using System.Text.RegularExpressions;
using System.Threading;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace EvalTask
{
class EvalProgram
{
static void Main(string[] args)
{
... | using System;
using System.Globalization;
using System.Security.Cryptography.X509Certificates;
using System.Text.RegularExpressions;
using System.Threading;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
namespace EvalTask
{
class EvalProgram
{
static void Main(string[] args)
{
... | mit | C# |
b99060d693935653075ce4ea0a234927ea01ac97 | Update BaseClassTests.cs | mcintyre321/OneOf | OneOf.Tests/BaseClassTests.cs | OneOf.Tests/BaseClassTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace OneOf.Tests
{
public abstract class Response : OneOfBase<
Response.MethodNotAllowed,
Response.InvokeSuccessResponse
>
{
public c... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace OneOf.Tests
{
public abstract class Response : OneOfBase<
Response.MethodNotAllowed,
Response.InvokeSuccessResponse
>
{
public c... | mit | C# |
f2a8b3a61edbdaca5401d177e1d3e7b8fa54cadc | write scenario output if any step in the scenario fails (was only asserts) | mvbalaw/FluentAssert | src/FluentAssert/TestRunner.cs | src/FluentAssert/TestRunner.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace FluentAssert
{
internal class TestStep
{
public Action Action;
public string Description;
public string FailureSuffix;
public string SuccessSuffix;
}
[DebuggerNonUserCode]
[DebuggerSt... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace FluentAssert
{
[DebuggerNonUserCode]
[DebuggerStepThrough]
internal static class TestRunner
{
public static void Verify(string actionDescription,
IEnumerable<IParameterActionWrapper>... | mit | C# |
587658b31fc7c2a8cb9a0c8b2b5a3849919caa83 | Fix namespace. | yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli | test/MsgPack.Rpc.Server.UnitTest/Rpc/Server/Protocols/_SetUpFixture.cs | test/MsgPack.Rpc.Server.UnitTest/Rpc/Server/Protocols/_SetUpFixture.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.or... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.or... | apache-2.0 | C# |
67997b9ed910506abdd0ecc516d24a59c8ce7d2a | Clean up | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/OpenGl/Animation/LinearAnimation.cs | SolidworksAddinFramework/OpenGl/Animation/LinearAnimation.cs | using System;
using System.Diagnostics;
using System.Numerics;
using ReactiveUI;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public class LinearAnimation<T> : ReactiveObject, IAnimationSection
where T : IInterpolatable<T>
{
public T From { get; }
public T To { get; }
... | using System;
using System.Diagnostics;
using System.Numerics;
using ReactiveUI;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public class LinearAnimation<T> : ReactiveObject, IAnimationSection
where T : IInterpolatable<T>
{
private readonly IMathUtil... | mit | C# |
01a180abee6c22423fd5baf6d8419ec68261f495 | Update ParameterRebinder.cs | Ar3sDevelopment/Caelan.DynamicLinq | Caelan.DynamicLinq/Classes/ParameterRebinder.cs | Caelan.DynamicLinq/Classes/ParameterRebinder.cs | using System.Linq.Expressions;
using System.Collections.Generic;
namespace Caelan.DynamicLinq.Classes
{
public class ParameterRebinder : ExpressionVisitor
{
private readonly Dictionary<ParameterExpression, ParameterExpression> _map;
public ParameterRebinder(Dictionary<ParameterExpression, ParameterExpression> ... | using System.Linq.Expressions;
using System.Collections.Generic;
namespace Caelan.DynamicLinq.Classes
{
public class ParameterRebinder : ExpressionVisitor
{
private readonly Dictionary<ParameterExpression, ParameterExpression> _map;
public ParameterRebinder(Dictionary<ParameterExpression, ParameterExpression> ... | apache-2.0 | C# |
979d8c928fd7235c8331b699c08c3dc4c17db0c1 | Add client function for creating dumps | tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Client/Components/DreamDaemonClient.cs | src/Tgstation.Server.Client/Components/DreamDaemonClient.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client.Components
{
/// <inheritdoc />
sealed class DreamDaemonClient : IDreamDaemonClient
{
/// <summary>
/// The <see cref="IApiClient"/> for the <see ... | using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Client.Components
{
/// <inheritdoc />
sealed class DreamDaemonClient : IDreamDaemonClient
{
/// <summary>
/// The <see cref="IApiClient"/> for the <see ... | agpl-3.0 | C# |
fb541104923a432fa6970a506cff1ec647363fe1 | Add implementation to produce list of all users. | tvanfosson/dapper-integration-testing | DapperTesting/Core/Data/DapperUserRepository.cs | DapperTesting/Core/Data/DapperUserRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Dapper;
using DapperTesting.Core.Model;
namespace DapperTesting.Core.Data
{
public class DapperUserRepository : DapperRepositoryBase, IUserRepository
{
public DapperUserRepository(IConnectionFactory connectionFactory, string con... | using System;
using System.Collections.Generic;
using System.Linq;
using Dapper;
using DapperTesting.Core.Model;
namespace DapperTesting.Core.Data
{
public class DapperUserRepository : DapperRepositoryBase, IUserRepository
{
public DapperUserRepository(IConnectionFactory connectionFactory, string con... | mit | C# |
9e225cbeda93a5ebd03e9576c75eee1c896d9164 | add err tracking | Just1n/Jog | Jog/Bootstrapper.cs | Jog/Bootstrapper.cs | using Nancy.Bootstrapper;
using Nancy.Session;
using Nancy.TinyIoc;
namespace Jog
{
using Nancy;
public class Bootstrapper : DefaultNancyBootstrapper
{
// The bootstrapper enables you to reconfigure the composition of the framework,
// by overriding the various methods and properties.
... | using Nancy.Bootstrapper;
using Nancy.Session;
using Nancy.TinyIoc;
namespace Jog
{
using Nancy;
public class Bootstrapper : DefaultNancyBootstrapper
{
// The bootstrapper enables you to reconfigure the composition of the framework,
// by overriding the various methods and properties.
... | apache-2.0 | C# |
48d3fccd770c28f212af58e1dd3c9cca2fe0e04b | Set pause to 2 seconds so we can watch the mock run | ProjectExtensions/ProjectExtensions.Azure.ServiceBus | src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/SampleTest.cs | src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/SampleTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Threading;
namespace ProjectExtensions.Azure.ServiceBus.Tests.Unit {
[TestFixture]
public class SampleTest {
[Test]
public void Test() {
Thread.Sleep(2000... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Threading;
namespace ProjectExtensions.Azure.ServiceBus.Tests.Unit {
[TestFixture]
public class SampleTest {
[Test]
public void Test() {
Thread.Sleep(3000... | bsd-3-clause | C# |
548f197c03fe4b5004c368760d3009685d8d5911 | add conversational style | timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet | Alexa.NET/Response/Ssml/DomainName.cs | Alexa.NET/Response/Ssml/DomainName.cs | namespace Alexa.NET.Response.Ssml
{
public static class DomainName
{
public const string News = "news";
public const string Music = "music";
public const string Conversational = "conversational";
}
} | namespace Alexa.NET.Response.Ssml
{
public static class DomainName
{
public const string News = "news";
public const string Music = "music";
}
} | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.