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 System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Identity;
namespace AspRPG.Models.ManageViewModels
{
public class ManageLoginsViewModel
{
public IList<UserLoginInfo> CurrentLogin... | 24.647059 | 73 | 0.761337 | [
"MIT"
] | dr4gonz/AspRPG | src/AspRPG/Models/ManageViewModels/ManageLoginsViewModel.cs | 421 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Voodoo.Reports.Tests.Rendering
{
[TestClass]
public class ReportWithTooManyCellsTest : BaseTest
{
[TestMethod, ExpectedException(typeof(TooManyCellsException))]
public void RenderReport_ValidData_IsOk()
{
var... | 29.157895 | 70 | 0.655235 | [
"MIT"
] | MiniverCheevy/voodoo-reports | Voodoo.Reports.Tests/Rendering/ReportWithTooManyCellsTest.cs | 556 | C# |
// ***********************************************************************
// Assembly : EveLib.EveMarketData
// Author : Lars Kristian
// Created : 03-06-2014
//
// Last Modified By : Lars Kristian
// Last Modified On : 06-19-2014
// *********************************************************... | 45.078125 | 104 | 0.578856 | [
"Apache-2.0"
] | ezet/evelib | EveLib.EveMarketData/JsonConverters/EmdItemPricesJsonConverter.cs | 2,887 | C# |
//
// DiagramMark.cs
//
// Author:
// Jon Thysell <thysell@gmail.com>
//
// Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, 2021 Jon Thysell <http://jonthysell.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (th... | 42.172043 | 181 | 0.526007 | [
"MIT"
] | jonthysell/Chordious | Chordious.Core/Diagramming/DiagramMark.cs | 11,768 | C# |
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("Ene... | 37.513514 | 84 | 0.747118 | [
"MIT"
] | dragobaltov/Programming-Basics-And-Fundamentals | EnergyLoss/EnergyLoss/Properties/AssemblyInfo.cs | 1,391 | C# |
using ApplicationCore.Entities;
using Microsoft.EntityFrameworkCore;
using System.Reflection;
namespace Infrastructure.Data
{
public class AppContext : DbContext
{
public AppContext(DbContextOptions<AppContext> options) : base(options)
{
}
public DbSet<FoodProduct> FoodProduct... | 31.655172 | 87 | 0.663399 | [
"MIT"
] | StefanBalaban/CoreApp | src/Infrastructure/Data/AppContext.cs | 920 | C# |
using System;
using System.Collections.Generic;
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Computers.Commodore64.Cartridge
{
// This is a mapper used commonly by System 3. It is
// also utilized by the short-lived C64 Game System.
// Bank select is DExx. You select them by writing to the
... | 20.938356 | 96 | 0.595355 | [
"MIT"
] | CartoonFan/BizHawk | src/BizHawk.Emulation.Cores/Computers/Commodore64/Cartridge/Mapper000F.cs | 3,059 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace Sketchball.Collision
{
/// <summary>
/// Circle variant
/// </summary>
public class BoundingCircle : BoundingBox
{
... | 38.53 | 190 | 0.570984 | [
"MIT"
] | EusthEnoptEron/Sketchball | Sketchball/Collision/BoundingCircle.cs | 7,708 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 05.12.2020.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 29.356688 | 183 | 0.561727 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/Divide/Complete/NullableInt16/Int32AsDecimal/TestSet_001__fields.cs | 4,611 | C# |
using System;
using System.IO;
namespace EmbeddedResources
{
public class EmbeddedResourceLoader : ILoadResources
{
private readonly ILocateResources _resourceLocator;
public EmbeddedResourceLoader(ILocateResources resourceLocator)
{
_resourceLocator = resourceLocator;
... | 28.33871 | 106 | 0.559476 | [
"MIT"
] | xinmyname/EmbeddedResourceLoader | src/EmbeddedResourceLoader.cs | 1,759 | C# |
using LogisticsSystem.Controllers;
using MyTested.AspNetCore.Mvc;
using Xunit;
namespace LogisticsSystem.Test.Routing
{
public class HomeRoutingTest
{
[Fact]
public void IndexRouteShouldBeMapped()
=> MyRouting
.Configuration()
.ShouldMap("/... | 22.259259 | 55 | 0.53411 | [
"MIT"
] | pepsitopepsito9681/My-courses-at-Software-University | C# Web Project-Logistics System/LogisticsSystem.Test/Routing/HomeRoutingTest.cs | 603 | C# |
using System;
namespace Controllers
{
public class TypeScriptControllerAttribute : Attribute
{
}
} | 14 | 58 | 0.714286 | [
"MIT"
] | TheHatSky/typewriter-controller-template | src/Controllers/Controllers/TypeScriptControllerAttribute.cs | 114 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Tasks
{
public class D
{
static void Main(string[] args)
{
var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOu... | 36.8 | 150 | 0.507246 | [
"CC0-1.0"
] | AconCavy/AtCoder.Tasks.CS | ABC/ABC139/Tasks/D.cs | 1,656 | C# |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharperCryptoApiAnalysis.BaseAnalyzers.Analyzers;
using SharperCryptoApiAnalysis.BaseAnalyzers.Tests.Verifiers;
namespace SharperCryptoApiAnalysis.BaseAnalyzers.Tests
{
[TestClass]
... | 26.488998 | 80 | 0.511076 | [
"MIT"
] | AnakinSklavenwalker/SharperCryptoApiAnalysis | tests/SharperCryptoApiAnalysis.BaseAnalyzers.Tests/LowCostFactorAnalyzerTests.cs | 10,834 | C# |
using System.Xml.Serialization;
#pragma warning disable CS1591
namespace JenkinsWebApi.Model
{
// hudson.matrix.MatrixConfiguration
public partial class JenkinsMatrixMatrixConfiguration : JenkinsModelProject
{
// empty
}
}
| 19.153846 | 79 | 0.742972 | [
"MIT"
] | bmasephol/JenkinsWebApi | JenkinsWebApiShared/Model/Generated/JenkinsMatrixMatrixConfiguration.cs | 249 | C# |
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Okra.Tests.Mocks
{
public class MockServiceScopeFactory : IServiceScopeFactory
{
private readonly IServiceProvider _childServiceProvider;
public MockServiceScopeFactory(IServiceProvider childServiceProvider)
{
... | 24.809524 | 77 | 0.700576 | [
"Apache-2.0"
] | OkraFramework/Okra.Core | test/Okra.Core.Tests/Mocks/MockServiceScopeFactory.cs | 523 | C# |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
namespace HeadRaceTimingSite.Migrations
{
public partial class BasicStructure : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... | 37.496454 | 122 | 0.503499 | [
"MIT"
] | MelHarbour/HeadRaceTiming-Site | HeadRaceTiming-Site/Migrations/20170321164936_BasicStructure.cs | 5,289 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut gener... | 46.765625 | 173 | 0.636485 | [
"MIT"
] | Grille/2D-isometricRenderer | 2D-isoedit/Properties/Resources.Designer.cs | 3,003 | C# |
using System;
using Photon.Pun;
using Photon.Realtime;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public sealed class PlayerListElementView : MonoBehaviour
{
[SerializeField] private TMP_Text _usernameText;
[SerializeField] private Button _kickButton;
private Player _player;
public int Pla... | 25.096154 | 116 | 0.699617 | [
"MIT"
] | OlekLolKek/gb0122 | Assets/Code/Views/PlayerListElementView.cs | 1,305 | 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... | 58.276596 | 194 | 0.503322 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutLifecycleConfigurationRequestMarshaller.cs | 13,695 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(LineRenderer))]
public class KochLine : KochGenerator
{
LineRenderer lineRenderer;
Vector3[] lerpPositions;
//public float generateMultiplier;
float[] lerpAudio;
[Header("Audio")]
public Au... | 31.803922 | 141 | 0.581689 | [
"MIT"
] | lobinuxsoft/Audio-Visualizer | Assets/Audio Tools/Audio Visualizer/Scripts/Koch Fractals/KochLine.cs | 3,246 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Security.Cryptography;
using System.Threading.Tasks;
using NBitcoin;
namespace bitcoinpuzzlescanner
{
public static class Helpers
{
/// <summary>
/// Write console message.
... | 38.210145 | 156 | 0.54836 | [
"MIT"
] | ilkerccom/bitcoinpuzzlescanner | bitcoinpuzzlescanner/helpers/Helpers.cs | 10,548 | C# |
using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace D2D.Web.Host.Startup
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
... | 21.904762 | 64 | 0.521739 | [
"MIT"
] | TheGenezis/D2D | src/D2D.Web.Host/Startup/Program.cs | 462 | C# |
using Prism;
using Prism.Ioc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Pr... | 24.131579 | 72 | 0.714286 | [
"MIT"
] | RomanEmreis/HomeLink.App | HomeLink.App/HomeLink.App/HomeLink.App.UWP/MainPage.xaml.cs | 919 | C# |
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.Drawing;
using System.IO;
using WWTWebservices;
namespace WWT.Providers
{
public abstract partial class MarsMoc : RequestProvider
{
public Bitmap DownloadBitmap(string dataset, int level, int x, int y)
{
string DS... | 30.27381 | 148 | 0.476602 | [
"MIT"
] | twsouthwick/wwt-website | src/WWT.Providers/Providers/MarsMoc.aspx.cs | 2,543 | C# |
namespace Mozlite.Extensions.Extensions
{
/// <summary>
/// 唯一Id对象接口。
/// </summary>
/// <typeparam name="TKey">Id类型。</typeparam>
public interface ISitableObject<TKey> : IIdObject<TKey>, ISitable
{
}
/// <summary>
/// 唯一Id对象接口。
/// </summary>
public interface ISitableObject... | 20.941176 | 69 | 0.589888 | [
"Apache-2.0"
] | Mozlite/aspnetcore | Mozlite.Extensions.Extensions/ISitableObject.cs | 392 | C# |
using Newtonsoft.Json;
using OpenBots.Core.Attributes.PropertyAttributes;
using OpenBots.Core.Command;
using OpenBots.Core.Enums;
using OpenBots.Core.Infrastructure;
using OpenBots.Core.Server.API_Methods;
using OpenBots.Core.Utilities.CommonUtilities;
using System;
using System.Data;
using System.Collections.Generic;... | 32.094118 | 103 | 0.752199 | [
"Apache-2.0"
] | arenabilgisayar/OpenBots.Studio | OpenBots.Commands/OpenBots.Commands.Server/OpenBots.Commands.Asset/AppendTextAssetCommand.cs | 2,730 | C# |
#pragma checksum "D:\GitHub\azure-mobile-services\quickstart\phonegap\favex\platforms\wp8\cordovalib\CordovaView.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C72FA4ECB38C8B117F8ADD2807310EBE"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was ge... | 37.25 | 195 | 0.662332 | [
"MIT"
] | kv19971/FavEx | platforms/wp8/obj/Debug/cordovalib/CordovaView.g.cs | 2,386 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Windows;
namespace ModernWpf.Controls
{... | 42.253061 | 200 | 0.552985 | [
"MIT"
] | AlphaNecron/ModernWpf | ModernWpf.Controls/Repeater/Layouts/FlowLayout/ElementManager.cs | 20,706 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Ianitor.Osp.Backend.Persistence.DataAccess;
using Ianitor.Osp.Common.Shared;
using Ianitor.Osp.Common.Shared.DataTransferObjects;
using Ianitor.Osp.Common.Shared.Exchange;
usin... | 37.583333 | 134 | 0.620103 | [
"MIT"
] | ianitor/ObjectServicePlatform | Osp/Backend/Ianitor.Osp.Backend.Persistence/Commands/ExportRtModel.cs | 4,061 | C# |
// $Id$
//
// Copyright 2008-2009 The SharpSvn Project
//
// 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 app... | 29.448276 | 109 | 0.637588 | [
"Apache-2.0"
] | AmpScm/SharpSvn | contrib/PowerShell/SharpSvn/Commands/SvnMerge.cs | 1,708 | 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 "li... | 31.658228 | 104 | 0.617353 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/Chime/Generated/Model/DeleteProxySessionRequest.cs | 2,501 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace ECom.Web.Services
{
public class RequestLoggingMiddleware
{
private readonly RequestDelegate _next;
... | 32 | 103 | 0.581782 | [
"MIT"
] | nabinkjha/Ecom | ECom.Web/Services/RequestLoggingMiddleware.cs | 1,506 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Threading.Tasks;
using iCoreService.Models;
namespace iCoreService.Controllers
{
/// <summary>
... | 35.390625 | 128 | 0.643709 | [
"MIT"
] | mikechristel/iCoreService-Digital-Archive-API | iCoreService/Controllers/FeedbackController.cs | 2,267 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... | 35.884615 | 172 | 0.733119 | [
"ECL-2.0",
"Apache-2.0"
] | mdop-wh/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementOrStatementStatementIpSetReferenceStatementGetArgs.cs | 933 | C# |
using GizmoFort.Connector.ERPNext.PublicTypes;
using GizmoFort.Connector.ERPNext.WrapperTypes;
using System.ComponentModel;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Payment_terms_template
{
public class ERPPayment_terms_template : ERPNextObjectBase
{
public ERPPayment_terms_template() : this(new E... | 27.148936 | 100 | 0.616771 | [
"MIT"
] | dmequus/gizmofort.connector.erpnext | Libs/GizmoFort.Connector.ERPNext/ERPTypes/Payment_terms_template/ERPPayment_terms_template.cs | 1,276 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace Aliyun.SDK.CCP.CCPClient.Models
{
public class ListTagsRequestModel : TeaModel {
[NameInMap("headers")]
[Validation(Required=false)]
public Dictiona... | 21.347826 | 63 | 0.663951 | [
"Apache-2.0"
] | aliyun/aliyun-ccp | ccppath-sdk/cs/core/Models/ListTagsRequestModel.cs | 491 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NumericTextboxControl
{
public partial class UserControl1 : UserControl
{
public UserControl1()
{
... | 18.55 | 51 | 0.698113 | [
"MIT"
] | bobbyache/CsPrototypes | NumericTextBox/NumericTextboxControl/UserControl1.cs | 373 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using UnityEngine;
using DTLocalization.Internal;
using GDataDB;
namespace DTLocalization {
public class LocalizationConfiguration : MonoBehaviour {
// PRAGMA MARK - Public Static Interface
pu... | 24.875 | 159 | 0.746231 | [
"MIT"
] | DarrenTsung/DTLocalization | LocalizationConfiguration.cs | 1,194 | C# |
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PlexRequests.DataAccess.Enums;
namespace PlexRequests.Functions.Features.Search.Models
{
public class MovieSearchModel
{
public int Id { get; set; }
public string Title { get; set; }
public string Overview { g... | 30.857143 | 59 | 0.665123 | [
"MIT"
] | Jbond312/PlexRequestsApi | src/PlexRequests.Functions/Features/Search/Models/MovieSearchModel.cs | 650 | C# |
using System;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
using Refit;
namespace PS.Web.Api.Client
{
public static class ServiceCollectionExtensions
{
public static IParkingSpaceWebApiClientBuilder AddParkingSpaceWebApiClient(this IServiceCollection services, Act... | 27.523077 | 166 | 0.647289 | [
"Apache-2.0"
] | hypnot1c/ParkingSpace | src/BuildingBlocks/Api/Clients/ParkingSpace/PS.Web.Api.Client.Http.Refit.DependencyInjection/Extensions/ServiceCollectionExtensions.cs | 1,789 | C# |
using System;
using FluentValidation;
using OpenRealEstate.Core.Models;
namespace OpenRealEstate.Validation
{
public class AggregateRootValidator<T> : AbstractValidator<T> where T : AggregateRoot
{
public AggregateRootValidator()
{
RuleFor(aggregateRoot => aggregateRoot.... | 37.555556 | 125 | 0.659763 | [
"MIT"
] | OpenRealEstate/OpenRealEstate.NET | Code/OpenRealEstate.Validation/AggregateRootValidator.cs | 678 | C# |
using FluentAssertions;
using Moq;
using System.Net;
using System.Threading.Tasks;
using WireMock.Models;
using WireMock.ResponseBuilders;
using WireMock.Settings;
using Xunit;
namespace WireMock.Net.Tests.ResponseBuilders
{
public class ResponseWithStatusCodeTests
{
private readonly Mock<IWireMockServ... | 33.72 | 123 | 0.634638 | [
"Apache-2.0"
] | WireMock-Net/WireMock.Net | test/WireMock.Net.Tests/ResponseBuilders/ResponseWithStatusCodeTests.cs | 1,686 | C# |
/*
===============================================================================
EntitySpaces 2009 by EntitySpaces, LLC
Persistence Layer and Business Objects for Microsoft .NET
EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC
http://ww... | 27.848485 | 79 | 0.511425 | [
"Unlicense"
] | EntitySpaces/EntitySpaces-CompleteSource | Tests/CSharp/TestSqlServer35/TestSqlServer35/BusinessObjects/Custom/ForeignKeyTest/ReferredEmployee.cs | 919 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dominio
{
public class Persona
{
string nombre;
string apellido;
string documento;
int edad;
public string Nombre { get => nombre; set... | 22.538462 | 79 | 0.59215 | [
"MIT"
] | IvanAP1791/Prueba | Dominio/Persona.cs | 588 | C# |
///////////////////////////////////////////////////////////////////////////////////
// Open 3D Model Viewer (open3mod) (v2.0)
// [ExportDialog.cs]
// (c) 2012-2015, Open3Mod Contributors
//
// Licensed under the terms and conditions of the 3-clause BSD license. See
// the LICENSE file in the root folder of the reposito... | 39.715013 | 126 | 0.488467 | [
"MIT"
] | WildGenie/vrs | open3mod/ExportDialog.cs | 15,608 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 40.0625 | 157 | 0.579303 | [
"BSD-3-Clause"
] | Carko/Krypton-Toolkit-Suite-NET-Core | Source/Krypton Components/ComponentFactory.Krypton.Navigator/Converters/BarItemSizingConverter.cs | 1,926 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CSharpBible.AboutEx.Visual
{
partial class AboutBox1 : Form
{
public AboutBox1()
{
... | 31.477477 | 135 | 0.533486 | [
"MIT"
] | joecare99/CSharp | CSharpBible/AboutEx/Visual/AboutBox1.cs | 3,497 | C# |
using System;
using System.ComponentModel;
using System.Globalization;
using System.Web;
using System.Web.UI;
using Microsoft.Web.Mvc.Properties;
namespace Microsoft.Web.Mvc.Controls
{
public class Label : MvcControl
{
private string _format;
private string _name;
private int _truncate... | 30.589286 | 135 | 0.516346 | [
"Apache-2.0"
] | douchedetector/mvc-razor | src/Microsoft.Web.Mvc/Controls/Label.cs | 3,428 | 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.ComponentModel;
using Pulumi;
namespace Pulumi.AzureNextGen.ContainerService.V20200701
{
/// <summary>
/// AgentPoolMode represe... | 65.002941 | 316 | 0.738157 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/ContainerService/V20200701/Enums.cs | 44,202 | C# |
using System;
using System.Text;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using Abp.AspNetCore;
using Abp.AspNetCore.Configuration;
using Abp.AspNetCore.SignalR;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Zero.Configuration;
... | 35.3 | 151 | 0.698098 | [
"MIT"
] | Kinnco/NetCoreAbp | 4.7.1/src/NetCore.Web.Core/NetCoreWebCoreModule.cs | 2,473 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BCrypt.Net;
namespace KeyLog
{
public partial class FormLogin : Form
{
... | 29.380952 | 70 | 0.482172 | [
"Apache-2.0"
] | martineng/Keylog | Keylog/FormLogin.cs | 3,704 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestSuites.ActiveDirectory.Lsad {
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflecti... | 102.75929 | 343 | 0.721397 | [
"MIT"
] | G-arj/WindowsProtocolTestSuites | TestSuites/ADFamily/src/TestSuite/MS-LSAD/TestScenarioS7.cs | 312,491 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using SharedLib;
namespace SteamLib.Models
{
public interface ISteamReportManager
{
/// <summary>
/// Gets a report
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
Task<ISteamRe... | 26.975309 | 88 | 0.544622 | [
"MIT"
] | LazyTarget/MyLife | Libraries/Steam/SteamLib.Models/Interfaces/ISteamReportManager.cs | 2,187 | C# |
using System;
namespace LeBoyLib
{
/// <summary>
/// Emulates a Z80 Gameboy CPU, more specifically a Sharp LR35902 which is a Z80 minus a few instructions, with more logical operations and a sound generator.
/// </summary>
public partial class GBZ80
{
/// <summary>
/// Get the full... | 38.5 | 162 | 0.431326 | [
"MIT"
] | Memorix101/LeBoy | LeBoyLib/CPU/GBZ80.Debug.cs | 5,084 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EvoANTCore
{
public interface IWorldObject
{
int PositionX { get; }
int PositionY { get; }
void Update();
}
}
| 14.588235 | 33 | 0.729839 | [
"MIT"
] | Celarix/Misc | EvoANTCore/IWorldObject.cs | 250 | C# |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
namespace XamarinNDKSample
{
public partial class App : Application
{
public App()
{
InitializeComponent();
//int res = XamCppLibCS.Add(3, 5);
MainPa... | 19.970588 | 59 | 0.546392 | [
"Apache-2.0"
] | Rytisgit/Xamarin | XamarinNDKSample/XamarinNDKSample/XamarinNDKSample/App.xaml.cs | 681 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.DEMO.Models
{
public class StatusDemoGatewayCheckRequest : TeaModel {
[NameInMap("auth_token")]
[Validation(Required=false)]
public str... | 23.459459 | 59 | 0.615207 | [
"MIT"
] | sdk-team/antchain-openapi-prod-sdk | DEMO/csharp/core/Models/StatusDemoGatewayCheckRequest.cs | 868 | C# |
using System.Windows;
using WslToolbox.Gui.Views;
namespace WslToolbox.Gui.Commands
{
public class ShowApplicationCommand : GenericCommand
{
private readonly MainView _mainView;
public ShowApplicationCommand(MainView mainView)
{
_mainView = mainView;
IsExecutab... | 26.304348 | 79 | 0.636364 | [
"MIT"
] | FalconNL93/WslToolbox | WslToolbox.Gui/Commands/ShowApplicationCommand.cs | 607 | C# |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... | 29.818182 | 83 | 0.566519 | [
"ECL-2.0",
"Apache-2.0"
] | citizenmatt/gallio | src/Gallio/Gallio.Tests/Common/Markup/StructuredStreamTest.cs | 3,608 | C# |
using System.Collections.Generic;
using Content.Shared.Sound;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Storage.Components
{
/// <summary>
/// Spawns items when used in hand.
/// </summary>
[RegisterComponent]
public class Sp... | 30.885714 | 100 | 0.60407 | [
"MIT"
] | AzzyIsNotHere/space-station-14 | Content.Server/Storage/Components/SpawnItemsOnUseComponent.cs | 1,081 | C# |
/*
The MIT License (MIT)
Copyright (c) 2014 Kolibri
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 without limitation the rights
to use, copy, modify,... | 39.103704 | 164 | 0.443076 | [
"MIT"
] | bgiot/mqexplorerplus | src/Dotc.Common/ClipboardHelper.cs | 10,560 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/asset/v1/assets.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using ... | 38.806695 | 833 | 0.634037 | [
"Apache-2.0"
] | Global19/google-cloud-dotnet | apis/Google.Cloud.Asset.V1/Google.Cloud.Asset.V1/Assets.cs | 200,553 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the GNU Affero General Public License, Version 3.
using System;
namespace SixLabors.ImageSharp.Metadata.Profiles.Icc
{
/// <summary>
/// This type represents an array of doubles (from 32bit values).
/// </summary>
internal sealed class I... | 32.289855 | 110 | 0.585278 | [
"Apache-2.0"
] | fahadabdulaziz/ImageSharp | src/ImageSharp/Metadata/Profiles/ICC/TagDataEntries/IccUFix16ArrayTagDataEntry.cs | 2,230 | C# |
namespace TeamBuilder.Data.Configs
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
public class InvitationConfig : IEntityTypeConfiguration<Invitation>
{
public void Configure(EntityTypeBuilder<Invitation> builder)
{
... | 29.375 | 72 | 0.597163 | [
"MIT"
] | pirocorp/Databases-Advanced---Entity-Framework | 12. Workshops/Team Builder/TeamBuilder/TeamBuilder.Data/Configs/InvitationConfig.cs | 707 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using System.IO;
namespace BlogEngine.Core.Web
{
/// <summary>
/// URL rewrite rules
/// </summary>
public class UrlRules
{
#region Constants and Fields
/// <summar... | 37.914286 | 152 | 0.533157 | [
"MIT"
] | mohanraod/mohansglobe | BlogEngine.NET-3.3.5.0/BlogEngine/BlogEngine.Core/Web/UrlRules.cs | 18,580 | C# |
/*
===============================================================================
EntitySpaces 2009 by EntitySpaces, LLC
Persistence Layer and Business Objects for Microsoft .NET
EntitySpaces(TM) is a legal trademark of EntitySpaces, LLC
http://ww... | 28.666667 | 79 | 0.493023 | [
"Unlicense"
] | EntitySpaces/EntitySpaces-CompleteSource | Tests/CSharp/TestAllDatabases/TestAllDatabases/BusinessObjects/Custom/Northwind/CustomerCustomerDemo.cs | 860 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Wbs.Everdigm.BLL;
using Wbs.Everdigm.Database;
using Wbs.Everdigm.Common;
namespace Wbs.Everdigm.Web.ajax
{
public partial class print
{
private SatelliteBLL SatelliteInstance { get { return new SatelliteBLL(); ... | 33.398649 | 163 | 0.446895 | [
"Apache-2.0"
] | wanbangsoftware/Everdigm | Wbs.Everdigm.Web/Wbs.Everdigm.Web/ajax/PartialPrintIridium.cs | 5,113 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Azure.AI.TextAnalytics.Tests
{
public class RecognizeEntitiesTests : TextAnalyticsClien... | 39.820789 | 194 | 0.623402 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/textanalytics/Azure.AI.TextAnalytics/tests/RecognizeEntitiesTests.cs | 11,112 | C# |
//Write a program that, for a given two integer numbers N and X, calculates the sumS = 1 + 1!/X + 2!/X2 + … + N!/XN
using System;
using System.Numerics;
class NandXequation
{
static decimal Factorial(decimal num) // Method for calculation of the factorial. The type is not BigInteger, because then... | 25.349206 | 210 | 0.519098 | [
"MIT"
] | PetarMetodiev/Telerik-Homeworks | C# Part 1/06 Loops/Loops/06 NandXequation/NandXequation.cs | 1,601 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using NetDaemon.Common.Reactive;
/// <summary>
/// Greets (or insults) people when coming home :)
/// </summary>
public class CircularApp : NetDaemonRxApp
{
public override Task InitializeAsync()
{
// Do nothing
return Task.Co... | 21.25 | 54 | 0.682353 | [
"MIT"
] | FrankBakkerNl/netdaemon | tests/NetDaemon.Daemon.Tests/DaemonRunner/FaultyApp/CircularDependencies/CircularApp.cs | 340 | C# |
///-----------------------------------------------------------------
/// Author: Fouad Messaia
/// AuthorUrl: http://messaia.com
/// Date: 01.01.2016
/// Copyright (©) 2016, MESSAIA.NET, all Rights Reserved.
/// Licensed under the Apache License, Version 2.0.
/// ... | 35.583826 | 162 | 0.54548 | [
"Apache-2.0"
] | fouadmess/NetCore | Messaia.Net.Api/Controllers/CRUDControllerBase.cs | 18,044 | C# |
using Content.Server.GameObjects.EntitySystems.Click;
using Content.Shared.Construction;
using Content.Shared.GameObjects.EntitySystems;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
using Robust.Shared.Serialization;
using Robust.S... | 32.803571 | 110 | 0.664126 | [
"MIT"
] | Hughgent/space-station-14 | Content.Server/GameObjects/Components/Construction/ConstructionComponent.cs | 1,839 | C# |
using App.UI.Mvc5.Infrastructure;
using System.Net;
namespace App.UI.Mvc5.Models
{
public class ErrorViewModel : BaseViewModel
{
/// <summary>
/// Constructor method.
/// </summary>
public ErrorViewModel(HttpStatusCode statusCode, string errorMessage = null)
{
Code = (int)statusCode;
Message = erro... | 22.921569 | 85 | 0.717707 | [
"MIT"
] | weedkiller/aspnet-mvc5-starter-template | sources/platform-solutions/App.UI.Mvc5/Models/Errors/ErrorViewModel.cs | 1,171 | C# |
using System;
using System.Collections.Generic;
namespace Models.DB
{
public partial class TmaintenanceInterval
{
public TmaintenanceInterval()
{
EmaintenanceIntervals = new HashSet<EmaintenanceIntervals>();
}
public short TmaintenanceIntervalId { get; set; }
... | 29.142857 | 93 | 0.687908 | [
"Apache-2.0"
] | LightosLimited/RailML | v2.4/Models/DB/TmaintenanceInterval.cs | 614 | C# |
// Copyright 2021 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 48.149752 | 563 | 0.630485 | [
"Apache-2.0"
] | deni-skaraudio/google-ads-dotnet | src/V8/Services/CampaignFeedServiceClient.g.cs | 38,905 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TeamTesting : MonoBehaviour
{
public enum TestingTeams { police, civillian, spy};
public List<MovementTest> policePlayers = new List<MovementTest>();
public List<MovementTest> civillianPlayers = new List<... | 32.935484 | 88 | 0.635651 | [
"MIT"
] | PaandaB/Ant_Undercover | Assets/Scripts/Testing/TeamTesting.cs | 1,023 | C# |
// MIT License
//
// Copyright (c) 2020 Jeesu Choi
//
// 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 without limitation the rights
// to use, copy, modif... | 37.928571 | 143 | 0.686676 | [
"MIT"
] | s2quake/JSSoft.Font | JSSoft.Fonts.ApplicationHost/ShellView.xaml.cs | 4,268 | C# |
using Bb.Brokers;
using Bb.Workflows;
using Bb.Workflows.Models;
using System;
namespace Bb.Workflows.Services
{
public class EngineFactory
{
/// <summary>
/// Ctor
/// </summary>
/// <param name="path"></param>
public EngineFactory(EngineGeneratorConfiguration configu... | 21.93 | 81 | 0.502508 | [
"BSD-3-Clause"
] | Moleculars/Sample | src/Black.Beard.Web.Workflow/Services/EngineFactory.cs | 2,195 | C# |
using System;
using System.Collections.Generic;
using System.Text;
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
namespace NeteaseCloudMusicAPI.JsonBase
{
public sealed class MVResult
{
public string LoadingPic { get; set; }
public string BufferPic { get; set; }
public string... | 31.509804 | 54 | 0.584941 | [
"Apache-2.0"
] | textGamex/CloudMusicAPI | NeteaseCloudMusicAPI/JsonBase/MvBase.cs | 1,639 | C# |
using System;
using PoESkillTree.Engine.Computation.Common.Builders.Conditions;
using PoESkillTree.Engine.Computation.Common.Builders.Resolving;
namespace PoESkillTree.Engine.Computation.Common.Builders.Values
{
public class ValueBuilderStub : IValueBuilder
{
public double Value { get; }
publ... | 36.272727 | 107 | 0.667669 | [
"MIT"
] | BlazesRus/PoESkillTreeBlazesRusBranch.Engine | PoESkillTree.Engine.Computation.Common.Tests/Builders/Values/ValueBuilderStub.cs | 1,997 | C# |
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Fido2NetLib.Objects;
namespace Fido2NetLib
{
/// <summary>
/// Public API for parsing and veriyfing FIDO2 attestation & assertion responses.
/// </summary>
public partial c... | 50.443038 | 393 | 0.65872 | [
"MIT"
] | adricasti/fido2-net-lib | Src/Fido2/Fido2NetLib.cs | 7,972 | C# |
using System;
using System.Runtime.InteropServices;
namespace Checs
{
internal static unsafe class ArchetypeUtility
{
public static void ConstructComponentData(Archetype* archetype,
Span<int> componentTypes, Span<int> componentSizes, int hashCode)
{
archetype->entityCount = 0;
archetype->componentCount ... | 27.274194 | 98 | 0.706091 | [
"MIT"
] | dn9090/Checs | src/Checs/ArchetypeUtility.cs | 1,691 | 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.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is contr... | 34.571429 | 106 | 0.786157 | [
"MIT"
] | jonsequitur/Its.Log | Its.Log/Properties/AssemblyInfo.cs | 970 | C# |
namespace HarmornyHelper.forms
{
partial class ScalesControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed re... | 36.021898 | 125 | 0.718946 | [
"MIT"
] | emorrison1962/HarmonyHelper | HarmonyHelper/HarmornyHelper.forms/Views/ScalesControl.Designer.cs | 4,937 | C# |
using System.Collections.Generic;
using System.Management;
namespace WindowsMonitor.Windows.Jobs
{
/// <summary>
/// </summary>
public sealed class NamedJobObjectStatistics
{
public string Collection { get; private set; }
public string Stats { get; private set; }
public static IEnumerable<... | 37.145833 | 117 | 0.637689 | [
"MIT"
] | Biztactix/WindowsMonitor | WindowsMonitor.Standard/Windows/Jobs/NamedJobObjectStatistics.cs | 1,783 | C# |
// Licensed under the Apache 2.0 License. See LICENSE.txt in the project root for more information.
using ElasticLinq.Logging;
using ElasticLinq.Mapping;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using Xunit;
namespace ElasticLinq.Test
{
public class ElasticQueryTests
... | 37.69863 | 184 | 0.683866 | [
"Apache-2.0"
] | ethaler/ElasticLINQ | Source/ElasticLINQ.Test/ElasticQueryTests.cs | 2,754 | C# |
using NationalInstruments.InstrumentFramework.Plugins;
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using SwitchExecutive.Plugin.Internal.DriverOperations;
using SwitchExecutive.Plugin.Internal.Common;
namespace SwitchExecutive.Plugin.Internal
{
public partial cla... | 41.354839 | 115 | 0.686427 | [
"MIT"
] | dixonjoel/niinstrumentstudio-switchexecutive-hosted-application | Source/SwitchExecutive.Plugin/source/Internal/SwitchExecutiveControl.xaml.cs | 2,566 | C# |
namespace EntertainmentSystem.Common.ExtensionMethods
{
public static class StringExtensions
{
public static string GetFileName(this string fileFullname)
{
if (string.IsNullOrWhiteSpace(fileFullname))
{
return string.Empty;
}
var ... | 29.59596 | 85 | 0.488737 | [
"MIT"
] | Borayvor/ASP.NET-MVC-CourseProject-2017 | PhotoArtSystem/Common/PhotoArtSystem.Common/ExtensionMethods/StringExtensions.cs | 2,932 | 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.Generic;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs.Extensions.SignalRService;
using Microsoft.Extensions.Pr... | 42.566667 | 223 | 0.683242 | [
"MIT"
] | Azure/azure-functions-signalrservice-extension | test/SignalRServiceExtension.Tests/DefaultSecurityTokenValidatorTests.cs | 2,556 | 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.Linq;
using Xunit;
namespace System.Runtime.Intrinsics.Tests.Vectors
{
public sealed class Vector64Tests
{
[Theory]
[InlineData(0, 0)]
... | 28.621622 | 71 | 0.586402 | [
"MIT"
] | AntonLapounov/runtime | src/libraries/System.Runtime.Intrinsics/tests/Vectors/Vector64Tests.cs | 1,061 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Microsoft.Coyote.Actors.SharedObjects
{
/// <summary>
/// A thread-safe register that can be shared in-memory by actors.
/// </summary>
/// <remarks>
/// See also <see href="/coyote/concepts/actors/... | 33.069364 | 132 | 0.529278 | [
"MIT"
] | Magicianred/coyote | Source/Core/Actors/SharedObjects/SharedRegister.cs | 5,723 | C# |
/*
* LUSID API
*
* # Introduction This page documents the [LUSID APIs](https://www.lusid.com/api/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages and frameworks: * [C#](https://github.c... | 108.465201 | 16,891 | 0.621391 | [
"MIT"
] | EiriniMavroudi/lusid-sdk-csharp-preview | sdk/Lusid.Sdk/Model/ComplianceRuleResult.cs | 29,611 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using HedgeModManager.Misc;
namespace HedgeModManager.Updates
{
... | 30.143243 | 130 | 0.542276 | [
"MIT"
] | Leroysonic/HedgeModManager | HedgeModManager/Updates/GmiUpdateCommandList.cs | 11,155 | C# |
// *****************************************************************************
//
// © Component Factory Pty Ltd, 2006 - 2016. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverley, Vic... | 40.566372 | 98 | 0.589878 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core | Source/Demos/Non NuGet/Krypton Navigator Examples/Expanding Pages/Form1.cs | 4,587 | C# |
namespace AspectCore.Extensions.Configuration
{
public enum ConfigurationBindType
{
Value,
Class
}
} | 16 | 45 | 0.648438 | [
"MIT"
] | Frunck8206/AspectCore-Framework | src/AspectCore.Extensions.Configuration/ConfigurationBindType.cs | 128 | C# |
using MyJetWallet.Fireblocks.Domain.Models.VaultAssets;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace MyJetWallet.Fireblocks.Domain.Models.VaultAccounts
{
[DataContract]
public class VaultAccount
{
[DataMember(Order = 1)]
public string Id { get; set; }
... | 26.464286 | 72 | 0.634278 | [
"MIT"
] | MyJetWallet/MyJetWallet.Fireblocks | src/MyJetWallet.Fireblocks/Domain/Models/VaultAccounts/VaultAccount.cs | 743 | C# |
using Android.App;
using Android.Content.PM;
using Android.OS;
using Prism.Ioc;
using Prism.Events;
using PrismSample.Models;
using Android.Widget;
namespace PrismSample.Droid
{
[Activity(Theme = "@style/MainTheme",
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
pu... | 34.181818 | 125 | 0.681738 | [
"MIT"
] | Adam--/Prism-Samples-Forms | 05-EventAggregator/src/PrismSample.Android/MainActivity.cs | 1,130 | C# |
using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Reflection.Metadata;
using System.Reflection.PortableExecutable;
using FluentAssertions;
using Microsoft.Extensions.DependencyModel;
using Microsoft.NET.TestFramework;
using Microsoft.NET.TestFramework.Assertions;
using Microsoft.NET.... | 50.756208 | 147 | 0.652657 | [
"MIT"
] | elinor-fung/sdk | src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToRunILLink.cs | 22,485 | C# |
using System.Threading.Tasks;
namespace App.Shared.Commands
{
public interface ICommandHandler<T> where T : ICommand
{
Task<ICommandResult> Handle(T command);
}
}
| 18.5 | 58 | 0.691892 | [
"MIT"
] | carlosrogerioinfo/Core-API | App.Shared/Commands/ICommandHandler.cs | 187 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.