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) 2003-2008 by AG-Software * * All Rights Reserved. * * Contact information for AG-Software is available at http://www.ag-software.de * * * * Licence: ...
32.675926
172
0.598186
[ "MIT" ]
MrAnderson1989/agsXMPP-WinFormIM
agsxmpp/protocol/iq/roster/RosterItem.cs
3,529
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...
32.222222
108
0.67931
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Batch/V20170901/Outputs/ScaleSettingsResponse.cs
1,160
C#
namespace Pets.Platform.Permissions.Core; public static class GenericTypeExtensions { public static string GetGenericTypeName(this Type type) { var typeName = string.Empty; if (type.IsGenericType) { var genericTypes = string.Join(",", type.GetGenericArguments().Select(t =>...
25.769231
106
0.6
[ "MIT" ]
11pets/Pets.Platform.Permissions
Pets.Platform.Permissions.Core/SeedWork/GenericTypeExtensions.cs
672
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graph...
31.572222
126
0.479676
[ "MIT" ]
Yash-Codemaster/KoduGameLab
main/Boku/TitleScreen/TitleScreen.cs
11,366
C#
using Xamarin.Forms.Internals; namespace MotoServicesExpress.Validators.Rules { /// <summary> /// Validation Rule to check the email is valid or not. /// </summary> /// <typeparam name="T">Valid email rule parameter</typeparam> [Preserve(AllMembers = true)] public class IsValidEmailRule<T> : I...
25.068182
71
0.511333
[ "MIT" ]
JomaDoT/MotoServicesExpress
MotoServicesExpress/Validators/Rules/IsValidEmailRule.cs
1,105
C#
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http:...
44.344237
291
0.610278
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v3
src/MbUnit/MbUnit.Tests/Framework/MirrorTest.cs
28,469
C#
#pragma warning disable using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using System.Threading.Tasks; namespace Tests.Scenarios { class ExternalMethodWithCancellationToken { public async Task<int> FooAsync(Stream s, Cancell...
24.2
86
0.700413
[ "MIT" ]
roji/AsyncRewriter
test/AsyncRewriter.Tests/Scenarios/ExternalMethodWithCancellationToken.out.cs
486
C#
using Knx.Common; using Knx.Common.Attribute; namespace Knx.DatapointTypes.Dpt8BitEnumeration { [DatapointType(20, 6, Usage.FunctionBlock)] public class DptLightApplicationArea : Dpt8BitEnum<ApplicationArea> { public DptLightApplicationArea(byte[] payload) : base(payload) ...
24.210526
72
0.617391
[ "MIT" ]
ChrisTTian667/KNX
Knx/DatapointTypes/Dpt8BitEnumeration/DptLightApplicationArea.cs
460
C#
using AutoSaveCommandsApi.Models; using Microsoft.EntityFrameworkCore; namespace AutoSaveCommandsApi { // >dotnet ef migration add testMigration public class DomainModelMsSqlServerContext : DbContext { public DomainModelMsSqlServerContext(DbContextOptions<DomainModelMsSqlServerContext> opt...
32.296296
118
0.644495
[ "MIT" ]
damienbod/Angular2AutoSaveCommands
AutoSaveCommandsApi/DomainModelMsSqlServerContext.cs
874
C#
using LinqInfer.Learning.Classification; using LinqInfer.Learning.Features; using LinqInfer.Maths; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace LinqInfer.Learning { public static class LearningExtensions { /// <summary> /// Convert...
37.37037
105
0.670961
[ "MIT" ]
roberino/linqinfer
src/LinqInfer/Learning/LearningExtensions.cs
1,011
C#
using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Notify { /// <summary> /// 电脑网站支付页面回跳参数 /// 更新时间:2019-10-10 /// https://docs.open.alipay.com/203/107090/ /// 暂缺根据官方文档(https://opensupport.alipay.com/support/knowledge/20070/201602425007?ant_source=zsearch) /// 参考:手机网站支付同步通知参数...
23.788235
104
0.492582
[ "MIT" ]
lotosbin/payment
src/Essensoft.AspNetCore.Payment.Alipay/Notify/AlipayTradePagePayReturn.cs
2,216
C#
using System.Linq; using System.Threading.Tasks; using IoTHubClientGeneratorSDK; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace IoTHubClientGenerator { partial class IoTHubPartialClassBuilder { private void CreateReportedPropert...
47.348485
158
0.58688
[ "MIT" ]
AlexPshul/IoTHubClientGenerator
IoTHubClientGenerator/CreateReportedProperties.cs
3,127
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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 righ...
45.953846
156
0.734181
[ "MIT" ]
MikkoVirenius/ptv-1.7
src/PTV.Database.DataAccess/Translators/OpenApi/Channels/OpenApiServiceChannelAreaTranslator.cs
2,989
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
26.706897
90
0.531633
[ "Apache-2.0" ]
Frunck8206/WeiXinMPSDK
src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Tcb/TcbJson/WxFileJsonResult.cs
3,294
C#
using System.Threading.Tasks; namespace NodeLibrary.Native { public interface IBLEUtils { Task<MetaSenseNode> NodeFactory(NodeInfo devicInfo); Task<NodeInfo> DeviceInfoFromMac(string mac); Task<bool> PairDevice(NodeInfo dev); } }
24.272727
60
0.700375
[ "BSD-3-Clause" ]
metasenseorg/MetaSense
MetaSenseApps/Core.NodeLibrary/Native/IBLEUtils.cs
269
C#
// **************************************************************** // This is free software licensed under the NUnit license. You // may obtain a copy of the license as well as information regarding // copyright ownership at http://nunit.org. // **************************************************************** using S...
26.506494
83
0.626164
[ "MIT" ]
acken/AutoTest.Net
lib/NUnit/src/NUnit-2.5.9.10348/src/GuiRunner/nunit-gui/DetailResults.cs
2,041
C#
using Assets.Scripts.Define; using Eternity.FlatBuffer; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class NpcShopElementGrid : MonoBehaviour { /// <summary> /// 商品品质 /// </summary> protected Image m_Quality; /// <summary>...
33.984127
180
0.617001
[ "Apache-2.0" ]
fqkw6/RewriteFrame
other/Scripts/View/Shop/NpcShopElementGrid.cs
6,577
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 ...
53.588235
263
0.809733
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-live/Live/Transform/V20161101/DescribeLiveDomainTranscodeDataResponseUnmarshaller.cs
2,733
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading.Tasks; using Dolittle.Runtime.Execution; using Microsoft.Extensions.Logging; using Dolittle.Runtime.Services; using Grpc.Core; using Microsoft.Ex...
47.551331
210
0.64545
[ "MIT" ]
dolittle/Runtime
Source/Embeddings.Processing/EmbeddingsService.cs
12,506
C#
using System.Collections.Generic; using System.Threading.Tasks; using Paladyne.TaskManager.Api.Domain.Models; using Paladyne.TaskManager.Api.Domain.Models.Queries; namespace Paladyne.TaskManager.Api.Domain.Repositories { public interface IProductRepository { Task<QueryResult<Product>> ListAsync(Product...
31.4375
66
0.741551
[ "MIT" ]
aramis2019/supermarket-api
src/Paladyne.TaskManager.Api/Domain/Repositories/IProductRepository.cs
503
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 Microsoft.AspNetCore.Mvc.DataAnnotations; using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { ...
38.4375
101
0.693496
[ "MIT" ]
48355746/AspNetCore
src/Mvc/shared/Mvc.Core.TestCommon/TestClientModelValidatorProvider.cs
1,230
C#
using System; using System.IO; using System.Reflection; using Chromely.CefSharp.Winapi.BrowserWindow; using Chromely.Core; using Chromely.Core.Helpers; using Chromely.Core.Host; using ChromelySmallSingleExecutable.Features.App.Models; using ChromelySmallSingleExecutable.Features.Bootstrap; using ChromelySmallSingleExe...
34.957143
105
0.608909
[ "MIT" ]
pkudrel/ChromelySmallSingleExecutable
src/ChromelySmallSingleExecutable/Program.cs
2,449
C#
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Text.Json.Serialization; namespace Plotly.Blazor.Traces.PieLib.Hover...
39.49537
99
0.510139
[ "MIT" ]
HansenBerlin/PlanspielWebapp
Plotly.Blazor/Traces/PieLib/HoverLabelLib/Font.cs
8,531
C#
using System; namespace Travelopedia_API.Areas.HelpPage.ModelDescriptions { /// <summary> /// Describes a type model. /// </summary> public abstract class ModelDescription { public string Documentation { get; set; } public Type ModelType { get; set; } public string Name { ...
21.1875
59
0.625369
[ "MIT" ]
spuranik0710/Travelopedia
Travelopedia-API/Travelopedia-API/Areas/HelpPage/ModelDescriptions/ModelDescription.cs
339
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class life_controler : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
14.529412
45
0.704453
[ "MIT" ]
kwantum0/GGJ17
Assets/life_controler.cs
249
C#
// Fen's note: This is straight out of .NET Core 3 with no functional changes. I'm trusting it to be correct and // working, and I'm not gonna touch it even for nullability. #nullable disable // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MI...
32.715084
112
0.568477
[ "MIT" ]
FenPhoenix/AngelLoader
FMScanner/FastZipReader/Deflate64Managed/Deflate64ManagedStream.cs
5,856
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Internal; using Piranha; ...
30.99827
77
0.403472
[ "MIT" ]
AdaptiveApi/piranha.core
data/Piranha.Data.EF.MySql/Migrations/20180331212736_AddCLRContentType.Designer.cs
17,919
C#
namespace TileGame.Items { public struct ItemAssembly { public ItemAssembly(string[] spawnableItems, float spawnFrequency, bool spawnPlayerWithItems, int playerStartItemAmount) { SpawnableItems = spawnableItems; SpawnFrequency = spawnFrequency; SpawnPlayerWit...
33.157895
128
0.653968
[ "MIT" ]
PascalPieper/Portfolio_TileGame
TileGame/Items/ItemAssembly.cs
632
C#
using System; using System.Collections.Generic; using System.Linq; using Mono.Cecil; namespace MethodBoundaryAspect.Fody.Ordering { public class AspectInfo { private const string AspectCanTHaveRoleAndBeOrderedBeforeOrAfterThatRole = "Aspect '{0}' can't have role '{1}' and be ordered before ...
39.152174
142
0.650379
[ "MIT" ]
chloeffl/MethodBoundaryAspect.Fody
src/MethodBoundaryAspect.Fody/Ordering/AspectInfo.cs
5,403
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by ...
44.940443
336
0.597682
[ "Apache-2.0" ]
tarunchopra/Vs2017-Issue
DocumentFormat.OpenXml/src/ofapi/Validation/ValidationResources.Designer.cs
32,449
C#
// Copyright (c) MASA Stack All rights reserved. // Licensed under the Apache License. See LICENSE.txt in the project root for license information. namespace Masa.Auth.Service.Admin.Application.Sso.Commands; public record RemoveCustomLoginCommand(RemoveCustomLoginDto CustomLogin) : Command { }
33.111111
98
0.805369
[ "Apache-2.0" ]
masastack/MASA.Auth
src/Services/Masa.Auth.Service.Admin/Application/Sso/Commands/RemoveCustomLoginCommand.cs
300
C#
/* Copyright (c) 2006 - 2008 The Open Toolkit library. 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, pub...
37.326592
173
0.51478
[ "MIT" ]
LayoutFarm/PixelFarm
src/PixelFarm/BackEnd.MiniOpenTK/src/OpenTK/Math/Quaterniond.cs
49,831
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using CampaignManager.App.Models; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft....
34.318182
126
0.625166
[ "MIT" ]
Maissae/CampaignManager
src/CampaignManager.App/Areas/Identity/Pages/Account/ConfirmEmailChange.cshtml.cs
2,265
C#
namespace DSA_attendance_system { partial class dashboard { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
51.044643
158
0.648767
[ "Apache-2.0" ]
GunarakulanGunaretnam/qr-based-attendance-system-for-dreamspace
2-attendance-management-system-c#/DSA-attendance-system/dashboard.Designer.cs
5,719
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("02...
38.135135
84
0.743444
[ "Apache-2.0" ]
kaliopa1983/Programming-Fundamentals
09.Lab Objects and Classes/02. Randomize Words/Properties/AssemblyInfo.cs
1,414
C#
using System; using MAVN.Service.Campaign.MsSqlRepositories; using Microsoft.EntityFrameworkCore; namespace MAVN.Service.Campaign.Tests.MsSqlRepositories.Fixtures { public class CampaignContextFixture : IDisposable { public CampaignContext BonusEngineContext => GetInMemoryContextWithSeededData(); ...
28.538462
88
0.647799
[ "MIT" ]
IliyanIlievPH/MAVN.Service.Campaign
tests/MAVN.Service.Campaign.Tests/MsSqlRepositories/Fixtures/CampaignContextFixture.cs
1,113
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. using Microsoft.ML.Data; using Microsoft.ML.Runtime; using Microsoft.ML.Runtime.Api; using Microsoft.ML.Runtime.Dat...
46.674779
211
0.543016
[ "MIT" ]
Jungmaus/machinelearning
test/Microsoft.ML.Tests/ImagesTests.cs
42,196
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("02....
37.837838
84
0.746429
[ "MIT" ]
LuchezarVelkov/C-Sharp-Course
01 Programming Basics/11 Preparation/Progr Basics Exam - 23 July 2017/02. Choreography/Properties/AssemblyInfo.cs
1,403
C#
using System; using Netron; using QuickGraph.Concepts; namespace QuickGraph.Layout.ConnectorChoosers { /// <summary> /// Defines a connector chooser class /// </summary> /// <remarks> /// The connector chooser is, given a <see cref="Connection"/> and /// two <see cref="Shape"/> instances, find the bes...
26.806452
71
0.628159
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v2
src/quickgraph/QuickGraph.Layout/ConnectorChoosers/IConnectorChooser.cs
831
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace esencialAdmin.Data.Migrations { public partial class MaxLength : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string...
31.153846
71
0.511728
[ "Apache-2.0" ]
Che4ter/PAWI
src/esencialAdmin/Data/Migrations/20171025132130_MaxLength.cs
1,622
C#
using System.ComponentModel.DataAnnotations; namespace BookFast.Api.Models { public class FacilityData { /// <summary> /// Facility name /// </summary> [Required] [StringLength(100, MinimumLength = 3)] public string Name { get; set; } /// <summary> ...
23.380952
49
0.5
[ "MIT" ]
dzimchuk/book-fast-api
src/BookFast.Api/Models/FacilityData.cs
984
C#
/* Copyright 2020-present MongoDB Inc. * * 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 wr...
36.844765
115
0.593964
[ "Apache-2.0" ]
Magicianred/mongo-csharp-driver
tests/MongoDB.Driver.Tests/UnifiedTestOperations/UnifiedBulkWriteOperation.cs
10,208
C#
using Content.Shared.GameObjects.Components.Buckle; using Robust.Client.GameObjects; using Robust.Shared.GameObjects; using Robust.Shared.Interfaces.GameObjects; namespace Content.Client.GameObjects.Components.Buckle { [RegisterComponent] public class BuckleComponent : SharedBuckleComponent { priva...
27.705882
100
0.587403
[ "MIT" ]
ColdAutumnRain/space-station-14
Content.Client/GameObjects/Components/Buckle/BuckleComponent.cs
1,413
C#
using System; using System.Data; using System.Globalization; using Maestria.Data.Extensions.Internal; namespace Maestria.Data.Extensions { public static class GetInt64Extensions { public static long GetInt64( this IDataRecord dataRecord, string column, IFormatProvider provider = null) => ...
40.25
106
0.684265
[ "MIT" ]
MaestriaNet/DataExtensions
src/GetInt64Extensions.cs
966
C#
// Copyright (c) 2012-2015 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). namespace Dicom { public static class DicomFileExtensions { public static DicomFile Clone(this DicomFile original) { var df = new DicomFile(); df.FileMetaInfo.Add(o...
28.833333
88
0.641618
[ "BSD-3-Clause" ]
cuilishen/fo-dicom
DICOM/DicomFileExtensions.cs
521
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("Pra...
38.216216
84
0.751768
[ "MIT" ]
GeorgiGarnenkov/ProgrammingFundamentals
DataTypesAndVariablesExercise/PracticeCharsAndStrings/Properties/AssemblyInfo.cs
1,417
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TarkovPingTester { class ServerPingData : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private strin...
21.883212
66
0.431955
[ "MIT" ]
tarkov-dev/TarkovPingTester
TarkovPingTester/ServerPingData.cs
3,000
C#
namespace RelhaxModpack { partial class LoadingGifPreview { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
44.253521
162
0.623488
[ "Apache-2.0" ]
Arkhorse/RelhaxModpack
RelhaxLegacy/RelicModManager/Forms/GifPreview.Designer.cs
3,144
C#
//------------------------------------------------------------------------------ // <copyright file="_Win32.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace System.Net { ...
44.722222
80
0.534161
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/net/System/Net/_Win32.cs
805
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using TMPro; using DG.Tweening; using UnityEngine.UI; public class DebugPopup : ButtonBase { public OpenState openState { get; private set; } public Vector2 size { get; } public Func<string> message ...
25.265823
79
0.523046
[ "MIT" ]
tada0389/TheLegendOfKawaz
TheLegendOfKawaz/Assets/Scripts/KoitanLib/Scripts/Debug/DebugPopup.cs
1,998
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace MessageSoftUni { class Program { static void Main(string[] args) { string input = Console.ReadLine(); whi...
27.5
70
0.422173
[ "MIT" ]
Malin-Naydenov/Regex
MessageSoftUni/Program.cs
2,257
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Azure.Storage.Blobs.Models { internal class GetBlobContainersAsyncCollection : StorageCollectionEnumerator<BlobContainerItem> { ...
33.333333
100
0.628
[ "MIT" ]
SanjayHukumRana/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/Models/GetBlobContainersAsyncCollection.cs
1,502
C#
// CS0144: Cannot create an instance of the abstract class or interface `ITest' // Line: 9 // Compiler options: -r:CS0144-3-lib.dll public class SampleClass { public void Main () { ITest modelo; modelo= new ITest (); } }
21.181818
79
0.67382
[ "Apache-2.0" ]
121468615/mono
mcs/errors/cs0144-3.cs
233
C#
// <auto-generated /> using System; using BugBlaze.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace BugBlaz...
35.730366
95
0.443549
[ "MIT" ]
kysu1313/BlazinAsp
Data/Migrations/20210207041700_UpdatingParams.Designer.cs
13,651
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> //--...
43.90625
189
0.615302
[ "MIT" ]
jackxriot/nucleuscoop
Master/Nucleus.Coop.PkgManager/Properties/Resources.Designer.cs
2,812
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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
39.109375
146
0.673991
[ "Apache-2.0" ]
budorcas/steeltoe
src/Common/src/Common.Http/Discovery/DiscoveryHttpMessageHandler.cs
2,505
C#
namespace Titanosoft.AspCacheManager { public interface ICacheExpirationBuilder { ICacheManagerBuilder Builder { get; set; } } }
21.285714
50
0.704698
[ "MIT" ]
cdwaddell/AspCacheManager
src/AspCacheManager/ICacheExpirationBuilder.cs
151
C#
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace RO.Web { public partial class AdmMsgCenter : RO.Web.PageBase ...
19.795918
61
0.723711
[ "Apache-2.0" ]
fintrux-team/Low-Code-Development-Platform
Web/AdmMsgCenter.aspx.cs
970
C#
using Microsoft.Extensions.Logging; using Moq; using RectBinPacker.Interfaces; using RectBinPacker.Services.Solver; using RectBinPacker.Validators; using System.Collections.Generic; using Xunit; namespace RectBinPacker.Tests.Integration { public class SolverServiceTests { private IItem CreateNewMockIIt...
34.324561
166
0.578584
[ "CC0-1.0" ]
kernja/rectangle-bin-packer-core
test/RectBinPacker.Tests.Integration/SolverServiceTests.cs
3,913
C#
using DB.Api.Application.Queries; using FluentValidation; namespace DB.Api.Application.Validators.Queries { public class GetAvailabilityUsernameQueryValidator : AbstractValidator<GetAvailabilityUsernameQuery> { public GetAvailabilityUsernameQueryValidator() { RuleFor(query => query...
28.111111
104
0.628458
[ "MIT" ]
OmniChannelChatBot/DBApi
src/DB.Api/Application/Validators/Queries/GetAvailabilityUsernameQueryValidator.cs
508
C#
using UnityEngine; using HutongGames.PlayMaker; using DG.Tweening; namespace HutongGames.PlayMaker.Actions { [ActionCategory("DOTween")] [Tooltip("Moves the target's position to the given value, tweening only the Y axis. ")] [HelpUrl("http://dotween.demigiant.com/documentation.php")] public class DOTwe...
46.079295
638
0.653346
[ "MIT" ]
H1NIVyrus/BRKDWNSANDBRKUPS
Assets/Tools/DOTweenPlaymakerActions/Actions/DOTween/DOTweenTransformMoveY.cs
10,460
C#
//------------------------------------------------------------------------------ // <auto-generated> // קוד זה נוצר על-ידי כלי. // גירסת זמן ריצה:4.0.30319.42000 // // ייתכן ששינויים בקובץ זה גרמו לפעולה לא תקינה ויאבדו אם // הקוד נוצר מחדש. // </auto-generated> //--------------------------------------...
33.857143
109
0.459916
[ "MIT" ]
yardenavraham/CounterCalories
PL/obj/Debug/PL_Content.g.i.cs
562
C#
 using NoPorn.Mvc.ApplicationService; using NoPorn.Mvc.Models; namespace NoPorn.Mvc.ApplicationHelper; public class ImageAppService : IImageAppService { public async Task<string> UploadImageForGirlAsync(int girlId, string webRootPath, IFormFile file) { var folderRelativePath = $"images/{girlId}"; ...
39.369565
119
0.680287
[ "MIT" ]
Kit086/NoPorn
NoPorn.Mvc/ApplicationService/ImageAppService.cs
1,813
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Attack : MonoBehaviour { public float dmgValue = 4; public GameObject throwableObject; public Transform attackCheck; private Rigidbody2D m_Rigidbody2D; public Animator animator; public bool canAttack = true; public bool...
25.014085
168
0.711149
[ "MIT" ]
Gabo3001/Nightmare-School
Assets/MetroidvaniaController/Scripts/Player/Attack.cs
1,778
C#
using System; namespace System.Diagnostics.CodeAnalysis { /// <summary> /// Specifies that the attributed code should be excluded from code coverage /// collection. Placing this attribute on a class/struct excludes all /// enclosed methods and properties from code coverage collection. /// </summar...
33.136364
167
0.703704
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/sys/system/Diagnostics/CodeAnalysis/ExcludeFromCodeCoverageAttribute.cs
729
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("CS2.02.AnonymousMethods")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration(...
37.296296
82
0.744786
[ "MIT" ]
m-ishizaki/CS22XSamples
CS2/CS2.02.AnonymousMethods/Properties/AssemblyInfo.cs
1,009
C#
using Nmars.Instructions.Abstraction; namespace Nmars.Instructions { public class Andi : MipsInstruction { public override string Name => "Bitwise and immediate"; public override string Description => "Bitwise ands a register and an immediate value and stores the result in a regist...
39.785714
97
0.666068
[ "Unlicense" ]
trooper982/nmaps
Nmars/Instructions/Andi.cs
559
C#
namespace EZRATServer.Forms { partial class ShellCommand { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
43.813725
170
0.593645
[ "MIT" ]
Exo-poulpe/EZRAT
EZRATServer/Forms/ShellCommand.Designer.cs
4,471
C#
using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Logging; using SFA.DAS.ApprenticeCommitments.Data.Models; using SFA.DAS.ApprenticeCommitments.Messages.Events; using SFA.DAS.NServiceBus.Services; namespace SFA.DAS.ApprenticeCommitments.Application.DomainEvents.Handlers {...
48.652174
155
0.706583
[ "MIT" ]
SkillsFundingAgency/das-apprentice-commitments-api
src/SFA.DAS.ApprenticeCommitments/Application/DomainEvents/Handlers/PublishApprenticeshipConfirmationCommencedEvent.cs
3,359
C#
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Data; using System.Text; using System.Threading.Tasks; #nullable disable namespace YandereSaveEditor { public class CustomCharacter { public static void SetYanHair(string file, string HairID) { ...
40.25
116
0.622153
[ "BSD-3-Clause" ]
BTELNYY/yansimsavegameeditor
YandereSaveEditor/CustomCharacter.cs
1,934
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 ...
27.509677
88
0.672842
[ "MIT" ]
restran/lucene-file-finder
Lucene.Net 2.4.0/Search/Explanation.cs
4,264
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/d3d12.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { publ...
30.058824
145
0.710372
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/d3d12/D3D12_TEX2DMS_ARRAY_RTV.cs
513
C#
namespace GSWolves_Viewer { partial class login { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
56.323308
173
0.619944
[ "MIT" ]
casp3r0x0/GSWolves
GSWolves Number 9/GSWolves Viewer/login.Designer.cs
14,984
C#
using Newtonsoft.Json; namespace AzDevOpsWiReader.Shared { public enum Mode { WorkItems, Users, History } public class Config { public OrgsWithPAT[] OrgsWithPATs { get; set; } public string Query { get; set; } public Mode Mode { get; set; } public string LinkType { get; set;...
26.891473
370
0.519746
[ "MIT" ]
jenkoc/azdevops-wi-reader
shared/Config.cs
3,469
C#
using System; namespace Rgb { public static class RgbConverter { public static byte[] A8ToBGRA32(byte[] input, int width, int height) { byte[] output = new byte[width * height * 4]; A8ToBGRA32(input, width, height, output); return output; } public unsafe static void A8ToBGRA32(byte[] input, int wid...
25.604538
100
0.57349
[ "MIT" ]
Bluscream/UtinyRipper
uTinyRipperGUI/ThirdParty/Texture converters/RgbConverter.cs
15,798
C#
using UnityEngine; using UnityEditor; using System.Collections.Generic; using System.Linq; using com.spacepuppy; using com.spacepuppy.Utils; namespace com.spacepuppyeditor.Core { [CustomPropertyDrawer(typeof(EnumFlagsAttribute))] public class EnumFlagsPropertyDrawer : PropertyDrawer { public ov...
28.135135
118
0.638809
[ "MIT" ]
lordofduct/spacepuppy-unity-framework-4.0
Framework/com.spacepuppy.core/Editor/src/Core/EnumFlagsPropertyDrawer.cs
1,043
C#
using System; namespace AtcSimController.SiteReflection.Models { /// <summary> /// Aircraft Model Specifications /// </summary> public sealed class AircraftSpecification { /// <summary> /// Default speed for aircraft when on final (kts) /// </summary> private int _a...
29.397436
124
0.532054
[ "BSD-3-Clause" ]
corygehr/ATC-SIM-AI
ATC-SIM AI/SiteReflection/Models/AircraftSpecification.cs
2,295
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. using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis...
37.40458
195
0.771633
[ "MIT" ]
MichaelSimons/linker
src/ILLink.CodeFix/BaseAttributeCodeFixProvider.cs
4,902
C#
using UnityEngine; using System.Collections; public class CameraController : MonoBehaviour { /// <summary> /// /// </summary> public float RotateSpeed = 1.0f; /// <summary> /// /// </summary> public float MovementSpeed = 1.0f; public bool IsModeEnabled { get; set...
26.473684
121
0.605368
[ "MIT" ]
samoatesgames/Ludumdare-29
Assets/Scripts/Camera/CameraController.cs
2,012
C#
using System; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Runtime.Caching; using Force.Crc32; using YamlDotNet.Core; using YamlDotNet.Serialization; namespace sharexserv { public static class Program { private class Config { public string listener_prefix = "http://+:...
23.955882
93
0.620258
[ "MIT" ]
stanriders/sharexserv
sharexserv/Program.cs
8,147
C#
// Generated by gencs from sensor_msgs/JoyFeedbackArray.msg // DO NOT EDIT THIS FILE BY HAND! using System; using System.Collections; using System.Collections.Generic; using SIGVerse.ROSBridge; using UnityEngine; using SIGVerse.ROSBridge.sensor_msgs; namespace SIGVerse.ROSBridge { namespace sensor_msgs { [Syst...
22.244444
91
0.746254
[ "MIT" ]
shiori-yokota/CookingTask
Assets/SIGVerse/Common/ROSBridge/messaging/sensor_msgs/JoyFeedbackArray.cs
1,001
C#
namespace PersonalRecipeDatabase.Models; public class ErrorViewModel { public string? RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); }
20.555556
66
0.756757
[ "MIT" ]
crixlis/PersonalRecipeDatabase
Models/ErrorViewModel.cs
185
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MOBA_CSharp_Server.Library.ECS; namespace MOBA_CSharp_Server.Game { public class Poison : Effect { public int UnitID { get; private set; } float attack; public Poi...
23.42
133
0.538856
[ "MIT" ]
LaudateCorpus1/MOBA_CSharp_Unity
MOBA_CSharp_Server/MOBA_CSharp_Server/Game/UnitComponent/Combat/Effects/Poison.cs
1,173
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public Drive DriveScript; // Start is called before the first frame update void Start() { DriveScript = gameObject.GetComponent<Drive>(); } void Update() ...
23.12
56
0.640138
[ "MIT" ]
gwalek/GrashKart
Assets/PlayerController.cs
580
C#
using System.ComponentModel.DataAnnotations.Schema; using TrackableEntities.Client; namespace WebApiSample.Shared.Entities.Models { [Table("OrderDetail")] public partial class OrderDetail : EntityBase { public int OrderDetailId { get { return _OrderDetailId; } set { if (Equals(value, _Ord...
19.478261
78
0.651339
[ "MIT" ]
ERobishaw/trackable-entities
Samples/VS2013/WebApiSample/WebApiSample.Shared.Entities.Net45/Models/OrderDetail.cs
2,240
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
48.649123
221
0.776776
[ "Apache-2.0" ]
slang25/aws-sdk-net
sdk/src/Services/KinesisAnalytics/Properties/AssemblyInfo.cs
2,773
C#
using UnityEngine; using System.Collections; using System; public enum TileType { property, free, goJail, inJail, start, tax, chance, chest }
10.133333
25
0.723684
[ "MIT" ]
VulcanStorm/BOTMonopoly
Assets/TileType.cs
154
C#
using System; using System.Collections.Generic; using System.Text; namespace EPlast.BLL.Models { public class FacebookUserInfo { public string AccessToken { get; set; } public string DataAccessExpirationTime { get; set; } public string Email { get; set; } public string ExpiresI...
30.304348
60
0.61406
[ "MIT" ]
Toxa2202/plast
EPlast/EPlast.BLL/Models/FacebookUserInfo.cs
699
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DatasetWriter.Models { public class Contribution { public int ContributionID { get; set; } public string Contributor { get; set; } public string City { get; set; } ...
80.065789
193
0.599746
[ "MIT" ]
CriticalPathTraining/DevInADay
Modules/04_RealtimeDashboards/Demo/DatasetWriter/DatasetWriter/Models/CampaignContributions.cs
66,102
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; public class IceCrystalScript : MonoBehaviour { Tilemap tm; GridLayout gridLayout; public Tilemap frozenTm; public TileBase frozenBL; public TileBase frozenBR; public TileBase frozenTL; ...
61.741722
147
0.628875
[ "MIT" ]
Ferretex/Ice-Peak-Game
Assets/Scripts/IceCrystalScript.cs
9,323
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace VoteTracking ...
33.909091
109
0.670241
[ "MIT" ]
peteraritchie/introduction-to-service-fabric
src/VoteTracking/Startup.cs
1,494
C#
namespace Swan.Extensions; /// <summary> /// Provides various extension methods for value types and structs. /// </summary> public static class ValueTypeExtensions { /// <summary> /// Clamps the specified value between the minimum and the maximum. /// </summary> /// <typeparam name="T">The type of the...
43.82243
98
0.640435
[ "MIT" ]
unosquare/swan
src/Swan.Core/Extensions/ValueTypeExtensions.cs
4,691
C#
using System; using System.Collections.Generic; using Ecobit_Blockchain_Frontend.Factories; using Ecobit_Blockchain_Frontend.Models; using NUnit.Framework; namespace Ecobit_Blockchain_Frontend_Test.Factories { [TestFixture] public class SupplyChainFactoryTest { [Test] public void ShouldOrd...
38.06383
111
0.602571
[ "Apache-2.0" ]
bramerto/ecobit-blockchain
ecobit-blockchain-front-end/Ecobit-Blockchain-Frontend-Test/Factories/SupplyChainFactoryTest.cs
1,791
C#
namespace AllOverIt.Aws.Cdk.AppSync { /// <summary>Provides available authorization directive modes.</summary> public enum AuthDirectiveMode { /// <summary>OIDC authorization mode.</summary> Oidc, /// <summary>API KEY authorization mode.</summary> ApiKey, /// <summ...
25.222222
76
0.61674
[ "MIT" ]
mjfreelancing/AllOverIt
Source/AllOverIt.Aws.Cdk.AppSync/AuthDirectiveMode.cs
456
C#
using BeetleX.Clients; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeetleX { public class SocketFactory { public static IServer CreateTcpServer(IServerHandler handler, IPacket packet, ServerOptions options = null) ...
31.218182
147
0.587653
[ "Apache-2.0" ]
5118234/BeetleX
src/BeetleX/ServerFactory.cs
3,436
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharperArchitecture.CodeList; using SharperArchitecture.CodeList.Attributes; using SharperArchitecture.Tests.CodeList.Attributes; namespace SharperArchitecture.Tests.CodeList.Entities { [CodeL...
30.060606
135
0.745968
[ "MIT" ]
maca88/PowerArhitecture
Source/SharperArchitecture.Tests/SharperArchitecture.Tests.CodeList/Entities/CustomLanguageFilter.cs
994
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Samples.Net { /// <summary> /// VERY basic implementation of a PriorityList, shouldn't really be used by anyone else right now. /// </summary> /// <typeparam name="Priority">Type u...
29.44086
118
0.542732
[ "MIT" ]
TristanPearce/Samples.Net
Samples.Net/Utils/PriorityList.cs
2,740
C#
using Abp.Domain.Entities; using Abp.Domain.Repositories; using Abp.EntityFrameworkCore; using Abp.EntityFrameworkCore.Repositories; namespace SalesManagement.EntityFrameworkCore.Repositories { /// <summary> /// Base class for custom repositories of the application. /// </summary> /// <typeparam name=...
40.4
148
0.71349
[ "MIT" ]
NguyenVanTung11041998/SalesManaementApi
aspnet-core/src/SalesManagement.EntityFrameworkCore/EntityFrameworkCore/Repositories/SalesManagementRepositoryBase.cs
1,618
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Localization; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions...
34.529825
130
0.577685
[ "BSD-3-Clause" ]
wael101/OrchardCore
src/OrchardCore.Modules/OrchardCore.Queries/Controllers/AdminController.cs
9,841
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
40.671875
181
0.61237
[ "MIT" ]
MasuqaT-NET/BlogExamples
Windows/SparrowChart/CustomizeLegend/Properties/Resources.Designer.cs
3,247
C#