content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
namespace Stripe
{
public abstract class SubscriptionSharedOptions : StripeBaseOptions, ISupportMetadata
{
/// <summary>
/// A non-negative decimal between 0 and 100, with at most two decimal pl... | 64.489583 | 797 | 0.683411 | [
"Apache-2.0"
] | TrueNorthIT/stripe-dotnet | src/Stripe.net/Services/Subscriptions/SubscriptionSharedOptions.cs | 6,199 | C# |
using System;
using System.Net;
namespace GDataAPIConnecter
{
public class GoogleClient : WebClient
{
private readonly CookieContainer _Container = null;
public GoogleClient()
{
_Container = new CookieContainer();
}
public GoogleClient(CookieContainer cont... | 26.018519 | 94 | 0.569395 | [
"MIT"
] | Arisix/GoogleSpreadSheetExporter | script/Downloader/APIConnecter/GoogleClient.cs | 1,407 | C# |
// Copyright (c) 2019, UW Medicine Research IT, University of Washington
// Developed by Nic Dobbins and Cliff Spital, CRIO Sean Mooney
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://moz... | 31.111111 | 77 | 0.561071 | [
"MPL-2.0"
] | jtlresearchit/leaf | src/server/Services/Tables/SpecializationTable.cs | 2,802 | C# |
// ----------------------------------------------------------------------------------
//
// 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:/... | 48.936508 | 114 | 0.668829 | [
"MIT"
] | stankovski/azure-sdk-tools | src/ServiceManagement/Services/Commands.Utilities/Websites/Services/IDeploymentServiceManagement.cs | 3,023 | C# |
// <copyright file="IParameterBuilderReferenceBuilder.cs" company="Cui Ziqiang">
// Copyright (c) 2017 Cui Ziqiang
// </copyright>
namespace CrossCutterN.Weaver.Reference.Base.Metadata
{
using System;
using System.Reflection;
using CrossCutterN.Base.Common;
/// <summary>
/// Reference to <see cre... | 30.081081 | 105 | 0.627134 | [
"MIT"
] | keeper013/CrossCutterN | CrossCutterN.Weaver/Reference/Base/Metadata/IParameterBuilderReferenceBuilder.cs | 1,115 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.OpenApi;
using Microsoft.OpenApi.Extensions;
using Microsoft.OpenApi.Models;
using QuickAPI.Configurations;
using QuickAPI.Extensions;
using QuickAPI.Securit... | 37.319149 | 134 | 0.578677 | [
"Apache-2.0"
] | Vake93/QuickAPI | src/Startup.cs | 7,016 | C# |
using System;
using FluentAssertions;
using JsonApiDotNetCore;
using JsonApiDotNetCore.Resources;
using Xunit;
namespace UnitTests.Internal
{
public sealed class TypeExtensionsTests
{
[Fact]
public void Implements_Returns_True_If_Type_Implements_Interface()
{
// Arrange
... | 23.522727 | 82 | 0.571981 | [
"MIT"
] | agentilo/JsonApiDotNetCore | test/UnitTests/Internal/TypeExtensionsTests.cs | 1,035 | C# |
//******************************************************************************************************
// PointIdMatchFilter.cs - Gbtc
//
// Copyright © 2014, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
... | 41.658537 | 144 | 0.541179 | [
"MIT"
] | GridProtectionAlliance/openHistorian | Source/Libraries/GSF.SortedTreeStore/Snap/Filters/PointIdMatchFilter.cs | 5,127 | C# |
using System.ComponentModel.DataAnnotations.Schema;
using Xunit;
namespace Dommel.Tests
{
public class LikeTests
{
[Fact]
public void LikeOperandContains()
{
// Arrange
var sqlExpression = new SqlExpression<Foo>(new SqlServerSqlBuilder());
// Act
... | 32.731707 | 82 | 0.557377 | [
"MIT"
] | IQuixote/Dommel | test/Dommel.Tests/SqlExpressions/LikeTests.cs | 2,686 | C# |
using System;
using Castle.Facilities.Logging;
using Abp;
using Abp.Castle.Logging.Log4Net;
using Abp.Collections.Extensions;
using Abp.Dependency;
namespace Acme.HeroShop.Migrator
{
public class Program
{
private static bool _quietMode;
public static void Main(string[] args)
{
... | 29.092308 | 119 | 0.462189 | [
"MIT"
] | NHarendra/HeroShop | aspnet-core/src/Acme.HeroShop.Migrator/Program.cs | 1,893 | C# |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace lcsclib
{
public class LCSCarcConverter
{
public struct ArcParams
{
public double center_x;
public double center_y;
public double radius;
public d... | 38.051813 | 103 | 0.469771 | [
"MIT"
] | alexgubanow/lcscToaltium | lcsclib/LCSCarcConverter.cs | 7,347 | C# |
using System;
using System.Text;
namespace Surging.Cloud.CPlatform.Serialization.Implementation
{
/// <summary>
/// 基于string类型的byte[]序列化器。
/// </summary>
public class StringByteArraySerializer : ISerializer<byte[]>
{
#region Field
private readonly ISerializer<string> _serializer;
... | 28.54902 | 106 | 0.600962 | [
"MIT"
] | microserviceframe/surging.cloud-new | src/Surging.Cloud/Surging.Cloud.CPlatform/Serialization/Implementation/StringByteArraySerializer.cs | 1,570 | C# |
//******************************************************************************************************
// GetPointStream.cs - Gbtc
//
// Copyright © 2014, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | 43.414097 | 227 | 0.617047 | [
"MIT"
] | GridProtectionAlliance/openHistorian | Source/Libraries/openHistorian.Core/Data/Query/GetPointStream.cs | 9,858 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Rest.ClientRuntime.Tests.Fakes
{
public c... | 31.179487 | 95 | 0.665296 | [
"MIT"
] | 216Giorgiy/azure-sdk-for-net | src/SdkCommon/ClientRuntime/ClientRuntime.Tests/Fakes/FakeHttpHandler.cs | 1,218 | C# |
/*
* Copyright (c) 2015-2016 EdonGashi
* https://github.com/EdonGashi/ShipScript
*/
using System;
namespace hmV8DynamicNS
{
public class ModuleExports : Attribute
{
}
}
| 13.357143 | 42 | 0.673797 | [
"Apache-2.0"
] | komiyamma/hm_ecmascript | hmV8.src/hmJSStaticLib/ClearScript/Extension/Annotations/ModuleExports.cs | 189 | C# |
namespace Donker.Hmac.ExampleServer.Models
{
public class ExampleModel
{
public string Value { get; set; }
}
} | 18.714286 | 43 | 0.641221 | [
"MIT"
] | Saritasa/hmac | Source/Example/Donker.Hmac.ExampleServer/Models/ExampleModel.cs | 133 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
namespace ssjj_hack
{
public class Watcher : ModuleBase
{
private static Dictionary<string, RecordTicks> records = new Dictionary<string, RecordTicks>();
private static Vector2 scroll;
private static... | 32.097561 | 130 | 0.518237 | [
"MIT"
] | Airahc/hack_ssjj | ssjj2_hack/ssjj_hack/Module/Watcher.cs | 2,646 | C# |
// 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.
namespace FactoryFactory.Tests.MicrosoftTests.Fakes
{
public class FakeDisposableCallbackInnerService : FakeDisposableCallbackService, IFakeMultiple... | 38.166667 | 111 | 0.759825 | [
"MIT"
] | gitter-badger/factoryfactory | src/FactoryFactory.Tests/MicrosoftTests/Fakes/FakeDisposableCallbackInnerService.cs | 458 | C# |
using Cuemon.AspNetCore.Configuration;
using Cuemon.Configuration;
using Microsoft.AspNetCore.Razor.TagHelpers;
using Microsoft.Extensions.Options;
namespace Cuemon.AspNetCore.Razor.TagHelpers
{
/// <summary>
/// Provides a base-class for static content related <see cref="TagHelper"/> implementation in Razor ... | 47.25 | 145 | 0.659452 | [
"MIT"
] | gimlichael/Cuemon | src/Cuemon.AspNetCore.Razor.TagHelpers/CacheBustingTagHelper.cs | 2,081 | C# |
namespace CrewChiefV4.PCars
{
public enum eAPIStructLengths
{
STRING_LENGTH_MAX = 64,
NUM_PARTICIPANTS = 64
}
} | 17.375 | 33 | 0.640288 | [
"MIT"
] | SHWotever/CrewChiefV4 | CrewChiefV4/PCars/_eNums/eAPIStructLengths.cs | 139 | C# |
using System;
using System.Globalization;
using System.Windows.Data;
namespace BrightstarDB.Mobile.Tests
{
public class TypeNameConverter : IValueConverter
{
#region Implementation of IValueConverter
/// <summary>
/// Modifies the source data before passing it to the target for displa... | 45.619048 | 347 | 0.665449 | [
"MIT"
] | smkgeekfreak/BrightstarDB | src/mobile/BrightstarDB.Mobile.Tests/TypeNameConverter.cs | 1,918 | C# |
using System.Collections.Generic;
using AventStack.ExtentReports.Configuration;
namespace AventStack.ExtentReports.Reporter.Configuration
{
public static class DefaultConfig
{
private static Dictionary<string, string> _configOptions = new Dictionary<string, string>()
{
{ "e... | 34.060606 | 100 | 0.519573 | [
"Apache-2.0"
] | fean/extentreports-csharp | ExtentReports/Reporter/Configuration/Default/DefaultConfig.cs | 1,124 | C# |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 ... | 37.421053 | 122 | 0.728551 | [
"Apache-2.0"
] | Misterinecompany/DryIoc.Transactions | src/DryIoc.Facilities.EFCore/IDbContextManager.cs | 1,422 | C# |
namespace TeamProjectFluxday.Data.Models
{
public class User
{
public User(string email, string password, string name)
{
Email = email;
Password = password;
Name = name;
}
public string Email { get; set; }
public string Password { ge... | 20 | 63 | 0.531579 | [
"MIT"
] | ksolenkova/TeamProjectFluxday | TeamProjectFluxday/TeamProjectFluxday/Data/Models/User.cs | 382 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Bot.Builder.Community.WebChatStyling
{
public enum CSSUnitCategory
{
Absolute,
Relative
}
}
| 15.333333 | 46 | 0.708696 | [
"MIT"
] | weretygr/BotRelated | libraries/Bot.Builder.Community.WebChatStyling/CSS/CSSUnitCategory.cs | 232 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 34.392857 | 109 | 0.625649 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/AwsWafWebAclRuleMarshaller.cs | 3,852 | C# |
using JqueryDataTables.ServerSide.AspNetCoreWeb.Attributes;
using JqueryDataTables.ServerSide.AspNetCoreWeb.Infrastructure;
using JqueryDataTables.ServerSide.AspNetCoreWeb.Models;
using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
us... | 36.322581 | 220 | 0.584147 | [
"MIT"
] | UseMuse/JqueryDataTablesServerSide | AspNetCoreWeb/TagHelpers/JqueryDataTablesTagHelper.cs | 4,506 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 28.784431 | 109 | 0.567506 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/DevOpsGuru/Generated/Model/ReactiveInsightSummary.cs | 4,807 | C# |
// <copyright file="PlayerStats.cs" company="Google Inc.">
// Copyright (C) 2015 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE... | 32.329268 | 112 | 0.562429 | [
"Apache-2.0"
] | BUR58rus/play-games-plugin-for-unity | source/PluginDev/Assets/GooglePlayGames/BasicApi/PlayerStats.cs | 7,955 | C# |
using Huobi.Client.Websocket.Clients.Streams;
namespace Huobi.Client.Websocket.Clients
{
public interface IHuobiGenericWebsocketClient : IHuobiWebsocketClient<HuobiGenericClientStreams, object>
{
}
} | 26.625 | 108 | 0.798122 | [
"Apache-2.0"
] | tiagosiebler/huobi-client-websocket | src/Huobi.Client.Websocket/Clients/IHuobiGenericWebsocketClient.cs | 215 | C# |
namespace Gu.Persist.Core.Tests.Repositories
{
using System;
using System.Runtime.Serialization.Formatters.Binary;
using NUnit.Framework;
public class RestoreExceptionTest
{
[Test]
public void SerializationRoundtrip()
{
var exception = new RestoreException(new E... | 38.56 | 112 | 0.629668 | [
"MIT"
] | forki/Gu.Persist | Gu.Persist.Core.Tests/Repositories/RestoreExceptionTest.cs | 966 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 35.419048 | 143 | 0.632428 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/Organizations/Generated/Model/Internal/MarshallTransformations/DescribePolicyRequestMarshaller.cs | 3,719 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Tricentis.Automation.WseToApiMigrationAddOn.Extensions;
using Tricentis.Automation.WseToApiMigrationAddOn.Helper;
using Tricentis.Automation.WseToApiMigrationAddOn.Migrator.Parser.Model;
using Tricentis.Automation.WseToApiMigrationAddOn.Shared;
... | 37.340426 | 115 | 0.646154 | [
"MIT"
] | Tricentis/WSEToAPIMigrator | src/WseToApiMigrationAddOn/Migrator/Parser/WseModuleParser.cs | 3,512 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Formulario
{
static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.
/// </summary>
[STAThread]
... | 23.652174 | 66 | 0.595588 | [
"MIT"
] | AkeyiroDamar/Borrase-en-caso-de-reprobar | Formulario/Program.cs | 547 | C# |
// 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.Diagnostics;
using System.Text;
namespace System.Net.Mime
{
internal static class... | 37.942308 | 160 | 0.463951 | [
"MIT"
] | 06needhamt/runtime | src/libraries/Common/src/System/Net/Mail/MailBnfHelper.cs | 15,784 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code es... | 43.857143 | 174 | 0.606406 | [
"MIT"
] | Chlorel/TvDBCtrl | TvDBCtrl/Properties/Resources.Designer.cs | 3,720 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace HPlusSportsAPI.Controllers
{
[Produces("application/json")]
[Route("api/OrderItems")]
public class OrderItemsController : Controller
... | 21.653061 | 84 | 0.562677 | [
"MIT"
] | Anwar-Ul-Haq/AGSports | AGSports/AGSports/Controllers/OrderItemsController.cs | 1,063 | C# |
// Based on http://stackoverflow.com/a/32417530, Windows 10 SDK and github project VirtualDesktop
using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
namespace VirtualDesktops
{
internal static class Guids
{
public static readonly Guid CLSID_ImmersiveShell = new ... | 41.291902 | 200 | 0.61776 | [
"Apache-2.0"
] | maraf/DevTools | src/WinRun.UI/TopMostWindows/Interop.VirtualDesktop.cs | 21,926 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Template10.Services.FileService
{
class FileService
{
FileHelper _helper = new FileHelper();
public async Task<List<T>> ReadAsync<T>(string key)
{
... | 26.32 | 107 | 0.647416 | [
"MIT"
] | HydAu/WebDevCamp | Presentation/07. XAML Performance/Demos/Performance/Performance/Services/FileService/FileService.cs | 660 | C# |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using ImageResizer.Plugins.Licensing;
using ImageResizer.Util;
namespace ImageResizer.Plugins.LicenseVerifier
{
class RealClock : ILicenseClock
{
public long TicksPerSecond { get; } = Stopwatch.Frequency;
public long ... | 27.697674 | 84 | 0.553317 | [
"MIT"
] | 2sic/resizer | Plugins/LicenseVerifier/LicensingSupport.cs | 1,193 | C# |
using System;
// TODO: TBD: we very intentionally identify the namespace so that...
// TODO: TBD: if when our development pipeline "sees" the package update with contributions, then we can respond accordingly...
namespace Google.Protobuf.WellKnownTypes
{
using static Duration;
/// <summary>
/// Provides ... | 46.051613 | 127 | 0.580275 | [
"Apache-2.0"
] | mwpowellhtx/Ellumination.Protobuf | src/Ellumination.Protobuf/Extensions/DurationExtensionMethods.cs | 7,140 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
namespace WFM
{
namespace Native
{
public static class WaveFileManagerNative
{
const string DLL_NAME = "wavefile_manager.dll";
... | 40.3 | 154 | 0.713813 | [
"MIT"
] | capra314cabra/WaveFileManager | WaveFileManagerCS/WFMNative.cs | 1,211 | C# |
using MediatR;
namespace SFA.DAS.Campaign.Application.Queries.PreviewArticles
{
public class GetPreviewArticleByHubAndSlugQuery : IRequest<GetPreviewArticleByHubAndSlugQueryResult>
{
public string Hub { get; set; }
public string Slug { get; set; }
}
} | 28 | 104 | 0.728571 | [
"MIT"
] | SkillsFundingAgency/das-apim-endpoints | src/SFA.DAS.Campaign/Application/Queries/PreviewArticles/GetPreviewArticleByHubAndSlugQuery.cs | 280 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 38.389831 | 167 | 0.642826 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/StorageCache/V20201001/Inputs/CacheActiveDirectorySettingsArgs.cs | 2,265 | C# |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2018 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... | 36.925926 | 158 | 0.650619 | [
"Apache-2.0"
] | ammogcoder/YAFNET | yafsrc/YAF.Core/Model/ShoutboxRepositoryExtensions.cs | 2,912 | C# |
using System.Runtime.Serialization;
using Elasticsearch.Net.Utf8Json;
namespace Nest
{
[InterfaceDataContract]
public interface IGeoPointFielddata : IFielddata
{
[DataMember(Name ="format")]
GeoPointFielddataFormat? Format { get; set; }
[DataMember(Name ="precision")]
Distance Precision { get; set; }
}
... | 30.181818 | 119 | 0.763052 | [
"Apache-2.0"
] | AnthAbou/elasticsearch-net | src/Nest/Modules/Indices/Fielddata/GeoPoint/GeoPointFielddata.cs | 998 | C# |
using System.Collections.Generic;
namespace OsuLightBeatmapParser.Sections
{
public class MetadataSection
{
public List<string> Unparsed { get; set; }
public string Title { get; set; }
public string TitleUnicode { get; set; }
public string Artist { get; set; }
public st... | 32.6 | 58 | 0.596626 | [
"MIT"
] | ssz7-ch2/OsuLightBeatmapParser | OsuLightBeatmapParser/Sections/MetadataSection.cs | 654 | C# |
/*
* Magic, Copyright(c) Thomas Hansen 2019 - 2021, thomas@servergardens.com, all rights reserved.
* See the enclosed LICENSE file for details.
*/
using System;
using System.Linq;
using System.Globalization;
using Xunit;
using magic.node.extensions;
namespace magic.lambda.dates.tests
{
public class DateTests
... | 23.606061 | 96 | 0.524176 | [
"MIT"
] | polterguy/magic.lambda.dates | magic.lambda.dates.tests/DateTests.cs | 2,337 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using ShairportSync.Metadata.Models;
using ShairportSync.Metadata.Resolvers;
using ShairportSync.Metadata.Utilities;
namespace ShairportSync.Metadata.Parsers
{
internal static class Tr... | 38.431818 | 145 | 0.608811 | [
"MIT"
] | idubnori/shairport-sync-trackinfo-reader | src/TrackInfoReader/Parsers/TrackInfoParser.cs | 3,384 | C# |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace _05_PerlinNoise
{
public class Moving_Sphere : HitTable
{
public Vector3 center0, center1;
public float time0, time1;
public float radius;
public Material mat_ptr;
publi... | 32.126437 | 97 | 0.455814 | [
"MIT"
] | Jorgemagic/RaytracingTheNextWeek | 05-PerlinNoise/HitTables/Moving_Sphere.cs | 2,797 | C# |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace... | 35.284946 | 148 | 0.556758 | [
"MIT"
] | Beefr/xenko | sources/core/Xenko.Core.Mathematics/BoundingBoxExt.cs | 6,563 | C# |
using ComponentFactory.Krypton.Toolkit;
using System.Collections;
using System.ComponentModel;
using System.IO;
using System.Windows.Forms;
namespace ExtendedControls.ExtendedToolkit.Controls
{
[ToolboxItem(true)]
public class KryptonHexadecimalColourTextBox : KryptonTextBox
{
#region Variables
... | 28.901408 | 162 | 0.601852 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470 | Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/ExtendedToolkit/Controls/KryptonHexadecimalColourTextBox.cs | 2,054 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace Relm.Input
{
public class KeyboardManager
{
private KeyboardState _previousState;
private KeyboardState _currentState;
public void Update(GameTime gameTime)
{
_previousState = _currentSta... | 24.714286 | 81 | 0.595376 | [
"MIT"
] | slyprid/Relm | Archive/Archive 2/Relm/Relm/Input/KeyboardManager.cs | 1,040 | C# |
using ChessEngine.Moves;
namespace ChessEngine.Search;
public struct Limits {
public uint TimeLimitWhite = 0;
public uint TimeLimitBlack = 0;
public uint TimeIncrementWhite = 0;
public uint TimeIncrementBlack = 0;
public ushort MovesUntilTimeControl = 0;
public ushort SearchDepth = 0;
... | 24.68 | 44 | 0.700162 | [
"Unlicense"
] | NritiNy/ChessClient | Engine/Search/Limits.cs | 619 | C# |
using System;
namespace edu.tum.cs.conqat.dotnet {
// Declare delegate -- defines required signature:
delegate void SomeDelegate(string message);
public class Target {
public static void SampleDelegateMethod(string message) {
Console.WriteLine(message);
}
}
public cl... | 24.823529 | 65 | 0.577014 | [
"Apache-2.0"
] | SvenPeldszus/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.ila.scenario/delegateMethod.cs | 844 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using DS4Windows;
using PropertyChanged;
namespace DS4WinWPF.DS4Control.Profiles.Schema
{
[AddINotifyPropertyChangedInterface]
public class AutoSwitchingProfileEntry
{
/// <summary>
/// Association between controller sl... | 31.918919 | 97 | 0.640982 | [
"MIT"
] | midwan/DS4Windows | DS4Windows/DS4Control/Profiles/Schema/AutoProfilesSchema.cs | 1,183 | C# |
namespace Topics.Radical.ChangeTracking.Specialized
{
using System.Collections.Generic;
public class CollectionRangeDescriptor<T> : CollectionChangeDescriptor<T>
{
/// <summary>
/// Initializes a new instance of the <see cref="CollectionRangeDescriptor<T>"/> class.
/// </summary>
/// <param name="ite... | 22.923077 | 95 | 0.671141 | [
"MIT"
] | pdeligia/nekara-artifact | TSVD/Radical/src/net35/Radical/Model/ChangeTracking/Collection Changes/Descriptors/CollectionRangeDescriptor (Generic).cs | 598 | C# |
using Castle.Core.Interceptor;
using Rhino.Mocks.Impl.InvocationSpecifications;
using Rhino.Mocks.Interfaces;
namespace Rhino.Mocks.Impl.Invocation.Specifications
{
///<summary>
///</summary>
public class IsAPropertyInvocation : ISpecification<IInvocation>
{
IMockedObject proxyInstance;
... | 25.481481 | 76 | 0.640988 | [
"BSD-3-Clause"
] | Carolinehan/rhino-mocks | Rhino.Mocks/Impl/Invocation/Specifications/IsAPropertyInvocation.cs | 688 | C# |
using CustomerManager.Rest.Call.Services.Contracts;
using System;
using System.Linq;
using System.Web.Mvc;
namespace CustomerManager.MVC.Client.Controllers
{
public class CustomersController : Controller
{
private readonly ICustomerRestCallService customersService;
public CustomersController(... | 29.229508 | 89 | 0.577117 | [
"MIT"
] | todor-enikov/Customer-Manager-WebAPI-MVC-Project | CustomerManager/CustomerManager.MVC.Client/Controllers/CustomersController.cs | 1,785 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 35.967742 | 128 | 0.573094 | [
"MIT"
] | atomprogs/SelfHostingWebApi | WebApiWithOwin/OwinSelfhostSample/Shipper.cs | 1,115 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 32.5 | 63 | 0.708462 | [
"Apache-2.0"
] | VAllens/aliyun-openapi-sdk-net-core | src/aliyun-net-sdk-push-openapi-2.0/Model/V20160801/QueryPushStatResponse.cs | 1,300 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi
{
/// <summary>
/// DispatchInterface DispHTMLBRElement
/// SupportByVersion MSHTML, 4
/// </summary>
[SupportByVersion("MSHTML", 4)]
[EntityType(EntityType.IsDispatchInterface)... | 24.325294 | 134 | 0.641259 | [
"MIT"
] | igoreksiz/NetOffice | Source/MSHTML/DispatchInterfaces/DispHTMLBRElement.cs | 41,355 | C# |
using System;
using Cake.Common.Tests.Fixtures.Tools.Chocolatey.Packer;
using Cake.Common.Tests.Properties;
using Cake.Common.Tools.Chocolatey.Pack;
using Cake.Core;
using Cake.Core.IO;
using Cake.Testing;
using Cake.Testing.Xunit;
using Xunit;
namespace Cake.Common.Tests.Unit.Tools.Chocolatey.Pack
{
public seale... | 41.063228 | 139 | 0.537826 | [
"MIT"
] | EvilMindz/cake | src/Cake.Common.Tests/Unit/Tools/Chocolatey/Pack/ChocolateyPackerTests.cs | 24,681 | C# |
// Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary f... | 37.220588 | 99 | 0.728171 | [
"BSD-3-Clause"
] | Key4ce/Websitepanel | WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/ProviderControls/MDaemon_EditForwarding.ascx.cs | 2,531 | C# |
using Godot;
namespace GDMechanic.Extensions
{
public static class Vector3Extensions
{
public static Vector2 ToVector2(this Vector3 vector3)
{
return new Vector2(vector3.x, vector3.y);
}
public static Vector2[] ToVector2(this Vector3[] vector3s)
{
Vector2[] vector2s = new Vector2[vector3s.Length];
... | 19.391304 | 60 | 0.67713 | [
"MIT"
] | 11clock/GDMechanic | GDMechanic/Extensions/Vector3Extensions.cs | 446 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ornament.Entities
{
/// <summary>
/// For a discussion of this object, see
/// http://devlicio.us/blogs/billy_mccafferty/archive/2007/04/25/using-equals-gethashcode-effectively.aspx
/// </sum... | 44.402439 | 140 | 0.58212 | [
"MIT"
] | luqizheng/Ornament.Core | src/Ornament.Domain/Entities/EntityWithTypedId.cs | 7,282 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 13.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 33.656442 | 155 | 0.581845 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/GreaterThan/Complete/NullableTimeSpan/TimeSpan/TestSet_001__fields__03__NV.cs | 5,488 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DecimalToBinaryConverter
{
public class DecimalToBinaryConverter
{
public static void Main()
{
var input = int.Parse(Console.ReadLine());
var st... | 20.842105 | 54 | 0.436869 | [
"MIT"
] | varbanov88/C-Advanced | StacksAndQueues/DecimalToBinaryConverter/DecimalToBinaryConverter.cs | 794 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step... | 63.021739 | 194 | 0.753462 | [
"MIT"
] | lavantgarde/UnitsNet | UnitsNet/GeneratedCode/Extensions/Number/NumberToSpecificEnergyExtensions.g.cs | 20,295 | C# |
//--------------------------------------------------
// <copyright file="DatabaseUtilsUnitTests.cs" company="Magenic">
// Copyright 2021 Magenic, All rights Reserved
// </copyright>
// <summary>Database base utilities unit tests</summary>
//--------------------------------------------------
using Magenic.Maqs.BaseDat... | 42.163462 | 188 | 0.585177 | [
"MIT"
] | CoryJHolland/MAQS | Framework/DatabaseUnitTests/DatabaseUtilsUnitTests.cs | 8,772 | C# |
namespace OzgeErsu.Models
{
public class ContactModel
{
public string isimSoyisim { get; set; }
public string email { get; set; }
public string gsm { get; set; }
public string ileti { get; set; }
}
}
| 17.533333 | 48 | 0.539924 | [
"MIT"
] | onurcelikeng/OzgeErsu | OzgeErsu.Models/ContactModel.cs | 265 | C# |
using Imagin.Common.Collections;
using System.Windows;
namespace Imagin.Common.Controls
{
public delegate void SelectionEventHandler(object sender, SelectionEventArgs e);
public class SelectionEventArgs : RoutedEventArgs
{
public readonly ICollect Selection;
public SelectionEventArgs(Rou... | 28.785714 | 112 | 0.754342 | [
"BSD-2-Clause"
] | fritzmark/Imagin.NET | Imagin.Common.WPF/Controls/Other/SelectionEvent.cs | 405 | C# |
using System;
using Microsoft.Extensions.Configuration;
namespace Essentials.AspNetCore.Docker.Configuration
{
/// <summary>
/// Extension methods for registering <see cref="DockerSecretsConfigurationProvider"/> with <see cref="IConfigurationBuilder"/>.
/// </summary>
public static class SecretsConfigu... | 56.836066 | 148 | 0.669743 | [
"MIT"
] | esenciadev/AspNetCore.Configuration.Docker | src/Docker/Configuration/SecretsConfigurationBuilderExtensions.cs | 3,467 | C# |
using MOTMaster;
using MOTMaster.SnippetLibrary;
using System;
using System.Collections.Generic;
using DAQ.Pattern;
using DAQ.Analog;
// This script is for running grey molasses after a MOT, with a ramp on the molasses intensity, which has the same time length as the molasses pulse
//Useful timescales to remember:
... | 51.864865 | 203 | 0.66691 | [
"MIT"
] | sidwright8/SidEDMSuite | SympatheticMOTMasterScripts/MolassesFromMOTPulseRampDetuningAndPower.cs | 9,597 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 34.165138 | 182 | 0.603115 | [
"Apache-2.0"
] | UpendoVentures/aws-sdk-net | sdk/src/Services/SimpleSystemsManagement/Generated/Model/ResumeSessionResponse.cs | 3,724 | C# |
//-------------------------------------------------------------------
/*! @file QueueLogMessageHandler.cs
* @brief This file provides an implementation of the QueueLogMessageHandler LMH requeuing class.
*
* Copyright (c) Mosaic Systems Inc.
* Copyright (c) 2008 Mosaic Systems Inc.
* Copyright (c) 2007 Mosa... | 50.307278 | 256 | 0.54731 | [
"ECL-2.0",
"Apache-2.0"
] | mosaicsys/MosaicLibCS | Base/Logging/QueueLogMessageHandler.cs | 18,664 | C# |
//RealtimeReflections for Daggerfall-Unity
//http://www.reddit.com/r/dftfu
//http://www.dfworkshop.net/
//Author: Michael Rauter (a.k.a. Nystul)
//License: MIT License (http://www.opensource.org/licenses/mit-license.php)
using UnityEngine;
using UnityEngine.Rendering;
using System;
using System.Collections.Generic;
u... | 48.362705 | 373 | 0.584975 | [
"MIT"
] | GalacticChimp/dfunity-mods | RealtimeReflections/Scripts/InjectReflectiveMaterialProperty.cs | 23,603 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace WPFDevelopers.Controls
{
/// <summary>
/// TextBox 控件最好替换成可以设置最值且只能输入数字的输入框
/// </summary>
[TemplatePart(Name = CountPerPageTextBoxTemplateName,... | 34.578462 | 220 | 0.618259 | [
"MIT"
] | WPFDevelopersOrg/WPFDevelopers | src/WPFDevelopers/Controls/Pagination/Pagination.cs | 11,307 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... | 41.155172 | 176 | 0.714286 | [
"Apache-2.0"
] | qg0/EliteQuant_Excel | SwigConversionLayer/csharp/RelinkableCalibratedModelHandle.cs | 2,387 | C# |
// 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;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars
{
i... | 40.266667 | 161 | 0.613245 | [
"Apache-2.0"
] | 20chan/roslyn | src/Workspaces/Core/Portable/EmbeddedLanguages/VirtualChars/VirtualCharSequence.Chunks.cs | 3,022 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensio... | 26.615385 | 78 | 0.563584 | [
"MIT"
] | kdeng00/travelog-webapi | TravelogApi/Program.cs | 1,384 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http.Headers;
using System.Ne... | 51.304592 | 191 | 0.558374 | [
"MIT"
] | chuckbeasley/corefx | src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.cs | 155,299 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace NRoles.Engine {
sealed partial class MemberComposer {
private MethodDefinition RoleMethod { get { return (MethodDefinition)_roleMember.Definition; } }
priva... | 37.089286 | 132 | 0.696036 | [
"MIT"
] | xingh/nroles | src/NRoles.Engine/Composition/MemberComposer.MethodComposer.cs | 6,233 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 30.203947 | 108 | 0.59181 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/Greengrass/Generated/Model/GetSubscriptionDefinitionResponse.cs | 4,591 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Nop.Plugin.Feed.Salidzini.Models
{
[XmlRoot(ElementName = "root", Namespace = null)]
public class SalidziniProductList : List<SalidziniProductItem>
... | 34.897436 | 66 | 0.650257 | [
"Apache-2.0"
] | jitt-lv/salidzini-plugin-for-nopcommerce | Models/SalidziniItemList.cs | 1,363 | C# |
////////////////////////////////////////////
// CameraFilterPack - by VETASOFT 2016 /////
////////////////////////////////////////////
using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
[AddComponentMenu ("Camera Filter Pack/FX/Earth Quake")]
public class CameraFilterPack_FX_EarthQuake : MonoBehaviour {
#... | 21.259259 | 104 | 0.720093 | [
"MIT"
] | Crew7Studio/02_Pixel_Swords | Assets/Camera Filter Pack/Scripts/CameraFilterPack_FX_EarthQuake.cs | 1,722 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Globalization;
using Xunit;
namespace System.Tests
{
public class TimeSpanTests
{
[Fact]
public ... | 57.952156 | 211 | 0.596144 | [
"MIT"
] | AlexanderSemenyak/runtime | src/libraries/System.Runtime/tests/System/TimeSpanTests.cs | 86,001 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _10._SoftUni_Exam_Results
{
internal class Program
{
static void Main(string[] args)
{
Dictionary<string, int> languageAndSubmitions = new Dictionary<string, int>();
Dictionary<string, int> use... | 37.689655 | 138 | 0.480787 | [
"MIT"
] | dimitarLaleksandrov/first-steps-in-coding-C- | Homework/Fundamentals whit C#/25. Associative Arrays Exercise/10. SoftUni Exam Results/Program.cs | 2,188 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HBaseManagementStudio
{
public class HexOperator
{
public static byte[] FromHexString(string hex)
{
return Enumerable.Range(0, hex.Length)
... | 24.64 | 74 | 0.558442 | [
"Apache-2.0"
] | zhengyangyong/HBaseManagementStudio | HBaseManagementStudio/Operator/HexOperator.cs | 618 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using UniLife.Shared.DataModels;
using UniLife.Storage;
namespace UniLife.Server.Controllers
{
public class DersDilsController : ControllerBase
{
private readonly IApplicationDbContext _applicat... | 24.964286 | 77 | 0.69814 | [
"MIT"
] | ahmetsekmen/UniLife | src/UniLife.Server/Controllers/OData/DersDilsController.cs | 701 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Css.Parser.Parser
{
public interface ICssParserFactory
{
ICssParser CreateParser();
}
public class DefaultParserFactory : ICssParserFactor... | 22.789474 | 95 | 0.662818 | [
"MIT"
] | dotnet/cssparser | src/Microsoft.Css.Parser/Parser/CssParserFactory.cs | 433 | C# |
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace ExchangeSharp
{
public sealed partial class ExchangeFTXAPI : ExchangeAPI
{
public override string BaseUrl { get; set; } = "https://ftx.com/api... | 30.35283 | 224 | 0.67856 | [
"MIT"
] | BZ-CO/ExchangeSharp | src/ExchangeSharp/API/Exchanges/FTX/ExchangeFTXAPI.cs | 16,087 | C# |
using AnnualLeaveRequest.Shared;
using AnnualLeaveRequestMinimalAPI.Models;
using System;
using System.Collections.Generic;
namespace AnnualLeaveRequestMinimalAPI.Interfaces
{
public interface IAnnualLeaveRequestLogic
{
List<int> GetYears();
List<AnnualLeaveRequestOverviewModel> GetRequestsFor... | 38 | 94 | 0.795014 | [
"MIT"
] | johnt84/AnnualLeaveRequestTool | AnnualLeaveRequestMinimalAPI/Interfaces/IAnnualLeaveRequestLogic.cs | 724 | C# |
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
namespace MilitantChickensTranferProtocol.Library
{
public class ResponseReader
{
public byte[] rawHeader { get; set; }
public ResponseHeader header { get; set; }
... | 27.826087 | 65 | 0.535938 | [
"Apache-2.0"
] | HSU-F20-CS346/MilitantChickens-TP | MilitantChickensTranferProtocol.Library/ResponseReader.cs | 1,282 | C# |
using Oqtane.Shared;
using System;
using Oqtane.Models;
using System.Text.Json;
using Oqtane.Repository;
using Microsoft.Extensions.Configuration;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using Oqtane.Security;
namespace Oqtane.Infrastructure
{
public class LogManager : ILogManager
{... | 38.229947 | 170 | 0.479787 | [
"MIT"
] | mitchelsellers/oqtane.framework | Oqtane.Server/Infrastructure/LogManager.cs | 7,151 | C# |
namespace Merchello.Core.Gateways.Taxation
{
using Merchello.Core.Models;
using Umbraco.Core;
/// <summary>
/// Defines an invoice taxation strategy base class
/// </summary>
public abstract class TaxCalculationStrategyBase : ITaxCalculationStrategy
{
/// <summary>
/// The... | 27.484375 | 93 | 0.542354 | [
"MIT"
] | benjaminhowarth1/Merchello | src/Merchello.Core/Gateways/Taxation/TaxCalculationStrategyBase.cs | 1,761 | C# |
using MediatR;
using RedisKeyTool.Shared;
namespace RedisKeyTool.Application.Command
{
/// <summary>
/// Get the redis dbs command
/// </summary>
/// <seealso cref="MediatR.IRequest{RedisKeyTool.Shared.DatabaseResponse}" />
public class GetRedisDbs : IRequest<DatabaseResponse>
{
public... | 24.125 | 81 | 0.573402 | [
"MIT"
] | BlazorHub/radishv2 | code/RedisKeyTool.Server.Application/Command/GetRedisDbs.cs | 581 | C# |
using System;
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("Sync")]
[assembly: ... | 37.736842 | 85 | 0.724547 | [
"MIT"
] | athipp/azure-powershell | src/ServiceManagement/Compute/Sync/Properties/AssemblyInfo.cs | 1,400 | C# |
using System.Collections.Generic;
using System.Linq;
using AppStudio.DataProviders.Rss;
namespace AppStudio.DataProviders.Bing
{
public class BingParser : IParser<BingSchema>
{
public IEnumerable<BingSchema> Parse(string data)
{
RssParser rssParser = new RssParser();
IE... | 30.12 | 76 | 0.513944 | [
"MIT"
] | LanceMcCarthy/Lancelot.VSauceSupreme | src/VSauce Supreme/AppStudio.DataProviders/Bing/BingParser.cs | 755 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityLayer
{
public class BaseEntity : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected void o... | 24.894737 | 86 | 0.735729 | [
"MIT"
] | libinmath3w/PlayGround | PlayGround/EntityLayer/BaseEntity.cs | 475 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.