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
namespace BattleShips.Client { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public static class Constants { public static class UrlEndPoints { public const string Register = "api/account/regi...
27.47619
66
0.618718
[ "MIT" ]
ttitto/WebDevelopment
Web Services and Cloud/ConsumingWebServicesHW/BattleShipsClient/BattleShips.Client/Constants.cs
579
C#
// ----------------------------------------------------------------------- // <copyright file="InternalCacher.cs" company=""> // Copyright (c) 2014-2015 OSky. All rights reserved. // </copyright> // <last-editor>Lmf</last-editor> // <last-date>2015-03-22 23:46</last-date> // ----------------------------------...
27.38674
108
0.453097
[ "Apache-2.0" ]
liumeifu/OSky
src/OSky.Core/Caching/InternalCacher.cs
5,421
C#
namespace Maroontress.Util { using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; /// <summary> /// An <see cref="ImmutableDictionary{TKey, TValue}"/> and linked list /// implementation of the <see cref="IImmuta...
33.047847
79
0.531924
[ "BSD-2-Clause" ]
maroontress-tomohisa/HtmlBuilder
HtmlBuilder/Maroontress/Util/ImmutableLinkedHashMap.cs
6,907
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x91B28B0A)] public class STU_91B28B0A : STURankedData { [STUFieldAttribute(0x6E616C15)] public int m_6E616C15; [STUFieldAttribute(0x5814361A)] public int...
24.423077
54
0.677165
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_91B28B0A.cs
635
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { LinqKeywordsExamples(); LinqExtensionMethodsExamples(); } private static void LinqKeywordsExamples() { int[] numbers = { 5, 4, 1,...
28.580645
114
0.566817
[ "MIT" ]
DimitarDKirov/Object-Oriented-Programming-2016
Topics/03. Extension-Methods-Delegates-Lambda-LINQ/demos/LINQ-Extenstion-Methods/Program.cs
4,432
C#
 using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Linq; using System.Web; using PholioVisualisation.Cache; using PholioVisualisation.RequestParameters; namespace PholioVisualisation.Services.HttpHandlers { public class GetChart : IHttpHandler ...
28.288136
89
0.562013
[ "MIT" ]
PublicHealthEngland/fingertips-open
PholioVisualisationWS/Services/HttpHandlers/GetChart.cs
1,671
C#
using System; using System.Collections.Generic; using System.Linq; namespace _07._Append_arrays { class Program { static void Main(string[] args) { List<string> bigArray = Console.ReadLine() .Split('|', StringSplitOptions.RemoveEmptyEntries) .Reverse...
26.75
70
0.450935
[ "MIT" ]
dMundov/SoftUni-HomeWorks
CSharp-TechFundamentals/13.Lists - Exercise/07. Append Arrays/Program.cs
858
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
37.37037
99
0.620168
[ "MIT" ]
Martin77Punk/FEI_IRK_Projects
FEI.IRK.HM.HMIvR/FEI.IRK.HM.HMIvR.UWP/App.xaml.cs
4,038
C#
#if __IOS__ using System; using ObjCRuntime; using Foundation; namespace StoreKit { partial class SKCloudServiceSetupOptions { [iOS (10,1)] public virtual SKCloudServiceSetupAction? Action { get { return (SKCloudServiceSetupAction?) (SKCloudServiceSetupActionExtensions.GetValue (_Action)); } set {...
19.695652
99
0.730684
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
src/StoreKit/SKCloudServiceSetupOptions.cs
453
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using System.Globalization; using System.IO; using System.Linq; using System.Runtime; using System.Waf; using System.Waf.Applications; using System.Windows; using System....
38.564516
116
0.647846
[ "MIT" ]
cnark/dotnetpad
src/DotNetPad/DotNetPad.Presentation/App.xaml.cs
4,784
C#
using Volo.Abp.Authorization.Permissions; using Volo.Abp.FeatureManagement.Localization; using Volo.Abp.Localization; namespace LINGYUN.Abp.FeatureManagement.Client.Permissions { public class ClientFeaturePermissionDefinitionProvider : PermissionDefinitionProvider { public override void Define(IPermis...
40.882353
101
0.64964
[ "MIT" ]
mysharp/abp-vue-admin-element-typescript
aspnet-core/modules/features/LINGYUN.Abp.FeatureManagement.Client/LINGYUN/Abp/FeatureManagement/Client/Permissions/ClientFeaturePermissionDefinitionProvider.cs
1,392
C#
using System; using System.Globalization; namespace Karambolo.ReactiveMvvm.Binding { public interface IBindingConverter { bool CanConvert(Type fromType, Type toType); bool TryConvert(ObservedValue<object> value, Type toType, object parameter, CultureInfo culture, out ObservedValue<object> resu...
27.75
139
0.747748
[ "Apache-2.0", "MIT" ]
adams85/reactivemvvm
source/Karambolo.ReactiveMvvm/Binding/IBindingConverter.cs
335
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #pragma warning disable 414 using System; public class A{ ////////////////////////////// // Instance Fields public int FldPubInst; private int FldPrivInst; protected int FldFa...
25.977941
161
0.598453
[ "MIT" ]
2m0nd/runtime
src/tests/Loader/classloader/v1/Beta1/Layout/Matrix/cs/L-1-6-3D.cs
10,599
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using T_MARIANA_GUSTAVO_BACKEND_ROMAN.Interfaces; using T_MARIANA_GUSTAVO_BACKEND_ROMAN.Repositories; namespace T_...
25.242424
62
0.695078
[ "MIT" ]
regiamariana/Sprint4-exerc-cios
Roman/BACKEND/T_MARIANA_GUSTAVO_BACKEND_ROMAN/T_MARIANA_GUSTAVO_BACKEND_ROMAN/Controllers/TemasController.cs
835
C#
using System; // ReSharper disable once CheckNamespace namespace Bing.Utils.Extensions { /// <summary> /// 字节值(<see cref="Byte"/>) 扩展 /// </summary> public static class ByteExtensions { #region Max(获取两个数中最大值) /// <summary> /// 获取两个数中最大值 /// </summary> /// <...
22.093023
61
0.511579
[ "MIT" ]
Alean-singleDog/Bing.NetCore
src/Bing.Utils/Extensions/Bases/ByteExtensions.cs
1,042
C#
using System; namespace ReactIdentity { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
19.3125
70
0.576052
[ "MIT" ]
aurlaw/ReactIdentity
ReactIdentity/WeatherForecast.cs
309
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Xml; using InvoiceClient.Helper; using InvoiceClient.Properties; using Model.Locale; using Model.Schema.EIVO; using Model.Schema.EIVO.B2B; using Model.Schema.TXN; using Utility; ...
41.708738
160
0.524907
[ "MIT" ]
uxb2bralph/IFS-EIVO03
InvoiceClient/Agent/MIGHelper/D0401Watcher.cs
4,298
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace coderush { public class Program { pu...
26.285714
76
0.661685
[ "MIT" ]
newusertesr26/New-Coderush
coderush/Program.cs
738
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using NUnit.Framework; using osu.Game.Beatmaps.Legacy; using osu.Game.Rulesets.Osu.Mods; using osu.Game.Tests.Beatmaps; namespace osu.Game.Rulese...
56.290323
151
0.70659
[ "MIT" ]
AaqibAhamed/osu
osu.Game.Rulesets.Osu.Tests/OsuLegacyModConversionTest.cs
1,717
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="ScriptListResult" /> /// </summary> public partial class ...
51.197183
241
0.580605
[ "MIT" ]
Agazoth/azure-powershell
src/Kusto/generated/api/Models/Api202101/ScriptListResult.TypeConverter.cs
7,129
C#
// Copyright (C) 2013 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Denis Krjuchkov // Created: 2013.12.11 using System; using System.Linq.Expressions; using Xtensive.Core; namespace Xtensive.Orm.Linq.Model { internal static class QueryP...
32.5
76
0.636095
[ "MIT" ]
SergeiPavlov/dataobjects-net
DataObjects/Orm/Linq/Model/QueryParser.cs
1,692
C#
using System; using UnityEngine; // Token: 0x02000333 RID: 819 public class BatheEventScript : MonoBehaviour { // Token: 0x0600173F RID: 5951 RVA: 0x000B6FFF File Offset: 0x000B53FF private void Start() { this.RivalPhone.SetActive(false); if (DateGlobals.Weekday != this.EventDay) { base.enabled = false; ...
28
200
0.68323
[ "Unlicense" ]
larryeedwards/openyan
Assembly-CSharp/BatheEventScript.cs
5,798
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using Microsoft.Toolkit.Uwp.UI.Lottie.WinCompData; namespace Microsoft.Toolkit.Uwp...
38.295238
97
0.536309
[ "MIT" ]
salmanmkc/Lottie-Windows
source/UIData/Tools/Stats.cs
8,042
C#
using Abp.AutoMapper; using Project1.Authentication.External; namespace Project1.Models.TokenAuth { [AutoMapFrom(typeof(ExternalLoginProviderInfo))] public class ExternalLoginProviderInfoModel { public string Name { get; set; } public string ClientId { get; set; } } }
21.714286
52
0.710526
[ "MIT" ]
buiphuocnhat/DemoBoilerPlate
aspnet-core/src/Project1.Web.Core/Models/TokenAuth/ExternalLoginProviderInfoModel.cs
306
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System; using Sportradar.OddsFeed.SDK.Messages; using Sportradar.OddsFeed.SDK.Messages.REST; namespace Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO { /// <summary> /// A data-transfer-object for fixture change ...
31.487805
117
0.625097
[ "Apache-2.0" ]
sportradar/UnifiedOddsSdkNet
src/Sportradar.OddsFeed.SDK.Entities.REST/Internal/DTO/FixtureChangeDTO.cs
1,293
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.Collections; using System.Collections.Generic; using Xunit; namespace System.ComponentModel.Design.Tes...
46.766667
198
0.753386
[ "MIT" ]
15835229565/winforms-1
src/System.Windows.Forms.Design/tests/UnitTests/System/ComponentModel/Design/DesignerActionListsChangedEventArgsTests.cs
1,403
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
37.642857
83
0.711575
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Domainvalue/ActClassConsent.cs
1,054
C#
#if !NO_RUNTIME using System; using ProtoBuf.Meta; #if FEAT_IKVM using Type = IKVM.Reflection.Type; using IKVM.Reflection; #else using System.Reflection; #endif namespace ProtoBuf.Serializers { sealed class PropertyDecorator : ProtoDecoratorBase { public override Type ExpectedType { get { return f...
43.017544
180
0.567292
[ "MIT" ]
a1475775412/GameDesigner
GameDesigner/Serialize/protobuf-net/Serializers/PropertyDecorator.cs
7,358
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace RemoteUnitTestExecutor.Host { public static class Program { public static void Main(string[] args) { Type t = Type.GetType("RemoteUnitTestExecutor.Program, Remot...
27.058824
92
0.634783
[ "MIT" ]
MarcoRossignoli/CLRInstrumentationEngine
src/Tests/RemoteUnitTestExecutor.Host/Program.cs
462
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
26.666667
86
0.678533
[ "Apache-2.0" ]
grisha-kotler/lucenenet
src/Lucene.Net/Store/RAMInputStream.cs
3,680
C#
using System; using System.IO; using System.Linq; using UnityEditor; using UnityEditor.Build; using UnityEditor.Build.Reporting; using UnityEngine; namespace Samples { /// <summary> /// Simple build processor that makes sure that any custom configuration that the user creates is /// correctly passed on t...
42.852632
149
0.644559
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
ArcticCloudStudios/Project-Armada
Project Armada/Library/PackageCache/com.unity.xr.management@3.0.3/Samples~/Editor/SampleBuildProcessor.cs
4,071
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Win32.SafeHandles; namespace System.Diagnostics { public static partial class Debug { ...
36.135417
133
0.50418
[ "MIT" ]
Acidburn0zzz/coreclr
src/mscorlib/shared/System/Diagnostics/Debug.Unix.cs
3,469
C#
using AutoMapper; using CoachLancer.Services.Contracts; using CoachLancer.Web.ViewModels.Home; using System.Linq; using System.Web.Mvc; namespace CoachLancer.Web.Controllers { public class HomeController : Controller { private readonly ICoachService coachService; private readonly IM...
25.047619
74
0.576046
[ "MIT" ]
ikonomov17/CoachLancer
CoachLancer/CoachLancer.Web/Controllers/HomeController.cs
1,054
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: AssemblyTi...
38.621622
85
0.725682
[ "MIT" ]
prime167/CSharpCodes
Code/Reflection/Properties/AssemblyInfo.cs
1,432
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por herramienta. // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // el código se vuelve a generar. // </auto-generated> //--------...
31.027778
95
0.522829
[ "MIT" ]
mglezh/visual-studio-2012
WebApp2/WebApp2/Account/Login.aspx.designer.cs
1,123
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace bellatrix.Pages { [ResponseCache(Duration = 0, Location = ResponseCache...
25.3125
88
0.681481
[ "Unlicense" ]
alesterre/Bellatrix
Pages/Error.cshtml.cs
810
C#
namespace Clase7v2.Models.TokenAuth { public class ExternalAuthenticateResultModel { public string AccessToken { get; set; } public string EncryptedAccessToken { get; set; } public int ExpireInSeconds { get; set; } public bool WaitingForActivation { get; set; } } }
22.428571
56
0.659236
[ "MIT" ]
REL1980/Clase7v2
aspnet-core/src/Clase7v2.Web.Core/Models/TokenAuth/ExternalAuthenticateResultModel.cs
316
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using BenchmarkDotNet.Attributes; using DotNetCross.Sorting; namespace DotNetCross.Sorting.Benchmarks { // https://github.com/KirillOsenkov/Benchmarks/blob/e9b3af701eb4bf98a598b866cc252349b...
30.247934
131
0.540164
[ "MIT" ]
DotNetCross/Sorting
tests/DotNetCross.Sorting.Benchmarks/SortDictionary.cs
3,662
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Door : MonoBehaviour { public GameObject doorCollider; private GameObject player; private float widthOffset = 9f; private float heightOffset = 6f; // Start is called before the first frame update void...
46.482143
131
0.634268
[ "MIT" ]
omf2333/42019801GameProgramming
Assets/Scripts/Dungeon/Door.cs
2,603
C#
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.Json; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.Logging; using Sidekick.Domain.Apis.GitHub; using Sidekick.Domain.Initialization.Notif...
37.538961
234
0.561149
[ "MIT" ]
domialex/Sidekick
src/Sidekick.Infrastructure/Github/Commands/CheckForUpdateHandler.cs
5,781
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.Runtime.Intrinsics; namespace System.Runtime.Intrinsics.X86 { /// <summary> /// ...
58.418006
219
0.646026
[ "MIT" ]
AaronRobinsonMSFT/coreclr
src/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs
109,008
C#
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restr...
27.374815
89
0.569867
[ "MIT" ]
Ahe4d/Despacito3D
Templates/Modules/FPSGameplay/scripts/datablocks/player.cs
17,804
C#
//---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.15.10.0 (NJsonSchema v10.6.10.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- #pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBa...
58.915298
274
0.71965
[ "Apache-2.0" ]
testit-tms/api-client-dotnet
src/TestIt.Api/Models.g.cs
182,932
C#
using System.IO; using BlazingArticle.Model; using Mediwatch.Shared.Models; using Microsoft.EntityFrameworkCore; namespace Server { public class DbContextMediwatch : DbContext { public DbContextMediwatch (DbContextOptions<DbContextMediwatch> options) : base(options) { } protected DbContex...
33.911765
85
0.653079
[ "CC0-1.0" ]
Mediwatch/BlazyWatch
Server/DbContextMediwatch.cs
1,153
C#
// Copyright 2019 Google LLC // // 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 w...
37.085714
99
0.53621
[ "Apache-2.0" ]
googleads/googleads-dotnet-lib
examples/AdManager/CSharp/v202105/CustomFieldService/UpdateCustomFields.cs
3,894
C#
// File generated from our OpenAPI spec namespace Stripe.Identity { using Newtonsoft.Json; public class VerificationReportIdNumberError : StripeEntity<VerificationReportIdNumberError> { /// <summary> /// A short machine-readable string giving the reason for the verification failure. ...
33.625
99
0.630731
[ "Apache-2.0" ]
GigiAkamala/stripe-dotnet
src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportIdNumberError.cs
807
C#
namespace SharpLocker.Properties { using System; /// <summary> /// A strongly-typed resource class, for looking up localized strings, etc. /// </summary> // This class was auto-generated by the StronglyTypedResourceBuilder // class via a tool like ResGen or Visual Studio. ...
41.471545
178
0.570868
[ "Apache-2.0" ]
TheNoobProgrammer22/fake-lock-screen-generator
Fake Password Screen/Properties/Resources.Designer.cs
5,101
C#
using System; using System.Linq; using System.Xml.Serialization; using System.Collections.Generic; namespace Tiled { /// <summary> /// Represents a polyline object (<see cref="TiledObject"/>). /// </summary> public class TiledPolyline : TiledBaseObject { /// <summary> ...
29.571429
95
0.452036
[ "BSD-3-Clause" ]
napen123/Tiled.Net
Tiled.Net/TiledPolyline.cs
1,451
C#
namespace Servie { partial class frmAbout { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
47.379121
167
0.580888
[ "Apache-2.0" ]
elpollouk/servie
Servie/frmAbout.Designer.cs
8,626
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.ExcelApi { ///<summary> /// Interface IMen...
40.152334
193
0.717844
[ "MIT" ]
Engineerumair/NetOffice
Source/Excel/Interfaces/IMenuItems.cs
16,344
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...
36.692308
184
0.659329
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/AwsOpenSearchServiceDomainServiceSoftwareOptionsDetailsMarshaller.cs
3,816
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Wildlife.Models { [Table ("Sighting")] public class Sighting { [Key] public int Sighti...
25.863636
52
0.659051
[ "MIT" ]
nsanders9022/wildlife-tracker
src/Wildlife/Models/Sighting.cs
571
C#
namespace Fildo.Core.ViewModels { using Entities; using System.Collections.Generic; using System.Windows.Input; using System; using IPlatform; using Others; using Workers; using System.Collections.ObjectModel; using System.Threading.Tasks; using Resources; using MvvmCross.Cor...
21.555556
96
0.647766
[ "MIT" ]
yknx4/Fildo
Fildo.Core/ViewModels/InfoViewModel.cs
582
C#
// ----------------------------------------------------------------------- // <copyright file="HtmlResult.cs" company="SimpleBrowser"> // Copyright © 2010 - 2019, Nathan Ridley and the SimpleBrowser contributors. // See https://github.com/SimpleBrowserDotNet/SimpleBrowser/blob/master/readme.md // </copyright> // ...
42.133663
195
0.571261
[ "BSD-3-Clause" ]
mikaelliljedahl/SimpleBrowser
SimpleBrowser/HtmlResult.cs
17,026
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models { /// <summary> /// <para>表示 [GET] /payscore/partner/serviceorder 接口的请求。</para> /// </summary> public class GetPayScorePartnerServiceOrderByQueryIdRequest : GetPayScoreServiceOrderByQueryIdRequest ...
29.157895
105
0.666065
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/PayScorePartnerServiceOrder/GetPayScorePartnerServiceOrderByQueryIdRequest.cs
592
C#
//// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using System; namespace Azure.Storage.Sas { /// <summary> /// A <see cref="BlobSasQueryParameters"/> object represents the components /// that ...
33.119048
129
0.558351
[ "MIT" ]
AzureMentor/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/Sas/BlobSasQueryParameters.cs
4,175
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
30.576687
109
0.595506
[ "CC0-1.0" ]
10088/ignite
modules/platforms/dotnet/Apache.Ignite.Linq/Impl/AliasDictionary.cs
4,986
C#
// SecT113Field Decompiled was cancelled.
10.75
25
0.790698
[ "MIT" ]
smdx24/CPI-Source-Code
Org.BouncyCastle.Math.EC.Custom.Sec/SecT113Field.cs
43
C#
using System.Diagnostics.CodeAnalysis; using Tk.Extensions; namespace nomoretrolls.Config { [ExcludeFromCodeCoverage] internal class EnvVarConfigurationProvider : IConfigurationProvider { private const string EnvVarNamePrefix = "nomoretrolls"; public AppConfiguration GetAppConfiguration()...
35.296296
118
0.561385
[ "MIT" ]
tonycknight/nomoretrolls
src/nomoretrolls/Config/EnvVarConfigurationProvider.cs
1,908
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...
33.858824
159
0.663308
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/IoTAnalytics/Generated/Model/Internal/MarshallTransformations/DescribeLoggingOptionsRequestMarshaller.cs
2,878
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.Mvc; namespace CustomRouteWebSite { public class LocaleAttribute : RouteConstraintAttribute { ...
31.133333
111
0.708779
[ "Apache-2.0" ]
walkeeperY/ManagementSystem
test/WebSites/CustomRouteWebSite/LocaleAttribute.cs
469
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...
41.685714
179
0.641535
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/NetworkManager/Generated/AmazonNetworkManagerException.cs
4,377
C#
using System; using System.Linq; using System.Collections; using System.Collections.Generic; namespace PeefyLeetCode.CountAndSay { public class Solution { public string CountAndSay(int n) { string s = ""; if (n <= 1) { return "1"; ...
24.913043
55
0.304538
[ "Apache-2.0" ]
Peefy/PeefyLeetCode
src/CSharp/1-100/38.CountAndSay.cs
1,146
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Fram...
44.092486
194
0.469848
[ "MIT" ]
GoldenMine0502/osu
osu.Game/Skinning/DefaultSkin.cs
7,458
C#
// // ManualDhtEngine.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2019 Alan McGovern // // 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...
29.73
84
0.661621
[ "MIT" ]
alexanderfedin/monotorrent
src/Tests/Tests.MonoTorrent.Client/Client/ManualDhtEngine.cs
2,975
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Network.Models; namespace A...
47.358722
205
0.597095
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/IpGroupsOperations.cs
19,275
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using BloomSales.Web.Store; using BloomSales.Web.Store.Controllers; namespace BloomSales.Web.Store.Tests.Controllers { [TestClass] public class HomeCo...
23.8
90
0.57754
[ "MIT" ]
moriazat/BloomSales
Web/UnitTests/BloomSales.Web.Store.Tests/Controllers/HomeControllerTest.cs
1,311
C#
using VXDesign.Store.DevTools.Common.Core.Entities.NoteFolder; using VXDesign.Store.DevTools.Modules.SimpleNoteService.Server.Models.NoteFolder; namespace VXDesign.Store.DevTools.Modules.SimpleNoteService.Server.Extensions { internal static class NotePagingModelsExtensions { internal static NotePagingR...
35.266667
99
0.725898
[ "MIT" ]
GUSAR1T0/VXDS-DEV-TOOLS
DevTools/Modules/SimpleNoteService/Server/Extensions/NotePagingModelsExtensions.cs
529
C#
using System.Windows; using System.Data; using System.Data.SqlClient; namespace Trafika.Forme { public partial class frmDobavljac : Window { public SqlConnection konekcija = Konekcija.KreirajKonekciju(); public frmDobavljac() { InitializeComponent(); txtNazivFi...
31.431034
138
0.486561
[ "MIT" ]
Vukan-Markovic/Store
MainWindow/Forme/frmDobavljac.xaml.cs
1,827
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Nito.AsyncEx; using NUnit.Framework; using SJP.Schematic.Core; using SJP.Schematic.Core.Extensions; using SJP.Schematic.Tests.Utilities; namespace SJP.Schematic.Oracle.Tests.Integr...
53.366755
191
0.731484
[ "MIT" ]
sjp/Schematic
src/SJP.Schematic.Oracle.Tests/Integration/OracleRelationalDatabaseTableProviderTests.cs
20,228
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.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Antiforgery { /// <summary> /// Generate...
41.964286
112
0.626383
[ "Apache-2.0" ]
belav/aspnetcore
src/Antiforgery/src/Internal/IAntiforgeryTokenGenerator.cs
2,350
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.Collections.Generic; using System.Runtime.CompilerServices; using System.Diagnostics.CodeAnalysis; na...
36
109
0.708333
[ "MIT" ]
Partydonk/runtime
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/ReferenceEqualsEqualityComparer.cs
1,082
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; namespace Microsoft.Extensions.Tools.Internal { /// <summary> /// This API supports infrastructure and is not intended to be used /// directly from your co...
31.44
116
0.650127
[ "MIT" ]
48355746/AspNetCore
src/Tools/Shared/CommandLine/CliContext.cs
786
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 namespace DotNetNuke.UI.WebControls { using System; using System.Web.UI.WebControls; using DotNetNuke.Co...
36.720721
199
0.492395
[ "MIT" ]
Mariusz11711/DNN
DNN Platform/Library/UI/WebControls/ActionLink.cs
4,078
C#
/** * Copyright 2017-2021 Plexus Interop Deutsche Bank AG * SPDX-License-Identifier: Apache-2.0 * * 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/...
39.538462
130
0.768482
[ "Apache-2.0" ]
deutschebank/Plexus-interop
desktop/src/Plexus.Interop.Broker.Core/Internal/IRegistryService.cs
2,058
C#
// ----------------------------------------------------------------------- // <copyright file="EnumExtension.cs" company="Îakaré Software'oka"> // Copyright (c) Îakaré Software'oka. // All rights reserved. // Licensed under the MIT license. // See LICENSE file in the project root for full license infor...
34.485714
89
0.526512
[ "MIT" ]
luca16s/CapybaraFinancePlanner
Kapi.Domain.Core/Extensions/EnumExtension.cs
2,432
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; using TMDbLib.Objects.Changes; using TMDbLib.Objects.General; using TMDbLib.Objects.Movies; using TMDbLib.Objects.Reviews; using TMDbLib.Objects.Search; using TMDbLib.Utilities.Converters; namespace TMDbLib.Objects.TvShows { public class TvSho...
31.005917
101
0.628626
[ "MIT" ]
Chronoscross/TMDbLib
TMDbLib/Objects/TvShows/TvShow.cs
5,242
C#
using System; namespace Adaptive.ReactiveTrader.Client.iOSTab { public class FormattedPrice { public FormattedPrice(string bigFigures, string pips, string tenthOfPip) { BigFigures = bigFigures; Pips = pips; TenthOfPip = tenthOfPip; } public string BigFigures { get; private set; } public string P...
20.05
74
0.718204
[ "Apache-2.0" ]
AdaptiveConsulting/ReactiveTrader
src/Adaptive.ReactiveTrader.Client.iOSTab/FormattedPrice.cs
403
C#
using System; using System.Text; using Android.Content; using Android.Runtime; using Android.Text; using Android.Util; using Steepshot.Core.Extensions; using Steepshot.Core.Models.Common; namespace Steepshot.CustomViews { public sealed class PostCustomTextView : ExpandableTextView { public PostCustomT...
33.068966
126
0.637122
[ "MIT" ]
Chainers/steepshot-mobile
Sources/Steepshot/Steepshot.Android/CustomViews/PostCustomTextView.cs
1,920
C#
using FakeItEasy; using Faker; using FluentAssertions; using NUnit.Framework; using System; using System.Collections.Generic; using System.Threading.Tasks; using Watchster.Application.Features.Commands; using Watchster.Application.Models; using Watchster.SendGrid.Models; using Watchster.SendGrid.Services; namespace W...
32.367925
128
0.605363
[ "MIT" ]
iulianPeiu6/Watchster
WatchsterSolution/Watchster.Application.UnitTests/Features/Commands/SendMovieRecommendationsViaEmailCommandTests.cs
3,433
C#
using ImageWizard.Core.Settings; using ImageWizard.Core.Types; using ImageWizard.Services.Types; using ImageWizard.Settings; using System; using System.Collections.Generic; using System.Text; namespace ImageWizard.Core.ImageProcessing { /// <summary> /// ImageProcessingContext /// </summary> public cl...
26.508197
64
0.581942
[ "MIT" ]
usercode/ImageWizard
src/ImageWizard.Core/ImageProcessing/ProcessingPipelineContext.cs
1,619
C#
#pragma checksum "C:\Users\josephj\Documents\git\puzzle-circle\pzov2\PuzzleOracle\PuzzleOracle\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3189A92E734164EB76C879D91E65C6C7" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated b...
37.55
186
0.605193
[ "MIT" ]
rinworks/puzzle-circle
pzov2/PuzzleOracle/PuzzleOracle/obj/x86/Debug/MainPage.g.i.cs
1,504
C#
namespace RandomPixelImage { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
36.212121
107
0.582845
[ "MIT" ]
AungWinnHtut/POL
C#/AnalogClockProject/CSharp-Project-master/src/RandomPixelImage/Form1.Designer.cs
2,392
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...
33.180556
192
0.643365
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Media/GetAssetEncryptionKey.cs
2,389
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; using AET.Unity.SimplSharp; using AET.Unity.SimplSharp.HttpClient; using AET.Unity.SimplSharp.Timer; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ...
34.104167
91
0.6573
[ "Apache-2.0" ]
tony722/Zigen.SW42PlusMk3
AET.Zigen.SW42PlusV3/AET.Zigen.SW42PlusV3.Tests/Test.cs
1,639
C#
using System; using System.Collections.Generic; using System.Linq; namespace Automata { public abstract class BaseMachine { protected List<char> Alphabets { get; set; } protected List<string> States { get; set; } protected List<string> FinalStates { get; set; } protected List<Instruction> Instructions { get...
20.80203
132
0.679356
[ "MIT" ]
m-ehsan/Automata-and-Grammar
src/Automata/Automata/BaseMachine.cs
4,100
C#
using System; using System.Collections.Generic; using System.Text; namespace MiningCore.Notifications.Messages { public class AdminNotification { public AdminNotification(string subject, string message) { Subject = subject; Message = message; } public st...
20.473684
64
0.627249
[ "MIT" ]
0xcitchx/miningcore
src/MiningCore/Notifications/Messages/AdminNotification.cs
389
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.428571
153
0.627874
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/ConditionalAccessPolicy.cs
3,480
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace GraphQL.Conversion { // https://github.com/JasperFx/baseline/tree/master/src/Baseline/Conversion public class Conversions { private readonly LightweightCache<Type, Func<string, object>> _convert...
31.102804
97
0.572416
[ "MIT" ]
hungpv1988/GraphQL-dotnet
src/GraphQL/Conversion/Conversions.cs
3,328
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpeedUp : MonoBehaviour { // Use this for initialization void Start () { } void OnTriggerEnter(Collider other) { if(other.CompareTag("Player")){ MoveCarForce playerMovement = other.GetComponent<MoveCarForce> (); ...
23.166667
69
0.683453
[ "MIT" ]
SpaceToastCoastToCoast/unity-racing-game
lesson-4/SpeedUp.cs
836
C#
using Com.ChinaPalmPay.Platform.RentCar.IMessaging; using Com.ChinaPalmPay.Platform.RentCar.Model; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Messaging; using System.Text; using System.Threading.Tasks; namespace Com.ChinaPalmPay.Platform.RentCar.MsmqMes...
30.786885
101
0.638445
[ "MIT" ]
gp15237125756/Blog
Com.ChinaPalmPay.Platform.RentCar/Com.ChinaPalmPay.Platform.RentCar.MsmqMessaging/cupMsmq.cs
1,892
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading; using static Microsoft.VisualStudio.TestTools.UnitTesting.Assert; namespace SuperSize.Test { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { Thread.Sleep(5000); ...
19.956522
65
0.601307
[ "Apache-2.0" ]
thegreatrazz/SuperSize
SuperSize.Test/UnitTest1.cs
459
C#
// Copyright © 2018 Wave Engine S.L. All rights reserved. Use is subject to license terms. using System; using System.Runtime.Serialization; using WaveEngine.Common.Attributes; using WaveEngine.Common.Graphics; using WaveEngine.Common.Math; using WaveEngine.Components.Graphics3D; using WaveEngine.Framework; using Wav...
33.3125
125
0.552667
[ "MIT" ]
WaveEngine/Extensions
WaveEngine.ARMobile/Shared/Components/ARLightEstimationMaterial.cs
7,465
C#
using System; using System.Linq; using DocumentsApi.V1.Boundary.Request; using DocumentsApi.V1.Boundary.Response; using DocumentsApi.V1.Boundary.Response.Exceptions; using DocumentsApi.V1.Domain; using DocumentsApi.V1.Factories; using DocumentsApi.V1.Gateways.Interfaces; using DocumentsApi.V1.UseCase.Interfaces; using ...
33.350877
105
0.657023
[ "MIT" ]
LBHackney-IT/documents-api
DocumentsApi/V1/UseCase/CreateClaimUseCase.cs
1,901
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Roslynator...
20.362869
160
0.5862
[ "Apache-2.0" ]
ADIX7/Roslynator
src/Tests/Analyzers.Tests/RCS1068SimplifyLogicalNegationTests2.cs
4,828
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace User { public interface IUserLogic { /// <summary> /// Add a new user to the database /// </summary> /// <param name="newuser"></param> void add...
29.421053
86
0.567084
[ "MIT" ]
220328-uta-sh-net-ext/P0-Sean-Letts
Project0_Sean_Letts/User/IUserLogic.cs
1,120
C#
using Microsoft.Azure.Devices.Client; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace SimulatedDevice { class Simulator { struct Telemetry { [JsonProperty("temperature")] pub...
29.185185
111
0.505922
[ "MIT" ]
jplck/serverless-iot-simulated-device
Simulator.cs
2,366
C#
/* _________________________________________________ (c) Hi-Integrity Systems 2012. All rights reserved. www.hisystems.com.au - Toby Wicks github.com/hisystems/Interpreter Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You...
30.2
109
0.688742
[ "MIT" ]
fredericaltorres/JSonQueryRunTime
hisystems/Interpreter/Functions/Average.cs
1,512
C#
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
34.324324
97
0.714173
[ "Apache-2.0" ]
ybdev/Thinktecture.IdentityServer.v3
source/Tests/UnitTests/Connect/Setup/TestGrantValidator.cs
1,272
C#
using Prism; using Prism.Ioc; using Sample.ViewModels; using Sample.Views; using Xamarin.Forms; using Xamarin.Forms.Xaml; using Prism.DryIoc; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace Sample { public partial class App : PrismApplication { /* * The Xamarin Forms XA...
32.078947
98
0.68991
[ "MIT" ]
winstongubantes/MatchaValidation
Matcha.Validation/Sample/Sample/Sample/App.xaml.cs
1,221
C#