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; using Xamarin.Forms.Internals; namespace Xamarin.Forms.Platform.Unity { internal class UnityDeviceInfo : DeviceInfo { Size _pixelScreenSize = new Size(); Size _scaledScreenSize = new Size(); dou...
21.461538
76
0.723297
[ "MIT" ]
aosoft/Xamarin.Forms.Unity
Assets/Xamarin.Forms.Unity/Xamarin.Forms.Platform.Unity/Scripts/UnityDeviceInfo.cs
1,397
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Net; using System.ServiceModel; using System.ServiceModel.Security; using System.Text; using System.Xml; using VideoOS.ConfigurationAPI; using VideoOS.Platform.Util; namespace ConfigAPIBatch {...
34.247619
151
0.463154
[ "MIT" ]
Silex/mipsdk-samples-component
ConfigAPIBatch/ConfigAPIClient.cs
14,386
C#
#nullable enable using System.Collections.Generic; using ProfanityChecker.Domain; namespace ProfanityChecker.Logic.DTO { public sealed record ProfanityScanResultDto(bool HasProfanity, IEnumerable<ProfanityItem>? ProfanityItems); }
29.375
111
0.838298
[ "MIT" ]
MrFishchev/profanity-checker
ProfanityChecker.Logic/DTO/ProfanityScanResultDto.cs
235
C#
using UnityEngine; using HutongGames.PlayMaker; using DG.Tweening; namespace HutongGames.PlayMaker.Actions { [ActionCategory("DOTween")] [Tooltip("Shakes a Camera's localRotation")] [HelpUrl("http://dotween.demigiant.com/documentation.php")] public class DOTweenCameraShakeRotation : FsmStateAc...
45.865285
639
0.638839
[ "MIT" ]
pdyxs/UnityProjectStarter
Assets/Plugins/Externals/DOTweenPlaymakerActions/Actions/DOTween/DOTweenCameraShakeRotation.cs
8,852
C#
using ChallengeUbistart.Api.Extensions; using ChallengeUbistart.Business.Intefaces; using ChallengeUbistart.Business.Notifications; using ChallengeUbistart.Business.Services; using ChallengeUbistart.Data.Context; using ChallengeUbistart.Data.Repository; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Depen...
33.358974
99
0.717141
[ "MIT" ]
jadson-medeiros/challengeubistart
src/ChallengeUbistart.Api/Configuration/DependencyInjectionConfig.cs
1,303
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.652778
179
0.603665
[ "MIT" ]
NHNNEXT/2014-01-HUDIGAME-EunJaRim
YaMang/YaMangClient/Tool/CharacterTool/CharacterTool/Properties/Resources.Designer.cs
2,785
C#
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; using Nett; namespace PolyFeed { internal class Settings { public readonly string ProgramName = "PolyFeed"; public readonly string Description = "creates ...
26.859259
130
0.66492
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
sbrl/PolyFeed
PolyFeed/Program.cs
3,628
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Group_24_Animated_Algorithms.Searching_Algorithms { class Fibonacci : Algorithm { public Fibonacci(ref OutputScreen OutputWin) { Output = OutputWin; ...
23.767742
114
0.444083
[ "MIT" ]
group-24-animated-algorithms/Group-24-Animated-Algorithms
Group 24 Animated Algorithms/Searching Algorithms/Fibonacci.cs
3,686
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 * ...
29.909091
83
0.667933
[ "Apache-2.0" ]
geffzhang/tencentcloud-sdk-dotnet
TencentCloud/Vpc/V20170312/Models/ModifySecurityGroupAttributeResponse.cs
1,396
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ServiceMonitoringSystem.Repository")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assem...
27.918919
66
0.697967
[ "Apache-2.0" ]
Zeptol/ServiceMonitoringSystem
ServiceMonitoringSystem.Repository/Properties/AssemblyInfo.cs
1,392
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/ntsecapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows...
47.153846
145
0.751223
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/ntsecapi/MSV1_0_SUBAUTH_REQUEST.cs
1,228
C#
using System; using System.Collections.Generic; using AutoMapper; using FluentValidation; using Host4Travel.BLL.Abstract; using Host4Travel.BLL.Validators.DocumentService; using Host4Travel.Core.DTO.DocumentDtos; using Host4Travel.Core.ExceptionService.Abstract; using Host4Travel.Core.ExceptionService.Exceptions; usin...
33.507246
117
0.511462
[ "MIT" ]
SadettinKepenek/Host4Travel
Host4Travel.BLL/Concrete/DocumentManager.cs
4,632
C#
using System; using System.Diagnostics; using System.IO; using System.Linq; using NS12.VariableBase.Mathematics.Common.Models; using NS12.VariableBase.Mathematics.Common.Interfaces; using static NS12.VariableBase.Mathematics.Common.Models.NumberSegmentDictionary; namespace NS12.VariableBase.Mathematics.Providers...
34.286585
207
0.457763
[ "MIT" ]
MichaelKappel/Variable-Base-Math
NS12.VariableBase.Mathematics.Providers/Algorithms/IterativePrimeAlgorithm.cs
5,625
C#
using UnityEngine; using FastCollections; using System; using Lockstep.Data; using System.Collections.Generic; namespace Lockstep { public static class ProjectileManager { public const int MaxProjectiles = 1 << 13; private static string[] AllProjCodes; private static readonly Dictionary<string, IProjectileDat...
26.655738
183
0.665283
[ "MIT" ]
AlCaTrAzzALZ/LockstepFramework
Core/Game/Projectiles/ProjectileManager.cs
6,506
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace aim { public class ValueContainerAIPropertyAIDrawer : APropertyAIDrawer<AValueContainerAI> { public override AValueContainerAI Draw(AValueContainerAI instance, Type instanceType, string label, AIAgen...
32.5625
133
0.735125
[ "MIT" ]
Dawnfall/Coik-the-piggybank
LD-44/Assets/Scripts/ExternalScripts/AIMaker/Editorial/PropertyDrawers/AiM/ValueContainerAIPropertyAIDrawer.cs
523
C#
using Android.Hardware.Camera2; using Java.Lang; namespace ShopLens.Droid.Listeners { public class CaptureListener : CameraCaptureSession.CaptureCallback { private readonly Camera2Fragment owner; public CaptureListener(Camera2Fragment owner) { this.owner = owner ?? throw n...
42.580247
131
0.467672
[ "MIT" ]
mrjslau/TOP2018
Mobile/ShopLens/Droid/Listeners/CaptureListener.cs
3,451
C#
// Copyright (C) 2014 dot42 // // Original filename: Junit.Runner.cs // // 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 re...
34.067183
199
0.626517
[ "Apache-2.0" ]
Dot42Xna/master
Generated/v3.1/Junit.Runner.cs
13,184
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
44.657534
220
0.619939
[ "MIT" ]
CaioProiete/Autofac.Wcf
src/Autofac.Integration.Wcf/ServiceHostExtensionsResources.Designer.cs
3,262
C#
using System; namespace NQuery.Symbols.Aggregation { public abstract class MinMaxAggregateDefinition : AggregateDefinition { private readonly bool _isMin; protected MinMaxAggregateDefinition(bool isMin) { _isMin = isMin; } public override string Name ...
25.505376
75
0.44688
[ "MIT" ]
dallmair/nquery-vnext
src/NQuery/Symbols/Aggregation/MinMaxAggregateDefinition.cs
2,372
C#
/* License * -------------------------------------------------------------------------------------------------------------------- * This file is part of the AI4E distribution. * (https://github.com/AI4E/AI4E.Utils) * Copyright (c) 2018-2019 Andreas Truetschel and contributors. * * MIT License * * Permission...
35.07971
119
0.625284
[ "MIT" ]
AI4E/AI4E.Utils
src/AI4E.Utils.Proxying/TransparentProxy.cs
4,841
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...
55.424947
332
0.695128
[ "Apache-2.0" ]
SVemulapalli/aws-sdk-net
sdk/src/Services/EC2/Generated/_mobile/AmazonEC2Client.cs
1,037,571
C#
 namespace CommonApp.Service { public static class RegionNames { public const string WorkName = "WorkRegion"; } }
15
52
0.651852
[ "MIT" ]
huangjia2107/CommonApp
src/CommonApp.Service/RegionNames.cs
137
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CitizenFX.Core; using Newtonsoft.Json; namespace Magicallity.Shared.Models { public class GarageModel { public string Name; public string AlternateDisplayName; [Js...
28.204082
110
0.628799
[ "MIT" ]
Jazzuh/Magicallity-public-source
src/Magicallity.Shared/Models/GarageModel.cs
1,384
C#
namespace Paseto.Cryptography.Internal.Ed25519Ref10 { internal static partial class GroupOperations { /* r = p */ internal static void ge_p3_to_cached(out GroupElementCached r, ref GroupElementP3 p) { FieldOperations.fe_add(out r.YplusX, ref p.Y, ref p.X); FieldOperations.fe_sub(out r.Ymi...
27.1875
92
0.689655
[ "MIT" ]
daviddesmet/paseto-dotnet
src/Paseto.Cryptography/Internal/Ed25519Ref10/ge_p3_to_cached.cs
437
C#
using System; using System.Collections.Generic; using PizzaBox.Storing.Entities; using Xunit; namespace PizzaBox.Testing.Tests { public class SizeTests { //[Fact] //public void TestGetSizes() //{ // var sut = SizeController.GetSizes(); // bool isNull = sut == null...
19.833333
54
0.522689
[ "MIT" ]
210329-UTA-SH-UiPath/P1_Sean_Spring
PizzaBox.Api/PizzaBox.Testing/Tests/SizeTests.cs
595
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 ...
22.91875
143
0.650395
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashRequest.cs
3,667
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using War3Api.Object.Abilities; using War3Api.Object.Enums; using War3Net.Build.Object; using War3Net.Common.Extensions; namespace War3Api.Object.Abilities { public sealed class ScrollOfLifeRegen : Ability ...
76.748988
168
0.739357
[ "MIT" ]
YakaryBovine/AzerothWarsCSharp
src/War3Api.Object/Generated/1.32.10.17734/Abilities/ScrollOfLifeRegen.cs
18,957
C#
namespace Pea.Core { public interface INeighborhoodCostDetector { double GetCost(int first, int second); } }
16.25
46
0.661538
[ "Apache-2.0" ]
bewaretech/PEA.NET
src/PEA/PEA/Core/INeighborhoodCostDetector.cs
132
C#
namespace Windows.UI.Xaml.Media.Animation; public enum SlideNavigationTransitionEffect { FromBottom, FromLeft, FromRight }
14.111111
43
0.818898
[ "MIT" ]
ljcollins25/Codeground
src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Media.Animatio/SlideNavigationTransitionEffec.cs
127
C#
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace DigitalRuby.PyroParticles { public class SingleLineAttribute : PropertyAttribute { public SingleLineAttribute(string tooltip) { Tooltip = tooltip; } public string Tooltip { get; private set; } } #...
34.590476
172
0.561674
[ "MIT" ]
Lanboost/GameJam2018-07-13
Assets/store/PyroParticles/Prefab/Script/SingleLineAttribute.cs
3,634
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace Org.OpenAPITools.Model { /// <summary> /// /// </summary> [DataContract] public class InlineResponse20030Result { /// <summary> /// Gets ...
25.911111
68
0.649228
[ "MIT" ]
LightVolk/Dtf-Client-API
src/main/CsharpDotNet2/Org/OpenAPITools/Model/InlineResponse20030Result.cs
1,166
C#
#region License /* * HttpListenerResponse.cs * * This code is derived from HttpListenerResponse.cs (System.Net) of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2012-2021 sta.blockhead * * Permission is hereby granted, fr...
27.428333
80
0.5525
[ "MIT" ]
4real/websocket-sharp
websocket-sharp/Net/HttpListenerResponse.cs
32,914
C#
using Bogus; using System; using System.Linq; namespace AutoBogus { internal sealed class AutoConfigBuilder : IAutoFakerDefaultConfigBuilder, IAutoGenerateConfigBuilder, IAutoFakerConfigBuilder { internal AutoConfigBuilder(AutoConfig config) { Config = config; } internal AutoConfig Confi...
68.690909
216
0.804747
[ "MIT" ]
Ian1971/AutoBogus
src/AutoBogus/AutoConfigBuilder.cs
11,334
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using UFO.Server.Bll.Common; using UFO.Server.Common; using UFO.Server.Dal.Common; using UFO.Server.Domain; namespace UFO.Server.Web.REST.Controllers { public class CategoriesControlle...
23.727273
89
0.681992
[ "Apache-2.0" ]
Xpitfire/ufo
UFO.Server/UFO.Server.Web.REST/Controllers/CategoriesController.cs
524
C#
using System.Security.Principal; using CAESDO.Recruitment.Core.Abstractions; using CAESDO.Recruitment.Core.DataInterfaces; using CAESDO.Recruitment.Core.Domain; using System.Collections.Generic; using NHibernate; using NHibernate.Criterion; using System.ComponentModel; using System.Web; using System.Linq; usi...
41.99835
194
0.564025
[ "MIT" ]
ucdavis/Recruitments
Recruitment.Data/NHibernateDaoFactory.cs
25,451
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Http.WebHost; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using System.Web.Security; using System.Web.SessionState; using All.In.One.Handlers; using Microsoft.E...
33.695652
97
0.663226
[ "MIT" ]
alfusinigoj/pivotal_aspnet_bootstrap_cloudfoundry_extensions
samples/All.In.One/Global.asax.cs
2,325
C#
/* * Written by Trevor Barnett, <mr.ullet@gmail.com>, 2015, 2016 * Released to the Public Domain. See http://unlicense.org/ or the * UNLICENSE file accompanying this source code. */ using System; using System.Collections.Generic; using System.Linq; namespace Ullet.Strix.Extensions { /// <summary> /// Genera...
32.987179
80
0.609405
[ "Unlicense" ]
ullet/Ullet.Strix.Extensions
Ullet/Strix/Extensions/GeneralExtensions.cs
5,148
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.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Syntax...
40.115385
161
0.529434
[ "Apache-2.0" ]
Ashera138/roslyn
src/Compilers/CSharp/Portable/Symbols/Attributes/SourceAttributeData.cs
15,647
C#
using WalletWasabi.Helpers; using WalletWasabi.Tor.Socks5.Models.Bases; namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields { public class AuthStatusField : OctetSerializableBase { #region Constructors public AuthStatusField() { } public AuthStatusField(int value) { ByteValue = (byte)Guard.I...
17.025
75
0.741557
[ "MIT" ]
Groestlcoin/WalletWasabi
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/AuthStatusField.cs
681
C#
using Microsoft.AspNetCore.Mvc; using Shopping.Aggregator.Models; using Shopping.Aggregator.Services; using System; using System.Net; using System.Threading.Tasks; namespace Shopping.Aggregator.Controllers { [ApiController] [Route("api/v1/[controller]")] public class ShoppingController : ControllerBase {...
39.57377
123
0.655758
[ "MIT" ]
umairk83/AspNetServices
src/ApiGateways/Shopping.Aggregator/Shopping.Aggregator/Controllers/ShoppingController.cs
2,416
C#
using System; namespace Alachisoft.NGroups { [Serializable] internal class ChannelClosedException:ChannelException { public ChannelClosedException():base() { } public ChannelClosedException(string msg):base(msg) { } public override string ToS...
18.181818
59
0.58
[ "Apache-2.0" ]
Alachisoft/NCache
Src/NCCluster/ChannelClosedException.cs
400
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.Collections.Generic; using System.ComponentModel; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; using Mi...
48.198582
137
0.652295
[ "Apache-2.0" ]
CharlieRoseMarie/EntityFrameworkCore
src/EFCore/Metadata/Builders/RelationshipBuilderBase.cs
6,796
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...
37.051546
141
0.659989
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/LexModelBuildingService/Generated/Model/Internal/MarshallTransformations/GetBotAliasesRequestMarshaller.cs
3,594
C#
namespace QuizHut.Data.Models { using System; using QuizHut.Data.Common.Models; public class Result : BaseDeletableModel<string> { public Result() { this.Id = Guid.NewGuid().ToString(); } public int Points { get; set; } public int MaxPoints { get;...
21.181818
64
0.585122
[ "MIT" ]
miraDask/QuizHut
QuizHut/Data/QuizHut.Data.Models/Result.cs
701
C#
using System; namespace AnzolinNetDevPack.Helpers { public static class DateHelper { public enum IntervalType { Day, Month, Year } /// <summary> /// Retorna entre datas de acordo com o tipo de intervalo escolhido. /// </summa...
26.386364
107
0.497847
[ "MIT" ]
anzolin/AnzolinNetDevPack
source/AnzolinNetDevPack/Helpers/DateHelper.cs
1,163
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Umbraco.ModelsBuilder v8.1.0 // // Changes to this file will be lost if the code is regenerated. // </auto-generated> //------------------------------------------------...
37.442857
120
0.71385
[ "MIT" ]
mjbarlow/Umbraco-8-Bulma-Starter-Kit
U8StarterKit.Web/App_Data/Models/FeatureComponent.generated.cs
2,621
C#
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace Branch_Testbed_Android { [Activity(Label = "LogActivity")] public class LogActivity : Activi...
20.741935
66
0.768274
[ "MIT" ]
BranchMetrics/xamarin-branch-deep-linking-attribution
Examples/droid_example/Branch_Testbed_Android/LogActivity.cs
645
C#
// // Author: // Aaron Bockover <abock@xamarin.com> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis....
41.772059
102
0.599366
[ "MIT" ]
mono/workbooks
Clients/Xamarin.Interactive.Client/Compilation/Roslyn/InteractiveSyntaxRewriter.cs
5,681
C#
using System; using NUnit.Framework; namespace Atata.KendoUI.Tests { public class KendoDateTimePickerTests : UITestFixture { private DateTimePickerPage page; protected override void OnSetUp() { page = Go.To<DateTimePickerPage>(); } [Test] public vo...
25.066667
71
0.539894
[ "Apache-2.0" ]
Xen0byte/atata-kendoui
src/Atata.KendoUI.Tests/KendoDateTimePickerTests.cs
1,506
C#
using Microsoft.Extensions.Logging; using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Cybtans.Messaging.RabbitMQ { public class RabbitBroadCastService : IBroadcastService { private readonly BroadcastServiceOptions options;...
30.657143
83
0.575955
[ "MIT" ]
ansel86castro/cybtans-sdk
CybtansSDK/Cybtans.Messaging.RabbitMQ/RabbitBroadCastService.cs
2,148
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...
41.313433
182
0.621749
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/Kendra/Generated/Model/Internal/MarshallTransformations/DataSourceConfigurationUnmarshaller.cs
5,536
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Nether.Data.Identity { public static class LoginProvide...
30.705882
126
0.749042
[ "MIT" ]
vflorusso/nether
src/Nether.Data/Identity/LoginProvider.cs
524
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Alivio_UI_Mockup { public partial class Default : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } ...
19.117647
60
0.698462
[ "MIT" ]
tran-temple/CIS4296-Alivio-UI-Mockup
Alivio UI Mockup/Default.Master.cs
327
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using sample_app.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading....
38.246377
131
0.638878
[ "MIT" ]
swpnlgkwd26/dotnetsampleapp
sample-app/Infrastructure/PageLinkTagHelper.cs
2,641
C#
using System; using System.Linq; using System.Text; using System.Windows.Forms; using ESRI.ArcGIS.Carto; using ESRI.ArcGIS.Geodatabase; using ESRI.ArcGIS.Geometry; using ESRI.ArcGIS.Display; using RDotNet; using ESRI.ArcGIS.esriSystem; //using Accord.Math; //spdep, and maptools packages in R are required namespac...
47.93135
181
0.473002
[ "MIT" ]
hyeongmokoo/SAAR
VisUncertainty/frmLocalSAM.cs
41,894
C#
namespace Vidly.Migrations { using System; using System.Data.Entity.Migrations; public partial class AddedGenreToModelAndMovie : DbMigration { public override void Up() { CreateTable( "dbo.Movies", c => new { ...
32.355556
78
0.423077
[ "MIT" ]
imranaskem/Vidly
Vidly/Migrations/201701101443282_AddedGenreToModelAndMovie.cs
1,456
C#
using System; using System.Collections.Generic; namespace GPS.RandomDataGenerator.Abstractions { public interface IGeneratorOptions<TResult> { IEnumerable<TResult> Generate(Random random); } }
22.2
54
0.720721
[ "MIT" ]
gatewayprogrammingschool/RandomDataGeneration
src/GPS.RandomDataGenerator.Abstractions/IGeneratorOptions.cs
222
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Servic...
36.809524
99
0.557568
[ "MIT" ]
Bhaskers-Blu-Org2/service-fabric-services-and-actors-dotnet
src/Microsoft.ServiceFabric.Actors/Remoting/V1/ActorMessageBody.cs
773
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...
36.801587
80
0.66832
[ "BSD-3-Clause" ]
AlericInglewood/opensimulator
OpenSim/Framework/UserProfiles.cs
4,637
C#
using System; using Avalonia.Media; namespace PRUNner.App.Converters.PlanetFinder { public abstract class PlanetFinderColorBarConverterBase { protected static readonly SolidColorBrush TransparentBrush = new (0); public SolidColorBrush GetBrush(double greenFactor) { var r = ...
30.05
77
0.59401
[ "MIT" ]
Jacudibu/PRUNner
PRUNner/App/Converters/PlanetFinder/PlanetFinderColorBarConverterBase.cs
601
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CBehTreeNodeConditionAmIInInteriorDefinition : IBehTreeNodeConditionIsIn...
34.956522
156
0.777363
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CBehTreeNodeConditionAmIInInteriorDefinition.cs
782
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DotNetGPSystem { internal partial class OpenHRControl : UserControl { private ...
22.636364
106
0.662651
[ "Apache-2.0" ]
endeavourhealth/GPSystemDemonstrator
DotNetGPSystem/Controls/Patient/OpenHRControl.cs
749
C#
namespace CmnSoftwareBackend.Entities.Dtos.CarDtos { public class CarUpdateDto { public int Id { get; set; } public string Name { get; set; } public string Model { get; set; } public string Brand { get; set; } } }
23.454545
50
0.596899
[ "MIT" ]
YunusOzdemirr/BlogApi
src/v2/CmnSoftwareBackend.Entities/Dtos/CarDtos/CarUpdateDto.cs
258
C#
using UnityEngine; using System; using Random = UnityEngine.Random; namespace DB.SimpleFramework.SimpleAudioManager { public enum SpatialMode { TwoDimensional, ThreeDimensional } [Serializable] public class SimpleAudioSettings { public AudioClip Clip; [Space] [Range(0f, 1f)] pub...
31.195122
94
0.615324
[ "MIT" ]
DominikBeens/com.dominikbeens.simpleframework
Runtime/SimpleAudioManager/Scripts/SimpleAudioSettings.cs
1,281
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("09...
38.135135
84
0.743444
[ "MIT" ]
jsdelivrbot/Telerik_Academy
CSharp/CSharp Part 2/Homework/Homework 01. Arrays/09. Frequent number/Properties/AssemblyInfo.cs
1,414
C#
namespace BeDbg.Models; public record DirectoryModel(string Path, IEnumerable<FileModel> Files);
33.333333
72
0.81
[ "MIT" ]
Woodykaixa/BeDbg
BeDbg/Models/DirectoryModel.cs
102
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Mozart.MicroSite { public partial c...
26.327869
81
0.435243
[ "Apache-2.0" ]
zhenghua75/WeiXinEasy
Mozart/MicroSite/Modules/PhotoWall/PhotoMe.aspx.designer.cs
2,110
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V4200</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
41.101504
1,358
0.571298
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V4200/Generated/PRPA_MT010101UK06Subject.cs
10,933
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Windows.Data; using Coosu.Shared; namespace Coosu.Storyboard.Storybrew.Text { class DebugConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, Cult...
28.074074
103
0.620053
[ "MIT" ]
Coosu/Coosu
Coosu.Storyboard.Storybrew/Text/DebugConverter.cs
760
C#
// Copyright 2017 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 applic...
39.709091
108
0.701465
[ "Apache-2.0" ]
iantalarico/google-cloud-visualstudio
GoogleCloudExtension/GoogleCloudExtensionUnitTests/PublishDialog/PublishDialogStepBaseTests.cs
4,370
C#
using System; using Xunit; using static LanguageExt.Prelude; namespace LanguageExt.Tests.Transformer.Traverse.ArrT.Sync { public class TryOptionArr { [Fact] public void FailIsSingletonNone() { var ma = TryOptionFail<Arr<int>>(new Exception("fail")); var mb = ma.S...
24.8
81
0.529234
[ "MIT" ]
Bagoum/language-ext
LanguageExt.Tests/Transformer/Traverse/Arr/Sync/TryOption.cs
992
C#
using System.Collections.Generic; using System.Runtime.Serialization; namespace RiotApi.Net.RestClient.Dto.Champion { /// <summary> /// ChampionListDto - This object contains a collection of champion information. /// </summary> [DataContract] public class ChampionListDto : RiotDto { //...
35.095238
128
0.550882
[ "MIT" ]
Nayls/RiotApi.NET
RiotApi.Net.RestClient/Dto/Champion/ChampionListDto.cs
2,213
C#
using System; namespace ManagerAPI.Shared.Enums { /// <summary> /// Order Direction /// </summary> public enum OrderDirection { /// <summary> /// ASC /// </summary> Ascend = 1, /// <summary> /// DESC /// </summary> Descend = 2, ...
26.809524
81
0.50444
[ "MIT" ]
karcagtamas/ManagerAPI
ManagerAPI.Shared/Enums/OrderDirection.cs
1,691
C#
using System.Collections.Generic; using System.Reflection; namespace RegionOrebroLan.Localization.Reflection { public interface IAssemblyHelper { #region Properties IAssembly ApplicationAssembly { get; } IEnumerable<IAssembly> RuntimeAssemblies { get; } #endregion #region Methods IEnumerable<IAssemb...
23.5
71
0.788871
[ "MIT" ]
RegionOrebroLan/.NET-Localization-Extensions
Source/Project/Reflection/IAssemblyHelper.cs
613
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.Diagnostics; using System.IO; using System.Reflection.M...
40.431937
157
0.540142
[ "MIT" ]
guhuro/coreclr
src/ToolBox/SOS/NETCore/SymbolReader.cs
30,890
C#
using System.Data.Entity.ModelConfiguration; using Microsoft.AspNet.Identity.EntityFramework; namespace HBSIS.SpaUserControl.CrossCutting.Identity.EntityConfig { public class LoginMap : EntityTypeConfiguration<IdentityUserLogin> { public LoginMap() { ToTable("UserLogins"); ...
25.375
74
0.67734
[ "MIT" ]
manacespereira/spa-user-control-hbsis
server/HBSIS.SpaUserControl/HBSIS.SpaUserControl.CrossCutting.Identity/EntityConfig/LoginMap.cs
408
C#
using System; using System.Linq; namespace CronBuilder { public interface ICronMonthlyBuilder { ICronDailyMinuteTimeBuilder On(params MonthDay[] day); } internal class CronMonthlyBuilder : ICronMonthlyBuilder { private readonly Cron _cron; internal CronMonthlyBuilder() : ...
22.925
68
0.543075
[ "MIT" ]
rick-moneybox/cron-builder
src/CronBuilder/ICronMonthlyBuilder.cs
919
C#
using UnityEngine; public class SelfDestroy : Photon.MonoBehaviour { public float CountDown = 5f; private void Update() { CountDown -= Time.deltaTime; if (CountDown > 0) { return; } if (IN_GAME_MAIN_CAMERA.Gametype == GameType.Singleplayer || base.photo...
23.16
124
0.568221
[ "Apache-2.0" ]
alerithe/guardian
Assembly-CSharp/AoTTG/SelfDestroy.cs
579
C#
// // Copyright 2020 Google LLC // // 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, Ver...
34.451505
106
0.552859
[ "Apache-2.0" ]
Face1174/iap-desktop
sources/Google.Solutions.IapDesktop/Windows/MainFormViewModel.cs
10,303
C#
using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace SampleTest.IdentityModel.Tokens.Jwt ...
28.248869
125
0.677559
[ "MIT" ]
ichiroku11/dotnet-sample
src/SampleTest/IdentityModel.Tokens.Jwt/JwtSecurityTokenHandlerTest.cs
6,789
C#
using UnityEngine; public class IgnoreCollision : MonoBehaviour { [SerializeField] Collider[] ownColliders; [SerializeField] Collider[] otherColliders; void Start() { foreach (var self in ownColliders) foreach (var other in otherColliders) Physics.IgnoreCollision(s...
22.733333
53
0.656891
[ "MIT" ]
Will9371/Character-Template
Assets/Playcraft/Quality of Life/Physics/IgnoreCollision.cs
343
C#
using Orchard.Events; using Orchard.DependencyInjection; using System.Threading.Tasks; namespace Orchard.DisplayManagement.Descriptors { public interface IShapeTableManager : ITransientDependency { ShapeTable GetShapeTable(string themeName); } public interface IShapeTableProvider : IDependenc...
24.47619
62
0.743191
[ "BSD-3-Clause" ]
PinpointTownes/Orchard2
src/Orchard.DisplayManagement/Descriptors/Interfaces.cs
516
C#
namespace CaliperTest { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
42.577922
107
0.589294
[ "Apache-2.0" ]
GibraltarSoftware/Loupe.Samples
src/Caliper/MainForm.Designer.cs
6,559
C#
using AutoMapper; using HouseholdManager.Common.Contracts; namespace HouseholdManager.Common { public class MappingService : IMapingService { public T Map<T>(object source) { return Mapper.Map<T>(source); } public TDestination Map<TSource, TDestination>(TSource sou...
23.894737
96
0.645374
[ "MIT" ]
GalinStoychev/household-manager
HouseholdManager/HouseholdManager.Common/MappingService.cs
456
C#
// Copyright (c) Microsoft. All rights reserved. // Copyright (c) Denis Kuzmin <x-3F@outlook.com> github/3F // Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Syst...
38.329114
134
0.597094
[ "MIT" ]
3F/IeXod
src/Tasks/ManifestUtil/EmbeddedManifestReader.cs
3,030
C#
using Biglab.Remote; using UnityEngine; public class SceneTouchHandler : MonoBehaviour { private enum SceneInteractionState { ReadyState, DragBackground, DragCube } GameObject cube = null; float lastX = 0; float lastY = 0; private SceneInteractionState state = Scen...
38.214876
183
0.523789
[ "MIT" ]
dylanbrodiefafard/virtual-ftvr
VolumetricDisplay/Assets/Biglab/Remote/SceneTouchHandler.cs
4,624
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Liath.Quest.Tests.ThingsToTest { public interface IDataAccess { string Save(int value); void DoSomething(int value); } }
17.642857
40
0.700405
[ "MIT" ]
ardliath/Quest
Liath.Quest.Tests/ThingsToTest/IDataAccess.cs
249
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
31.15493
92
0.611212
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SecurityAuthenticateResponse.g.cs
2,658
C#
// Copyright (c) 2015, Michael Kunz. All rights reserved. // http://kunzmi.github.io/managedCuda // // This file is part of ManagedCuda. // // ManagedCuda is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundat...
46.008511
218
0.664262
[ "MIT" ]
SciSharp/SiaNet
Library/ManagedCuda/CudaDNN/PoolingDescriptor.cs
10,814
C#
namespace BookStore.Data.Mappers { public static class MapperInventory { /// <summary> /// Turn a entity inventory into a model stock /// </summary> /// <param name="inventory"></param> /// <returns></returns> public static Domain.Models.Stock Map(Entities.Invent...
30.8
81
0.537106
[ "MIT" ]
2011-nov02-net/antonio-project1
BookStore/BookStore.Data/Mappers/MapperInventory.cs
1,080
C#
 namespace TestPluralize { // https://stackoverflow.com/questions/9468800/determining-thread-safety-in-unit-tests // Proving that something is thread safe is tricky - probably halting-problem hard. // You can show that a race condition is easy to produce, or that it is hard to produce. // Bu...
32.324324
96
0.426421
[ "MIT" ]
ststeiger/Pluralize.NET.Core
TestPluralize/ThreadSafety.cs
2,321
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.403509
153
0.609411
[ "MIT" ]
Data443/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/WorkbookTableSort.cs
2,189
C#
namespace JobFinder.Web.Areas.Company.Models.JobOfferViewModels { using System.ComponentModel.DataAnnotations; public class CreateOfferViewModel { [Required] public string Title { get; set; } [Required] public string Description { get; set; } [Required] pu...
23.388889
64
0.570071
[ "MIT" ]
delyan-nikolov-1992/JobFinder-System
JobFinder-System/JobFinder.Web/Areas/Company/Models/JobOfferViewModels/CreateOfferViewModel.cs
844
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...
29.925
87
0.657477
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Cdn/V20200901/Outputs/DeliveryRuleUrlFileNameConditionResponse.cs
1,197
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.IO; using System.Reflection.Metadata; using System.Reflection.Metadata.Ecma335; using System.Reflection...
41.582192
180
0.614726
[ "MIT" ]
benjamin-bader/corefx
src/System.Reflection.Metadata/tests/PortableExecutable/PEReaderTests.cs
6,071
C#
// <auto-generated /> using System; using AuthDataAccess.SQLImplementation; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion;...
37.695906
125
0.463466
[ "MIT" ]
sanishtj/ASP.NET-Core-REST-API-Auth-Microservice
AuthDataAccess/Migrations/20200506174809_UniqueKeyOnTenantName.Designer.cs
12,894
C#
/* * Licensed to SharpSoftware under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * SharpSoftware licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not us...
42.46114
143
0.552776
[ "Apache-2.0" ]
itinero/logistics
src/Itinero.Optimization/Solvers/Shared/Directed/TurnOptimizationOperation.cs
8,197
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Evolve.MSBuild { /// <summary> /// Custom MSBuild Task that runs an Evolve command. /// </summar...
38.236607
142
0.54711
[ "MIT" ]
Zarun1/Evolve
src/Evolve.MSBuild/EvolveBoot.cs
8,567
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace MailPlus.Models { using System.Linq; public partial class CampaignMailingOpenResponse { /// <summary> /// Initializes a new ...
31.589744
201
0.628247
[ "MIT" ]
panoramastudios/MailPlus.NET
MailPlus/Models/CampaignMailingOpenResponse.cs
1,232
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Phone.PersonalInformation { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public partial class ContactChangeRecord { #if __ANDROID__ || __IOS__ || NET46 ||...
32.732143
143
0.747954
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Phone.PersonalInformation/ContactChangeRecord.cs
1,833
C#