content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MZcms.Core { /// <summary> /// 依赖注入接口 /// </summary> public interface IinjectContainer { void RegisterType<T>(); T Resolve<T>(); } }
15.894737
37
0.629139
[ "MIT" ]
MiZoneRom/MZcms
MZcms/MZcms.Core/IOC/IIinjectContainer.cs
316
C#
using Soludus.Energy; using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnergyValueProvider : MonoBehaviour, IValueProvider<float> { public EnergyValue value = null; public float GetValue() { return value.value; } public void InitValue() { ...
17.157895
71
0.696319
[ "CC0-1.0", "MIT" ]
Soludus/Soludus2Enercity
Assets/Soludus/VR Game/Value Providers/EnergyValueProvider.cs
328
C#
using System; using System.Collections.Generic; using System.Text; namespace WildFarm.Models { public class Seeds : Food { public Seeds(int quantity) : base(quantity) { } } }
14.1875
35
0.581498
[ "MIT" ]
Siafarikas/SoftUni
OOP/Polymorphism/WildFarm/Models/Food/Seeds.cs
229
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Data.Common; using System.Data.Entity; using System.Data.Entity.Infrastructure.Interception...
43.763441
229
0.609613
[ "Apache-2.0" ]
johnarthur1/NuGetGallery
src/NuGetGallery/App_Start/DefaultDependenciesModule.cs
65,120
C#
using ScadaIssuesPortal.Core.Entities; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace ScadaIssuesPortal.Web.Models { public class ReportingCaseEditVM { public List<ReportingCaseItem> CaseItems { get; set; } = new List...
36.73913
113
0.688757
[ "MIT" ]
nagasudhirpulla/wrldc_scada_issues_portal
src/WrldcScadaIssuesPortal/ScadaIssuesPortal.Web/Models/ReportingCaseEditVM.cs
847
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d2d1_3.h(1250,1) using System; using System.Runtime.InteropServices; namespace DirectN { /// <summary> /// This object supplies the values for context-fill, context-stroke, and context-value that are used when rendering SVG glyphs. /// </su...
43.794118
287
0.677636
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/ID2D1SvgGlyphStyle.cs
1,491
C#
using System; using System.Diagnostics; using System.Linq; using Deveroom.VisualStudio.Connectors; using Deveroom.VisualStudio.Diagonostics; using Deveroom.VisualStudio.Monitoring; using Deveroom.VisualStudio.ProjectSystem; using Deveroom.VisualStudio.ProjectSystem.Configuration; using Deveroom.VisualStudio.ProjectSys...
43.883212
282
0.630905
[ "MIT" ]
specsolutions/deveroom-feedback
Deveroom.VisualStudio/Generation/GenerationService.cs
6,014
C#
#if WITH_GAME #if PLATFORM_64BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { [StructLayout(LayoutKind.Explicit,Size=16)] public partial struct FVector4 { [FieldOffset(0)] public float X; [FieldOffset(4)] public float Y; [FieldOffset(8...
16.12
44
0.736973
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/FVector4.cs
403
C#
using AutoMapper; using Shouldly; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using TechRSSReader.Application.Common.Interfaces; using TechRSSReader.Application.UnitTests.Common; using TechRSSReader.Application.WeeklyBlogSummaries.Queries; using TechRSSRea...
37.419355
125
0.678017
[ "MIT" ]
Andrew-netizen/TechRSSReader
tests/Application.UnitTests/WeeklyBlogSummaries/Queries/GetLatestSummariesQueryTests.cs
2,322
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("ALDS1_1_B")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
29.054054
57
0.743256
[ "MIT" ]
yu3mars/procon
aoj/ALDS/ALDS1_1_B/Properties/AssemblyInfo.cs
1,644
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace jhray.com.Database.Entities { public class Picture { [Key] [ForeignKey("FK_Picture_Gem")] public int Id { get; set; } publi...
30
57
0.64
[ "MIT" ]
PurplePenguin4102/jhray.com
Database/Entities/Picture.cs
752
C#
using System; using Assets.HeroEditor4D.Common.CommonScripts.Springs; using HeroEditor.Common.Enums; using UnityEngine; namespace Assets.HeroEditor4D.Common.CharacterScripts { /// <summary> /// Used to play animations. /// </summary> public class AnimationManager : MonoBehaviour { public Character4D Character;...
22.636364
130
0.556359
[ "Unlicense" ]
FunzoftAli/system-of-shop
GitHub Test Project/Assets/HeroEditor4D/Common/CharacterScripts/AnimationManager.cs
3,737
C#
using Akka.Actor; using DocSearchAIO.Classes; using DocSearchAIO.Configuration; using DocSearchAIO.Services; using DocSearchAIO.Utilities; using LanguageExt.UnsafeValueAccess; using Microsoft.Extensions.Caching.Memory; using Quartz; namespace DocSearchAIO.Scheduler.PdfJobs; public class PdfCleanupJob : IJob { pri...
44.040541
110
0.667996
[ "Apache-2.0" ]
LaszloLueck/DocSearchAIO
DocSearchAIO/Scheduler/PdfJobs/PdfCleanupJob.cs
3,259
C#
// (c) Copyright HutongGames, all rights reserved. // See also: EasingFunctionLicense.txt using UnityEditor; namespace HutongGames.PlayMakerEditor { [CustomActionEditor(typeof(PlayMaker.Actions.TweenUiSize))] public class TweenUiSizeEditor : TweenEditorBase { public override bool OnGUI() ...
24.541667
63
0.629881
[ "MIT" ]
aiden-ji/oneButtonBoB
Assets/PlayMaker/Actions/Tween/Editor/TweenUiSizeEditor.cs
591
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.RevenueManagement { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = false)...
33.689655
155
0.828045
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.RevenueManagement/Submit_Customer_InvoiceInput.cs
977
C#
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
35.699653
215
0.594028
[ "MIT" ]
VirusFree/SharpDX
Source/Toolkit/SharpDX.Toolkit.Graphics/ModelReader.cs
20,565
C#
using UnityEngine; using System.Collections; public class OneWayFollow : MonoBehaviour { public GameObject target; public Vector3 followDirection = new Vector3(1,0,0); public Vector3 positionDifference; public Vector3 newLocation; public string targetName = "Mario(Clone)"; GameObject newTarget; void Reset ()...
24.978261
77
0.70148
[ "MIT" ]
rusticgames/rts
Assets/Scripts/OneWayFollow.cs
1,151
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Kooboo.CMS.Sites.Extension.Management { public class AssemblyReferenceData { public AssemblyReferenceData() { } public AssemblyReferenceData(string assemblyName, string version, par...
29.625
96
0.553586
[ "BSD-3-Clause" ]
Bringsy/Kooboo.CMS
Kooboo.CMS/Kooboo.CMS.Sites/Extension/Management/AssemblyReferenceData.cs
1,187
C#
namespace AquariumAdventure { using System.Text; public class Fish { public Fish(string name, string color, int fins) { this.Name = name; this.Color = color; this.Fins = fins; } public string Name { get; } public string Color { ...
21.870968
58
0.50295
[ "MIT" ]
DIMITRINALU/SoftUni-Projects
C#Advanced/11. AdvancedExamPreparation/AquariumAdventure/Fish.cs
680
C#
using System; using System.Numerics; namespace Snowballs { class Program { static void Main(string[] args) { int snowballsMade = int.Parse(Console.ReadLine()); BigInteger maxValue = 0; int biggestSnowballSnow = 0; int biggestSnowballTime = 0; ...
34.085714
120
0.549874
[ "MIT" ]
Wa4e7o/C--Fundamentals
Data Types and Variables - Exercise/Snowballs/Program.cs
1,195
C#
using Ow.Game.Movements; using Ow.Managers; using Ow.Net.netty.commands; using Ow.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ow.Game.Objects.Collectables { class BlueBooty : Collectable { public BlueBooty(int col...
26.869565
192
0.723301
[ "MIT" ]
yusufsahinhamza/darkorbit-emulators
DarkOrbit 7.5.3/Game/Objects/Collectables/BlueBooty.cs
620
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class EllipseContour : FaceElement { public LineRenderer lineRenderer; public int segments; public ControlPoint center, leftPoint, rightPoint, topPoint, bottomPoint; private List<ControlPoint> poi...
30.376812
113
0.643607
[ "MIT" ]
effacestudios/ImageTo3DCharacter
Assets/EllipseContour.cs
2,098
C#
namespace ICSSoft.STORMNET.Web { using System.Web.Routing; using ICSSoft.STORMNET.Web.Tools; using NewPlatform.Flexberry.Web.Routing; /// <summary> /// Класс конфигурации маршрутов приложения. /// </summary> public static class RouteConfig { /// <summary> /// Метод дл...
69.385714
134
0.747787
[ "MIT" ]
v1nnyb0y/HSE.Cources.SoftwareDesign
Lab.8.Flexberry/CodeGen/Product_4858/Product_4858/ASP.NET/App_Start/RouteConfig.cs
5,215
C#
//MIT, 2020, Brezza92 using PixelFarm.Drawing.Internal; using System; using System.Collections.Generic; using System.Text; namespace MathLayout { public class OperatorTableCreator { public void AutogenFrom(string filename) { OperatorInfoDictionary operatorInfo = new OperatorInfoDic...
37.657718
136
0.546427
[ "MIT" ]
Ferdowsur/Typography
Demo/Windows/MathLayout/MathLayout/Tools/OpeatorTableCreator.cs
5,613
C#
#nullable enable using Uno.Extensions; using Uno.UI.DataBinding; using Windows.UI.Xaml; using Uno.UI.Extensions; using Windows.UI.Xaml.Data; using System; using System.Collections.Generic; using System.Drawing; using Uno.Disposables; using System.Runtime.CompilerServices; using System.Text; using System.Linq; using F...
28.475962
145
0.703866
[ "Apache-2.0" ]
Abhishek-Sharma-Msft/uno
src/Uno.UI/UI/Xaml/Controls/ScrollViewer/ScrollViewer.iOS.cs
5,925
C#
#nullable enable using System; namespace Avalonia.LogicalTree { /// <summary> /// Event args for <see cref="IChildIndexProvider.ChildIndexChanged"/> event. /// </summary> public class ChildIndexChangedEventArgs : EventArgs { public static new ChildIndexChangedEventArgs Empty { get; } = new...
24.793103
103
0.607789
[ "MIT" ]
0x0ade/Avalonia
src/Avalonia.Base/LogicalTree/ChildIndexChangedEventArgs.cs
721
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime { public interface ITimePeriodExtractorConfiguration : IDateTimeOptionsConfiguration { ...
27.384615
112
0.705993
[ "MIT" ]
17000cyh/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimePeriodExtractorConfiguration.cs
1,070
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...
40.277778
176
0.621149
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/Latest/Inputs/AzureSqlSourceArgs.cs
4,350
C#
/****************************************************************************** * The MIT License * Copyright (c) 2003 Novell Inc. www.novell.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the Software), to deal * in the Sof...
41.981818
90
0.570377
[ "MIT" ]
dogguts/Novell.Directory.Ldap.NETStandard
src/Novell.Directory.Ldap.NETStandard/Rfc2251/RfcSubstringFilter.cs
2,311
C#
using InterflowFramework.Core.Channel.OutputPoint; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InterflowFramework.Core.Factory.Point { public class OutPointCreateInfo: PointCreateInfo<IOutputPoint> { } }
20.785714
63
0.821306
[ "Apache-2.0" ]
AlexanderMykulych/InterflowFramework
InterflowFramework/InterflowFramework/Core/Factory/Point/OutPointCreateInfo.cs
293
C#
using System; using System.Reflection; [assembly: AssemblyVersion("2.0.0.53")] [assembly: AssemblyFileVersion("2.0.0.53")]
20.833333
43
0.736
[ "MIT" ]
horseyhorsey/Hypermint.2.0
src/SharedAssemblyInfo.cs
127
C#
using System.Collections.Generic; using System.Net; using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub's Pull Request Review Comments API. /// </summary> /// <remarks> /// See the <a href="https://developer.github.com/v3/pulls/comments/">Review Comments API doc...
53.435135
200
0.663396
[ "MIT" ]
7enderhead/octokit.net
Octokit/Clients/PullRequestReviewCommentsClient.cs
19,773
C#
// ---------------------------------------------------------------------- // <copyright file="StringCommandHandler.cs"> // Copyright (c) The Loxone.NET Authors. All rights reserved. // </copyright> // <license> // Use of this source code is governed by the MIT license that can be // found in the LICENSE.t...
39.066667
132
0.613481
[ "MIT" ]
graspea/Loxone.NET
Loxone.Client/Transport/StringCommandHandler.cs
1,174
C#
//------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 所做的變更將會遺失。 // </自動產生的> //------------------------------------------------------------------------------ namespace RinnaiPortal.Area.Training.Tra...
28.088235
85
0.433508
[ "MIT" ]
systemgregorypc/Agatha-inteligencia-artificial-
agathaIA-voice/agathaiaportal/Area/Training/TrainingPrint/YearlyOkChart.aspx.designer.cs
1,229
C#
using System; using System.Collections.Immutable; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; using System.Collections.Generic; namespace Core.Works...
28.984211
89
0.514799
[ "MIT" ]
DefectiveCube/MyIDE
Core/Workspace/Extensions.cs
5,509
C#
/******************************************************************************* * Copyright 2009-2016 Amazon Services. 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 Licens...
44.063123
205
0.667873
[ "Apache-2.0" ]
claytondus/Claytondus.AmazonMWS
Claytondus.AmazonMWS.FbaInbound/FBAInboundServiceMWSClient.cs
13,263
C#
namespace Morsley.UK.People.API.Test.Fixture; public abstract class ApplicationTestFixture<TProgram> where TProgram : class { //protected ILogger Logger; //protected bool HasBus = false; //protected bool HasDatabase = false; // Test Fixture for the People Bus... //protected BusTestFix...
35.962054
132
0.609273
[ "MIT" ]
john-morsley/Users
tests/Fixtures/Morsley.UK.People.API.Test.Fixture/ApplicationTestFixture.cs
16,113
C#
namespace V5_DataPublish.Forms.Desk { partial class frmHandInsert { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summar...
45.324201
155
0.589865
[ "Apache-2.0" ]
Haxine/V5_DataCollection
V5_DataPublish/Forms/Desk/frmHandInsert.designer.cs
9,984
C#
using System; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using OmniSharp.Extensions.LanguageServer.Protocol; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; namespace OmniSharp.Extensions.LanguageServer.Client.Handlers { /// <summary> /// A delegate-...
35.267606
107
0.587061
[ "MIT" ]
Bia10/csharp-language-server-protocol
src/Client/Handlers/DelegateRequestResponseHandler.cs
2,504
C#
using System; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; using static HRM.Model.CoreDI; namespace HRM.Model { /// <summary> /// Handles reading/writing and querying the file system /// </summary> public class BaseFileManager : IFileManager { /// <s...
33.945946
134
0.537818
[ "MIT" ]
mdnm/husources-hrm
Source/HRM.Model/File/BaseFileManager.cs
2,514
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 ...
27.463415
63
0.717584
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-ehpc/EHPC/Model/V20180412/SetJobUserResponse.cs
1,126
C#
#region Imports using System; using System.Data; #endregion namespace CrazyflieDotNet.Crazyflie.TransferProtocol { public abstract class PacketPayload : IPacketPayload { private static readonly byte[] EmptyPacketPayloadBytes = new byte[0]; /// <summary> /// Gets the bytes. /// </summary> /// <returns>...
25.533333
161
0.698869
[ "MIT" ]
SupraBitKid/CrazyflieDotNet
CrazyflieDotNet/Source/CrazyflieDotNet.Crazyflie/TransferProtocol/PacketPayload.cs
1,149
C#
namespace Charlotte { partial class MainWin { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="disposing">マネージ リソースが破棄される場合 true、破棄されない場合は false です。</param> protected...
31.33871
138
0.711271
[ "MIT" ]
stackprobe/Annex
wb/t20200430_MakeMovie/MakeMovie/MakeMovie/MakeMovie/MainWin.Designer.cs
2,219
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using PaymentServiceSample.EntityFramew...
38.725
117
0.443692
[ "MIT" ]
LGinC/PaymentService
samples/PaymentServiceSample/aspnet-core/src/PaymentServiceSample.EntityFrameworkCore.DbMigrations/Migrations/20200803152922_AddedExtraPropertiesToPaymentItem.Designer.cs
94,491
C#
using AssessmentApp.WebClient.Models; using Kendo.Mvc.Extensions; using Kendo.Mvc.UI; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Web; using System.Web.Mvc; namespace AssessmentApp.WebClient.Controllers { [Authorize] public class ClassesController ...
33.97619
217
0.620533
[ "MIT" ]
thilehoffer/Student-Assessment-Web
KindAssessment/KindAssessment/Controllers/ClassesController.cs
2,856
C#
using System.Threading.Tasks; using Hangfire; using Hangfire.Console; using Hangfire.Server; using Programemein.Services.Instagram; namespace Programemein.Services.RecurringJobs { public class UploadImageToInstagramCronJob { private readonly IInstagramService instagramService; public UploadIm...
27.826087
80
0.73125
[ "MIT" ]
georgidelchev/programemein
src/Services/Programemein.Services.RecurringJobs/UploadImageToInstagramCronJob.cs
642
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using System.Linq; using System.Reactive.Disposables; using System.Text; using System.Threading.Tasks; using System.Threading; using Avalonia.Controls; using Avalonia.Controls.Platform; using Avalonia....
39.158979
146
0.535287
[ "MIT" ]
Kibnet/Avalonia
src/Avalonia.X11/X11Window.cs
47,539
C#
// Copyright (c) Source Tree Solutions, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Author: Joe Audette // Created: 2014-12-10 // Last Modified: 2016-05-16 using Microsoft.AspNetCore.Html; using Microsoft.AspNe...
33.630631
111
0.464506
[ "Apache-2.0" ]
John0King/cloudscribe.Web.Pagination
src/cloudscribe.Web.Pagination/AlphabeticPagination.cs
3,735
C#
using System; using System.Collections.Generic; namespace SugarChat.Message.Dtos { public class MessageDto { public string Id { get; set; } public string GroupId { get; set; } public string Content { get; set; } public int Type { get; set; } public string SentBy { get; ...
31.55
72
0.605388
[ "Apache-2.0" ]
SugarChat/SugarChat.Message
SugarChat.Message/Dtos/MessageDto.cs
633
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
28.166667
153
0.538757
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/GreaterThanOrEqual/Complete/NullableInt64/NullableInt32/TestSet_504__param__03__NV.cs
3,382
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...
47.145161
178
0.681834
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Kendra/Generated/Model/ResourceAlreadyExistException.cs
5,846
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class DialogueManager : MonoBehaviour { public TextMeshProUGUI nameText; public TextMeshProUGUI dialogueText; public Animator animator; private Queue<string> sentences; priva...
27.102362
84
0.585997
[ "MIT" ]
ankanx/LudumDare43
LD43/Assets/Scrips/Dialogue/DialogueManager.cs
3,442
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...
36.72093
157
0.566814
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/General/NotSupported/Vector256BooleanAsGeneric_Int16.cs
1,579
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Linq; using System.Reflection; using HermaFx.SimpleConfig.BasicExtensions; namespace HermaFx.SimpleConfig { internal class ConfigurationPropertyCollection : IEnumerable<...
34.82243
125
0.556361
[ "MIT" ]
RVINAA/HermaFx
HermaFx.SimpleConfig/ConfigurationPropertyCollection.cs
3,728
C#
using System; namespace OutronicShop.Backend.Database.Context { public class DatabaseConfiguration { public string Ip { get; } public string Username { get; } public string Password { get; } public string DBName { get; } public ushort Port { get; } public overri...
38.5
139
0.618738
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
mathieu900v/outronicshop
dotnet/srcs/OutronicShop.Backend.Database/Context/DatabaseConfiguration.cs
1,080
C#
namespace MintingUi.Client.Features.EventStream { using MintingUi.Client.Features.Base; internal partial class EventStreamState { public class AddEventAction : BaseAction { public string Message { get; set; } } } }
20.166667
48
0.706612
[ "Unlicense" ]
stefanbemelmans/MintingUi
Source/Client/Features/EventStream/Actions/AddEvent/AddEventAction.cs
244
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using Umbraco.Core.Models.EntityBase; namespace Umbraco.Core.Models { /// <summary> /// Implementation of the <see cref="IUmbracoEntity"/> f...
37.216138
162
0.536859
[ "MIT" ]
Heather-Herbert/Umbraco-CMS
src/Umbraco.Core/Models/UmbracoEntity.cs
12,916
C#
using System.Collections.Generic; using System.Threading.Tasks; using AlmOps.ConsoleApp.Tasks; using FluentAssertions; using Xunit; namespace AlmOps.ConsoleApp.UnitTests.Tasks { [Trait("Category", "UnitTests")] public class TaskBaseTest { class DummyTask : TaskBase { public ove...
35.5
145
0.586854
[ "Apache-2.0" ]
devpro/almops
test/ConsoleApp.UnitTests/Tasks/TaskBaseTest.cs
1,919
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.CommandLine.UnitTests.Internal { using System; using System.Collections.Generic; using System.Coll...
54.346835
216
0.681558
[ "MIT" ]
tmds/vstest
test/vstest.console.UnitTests/Internal/ConsoleLoggerTests.cs
21,467
C#
using Microsoft.Azure.WebJobs.Description; using System; namespace SiaConsulting.Azure.WebJobs.Extensions.SqliteExtension { [AttributeUsage(AttributeTargets.Parameter)] [Binding] public class SqliteAttribute : Attribute { public SqliteAttribute() { } [AppSetting] public string...
22.5
64
0.702778
[ "Apache-2.0" ]
dersia/sqlite-binding-extension
src/SiaConsulting.Azure.WebJobs.Extensions.SqliteExtension/SqliteAttribute.cs
362
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: io/common/integration.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = g...
38.461756
352
0.672534
[ "MIT" ]
rafaelbarrelo/passkit-csharp-grpc-sdk
lib/PKIo/Integration.g.cs
81,462
C#
namespace Pizza.Persistence { public interface IPizzaUser : IPersistenceModel { string UserName { get; set; } string Password { get; set; } } }
21.375
51
0.625731
[ "MIT" ]
dwdkls/pizzamvc
framework/Pizza.Persistence/IPizzaUser.cs
171
C#
/** * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; namespace ReShade.Setup { public partial cl...
21.094595
78
0.67713
[ "BSD-3-Clause" ]
04348/reshade_custom
setup/Select.xaml.cs
1,563
C#
using System; using Com.Bigdata.Dis.Sdk.DISCommon.DISWeb; using OBS.Runtime.Internal.Util; namespace Com.Bigdata.Dis.Sdk.DISCommon.DISWeb { public class RecordResource : RestResource { private static string DEFAULT_RESOURCE_NAME = "records"; private string resourceName; private strin...
23.311111
69
0.584366
[ "Apache-2.0" ]
huaweicloud/huaweicloud-sdk-net-dis
DotNet/DISCommon/DISWeb/RecordResource.cs
1,051
C#
public abstract class Mission : IMission { protected Mission(double scoreToComplete) { this.ScoreToComplete = scoreToComplete; } public double ScoreToComplete { get; } public abstract double EnduranceRequired { get; } public abstract double WearLevelDecrement { get; } public...
23.466667
54
0.690341
[ "MIT" ]
George221b/SoftUni-Taks
C#OOP-Advanced/Exam/Last Army/Entities/Missions/Mission.cs
354
C#
// // Authors: // Marek Habersack <mhabersack@novell.com> // // Copyright (C) 2010 Novell, Inc. (http://novell.com/) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
87.715663
3,416
0.652931
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web/Test/System.Web.Util/HttpEncoderTest.cs
38,638
C#
using System; using System.Reflection; namespace Neuralia.NClap.Utilities { /// <summary> /// Implementation of IMutableFieldInfo for fields. /// </summary> internal class MutableFieldInfo : IMutableMemberInfo { private readonly FieldInfo _field; /// <summary> /// Construc...
31.25974
93
0.553386
[ "MIT" ]
Neuralia/Neuralia.NClap
src/Neuralia.NClap/Utilities/MutableFieldInfo.cs
2,409
C#
using Code.Interfaces.Bridges.Weapon.Shoots; using UnityEngine; namespace Code.Bridges.Weapon.Shoots.Damage { internal sealed class ExplosionDamage: IDamage { // TODO: Реализовать этот класс public void Damage(GameObject gameObject, Vector3 shootPoint) { throw new System.No...
25.857143
69
0.68232
[ "Apache-2.0" ]
DSvinka/Shooter
Assets/Code/Bridges/Weapon/Shoots/Damage/ExplosionDamage.cs
384
C#
using Borlay.Arrays; using Borlay.Serialization; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Borlay.Repositories.Services { public class SecondaryRepositoryService<T> : ISecondaryRepositoryService<T>, IHasI...
34.294574
129
0.5816
[ "Apache-2.0" ]
Borlay/Borlay.Repositories.Services
Borlay.Repositories.Services/Borlay.Repositories.Services/SecondaryRepositoryService.cs
4,426
C#
using System; using System.Collections; using System.Text; using System.Xml; using System.Xml.Serialization; namespace Utility { /// <summary> /// This is a wrapper for the hashtable that you know and love that lets /// it serialize itself to an xml stream (with some difficulty, using /// an undocumented interfac...
22.272109
79
0.636836
[ "MIT" ]
ColdMatter/EDMSuite
SharedCode/XMLSerializableHashtable.cs
3,274
C#
using System; using System.Collections.Generic; using System.Linq; using Windows.Foundation.Collections; using Windows.System; using Windows.UI.Core; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace FindWord.Common { /// <summary> /// Typical imple...
42.84507
118
0.558473
[ "Apache-2.0" ]
EugeneBichel/XAML-Application-For-WindowsRT-Windows8
FindWord/WordFinder/Common/LayoutAwarePage.cs
24,338
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Rate.Repository.Abstract { class IReviewRepository { } }
15.153846
34
0.751269
[ "MIT" ]
jcnavarro/rateflicks
Rate.Repository/Abstract/IReviewRepository.cs
199
C#
// <auto-generated /> namespace Vidly.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial class AddNewE...
27.6
100
0.625604
[ "MIT" ]
SonicTheCat/Vidly-mvc-5
Vidly/Vidly/Migrations/202002121022048_AddNewEntityGenre.Designer.cs
828
C#
namespace DXDecompiler.DebugParser.Psv0 { public class DebugASInfo : DebugValidationInfo { public uint PayloadSizeInBytes { get; private set; } internal override int StructSize => 4; public static DebugASInfo Parse(DebugBytecodeReader reader) { return new DebugASInfo() { PayloadSizeInBytes = reader...
23.0625
64
0.739837
[ "MIT" ]
lanyizi/DXDecompiler
src/DebugParser/DebugParser/Psv0/DebugASInfo.cs
371
C#
// This file is part of the DSharpPlus project. // // Copyright (c) 2015 Mike Santiago // Copyright (c) 2016-2022 DSharpPlus Contributors // // 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...
38.627451
128
0.691878
[ "MIT" ]
Erisa/DSharpPlus
DSharpPlus/Exceptions/NotFoundException.cs
1,970
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JohnLambe.Util.Db { public class FlagDeletedEntityBase : IHasActiveFlag { [Key] public int Id { get; set; } public...
19.263158
55
0.699454
[ "MIT" ]
JohnLambe/JLCSUtils
JLCSUtils/JLUtilsEF/Db/FlagDeletedEntity.cs
368
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...
40.45625
171
0.613317
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Web/Latest/WebAppRelayServiceConnectionSlot.cs
6,473
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.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Components.WebAssembly.Authentication; using Microsoft.Authentication.WebAssembly.Msal; using Microsof...
60.540541
295
0.747321
[ "MIT" ]
48355746/AspNetCore
src/Components/WebAssembly/Authentication.Msal/src/MsalWebAssemblyServiceCollectionExtensions.cs
4,480
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...
38.354545
341
0.608438
[ "MIT" ]
payiAzure/azure-sdk-for-net
src/SDKs/RecoveryServices.SiteRecovery/Management.RecoveryServices.SiteRecovery/Generated/Models/EventQueryParameter.cs
4,219
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("CA...
38.243243
84
0.745583
[ "BSD-3-Clause" ]
ctapiamori/dev-tools
CATM.DevTools.Helpers/Properties/AssemblyInfo.cs
1,418
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("EP....
38.5
84
0.753247
[ "MIT" ]
EduardoPires/SignalRWindowsService
src/EP.SignalRSelfHost.Client.Web/Properties/AssemblyInfo.cs
1,389
C#
using System; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; // ReSharper disable InconsistentNaming namespace Mastercard.Developer.OAuth1Signer.Core.Utils { /// <summary> /// Utility class. /// </summary> public static class AuthenticationUtils { ...
44.977273
138
0.689742
[ "MIT" ]
jaaufauvre/oauth1-signer-csharp-net45
Mastercard.Developer.OAuth1Signer.Core/Utils/AuthenticationUtils.cs
1,981
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; interface I<S> { string Method(S param); string Method<M>(S param); } struct MyStruct : I<string>, I<object> { public string Method(string param) { ...
23.046512
79
0.553986
[ "MIT" ]
belav/runtime
src/tests/Loader/classloader/regressions/dev10_568786/4_Misc/ConstrainedMethods.cs
2,973
C#
// <auto-generated /> using BlazorWasm.Server.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using System; namespace BlazorWasm.Server.Data.Migrations { [DbCont...
37.195531
125
0.455092
[ "MIT" ]
brunoresende1991/BlazorWasmMisc
Server/Data/Migrations/ApplicationDbContextModelSnapshot.cs
13,316
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DataTables.Demo.Models { public class Product { public Product(string name, string position, string office, string extn, string date, string salary) { this.Name = name; this.Id...
23.307692
102
0.69747
[ "MIT" ]
LZorglub/DataTables.AspnetCore.Mvc
DataTables.Demo/Models/Product.cs
911
C#
using System; using System.Runtime.InteropServices; using System.Text; using System.Windows.Forms; using GTA; using GTA.Native; namespace CoopClient { /// <summary> /// Don't use it! /// </summary> public class Chat { private readonly Scaleform MainScaleForm; internal string Curr...
27.166667
109
0.454779
[ "MIT" ]
jr111/GTACoop-R
Client/Chat.cs
5,055
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2019 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Original...
40.034955
182
0.589273
[ "MIT" ]
ss-gnalvesteffer/daggerfall-unity
Assets/Scripts/Game/PlayerEnterExit.cs
58,411
C#
using System; using System.Text; namespace Miru { public static class IntegerExtensions { public static string Times(this int value, Func<string> func) { var ret = new StringBuilder(); for (int i = 0; i < value; i++) { ret.Append(func()); ...
20.575758
74
0.455081
[ "MIT" ]
MiruFx/Miru
src/Miru/IntegerExtensions.cs
681
C#
/* * Copyright 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 "license" fi...
29.184211
102
0.732191
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/UpdateConnectionResponse.cs
1,109
C#
using online_judge.utility; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace online_judge.leetcode.medium { internal class Problem167 { public int[] TwoSum(int[] numbers, int target) { int ind...
25.325
85
0.422507
[ "MIT" ]
wallyjue/online_judge
leetcode/C_sharp/online_judge/leetcode/medium/Problem167.cs
1,015
C#
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) using System; using UnityEngine; namespace UnityEditor { internal class TerrainBlendedStandardShaderGUI : ShaderGUI { private enum WorkflowMode { Specular, Metallic, ...
51.875566
185
0.638493
[ "MIT" ]
bad3p/TerrainBlendin
Assets/TerrainBlending/Scripts/Editor/TerrainBlendedStandardShaderGUI.cs
22,929
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SpyStore.Hol.Dal.EfStructures; n...
38.982206
133
0.475534
[ "BSD-3-Clause", "MIT" ]
MalikWaseemJaved/presentations
.NETCore/ASP.NETCore/v3.1/SpyStore/SpyStore.Hol.Dal/EfStructures/Migrations/20190304203258_TSQL.Designer.cs
10,956
C#
using System; using NUnit.Framework; using OpenQA.Selenium.Appium; using OpenQA.Selenium.Appium.Windows; using OpenQA.Selenium.Remote; using WinAppDriverPageObjects.Views; namespace WinAppDriverPageObjects { [TestFixture] public class CalculatorPageObjectsTests { private WindowsDriver<WindowsEleme...
26.780488
100
0.577413
[ "Apache-2.0" ]
AutomateThePlanet/AutomateThePlanet-Learning-Series
dotnet/DesktopAutomation-Series/WinAppDriverPageObjects/CalculatorPageObjectsTests.cs
2,198
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
37.887324
170
0.589963
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Draw/ViewDrawRibbonGroupGalleryImage.cs
2,693
C#
namespace AutoRepair.Catalogs { using AutoRepair.Descriptors; using AutoRepair.Enums; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using UnityEngine; /// <summary> /// This is just a temporary place to store items prior to moving them in to ...
54.431564
176
0.527083
[ "MIT" ]
CitiesSkylinesMods/AutoRepair
AutoRepair/AutoRepair/Catalogs/Catalog.Unsorted.cs
39,083
C#
using NumpyDotNet; using NumpyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Numerics; namespace DoubleVsComplex { class Program { static void Main(string[] args) { int LoopCount = 10000; ...
27.455882
117
0.531869
[ "BSD-3-Clause" ]
erisonliang/numpy.net
src/NumpyDotNet/SampleApps/DoubleVsComplex/Program.cs
1,869
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Prime.Models; namespace Prime.Services { public class DocumentAccessTokenService : BaseService, IDocumentAccessTokenService { public DocumentAccessTokenService( ApiDbConte...
30.509434
102
0.612245
[ "Apache-2.0" ]
WadeBarnes/moh-prime
prime-dotnet-webapi/Services/DocumentAccessTokenService.cs
1,617
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://...
41.75
96
0.611444
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/Commands.Storage/Common/CommunicationExceptionUtil.cs
1,472
C#
using AElf.Contracts.Configuration; using AElf.Contracts.Consensus.AEDPoS; using AElf.Contracts.Economic; using AElf.Contracts.Economic.TestBase; using AElf.Contracts.Election; using AElf.Contracts.Genesis; using AElf.Contracts.MultiToken; using AElf.Contracts.Parliament; using AElf.Contracts.Profit; using AElf.Contrac...
47.079545
128
0.765025
[ "MIT" ]
AElfProject/AElf
test/AElf.Contracts.EconomicSystem.Tests/EconomicSystemTestBase.cs
8,286
C#
using System; namespace PetGameBackend.Attributes { public class PropParserIgnoreAttribute : Attribute { } }
15.25
54
0.729508
[ "MIT" ]
KiaArmani/PetGameBackend
PetGameBackend/Attributes/PropParserIgnoreAttribute.cs
124
C#