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 |
|---|---|---|---|---|---|---|---|---|
/*
* 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... | 42.958763 | 179 | 0.613511 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/FSx/Generated/Model/CreateFileSystemLustreConfiguration.cs | 16,674 | C# |
namespace PX.HMRC.Browser
{
/// <summary>
/// Browser display mode
/// </summary>
public enum DisplayMode
{
/// <summary>
/// visible
/// </summary>
Visible,
/// <summary>
/// hidden
/// </summary>
Hidden
}
} | 17.470588 | 28 | 0.434343 | [
"MIT"
] | mPisano/MTDCompliance | PX.HMRC/Browser/DisplayMode.cs | 299 | C# |
using KLineEdCmdApp.Controller;
using KLineEdCmdAppTest.TestSupport;
using Xunit;
namespace KLineEdCmdAppTest.ViewTests
{
public class PropsEditViewTest : IClassFixture<ModelPropsEditViewFixture>
{
private readonly ModelPropsEditViewFixture _fixture;
public PropsEditViewTest(ModelPropsEditVie... | 25.74359 | 84 | 0.63745 | [
"MIT"
] | wpqs/GenDotNetCmdApps | KLineEd/KLineEdCmdAppTest/ViewTests/PropsEditViewTest.cs | 1,006 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Watson
{
internal class PendingResponse
{
#region Public-Members
/// <summary>
/// The time at which the response expires.
/// </summary>
public DateTime Expiration;
... | 20.301887 | 84 | 0.562268 | [
"MIT"
] | euclid47/WatsonMesh | WatsonMesh/Helpers/PendingResponse.cs | 1,078 | C# |
using Assets.StarSystem.Generation.Planet;
using System.Collections.Generic;
namespace Assets.Utils
{
public class RegionStack
{
private List<Region> regions;
public RegionStack()
{
regions = new List<Region>();
}
public void Add(Region region)
{
... | 25.03125 | 69 | 0.480649 | [
"MIT"
] | breinsp/unity-persistent-universe | Assets/Utils/RegionStack.cs | 1,604 | C# |
namespace CarDealer.Services.Implementations
{
using System.Collections.Generic;
using System.Linq;
using Contracts;
using Data;
using Models;
public class SaleService : ISaleService
{
private readonly CarDealerDbContext db;
public SaleService(CarDealerDbContext db)
... | 31.865169 | 78 | 0.449224 | [
"MIT"
] | sevdalin/Software-University-SoftUni | C# MVC Frameworks - ASP.NET Core/02. ASP.NET Core - Essentials/CarDealer.Web/CarDealer.Services/Implementations/SaleService.cs | 2,838 | C# |
using NUnit.Framework;
namespace BooCompiler.Tests.TypeSystem.Reflection
{
[TestFixture]
public class NullableImplicitConversionOperatorsTest : AbstractTypeSystemTest
{
[Test]
public void ImplicitConversionFromNullableToValue()
{
RunInCompilerContextEnvironment(delegate
{
var... | 30.095238 | 114 | 0.726266 | [
"BSD-3-Clause"
] | Code-distancing/boo | tests/BooCompiler.Tests/TypeSystem/Reflection/NullableImplicitConversionOperatorsTest.cs | 632 | C# |
using System;
namespace CUSTIS.NetCore.Lightbox.Utils
{
/// <summary> Сериализация и десерилазиация объектов </summary>
/// <remarks> Интерфейс понадобился, поскольку разные потребители сидят на разных версиях Newtonsoft.JSON </remarks>
public interface ISerializer
{
/// <summary> Десериализова... | 32.266667 | 120 | 0.688017 | [
"Apache-2.0"
] | CUSTIS-public/CUSTIS.NetCore.Lightbox | src/CUSTIS.NetCore.Lightbox/Utils/ISerializer.cs | 613 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace System.Fabric.Backup... | 26.185484 | 104 | 0.509085 | [
"MIT"
] | AndreyTretyak/service-fabric | src/prod/src/managed/FabricBRS/src/System/Fabric/BackupRestore/BackupRestoreTypes/EnumTypes.cs | 6,494 | C# |
// Enables the following conditional switch here
// to prevent test cases from making any edits.
//#define DRY_RUN
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
usi... | 35.990099 | 138 | 0.633838 | [
"Apache-2.0"
] | CXuesong/WikiClientLibrary | UnitTestProject1/WikiSiteTestsBase.cs | 7,274 | C# |
using System;
using Xunit;
using SpatialLite.Gps.Geometries;
using SpatialLite.Core.API;
namespace Tests.SpatialLite.Gps.Geometries {
public class GpsPointTests {
#region Test data
double _xOrdinate = 3.5;
double _yOrdinate = 4.2;
double _zOrdinate = 10.5;
Coordinate _coordinate;
#endregio... | 25.2 | 97 | 0.638889 | [
"MIT"
] | CptGasse/SpatialLITE | src/Tests.SpatialLite.Gps/Geometries/GpsPointTests.cs | 2,018 | C# |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Udd.Api.Models;
namespace Udd.Api.Infrastructure
{
public class UddDbContext : DbContext
{
public DbSet<City> Cities { get; set; }
public UddDbContext(Db... | 23.875 | 88 | 0.696335 | [
"MIT"
] | AnLong98/UDD | Udd.Api/Infrastructure/UddDbContext.cs | 575 | C# |
using System;
using System.Linq.Expressions;
namespace Magento.RestApi.Core
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IChangeTracking<T> : IChangeTracking
{
/// <summary>
///
/// </summary>
/// <param name="expres... | 26.465517 | 70 | 0.480782 | [
"MIT"
] | Trendays/Magento-RestApi | Magento.RestApi/Core/IChangeTracking.cs | 1,537 | C# |
using System;
using System.Data;
namespace DbUp.SQLite.Helpers
{
/// <summary>
/// A database connection wrapper to manage underlying connection as a shared connection
/// during database upgrade.
/// <remarks>
/// if underlying connection is already opened then it will be kept as opened and will... | 28.978723 | 105 | 0.585169 | [
"MIT"
] | slamballx/DbUp | src/dbup-sqlite/Helpers/SharedConnection.cs | 2,726 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.IO.Packaging;
using System.Xml.Linq;
namespace DocumentFormat.OpenXml.Packaging
{
/// <summary>
/// A class that h... | 36.975904 | 124 | 0.583904 | [
"MIT"
] | Muppets/Open-XML-SDK | src/DocumentFormat.OpenXml/Packaging/RelationshipErrorHandler.cs | 6,140 | C# |
using Autofac;
using EmailSender.EmailServices;
using FakeItEasy;
using Xunit;
namespace EmailSender.Tests
{
public class When_an_email_is_sent
{
public When_an_email_is_sent()
{
TestHelper = new TestHelper();
FakeEmailSender = A.Fake<IEmailSender>();
Contai... | 28.083333 | 98 | 0.598417 | [
"MIT"
] | TorontoTestDrivenDevelopment/MockBootCamp-IntroductoryTDDWithActorSystem | 13/EmailSender/EmailSender.Tests/When_an_email_is_sent.cs | 1,013 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace SaTeatar.Model.Models
{
public class mPoslaneObavijesti
{
public int PoslanaObavijestId { get; set; }
public int KupacId { get; set; }
public int PrestavaId { get; set; }
public DateTime Vri... | 27.611111 | 52 | 0.615694 | [
"MIT"
] | eminafit/SaTeatar | SaTeatar/SaTeatar.Model/Models/mPoslaneObavijesti.cs | 499 | C# |
using System;
namespace Hookr.Web.Backend.Operations.Queries.Auth
{
public class RefreshSessionQuery
{
public Guid RefreshToken { get; set; }
}
} | 18.555556 | 51 | 0.682635 | [
"Apache-2.0"
] | mrlldd/hookr-rent-service | Hookr/Web/Hookr.Web.Backend/Operations/Queries/Auth/RefreshSessionQuery.cs | 167 | C# |
/*
Sniperkit-Bot
- Status: analyzed
*/
using GVFS.Common.FileSystem;
using GVFS.Common.Tracing;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
namespace GVFS.Common.Git
{
... | 39.903537 | 168 | 0.543876 | [
"MIT"
] | sniperkit/snk.fork.VFSForGit | GVFS/GVFS.Common/Git/GitProcess.cs | 24,820 | C# |
using Quilt4Net.Core.Interfaces;
using Tharga.Toolkit.Console.Commands.Base;
namespace Quilt4Net.Sample.Console.Commands.User
{
internal class GetUserInfoCommand : ActionCommandBase
{
private readonly IQuilt4NetClient _client;
public GetUserInfoCommand(IQuilt4NetClient client)
: ba... | 29.866667 | 74 | 0.629464 | [
"MIT"
] | Quilt4/Quilt4Net | Quilt4Net.Sample.Console/Commands/User/GetUserInfoCommand.cs | 896 | C# |
/**************************************************************************
* =================================
* CLR版本 :4.0.30319.42000
* 命名空间 :Memoyu.Mbill.WebApi.Aop.Filter
* 文件名称 :LocalExceptionFilter.cs
* =================================
* 创 建 者 :Memoyu
* 创建日期 :2021-01-03 20:53:07
* 邮箱 :mm... | 33.348315 | 106 | 0.560647 | [
"MIT"
] | BlazorHub/mbill_service | src/Memoyu.Mbill.WebApi/Aop/Filter/LocalExceptionFilter.cs | 3,132 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Input
{
/// <summary>
/// Generic Input Action Rule for raising actions based on specific criteria.
/// </summary>
[Serializable]
public struct Inpu... | 35 | 124 | 0.653061 | [
"MIT"
] | AdrianaMusic/MixedRealityToolkit-Unity | Assets/MRTK/Core/Definitions/InputSystem/InputActionRuleDigital.cs | 1,717 | C# |
using Nandaka.Model.Registers;
namespace Nandaka.Core.Registers
{
// do not change name for this class (source generator)
public sealed class LocalDeviceRegisterFactory : IRegisterFactory
{
public IReadOnlyRegister<T> CreateReadOnly<T>(int address, T defaultValue = default)
where T: s... | 32.55 | 93 | 0.64977 | [
"MIT"
] | Vlbager/Nandaka | Nandaka.Core/Registers/Factory/LocalDeviceRegisterFactory.cs | 653 | C# |
using System;
namespace Project2
{
public class Class2
{
public static void ReferencedMethod() {
}
}
}
| 11.166667 | 47 | 0.574627 | [
"MIT"
] | OptiNav/ReferenceAnalyzer | test_samples/two_references_one_unused/Project2/Class2.cs | 136 | C# |
namespace StoicGoose.Emulation.Sound
{
public class AswanSoundController : SoundControllerCommon
{
public override byte MaxMasterVolume => 2;
public override int NumChannels => 4;
/* REG_SND_9697 */
protected ushort unknown9697;
/* REG_SND_9899 */
protected ushort unknown9899;
public AswanSoundContro... | 31.121739 | 129 | 0.650182 | [
"MIT"
] | xdanieldzd/StoicGoose | StoicGoose/Emulation/Sound/AswanSoundController.cs | 3,581 | C# |
using System;
using Nefarius.ViGEm.Client.Exceptions;
using Nefarius.ViGEm.Client.Targets;
using Nefarius.ViGEm.Client.Targets.Xbox360;
namespace RB4InstrumentMapper.Parsing
{
class VigemMapper : IDeviceMapper
{
/// <summary>
/// The device to map to.
/// </summary>
private IXbo... | 34.824627 | 118 | 0.532412 | [
"MIT"
] | TheNathannator/RB4InstrumentMapper | PacketParsing/VigemMapper.cs | 9,333 | C# |
using System;
using System.Runtime.Serialization;
namespace Exodrifter.Rumor.Engine
{
/// <summary>
/// This type may be returned from a node to indicate some condition that
/// should happen before execution may continue.
/// </summary>
[Serializable]
public abstract class Yield : ISerializable
{
public boo... | 20.597701 | 74 | 0.676897 | [
"MIT"
] | exodrifter/unity-rumor | Engine/Yield.cs | 3,586 | C# |
using System;
using NpcService.Ai.NpcType;
namespace NpcService.Ai.NpcCitizen
{
public class Buffer50 : Citizen
{
}
}
| 13.1 | 35 | 0.70229 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | dr3dd/L2Interlude | NpcService/Ai/NpcCitizen/Buffer50.cs | 131 | C# |
using Abp.AspNetCore.Mvc.Controllers;
using Abp.IdentityFramework;
using Microsoft.AspNetCore.Identity;
namespace ShopManage.Controllers
{
public abstract class ShopManageControllerBase: AbpController
{
protected ShopManageControllerBase()
{
LocalizationSourceName = ShopManageConsts... | 25.55 | 77 | 0.712329 | [
"MIT"
] | DSOY/ShopManage | aspnet-core/src/ShopManage.Web.Core/Controllers/ShopManageControllerBase.cs | 511 | C# |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... | 44.122807 | 463 | 0.75507 | [
"MIT"
] | Acidburn0zzz/CodeContracts | Microsoft.Research/RegressionTest/PostMSI/Samples/Samples.Tests/ClassWithProtocolTest.DataGet.g.cs | 2,515 | C# |
using Material.Blazor.Internal;
using System;
using System.Threading.Tasks;
namespace Material.Blazor
{
/// <summary>
/// Settings for an individual snackbar notification determining all aspects controlling
/// it's markup and behaviour. All parameters are optional with defaults defined in
/// the <se... | 42.898876 | 214 | 0.661865 | [
"MIT"
] | HannahKiekens/Material.Blazor | Material.Blazor/Model/Snackbar/MBSnackbarSettings.cs | 3,820 | C# |
/**********************************************************************************
* FrwSimpleWinCRUD https://github.com/frwsoftware/FrwSimpleWinCRUD
* The Open-Source Library for most quick WinForm CRUD application creation
* MIT License Copyright (c) 2016 FrwSoftware
*
* THE SOFTWARE IS PROVIDED "AS... | 30.939189 | 175 | 0.508408 | [
"MIT"
] | frwsoftware/FrwSimpleWinCRUD | FrwSimpleJsonORM/Utils/Log.cs | 9,160 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using HackTheClimate.Data;
using HackTheClimate.Services.Similarity;
namespace HackTheClimate.Services
{
public class SimilarityService
{
... | 50.198925 | 141 | 0.600621 | [
"MIT"
] | Zuehlke/hack-the-climate | solution/HackTheClimate/Services/SimilarityService.cs | 9,339 | C# |
using Serenity.Services;
using System.Collections.Generic;
namespace MultiTenancy.Administration
{
public class TranslationUpdateRequest : ServiceRequest
{
public string TargetLanguageID { get; set; }
public Dictionary<string, string> Translations { get; set; }
}
} | 25.583333 | 69 | 0.697068 | [
"Unlicense"
] | pratikto/MultiTenancy | MultiTenancy/MultiTenancy.Web/Modules/Administration/Translation/TranslationUpdateRequest.cs | 309 | C# |
using FFImageLoading;
using CloudMusic.CustomForms;
using Xamarin.Forms;
namespace CloudMusic.Views
{
public partial class ScrollVideoPage : ContentPage
{
public ScrollVideoPage()
{
InitializeComponent();
}
protected override void OnAppearing()
... | 28.275 | 106 | 0.587091 | [
"MIT"
] | 851265601/Xamarin-CloudMusic | CloudMusic/Views/ScrollVideoPage.xaml.cs | 1,133 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
namespace Web.Core.Routing.Apps
{
public class TagAdminRouter
{
public static void Initialize(IRouteBuilder routes)
{
routes.MapRoute(
name: "admin_tag_list",
template: "admin/bl... | 30.416667 | 76 | 0.506849 | [
"MIT"
] | snicoper/BlogNet | src/Web/Core/Routing/Apps/TagAdminRouter.cs | 1,097 | C# |
using Aggregator.Core.Interfaces;
namespace Aggregator.Core.Facade
{
public class ProjectPropertyWrapper : IProjectProperty
{
public string Name { get; set; }
public string Value { get; set; }
}
}
| 19 | 58 | 0.666667 | [
"Apache-2.0"
] | DanielBMann9000/tfsaggregator-webhooks | Aggregator.Core/Facade/ProjectPropertyWrapper.cs | 230 | C# |
using System;
using UnityEngine;
namespace Caxapexac.Common.Sharp.Editor.Attributes.Fields
{
/// <summary>
/// Field will be Read-Only in Playmode
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public class ReadOnlyPlaymodeAttribute : PropertyAttribute
{
}
} | 21.285714 | 62 | 0.701342 | [
"MIT"
] | caxapexac/CommonUnity | Caxapexac.Common.Unity/Editor/Attributes/FieldsAccessibility/ReadOnlyPlaymodeAttribute.cs | 300 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Auto.ImageTree
{
public class DirectoryScanInfo
{
public DirectoryInfo Directory { get; internal set; }
public Exception Exception { get; internal set;... | 20.6875 | 61 | 0.719033 | [
"MIT"
] | AwkwardCauliflower/Swag | Auto.ImageTree/DirectoryScanInfo.cs | 333 | C# |
namespace EventTraceKit.VsExtension
{
using System;
using Microsoft.VisualStudio.Shell;
public static class CommonControlBrushes
{
private static readonly Guid Category = new Guid("C01072A1-A915-4ABF-89B7-E2F9E8EC4C7F");
private static ThemeResourceKey buttonBackgroundKey;
pri... | 58.978188 | 100 | 0.746778 | [
"MIT"
] | gix/event-trace-kit | src/EventTraceKit.VsExtension/CommonControlBrushes.cs | 35,153 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// Car Data Structure.
/// </summary>
[Serializable]
public class Car : AopObject
{
/// <summary>
/// 发动机号
/// </summary>
[Xml... | 25.4 | 63 | 0.47694 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/Car.cs | 2,879 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Xunit;
namespace Enyim.Diagnostics
{
public class MessageFormatterTests
{
[Theory]
[MemberData(nameof(DataForFormatMessageTemplate))]
public void FormatMessageTemplate(string input, string exp... | 29.59375 | 95 | 0.694826 | [
"Apache-2.0"
] | EugeneKrapivin/Memcached2 | tests/MemcachedTests/MessageFormatterTests.cs | 1,897 | 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://w... | 38.578947 | 126 | 0.546498 | [
"MIT"
] | Acidburn0zzz/azure-powershell | src/ResourceManager/Storage/Commands.Storage/Common/Util.cs | 8,571 | C# |
namespace LiveCharts.Drawing.Shapes
{
/// <summary>
/// Defines a SVG-based path in the user interface.
/// </summary>
public interface ISvgPath : IShape
{
/// <summary>
/// The SVG vector.
/// </summary>
string Svg { get; set; }
}
}
| 20.785714 | 55 | 0.52921 | [
"MIT"
] | adospace/Live-Charts | src/LiveCharts.Core/Drawing/Shapes/ISvgPath.cs | 293 | C# |
using System.ServiceProcess;
namespace GodSharp.Mina
{
/// <summary>
/// The account option of service.
/// </summary>
public class MinaAccountOption
{
/// <summary>
/// Gets or sets the service account.
/// </summary>
/// <value>
/// The service account.
... | 23.714286 | 88 | 0.493976 | [
"MIT"
] | godsharp/Mina | src/Mina/Options/MinaAccountOption.cs | 832 | C# |
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Security.Permissions;
namespace Microsoft.VJSharp
{
[PermissionSet(SecurityAction.LinkDemand, Name = "FullTrust"), PermissionSet(SecurityAction.InheritanceDemand, N... | 31.084746 | 147 | 0.637405 | [
"Apache-2.0"
] | WesleyKhoiVo/asp_contestjudge | CHOJ2.0/VJSharpCodeProvider/VJSharpCodeProvider.cs | 1,834 | 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 Microsoft.VisualStudio.Debugger.Evaluation;
using Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation;
namespace Microsoft.CodeAnal... | 36.296296 | 160 | 0.638776 | [
"Apache-2.0"
] | 0x53A/roslyn | src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/Expansion.cs | 1,960 | C# |
using System;
namespace Jokk.Microservice.Log.Exceptions
{
public class EnvironmentException : Exception
{
public EnvironmentException() : base() {}
public EnvironmentException(string message) : base(message) {}
public EnvironmentException(string message, Exception inner) : ba... | 26.846154 | 94 | 0.681948 | [
"Apache-2.0"
] | jokk-itu/microservice_packages | Jokk.Microservice.Log/Exceptions/EnvironmentException.cs | 349 | C# |
namespace Simple.OData.Client
{
internal static class RestVerbs
{
// ReSharper disable InconsistentNaming
public const string Get = "GET";
public const string Post = "POST";
public const string Put = "PUT";
public const string Patch = "PATCH";
public const strin... | 26.466667 | 47 | 0.627204 | [
"MIT"
] | GGZORR/OdataSample | Simple.OData.Client.Core/Http/RestVerbs.cs | 399 | C# |
using BenchmarkDotNet.Attributes;
namespace FuncSharp.Benchmarks
{
[MemoryDiagnoser]
public class OptionBenchmarks
{
private object Object { get; } = new object();
private IOption<string> NonEmptyOption { get; } = "non-empty".ToOption();
private IOption<string> EmptyOption { get; } ... | 27.757576 | 81 | 0.544214 | [
"MIT"
] | KaliCZ/FuncSharp | src/FuncSharp.Benchmarks/Option/OptionBenchmarks.cs | 1,832 | C# |
/*
* Classifications API
*
* The Classifications API gives access to various Industry Classifications for a given list of securities. Beginning first with GICS Direct, the service will then expand to offering NAICS, SIC, RBICS, and more.
*
* The version of the OpenAPI document: 1.0.1
* Contact: api@factset.com
... | 32.208333 | 213 | 0.723157 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/Classifications/v1/src/FactSet.SDK.Classifications/Client/ExceptionFactory.cs | 773 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication1.Models
{
public class Login1
{
string username;
string password;
public string USERNAME
{
get
{
return username;
... | 14.318182 | 33 | 0.396825 | [
"MIT"
] | umairakhtar/mailbox | WebApplication1/Models/Login1.cs | 632 | C# |
using FirstApplication;
using NUnit.Framework;
namespace UnitTestsExample
{
public class Tests
{
private ExampleClass example;
[SetUp]
public void Setup()
{
example = new ExampleClass(2, 3.14f);
}
[Test]
public void Test1()
{
... | 18.392857 | 68 | 0.518447 | [
"Apache-2.0"
] | ShaderInvader/TPUM-2021 | ExampleSolution/UnitTestsExample/UnitTest1.cs | 515 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Microsoft">
// Copyright (c) 2013 Microsoft Corporation
// </copyright>
// -----------------------------------------------------------------------------------------------... | 36.943182 | 229 | 0.538296 | [
"MIT"
] | CDLUC3/dataup2 | Services/FileService/BlobDataRepository.cs | 13,006 | C# |
using System.Collections.Generic;
using Vulkan;
using static Vulkan.VulkanNative;
using static Veldrid.Vk.VulkanUtil;
namespace Veldrid.Vk
{
internal unsafe class VkResourceSet : ResourceSet
{
private readonly VkGraphicsDevice _gd;
private readonly DescriptorResourceCounts _descriptorCounts;
... | 47.172131 | 113 | 0.622937 | [
"MIT"
] | Ronmenator/veldrid | src/Veldrid/Vk/VkResourceSet.cs | 5,757 | C# |
// <auto-generated>
// ReSharper disable All
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Tester.Integration.EfCore3
{
// Boo
public class Stafford_Boo
{
public int Id { get; set; } // id (Primary key)
public string Name { ... | 23 | 80 | 0.626409 | [
"Apache-2.0"
] | janissimsons/EntityFramework-Reverse-POCO-Code-First-Generator | Tester.Integration.EfCore3/EfrpgTestData/Entities/Stafford_Boo.cs | 621 | C# |
using System;
namespace PartyPlaylists.Models
{
public class Item
{
public string Id { get; set; }
public string Text { get; set; }
public string Description { get; set; }
}
} | 19.363636 | 47 | 0.591549 | [
"MIT"
] | toastmalone/PartyPlaylists-1 | PartyPlaylists/PartyPlaylists/Models/Item.cs | 215 | C# |
using UnityEngine;
using System.Collections;
using LuaInterface;
using System;
using System.IO;
//展示searchpath 使用,require 与 dofile 区别
public class ScriptsFromFile : MonoBehaviour
{
LuaState lua = null;
private string strLog = "";
void Start ()
{
#if UNITY_5_4_OR_NEWER
Application.logMessa... | 24.047619 | 87 | 0.547195 | [
"MIT"
] | FlyApple/LuaFramework-Unity | Assets/ToLua/Examples/02_ScriptsFromFile/ScriptsFromFile.cs | 1,585 | C# |
using RestoreMonarchy.PaymentGateway.Client.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Website.Shared.Constants
{
public class OrderConstants
{
public class Status
{
public const string Co... | 22.444444 | 67 | 0.641914 | [
"MIT"
] | Nonanti/UnturnedStore | src/Website/Shared/Constants/OrderConstants.cs | 608 | C# |
using System.Linq;
namespace DotNetHelper_Contracts.Helpers
{
public static class RandomHelper
{
public static string GetRandomString(int size, bool allowAlphaCharacters = true, bool allowNumericCharacters = true)
{
var random = new System.Random();
var input = "";
... | 37.2 | 124 | 0.588172 | [
"MIT"
] | TheMofaDe/DotNetHelper-Contracts | src/DotNetHelper-Contracts/Helpers/RandomHelper.cs | 932 | C# |
using Newtonsoft.Json;
namespace WWB.Wx.Sdk.Apis.Message
{
public class SendVideoInput : SendInputBase
{
public SendVideoInput()
{
MessageType = MessageTypes.video;
}
[JsonProperty("video")]
public VideoInfo Video { get; set; }
public class VideoIn... | 20.809524 | 47 | 0.551487 | [
"MIT"
] | my6521/WWB.Wx.Sdk | src/WWB.Wx.Sdk/Apis/Message/Dtos/SendVideoInput.cs | 439 | C# |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class gamedataInteractionMountBase_Record : gamedataInteractionBase_Record
{
public gamedataInteractionMountBase_Record(CR2WFile cr2w, CVariable parent, strin... | 24.466667 | 122 | 0.765668 | [
"MIT"
] | Eingin/CP77Tools | CP77.CR2W/Types/cp77/gamedataInteractionMountBase_Record.cs | 353 | C# |
using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace A... | 34.163934 | 159 | 0.564299 | [
"MIT"
] | ActiveLogin/ActiveLogin.Authentication | test/ActiveLogin.Authentication.GrandId.AspNetCore.Test/GrandId_Authentication_Tests.cs | 2,084 | C# |
using ActiveTimeline.Enumerate;
using ActiveTimeline.Value.Primitive;
using JetBrains.Annotations;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
namespace ActiveTimeline.Value.Process
{
[PublicAPI]
[AddComponentMenu("ActiveTimeline/Value/Process/Timer", (int)ValueType.Timer)]
public class Timer : F... | 20.813559 | 82 | 0.516287 | [
"MIT"
] | umm/active_timeline | Assets/Scripts/Value/Process/Timer.cs | 1,228 | C# |
namespace NebScope
{
partial class ScopeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// Required method for De... | 52.578488 | 155 | 0.621275 | [
"MIT"
] | cepthomas/NebScope | ScopeForm.Designer.cs | 18,089 | C# |
using IdentityServer4.Services;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace SAEON.Identity.Service.UI
{
//[SecurityHeaders]
public class HomeController : Controller
{
private readonly IIdentityServerInteractionService _interaction;
public HomeController(IIdenti... | 23.326923 | 76 | 0.551525 | [
"MIT"
] | SAEONData/Identity-Service | SAEON.Identity.Service/Home/HomeController.cs | 1,215 | C# |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.XPath;
using DotNetNuke.Common;
u... | 35.915966 | 142 | 0.452387 | [
"MIT"
] | CMarius94/Dnn.Platform | DNN Platform/Library/Services/Installer/Installers/CleanupInstaller.cs | 8,550 | C# |
namespace BitcoinVanityAddressFinder
{ // ReSharper disable once UnusedMember.Global
public class Logging
{
// Intentionally no logging in this app as it could be a security risk if private keys are languishing on disk.
}
} | 34.857143 | 119 | 0.733607 | [
"MIT"
] | iainholder/BitcoinVanityAddressFinder | BitcoinVanityAddressFinder/Logging.cs | 246 | C# |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 20.09.2018.
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.Linq.Expressions;
using Microsoft.... | 28.191489 | 121 | 0.573477 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Code/Provider/Source/Basement/EF/Dbms/Firebird/Common/Query/Sql/Expressions/Nodes/FB_Common__Sql_ENode_Function__SQL__TRIM.cs | 9,275 | C# |
/*
* Test for ValueConvertExtensions
*
* Copyright (c) 2019 Takahisa YAMASHIGE
*
* This software is released under the MIT License.
* https://opensource.org/licenses/mit-license.php
*/
using System;
using System.Collections.Generic;
using MinimalTools.Extensions.Convert;
using Xunit;
namespace Mi... | 45.627794 | 215 | 0.492034 | [
"MIT"
] | yamasimoncini/MinimalTools.Essentials | MinimalTools.Essentials.Test/Extensions/Convert/ValueConvertExtensions.cs | 122,465 | C# |
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//----------------------------------------------------------------
namespace Microsoft.Az... | 36.164384 | 123 | 0.580682 | [
"MIT"
] | 4or5trees/azure-notificationhubs-dotnet | src/Microsoft.Azure.NotificationHubs/TemplateNotification.cs | 2,642 | 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 Moq;
using Xunit;
namespace Microsoft.VisualStudio.ProjectSystem.VS.PropertyPages
{
public class BuildMacroInfoTests
{
[Theor... | 44.229167 | 162 | 0.685822 | [
"Apache-2.0"
] | MSLukeWest/project-system | tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/ProjectSystem/VS/PropertyPages/BuildMacroInfoTests.cs | 2,078 | C# |
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Resolves references to metadata specified in the source (#r directives).
/// </summary>
public abstract class MetadataReferenceResolver
{
public abstract override bool Equals(object other);
public abstract override int GetHashCode... | 32.307692 | 87 | 0.702381 | [
"Apache-2.0"
] | semihokur/pattern-matching-csharp | Src/Compilers/Core/Portable/MetadataReference/MetadataReferenceResolver.cs | 422 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PicDemo
{
public class GoogleCoordinate
{
//经度到像素X值
public static double lngToPixel(double lng, int zoom)
{
return (lng + 180) * (256L << zoom) / 360;
}
... | 26.833333 | 67 | 0.472937 | [
"MIT"
] | gong-1997/GITD-IEA | PicDemo/PicDemo/GoogleCoordinate.cs | 1,171 | C# |
using System;
using Remora.Discord.Core;
namespace Accord.Bot.Helpers
{
public static class DiscordFormatter
{
// https://discord.com/developers/docs/reference#message-formatting
public static string UserIdToMention(ulong discordUserId) => $"<@{discordUserId}>";
public static string C... | 62.068966 | 178 | 0.743889 | [
"MIT"
] | ChaseDRedmon/Accord | src/Accord.Bot/Helpers/DiscordFormatter.cs | 1,802 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... | 32.87931 | 81 | 0.654955 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Vod/V20180717/Models/PornConfigureInfoForUpdate.cs | 2,021 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ObjExporter.cs" company="Helix 3D Toolkit">
// http://helixtoolkit.codeplex.com, license: MIT
// </copyright>
// ------------------------------------------------------------... | 37.433414 | 173 | 0.473221 | [
"MIT"
] | smallholexu/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX/Utilities/ObjExporter.cs | 15,462 | C# |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace CodeCracker.CSharp.Usage
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class Disposable... | 59.380435 | 162 | 0.692843 | [
"Apache-2.0"
] | f14n/code-cracker | src/CSharp/CodeCracker/Usage/DisposableFieldNotDisposedAnalyzer.cs | 5,463 | C# |
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
namespace RabbitMQ.Client.Impl
{
internal class ConsumerWorkService
{
private readonly ConcurrentDictionary<IModel, WorkPool> _workPools = new ConcurrentDictionary<... | 32.744048 | 173 | 0.484276 | [
"MIT"
] | houseofcat/RabbitMQ.Core | v6.1.0/RabbitMQ.Client/client/impl/ConsumerWorkService.cs | 5,503 | 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.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendat... | 25.458647 | 161 | 0.58417 | [
"Apache-2.0"
] | DustinCampbell/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/NullableKeywordRecommenderTests.cs | 3,388 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FluentData.Business.Service;
using FluentData.Business.ViewModels;
using FluentData.Web2.Filters;
namespace FluentData.Web2.Controllers
{
[AuthFilters]
public class HomeController : Controller
... | 25.327273 | 97 | 0.524767 | [
"MIT"
] | shuaiagain/orm-fluentdata | FluentData/sourceCode/sourceCode/Source/v4/FluentData.Web2/Controllers/HomeController.cs | 1,411 | C# |
namespace CSharpUtilsNETFramework.GUI.CustomControls
{
partial class MultiControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 44.146154 | 125 | 0.586513 | [
"MIT"
] | FairPlayer4/CSharpUtils | CSharpUtilsNETFramework/GUI/CustomControls/MultiControl.Designer.cs | 5,741 | C# |
using Xunit;
using System.Collections.Generic;
namespace AnagramList.Objects
{
public class AnagramTest
{
[Fact]
public void Test1_SimpleInput_True()
{
Anagram myAnagram = new Anagram("a","a");
Assert.Equal(true,myAnagram.isAnagram());
}
[Fact]
public void Test2_SimpleInput_Fal... | 24.770492 | 57 | 0.606221 | [
"MIT"
] | russvetsper/Anagram | Tests/AnagramTest.cs | 1,511 | C# |
#nullable disable
using VocaDb.Model.Domain.Tags;
using VocaDb.Model.Domain.Users;
namespace VocaDb.Model.Domain.Songs
{
public class SongTagVote : GenericTagVote<SongTagUsage>
{
public SongTagVote() { }
public SongTagVote(SongTagUsage usage, User user) : base(usage, user) { }
}
}
| 21.714286 | 76 | 0.720395 | [
"MIT"
] | AgFlore/vocadb | VocaDbModel/Domain/Songs/SongTagVote.cs | 304 | C# |
using Devices.Application.Devices.DTOs.Validators;
using Enmeshed.BuildingBlocks.Application.FluentValidation;
using FluentValidation;
namespace Devices.Application.Devices.Commands.RegisterDevice;
public class RegisterDeviceCommandValidator : AbstractValidator<RegisterDeviceCommand>
{
public RegisterDeviceComma... | 34.333333 | 107 | 0.798058 | [
"MIT"
] | nmshd/bkb-devices | Devices.Application/Devices/Commands/RegisterDevice/RegisterDeviceCommandValidator.cs | 517 | C# |
using System;
namespace ExpenseReportApp.AuditLogService.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public InvalidSample(string ... | 26.864865 | 134 | 0.583501 | [
"MIT"
] | Magenic/GCELiftAndShift | ExpenseReportApp.AuditLogService/Areas/HelpPage/SampleGeneration/InvalidSample.cs | 994 | C# |
using System;
using CSF.Screenplay.Actors;
using CSF.Screenplay.Performables;
namespace Agiil.BDD.Tasks.Tickets
{
public class OpenTicketForEditingByTitle : Performable
{
readonly string title;
protected override string GetReport(INamed actor)
=> $"{actor.Name} opens a ticket with the title '{title... | 23.482759 | 77 | 0.698972 | [
"MIT"
] | csf-dev/agiil | Tests/Agiil.BDD/Tasks/Tickets/OpenTicketForEditingByTitle.cs | 683 | C# |
using Markdig.Syntax.Inlines;
namespace Markdig.Renderers.LaTeX.Inlines
{
public class DelimiterInlineRenderer : LatexObjectRenderer<DelimiterInline>
{
protected override void Write(LatexRenderer renderer, DelimiterInline obj)
{
renderer.WriteEscape(obj.ToLiteral());
ren... | 27.923077 | 82 | 0.688705 | [
"MIT"
] | namofun/blogging | src/Markdig/LatexRenderers/Inlines/DelimiterInlineRenderer.cs | 363 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using EventStore.Core.Data;
using EventStore.Core.Messages;
using EventStore.Core.Services.AwakeReaderService;
using EventStore.Core.Services.TimerService;
using EventStore.Core.TransactionLog.LogRecords;
using EventStore.Projections.Core.Messages;
usi... | 41.045113 | 169 | 0.615314 | [
"Apache-2.0",
"CC0-1.0"
] | cuteant/EventStore-DotNetty-Fork | src/EventStore.Projections.Core.Tests/Services/event_reader/multi_stream_reader/when_handling_streams_with_deleted_events_and_reader_starting_after_event_zero.cs | 5,461 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Cms20190101.Models
{
public class DescribeAlertingMetricRuleResourcesRequest : TeaModel {
[NameInMap("RuleId")]
[Validation(Required=false)... | 22.774194 | 72 | 0.631728 | [
"Apache-2.0"
] | atptro/alibabacloud-sdk | cms-20190101/csharp/core/Models/DescribeAlertingMetricRuleResourcesRequest.cs | 706 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
namespace Web_Sample_HTTP_ {
public partial class _Default : System.Web.UI.Page {
protected void Page_Load(object sender, EventArgs e) {
}
protected vo... | 34.12 | 174 | 0.73857 | [
"MIT"
] | Thomas-Chiu/smsTest | api/every8d/SAMPLE_CODE/CSharp.NET/API21_Sample/Web_Sample(HTTP)/Default.aspx.cs | 887 | C# |
using UnityEngine;
public class Bullet : MonoBehaviour
{
private Transform target;
private Enemy targetEnemy;
public GameObject effect;
private float speed;
private float range;
private float damage;
public void SetInfo(Enemy _target, float _damage, float _range, float _speed)
{
... | 31.806818 | 134 | 0.580922 | [
"Apache-2.0"
] | RaphGamingz/Unity | Assets/Scripts/Bullet.cs | 2,799 | C# |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.ResourceManagement.ResourceLocations;
using UnityEngine.ResourceManagement.ResourceProviders;
using UnityEngine.ResourceManagement.Util;
namespace UnityEngine.ResourceManagemen... | 39.0625 | 135 | 0.6138 | [
"Apache-2.0"
] | BrinisSpark/Space-Invaders-Clone | Library/PackageCache/com.unity.addressables@1.18.16/Tests/Runtime/ResourceManager/OperationsCacheTests.cs | 5,000 | C# |
using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
namespace FrontEnd
{
public partial class ExtractArchiveWindow : Form
{
private readonly Time time = new Time();
private bool extractionCompleted;
private bool extractionStarte... | 31.048649 | 105 | 0.529422 | [
"MIT"
] | eugene-popov/Huffman-Archiver | FrontEnd/ExtractArchiveWindow.cs | 5,746 | C# |
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Franson.Protocols.Obex.OBEXService;
namespace ObexServiceSampleCF
{
/// <summary>
/// Summary description for ServerExtended.
/// </summary>
public class ServiceExtended : Franso... | 36.732673 | 170 | 0.784097 | [
"MIT"
] | johanlantz/headsetpresenter | HeadsetPresenter_Bluetools/HeadsetPresenter/Bluetools/BlueTools SDK v1.2/dotNet200/C#/ObexServiceGUI/ServiceExtended.cs | 3,710 | C# |
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice, this
// ... | 38.109756 | 97 | 0.61088 | [
"BSD-3-Clause"
] | 9192939495969798/Websitepanel | WebsitePanel/Sources/Tools/WebsitePanel.FixDefaultPublicFolderMailbox/Program.cs | 3,125 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using System.IO;
using System.Reflection;
namespace Microsoft.CodeAnalysis.Sarif.Driver.Sdk
{
public abstract c... | 36.884615 | 131 | 0.616788 | [
"MIT"
] | Bhaskers-Blu-Org2/driver-utilities | src/Sarif.Driver/Sdk/ExportConfigurationCommandBase.cs | 1,920 | C# |
namespace MountainSocialNetwork.Data.Seeding
{
using System;
using System.Linq;
using System.Threading.Tasks;
using MountainSocialNetwork.Data.Models;
internal class SettingsSeeder : ISeeder
{
public async Task SeedAsync(ApplicationDbContext dbContext, IServiceProvider serviceProvider... | 24.772727 | 101 | 0.618349 | [
"MIT"
] | Ventsislav-Ignatov/MountainSocialNetwork | src/Data/MountainSocialNetwork.Data/Seeding/SettingsSeeder.cs | 547 | C# |
using Uno.UI.Samples.Controls;
using Uno.UI.Samples.Presentation.SamplePages;
using Windows.UI.Xaml.Controls;
namespace Uno.UI.Samples.Content.UITests.ButtonTestsControl
{
[SampleControlInfo("Buttons", "Simple_Button", typeof(ButtonTestsViewModel), ignoreInSnapshotTests: true)]
public sealed partial class Simple_Bu... | 24.176471 | 107 | 0.783455 | [
"Apache-2.0"
] | iury-kc/uno | src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/Button/Simple_Button.xaml.cs | 411 | C# |
namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsInteracPresent : StripeEntity<ChargePaymentMethodDetailsInteracPresent>
{
/// <summary>
/// Card brand. Can be <c>interac</c>, <c>mastercard</c> or <c>visa</c>.
/// </su... | 37.785047 | 114 | 0.579025 | [
"Apache-2.0"
] | Loyalar/stripe-dotnet | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsInteracPresent.cs | 4,043 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.