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 : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root... | 37.981481 | 87 | 0.495124 | [
"BSD-3-Clause"
] | 0xCM/z0 | src/bits/src/bitmasks/ops/central.cs | 4,102 | C# |
using System;
using System.Linq;
namespace PrivateWiki.DataModels.Pages
{
public record Path
{
private readonly string[]? _namespaces;
public string? NamespaceString => _namespaces?.Aggregate((acc, el) => acc + ":" + el);
public string Title { get; }
public string FullPath
{
get
{
if (_namesp... | 18.064103 | 88 | 0.606813 | [
"MIT"
] | lampenlampen/PrivateWiki | PrivateWiki/DataModels/Pages/Path.cs | 1,411 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using EntityFrameworkCore3Mock.Tests.Models;
using Microsoft.EntityFrameworkCore;
using NUnit.Framework;
namespace EntityFrameworkCore3Mock.NSubstitute.Tests
{
[Test... | 40.336283 | 122 | 0.560407 | [
"MIT"
] | AddonContributor/entity-framework-core3-mock | tests/EntityFrameworkCore3Mock.NSubstitute.Tests/DbSetMockTests.cs | 13,676 | C# |
using Models.Infrastructure;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
using System.Text;
namespace Models.UserModels
{
/// <summary>
/// 知识库分类
/// </sum... | 19.525 | 51 | 0.572343 | [
"MIT"
] | fanshuyi/.netcore-admin | Models/Knowledge/KnowledgeCategory.cs | 807 | 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 ... | 39.341463 | 93 | 0.698078 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/logging/v2/google-cloud-logging-v2-csharp/Google.Cloud.Logging.V2.StandaloneSnippets/ConfigServiceV2Client.CreateExclusionResourceNames2Snippet.g.cs | 1,613 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System.Text;
using Zeds.Engine;
using Zeds.Pawns.HumanLogic;
namespace Zeds.UI.PawnInfoPanel
{
class PawnInfo
{
public static bool IsPawnInfoVisible;
public static Rectangle PawnInfoRec;
public static Rectangle ... | 30.385093 | 118 | 0.494481 | [
"MIT"
] | Ratstool/Zeds | UI/PawnInfoPanel/PawnInfo.cs | 4,894 | C# |
using System;
using System.IO;
using System.Text;
public class DataReader {
public static short ReadShort(MemoryStream dataStream) {
byte[] buffer = new byte[2];
dataStream.Read(buffer, 0, 2);
return BitConverter.ToInt16(buffer, 0);;
}
public static int ReadInt(MemoryStream dataStream) {
byte[] buffer =... | 27.74359 | 87 | 0.714418 | [
"MIT"
] | saundemanu/CSC631-HW4 | WoB_Client_Basic/Assets/Network/DataReader.cs | 1,082 | C# |
using Microsoft.Xna.Framework;
using OpenKh.Common;
using OpenKh.Game.DataContent;
using OpenKh.Game.Debugging;
using OpenKh.Game.Infrastructure;
using OpenKh.Game.States;
using OpenKh.Game.States.Title;
using System;
using System.Collections.Generic;
using System.IO;
namespace OpenKh.Game
{
public class OpenKhGam... | 36.505495 | 110 | 0.564921 | [
"Apache-2.0"
] | Tasos500/OpenKh | OpenKh.Game/OpenKhGame.cs | 9,966 | C# |
namespace formulate.app.Persistence
{
// Namespaces.
using Forms;
using System;
using System.Collections.Generic;
/// <summary>
/// Interface for persistence of Configured Forms.
/// </summary>
public interface IConfiguredFormPersistence
{
/// <summary>
/// Persist... | 32.62069 | 80 | 0.585624 | [
"MIT"
] | rhythmagency/formulate | src/formulate.app/Persistence/IConfiguredFormPersistence.cs | 1,894 | C# |
/*
* WebAPI
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: data
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collec... | 32.854545 | 160 | 0.517617 | [
"BSD-3-Clause"
] | Artusoft/ARXivarNEXT.Client | src/ARXivarNEXT.Client/Model/ServerPluginDto.cs | 5,421 | C# |
using cloudscribe.Pagination.Models;
using LanguageBuilder.Data;
using LanguageBuilder.Data.Models;
using LanguageBuilder.Data.Services;
using LanguageBuilder.Services.Contracts;
using LanguageBuilder.Services.Models;
using LanguageBuilder.Services.Models.WordsSearch;
using Microsoft.EntityFrameworkCore;
using System.... | 31.266932 | 113 | 0.499618 | [
"MIT"
] | peter-stoyanov/ASP.NET-Core-MVC | LanguageBuilder/LanguageBuilder.Services/Implementations/WordsService.cs | 7,850 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Fl8xy.Data.Migrations
{
... | 34.308756 | 117 | 0.495097 | [
"MIT"
] | VGGeorgiev/fl8xy | src/Fl8xy/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs | 7,447 | C# |
namespace IncidentService.Migrations
{
using Data;
using Data.Helpers;
using System.Data.Entity.Migrations;
internal sealed class Configuration : DbMigrationsConfiguration<IncidentServiceContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = true;
}
... | 23.428571 | 91 | 0.637195 | [
"MIT"
] | QuinntyneBrown/IncidentService | Data/Migrations/Configuration.cs | 656 | C# |
//GENERATED: CS Code
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine{
public partial class UInterpTrackMoveAxis:UInterpTrackFloatBase
{
[MethodImplAttribute(MethodImplOptions.InternalCall)]
public static extern new IntPtr StaticClass();
}
}
... | 26.75 | 65 | 0.806854 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile/UInterpTrackMoveAxis.cs | 321 | C# |
// UrlRewriter - A .NET URL Rewriter module
// Version 2.0
//
// Copyright 2011 Intelligencia
// Copyright 2011 Seth Yates
//
using System;
using System.Runtime.InteropServices;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using Intelligencia.UrlRewriter.Utilities;
namespace Intelligencia.UrlR... | 31.39604 | 131 | 0.564175 | [
"MIT"
] | sethyates/urlrewriter | src/Form.cs | 3,171 | C# |
using System;
using System.Reflection; //WE NEED THIS
namespace lab_44_assemblies
{
class Program
{
static void Main(string[] args)
{
//use INT type as an example
var myType = typeof(int);
//lets find DLL where INT LIVES IN WINDOWS
//Ie: Assem... | 28.038462 | 80 | 0.540466 | [
"MIT"
] | TheEletricboy/2019-09-C-sharp-Labs | Labs/lab_44_assemblies/Program.cs | 731 | C# |
namespace EasyConsulClient
{
public class ServiceNode
{
public string Host { get; set; }
public int Port { get; set; }
}
}
| 16.888889 | 40 | 0.578947 | [
"MIT"
] | water1st/EasyConsulClient | src/EasyConsulClient/ServiceNode.cs | 154 | C# |
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D),typeof(Collider2D))]
public class desactiveitor : MonoBehaviour
{
public void Quita()
{
var rb = GetComponent<Rigidbody2D>();
var col = GetComponent<Collider2D>();
if (!rb || !col) return;
rb.simulated = !rb.simulated;
... | 21.647059 | 58 | 0.630435 | [
"MIT"
] | Evolis3d/Cuevana | Assets/Scripts/desactiveitor.cs | 370 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 33.259259 | 103 | 0.638456 | [
"Apache-2.0"
] | SVemulapalli/aws-sdk-net | sdk/src/Services/Macie/Generated/Model/ListMemberAccountsResponse.cs | 2,694 | C# |
namespace Pure.NetCoreExtensions
{
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
/// <summary>
/// Requires that a HTTP request does not contain a trailing slash. If it does, return a 404 Not Found. This is
/// useful if you are dynamically generating som... | 46.529412 | 121 | 0.645596 | [
"MIT"
] | purestackorg/Pure.NETCoreExtensions | Pure.NetCoreExtensions/Mvc/Filters/NoTrailingSlashAttribute.cs | 2,373 | C# |
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Abp.Configuration;
using Abp.Localization;
using Abp.MultiTenancy;
using Abp.Net.Mail;
namespace ThuHoach.EntityFrameworkCore.Seed.Host
{
public class DefaultSettingsCreator
{
private readonly ThuHoachDbContext _context;
public Def... | 29.770833 | 126 | 0.624213 | [
"MIT"
] | nguyenvanchuong98/thuhoach | aspnet-core/src/ThuHoach.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultSettingsCreator.cs | 1,431 | 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... | 47.748031 | 243 | 0.662434 | [
"MIT"
] | Agazoth/azure-powershell | src/OperationalInsights/OperationalInsights/Client/OperationalInsightsClient.DataExports.cs | 5,940 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte.Games
{
public static class GameCommon
{
// none
}
}
| 12.769231 | 33 | 0.746988 | [
"MIT"
] | soleil-taruto/Elsa | e20201129_StealGunner/Elsa20200001/Elsa20200001/Games/GameCommon.cs | 168 | C# |
/********************************************************************************
* Module : Lapis.Math.Algebra
* Class : Pattern
* Description : Provides methods for pattern matching for algebraic expressions.
* Created : 2015/4/6
* Note :
***************************************************... | 50.473373 | 266 | 0.571864 | [
"MIT"
] | LapisDev/LapisMath | src/Lapis.Math.Algebra/Arithmetics/Pattern.cs | 8,536 | C# |
#pragma checksum "D:\SoftUni\TrendTexErpAndClient\TrendTex.Core\TrendTex.Core\Areas\Identity\Pages\Account\ConfirmEmail.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "69fd2432bd09e377aec34c04642364485eee4a7d"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.Razo... | 49.729412 | 220 | 0.784008 | [
"MIT"
] | kalinailieva/BeeTexERP | TrendTex.Core/TrendTex.Core/obj/Debug/net5.0/Razor/Areas/Identity/Pages/Account/ConfirmEmail.cshtml.g.cs | 4,227 | C# |
// Copyright 2017 the original author or 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 required by applicable law... | 36.680412 | 79 | 0.615795 | [
"ECL-2.0",
"Apache-2.0"
] | kyegupov/Configuration | test/Steeltoe.Extensions.Configuration.ConfigServerBase.Test/ConfigServerDiscoveryServiceTest.cs | 3,560 | C# |
namespace SuperShopMainV1._00
{
partial class adminReport
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 62.014085 | 177 | 0.639337 | [
"MIT"
] | NAI-Inc/SuperShopV1.00-BETA | SuperShopMainV1.00_BETA/SuperShopMainV1.00/ui_ux Desingn/adminReport.Designer.cs | 17,614 | C# |
//
// Touches_ClassicViewController.cs
//
// Author:
// Mike Krüger <mkrueger@xamarin.com>
//
// Copyright (c) 2011 Xamarin <http://xamarin.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
... | 35.879397 | 114 | 0.726891 | [
"Apache-2.0"
] | anujb/monotouch-samples | Touches_Classic/Classes/Touches_ClassicViewController.cs | 7,141 | C# |
using System;
using ToStringSourceGenerator.Attributes;
namespace ToStringSourceGeneratorTypes
{
[AutoToString]
public partial class DemoType
{
public DemoType()
{
}
public int Id { get; set; }
public string? Text { get; set; }
[SkipToString]
public... | 20.416667 | 50 | 0.587755 | [
"MIT"
] | acolom/ToStringSourceGenerator | src/ToStringSourceGeneratorTypes/DemoType.cs | 492 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Suls.Data
{
public class Problem
{
public Problem()
{
this.Id = Guid.NewGuid().ToString();
this.Submissions = new HashSet<Submission>();
}
... | 22.96 | 73 | 0.56446 | [
"MIT"
] | dinikolaeva/WebBasics-CSharp | Server2020/10.ExamPreparation/Exam-Suls(16.06.2019)/Solution/Suls/Data/Problem.cs | 576 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StarshipSeven.GameInterfaces
{
public interface IPlanet : IGameEntity
{
string Name { set; get; }
Position? Position { get; }
int GetDistanceTo(IPlanet planet);
int... | 18.48 | 43 | 0.588745 | [
"MIT"
] | smolyakoff/starshipseven | StarshipSeven.GameInterfaces/IPlanet.cs | 464 | C# |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// KbCodeInfoVO Data Structure.
/// </summary>
public class KbCodeInfoVO : AlipayObject
{
/// <summary>
/// 创建口碑码的批次号
/// </summary>
[JsonPropertyName("batch_id")]
... | 24.792208 | 53 | 0.504453 | [
"MIT"
] | Frunck8206/payment | src/Essensoft.Paylink.Alipay/Domain/KbCodeInfoVO.cs | 2,049 | 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.25 | 193 | 0.806711 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementNotStatementStatementNotStatementStatementXssMatchStatementFieldToMatchAllQueryArgumentsArgs.cs | 745 | C# |
using System;
namespace Kimchi.Webjobs.NewShowsChecker
{
public class Class1
{
}
}
| 10.777778 | 40 | 0.670103 | [
"MIT"
] | emimontesdeoca/Kimchi | Kimchi.Webjobs.NewShowsChecker/Class1.cs | 99 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using Azure.Analytics.Synapse.Tests;
using Azure.Core;
using Azure.Core.TestFramework;
using NUnit.Fra... | 50.217105 | 213 | 0.68348 | [
"MIT"
] | Ohad-Fein/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.AccessControl/tests/AccessControlClientLiveTests.cs | 15,266 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framewor... | 34.821596 | 172 | 0.599569 | [
"MIT"
] | peppy/osu-new | osu.Game/Skinning/PoolableSkinnableSample.cs | 7,205 | C# |
using Microsoft.VisualStudio.Shell;
using OpenInVS2015;
using System;
using System.Runtime.InteropServices;
using System.Threading;
namespace OpenInApp
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[InstalledProductRegistration("#110", "#112", Vsix.Version, IconResour... | 36.333333 | 154 | 0.727829 | [
"MIT"
] | GregTrevellick/OpenInApp | src/VS2015/OpenInApp/VSPackage.cs | 983 | C# |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V25.Segment;
using NHapi.Model.V25.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V25.Group
{
///<summary>
///Represents the OML_O35_PATIENT_VISIT_PRIOR Group. A Group... | 31.242857 | 166 | 0.669867 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | afaonline/nHapi | src/NHapi.Model.V25/Group/OML_O35_PATIENT_VISIT_PRIOR.cs | 2,187 | C# |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Proxies;
namespace Packt.Shared
{
// this manages the connection to the database
public class Northwind : DbContext
{
// these properties map to tables in the database
public DbSet<Category> Categories { get; set; }
public DbSe... | 31.162791 | 61 | 0.674627 | [
"MIT"
] | zherar7ordoya/AP3 | (CSharp)/1) Mark Price/Code/Chapter11/WorkingWithEFCore/Northwind.cs | 1,340 | C# |
using Facebook.CSSLayout;
namespace ReactNative.UIManager
{
static class CSSNodeExtensions
{
public static float GetLeftBorderWidth(this CSSNode node)
{
var width = node.GetBorder(CSSSpacingType.Left);
if (!CSSConstants.IsUndefined(width))
{
... | 26.659341 | 90 | 0.500824 | [
"MIT"
] | ankasani/react-native-windows | ReactWindows/ReactNative/UIManager/CSSNodeExtensions.cs | 2,428 | C# |
using System.Threading.Tasks;
namespace PFCom.Selfhosted.DataAccess
{
public interface IUnitOfWork
{
public ITransaction BeginTransaction();
public Task<ITransaction> BeginTransactionAsync();
public void Complete();
public Task CompleteAsync();
public void Sa... | 20.105263 | 58 | 0.65445 | [
"MIT"
] | PFCom/SelfhostedServer | src/DataAccess/PFCom.Selfhosted.DataAccess/IUnitOfWork.cs | 384 | C# |
using System.Windows;
namespace GraphicsBook
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
Content = new PhotoDisplay("none");
Titl... | 18.95 | 47 | 0.530343 | [
"MIT"
] | NewLuminous/computer-graphics | GraphicsBook/PSApp/MainWindow.xaml.cs | 381 | C# |
/////////////////////////////////////////////////////////////////////////////////
//
// vp_KillZone.cs
// © Opsive. All Rights Reserved.
// https://twitter.com/Opsive
// http://www.opsive.com
//
// description: a trigger to kill an object on contact. this script will only
// work on targets with a vp_DamageHandler... | 33.364706 | 155 | 0.681946 | [
"MIT"
] | PotentialGames/Cal-tEspa-l | BRGAME/Assets/UFPS/Base/Scripts/Gameplay/Level/vp_KillZone.cs | 2,839 | C# |
using MonitoredUndo;
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Windows;
using VideoScriptEditor.Collections;
using VideoScriptEditor.Geometry;
using VideoScriptEditor.Models;
using VideoScriptEditor.Services;
using VideoScriptEditor.Services.ScriptVideo;
using Video... | 46.006479 | 398 | 0.513732 | [
"MIT"
] | danjoconnell/VideoScriptEditor | VideoScriptEditor/VideoScriptEditor/ViewModels/Masking/Shapes/MaskShapeViewModelBase.cs | 21,303 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using ZeroLevel.Services.Pools;
namespace ZeroLevel.Network
{
internal sealed class RequestBuffer
{
private ConcurrentDictionary<long, RequestInfo> _requests = new ConcurrentDictionary<long, RequestInfo>();
pr... | 28.615385 | 114 | 0.503136 | [
"MIT"
] | ogoun/Zero | ZeroLevel/Services/Network/Utils/RequestBuffer.cs | 2,234 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
namespace Microsoft.CodeAnalysis.CSharp
{
internal partial class Binder
{
... | 41.671642 | 161 | 0.619628 | [
"Apache-2.0"
] | acesiddhu/roslyn | src/Compilers/CSharp/Portable/Binder/Binder.NamespaceOrTypeOrAliasSymbolWithAnnotations.cs | 2,794 | C# |
using Adnc.Infra.Core;
using Adnc.Infra.Helper;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Text.Json;
using System.Threading.T... | 31.168317 | 109 | 0.56925 | [
"MIT"
] | AjuPrince/Adnc | src/ServerApi/Services/Shared/Adnc.WebApi.Shared/Middleware/CustomExceptionHandlerMiddleware.cs | 3,210 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using discovery.Library.Core;
using discovery.Library.identity;
using discovery.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrame... | 31.346667 | 134 | 0.521268 | [
"MIT"
] | javadbayzavi/PatternDiscovery | discovery/Controllers/patternsController.cs | 4,704 | C# |
namespace HomeSchoolDayBook
{
partial class frpReportViewer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... | 46.788889 | 131 | 0.621468 | [
"MIT"
] | MattConrad/HomeschoolDayBook | HomeSchoolDayBook/frpReportViewer.Designer.cs | 4,211 | C# |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
usi... | 38.651685 | 170 | 0.551938 | [
"MIT"
] | Acidburn0zzz/PowerToys | src/modules/awake/Awake/Core/APIHelper.cs | 10,056 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.ServiceModel;
namespace Workday.AcademicFoundation
{
[GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = false... | 34.034483 | 158 | 0.829787 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.AcademicFoundation/Put_Student_Tag_CategoryInput.cs | 987 | C# |
using Bam.Net.Schema.Org.DataTypes;
namespace Bam.Net.Schema.Org.Things
{
///<summary>A property, used to indicate attributes and relationships of some Thing; equivalent to rdf:Property.</summary>
public class Property: Intangible
{
///<summary>Relates a property to a class that is (one of) the type(s) the proper... | 65 | 373 | 0.759829 | [
"MIT"
] | BryanApellanes/bamsdo | bam.net.schema.org/Schema.Org/Things/Property.cs | 1,170 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.EntityFrameworkCore.Metadata.Internal
{
/// <summary>
/// This API supports the Entity Framework Core infrastructure and... | 48.511628 | 111 | 0.652924 | [
"Apache-2.0"
] | EasonDongH/EntityFrameworkCore | src/EFCore.Design/Metadata/Internal/ScaffoldingAnnotationNames.cs | 2,086 | C# |
namespace Shapes.Models
{
public class Triangle : Shape
{
public Triangle()
{
}
public Triangle(double width, double height)
: base(width, height)
{
}
public override double CalculateSurface()
{
var surface = (this.Heigh... | 19.3 | 57 | 0.492228 | [
"MIT"
] | Horwits/Telerik-Academy-2016-2017 | C#/C#-OOP/05.OOPPrinciplesPartTwo/Shapes/Models/Triangle.cs | 388 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 36.962264 | 153 | 0.597754 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Models/Generated/TargetPolicyEndpoints.cs | 1,959 | C# |
//
// This file has been generated automatically by MonoDevelop to store outlets and
// actions made in the Xcode designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
namespace DwxSpeaker.Ios
{
[Register("ViewController")]
partial cla... | 22.777778 | 81 | 0.685366 | [
"MIT"
] | reghrafa/XamarinExpertDay_2019 | ExpertDay.FormsIntegrationSample/DwxSpeaker.Ios/ViewController.designer.cs | 412 | C# |
/*
The contents of this file are subject to the Mozilla Public License Version 1.1
(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.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
W... | 38.422085 | 151 | 0.514598 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Base/Parser/LegacyPipeParser.cs | 37,233 | C# |
namespace SKIT.FlurlHttpClient.ByteDance.TikTokShop.Models
{
/// <summary>
/// <para>表示 [POST] /afterSale/applyLogisticsIntercept 接口的响应。</para>
/// </summary>
public class AftersaleApplyLogisticsInterceptResponse : TikTokShopResponse<AftersaleApplyLogisticsInterceptResponse.Types.Data>
{
pu... | 48.833333 | 140 | 0.439068 | [
"MIT"
] | JohnZhaoXiaoHu/DotNetCore.SKIT.FlurlHttpClient.ByteDance | src/SKIT.FlurlHttpClient.ByteDance.TikTokShop/Models/Aftersale/AftersaleApplyLogisticsInterceptResponse.cs | 10,594 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.... | 40.698225 | 154 | 0.575022 | [
"Unlicense",
"MIT"
] | raytellier/Hager_Ind_CRM | Areas/Identity/Pages/Account/ExternalLogin.cshtml.cs | 6,880 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NestorRojas_Blog.Models;
using Microsoft.Extensions.Configuration;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
names... | 33.711712 | 113 | 0.544094 | [
"MIT"
] | nestorojas/ASP.NET-Web-API | NestorRojas-Blog/Controllers/BlogController.cs | 7,486 | C# |
using Ooze.Configuration.Options;
using System.Linq;
namespace Ooze.Validation
{
internal class OozeOptionsValidator
{
public bool Validate(OozeOptions options)
{
return ValidateOperations(options.Operations);
}
private bool ValidateOperations(OozeOperations operat... | 27.828571 | 146 | 0.571869 | [
"MIT"
] | DenisPav/Ooze | src/Ooze/Validation/OozeOptionsValidator.cs | 976 | C# |
//
// Copyright (c) 2008-2011, Kenneth Bell
//
// 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, merge, ... | 36.466887 | 118 | 0.525833 | [
"MIT"
] | ADeltaX/UWPSettingsEditor | src/UWPSettingsEditor/Registry/RegistryValue.cs | 11,013 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 56.942238 | 171 | 0.6672 | [
"Apache-2.0"
] | jiabiao/aws-sdk-net | sdk/src/Services/Transfer/Generated/_bcl35/IAmazonTransfer.cs | 63,098 | C# |
using System;
using System.Linq.Expressions;
using TestMapster.Dtos.Dtos;
using TestMapster.Library.Models;
namespace TestMapster.Dtos.Dtos
{
public static partial class SourceMapper
{
public static SourceDto AdaptToDto(this Source p1)
{
return p1 == null ? null : new SourceDto()
... | 26.027027 | 95 | 0.504673 | [
"MIT"
] | Philippe-Laval/TestMapster | TestMapster.Dto/Dtos/SourceMapper.g.cs | 963 | C# |
using System;
using System.Collections.Generic;
using Xunit;
using Moq;
using com.brgs.orm.Azure.helpers;
using Microsoft.WindowsAzure.Storage.Table;
using FluentAssertions;
using com.brgs.orm.Azure;
namespace com.brgs.orm.test.Azure.LamdaExpressionParsingTests
{
public class LamdaExpressionParsingShould
{
... | 35.916031 | 107 | 0.537938 | [
"Apache-2.0"
] | badgerowluke/NoSQLORM | com.brgs.orm.test/AzureStorageTests/TableQueryBuilderTests/TableQueryBuilderTests.cs | 4,705 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Foundation;
using UIKit;
namespace CallKitSample.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
... | 28.545455 | 139 | 0.503981 | [
"MIT"
] | NiladriPadhy/callkitsample | CallKitSample.iOS/Main.cs | 1,258 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 25.66 | 76 | 0.690569 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Yundingdatapush/Apis/AddDatapushVenderRequest.cs | 1,335 | 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.Collections.Generic;
using Xunit;
namespace System.Linq.Tests
{
public class SelectManyTests : EnumerableTests
{
[Fact]
public void EmptySource(... | 37.955119 | 172 | 0.49176 | [
"MIT"
] | belav/runtime | src/libraries/System.Linq/tests/SelectManyTests.cs | 27,062 | C# |
using Microsoft.AspNetCore.Http;
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Mozlite.Mvc
{
/// <summary>
/// MVC扩展类。
/// </summary>
public static class MvcExtensions
{
/// <summary>
/// 获取当前请求的<see cref="Uri"/>实例。
/// </summary>... | 34.87069 | 128 | 0.539679 | [
"Apache-2.0"
] | Mozlite/Docs | src/Mozlite.Core/Mvc/MvcExtensions.cs | 4,587 | C# |
// <auto-generated />
using System;
using DiscordBot.Server.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DiscordBot.Server.Data.Migrations
{
[DbCon... | 34.348993 | 175 | 0.483197 | [
"MIT"
] | Presst0n/GuildDashBot | DiscordBot.Server.LibraryServices/Migrations/ApplicationDbContextModelSnapshot.cs | 10,238 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 34.658228 | 87 | 0.533236 | [
"MIT"
] | NikitoG/TelerikAcademyHomeworks | ASP.NET-MVC/ASP.NET Caching Data/ASP.NET Caching Data/Account/Login.aspx.designer.cs | 2,740 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace MCV
{
public class Program
{
public static voi... | 25.37037 | 70 | 0.640876 | [
"MIT"
] | NikoRozo/MVC_PICA | Program.cs | 685 | C# |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Domain
{
/// <summary>
/// AlipayFundTransThirdpartyRewardQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayFundTransThirdpartyRewardQueryModel : AopObject
{
/// <summary>
/// 场景码,接入时... | 23.741935 | 70 | 0.567935 | [
"MIT"
] | ArcherTrister/LeXun.Alipay.AopSdk | src/Alipay.AopSdk/Domain/AlipayFundTransThirdpartyRewardQueryModel.cs | 784 | C# |
using BefunCompile.Exceptions;
using BefunCompile.Graph.Vertex;
using BefunCompile.Math;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BefunCompile.Graph
{
public class BCModRule
{
private enum ReorderMode { Impossible, MoveSignificantBackwards, MoveSignificantForwards }
private ... | 25.769912 | 124 | 0.636264 | [
"MIT"
] | Mikescher/BefunCompile | BefunCompile/Graph/Optimizations/GraphReplace/BCModRule.cs | 14,562 | C# |
// This is an independent project of an individual developer. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Co... | 35.405556 | 123 | 0.579005 | [
"MIT"
] | Rain0Ash/NetExtender | NetExtender.Core/Utilities/Types/Enumerable/CollectionEnumerableUtilities.cs | 6,373 | C# |
using System;
namespace FortifyFprConverter
{
public class ContentFileHandlingController
{
public ContentFileHandlingController() { }
public CMOEViewModel Model { get; set; }
[Dependency]
public ContentFileViewModel ViewModel { get; set; }
[Dependency]
public ... | 31.488889 | 176 | 0.60127 | [
"MIT"
] | LaudateCorpus1/sarif-sdk | src/Test.FunctionalTests.Sarif/v2/ConverterTestData/FortifyFpr/src/Controllers/ContentFileHandlingController.cs | 1,417 | C# |
// <copyright file="AssemblyInfo.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
using System.Reflection;
[assembly: AssemblyTitle("ConfigR.Samples.Scheduler")]
[assembly: AssemblyDescription("Simple scheduler built using ConfigR.")]
| 34.777778 | 73 | 0.744409 | [
"MIT"
] | config-r/config-r-samples | src/ConfigR.Samples.Scheduler/Properties/AssemblyInfo.cs | 315 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 43.041237 | 178 | 0.649341 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/KinesisAnalytics/Generated/Model/LimitExceededException.cs | 4,175 | C# |
using Castle.Facilities.TypedFactory;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using TBT.Business.Factories.Interfaces;
using TBT.Business.Infrastructure.CastleWindsor.ComponentSelector;
using TBT.DAL.Repository.Interfaces;
namespace TBT.Business.... | 42.142857 | 151 | 0.771751 | [
"MIT"
] | Brainence/TimeBookingTool-API | src/TBT.Business/Infrastructure/CastleWindsor/FactoriesInstaller.cs | 887 | C# |
using Content.Server.GameObjects.Components.GUI;
using Content.Server.GameObjects.Components.Mobs;
using Content.Server.GameObjects.Components.Weapon.Melee;
using Content.Server.GameObjects.EntitySystems.Click;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Server.AI.Operators.Combat.Melee... | 29.747126 | 116 | 0.594668 | [
"MIT"
] | GraniteSidewalk/space-station-14 | Content.Server/AI/Operators/Combat/Melee/SwingMeleeWeaponOperator.cs | 2,588 | 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 System.Data.SqlClient;
using word = Microsoft.Office.Interop.Word;
namespace GutenbergProject
{
... | 32.171875 | 178 | 0.650801 | [
"MIT"
] | thyrdmc/Gutenberg-Project | GutenbergProject/GutenbergProject/frmLanguage.cs | 2,066 | C# |
using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
namespace Captura.CmdOptions
{
// ReSharper disable once ClassNeverInstantiat... | 35.551282 | 145 | 0.566174 | [
"MIT"
] | Lakritzator/Captura | src/Captura.Console/CmdOptions/StartCmdOptions.cs | 2,775 | C# |
namespace Crash.GOOLIns
{
[GOOLInstruction(7,GameVersion.Crash1)]
[GOOLInstruction(7,GameVersion.Crash1Beta1995)]
[GOOLInstruction(7,GameVersion.Crash1BetaMAR08)]
[GOOLInstruction(7,GameVersion.Crash1BetaMAY11)]
[GOOLInstruction(7,GameVersion.Crash2)]
[GOOLInstruction(7,GameVersion.Crash3)]
... | 34.944444 | 75 | 0.691574 | [
"MIT",
"BSD-3-Clause"
] | Aedhen/CrashEdit | Crash/Formats/Crash Formats/GOOL/GOOL Instructions/Andb.cs | 631 | C# |
using MediatR;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using MidnightLizard.Commons.Domain.Model;
using MidnightLizard.Commons.Domain.Interfaces;
using MidnightLizard.Commons.Domain.Messaging;
using MidnightLizard.Commons.Domain.Results;
using MidnightLizard.Schemes.Domain.Public... | 40.552632 | 157 | 0.782609 | [
"MIT"
] | Midnight-Lizard/Schemes-Processor | app/Application/DomainRequestHandlers/SchemePublishRequestHandler.cs | 1,543 | C# |
//------------------------------------------------------------------------------
// <copyright file="WebHeaderCollection.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace ... | 42.377279 | 231 | 0.483413 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/ndp/fx/src/net/System/Net/WebHeaderCollection.cs | 90,645 | C# |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinterLeaf.Engine;
using WinterLeaf.Engine.Classes;
using WinterLeaf.Engine.Containers;
using WinterLeaf.Engine.Enums;
using System.ComponentModel;
using System.Threading;
using WinterLeaf.Engine.Classe... | 30.807927 | 132 | 0.591588 | [
"MIT",
"Unlicense"
] | RichardRanft/OmniEngine.Net | Templates/C#-Empty/Winterleaf.Demo.Full/Models.Base/GuiGameListMenuCtrl_Base.cs | 9,778 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace BlazorBootstrap.Components
{
public partial class Blockquote
{
protected override void OnParametersSet()
{
this.AddClass(ClassNames.BlockQuotes.Blockquote);
base.OnParametersSet();
}
... | 19.235294 | 61 | 0.657492 | [
"Apache-2.0"
] | MikaBerglund/Blazor-Bootstrap | BlazorBootstrap.Components/Blockquote.razor.cs | 329 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 34.709677 | 151 | 0.585502 | [
"Apache-2.0"
] | faha223/Dnd_5e_CharacterSheet | DnD_5e_CharacterSheet/Properties/Settings.Designer.cs | 1,078 | C# |
// This code is part of the Fungus library (https://github.com/snozbot/fungus)
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
namespace Fungus
{
/// <summary>
/// Boolean variable type.
/// </summary>
[V... | 27.792208 | 117 | 0.52243 | [
"Unlicense"
] | RenVoc/MindVector | MindVector/Assets/Fungus/Scripts/VariableTypes/BooleanVariable.cs | 2,140 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crestron.SimplSharp;
using Crestron.ThirdPartyCommon.Class;
using Crestron.ThirdPartyCommon.ComponentInterfaces;
using Crestron.ThirdPartyCommon.Interfaces;
using Crestron.ThirdPartyCommon.StandardCommands;
using Cr... | 23.087912 | 69 | 0.52832 | [
"MIT"
] | neilsilver/TP_XML-CSharp | bin/Debug/OUTPUT/Callbacks/__Security_Main/VTButtons.cs | 2,101 | C# |
// Copyright (c) Microsoft Corporation, Inc. All rights reserved.
// Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity... | 50.217391 | 114 | 0.598615 | [
"MIT"
] | MohammadRS/AspNetIdentity | test/Identity.Test/ClaimsIdentityFactoryTest.cs | 5,777 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ks.h(1758,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct __struct_ks_364__union_0
{
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
... | 42.882353 | 140 | 0.716049 | [
"MIT"
] | bbday/DirectN | DirectN/DirectN/Generated/__struct_ks_364__union_0.cs | 731 | C# |
namespace Cached.DistributedCache
{
//public sealed class DistributedCacher : Cacher, IDistributedCacher
//{
// private readonly IDistributedCache _distributedCache;
// private readonly DistributedCacheEntryOptions _options;
// internal DistributedCacher(
// ILock cacheLock,
... | 41.234043 | 119 | 0.615067 | [
"MIT"
] | ryhled/cached | src/Cached.DistributedCache/DistributedCacher.cs | 1,940 | 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... | 24.277778 | 81 | 0.599542 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Network/Latest/Outputs/LoadBalancerSkuResponse.cs | 874 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Numerics;
namespace Veldrid.NeoDemo
{
public class RenderQueue : IEnumerable<Renderable>
{
private const int DefaultCapacity = 250;
private readonly List<RenderItemIndex> _indices ... | 29.548387 | 101 | 0.527293 | [
"MIT"
] | mellinoe/Veldrid-3.0 | demo/Main/RenderQueue.cs | 3,666 | C# |
namespace DataFlow.EdFi.Models.Resources
{
public class AccountCode
{
/// <summary>
/// The type of the account code (e.g., fund, function, object)
/// </summary>
public string descriptor { get; set; }
}
}
| 19.846154 | 71 | 0.554264 | [
"Apache-2.0"
] | schoolstacks/dataflow | DataFlow.EdFi/Models/Resources/AccountCode.cs | 258 | C# |
//
// Copyright (c) Microsoft. 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
//
// Unless required by applicable la... | 38 | 93 | 0.759868 | [
"Apache-2.0"
] | CerebralMischief/azure-sdk-for-net | src/ResourceManagement/Automation/AutomationManagement/Properties/AssemblyInfo.cs | 1,216 | C# |
using System;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace HandyControl.Controls
{
public class LoadingLine : LoadingBase
{
private const double MoveLength = 80;
private const double UniformScale = .6;
... | 35.106195 | 111 | 0.53214 | [
"MIT"
] | Epacik/HandyControl | src/Shared/HandyControl_Shared/Controls/Loading/LoadingLine.cs | 4,061 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Programmer.Environment.Conditions
{
public enum CondType
{
None,
Invalid,
HasOption,
HasNotOption,
OptionEquals,
OptionNotEquals
}
}
| 16.166667 | 43 | 0.642612 | [
"MIT"
] | teplofizik/nyaprog | NyaProg/Programmer/Environment/Conditions/CondType.cs | 293 | C# |
using Application.DTOs.Account;
using Application.Wrappers;
using Microsoft.Extensions.Primitives;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Application.Interfaces
{
public interface IAccountService
{
Task<Response<AuthenticationResponse... | 35.5 | 114 | 0.778873 | [
"MIT"
] | AhmedAboughosen/CleanArchitecture | Application/Interfaces/IAccountService.cs | 712 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.