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 Klarna.Rest.Core.Model.Enum;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Klarna.Rest.Core.Model
{
/// <summary>
///
/// </summary>
public class PaymentCustomer
{
/// <summary>
/// ISO 8601 date. The customer date of birth
/// </summary>
... | 34.607143 | 89 | 0.584623 | [
"Apache-2.0"
] | Taturevich/kco_rest_dotnet | Klarna.Rest/Klarna.Rest.Core/Model/PaymentCustomer.cs | 1,940 | C# |
/*
* Copyright 2011-2015 Numeric Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 34.385965 | 178 | 0.532143 | [
"Apache-2.0"
] | NumericTechnology/Platanum.Net | KPComponents/KPPages/KPPage.cs | 3,926 | C# |
using System;
using System.Linq;
using System.Numerics;
using ImGuiNET;
using MoonSharp.Interpreter;
using Quaver.API.Enums;
using Quaver.Shared.Config;
using Quaver.Shared.Screens.Edit.Actions;
using Quaver.Shared.Scripting;
namespace Quaver.Shared.Screens.Edit.Plugins
{
public class EditorPlugin : LuaImGui, IEdi... | 32.550336 | 115 | 0.578969 | [
"MPL-2.0"
] | GreenScreen410/Quaver | Quaver.Shared/Screens/Edit/Plugins/EditorPlugin.cs | 4,850 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace ODataValidator.Rule
{
#region Namespace.
using System;
using System.ComponentModel.Composition;
using System.Linq;
using System.Net... | 37.417266 | 147 | 0.569121 | [
"MIT"
] | OData/ValidationTool | src/CodeRules/ServiceImplementation/ServiceImpl_SystemQueryOptionFilter_Substring.cs | 5,203 | C# |
#region License
// Copyright (c) 2021 Peter Šulek / ScaleHQ Solutions s.r.o.
//
// 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 r... | 37.362637 | 121 | 0.594314 | [
"MIT"
] | psulek/lhqeditor | src/App/ViewModels/LanguageSelectorViewModel.cs | 10,203 | C# |
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using System.Collections;
using NetOffice;
namespace NetOffice.ExcelApi
{
///<summary>
/// Dis... | 39.989474 | 194 | 0.68542 | [
"MIT"
] | NetOffice/NetOffice | Source/Excel/DispatchInterfaces/Worksheets.cs | 41,789 | C# |
// ***********************************************************************
// Copyright (c) 2017 Charlie Poole, Rob Prouse
//
// 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 restr... | 38.655172 | 89 | 0.594826 | [
"MIT"
] | Fan270/nunit-console | src/NUnitEngine/nunit.engine/Internal/ExceptionHelper.cs | 5,607 | C# |
using CoreGraphics;
using Foundation;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Reactive.Linq;
using Toggl.Core.UI.ViewModels;
using Toggl.iOS.Views;
using Toggl.Shared;
using UIKit;
using static System.Math;
namespace Toggl.iOS.ViewSources
{
public sealed cl... | 41.295082 | 150 | 0.717348 | [
"BSD-3-Clause"
] | MULXCODE/mobileapp | Toggl.iOS/ViewSources/ColorSelectionCollectionViewSource.cs | 2,521 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 52.428571 | 249 | 0.595173 | [
"MIT"
] | AlanFlorance/azure-powershell | src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.TypeConverter.cs | 7,561 | C# |
using System;
namespace SelfLinqDemo.Model
{
public class User
{
public User()
{
Id = Guid.NewGuid();
BasicInfo = new UserBasicInfo();
}
public Guid Id { get; set; }
public UserBasicInfo BasicInfo { get; set; }
}
}
| 16.388889 | 52 | 0.515254 | [
"MIT"
] | huruiyi/CSharpExample | CSharpExample/LinqDemo/SelfLinqDemo/Model/User.cs | 297 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace rokWebsite.Models
{
public class Perfomance
{
[Key]
public int Id { get; set; }
//below is for base datas
[Required(ErrorMe... | 47.227273 | 98 | 0.636429 | [
"MIT"
] | behluluysal/asp-net-core-5-training | rokWebsite/Models/Perfomance.cs | 4,158 | 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... | 30.916667 | 93 | 0.591105 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20160330/Outputs/PublicIPAddressResponse.cs | 3,710 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 02.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 28.241667 | 154 | 0.539982 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/GreaterThanOrEqual/Complete/NullableDouble/NullableInt64/TestSet_504__param__04__NN.cs | 3,391 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleSharp.TL;
namespace TeleSharp.TL
{
[TLObject(-1063525281)]
public class TLMessage : TLAbsMessage
{
public override int Constructor
{
get
... | 30.502304 | 116 | 0.454903 | [
"MIT"
] | slctr/Men.Telegram.ClientApi | Men.Telegram.ClientApi/TL/TL/TLMessage.cs | 6,619 | C# |
//Copyright 2017 Open Science, Engineering, Research and Development Information Systems Open, LLC. (OSRS Open)
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | 31.578125 | 114 | 0.626917 | [
"Apache-2.0"
] | OSRS/Oncor_Base | Osrs.Oncor.WellKnown.Vegetation/Osrs.Oncor.WellKnown.Vegetation/VegPlotType.cs | 2,023 | C# |
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
namespace JsonWebToken.Performance
{
[Config(typeof(DefaultCoreConfig))]
[BenchmarkCategory("CI-CD")]
public class WriteCompressedTokenBenchmark : WriteCompressedToken
{
public override IEnumerable<string> GetPayloads()
... | 27 | 69 | 0.675926 | [
"MIT"
] | signature-opensource/Jwt | perf/Sandbox/WriteCompressedTokenBenchmark.cs | 434 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BabyTracker.Models;
using BabyTracker.Services;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Mjml.AspNetCore;
using Quartz;
using Razor.Templating.Core;
using SendGrid;
using SendGrid.Helpers.Mail;... | 32.821918 | 113 | 0.686144 | [
"MIT"
] | sboulema/BabyTracker | BabyTracker/Jobs/MemoriesJob.cs | 2,396 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | 39.714286 | 96 | 0.754047 | [
"MIT"
] | Grawul/Hirakata | Hirakanji/Properties/AssemblyInfo.cs | 2,227 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Northwind.Dal.Models
{
[Table("ProductReview", Schema = "Production")]
public partial class ProductReview
{
[Key]
[Column("ProductRevie... | 30.8 | 52 | 0.621521 | [
"BSD-3-Clause",
"MIT"
] | MalikWaseemJaved/presentations | .NETCore/WhatsNewInDotNetCore3/Northwind.DAL/Models/ProductReview.cs | 1,080 | C# |
// <auto-generated />
using System;
using DIGNDB.App.SmitteStop.DAL.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueCon... | 40.219224 | 126 | 0.241072 | [
"MIT"
] | folkehelseinstituttet/Fhi.Smittestopp.Backend | DIGNDB.App.SmitteStop.DAL/Migrations/20210311123914_FixLithuaniaTranslations.Designer.cs | 109,505 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace WebAPIRoute.Areas.HelpPage.ModelDescriptions
{
public class EnumTypeModelDescription : ModelDescription
{
public EnumTypeModelDescription()
{
Values = new Collection<EnumValueDescription>();
}
... | 27 | 76 | 0.708642 | [
"MIT"
] | aline0liveira/GitC | WebAPIRoute/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs | 405 | 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... | 37.05 | 191 | 0.805668 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementNotStatementStatementNotStatementStatementSqliMatchStatementFieldToMatchBodyGetArgs.cs | 741 | C# |
using System;
namespace TotalDischargeExternalProcessor
{
public class Option
{
public string Key { get; set; }
public string Description { get; set; }
public Action<string> Setter { get; set; }
public Func<string> Getter { get; set; }
public string UsageText()
... | 31.096774 | 96 | 0.595436 | [
"Apache-2.0"
] | AquaticInformatics/Examples | TimeSeries/PublicApis/SdkExamples/TotalDischargeExternalProcessor/Option.cs | 966 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Nanoblog.AppCore.Extensions
{
public static class EnumerableExtensions
{
public static ObservableCollection<T> ToObservable<T>(this IEnumerable<T> list)
{
return new ObservableCollection<T>(list);
... | 23.928571 | 87 | 0.695522 | [
"MIT"
] | Harry09/nanoblog | Frontend/dotnet/Nanoblog.AppCore/Extensions/EnumerableExtensions.cs | 337 | C# |
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace TextCaseChanger
{
class Program
{
public delegate string FormatString(string rawString);
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.Green;
... | 34.547739 | 175 | 0.500218 | [
"MIT"
] | SRKYousafzaiPK/TextCaseChanger | Source/TextCaseChanger/Program.cs | 6,877 | C# |
//----------------------------------------------------------------------------------------------------------
// X-PostProcessing Library
// Copyright (C) 2020 QianMo. All rights reserved.
// Licensed under the MIT License
// You may not use this file except in compliance with the License.You may obtain a copy of the ... | 36.679487 | 137 | 0.627753 | [
"MIT"
] | walklook/X-PostProcessing-Library | Assets/X-PostProcessing/Effects/EdgeDetectionScharr/EdgeDetectionScharr.cs | 2,861 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Runtime.InteropServices;
using System.Drawing;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
usi... | 23.235294 | 93 | 0.631224 | [
"MIT"
] | DmytroMat/DWGLib | Class/Menu.cs | 1,187 | C# |
using CKAN.Versioning;
namespace CKAN
{
public abstract class BaseGameComparator : IGameComparator
{
public BaseGameComparator() { }
public virtual bool Compatible(GameVersionCriteria gameVersionCriteria, CkanModule module)
{
if (gameVersionCriteria.Versions.Count == 0)
... | 27.5 | 106 | 0.576623 | [
"MIT"
] | 050644zf/CKAN | Core/Types/GameComparator/BaseGameComparator.cs | 772 | C# |
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace GSS.Authentication.CAS.AspNetCore
{
... | 40.788889 | 127 | 0.586489 | [
"MIT"
] | iesoftwaredeveloper/GSS.Authentication.CAS | src/GSS.Authentication.CAS.AspNetCore/CasSingleSignOutMiddleware.cs | 3,671 | C# |
using Fusee.Base.Common;
using Fusee.Base.Core;
using Fusee.Base.Imp.Desktop;
using Fusee.Engine.Common;
using Fusee.Engine.Core;
using Fusee.Engine.Core.Scene;
using Fusee.Serialization;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
namespace Fusee.Examples.GeometryEditing.Desktop
{
pub... | 49.2 | 135 | 0.60542 | [
"BSD-2-Clause",
"MIT"
] | ASPePeX/Fusee | Examples/Complete/GeometryEditing/Desktop/Main.cs | 3,692 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using GraphQL.Conversion;
using GraphQL.Introspection;
namespace GraphQL.Types
{
public class GraphTypesLookup
{
private readonly IDictionary<string, IGraphType> _types = new Dictionary<string, IGraphType>();
private readonly o... | 34.880952 | 127 | 0.478635 | [
"MIT"
] | BobbyDigitalStudios/graphql-dotnet | src/GraphQL/Types/GraphTypesLookup.cs | 14,650 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="JsonActionResultWithCors.cs" company="">
//
// </copyright>
// <summary>
// The json action result with cors.
// </summary>
// ------------------------------------------------... | 35.052632 | 119 | 0.486486 | [
"MIT"
] | atanas-georgiev/TelerikAcademy | 10.High-Quality-Code/Exams/High-Quality-Code-Exam-15-10-2015/ConsoleWebServer/ConsoleWebServer.Framework/Actions/JsonActionResultWithCors.cs | 1,332 | 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.... | 36.615385 | 85 | 0.553221 | [
"MIT"
] | actransitorg/ACTransit.Training | ACTransit.Entities/Entities.Training/CourseType.cs | 1,428 | C# |
using BungieSharper.Client;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace BungieSharper.Endpoints
{
public partial class Endpoints
{
/// <summary>
/// Returns a list of all availabl... | 68.894318 | 337 | 0.675112 | [
"MIT",
"BSD-3-Clause"
] | ashakoor/BungieSharp | BungieSharper/Endpoints/GroupV2.cs | 60,629 | C# |
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using DevPP.MultiTenancy;
namespace DevPP.Sessions.Dto
{
[AutoMapFrom(typeof(Tenant))]
public class TenantLoginInfoDto : EntityDto
{
public string TenancyName { get; set; }
public string Name { get; set; }
}
}
| 20.2 | 47 | 0.683168 | [
"MIT"
] | ThinkAcademy-BR/DevPP | aspnet-core/src/DevPP.Application/Sessions/Dto/TenantLoginInfoDto.cs | 305 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Ch10_Exercise02")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assemb... | 25.702703 | 56 | 0.716088 | [
"MIT"
] | tianfengs/AbpPractice | C# 6 and .net core/Chapter10/Ch10_Exercise02/Properties/AssemblyInfo.cs | 1,302 | 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 Microsoft.Build.Framework;
using Microsoft.Build.Tasks.Deployment.ManifestUtilities;
namespace Microsoft.Build.Tasks
{
/// <summary>
/// F... | 29.28125 | 109 | 0.65635 | [
"MIT"
] | 0xced/msbuild | src/Tasks/FormatUrl.cs | 939 | C# |
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Domain.Repositories;
using BlazorProject.Backend.Cargos.Dto;
using BlazorProject.Backend.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BlazorProject.Backend.Cargos
{
public class CargoService : Appl... | 29.448276 | 66 | 0.685012 | [
"MIT"
] | 274188A/BlazorProjectASPBoilerplateBackend | aspnet-core/src/BlazorProject.Backend.Application/Cargos/CargoService.cs | 856 | C# |
using System;
using System.Threading.Tasks;
using AirView.Api.Core;
using AirView.Api.Core.Hateoas;
using AirView.Application;
using AirView.Application.Core;
using AirView.Application.Core.Exceptions;
using AirView.Domain;
using AirView.Persistence.Core;
using AirView.Shared.Railways;
using AutoMapper;
using Microsof... | 42.018692 | 107 | 0.63056 | [
"MIT"
] | softframe/airview | src/AirView.Api/Flights/FlightsController.cs | 4,498 | C# |
// Copyright (c) Lex Li. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Microsoft.Web.Management.Client.Win32
{
public class SortableLis... | 22.566667 | 101 | 0.550222 | [
"MIT"
] | 68681395/JexusManager | Microsoft.Web.Management/Client/Win32/SortableListView.cs | 1,354 | C# |
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using ClearCanvas.Common.Statistics;
namespace... | 26.615385 | 70 | 0.641618 | [
"Apache-2.0"
] | SNBnani/Xian | ImageServer/Services/Streaming/HeaderStreaming/HeaderStreamingStatistics.cs | 1,038 | C# |
using System;
using GovUk.Education.ExploreEducationStatistics.Content.Model;
namespace GovUk.Education.ExploreEducationStatistics.Admin.ViewModels
{
public class CommentViewModel
{
public Guid Id { get; set; }
public string Content { get; set; }
public DateTime Created { get; set; }
... | 30 | 69 | 0.656863 | [
"MIT"
] | dfe-analytical-services/explore-education-statistics | src/GovUk.Education.ExploreEducationStatistics.Admin/ViewModels/CommentViewModel.cs | 510 | C# |
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
/... | 35.666667 | 97 | 0.675234 | [
"Apache-2.0"
] | JakubSurfer/MassTransit | src/MassTransit.AmazonSqsTransport/Topology/Configuration/Configurators/QueueConfigurator.cs | 1,284 | 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 System.Diagnostics.ContractsLight;
using System.IO;
using System.Linq;
using System.Threading;
using Syst... | 54.18529 | 310 | 0.549505 | [
"MIT"
] | nayanshah/BuildXL | Public/Src/Cache/ContentStore/Distributed/Stores/DistributedContentCopier.cs | 38,309 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Storage.Models;
using Azure.ResourceManager.St... | 49.153762 | 211 | 0.635891 | [
"MIT"
] | AME-Redmond/azure-sdk-for-net | sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountTests.cs | 89,511 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class BTTaskForceFinisherDef : IBeh... | 38.2 | 134 | 0.73074 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/BTTaskForceFinisherDef.cs | 1,337 | C# |
using System;
namespace softaware.Sitemap
{
public sealed class LocalizedSitemapNode
{
public LocalizedSitemapNode(string language, SitemapNode node)
{
this.Language = language ?? throw new ArgumentNullException(nameof(language));
this.Node = node ?? throw new ArgumentN... | 27.590909 | 90 | 0.614498 | [
"MIT"
] | softawaregmbh/library-sitemap | src/softaware.Sitemap/LocalizedSitemapNode.cs | 609 | C# |
// Copyright (c) Josef Pihrt. 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.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.IO;
usi... | 36.195773 | 346 | 0.516349 | [
"Apache-2.0"
] | atifaziz/Orang | src/CommandLine/ParseHelpers.cs | 32,542 | 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.... | 33.36 | 85 | 0.522782 | [
"Apache-2.0"
] | HaloImageEngine/EmpowerClaim-hotfix-1.25.1 | EmpowerBusiness/Eval_PhoneNumbers.cs | 834 | C# |
using System.Collections.Generic;
using Quantumart.QP8.BLL.ListItems;
using Quantumart.QP8.BLL.Services.DTO;
using Quantumart.QP8.Resources;
using Quantumart.QP8.WebMvc.ViewModels.Abstract;
using C = Quantumart.QP8.Constants;
namespace Quantumart.QP8.WebMvc.ViewModels.UserGroup
{
public class UserGroupListViewMode... | 35.30303 | 111 | 0.730472 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | QuantumArt/QP | siteMvc/ViewModels/UserGroup/UserGroupListViewModel.cs | 1,165 | C# |
using Plugin.Permissions.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AICompanion.Services
{
public interface IPermissionService
{
Task<PermissionStatus> CheckAsync(Permission permissions, string permissionR... | 32.631579 | 149 | 0.795161 | [
"MIT"
] | marcominerva/AICompanion | AICompanion/AICompanion/Services/IPermissionService.cs | 622 | C# |
using Jobs;
using NetworkUI;
using NetworkUI.Items;
using NPC;
using Pandaros.Settlers.Entities;
using Pandaros.Settlers.Items;
using Pipliz;
using Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Pandaros.Settlers.Items.StaticItem... | 49.512397 | 302 | 0.566071 | [
"MIT"
] | Egaliterrier/Pandaros.Settlers | Pandaros.Settlers/Pandaros.Settlers/ColonyManagement/ColonyTool.cs | 17,975 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Linq;
using Azure.AI.Translation.Document;
namespace Azure.AI.Translation.Document.Models
{
/// <summary> Model factory for read-o... | 45.558824 | 228 | 0.684312 | [
"MIT"
] | OlhaTkachenko/azure-sdk-for-net | sdk/translation/Azure.AI.Translation.Document/src/Generated/BatchDocumentTranslationModelFactory.cs | 1,549 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
... | 40.460784 | 147 | 0.71529 | [
"Apache-2.0"
] | andrew-stakiwicz-r3/financial_derivatives_demo | quantlib_swig_bindings/CSharp/csharp/MonotonicParabolic.cs | 4,127 | C# |
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
//
... | 41.324324 | 159 | 0.703728 | [
"Apache-2.0"
] | timmi4sa/MassTransit | src/Persistence/MassTransit.EntityFrameworkCoreIntegration/SagaClassMapping.cs | 1,531 | C# |
namespace DynamicTranslator.ViewModel
{
public class Notifications : MultiThreadObservableCollection<Notification> { }
} | 31.25 | 82 | 0.816 | [
"MIT"
] | DynamicTranslator/DynamicTranslator | src/DynamicTranslator/ViewModel/Notifications.cs | 127 | C# |
using System;
using System.Collections.Generic;
using Raven.Yabt.Database.Common.References;
namespace Raven.Yabt.Domain.BacklogItemServices.ByIdQuery.DTOs
{
public class BacklogItemCommentListGetResponse
{
public string Id { get; set; } = null!;
public string Message { get; set; } = null!;
public UserRefer... | 24.619048 | 68 | 0.725338 | [
"MIT"
] | gregolsky/samples-yabt | back-end/Domain/BacklogItemServices/ByIdQuery/DTOs/BacklogItemCommentListGetResponse.cs | 519 | C# |
using MicroBootstrap.Persistence.EfCore.Postgres;
namespace ECommerce.Services.Customers.Shared.Data;
public class CatalogDbContextDesignFactory : DbContextDesignFactoryBase<CustomersDbContext>
{
public CatalogDbContextDesignFactory() : base("CustomersServiceConnection")
{
}
}
| 26.545455 | 91 | 0.815068 | [
"MIT"
] | BuiTanLan/ecommerce-microservices | src/Services/ECommerce.Services.Customers/ECommerce.Services.Customers/Shared/Data/DbContextDesignFactory.cs | 292 | C# |
using System.Collections.Generic;
using ISAAR.MSolve.Discretization.FreedomDegrees;
using ISAAR.MSolve.FEM.Embedding;
using ISAAR.MSolve.FEM.Entities;
namespace ISAAR.MSolve.FEM.Interfaces
{
public interface IEmbeddedElement
{
IList<EmbeddedNode> EmbeddedNodes { get; }
Dictionary<IDofType, int... | 30.733333 | 83 | 0.754881 | [
"Apache-2.0"
] | TheoChristo/MSolve.Bio | ISAAR.MSolve.FEM/Interfaces/IEmbeddedElement.cs | 463 | C# |
using System.Collections.Generic;
using System.Linq;
using Content.Server.GameObjects.Components.Markers;
using Robust.Server.Interfaces.Console;
using Robust.Server.Interfaces.Player;
using Robust.Shared.Enums;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Map;
using Robust.Shared.IoC;
us... | 34.798319 | 91 | 0.444579 | [
"MIT"
] | Hughgent/space-station-14 | Content.Server/Administration/WarpCommand.cs | 4,143 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace HospiEnCasa.App.Servicios.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : Controller... | 28.925 | 110 | 0.603284 | [
"CC0-1.0"
] | felipeescallon/mision_tic_2022 | ciclo3_desarrollo_software/ucaldas/BACKEND/Hospitalizacion_s2/HospiEnCasa.App/HospiEnCasa.App.Servicios/Controllers/WeatherForecastController.cs | 1,159 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using System;
using System.IO.Ports;
using System.Threading;
public class Tilt : MonoBehaviour
{
// Public Variables (for changing in insepctor)
private static float magnitude = -9.81f;
private static ... | 32.538889 | 126 | 0.446474 | [
"MIT"
] | KevinLi3/GyroscopeMaze | SE101 Unity Physics/Assets/Scripts/Systems/Tilt.cs | 5,859 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace asp_core_teamsnap_oauth.Pages
{
public class ContactModel : PageModel
{
public string Message { get; set; }
public void OnGet()
{
... | 19.842105 | 43 | 0.657825 | [
"MIT"
] | EgyTechnology/asp-core-teamsnap-oauth | asp-core-teamsnap-oauth/Pages/Contact.cshtml.cs | 379 | 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("Go... | 37.382353 | 84 | 0.749803 | [
"Apache-2.0"
] | jdm7dv/visual-studio | Patterns/umldesignpatterns-15281/Dev/GoFDesignPatternsToolboxItems/GoFDesignPatternsToolboxItems/Properties/AssemblyInfo.cs | 1,273 | 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.
namespace TyeExplorer.Tye.Models
{
public enum V1RunInfoType
{
Project,
Executable,
... | 24 | 71 | 0.6875 | [
"MIT"
] | ikkentim/vs-tye-explorer | TyeExplorer/Tye/Models/V1RunInfoType.cs | 338 | C# |
using AdaptiveCards;
using Antares.Bot.Channels;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using Microsoft.Bot.Connector.Teams;
using Microsoft.Bot.Connector.Teams.Models;
using Microsoft.Teams.Apps.QBot.Bot.Services;
using Microsoft.Teams.Apps.QBot.Bot.utility;
using Microsoft.Teams.Apps.QBo... | 46.589474 | 243 | 0.586534 | [
"MIT"
] | FrancisChung/QBot | Source/Microsoft.Teams.Apps.QBot.Bot/Dialogs/RootDialog.cs | 22,132 | C# |
using nscreg.Utilities.Enums.Predicate;
namespace nscreg.Business.SampleFrames
{
public class ExpressionTuple<T> where T : class
{
public T Predicate { get; set; }
public ComparisonEnum? Comparison { get; set; }
}
}
| 22.272727 | 55 | 0.673469 | [
"Apache-2.0"
] | runejo/statbus | src/nscreg.Business/SampleFrames/ExpressionTuple.cs | 245 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pair
{
public class Pair<T>
{
private readonly object first;
private readonly object second;
public object First { get { return first; } }
public object... | 24.15493 | 77 | 0.472886 | [
"MIT"
] | dragomirevgeniev/HackBulgaria | Programming101-CSharp/week04/1.Tuesday/GenericPair/Pair.cs | 1,717 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Moq;
using NBitcoin;
using NBitcoin.DataEncoders;
using NBitcoin.Protocol;
using Stratis.Bitcoin.Base;
using Stratis.Bitcoin.Configuration;
using Stratis.Bitcoin.Connection;
using Stratis.Bitcoin.Consensus;
using Stra... | 45.370319 | 217 | 0.6604 | [
"MIT"
] | AI-For-Rural/EXOSFullNode | src/Stratis.Bitcoin.Features.RPC.Tests/Controller/FullNodeControllerTest.cs | 32,714 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Wutnu.Models;
using Wutnu.Common;
using Wutnu.Common.Helpers;
namespace AuditDequeue
{
public class Functions
{
/// <summary>
... | 39.133333 | 128 | 0.537053 | [
"Apache-2.0"
] | Matty9191/Wutnu | AuditDequeue/Functions.cs | 2,350 | C# |
namespace essentialMix.Data.Patterns.Parameters;
public interface IGetSettings
{
object[] KeyValue { get; set; }
} | 19.5 | 49 | 0.769231 | [
"MIT"
] | asm2025/essentialMix | Standard/essentialMix.Data/Patterns/Parameters/IGetSettings.cs | 119 | C# |
using ISUF.Base.Attributes;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace ISUF.Base.Template
{
/// <summary>
... | 23.101695 | 61 | 0.561262 | [
"Apache-2.0"
] | JanRajnoha/ISUF | src/ISUF.Base/Templates/BaseItem.cs | 1,363 | C# |
using System.Linq;
using Avalonia.Controls.Generators;
using Avalonia.Controls.Mixins;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Input;
using Avalonia.LogicalTree;
namespace Avalonia.Controls
{
/// <summary>
/// An item in a <see cref="TreeView"/>.
/// </summary>... | 35.132653 | 117 | 0.559977 | [
"MIT"
] | KieranDevvs/Avalonia | src/Avalonia.Controls/TreeViewItem.cs | 6,886 | C# |
using CommandLine;
using CommandLine.Text;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Pims.Api.Configuration;
using Serilog;
using System;
using System.Diagnostics.CodeAnalysis;
namespace Pims.Api
{
/// <summar... | 39.16092 | 110 | 0.571177 | [
"Apache-2.0"
] | PryancaJSharma/PSP | backend/api/Program.cs | 3,407 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FruitStoreD.Core;
namespace FruitStoreD
{
public class BananaService : IBananaService
{
public BananaDto GetBananaDto()
{
return new BananaDto{ Name="b1", Price=20,Type="B"};
... | 20.875 | 64 | 0.495509 | [
"Apache-2.0"
] | ElandGroup/FruitStore | src/FruitStoreD/Service/BananaService.cs | 670 | C# |
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections;
public class ScoreController : MonoBehaviour {
private GameObject car;
private Vector3 startCarPosition;
private Text scoreText;
private int score;
void Start () {
score = 0;
scoreText = gameObject.GetComponent<Text>();
score... | 21.451613 | 76 | 0.702256 | [
"MIT"
] | GATAKAWAKACHICO/TokyoExpressWay2016-09-23 | Assets/Scripts/ScoreController.cs | 667 | C# |
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// 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... | 32.358491 | 104 | 0.564431 | [
"Apache-2.0"
] | Alibesharat/grpc-dotnet | examples/Racer/Client/Program.cs | 3,432 | C# |
namespace Problem_12.Beer_Kegs
{
using System;
public class Program
{
public static void Main()
{
var linesCount = int.Parse(Console.ReadLine());
var bestModel = string.Empty;
var bestResult = 0.0;
for (int i = 0; i < linesCount; i++)
... | 25.75 | 73 | 0.478155 | [
"MIT"
] | ilyogri/SoftUni | Technology Fundamentals/Programming Fundamentals - May 2017/Homeworks/07. Data Types and Variables - More Exercises/Problem 12. Beer Kegs/Program.cs | 826 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using Dx29.Data;
namespace Dx29.Services
{
public partial class EnsembleService
{
public EnsembleService()
{
BioEntity = new BioEntityService();
BioEntity.Initialize();
Orpha = new OrphaNET... | 37.665094 | 132 | 0.536756 | [
"MIT"
] | foundation29org/Dx29.BioNET | src/Dx29.BioNET/Services/Ensemble/EnsembleService.cs | 7,987 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Xamarin.Forms;
namespace MaterialIcons.FormsPlugin.Abstractions
{
public sealed class MaterialIconsConverter : TypeConverter
{
/// <summary>
/// Determines whether this instance [can convert from] the s... | 36.423077 | 124 | 0.587117 | [
"MIT"
] | Ali-YousefiTelori/Xamarin.Plugins | MaterialIcons/MaterialIcons.FormsPlugin.Abstractions/MaterialIconsConverter.cs | 1,896 | C# |
using UnityEngine;
namespace UnityEditor.U2D.Animation
{
internal interface ICircleSelector<T> : ISelector<T>
{
float radius { get; set; }
}
}
| 17.3 | 57 | 0.624277 | [
"Apache-2.0"
] | AJTheEnder/E428 | Projet/E428/Library/PackageCache/com.unity.2d.animation@5.0.4/Editor/SkinningModule/Selectors/ICircleSelector.cs | 173 | C# |
namespace PackageEditor
{
partial class ADPermissionsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 45.632143 | 149 | 0.60288 | [
"MIT"
] | ChenallFork/cameyo | PackageEditor/ADPermissions.Designer.cs | 12,779 | C# |
using System.Collections.Generic;
using MirRemakeBackend.Util;
namespace MirRemakeBackend.Entity {
/// <summary>
/// 处理阵营信息, 组队
/// </summary>
class EM_BossDamage {
public static EM_BossDamage s_instance;
private const float c_bossDmgRefreshTime = 1800;
/// <summary>
///... | 41.1875 | 139 | 0.550835 | [
"MIT"
] | HeBomou/mir-remake-ios-server | Entity/EntityManager/EM_BossDamage.cs | 2,005 | C# |
namespace Okta.Aws.Cli.Cli.Interfaces;
public interface ICliArgumentHandler
{
string Argument { get; }
Task Handle(CancellationToken cancellationToken);
} | 23.428571 | 53 | 0.77439 | [
"MIT"
] | nizanrosh/okta-aws-cli | src/main/Okta.Aws.Cli/Cli/Interfaces/ICliArgumentHandler.cs | 166 | C# |
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("AWSSDK.DocDB")]
[assembly: AssemblyDescrip... | 46.5625 | 219 | 0.752349 | [
"Apache-2.0"
] | shivamjhaonthecloud/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/DocDB/Properties/AssemblyInfo.cs | 1,490 | C# |
using System;
using Xamarin.Forms;
namespace XLabs.Forms.Controls
{
/// <summary>
/// Class CalendarView.
/// </summary>
public class CalendarView : View
{
/// <summary>
/// Enum BackgroundStyle
/// </summary>
public enum BackgroundStyle{
/// <summary>
/// The fill
/// </summary>
Fill,
///... | 30.172311 | 242 | 0.703331 | [
"Apache-2.0"
] | DarkLotus/Xamarin-Forms-Labs | src/Forms/XLabs.Forms/Controls/CalendarView.cs | 30,295 | C# |
namespace DisPlay.Umbraco.EmbeddedContent.Courier
{
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using global::Umbraco.Courier.Core;
using global::Umbraco.Courier.Core.ProviderModel;
using global::Umbraco.Courier.DataResolvers;
using global::Umbraco.Courier.I... | 42.148148 | 156 | 0.514938 | [
"MIT"
] | display/Umbraco-Embedded-Content | src/DisPlay.Umbraco.EmbeddedContent.Courier/EmbeddedContentDataResolverProvider.cs | 5,690 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace TelegramBotApi
{
public class Program
{
... | 24.4 | 76 | 0.695082 | [
"MIT"
] | RomanTymokhov/TelegramBotApiTest | TelegramBotApi/TelegramBotApi/Program.cs | 612 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace FleetControl.WebUI.Auth
{
public interface IJwtFactory
{
Task<string> GenerateEncodedToken(string userName, ClaimsIdentity identity);
Clai... | 24.4375 | 84 | 0.767263 | [
"MIT"
] | sdemaine/FleetControl_CQRS_CORE | FleetControl.WebUI/Auth/IJwtFactory.cs | 393 | C# |
namespace 多线程登录
{
partial class frmSplash
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 fals... | 39.085366 | 151 | 0.579095 | [
"MIT"
] | cqkxzyi/ZhangYi.Utilities | doNet/站点/WinForm/示例窗口/多线程/frmSplash.designer.cs | 3,371 | C# |
namespace WildFarm.Models.Food
{
public class Seeds : Food
{
public Seeds(int quantity)
: base(quantity)
{
}
}
}
| 14.727273 | 34 | 0.5 | [
"MIT"
] | tonkatawe/SoftUni-Advanced | OOP/Polymorphism - Exercise/WildFarm/Models/Food/Seeds.cs | 164 | C# |
namespace BARS.ClickHouse.Client
{
using System;
using System.IO;
using System.Text;
internal class TsvOutputter : Outputter
{
private TextWriter writer;
public TsvOutputter(Stream s)
{
writer = new StreamWriter(s, Encoding.UTF8);
}
public over... | 18.361702 | 56 | 0.508691 | [
"MIT"
] | enragez/BARS.ClickHouse.NET | BARS.ClickHouse.Client/TsvOutputter.cs | 865 | C# |
/*
This file is part of the EasySII (R) project.
Copyright (c) 2017-2018 Irene Solutions SL
Authors: Irene Solutions SL.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software ... | 42.514286 | 100 | 0.735551 | [
"MIT"
] | mdiago/EasySII.Watcher | EasySII.Watcher.Service/ProjectInstaller.cs | 2,978 | C# |
// Copyright (c) .NET Foundation and contributors. 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 System.Linq;
using System.Reflection;
namespace Microsoft.Extensions.DependencyModel
{
... | 32.548673 | 119 | 0.608211 | [
"MIT"
] | AzureMentor/core-setup | src/managed/Microsoft.Extensions.DependencyModel/DependencyContext.cs | 3,680 | C# |
//-------------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2018 Tasharen Entertainment Inc
//-------------------------------------------------
using UnityEngine;
using UnityEditor;
[CanEditMultipleObjects]
[CustomEditor(typeof(UIToggle))]
public class UIToggleInspector... | 30.598039 | 114 | 0.71099 | [
"MIT"
] | Enanyy/LuaGame-slua | Assets/NGUI/Scripts/Editor/UIToggleInspector.cs | 3,122 | C# |
using System.Collections.Generic;
using System.Linq;
using System;
using UnityEngine;
using System.Runtime.CompilerServices;
public static class Summarizer
{
public static string SummarizeEffect(Effect effect) {
string summary = "";
summary += SummarizeTrigger(effect.trigger);
summary +=... | 37.942308 | 133 | 0.575942 | [
"MIT"
] | Vitorr32/ruler | Assets/Source/Utils/Summarizer.cs | 5,921 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// Getter and Setter: throw
using System;
namespace JitInliningTest
{
public class A
{
private int _prop;
public int prop
{
... | 22.275 | 101 | 0.462402 | [
"MIT"
] | corefan/coreclr | tests/src/JIT/opt/Inline/tests/throwTest.cs | 891 | C# |
using System;
namespace PureFreak.DataAccess
{
public abstract class DataQueryBase<TDataProvider>
where TDataProvider : DataProvider
{
#region Fields
private readonly TDataProvider _dataProvider;
#endregion
#region Constructor
public DataQueryBase(TDataProvi... | 18.585366 | 70 | 0.570866 | [
"MIT"
] | Gartenschlaeger/DataAccess | PureFreak.DataAccess/DataQueryBase.cs | 764 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using DS4Windows;
namespace DS4Windows.InputDevices
{
public class DualSenseDevice : DS4Device
{
p... | 47.380581 | 360 | 0.502618 | [
"MIT"
] | Renzo904/DS4Windows | DS4Windows/DS4Library/InputDevices/DualSenseDevice.cs | 66,856 | C# |
namespace WeLoveFood.Data
{
public class DataConstants
{
public class Common
{
public const int IdMaxLength = 40;
}
public class City
{
public const int NameMinLength = 3;
public const int NameMaxLength = 20;
}
public... | 26.163636 | 111 | 0.537874 | [
"MIT"
] | dbegogow/We-Love-Food | WeLoveFood.Data/DataConstants.cs | 1,441 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.