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.Goog...
39.677419
352
0.705691
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Composer/V1Beta1/Outputs/WebServerConfigResponse.cs
1,230
C#
// Amplify Shader Editor - Visual Shader Editing Tool // Copyright (c) Amplify Creations, Lda <info@amplify.pt> using UnityEngine; using UnityEditor; using System; namespace AmplifyShaderEditor { public enum TexReferenceType { Object = 0, Instance } public enum MipType { Auto, MipLevel, MipBias, Der...
32.661506
240
0.691136
[ "MIT" ]
affloeck/Vanish
Assets/Plugins/AmplifyShaderEditor/Plugins/Editor/Nodes/Textures/SamplerNode.cs
46,412
C#
namespace Citrina { /// <summary> /// Complaint reason. Possible values: *'0' — spam,, *'1' — child porn,, *'2' — extremism,, *'3' — violence,, *'4' — drugs propaganda,, *'5' — adult materials,, *'6' — insult. /// </summary> public enum Market_ReportComment_reason { Spam = 0, ...
28.470588
180
0.516529
[ "MIT" ]
khrabrovart/Citrina
src/Citrina/MethodEnums/Market_ReportComment_reason.cs
498
C#
using System; namespace SkySwordKill.Next.DialogEvent { [DialogEvent("ChangeExp")] public class ChangeExp : IDialogEvent { public void Execute(DialogCommand command, DialogEnvironment env, Action callback) { int num = command.GetInt(0); Tools.instance.getPlayer().ad...
28.5625
90
0.636761
[ "MIT" ]
magicskysword/Next
Next/Scr/DialogEvent/ChangeExp.cs
459
C#
// Copyright (c) Justin Fouts All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace Clearly.Core; public abstract class Command { }
22.666667
91
0.769608
[ "MIT" ]
JFouts/clearly
src/Clearly.Core/Command.cs
206
C#
//////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2018 Tim Stair // // 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 Softw...
43.104
122
0.612101
[ "MIT" ]
stuff-to-test-org/cardmaker
CardMaker/Forms/MDIIssues.Designer.cs
5,388
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// BenefitGradePoint Data Structure. /// </summary> [Serializable] public class BenefitGradePoint : AopObject { /// <summary> /// 蚂蚁会员权益配置的ID ...
24.871795
65
0.568041
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/BenefitGradePoint.cs
1,082
C#
using uTinyRipper.SerializedFiles; namespace uTinyRipper.Converters { public static class SerializedTypeConverter { public static void CombineFormats(FormatVersion generation, ref SerializedType origin) { if (origin.OldType != null) { TypeTreeConverter.CombineFormats(generation, origin.OldType); } ...
20.5625
88
0.759878
[ "MIT" ]
Bluscream/UtinyRipper
uTinyRipperCore/Converters/Files/Serialized/SerializedTypeConverter.cs
331
C#
using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using Astove.BlurAdmin.Web; using Astove.BlurAdmin.Web.Controllers; namespace Astove.BlurAdmin.Web.Tests.Controllers { [TestClass] public class HomeControllerTest { [TestMethod] public void Index() { ...
22.44
65
0.618538
[ "MIT" ]
leandrolustosa/astove
Astove.BlurAdmin.Web.Tests/Controllers/HomeControllerTest.cs
561
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 26.11.2020. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
29.732026
209
0.56386
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_002__AS_STR/Subtract/Complete/Double/Int32/TestSet_001__fields.cs
4,551
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using RepoAutomation.Core.Helpers; using RepoAutomation.Tests.Helpers; namespace RepoAutomation.Tests; [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] [TestClass] [TestCategory("IntegrationTests")] public class ActionGenerationTests { [TestMethod] ...
28.726563
131
0.648627
[ "MIT" ]
samsmithnz/RepoAutomationDotNet
src/RepoAutomation.Tests/ActionGenerationTests.cs
3,679
C#
namespace DelegationPokerApp.Dtos { public class DelegationLevelAddOrUpdateRequestDto: DelegationLevelDto { } }
17.714286
73
0.774194
[ "MIT" ]
QuinntyneBrown/delegation-poker-app
DelegationPokerApp/Dtos/DelegationLevelAddOrUpdateRequestDto.cs
124
C#
using GroupDocs.Conversion.Cloud.Sdk.Api; using GroupDocs.Conversion.Cloud.Sdk.Client; using GroupDocs.Conversion.Cloud.Sdk.Model.Requests; using System; using System.IO; namespace GroupDocs.Conversion.Cloud.Examples.CSharp { // Upload File class Upload_File { public static void Run() { var configura...
29.484848
109
0.711202
[ "MIT" ]
rizwanniazigroupdocs/groupdocs-conversion-cloud-dotnet-samples
Examples/CSharp/Working_With_Files/Conversion_CSharp_Upload_File.cs
973
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This file was generated by VSIX Synchronizer // </auto-generated> // ------------------------------------------------------------------------------ namespace ExtensionManager { internal sealed partial class ...
42.894737
128
0.546012
[ "Apache-2.0" ]
Janek91/ExtensionPackTools
src/VS2019/source.extension.cs
815
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
37.276758
140
0.54469
[ "MIT" ]
belav/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/ExtractNarrowingUpper.Vector128.Int32.cs
24,379
C#
using System; using ElmSharp; using ERectangle = ElmSharp.Rectangle; using EColor = ElmSharp.Color; namespace System.Maui.Platform.Tizen.Native { public enum ViewHolderState { Normal, Selected, } public class ViewHolder : Box { static readonly EColor s_defaultFocusEffectColor = EColor.FromRgba(244, 244, ...
21.630058
108
0.686531
[ "MIT" ]
AswinPG/maui
System.Maui.Platform.Tizen/Native/CollectionView/ViewHolder.cs
3,742
C#
using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; using animal = AnimalRescue.Contracts.Common.Constants.PropertyConstants.Animal; using common = AnimalRescue.Contracts.Common.C...
31.289157
80
0.663458
[ "Apache-2.0" ]
daniildeli/AnimalRescue
Backend/AnimalRescue/AnimalRescue.API/Models/Animals/AnimalCreateUpdateModel.cs
2,599
C#
//namespace MosPolyHelper.Features.Splash //{ // using Android.App; // using Android.Content; // using Android.Content.PM; // using Android.OS; // using AndroidX.AppCompat.App; // using AndroidX.Preference; // using MosPolyHelper.Domains.ScheduleDomain; // using MosPolyHelper.Features.Main; // ...
40.474747
121
0.598702
[ "MIT" ]
tipapro/MosPolyHelper-old
MosPolytechHelper/Features/Splash/SplashView.cs
4,009
C#
/* * 由SharpDevelop创建。 * 用户: newmin * 日期: 2013/11/24 * 时间: 17:48 * * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件 */ using System; namespace JR.DevFw.Framework { /// <summary> /// Description of StringCreatorHandler. /// </summary> public delegate String StringCreatorHandler(); }
16.166667
50
0.642612
[ "MIT" ]
atnet/devfw
src/JR.Stand.Core/Framework/StringCreatorHandler.cs
365
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace UiPath.Web.Client20182.Models { using Newtonsoft.Json; using System.Linq; public partial class ODataRawQuer...
31.097087
399
0.559788
[ "MIT" ]
AFWberlin/orchestrator-powershell
UiPath.Web.Client/generated20182/Models/ODataRawQueryOptions.cs
3,203
C#
namespace WebPage.Domain.Enums { public enum ArticleEnum { Faq, News } }
12.5
30
0.55
[ "MIT" ]
GramescuDan/Webpage
WebPage.Domain/Enums/ArticleEnum.cs
100
C#
using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using InfluxDB.Client.Api.Domain; using InfluxDB.Client.Api.Service; using InfluxDB.Client.Core; namespace InfluxDB.Client { /// <summary> /// The client of the InfluxDB 2.0 that implement Telegrafs HTTP API e...
40.196875
139
0.598072
[ "MIT" ]
BigHam/influxdb-client-csharp
Client/TelegrafsApi.cs
25,726
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Apache License, Version 2.0. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES ...
30.214058
109
0.598287
[ "Apache-2.0" ]
dianasebo/Randoop.NET
randoop-NET-src/RandoopCommon/randoopconfigurationFile.cs
9,457
C#
using Nancy; using Parcel.Objects; namespace Parcel { public class HomeModule : NancyModule { public HomeModule() { Get["/form"] = _ => { return View["form.cshtml"]; }; Get["/parcel_display"] = _ => { ParcelVariables myParcelVariables = new ParcelVariables { ...
20.392857
63
0.56042
[ "MIT" ]
CharlesEwel/parcel
Modules/HomeModule.cs
571
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; using System.Runtime.CompilerServices; using System.Threading; using IronPython.Runtime.Bindin...
41.836134
126
0.561816
[ "Apache-2.0" ]
AnandEmbold/ironpython3
Src/IronPython/Runtime/Types/InstanceCreator.cs
9,959
C#
 using Api.Core.Dto; using System.Threading.Tasks; namespace Api.Core.Interfaces.Services { public interface IJwtFactory { Task<Token> GenerateEncodedToken(string id, string userName); } }
17.583333
69
0.71564
[ "MIT" ]
CompiledIO/webapi_boilerplate
Api.Core/Interfaces/Services/IJwtFactory.cs
213
C#
using ErrorReporting.Dal.Context.Contracts; using ErrorReporting.Dal.Manipulation.Repositories.Contracts; using ErrorReporting.Dal.Models.Base; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; n...
31.15
127
0.623997
[ "MIT" ]
JavierCanon/ExceptionReporter.NET
src/Others/ErrorsReporting.Net/ErrorReporting.Dal/Manipulation/Repositories/GenericRepository.cs
2,494
C#
using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using Polly; using Stackage.Core.Abstractions.Metrics; using Stackage.Core.Polly; namespace Stackage.Core.Tests.Polly.Metrics { public class happy_path_with_final_dimensions { private const int TimerDurationMs = 37; private Stub...
29.508197
107
0.652778
[ "MIT" ]
concilify/stackage-core-nuget
package/Stackage.Core.Tests/Polly/Metrics/happy_path_with_final_dimensions.cs
1,800
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BACnet.Tagging { internal enum CharStringEncoding : byte { ANSI = 0x00, DBCS = 0x01, JIS_C_6226 = 0x02, UCS4 = 0x03 } }
17.176471
43
0.64726
[ "MIT" ]
LorenVS/bacstack
BACnet.Tagging/CharStringEncoding.cs
294
C#
namespace Core.UX { partial class PaletteColourCreator { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
63.836943
205
0.667166
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470
Source/Krypton Toolkit Suite Extended/Shared/Tooling/UX/Colours/PaletteColourCreator.Designer.cs
50,114
C#
using System.IO; using System.Web; using System.Web.Http; using System.Web.Security; using SoftServe.ITA.PrompterPro.Domain.Models; using SoftServe.ITA.PrompterPro.Domain.Services; using SoftServe.ITA.PrompterPro.WebApplication.Models; using SoftServe.ITA.PrompterPro.WebApplication.Models.Mappers; using SoftServe.ITA....
29.227848
88
0.697272
[ "Apache-2.0" ]
PTRPlay/PrompterPro
Main/SoftServe.ITA.PrompterPro/PrompterPro.WebApplication/WebApi/PresentationController.cs
2,311
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using TicketsDemo.Data.Repositories; using TicketsDemo.Domain.Interfaces; using TicketsDemo.Models; namespace TicketsDemo.Controllers { public class RunController : Controller { private ITicketRe...
35.483516
119
0.616909
[ "MIT" ]
DGrudzynskyi/TicketsDemo
TicketsDemo/Controllers/RunController.cs
3,231
C#
using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using Bari.Core.Model.Parameters; using Bari.Core.UI; namespace Bari.Core.Model { /// <summary> /// A product is a named subset of a suite's modules /// </summary> public class Product : IPostProcessorsHolder, IPr...
36.472222
208
0.603351
[ "Apache-2.0" ]
Psychobilly87/bari
src/core/Bari.Core/cs/Model/Product.cs
6,567
C#
/* In App.xaml: <Application.Resources> <vm:ViewModelLocator xmlns:vm="clr-namespace:MusicPlaylistsDownloader" x:Key="Locator" /> </Application.Resources> In the View: DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}" You can also use Blend to d...
29.229508
82
0.577678
[ "Apache-2.0" ]
maztan/csv_cross_join_dot_net_core
CSVCrossJoin/ViewModel/ViewModelLocator.cs
1,783
C#
using System.ComponentModel.DataAnnotations; namespace commercetools.Sdk.Domain.Products.UpdateActions { public class AddPriceUpdateAction : UpdateAction<Product> { public string Action => "addPrice"; public int? VariantId { get; set; } public string Sku { get; set; } [Required...
31.1
109
0.600214
[ "Apache-2.0" ]
commercetools/commercetools-dotnet-core-sdk
commercetools.Sdk/commercetools.Sdk.Domain/Products/UpdateActions/AddPriceUpdateAction.cs
935
C#
namespace Share_Auditor { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
44.986301
167
0.611754
[ "MIT" ]
JamesMcDermott/Share-Auditor
Share Auditor/Share Auditor/Form1.Designer.cs
3,286
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Models.Api20201120 { using Microsoft.Azure.PowerShell.Cmdlets.ProviderHub.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="SkuResourceArrayResponseWithContinuation" /// />...
52.655172
253
0.596071
[ "MIT" ]
Agazoth/azure-powershell
src/ProviderHub/generated/api/Models/Api20201120/SkuResourceArrayResponseWithContinuation.TypeConverter.cs
7,491
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Animation; namespace Controls.Layout.Toolkit { [...
33.024242
123
0.526335
[ "Apache-2.0" ]
TikLiu/Win8_SurgerUI
Windows8.Controls.Toolkit/Controls.Layout.Toolkit/HubTile/HubTileItem.cs
5,451
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI; using Microsoft.Toolkit.Uwp.Helpers; using ColorHelper = Microsoft.Toolkit.Uwp.Helpers.ColorHelper; namespace ColorfulBox { public class HslConverter : IColorConverter { ...
28.060606
74
0.598272
[ "MIT" ]
Aceralon/Colorful-Box
ColorfulBox/ColorfulBox/HslConverter.cs
928
C#
using UnityEngine; using UnityEngine.UI; using UnityEngine.AI; public class Enemy : MonoBehaviour { public string name = "anonymous"; public float speed = 10; public float hp = 150; public int attackDistance = 2; public int attackPower = 10; public float attackRate = 1; private float total...
26.371859
133
0.500953
[ "Apache-2.0" ]
YunpengJing/Infinite-Expansion
Infinite-Expansion/Assets/Scripts/Enemy/Enemy.cs
5,250
C#
namespace Nezaboodka.Nevod.Services { public readonly struct TextEdit { public Location Location { get; } public string NewText { get; } public TextEdit(Location location, string newText) { Location = location; NewText = newText; } public...
23
83
0.556522
[ "Apache-2.0" ]
nezaboodka/nevod-vscode
source/server/Services/Data/TextEdit.cs
460
C#
namespace GigsApplication.Migrations { using System; using System.Data.Entity.Migrations; public partial class addAttendanceTable1 : DbMigration { public override void Up() { DropForeignKey("dbo.Attendances", "Attendee_Id", "dbo.AspNetUsers"); DropForeignKey(...
35.972222
93
0.515058
[ "Apache-2.0" ]
mohamedabotir/SongShare
GigsApplication/UnitOFWork/Migrations/202107082137040_addAttendanceTable1.cs
1,295
C#
#pragma checksum "C:\Users\KeremEROL\Desktop\MyGithub\MarketAndRestourantSystem\Abc\Abc.Northwind.Mvc.WebUI\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d6a5625cc8fb4476f348b0fe9041c550465d8bf9" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosti...
47.15625
218
0.75613
[ "Apache-2.0" ]
keremerolce/MarketAndRestourantSystem
Abc/Abc.Northwind.Mvc.WebUI/obj/Debug/netcoreapp3.1/Razor/Views/Shared/Error.cshtml.g.cs
4,527
C#
using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using UnityEngine; namespace UnityMathReference { [StructLayout(LayoutKind.Sequential)] public struct Box2 { #region Properties public Vec2 center, size; #endregion #region Constructors public Box2(...
18.043478
41
0.73012
[ "MIT" ]
zezba9000/UnityMathReference
Assets/Math/Box2.cs
415
C#
using LoESoft.Client.Core.Game.Objects; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace LoESoft.Client.Core.Game.Animation { public class AnimationFrame { public Texture2D Texture { get; set; } public AnimationFrame(Texture2D texture, SpriteEffects effect = Sp...
37.375
163
0.697324
[ "MIT" ]
Devwarlt/loe-core
client/Core/Game/Animation/AnimationFrame.cs
600
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. #nullable disable using System.Diagnostics; using System.Drawing; using System.Windows.Forms.Layout; namespace Sy...
39.231527
163
0.560648
[ "MIT" ]
GrabYourPitchforks/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ButtonInternal/ButtonPopupAdapter.cs
7,966
C#
using Hatchet.GameLoop; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; namespace Hatchet.Graphics.Screen.Presets { public class SplashScreen : ScreenBase { protected TimeKeeper timeKeeper; protected string imagePath; prot...
32.754386
144
0.531601
[ "MIT" ]
TimothyJi/Project-Hatchet
Hatchet/Engine/Graphics/Screen/Presets/SplashScreen.cs
3,736
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Threading.Tasks; using BotsDotNet.Handling; namespace BotsDotNet.Test.Core.Stubs { public class BotStub : BotImpl { public BotStub(IPluginManager pluginManager) : base(pluginManager) { } publ...
29.408451
107
0.645594
[ "MIT" ]
JTOne123/botsdotnet
BotsDotNet.Test/Core/Stubs/BotStub.cs
2,090
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
42.458333
130
0.690219
[ "BSD-3-Clause" ]
N3X15/VoxelSim
OpenSim/Data/MSSQL/MSSQLAvatarData.cs
3,057
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Contoso.Core { public class EmailSender { public int Port { get; set; } public string FromAddress { get; set; } ...
14.057143
33
0.424797
[ "Apache-2.0" ]
AKrasheninnikov/PnP
Samples/Core.BulkUserProfileUpdater/Entities/EmailSender.cs
494
C#
using Dapper; using DinosaursLibrary.Domain.Entities; using DinosaursLibrary.Infrastructure.Interfaces; namespace DinosaursLibrary.Infrastructure.Repositories { public class DinosaurRepository : IDinosaurRepository { private readonly IRepositoryBase _repositoryBase; public DinosaurRepository(...
30.5
77
0.606557
[ "MIT" ]
dsrodolfo/DinosaursLibrary.Api
DinosaursLibrary.Infrastructure/Repositories/DinosaurRepository.cs
1,405
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
34.764706
143
0.571743
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/ServiceDiscovery/HttpNamespace.cs
5,910
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
51.837161
191
0.662626
[ "MIT-feh" ]
Gas-Liquids-Engineering/UnitsNet
UnitsNet.NanoFramework/GeneratedCode/Quantities/SpecificEnergy.g.cs
24,830
C#
using System.Collections.Generic; using SchoolSystem.Framework.Models.Enums; namespace SchoolSystem.Framework.Models.Contracts { /// <summary> /// Represens a Student and extends a Person, has a Grade, a collection of Marks and a way of displaying those marks. /// </summary> public interface IStudent ...
33.571429
142
0.651064
[ "MIT" ]
Camyul/Modul_2_CSharp
Design-Patterns/OldExam - Solution/SchoolSystem.Framework/Models/Contracts/IStudent.cs
707
C#
using System; using RAIN.Core; public class AICanAttack : global::AIBase { public override void Start(global::RAIN.Core.AI ai) { base.Start(ai); this.actionName = "CanAttack"; this.success = ((this.unitCtrlr.HasClose() || this.unitCtrlr.IsAltClose()) && this.unitCtrlr.HasEnemyInSight()); } }
23.384615
114
0.710526
[ "CC0-1.0" ]
FreyaFreed/mordheim
Assembly-CSharp/AICanAttack.cs
306
C#
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using MaterialDesignColors; using MaterialDesignThemes.Wpf; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ZFS.Client.LogicCore.Configuration; namespace ZFS.Client.LogicCore.Common { ...
25.031579
79
0.522708
[ "MIT" ]
HenJigg/wpf-mvvm-DeskTop-Sample
ZFS.Client/LogicCore/Common/SkinViewModel.cs
2,428
C#
using OrchardCore.Modules.Manifest; [assembly: Module( Name = "Localization", Author = ManifestConstants.OrchardCoreTeam, Website = ManifestConstants.OrchardCoreWebsite, Version = ManifestConstants.OrchardCoreVersion )] [assembly: Feature( Id = "OrchardCore.Localization", Name = "Localization"...
32.4
118
0.724691
[ "BSD-3-Clause" ]
CityofSantaMonica/OrchardCore
src/OrchardCore.Modules/OrchardCore.Localization/Manifest.cs
810
C#
namespace W3CValidationTasks.Core { /// <summary> /// Maps a local file to a remote URI. /// </summary> public class FileMapping { /// <summary> /// Gets or sets the local file. /// </summary> public string LocalFile { get; set; } /// <summary> /// Gets or sets the remote file's URI. /// </summary>...
19.263158
41
0.612022
[ "MIT" ]
ngeor/w3c-nant
W3CValidationTasks.Core/FileMapping.cs
368
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using SeoSchema; using SeoSchema.Enumerations; using SuperStructs; namespace SeoSchema.Entities { /// <summary> /// A profession, may involve prolonged training and/or a formal qualification. /// <see cref="https://schema...
57.230769
427
0.706317
[ "MIT" ]
jefersonsv/SeoSchema
src/SeoSchema/Entities/Occupation.cs
4,464
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.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics.CodeAn...
55.833028
181
0.722863
[ "MIT" ]
AmadeusW/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Services/SyntaxFacts/ISyntaxFacts.cs
30,431
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEditor; using UnityEditor.Compilation; using UnityEngine; using UnityAssembly = UnityEditor.Compilation.Assembly; namespace Mirror.Weaver { public static class CompilationFinishedHook { const string MirrorRun...
39.127907
161
0.607578
[ "MIT" ]
badagui/Mirror
Assets/Mirror/Editor/Weaver/CompilationFinishedHook.cs
6,730
C#
using System; using System.Linq; using System.Web; using System.Web.Mvc; using LibraryMVC4.Entity; using LibraryMVC4.Models; using LibraryMVC4.Repository; using System.Configuration; using System.Web.Security; using LibraryMVC4.Security; using System.Threading.Tasks; namespace LibraryMVC4.Controllers { public cla...
31.666667
165
0.533684
[ "CC0-1.0" ]
CoderESalazar/schoolibrary
LibraryMVC/Controllers/HomeController.cs
8,552
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class FieldSpawn : MonoBehaviour { public GameObject fieldObject; public GameObject columnPrefab; public GameObject rowPrefab; public FieldHole[][] fieldHoles; private int mixMoves = 0; privat...
25.795181
119
0.716721
[ "MIT" ]
drLemis/Fifteen
Assets/Scripts/FieldSpawn.cs
4,284
C#
// <copyright file="ActionRepository.cs"> // Copyright © 2013 Dan Piessens All rights reserved. // </copyright> namespace SpecBind.ActionPipeline { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using BoDi; using SpecBind.Configur...
35.816456
127
0.5607
[ "MIT" ]
icnocop/specbind
src/SpecBind/ActionPipeline/ActionRepository.cs
5,662
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-gen...
36.736842
123
0.510506
[ "MIT" ]
RomanZhu/Match-Line-Entitas-ECS
Assets/Sources/Generated/Game/Components/GameInComboComponent.cs
2,094
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Models; using BTCPayServer.Models.StoreViewModels; using BTCPayServer.Security; using BTCPayServer.Services.Stores; using BTCPayServer.Services.Wallets; using Microsoft.AspNetCore...
35.163399
152
0.550372
[ "MIT" ]
ch4ot1c/btcpayserver
BTCPayServer/Controllers/UserStoresController.cs
5,382
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace _FileSystem2 { class FileSystem { enum ConnectionType { Parent, Child } enum Operation { Move, Copy, } class FileSy...
26.263158
118
0.483673
[ "MIT" ]
JorgeDuenasLerin/Data-Structures-and-Algorithms
Exams/2017/MasterExam/Day1/2. FileSystem/FileSystemSolution.cs
8,485
C#
using System; namespace ModelData { /// <summary> /// Модель данных пользователя /// </summary> public class User { public string id { get; set; } public string nameUser { get; set; } public string password { get; set; } } }
19.571429
44
0.562044
[ "MIT" ]
SushkowAndrey/LocalWorkingChat
LocalWorkingChat/ModelData/User.cs
300
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO; public class LoadOptionsData : MonoBehaviour { public float volumeSfx; public Options options = new Options(); // Start is called before the first frame update void OnEnable() { LoadOptionsDat...
27.8
116
0.669065
[ "MIT" ]
norman-andrians/extreme-maze-3d
script/saveManager/options/Load/LoadOptionsData.cs
836
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Script.Serialization; using Newtonsoft.Json; using Umbraco.Core; using Umbraco.Core.Cache; using Umbraco.Core.Models; using Umbraco.Core.Models.EntityBase; using Umbraco.Core.Models.PublishedContent; using Umbraco.Co...
41.813953
152
0.58867
[ "MIT" ]
filipesousa20/Umbraco-CMS-V7
src/Umbraco.Web/Cache/ContentTypeCacheRefresher.cs
12,588
C#
using System.CodeDom.Compiler; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; //------------------------------------------------------------------------------ // This code was auto-generated by ApiGenerator 2.0.121.412. // // Changes to this file may cause incorrect behavior and will be ...
32.588235
80
0.554152
[ "MIT" ]
atc-net/atc-rest-api-generator-cli
sample/src/Demo.Api.Generated/Contracts/Files/Parameters/UploadSingleObjectWithFileAsFormDataParameters.cs
1,110
C#
// WinterLeaf Entertainment // Copyright (c) 2014, WinterLeaf Entertainment LLC // // All rights reserved. // // The use of the WinterLeaf Entertainment LLC OMNI "Community Edition" is governed by this license agreement ("Agreement"). // // These license terms are an agreement between WinterLeaf Entertainmen...
109.040816
819
0.763803
[ "MIT", "Unlicense" ]
RichardRanft/OmniEngine.Net
Templates/C#-Full/Winterleaf.Demo.Full/Models.User/GameCode/Server/missionLoadDM.cs
5,299
C#
using System.Collections.Generic; using System.Linq; using System.Windows.Media; using HandyControl.Controls; namespace HandyControl.Tools { /// <summary> /// 该类可以为可视化元素提供单开的功能 /// </summary> public class SingleOpenHelper { private static readonly Dictionary<string, ISingleOpen> OpenDi...
27.857143
112
0.530769
[ "MIT" ]
6654cui/HandyControl
src/Net_35/HandyControl_Net_35/Tools/Helper/SingleOpenHelper.cs
1,228
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using BuildXL.Utilities; namespace BuildXL.Cache.Roxis.Common { /// <summary> /// Batch of commands to be processed by a Roxis service /// </summary> public class CommandRequest ...
27.090909
81
0.607383
[ "MIT" ]
Microsoft-Android/BuildXL
Public/Src/Cache/Roxis/Common/CommandRequest.cs
896
C#
using Microsoft.SharePoint.Client.NetCore.Runtime; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using System.Xml; namespace Microsoft.SharePoint.Client.NetCore { [ScriptType("SP.BasePermissions", ValueObject = true, ServerTypeId = "...
28.425
123
0.450308
[ "MIT" ]
OneBitSoftware/NetCore.CSOM
Microsoft.SharePoint.Client.NetCore/BasePermissions.cs
5,687
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // 制御されます。アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更します。 [assembly: AssemblyTitle("DnfSynthe")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: ...
29.054054
56
0.748837
[ "MIT" ]
biss-git/SapiTalk
DnfSynthe/Properties/AssemblyInfo.cs
1,674
C#
/* * TileDB Storage Platform API * * TileDB Storage Platform REST API * * The version of the OpenAPI document: 2.2.19 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; using System.Collections.Generic; using Ti...
25.193182
99
0.600361
[ "MIT" ]
TileDB-Inc/TileDB-Cloud-CSharp
TileDB.Cloud.Rest/src/TileDB.Cloud.Rest.Test/Model/NotebookFavoritesDataTests.cs
2,217
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { ...
55.428571
322
0.674685
[ "MIT" ]
danielortega-msft/azure-sdk-for-net
sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.cs
3,492
C#
using System.Text; namespace Songhay.Models { /// <summary> /// Defines DBMS metadata /// </summary> public class DbmsMetadata { /// <summary> /// Gets or sets the connection string. /// </summary> /// <value> /// The connection string. /// </value> ...
31.383333
159
0.53744
[ "MIT" ]
BryanWilhite/SonghayCore
SonghayCore/Models/DbmsMetadata.cs
1,885
C#
// Copyright (c) Autofac Project. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Diagnostics; using Autofac.Core.Resolving.Pipeline; namespace Autofac.Core.Resolving { /// <summary> /...
38.402985
121
0.647105
[ "MIT" ]
RaymondHuy/Autofac
src/Autofac/Core/Resolving/IResolveOperation.cs
2,573
C#
/* // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_UTIL_RANDOM_H_ #define STORAGE_LEVELDB_UTIL_RANDOM_H_ #include <stdint.h> ...
32.073529
77
0.646951
[ "BSD-3-Clause" ]
hallipr/leveldb-mcpe
src/McpeLevelDB/Util/IRandom.cs
2,181
C#
#pragma checksum "C:\git\iot-edge-blazor\BlazorClientModule\Shared\MainLayout.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a540986250aa81aa0d44d80b21a28802ad97af2d" // <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning disable 0169 namespace Bla...
26.404494
168
0.790213
[ "MIT" ]
iot-edge-foundation/iot-edge-blazor
BlazorClientModule/obj/Debug/netcoreapp3.1/RazorDeclaration/Shared/MainLayout.razor.g.cs
2,350
C#
using System; using System.Threading.Tasks; using System.Windows.Input; using Autofac; using OpenStandup.Mobile.Controls; using OpenStandup.Mobile.DataTemplates; using OpenStandup.Mobile.Helpers; using OpenStandup.Mobile.ViewModels; using Xamarin.Forms; namespace OpenStandup.Mobile.Views { public class MainPage :...
33.596491
147
0.594778
[ "Apache-2.0" ]
mmacneil/clean-xamarin-forms
src/OpenStandup/OpenStandup.Mobile/OpenStandup.Mobile/Views/MainPage.cs
3,832
C#
namespace Nager.Country.Currencies { public class SdgCurrency : ICurrency { public string Symbol => "SDG"; public string Singular => null; public string Plural => null; public string IsoCode => "SDG"; public string NumericCode => "938"; public string Name => ...
19.222222
47
0.595376
[ "MIT" ]
sthewissen/Nager.Country
src/Nager.Country/Currencies/SdgCurrency.cs
346
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/windows.ai.machinelearning.native.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NU...
38.346154
145
0.647944
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/windows.ai.machinelearning.native/ITensorStaticsNativeTests.cs
1,996
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.297297
169
0.600785
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ReportRootGetSharePointSiteUsageStorageCollectionPage.cs
1,528
C#
using System; using System.Globalization; using Avalonia.Controls; using Avalonia.Media; using GradeManagement.Enums; using GradeManagement.ExtensionCollection; using GradeManagement.Interfaces; using GradeManagement.Models; using GradeManagement.Models.Elements; using GradeManagement.UtilityCollection; using GradeMan...
38.016892
133
0.537368
[ "MIT" ]
duck-dev/Grade-Management
src/ViewModels/AddPages/AddGradeViewModel.cs
11,255
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
35.04
259
0.583619
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NotificationContract.cs
3,504
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
30.039735
151
0.56746
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/LessThan/Complete/DECIMAL_6_1/NullableInt32/TestSet_001__fields__01__VV.cs
4,538
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("07...
38.459459
84
0.748419
[ "MIT" ]
Steffkn/TelerikAcademy
Programming/02. CSharp Part 2/07.Text-Files/07.ReplaceStartWithFinish/Properties/AssemblyInfo.cs
1,426
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace CleanArchitecture.Blazor.Application.Features.Products.EventHandlers; public class ProductCreatedEventHandler : INotificationHandler<DomainEventNotification<ProductCreate...
33.346154
118
0.762399
[ "Apache-2.0" ]
jccirs09/CleanArchitectureWithBlazorServer
src/Application/Features/Products/EventHandlers/ProductCreatedEventHandler.cs
867
C#
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Akka.NET Project"> // Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //-...
39.772727
87
0.671429
[ "Apache-2.0" ]
IgorFedchenko/akka.net
src/examples/Stocks/SymbolLookup/Properties/AssemblyInfo.cs
1,753
C#
using NPOI.SS.UserModel; using NUnit.Framework; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace Ganss.Excel.Tests { public class Tests { [SetUp] public void Setup() { Environment.CurrentDirectory = ...
34.766816
144
0.524507
[ "MIT" ]
mattaze/ExcelMapper
ExcelMapper.Tests/Tests.cs
15,508
C#
namespace TicTacToe.Web.Controllers { using System.Web.Mvc; public class TicTacToeController : BaseController { [Authorize] public ActionResult Index() { return View(); } } }
16.928571
53
0.56962
[ "Apache-2.0" ]
PankajRawat333/MicrosoftAzureTrainingKit
HOLs/HOL-BuildingSocialGame/Source/Ex2-MultiplayerPolling/End/TicTacToe.Web/Controllers/TicTacToeController.cs
239
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
37.483871
85
0.54389
[ "MIT" ]
sherikhanx/SOSCIT
CPC/Model/AppSMTP_GetByTitle_Result.cs
1,162
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.Identity; namespace RavenDB.AspNet.Identity { public partial class UserStore<TUser> : IUserPhoneNumberStore<TUser> { public Task SetPhoneNumberAsync(TUser user, string phoneNumber, CancellationToken cancellation...
29.3
142
0.599545
[ "Apache-2.0" ]
joekrie/RavenDB.AspNet.Identity-AspNet5
src/RavenDB.AspNet.Identity/UserStore.UserPhoneNumberStore.cs
1,760
C#
namespace AutoTest.ExampleLibrary.Issues.Issue015 { using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; /// <summary> /// Dummy interface to ensure checks are made for <see cref="Type.IsGenericType"/> when checking Equals. /// </summary...
26.029412
108
0.567797
[ "Apache-2.0" ]
AutoTestNET/AutoTest.ArgumentNullException
test/AutoTest.ExampleLibrary/Issues/Issue015/ImplicitEquals.cs
1,772
C#
// Copyright (c) 2017 Trevor Redfern // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace SilverNeedle.Characters.SpecialAbilities { using SilverNeedle.Utility; public class DivinersFortune : IAbility, INameByType, IComponent { private ClassLevel...
28.571429
101
0.624
[ "MIT" ]
shortlegstudio/silverneedle-web
silverneedle/lib/Characters/SpecialAbilities/DivinersFortune.cs
1,000
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...
35.448276
227
0.606031
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/SimpleNotificationService/Generated/Model/AddPermissionRequest.cs
5,140
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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...
35.055556
101
0.726624
[ "MIT" ]
cuteant/SpanNetty
src/DotNetty.Codecs.Http/WebSockets/WebSocket13FrameEncoder.cs
1,264
C#