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.Reflection; using Voodoo.CodeGeneration.Models.Reflection; using Voodoo.CodeGeneration.Models.VisualStudio; using Voodoo.Infrastructure.Notations; namespace Voodoo.CodeGeneration.Helpers { public class MappingFactory { priv...
38.935185
117
0.593817
[ "MIT" ]
MiniverCheevy/spa-starter-kit
dev-tools/Voodoo.CodeGeneration/Helpers/MappingFactory.cs
4,205
C#
using Itinero.LocalGeo; using Xunit; namespace Itinero.VectorTiles.Test { public class LocalGeoExtensionsTests { /// <summary> /// Tests the intersections of the line. /// </summary> [Fact] public void LineSegmentIntersectionTests() { // double segme...
46.743363
101
0.596176
[ "MIT" ]
itinero/vector-tiles
test/Itinero.VectorTiles.Test/LocalGeoExtensionsTests.cs
5,284
C#
// Copyright 2020 The Tilt Brush Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
40.96124
113
0.573429
[ "Apache-2.0" ]
Baflee/crypto-art-gallery-redo
Assets/Scripts/Brushes/PlaitBrush.cs
5,284
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Assignmentt9 { public partial class AddCustomer : Form { ReadWriteHandler Read...
34.978261
169
0.569919
[ "MIT" ]
anhminh10a2hoa/Window-programming
Assignmentt9/Assignmentt9/AddCustomer.cs
1,611
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TelegramApi.core { public class T { } }
13.846154
33
0.727778
[ "MIT" ]
miladsoft/TelegramApi
TelegramApi/TelegramApi.core/T.cs
182
C#
using CommandLine; namespace ForEachShell { public partial class Options { [Option('i', "input", Required = true, HelpText = "Input directory.")] public string Input { get; set; } = ""; [Option('c', "command", Required = true, HelpText = "Input command.")] public string Comma...
28.758621
90
0.547962
[ "Apache-2.0" ]
elky84/ForEachShell
Options.cs
836
C#
using Centaurus.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Centaurus.Domain { public static class AccountExtensions { /// <summary> /// Checks if the account has balance for the specified asset. /// </summary> /// <pa...
32.291667
79
0.574839
[ "MIT" ]
PinkDiamond1/centaurus
Centaurus.Domain/accounts/AccountExtensions.cs
1,552
C#
using JSC_LMS.Application.Response; using MediatR; using System; using System.Collections.Generic; using System.Text; namespace JSC_LMS.Application.Features.Class.Queries.GetClassList { public class GetClassListQuery : IRequest<Response<IEnumerable<GetClassListDto>>> { } }
20.571429
84
0.788194
[ "Apache-2.0" ]
ashishneosoftmail/JSC_LMS
src/Core/JSC_LMS.Application/Features/Class/Queries/GetClassList/GetClassListQuery.cs
290
C#
using MediatR; using Microsoft.EntityFrameworkCore; using OnionArchitecture.Application.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace OnionArchitecture.Application.Features.Products.Commands.DeleteProdu...
35.441176
112
0.670539
[ "MIT" ]
raihanM95/OnionArchitecture
OnionArchitecture.Application/Features/Products/Commands/DeleteProductById/DeleteProductByIdCommand.cs
1,207
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using Autofac; using Autofac.Core; using MarkDoc.Core; using MarkDoc.Helpers; namespace MarkDoc.MVVM.Helpers { public static class PluginManager { public static Lazy<IReadOnlyDi...
30.207547
252
0.681449
[ "MIT" ]
hailstorm75/MarkDoc.Core
src/Libraries/Helpers/MarkDoc.MVVM.Helpers/PluginManager.cs
1,603
C#
using GameFramework; using System.IO; using UnityEditor; using UnityEngine; using UnityGameFramework.Editor.AssetBundleTools; namespace StarForce.Editor { public sealed class StarForceBuildEventHandler : IBuildEventHandler { public void PreProcessBuildAll(string productName, string companyName, string...
42.492308
155
0.670529
[ "MIT" ]
W8023Y2014/StarForce
Assets/GameMain/Scripts/Editor/StarForceBuildEventHandler.cs
2,764
C#
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. namespace ImageMagick { /// <summary> /// Draws a cubic Bezier curve from the current point to (x, y) using (x1,y1) as the control point /// at the beginning of the curve and (x2, y2) as the...
48.529412
117
0.638788
[ "Apache-2.0" ]
brianpopow/Magick.NET
src/Magick.NET/Drawables/Paths/PathCurveToRel.cs
2,475
C#
using SCGraphTheory.Search.Classic; using System; using System.Collections.Generic; using System.Diagnostics; using WorldGraph = SCGraphTheory.Search.TestGraphs.GridGraph<SCGraphTheory.Search.Visualizer.World.Terrain>; namespace SCGraphTheory.Search.Visualizer { /// <summary> /// Search visualizer world model...
31.062802
152
0.505443
[ "MIT" ]
sdcondon/SCGraphTheory.Search
src/Search.Visualizer/World.cs
6,432
C#
using System.Configuration; namespace Thinktecture.Relay.OnPremiseConnectorService.Configuration { public sealed class OnPremiseInProcTargetElement : OnPremiseTargetElement { private readonly ConfigurationProperty _typeName = new ConfigurationProperty("typeName", typeof(string), null, ConfigurationPropertyOptions....
27.705882
154
0.808917
[ "BSD-3-Clause" ]
embedcard/relayserver
Thinktecture.Relay.OnPremiseConnectorService/Configuration/OnPremiseInProcTargetElement.cs
471
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Web; namespace InternshipLink.Web.Data { public class Student { [Key] public long ID { get; set; } [Required...
23.377358
76
0.590799
[ "Apache-2.0" ]
scalefocus/internship-link
src/InternshipLink.Web/Data/Student.cs
1,241
C#
using System; using CryEngine; using FairyGUI.Utils; namespace FairyGUI { /// <summary> /// GProgressBar class. /// </summary> public class GProgressBar : GComponent { double _max; double _value; ProgressTitleType _titleType; bool _reverse; GTextField _titleObject; GMovieClip _aniOb...
23.053191
96
0.598985
[ "MIT" ]
fairygui/FairyGUI-cryengine
FairyGUI/Scripts/UI/GProgressBar.cs
6,519
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using okta_aspnetcore_mvc_example.Models; namespace okta_aspnetcore_mvc_example.Contr...
25
112
0.644444
[ "Apache-2.0" ]
Jaboo9/okta
samples-aspnetcore-3x/self-hosted-login/okta-aspnetcore-mvc-example/Controllers/HomeController.cs
1,127
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...
42.361702
180
0.574209
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/CloudWatchEvidently/Generated/Model/Internal/MarshallTransformations/ExperimentUnmarshaller.cs
7,964
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
36.675
99
0.604863
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Clb/V20180317/Models/TargetGroupBackend.cs
4,401
C#
using System.Collections.Generic; namespace Pglet.Controls { public class BarChartData : Control { IList<BarChartDataPoint> _points = new List<BarChartDataPoint>(); protected override string ControlName => "data"; public IList<BarChartDataPoint> Points { get { ret...
21.782609
73
0.590818
[ "MIT" ]
pglet/pglet-powershell
src/Pglet/Controls/BarChartData.cs
503
C#
using System; using System.Collections.Generic; using System.Text; using PagarMe.Enumeration; namespace PagarMe.Model { public class BulkAnticipation : Base.Model { protected override string Endpoint { get { return "/bulk_anticipations"; } } public BulkAnticipation() : this(null) { } ...
28.269841
118
0.582257
[ "MIT" ]
EduardoPires/pagarme-net
PagarMe.Shared/Model/BulkAnticipation.cs
1,783
C#
using System.Collections.Generic; using MetaGame; using UnityEngine; namespace MetaGame { [ObjectSystem] public class UiAwakeSystem : AwakeSystem<UI, string, GameObject> { public override void Awake(UI self, string name, GameObject gameObject) { self.Awake(name, gameObject); } } [HideInHierarchy] pu...
19.322222
82
0.6682
[ "Apache-2.0" ]
lukaozi/MetaGame
client/Assets/Scripts/CSharp/Game/Libs/UI/UI.cs
1,741
C#
#nullable enable using System; using Cinling.Lib.FileLogger; using Cinling.Lib.Options; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace Cinling.Lib.Services { public interface ILogService : ILogger<LogService> { } /// <summary> /// 日志服务 /// </summa...
31.442623
153
0.587591
[ "MIT" ]
cinling/dotnet-lib
src/Services/LogService.cs
1,928
C#
/* * Copyright 2014 Mikhail Shiryaev * * 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 a...
33.949686
103
0.482308
[ "Apache-2.0" ]
AMM-VSU/SCADA
ScadaServer/ScadaServerSvc/MainLogic.Types.cs
12,614
C#
// This software is part of the Autofac IoC container // Copyright © 2015 Autofac Contributors // https://autofac.org // // 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 // restric...
38.734266
123
0.624661
[ "MIT" ]
alistairjevans/Autofac.Extensions.DependencyInjection
src/Autofac.Extensions.DependencyInjection/AutofacServiceProvider.cs
5,542
C#
using System.Threading.Tasks; using Armory.People.Domain; namespace Armory.People.Application.Update { public class PersonUpdater { private readonly IPeopleRepository _repository; public PersonUpdater(IPeopleRepository repository) { _repository = repository; } ...
27.26087
110
0.674641
[ "MIT" ]
cantte/Armory.Api
src/Armory/People/Application/Update/PersonUpdater.cs
627
C#
using System; using System.IO; using System.Reflection; namespace ILG.Codex.CodexR4.GMLiceseManger { class DSLicenseJsonFile { private string _licenseDirectory; private string _licenseFullFilename; private readonly string configFilename = "CodexDSProduction.json"; public DSCod...
27.87037
88
0.614618
[ "Unlicense" ]
IrakliLomidze/CodexDS16
CodexDS16.U1.Prev1/TrialRetialUtility/DSLicenseGenerator/DSLicenseGenerator/GMLiceseManger/DSLicenseJsonFile.cs
1,507
C#
using System; namespace WindowsInput.Native { #pragma warning disable 649 /// <summary> /// The MOUSEINPUT structure contains information about a simulated mouse event. (see: http://msdn.microsoft.com/en-us/library/ms646273(VS.85).aspx) /// Declared in Winuser.h, include Windows.h /// </summary> /...
94.928571
600
0.74304
[ "Apache-2.0", "MIT" ]
4364354235654345u5432576865432/keeweb
helper/win32/src/KeeWebHelper/WindowsInput/Native/MOUSEINPUT.cs
5,318
C#
namespace FlyweightGame.Contracts { using UI; public interface IRenderable { int X { get; } int Y { get; } AssetType Type { get; } } }
12.785714
34
0.52514
[ "MIT" ]
Supbads/Softuni-Education
03. HighQualityCode 12.15/Demos/18. Design-Patterns-Demo/Design Patterns/Structural/FlyweightGame/Contracts/IRenderable.cs
181
C#
using System; using System.Runtime.Serialization; namespace Commanigy.Iquomi.Api { /// <summary> /// /// </summary> [Serializable()] public enum ResponseStatus { Success, Failure, Rollback, NotAttempted } }
15.733333
36
0.648305
[ "MIT" ]
theill/iquomi
Commanigy.Iquomi.Sdk/ResponseStatus.cs
236
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.overseas.tuition.schoolcredit.confirm /// </summary> public class AlipayOverseasTuitionSchoolcreditConfirmRequest : IAlipayRequest<AlipayOverseasTuitionSchoo...
23.855072
131
0.545261
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipayOverseasTuitionSchoolcreditConfirmRequest.cs
3,318
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; namespace Jbpc.Common.Excel { public class WorksheetDataTable { private object[,] matrix; private readonly DataTable dataTable = new DataTable(); public DataTable CopyUsedRangeIntoDataTable(string fu...
30.225352
123
0.514445
[ "MIT" ]
JaniceBPC/Common.Excel
Excel/Utilities/WorksheetDatatable.cs
2,148
C#
using System; namespace My2C2P.Org.BouncyCastle.Crypto.Prng { /// <remarks> /// Takes bytes generated by an underling RandomGenerator and reverses the order in /// each small window (of configurable size). /// <p> /// Access to internals is synchronized so a single one of these can be shared. /// </p> /// </rem...
23.767677
85
0.652784
[ "MIT" ]
2C2P/My2C2PPKCS7
My2C2PPKCS7/crypto/prng/ReversedWindowGenerator.cs
2,353
C#
using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Reusable.OneTo1; using Reusable.OneTo1.Converters; using Reusable.OneTo1.Converters.Collections.Generic; using Reusable.Utilities.MSTest; namespace Reusable.Tests.OneTo1 { [TestClass] public class HashSetTest : Converte...
34.844828
89
0.566551
[ "MIT" ]
he-dev/DotNetBits
Reusable.Tests.MSTest/src/OneTo1/impl/Collections/Generic/HashSetTest.cs
2,021
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2020 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...
41.516667
117
0.606985
[ "MIT" ]
smurf211/DaggerfallUnityMP
Assets/Scripts/Game/PlayerAmbientLight.cs
4,982
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnAsteroids : MonoBehaviour { public GameObject asteroidsPrefab; public float respawnTime = 5f; public Vector2 screenBounds; // Start is called before the first frame update void Start() { s...
29.1
130
0.68614
[ "MIT" ]
wahudamon/AsteroidsInSpace
Assets/Scripts/SpawnAsteroids.cs
875
C#
using Microsoft.Extensions.Logging; using System.Threading.Tasks; namespace AzureDeveloperTemplates.FunctionAppWithDependencyInjection.Services { class MailService : IMailService { private readonly MailServiceSettings _mailServiceSettings; private readonly ILogger<MailService> _log; p...
30.782609
111
0.70339
[ "MIT" ]
CurlyBytes/AzureDeveloperTemplates
src/azure-function-with-dependency-injection-template/AzureDeveloperTemplates.FunctionAppWithDependencyInjection/Services/MailService.cs
710
C#
using Coypu.Finders; using NSpec; using NUnit.Framework; namespace Coypu.Drivers.Tests { internal class When_finding_windows : DriverSpecs { [Test] public void Finds_by_name() { using (Driver) { OpenPopup(); var wind...
27.092308
138
0.465645
[ "Unlicense", "MIT" ]
KMASubhani/coypu
src/Coypu.Drivers.Tests/When_finding_windows.cs
3,524
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 // 이러한 특성 값을 변경하세요. [assembly: AssemblyTitle("PasswordFinder")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
28.72973
56
0.700847
[ "MIT" ]
Re-Coma/Password_Finder
PasswordFinder/Properties/AssemblyInfo.cs
1,504
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...
26.7875
116
0.598227
[ "Apache-2.0" ]
bgrainger/aws-sdk-net
sdk/src/Services/KinesisAnalyticsV2/Generated/AmazonKinesisAnalyticsV2Config.cs
2,143
C#
using Newtonsoft.Json; namespace Wikiled.Delfi.Readers.Comments { public class CommentsResult { [JsonProperty("data")] public Data Data { get; set; } } }
18.3
40
0.63388
[ "MIT" ]
AndMu/Wikiled.Delfi
src/Wikiled.Delfi/Readers/Comments/CommentsResult.cs
185
C#
//----------------------------------------------------------------------- // <copyright file="DB2EventsByTagSpec.cs" company="Akka.NET Project"> // Copyright (C) 2017-2017 NA <http://www.NA.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //-------------...
37.826923
108
0.553127
[ "Apache-2.0" ]
askids/Akka.Persistence.DB2
src/Akka.Persistence.DB2.Tests/Query/DB2EventsByTagSpec.cs
1,969
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using MinerPlugin; using MinerPluginLoader; using System.IO.Compression; using MinerPluginToolkitV1; using MinerPluginToolkitV1.Interfaces; using NHM.Common.Enums; using MinerPluginToolkitV1.Configs; namespace...
41.498221
182
0.550982
[ "MIT" ]
ahelguerrero/NiceHashMiner
src/Tools/MinerPluginsPacker/Program.cs
11,663
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _3Prime { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var prime = 1; if (n > 1) ...
20.973684
64
0.387704
[ "MIT" ]
viksuper555/Csharp-Programming
ComplicatedLoops12/3Prime/Program.cs
799
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
21.714286
47
0.712171
[ "MIT" ]
nin-neko/PrintScreenNinja
PrintScreenNinja/Views/Configuration.xaml.cs
628
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("IbmMqClient")] [as...
38.513514
99
0.763509
[ "MIT" ]
mustaddon/IbmMqClient
IbmMqClient/Properties/AssemblyInfo.cs
2,005
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityModel; using IdentityServer4.Configuration; using IdentityServer4.Extensions; using IdentityServer4.Models; using IdentityServer...
44.780788
179
0.506628
[ "Apache-2.0" ]
Akinnagbe/IdentityServer4
src/IdentityServer4/src/Validation/Default/AuthorizeRequestValidator.cs
36,362
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...
39.993711
576
0.650574
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20200601/GetLoadBalancer.cs
6,359
C#
#region license // Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com) // All rights reserved. // // 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 retain the abo...
33.557143
83
0.719455
[ "BSD-3-Clause" ]
cneuwirt/rhino-commons
Rhino.Commons.Test/Binsor/Fubar.cs
2,351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using PropertyChanged; namespace AutoLotDAL2.Model...
33.802469
107
0.608108
[ "MIT" ]
NuCode1497/WPFTutorials
MVVM/AutoLotDAL2/Models/EntityBase.cs
2,740
C#
namespace OpenSsl.Crypto.Utility { /// <summary> /// ras签名算法,其中MD2、MD5、SHA1密钥长度1024,其他密钥长度2048 /// </summary> public enum RsaSignerAlgorithm { MD2withRSA = 1, MD5withRSA = 2, SHA1withRSA = 3, //以下密钥长度均为2048 SHA224withRSA = 4, SHA256withRSA = 5, ...
21.75
49
0.56092
[ "MIT" ]
swpudp/OpenSsl.Crypto.Utility
src/OpenSsl.Crypto.Utility/RsaSignerAlgorithm.cs
493
C#
using System.Collections.Generic; using UnityEngine; namespace TextEffect { public class TextBlendScale : TextEffectBase { [SerializeField, Range(0f, 1f)] private float _blend; [SerializeField] private float _interval; [SerializeField] private Vector2 _fromScale = Vector2.zero; ...
27.666667
105
0.46142
[ "MIT" ]
ToshikiImagawa/TextEffect
Assets/TextEffect/TextBlendScale.cs
3,935
C#
using Newtonsoft.Json; using Miki.Rest; using System.Linq; using System.Threading.Tasks; namespace Miki.API.UrbanDictionary { internal class UrbanDictionaryApi { private string key = ""; public UrbanDictionaryApi(string key) { this.key = key; } public asyn...
26.794118
127
0.6191
[ "Apache-2.0" ]
SnipeFrost/Miki
Miki/API/Urban Dictionary/UrbanDictionaryApi.cs
913
C#
using Core.DataAccess.EntityFramework; using DataAccess.Abstract; using Entities.Concrete; namespace DataAccess.Concrete.EntityFramework { public class EfColorDal : EfEntityRepositoryBase<Color, ReCapProjectContext>, IColorDal { } }
22.454545
91
0.793522
[ "Apache-2.0" ]
ismailkaygisiz/ReCapProject
DataAccess/Concrete/EntityFramework/EfColorDal.cs
249
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.Reflection; using Microsoft.AspNetCore.Mvc.ActionConstraints; using Microsoft.AspNetCore.Mv...
39.701987
114
0.586656
[ "Apache-2.0" ]
Mani4007/ASPNET
test/Microsoft.AspNetCore.Mvc.Core.Test/ApplicationModel/ControllerModelTest.cs
5,995
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Cosmos.Assembler.x86 { [Cosmos.Assembler.OpCode("ret")] public class Return: Instruction { public Return() { DestinationValue = 0; } public uint Desti...
22.545455
81
0.502688
[ "BSD-3-Clause" ]
ERamaM/Cosmos
source/Cosmos.Assembler/x86/Return.cs
746
C#
using System; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using UnityEngine; using Benchmark.NestedModel; using UnityEngine.Profiling; public class Factory : MonoBehaviour { private const int Iterations = 10000; private B _b; private C _c; private D _d; private E _e; privat...
21.637681
107
0.723376
[ "MIT" ]
gustavopsantos/Reflex
Reflex.Benchmark/Assets/Benchmark/Factory.cs
1,495
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SkinSelector : MonoBehaviour { private INIParser m_parser; private int m_currentIndex = 0; public List<SkinData> skins; private SkinData currentSkin; public SkinData CurrentSkin { g...
25.243902
83
0.625604
[ "MIT" ]
MonsieurTweek/unity-proto-joey
Assets/Sources/Scripts/Store/SkinSelector.cs
2,072
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Web.Http.OData.TestCommon.Models; namespace System.Web.Http.OData { public static class TypeInitializer { public static object GetInstance(SupportedTypes t...
33.52
133
0.576372
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
OData/test/System.Web.Http.OData.Test/TestCommon/TypeInitializer.cs
1,678
C#
/* * Copyright(c) 2020 Samsung Electronics 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 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
49.283668
296
0.664767
[ "Apache-2.0", "MIT" ]
MoonheeChoi/TizenFX
src/Tizen.NUI/src/public/Accessibility/AccessibilityManager.cs
51,600
C#
#pragma checksum "C:\Users\suley\Desktop\NetCore_3.1\.NetCore_3.1\E_Ticaret.WebUI\Views\Account\Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4ab2b1218382f5f9b481c0e07d1339f21a0808ea" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAt...
93.123711
407
0.733477
[ "MIT" ]
suleymanaylar/.NetCore_3.1
E_Ticaret.WebUI/obj/Debug/netcoreapp3.1/Razor/Views/Account/Register.cshtml.g.cs
36,142
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 enable using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using Microsoft.Cod...
53.901961
137
0.783921
[ "MIT" ]
06needhamt/roslyn
src/CodeStyle/Core/CodeFixes/Host/Mef/CodeStyleHostLanguageServices.MefHostExportProvider.cs
2,751
C#
using System; using uSync8.BackOffice.Configuration; namespace uSync8.BackOffice.SyncHandlers { [Obsolete("Extended Handler Config gives better results")] public class HandlerConfigPair { public ISyncHandler Handler { get; set; } public HandlerSettings Settings { get; set; } } }
22.5
62
0.707937
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
JoseMarcenaro/uSync8
uSync8.BackOffice/SyncHandlers/Models/HandlerConfigPair.cs
317
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...
41.747967
197
0.596981
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-cloudflare
sdk/dotnet/FirewallRule.cs
10,270
C#
#region license // Copyright (c) 2007-2010 Mauricio Scheffer // // 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 // // Unle...
46.709108
215
0.603693
[ "Apache-2.0" ]
chipshub/SolrNet
SolrNet.Tests/SolrQueryResultsParserTests.cs
50,261
C#
using System; using System.IO; using System.Linq; using System.Media; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Media; using eletigo.PoeChatNotify.Controls; using eletigo.PoeChatNo...
31.568579
125
0.713642
[ "MIT" ]
eletigo/PoEChatNotify
PoeChatNotify/PoeChatNotify/MainWindow.xaml.cs
12,684
C#
using System.ComponentModel.Composition; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Utilities; #pragma warning disable 649 namespace Spect.Net.VsPackage.CustomEditors.TestEditor { public class Z80TestEditorClassificationDefinition { [Export(typeof(ClassificationTyp...
34.952381
81
0.750681
[ "MIT" ]
Dotneteer/spectnetide
VsIntegration/Old-Spect.Net.VsPackage/CustomEditors/TestEditor/Z80TestEditorClassificationDefinition.cs
1,470
C#
using System.ComponentModel.DataAnnotations.Schema; namespace SqlServer.Core.InformationSchema { /// <summary> /// Returns one row for each column in the current database that is used in a view definition. This information schema view returns information about the objects to which the current user has permiss...
26.017857
208
0.596431
[ "MIT" ]
gavindew/SqlServer.Core.InformationSchema
SqlServer.Core.InformationSchema/ViewColumnUsage.cs
1,457
C#
using UnityEngine; using System.Collections; public class coinControl : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
13
42
0.682692
[ "MIT" ]
Th3NiKo/Space-Shooter
Assets/Scripts/items/coinControl.cs
210
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices { public abstract class FeedbackReceiver<T> : Receiver<T> where T: FeedbackBatch { } }
28.6
101
0.737762
[ "MIT" ]
5e8a91/Azure_C_Library_new
csharp/service/Microsoft.Azure.Devices/FeedbackReceiver.cs
288
C#
using UnityEngine; using System.Collections; using UnityEngine.UI; public class PaperManager : MonoBehaviour { public GameObject[] paperArray = null; public GameObject[] playerPaperArray = null; void FixedUpdate () { testpaper (); } //检测方法 void testpaper(){ if (Input.GetKeyDown(KeyCode.Space)) { if...
18.034483
160
0.641491
[ "MIT" ]
kompyang/UnityGamePlayPocketLab
An&Wei/Assets/Script/PaperManager.cs
1,056
C#
/* * Copyright 2022 MASES s.r.l. * * 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...
42.452174
122
0.687423
[ "Apache-2.0" ]
masesdevelopers/KafkaBridge
src/net/KNet/ClientSide/BridgedClasses/Connect/Header/Headers.cs
4,884
C#
#region License // /* // * ###### // * ###### // * ############ ####( ###### #####. ###### ############ ############ // * ############# #####( ###### #####. ###### ############# ############# // * ###### #####( ###### #####. ###### ##### ####...
48.114035
234
0.556791
[ "MIT" ]
AlexandrosMor/adyen-dotnet-api-library
Adyen.Test/UtilTest.cs
5,487
C#
using System; using Cosmos.IdUtils.GuidImplements.Core; /* * Reference to: * Nito.Guids * Author: Stephen Cleary * URL: https://github.com/StephenCleary/Guids * MIT */ namespace Cosmos.IdUtils.GuidImplements.Internals { internal static class GuidExtensions { /// <summary> ...
28.484848
102
0.594681
[ "MIT" ]
alexinea/Cosmos.Standard
src/Cosmos.Extensions.PowerCucumber/Cosmos/IdUtils/GuidImplements/Internals/GuidExtensions.cs
942
C#
// // linq.cs: support for query expressions // // Authors: Marek Safar (marek.safar@gmail.com) // // Dual licensed under the terms of the MIT X11 or GNU GPL // // Copyright 2007-2008 Novell, Inc // using System; using System.Reflection; using System.Collections.Generic; namespace Mono.CSharp.Linq { ...
28.642757
153
0.684851
[ "MIT" ]
speier/shake
src/Shake/Core/Mono.CSharp/mcs/linq.cs
20,365
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.Caching.Hosting; using System.Runtime.Caching.Resources; using System.Collections; using System.IO; using System.Security; using System.Runtime.Ver...
38.568966
183
0.545522
[ "MIT" ]
AerisG222/runtime
src/libraries/System.Runtime.Caching/src/System/Runtime/Caching/FileChangeNotificationSystem.cs
6,711
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 "li...
37.5
160
0.603678
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/Internal/MarshallTransformations/DescribeTaskDefinitionRequestMarshaller.cs
4,350
C#
namespace Astar { public class Node { public Node(int x, int y, int z, bool iswalkable) { this.x = x;this.z = z;this.y =y; this.isWalkable = iswalkable; } public Node(int x, int y, int z) : this(x, y, z, true) { } pu...
22.818182
93
0.474104
[ "Apache-2.0" ]
DavidSheh/version
Server/GServer/Astar/Node.cs
1,759
C#
using XUCore.Template.Razor.Applaction.User; using XUCore.Template.Razor.DbService.Notice; namespace XUCore.Template.Razor.Web.Pages.Admin.Sys.Admin.Notices { [Authorize] public class DetailModel : PageModel { private readonly INoticeAppService noticeAppService; public DetailModel(INoticeA...
30.318182
83
0.694153
[ "MIT" ]
xuyiazl/XUCore.Template
XUCore.Template.Razor/Content/XUCore.Template.Razor/XUCore.Template.Razor.Web/Pages/Admin/Sys/Admin/Notices/Detail.cshtml.cs
669
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов для изменения сведений, // связанные со сборкой. [assembly: AssemblyTitle("Core")] [assembly: A...
38.216216
99
0.75884
[ "MIT" ]
EvgenL/TheHardwareMonitor
Core/Properties/AssemblyInfo.cs
1,993
C#
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
45.348739
132
0.645418
[ "Apache-2.0" ]
tbpg/google-cloud-dotnet
apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Snippets/UrlSignerSnippets.cs
10,793
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.272727
173
0.628337
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/SharedPCConfigurationRequest.cs
9,253
C#
using System; namespace ToDo.Web.Features { public class ToDoItemCompletedEvent { public Guid ListId { get; set; } public Guid ItemId { get; set; } public string Title { get; set; } public string Description { get; set; } } }
19.266667
47
0.567474
[ "MIT" ]
joaofbantunes/DaprSample
src/ToDo.Web/Features/ToDoItemCompletedEvent.cs
289
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.AspNetCore.Razor.Language.Syntax; namespace Microsoft.AspNetCore.Razor.Language.Legacy { internal class SyntaxNo...
27.947368
95
0.57533
[ "MIT" ]
dougbu/razor-tooling
src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common/Language/Legacy/SyntaxNodeWalker.cs
1,064
C#
using System; namespace Open_Lab_04._06 { public class Numbers { public int[] NoOdds(int[] numbers) { for (int i = 0; i <= 100; i++) { if (IsEven(i)) { Console.WriteLine(i); } } public static bool I...
17.608696
50
0.392593
[ "MIT" ]
marekkilv/Open-Lab-04.06
Open-Lab-04.06/Numbers.cs
407
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
25.230769
60
0.739329
[ "MIT" ]
bswanson58/NoiseMusicSystem
Noise.UI/Views/PlaybackRelatedView.xaml.cs
658
C#
using BlueprintCore.Blueprints; using Kingmaker.UnitLogic.Abilities.Blueprints; using System; using WOTR_PATH_OF_RAGE.Utilities; using Kingmaker.Blueprints; using Kingmaker.UnitLogic.Abilities.Components.Base; using WOTR_PATH_OF_RAGE; using HarmonyLib; using Kingmaker.Blueprints.JsonSystem; using Kingmaker.Blueprints....
41.225225
203
0.692089
[ "MIT" ]
bje259/WOTR_PATH_OF_RAGE
NewFeatures/DemonBlast.cs
4,578
C#
using System; using System.Text; using System.Text.RegularExpressions; namespace Moralis.WebGL.Platform.Services.ClientServices { public static class CommandRunnerExtensions { public static string AdjustJsonForParseDate(this string json) { string adjusted = json; Regex...
31.296296
154
0.467456
[ "MIT" ]
AllTrueVision/ethereum-unity-boilerplate
Assets/MoralisWeb3ApiSdk/Moralis/Moralis.WebGL/MoralisDotNet/Platform/Services/ClientServices/CommandRunnerExtensions.cs
1,692
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Navigation; using Microsoft.CodeAnalysis.Text;...
33.957627
161
0.599451
[ "Apache-2.0" ]
amcasey/roslyn
src/VisualStudio/Core/Def/Implementation/Library/FindResults/LibraryManager.cs
4,009
C#
using Autofac.Extensions.DependencyInjection; namespace Xunit.DependencyInjection.Test; public class HostTest { private readonly IHostingEnvironment _environment; private readonly IServiceProvider _provider; public HostTest(IHostingEnvironment environment, IServiceProvider provider) { _envir...
27.818182
126
0.753268
[ "MIT" ]
libaowei/Xunit.DependencyInjection
Xunit.DependencyInjection.Test/HostTest.cs
614
C#
using CleanArchitecture.Application.Common.Exceptions; using CleanArchitecture.Application.Common.Interfaces; using CleanArchitecture.Domain.Entities; using MediatR; using System.Threading; using System.Threading.Tasks; namespace CleanArchitecture.Application.TodoLists.Commands.UpdateTodoList { public class Updat...
28.302326
106
0.66968
[ "MIT" ]
ElderJames/CleanArchitecture
src/Application/TodoLists/Commands/UpdateTodoList/UpdateTodoListCommand.cs
1,219
C#
using BizHawk.Common; using BizHawk.BizInvoke; using BizHawk.Emulation.Common; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading; namespace BizHawk.Emulation.Cores.Waterbox { public class WaterboxOptions { ...
32.680761
136
0.66561
[ "MIT" ]
diddily/BizHawk
src/BizHawk.Emulation.Cores/Waterbox/WaterboxHost.cs
15,460
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.HumanResources { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrou...
20.666667
136
0.721124
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.HumanResources/Passports_and_Visas_Identification_DataType.cs
1,922
C#
using System.Web; using System.Web.Mvc; namespace TableList.Example.Mvc { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.571429
80
0.660584
[ "MIT" ]
Hasmik7/TableList
examples/TableList.Example.Mvc/App_Start/FilterConfig.cs
276
C#
using MTProto.NET.Schema.Layer72; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace MTProto.NET.Server.Infrastructure { public interface IChatManager { /// <summary> /// Gets user's chats. /// </summary> /// <param name="userId"></param> /// <param...
27.473684
93
0.66954
[ "MIT" ]
Gostareh-Negar/TeleNet
MTProto.Net.Server/Infrastructure/IChatManager.cs
1,046
C#
// 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 regenerated. namespace Mi...
50.74
185
0.658849
[ "MIT" ]
AlanFlorance/azure-powershell
src/Cdn/generated/api/Support/RemoteAddressOperator.cs
4,975
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namesp...
138.357143
524
0.782137
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/iot/Azure.IoT.Hub.Service/src/GlobalSuppressions.cs
1,939
C#
using Esri.ArcGISRuntime.Mapping; using Esri.ArcGISRuntime.Toolkit.UI; using Esri.ArcGISRuntime.UI.Controls; using System; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; namespace Esri.ArcGISRuntime.Toolkit.Samples.BasemapGallery { [SampleInfoAttribute(Categor...
34.270677
168
0.576569
[ "Apache-2.0" ]
Esri/arcgis-toolkit-dotnet
src/Samples/Toolkit.SampleApp.WPF_Net5/Samples/BasemapGallery/BasemapGalleryBehaviorSample.xaml.cs
4,560
C#
namespace Craiel.UnityGameData.Editor.Window { using System.Collections.Generic; using System.Linq; using Common; using GameData.Editor.Events; using UnityEditor; using UnityEditor.IMGUI.Controls; using UnityEngine; using UnityEssentials.Editor.UserInterface; using UnityEssentials.R...
33.539841
130
0.443428
[ "MIT" ]
Craiel/UnityGameData
Editor/Window/GameDataTreeContentPresenter.cs
16,839
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...
27.446809
81
0.599225
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ApiManagement/V20210101Preview/Inputs/HttpMessageDiagnosticArgs.cs
1,290
C#