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
// *** 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...
36.810345
123
0.573302
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DataBoxEdge/Latest/Role.cs
4,270
C#
#pragma checksum "D:\KodServer\VisualStudioProjeleri\AwesomeLibrary\AwesomeLibrary\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "922116FA75967B9DCBC3E2EBD93742FB" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. //...
39.178082
174
0.663287
[ "Apache-2.0" ]
coderserdar/AwesomeLibrary
SourceCode/AwesomeLibrary/obj/Debug/MainPage.g.i.cs
2,862
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...
29.214286
112
0.659535
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/CloudFormation/Generated/Model/UpdateTerminationProtectionResponse.cs
1,636
C#
using System; namespace NullPointer.ManualNullCheck { class CallHierarchy { public void Run() => A(); void A() => B(null); void B(string s) => C(s); void C(string s) => D(s); void D(string s) => E(s); void E(string s) => F(s); void F(string s) => Consol...
20.647059
56
0.509972
[ "Apache-2.0" ]
ufcpp/UfcppSample
Chapters/NullableReferenceTypes/NullPointer/ManualNullCheck/CallHierarchy.cs
353
C#
/* * MIT License *Copyright (c) 2021 咖啡与网络(java-and-net) *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...
34.438462
114
0.605093
[ "MIT" ]
NF-TopSky-Team/TopskyHotelManagerSystem
SYS.FormUI/AppFunction/FrmChangeAdminPwd.cs
4,707
C#
using Bit.Owin.Contracts; using Microsoft.AspNetCore.Builder; using System; namespace Bit.Owin.Middlewares { public class AspNetCoreSingleSignOnClientMiddlewareConfiguration : SingleSignOnClientMiddlewareConfiguration, IAspNetCoreMiddlewareConfiguration { public virtual MiddlewarePosition MiddlewarePo...
34.263158
148
0.751152
[ "MIT" ]
phan9413/bitframework
src/Server/Bit.Server.Owin/Middlewares/AspNetCoreSingleSignOnClientMiddlewareConfiguration.cs
653
C#
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // Generated using OBeautifulCode.CodeGen.ModelObject (1.0.171.0) // </auto-generated> // ---------------------------------------------------------------------------------------...
67.715356
616
0.649479
[ "MIT" ]
NaosProject/Naos.Database
Naos.Database.Domain.Test/Operations/Stream/External/Write/PutWithIdAndReturnInternalRecordIdOp{TId,TObject}Test.designer.cs
126,562
C#
using FluentAssertions; using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace Open.RangeTests; [System.Diagnostics.CodeAnalysis.SuppressMessage("Roslynator", "RCS1196:Call extension method as instance method.")] public static class RangeExtensionsTests { [Fact] public static voi...
29.236111
116
0.687886
[ "MIT" ]
Open-NET-Libraries/Open.Range
Open.Range.Tests/RangeExtensionsTests.cs
2,107
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; #pragma warning disable 1591 namespace Silk.NET.OpenGL { public enum PolygonMode { Point = 0x1B00, Line = 0x1B01, Fil...
17
57
0.644118
[ "MIT" ]
AzyIsCool/Silk.NET
src/OpenGL/Silk.NET.OpenGL/Enums/PolygonMode.gen.cs
340
C#
using Nito.AsyncEx; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Legal; using WalletWasabi.Logging; using WalletWasabi.Models; namespace WalletWasabi.Services { public class LegalChecker : IDisposable { public const string LegalFol...
29.95625
133
0.748383
[ "MIT" ]
BTCparadigm/WalletWasabi
WalletWasabi/Services/LegalChecker.cs
4,793
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MyChatRoom.Model; namespace MyChatRoom.Service { /// <summary> /// 直播室房间服务. /// </summary> public interface IChatRoomHouseService { /// <summary> ...
17.357143
57
0.542181
[ "MIT" ]
wangzhiqing999/my-csharp-project
MyChatRoom.Service/Service/IChatRoomHouseService.cs
1,048
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.ResourceManager.Sql.Models { /// <summary> Contains the information necessary to perform a resource move (rename). </summary> public partial cl...
28.875
100
0.615801
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ResourceMoveDefinition.cs
924
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.OpenApi.Models; using Mvp24Hours.Core.Contract.Infrastructure.Pipe; using Mvp24Hours.Infrastructure.Pipe; using ProductAPI.Application.Logic; using ProductAPI.Core.Contract.Logic; using ProductAPI.Core.Contract.Pipeline.Builders.Products; using ProductAPI...
35.221053
95
0.550807
[ "MIT" ]
kallebelins/mvp24hours-poc-netcore-vue
src/product-api/ProductAPI.WebAPI/Extensions/ServiceBuilderExtensions.cs
3,348
C#
namespace SpellforceDataEditor.special_forms { partial class ModCreatorForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. //...
45.933333
107
0.595895
[ "MIT" ]
leszekd25/spellforce_data_editor
SpellforceDataEditor/special forms/ModCreatorForm.Designer.cs
9,648
C#
using System; namespace RealEstate.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
17.416667
70
0.665072
[ "MIT" ]
rzh1999/RealEstateProject
RealEstate/Models/ErrorViewModel.cs
209
C#
using System; using System.Collections.Generic; using Machine.Core.Services; namespace Machine.Utility.ThreadPool { public class QueueOfRunnables : ThreadSafeQueue<IRunnable>, IQueue { public IScope CreateScope() { return new QueueOfRunnablesScope(this); } class QueueOfRunnab...
19.205128
70
0.618158
[ "MIT" ]
abombss/machine
Source/Machine.Utility/Machine.Utility.ThreadPool/QueueOfRunnables.cs
751
C#
using System; using UnityEngine; using UnityEngine.EventSystems; public class InitializePotentialDragHandler : MonoBehaviour, IInitializePotentialDragHandler { public Action<GameObject, PointerEventData> onInitializePotentialDrag; public void OnInitializePotentialDrag(PointerEventData eventData) { ...
29.192308
99
0.750988
[ "MIT" ]
Eternity714/UGUI.EventHandler
Assets/UGUI.EventSystemHandlers/Scripts/Runtime/InitializePotentialDragHandler.cs
761
C#
using System; using System.IO; using System.Linq; using System.Collections.Generic; namespace day05 { class Program { static void Main(string[] args) { var nonStrings = File.ReadAllLines("input.txt") .Where(l => !string.IsNullOrWhiteSpace(l)) .Select...
29.538462
112
0.477214
[ "MIT" ]
LittleAndi/advent-of-code-2015
day05/Program.cs
3,074
C#
using System; using System.Collections.Generic; using System.Text; using ISAAR.MSolve.FEM.Entities; using ISAAR.MSolve.Geometry.Coordinates; using ISAAR.MSolve.Numerical.LinearAlgebra; //TODO: In XFEM I used dictionaries with nodes as keys, but it is less efficient and offers little extra safety, since the // sh...
47.188889
128
0.629856
[ "Apache-2.0" ]
SerafeimBakalakos/MSolve
ISAAR.MSolve.FEM/Interpolation/EvalInterpolation2D.cs
4,249
C#
namespace Maverick.PCF.Builder.Forms { partial class ShowPreviewImage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </su...
50.80829
168
0.613502
[ "MIT" ]
Danz-maveRICK/PCF-CustomControlBuilder
Maverick.PCF.Builder/Forms/ShowPreviewImage.Designer.cs
9,808
C#
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAn...
42.4
160
0.697703
[ "Apache-2.0" ]
onexey/Roslynator
src/Workspaces.Common/CSharp/Refactorings/UseMethodChainingRefactoring.cs
4,878
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("lib...
42.565217
84
0.782431
[ "MIT" ]
sq/libcrdebug
Properties/AssemblyInfo.cs
982
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace DotNetForce.Common.Models.Json { public class ErrorResult { [JsonProperty(PropertyName = "statusCode")] public string? StatusCode { get; set; } [JsonProperty(PropertyName = "message")] public string? Message { ...
24.444444
51
0.643182
[ "MIT" ]
ste80/DotNetForce
DotNetForce/Common/Models/Json/ErrorResult.cs
442
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(1310)] [Attributes(9)] public class PcsTxCalChan { [ElementsCount(16)] [ElementType("uint16")] ...
19.47619
44
0.596577
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/PcsTxCalChanI.cs
409
C#
using System.Collections.ObjectModel; namespace Pacman.Core.TiledMap { public sealed class Rectangle : IObject { public string Name { get; } public string Type { get; } public float X { get; } public float Y { get; } public float Height { get; } public float Wid...
28.484848
122
0.543617
[ "MIT" ]
ripwin/Pacman
src/Pacman.Core/TiledMap/Rectangle.cs
942
C#
namespace GUIConvertor { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param...
28.375
107
0.556828
[ "MIT" ]
mkpetrov/Home-Work
Simple Calculations/GUIConvertor/Form1.Designer.cs
1,137
C#
// Copyright © 2020 EPAM Systems, Inc. All Rights Reserved. All information contained herein is, and remains the // property of EPAM Systems, Inc. and/or its suppliers and is protected by international intellectual // property law. Dissemination of this information or reproduction of this material is strictly forbidde...
45.473684
178
0.726466
[ "MIT" ]
epam/epam-graphql
src/Epam.GraphQL/Builders/Loader/Implementations/FromLoaderInlineObjectBuilder.cs
2,595
C#
// This file describes the API that the generator will produce // // Authors: // Geoff Norton // Miguel de Icaza // Aaron Bockover // // Copyright 2009, Novell, Inc. // Copyright 2011, 2013, 2015 Xamarin Inc. // using ObjCRuntime; using Foundation; using CloudKit; using CoreGraphics; using CoreLocation; #if !MON...
35.127273
258
0.725003
[ "BSD-3-Clause" ]
mandel-macaque/xamarin-macios
src/corelocation.cs
32,844
C#
using Autodesk.Forge; using Autodesk.Forge.Model; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using RestSharp; using System; using System.Text; using System.Collections.Generi...
42.674797
251
0.440973
[ "MIT" ]
ogaryu/autodesk.forge.acc.fm.integration
forgesapmle/Controllers/FMDataController.cs
15,749
C#
using System.Collections.Generic; using CodeComposerLib.GraphViz.Dot.Value; using TextComposerLib; namespace CodeComposerLib.GraphViz.Dot.Label.Table { /// <summary> /// This class represents the cell image inside an HTML table tag in the dot language /// See http://www.graphviz.org/content/node-shapes#ht...
23.572519
89
0.541127
[ "MIT" ]
ga-explorer/GeometricAlgebraFulcrumLib
CodeComposerLib/CodeComposerLib/GraphViz/Dot/Label/Table/DotHtmlCellImage.cs
3,090
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
40.870504
216
0.555712
[ "Apache-2.0" ]
ClearCanvas/lucene.net
src/core/Search/BooleanScorer2.cs
17,043
C#
/** *┌──────────────────────────────────────────────────────────────┐ *│ 描 述:工作单元实现类 *│ 作 者:zhengshengyi *│ 版 本:1.0 *│ 创建时间:2020/8/16 22:15:44 ...
33.816794
122
0.445372
[ "MIT" ]
zhengshengyi/DotnetCms
DotnetCms.Core/Repository/UnitOfWork.cs
5,026
C#
using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.Text; namespace App.Core.Utilities.Security { public class SigningCredentialsHelper { public static SigningCredentials CreateSigningCredentials(SecurityKey securityKey) { return new S...
25.625
95
0.74878
[ "MIT" ]
halilkoca/MovieApi
App/App.Core/Utilities/Security/SigningCredentialsHelper.cs
412
C#
using System.Xml.Serialization; namespace MonoGame.Extended.Tiled.Serialization { public class TiledMapTileLayerContent : TiledMapLayerContent { public TiledMapTileLayerContent() : base(TiledMapLayerType.TileLayer) { } [XmlAttribute(AttributeName = "x")] pub...
26.233333
64
0.60737
[ "MIT" ]
Acidburn0zzz/MonoGame.Extended
Source/MonoGame.Extended.Tiled/Serialization/TiledMapTileLayerContent.cs
787
C#
// <copyright file="GlobalSuppressions.cs" company="Sven Erik Matzen"> // Copyright (c) Sven Erik Matzen. All rights reserved. // </copyright> using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Globalization", "CA1303:Do not pass literals as localized parameters", Justification = "No globalization ne...
94.272727
290
0.795564
[ "MIT" ]
Interface007/Sem.Tools
Sem.Tools.TestHelper.Tests/GlobalSuppressions.cs
1,039
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("04...
38.243243
84
0.74417
[ "MIT" ]
stoyanovmiroslav/Tech-Module-Practice
Programming Fundamentals/Programming Fundamentals Exams/Programming Fundamentals Exam - 09 July 2017/04. Pokemon Evolution/Properties/AssemblyInfo.cs
1,418
C#
using System.IO; namespace TeleSharp.TL.Messages { [TLObject(479598769)] public class TLRequestGetAllStickers : TLMethod { public override int Constructor { get { return 479598769; } } public int Hash { get; set; } ...
20
75
0.539535
[ "MIT" ]
cobra91/TelegramCSharpForward
TeleSharp.TL/TL/Messages/TLRequestGetAllStickers.cs
860
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Facebook; using FacebookAds.Interfaces; /// <summary> /// The MIT License (MIT) /// /// Copyright (c) 2017 - Luke Paris (Paradoxis) | Searchresult Performancemarketing /// /// Permission is hereby...
38.734375
126
0.696652
[ "MIT" ]
AsimKhan2019/Facebook-Ads-SDK-C-
src/FacebookAds/FacebookAds/Object/AdsPixelStats.cs
2,479
C#
// <auto-generated /> using System; using HBSIS_Padawan.Sistema.Boletim.Repositories.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.V...
37.893805
125
0.473494
[ "MIT" ]
rmarnon/HBSIS_Padawan.Sstema.Boletim
HBSIS_Padawan.Sistema.Boletim.Repositories/Migrations/20200926195921_FirstMigration.Designer.cs
8,566
C#
using System.Windows.Input; using FlaUI.Core.WindowsAPI; using Macad.Test.UI.Framework; using NUnit.Framework; namespace Macad.Test.UI.Application.Edit { public class KeyboardTests : UITestBase { [SetUp] public void SetUp() { Reset(); } //---...
36.898876
120
0.511267
[ "MIT" ]
RileyGe/Macad3D
Source/Test.UI/Application/Edit/KeyboardTests.cs
3,286
C#
using System; using Client.Unit; using Client.UI; namespace Client.UnitFSM { /// <summary> /// 玩家胜利的状态 /// </summary> public class SuccessState : FSMState { public SuccessState(Room content) : base(content, FSMStateType.SuccessState) { } ...
24.948718
109
0.561151
[ "Apache-2.0" ]
rusmass/wealthland_client
arpg_prg/client_prg/Assets/Code/Client/AI/FSM/SuccessState.cs
1,023
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Microsoft.VisualStudio.TestTools.UnitTesting; // General Information about an assembly is controlled through the following set of attributes. // Change these attribute values to modify the information associate...
48.1875
117
0.780156
[ "CC0-1.0" ]
BrainSlugs83/PowerShellClient
BetterPowerShellClient.Tests/Properties/AssemblyInfo.cs
1,545
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace NEvilES.Abstractions.Pipeline.Async { public interface IReadFromReadModelAsync<in TId> { Task<T> GetAsync<T>(Guid id) where T : IHaveIdentity<TId>; Task<IEnumerable<T>> QueryAsync<T>(Func<T, bool> p...
33.095238
73
0.658993
[ "Apache-2.0" ]
CRGCode/NEvilES
src/NEvilES.Abstractions/Pipeline/Async/IReadModelAsync.cs
695
C#
using System.Diagnostics.CodeAnalysis; using Xunit; namespace Axe.Cli.Parser.Test.Helpers { static class ParsingResultTestExtensions { [SuppressMessage("ReSharper", "ParameterOnlyUsedForPreconditionCheck.Local")] public static void AssertError( this ArgsParsingResult result, ...
30.481481
85
0.62819
[ "MIT" ]
AxeDotNet/Axe.Cli
test/Axe.Cli.Parser.Test/Helpers/ParsingResultTestExtensions.cs
825
C#
using Prism.Commands; using Prism.Events; using PrismWPFHoneys.Core.Types.Events; using PrismWPFHoneys.Core.Types.Types; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Prism_WPF_Honeys.ViewModels { public class ...
27.639344
96
0.630486
[ "MIT" ]
Serchland/Prism-WPF-Honeys
Prism WPF Honeys/ViewModels/LoginViewModel.cs
1,688
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 Microsoft.DotNet.XHarness.CLI.CommandArguments.Wasm; internal class NoIncognitoArgument : SwitchArgument...
31.357143
71
0.738041
[ "MIT" ]
jkoritzinsky/xharness
src/Microsoft.DotNet.XHarness.CLI/CommandArguments/WASM/Arguments/NoIncognitoArgument.cs
441
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...
38.411765
164
0.684022
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleNotificationService/Model/InternalErrorException.cs
1,959
C#
namespace Lupus_Titanium { partial class FindRequestsPanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summar...
66.024631
171
0.670596
[ "MIT" ]
sizingservers/Lupus-Titanium
Lupus-Titanium/Controls and dialogs/FindRequestsPanel.Designer.cs
13,405
C#
using KFDtool.Adapter.Protocol.Adapter; using KFDtool.P25.DataLinkIndependent; using KFDtool.P25.DeviceProtocol; using KFDtool.P25.Kmm; using KFDtool.P25.NetworkProtocol; using KFDtool.P25.Partition; using KFDtool.P25.ThreeWire; using KFDtool.P25.TransferConstructs; using System; using System.Collections.Gene...
38.436019
187
0.467016
[ "MIT" ]
DeltaBravo15/KFDtool
sw/control/KFDtool.P25/ManualRekey/ManualRekeyApplication.cs
32,442
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. /****************************************************************************** * This file is auto-generated from ...
40.588957
124
0.522521
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/AsVector.UInt32.cs
6,616
C#
using ApplicationApp.Interfaces; using Domain.Interfaces.InterfaceProduct; using Domain.Interfaces.InterfaceServices; using Entities.Entities; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace ApplicationApp.OpenApp { public class AppProduct : InterfaceProd...
25.423729
76
0.62
[ "MIT" ]
DeivideSilva/Asp.NetCore
ProjetoDDD/ApplicationApp/OpenApp/AppProduct.cs
1,502
C#
namespace RevolutAPI.Models.Counterparties { public class ProfileType { public static string BUSINESS = "business"; public static string PERSONAL = "personal"; } }
24
51
0.671875
[ "MIT" ]
Code-Around/RevolutAPI
src/RevolutAPI/RevolutAPI/Models/Counterparties/ProfileType.cs
194
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Snowlight.Game.Spaces { public enum UserMovementNode { Blocked, Walkable, WalkableEndOfRoute } }
15.4
33
0.679654
[ "MIT" ]
DaLoE99/Servidores-DaLoE
3/BoomBang/Game/Spaces/UserMovementNode.cs
233
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using System.Web.Mvc.Html; using NearForums.Web.State; using System.Web; using NearForums.Configuration; using NearForums.Web.Extensions; namespace NearForums.Web.UI { public class TemplatedLayout...
21.456522
78
0.632219
[ "MIT" ]
axence-inc/nearforums
solution/NearForums.Web/UI/TemplatedLayout.cs
1,976
C#
using System; using MFiles.VAF.Common; using MFilesAPI; namespace MFiles.VAF.Extensions { /// <summary> /// Extension methods for the <see cref="MFSearchBuilder"/> class. /// </summary> // ReSharper disable once InconsistentNaming public static partial class MFSearchBuilderExtensionMethods { /// <...
30.206897
101
0.668189
[ "MIT" ]
CraigHawker/VAF.Extensions.Community
MFiles.VAF.Extensions/ExtensionMethods/MFSearchBuilderExtensionMethods/Owner.cs
2,630
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 generi...
33.646018
96
0.666491
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/Schema/IEC61970/Wires/IReactiveCapabilityCurve.cs
3,804
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using Xamarin.Interactive.Core; using Xamarin.Interactive.Serialization; namespace Xamarin.Interactive.Client.Web.Controllers { [Route ("/api/id...
31.837838
99
0.640068
[ "MIT" ]
Bhaskers-Blu-Org2/workbooks
Clients/Xamarin.Interactive.Client.Web/Controllers/AgentIdentificationController.cs
1,178
C#
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Runtime.InteropServices; using Avalonia.Cairo.Media; using Avalonia.Media; using Avalonia.Platform; using Avalonia.Rendering; u...
32.65
104
0.642675
[ "MIT" ]
KvanTTT/Avalonia
src/Gtk/Avalonia.Cairo/RenderTarget.cs
1,959
C#
using BlazorBoilerplate.Infrastructure.Server; using BlazorBoilerplate.Server.Managers; using BlazorBoilerplate.Infrastructure.Storage.DataModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Moq; using NUnit.F...
35.826923
168
0.712292
[ "MIT" ]
Kayira150/blazor_sample
src/Tests/BlazorBoilerplate.Server.Tests/Managers/ExternalAuthManagerTests.cs
1,865
C#
using System; using ClaimsReserving.Models; using ClaimsReserving.Services.Validation.Record; using NUnit.Framework; namespace ClaimsReserving.Tests.Services.Validation.Record { [TestFixture] public class YearValidatorTests { private YearValidator _target; [SetUp] pub...
32.269231
139
0.57211
[ "Apache-2.0" ]
zombiecodekill/CSV-ClaimsReserving
ClaimsReserving.Tests/Services/Validation/Record/YearValidatorTests.cs
1,682
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.Serialization; namespace Microsoft.CSharp.RuntimeBinder { /// <summary> /// Represents an error that occurs while processing a dynamic bin...
55.413043
194
0.690859
[ "MIT" ]
belav/runtime
src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/RuntimeBinderException.cs
2,549
C#
using Microsoft.EntityFrameworkCore.Storage; using Sio.Cms.Lib.Models.Cms; using Sio.Cms.Lib.Services; using Sio.Cms.Lib.ViewModels; using Sio.Common.Helper; using Sio.Domain.Core.ViewModels; using Sio.Domain.Data.ViewModels; using Newtonsoft.Json; using System; using System.Collections.Generic; using System....
36.055556
142
0.587057
[ "MIT" ]
Swastika-IO/Swastika
src/Sio.Cms.Lib/ViewModels/System/SystemConfigurationViewModel.cs
4,543
C#
using Newtonsoft.Json; namespace Our.Umbraco.Look.BackOffice.Models.Api { public class RebuildViewData { [JsonProperty("validIndexer")] public bool ValidIndexer { get; set; } = false; [JsonProperty("indexerName")] public string IndexerName { get; set; } } }
21.785714
55
0.642623
[ "MIT" ]
Hendy/umbraco-look
src/Our.Umbraco.Look.BackOffice/Models/Api/RebuildViewData.cs
307
C#
using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; using gatling.Authorization; using gatling.Authorization.Roles; using gatling.Authorization.Users; using gatling.Editions; using gatling.MultiTenancy; namespace gatling.Identity { public static class IdentityRegistrar { ...
35.878788
79
0.662162
[ "MIT" ]
Dash-Nguyen/abp
aspnet-core/src/gatling.Core/Identity/IdentityRegistrar.cs
1,186
C#
using System; using System.Buffers.Binary; using System.Text; namespace BoschFirmwareTool { class FirmwareHeader { public static readonly int HeaderLength = 0x400; public uint Magic { get; set; } public uint Target { get; set; } public uint Variant { get; set; } public...
38.081967
163
0.569522
[ "BSD-3-Clause" ]
anvilsecure/BoschFirmwareTool
CLI/FirmwareHeader.cs
2,325
C#
public class Solution { public int ComputeArea(int A, int B, int C, int D, int E, int F, int G, int H) { int answer = 0; answer += (C - A) * (D - B); answer += (G - E) * (H - F); // minus overlap int xOverlap = 0; if (E <= A && A <= G) { xOverlap =...
31.925926
85
0.325986
[ "MIT" ]
txchen/csharp-leet
solutions/Q223.cs
862
C#
// Copyright © 2021 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. // Originally Based on https://github.com/CefNet/CefNet.DevTools.Protocol/blob/0a124720474a469b5cef03839418f5e1debaf2f0/CefNet.DevTools.Protocol/IEventP...
33.714286
159
0.683263
[ "BSD-3-Clause" ]
Bodekaer/CefSharp
CefSharp/DevTools/IEventProxy.cs
945
C#
using System.Collections.Generic; using FarsiLibrary.Utils; namespace Iauq.Information.Models.Events { public class EventsModel : List<EventModel> { public EventsModel Add(long id, PersianDate holdingDate, string title, string slug, string description) { Add(new EventModel ...
27.727273
111
0.493443
[ "MIT" ]
m-sadegh-sh/Iauq
src/Iauq.Information/Models/Events/EventsModel.cs
610
C#
namespace Silky.Rpc.Security { public class ClaimTypes { public const string UserId = "http://silky.com/identity/claims/userid"; public const string UserName = "http://silky.com/identity/claims/username"; public const string Email = "http://silky.com/identity/claims/email"; pu...
36.333333
107
0.690112
[ "MIT" ]
scjjcs/silky
framework/src/Silky.Rpc/Security/ClaimTypes.cs
981
C#
#if UNITY_EDITOR using UnityEngine; using System.Collections; using UnityEditor; namespace RVP { [CustomEditor(typeof(HoverWheel))] [CanEditMultipleObjects] public class HoverWheelEditor : Editor { bool isPrefab = false; static bool showButtons = true; public override void On...
31.68254
97
0.477455
[ "MIT" ]
DavidArppe/GameOff2020
Packages/com.davidarppe.randomationvehiclephysicspackage/Scripts/Editors/HoverWheelEditor.cs
1,998
C#
using System.Reflection; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: AssemblyTitle("Bodoconsult.Core.Windows"...
44.888889
109
0.767327
[ "MIT" ]
RobertLeisner/Bodoconsult.Core.Windows
Bodoconsult.Core.Windows/Properties/AssemblyInfo.cs
1,634
C#
using System; namespace Xyaneon.Bioinformatics.FASTA.Identifiers { /// <summary> /// A GenBank FASTA identifier. /// </summary> public sealed class GenBankIdentifier : Identifier { /// <summary> /// Initializes a new instance of the <see cref="GenBankIdentifier"/> class. //...
34.180556
122
0.552215
[ "MIT" ]
Xyaneon/Xyaneon.Bioinformatics.FASTA
Xyaneon.Bioinformatics.FASTA/Identifiers/GenBankIdentifier.cs
2,463
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using WindowsAuth.models; using WindowsAuth....
48.757042
213
0.605113
[ "MIT" ]
AI-ML-Projects/DLWorkspace
src/WebUI/dotnet/WebPortal/Helper/OpenIDAuthentication.cs
13,849
C#
using System; using System.Diagnostics; using System.Collections; using System.Text; using System.Text.RegularExpressions; using System.Runtime.Serialization; using DDay.iCal.Serialization.iCalendar; using System.IO; namespace DDay.iCal { /// <summary> /// The iCalendar equivalent of the .NET <see cref="DateTi...
30.628057
137
0.502983
[ "BSD-3-Clause" ]
ststeiger/DDay.iCal
DDay.iCal/DataTypes/iCalDateTime.cs
23,798
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DragonWarriorEditor { class Tile : ITile { // TODO: Currently assuming 1 byte = index, so 0-255 // TODO: put in adapto...
24.254545
89
0.667166
[ "MIT" ]
TheAnsarya/DragonWarriorEditor
DragonWarriorEditor/Tile.cs
1,336
C#
using System; using System.Collections.Generic; using System.Text; namespace LinqToDB.SqlQuery { public class SqlColumn : IEquatable<SqlColumn>, ISqlExpression { public SqlColumn(SelectQuery parent, ISqlExpression expression, string alias) { Parent = parent; Expression = expression ?? throw...
23.168498
132
0.618814
[ "MIT" ]
FrancisChung/linq2db
Source/LinqToDB/SqlQuery/SqlColumn.cs
6,055
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsof...
36.25
135
0.625379
[ "MIT" ]
Arashrohani/SampleApp
src/SampleApp.IdentityServer/Startup.cs
3,627
C#
#region Header // // CmdPlaceFamilyInstance.cs - call PromptForFamilyInstancePlacement // to place family instances and use the DocumentChanged event to // capture the newly added element ids // // Copyright (C) 2010-2020 by Jeremy Tammik, // Autodesk Inc. All rights reserved. // // Keywords: The Building Code...
30.095808
71
0.625547
[ "MIT" ]
roya13668593/the_building_coder_samples
BuildingCoder/BuildingCoder/CmdPlaceFamilyInstance.cs
5,026
C#
using Flunt.Validations; using Store.Domain.Entities; namespace Store.Domain.Entities; public class OrderItem : Entity { public OrderItem(Product product, int quantity) { AddNotifications( new Contract<OrderItem>() .Requires() .IsNotNull(product,"Product", "P...
25.096774
93
0.605398
[ "MIT" ]
paulo-ramos/curso-balta
Store/Store.Domain/Entities/OrderItem.cs
779
C#
/* * Copyright (c) 2017 Samsung Electronics Co., Ltd 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 * * Unles...
28.597222
86
0.597863
[ "Apache-2.0" ]
AchoWang/Tizen-CSharp-Samples
Wearable/Sensors/src/Sensors/Model/BaseSensorModel.cs
2,061
C#
using System; using System.Collections.Generic; using System.Text; namespace CPI.Common.Domain.AgreePay.YeePay { public abstract class RawYeePayCommonResponse { public String errorcode { get; set; } public String errormsg { get; set; } } }
20.769231
49
0.696296
[ "Apache-2.0" ]
SZarrow/CPI
src/CPI.Common/Domain/AgreePay/YeePay/RawYeePayCommonResponse.cs
272
C#
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using NSubstitute; using NSubstitute.ExceptionExtensions; using NUnit.Framework; using System; using System.Collections.Generic; using Twilio.Clients; using Twilio.Converters; using Twilio.Exceptions; using ...
54.630952
1,189
0.609065
[ "MIT" ]
FishDawg/twilio-csharp
test/Twilio.Test/Rest/Serverless/V1/Service/BuildResourceTest.cs
9,178
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace PerformanceEf6.EF6.Models { [Table("Person.BusinessEntityAddress")] public partial class BusinessEntityAddress { [Key] [Column(Order = 0)] [DatabaseGenerated(Data...
27.111111
66
0.651639
[ "BSD-3-Clause" ]
Manishkr117/DesignPattern
DOTNETCORE/EFCoreSamples/PerformanceEf6/EF6/Models/BusinessEntityAddress.cs
976
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
32.706897
81
0.653137
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Mps/V20190612/Models/PoliticalConfigureInfoForUpdate.cs
1,951
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/wtypes.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Sy...
34.295455
145
0.616965
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/shared/wtypes/uCLSSPECTests.cs
1,511
C#
// Copyright (c) Cedita Ltd. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the solution root for license information. using Chic.Attributes; using Chic.Internal.Models; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using...
40.034722
187
0.584562
[ "Apache-2.0" ]
ceditalabs/Chic
src/Chic/Internal/TypeTableMap.cs
5,767
C#
namespace FitDontQuit.Services.Models.Articles { using FitDontQuit.Data.Models; public class CreateArticleServiceModel { public string Title { get; set; } public string Content { get; set; } public string ImageUrl { get; set; } public ApplicationUser User { get; set; } ...
20.4375
49
0.639144
[ "MIT" ]
YolitoMarinova/Fit-Dont-Quit.WebApp
Services/FitDontQuit.Services.Models/Articles/CreateArticleServiceModel.cs
329
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
25.246914
463
0.69291
[ "MIT" ]
Acidburn0zzz/CodeContracts
Demo/Devscovery/ArrayExtensions.cs
2,045
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.CodeDom; using System.CodeDom.Compiler; using System.IO; using System.Text; namespace System.Web.Razor.Test { internal static class CodeCompileUnitExtensions { ...
31.92
133
0.646617
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
test/System.Web.Razor.Test/CodeCompileUnitExtensions.cs
800
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/mmeapi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
36.555556
145
0.652736
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/mmeapi/AUXCAPS2ATests.cs
1,318
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Axe.Windows.Core.Misc; using Axe.Windows.Core.Types; using Axe.Windows.Win32; using Newtonsoft.Json; using System; using System.Globalization; namespace ...
37.056701
130
0.45208
[ "MIT" ]
chingucoding/axe-windows
src/Core/Bases/A11yProperty.cs
6,996
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...
58.696337
257
0.671428
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodePipeline/Generated/_bcl45/IAmazonCodePipeline.cs
182,663
C#
using System; using System.Runtime.Serialization; namespace Sfa.Das.Sas.Indexer.Core.Exceptions { [System.Serializable] public class MappingException : Exception { public MappingException() { } public MappingException(string message) : base(message) { ...
20.862069
84
0.591736
[ "MIT" ]
SkillsFundingAgency/das-apprenticeship-programs-indexer
src/Sfa.Das.Sas.Indexer.Core/Shared/Exceptions/MappingException.cs
607
C#
using System; using System.Collections.Generic; using System.Linq; using OpenAuth.App.Request; using OpenAuth.App.Response; using OpenAuth.App.SSO; using OpenAuth.Repository.Domain; namespace OpenAuth.App { public class MonthlyAssessmentApp : BaseApp<MonthlyAssessment> { public Revelance...
25.093023
95
0.549583
[ "MIT" ]
zz110/andao
CodeSmith/CSharp/APP/MonthlyAssessmentApp.cs
1,105
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.75
81
0.618406
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ApiManagement/V20170301/Outputs/TokenBodyParameterContractResponse.cs
891
C#
using System; using Newtonsoft.Json; namespace UClient { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class UApi { public partial class ChatEventAction : Object { /// <summary> /// A voice chat was discarded /// ...
27.190476
96
0.537653
[ "MIT" ]
Userizyon/UClient
UClient.Api/Objects/ChatEventVoiceChatDiscarded.cs
1,142
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
38.222222
145
0.661628
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/MsHTML/HTMLSpanElementTests.cs
1,722
C#
//---------------------------------------------- // Flip Web Apps: Game Framework // Copyright © 2016 Flip Web Apps / Mark Hewitt // // Please direct any bugs/comments/suggestions to http://www.flipwebapps.com // // The copyright owner grants to the end user a non-exclusive, worldwide, and perpetual license to this A...
47.419847
128
0.632646
[ "MIT" ]
517752548/UnityFramework
GameFrameWork/FastCore/Script/Display/Other/Components/GradientBackground.cs
6,215
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace API.Models { public class LoginModel { public string Username { get; set; } public string Password { get; set; } } }
18.142857
44
0.673228
[ "MIT" ]
cristivasile/Prospect_Auto_Website
Backend/API/API/Models/Input/LoginModel.cs
256
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Compo...
50.484171
311
0.538443
[ "Apache-2.0", "MIT" ]
JM2K69/PowerShell
src/System.Management.Automation/engine/LanguagePrimitives.cs
271,100
C#