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
// <copyright file="Program.cs" company="PlaceholderCompany"> // Copyright (c) PlaceholderCompany. All rights reserved. // </copyright> /// <summary> /// ウィンドウを移動する /// </summary> namespace MoveWindow { using System; internal class Program { private static int Main(string[] args) { ...
26.551724
114
0.554545
[ "MIT" ]
alllucky1996/MoveWindow
Program.cs
792
C#
using System; using System.Collections; using System.IO; using System.Net.Http; namespace Elysium.Internal { /// <summary> /// Responsible for serializing the request and response as JSON and adding the proper JSON /// response header. /// </summary> public class JsonHttpPipeline { pri...
37.457143
122
0.573608
[ "MIT" ]
ElysiumLabs/Elysium-Client
Source/Elysium.Service.Client/Http/JsonHttpPipeline.cs
2,624
C#
using System; using CMS.Helpers; using CMS.UIControls; public partial class CMSModules_PortalEngine_UI_WebParts_WebPartProperties_properties_frameset : CMSWebPartPropertiesPage { protected void Page_Load(object sender, EventArgs e) { rowsFrameset.Attributes.Add("rows", "*, " + FooterFrameHeight); ...
35.3125
121
0.761062
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/PortalEngine/UI/WebParts/WebPartProperties_properties_frameset.aspx.cs
567
C#
// clsWebP, by Jose M. Piñeiro // Website: https://github.com/JosePineiro/WebP-wapper // Version: 1.0.0.9 (May 23, 2020) using System; using System.Drawing; using System.IO; using System.Windows.Forms; using WebPWrapper; #pragma warning disable IDE0007 // Use implicit type namespace WebPTest { public...
41.992565
173
0.649965
[ "MIT" ]
repzilon/WebP-wrapper
WebPTest/WebPExample.cs
11,299
C#
// Copyright (c) 2011 Ray Liang (http://www.dotnetage.com) // Licensed MIT: http://www.opensource.org/licenses/mit-license.php using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace DNA.Data { /// <summary> /// The Repository interface /// </summary>...
32.87037
197
0.552113
[ "MIT" ]
DotNetAge/DNA.Patterns
src/DNA.Patterns/Data/IRepository.cs
3,552
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.ComponentModel; using System.Linq; using Moq; using WinForms.Common....
40.090513
337
0.579931
[ "MIT" ]
15835229565/winforms-1
src/System.Windows.Forms/tests/UnitTests/MenuItemTests.cs
73,528
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video; using Zenject; public class Wall : MonoBehaviour { [SerializeField] private float healthPoints; [SerializeField] private Animator cracks; [SerializeField] private int lifes; [SerializeField] private VideoP...
19.150943
47
0.731034
[ "Apache-2.0" ]
halzate93/ar-climbing-wall
Assets/Scripts/Wall.cs
1,017
C#
using System; using System.Collections.Generic; using UnityEngine; using BeeGame.Terrain.LandGeneration; namespace BeeGame.Terrain.Chunks { /// <summary> /// Loads the <see cref="Chunk"/>s around the player /// </summary> public class LoadChunks : MonoBehaviour { #region Data /// <...
64.548673
288
0.529819
[ "MIT" ]
aliostad/deep-learning-lang-detection
data/train/csharp/49620b56945d2bdacfc06f833e9894d2df81b8f3LoadChunks.cs
14,590
C#
using System.ComponentModel; namespace AntData.ORM.Enums { /// <summary> /// Sql指令类型 /// </summary> public enum StatementType { /// <summary> /// Sql语句 /// </summary> [Description("Sql语句")] Sql = 0, /// <summary> /// 存贮过程 /// </summa...
17.681818
30
0.465296
[ "MIT" ]
yuzd/AntData.ORM
AntData/AntData.ORM/DbEngine/Enums/StatementType.cs
423
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CarWeapon : MonoBehaviour { [SerializeField] private AutoAttack autoAttack = null; [SerializeField] private Animator anim = null; private CarInfo carInfo = null; public void Init(CarInfo carInfo) ...
27.619048
110
0.681034
[ "MIT" ]
HEE-SUK/Country_Road
Assets/GameResources/Scripts/Component/CarWeapon.cs
582
C#
namespace Werd.Views { //This was fun https://github.com/microsoft/microsoft-ui-xaml/issues/1949#issuecomment-596837959 [Windows.UI.Xaml.Data.Bindable] public sealed class TagsWebView : ShackWebView { } }
29.857143
97
0.77512
[ "MIT" ]
boarder2/Latest-Chatty-8
Werd/Views/TagsWebView.cs
211
C#
// Authors: Robert M. Scheller, Brian Miranda // BDA originally programmed by Wei (Vera) Li at University of Missouri-Columbia in 2004. using System; using System.Collections.Generic; using System.Linq; //using System.Text; using Landis.Library.Metadata; using Landis.Utilities; using Landis.Core; names...
40.861538
119
0.507907
[ "Apache-2.0" ]
LANDIS-II-Foundation/Extension-Biomass-BDA
src/MetadataHandler.cs
5,314
C#
using System.Collections.Generic; using GW2Scratch.EVTCAnalytics.Events; using GW2Scratch.EVTCAnalytics.GameData; using GW2Scratch.EVTCAnalytics.Model; using GW2Scratch.EVTCAnalytics.Model.Agents; using GW2Scratch.EVTCAnalytics.Model.Skills; using GW2Scratch.EVTCAnalytics.Processing.Encounters; namespace GW2Scratch.EV...
37.1875
63
0.739496
[ "MIT" ]
jcogilvie/evtc
EVTCAnalytics/Processing/LogProcessorContext.cs
1,190
C#
using System; using System.Collections; using System.Linq; using System.Reflection; using System.Runtime.Serialization; namespace MicroPack.WebApi.Helpers { public static class Extensions { public static object SetDefaultInstanceProperties(this object instance) { var type = instance...
30.349515
103
0.537108
[ "MIT" ]
meysamhadeli/MicroPack
src/WebApi/Helpers/Extensions.cs
3,126
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.Fabric.Chaos.DataStructures { using System.Fabric.Strings; using System.Globalization; using System.Ru...
41.214634
248
0.606581
[ "MIT" ]
AlkisFortuneFish/service-fabric
src/prod/src/managed/Api/src/System/Fabric/Chaos/DataStructures/ChaosScheduleTimeRangeUtc.cs
8,449
C#
using System; using System.Collections.Generic; using System.Xml; using System.Xml.XPath; using Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data; namespace VsctCompletion.Completion.Providers { public class EditorProvider : ICompletionProvider { private static List<CompletionItem> _it...
29.758621
151
0.628042
[ "Apache-2.0" ]
PonomarevDmitry/VsctIntellisense
src/Completion/Providers/EditorProvider.cs
865
C#
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/ * Copyright : Copyright © Nequeo Pty Ltd 2012 http://www.nequeo.com.au/ * * File : * Purpose : * */ #region Nequeo Pty Ltd License /* Permission is hereby granted, free of charge, to any person obtaining a copy of th...
36.211538
113
0.71641
[ "MIT" ]
nequeo/sockets
Nequeo.Net.Core/Nequeo.Net.Core/Core/Messaging/IHttpDirectRequest.cs
1,886
C#
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "169E11558BAA77EFC86FE08A9DB1DAA85C7BBE6D" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes t...
32.507042
118
0.625217
[ "MIT" ]
MsSuomka/CoordinateTransformations
CoordinateTransformations/CoordinateTransformations/obj/Debug/App.g.cs
2,310
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.DotNet.Darc.Helpers; using Microsoft.DotNet.Darc.Options; using Microsoft.DotNet.DarcLib; using Micr...
39.464646
145
0.557973
[ "MIT" ]
AlitzelMendez/arcade-services
src/Microsoft.DotNet.Darc/src/Darc/Operations/GetLatestBuildOperation.cs
3,907
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
31.112903
143
0.60394
[ "Apache-2.0" ]
reyou/Ggg.Csharp
apps/apps-web/andrewlock.net/series/exploring-asp-net-core-3/part6-structured-logging/intro1-proper-logging/Startup.cs
1,929
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PaswordKeeperMVVM.Models { public class Category { public int Id { get; set; } public string Name { get; set; } List<MyNote> MyTasks { get; set; } } }
19.6875
42
0.660317
[ "MIT" ]
Falka-WPF/Password_Keeper-MVVM
PaswordKeeperMVVM/Models/Category.cs
317
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Flurl.Http { /// <summary> /// Extension methods off HttpRequestMessage. /// </summary> public static class HttpRequestMessageExtensions { /// <summary> ...
40.071429
193
0.692513
[ "MIT" ]
yang-xiaodong/Flurl
src/Flurl.Http/HttpRequestMessageExtensions.cs
2,246
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2017 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
40.853231
673
0.569667
[ "MIT" ]
DFihnn/dotnetrdf
Libraries/dotNetRDF/Storage/SparqlConnector.cs
37,299
C#
using System; using CMS.Base; using CMS.Base.Web.UI; using CMS.FormEngine.Web.UI; using CMS.Globalization; using CMS.Helpers; using CMS.MacroEngine; using CMS.Membership; using CMS.Modules; using CMS.SiteProvider; using TimeZoneInfo = CMS.Globalization.TimeZoneInfo; public partial class CMSFormControls_Macros_Cond...
27.394191
293
0.559224
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSFormControls/Macros/ConditionBuilder.ascx.cs
13,206
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("Abs...
37.783784
84
0.748927
[ "MIT" ]
john29917958/Design-Pattern-Study
AbstractFactory/CSharp/AbstractFactory/AbstractFactory/Properties/AssemblyInfo.cs
1,401
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. // // <summary> // The all transient strategy. // </summary> // -----------------------------------------------------------------------------------...
27.216216
119
0.536246
[ "MIT" ]
BOONRewardsInc/rewards
Common/LoMo.TransientFaultHandling/AllTransientStrategy.cs
1,007
C#
using System.Collections.Generic; using commercetools.Common; using Newtonsoft.Json; namespace commercetools.Products { /// <summary> /// An implementation of PagedQueryResult that provides access to the results as a List of Product objects. /// </summary> /// <see href="http://dev.commercetools.com...
26.041667
111
0.576
[ "MIT" ]
DavidDeVries/commercetools-dotnet-sdk
commercetools.NET/Products/ProductQueryResult.cs
1,252
C#
using System; using Handelabra; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; using System.Collections; namespace Memes.JustAField { public class VeryTallGrassCardController: CardController { public VeryTallGrassCardController(Card card, TurnTakerController turnTakerControl...
35
120
0.641758
[ "MIT" ]
FullPointerException/sotm-memes
MemesMod/JustAField/VeryTallGrassCardController.cs
1,820
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /*============================================================ ** Type: Module ** ==============================================================*/ using global::Sy...
23.772152
101
0.511182
[ "MIT" ]
ZZHGit/corert
src/System.Private.Reflection/src/System/Reflection/Module.cs
1,878
C#
using System.Collections.Generic; public class Tires { public Dictionary<double, int> tire; public Tires() { this.tire = new Dictionary<double, int>(); } }
16.545455
50
0.631868
[ "MIT" ]
sevdalin/Software-University-SoftUni
C-sharp-Web-Developer/C# OOP Basics/01. DefiningClasses/06. RawData/Tires.cs
184
C#
namespace MailChimp.Api.Net.Domain.Lists { public class Contact { public string company { get; set; } public string address1 { get; set; } public string address2 { get; set; } public string city { get; set; } public string state { get; set; } public string zip { ...
28.4
44
0.57277
[ "MIT" ]
kinamarie016/MailChimp.Api.Net-master
MailChimp.Api.Net/Domain/Lists/Contact.cs
428
C#
// // https://docs.microsoft.com/fr-fr/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/infrastructure-persistence-layer-implemenation-entity-framework-core // using DataMonitoring.DAL; using Microsoft.EntityFrameworkCore; using System; using System.Threading.Tasks; namespace DataMonitoring.Business {...
30.432624
169
0.622233
[ "MIT" ]
SoDevLog/DataMonitoring
DataMonitoring.Business/UnitOfWork.cs
4,293
C#
using Ahegao.Models; using Ahegao.SitesParsers; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Ahegao.Data { /// <summary> /// Class to access the Sites database /// </summary> public class SiteContext : DbContext { ...
27.782609
85
0.552426
[ "Apache-2.0" ]
Julien-Torrent/Ahegao
Ahegao/Data/SiteContext.cs
1,280
C#
// Tests anonymous types using System; using System.Collections; namespace anontype01 { public class Test { static int Test1() { var v = new { Foo = "Bar", Baz = 42 }; if (v.Foo != "Bar") return 1; if (v.Baz != 42) ...
19.730769
51
0.409357
[ "MIT" ]
GrapeCity/pagefx
tests/Simple/mcs/gtest-anontype-01.cs
513
C#
using System; using System.Collections.Generic; using System.Linq; using Xunit.Abstractions; using Xunit.Sdk; namespace Bdd.Tests { public class TestPriorityOrderer : ITestCaseOrderer { public IEnumerable<TTestCase> OrderTestCases<TTestCase>(IEnumerable<TTestCase> testCases) where TTestCase...
32.9375
116
0.600253
[ "MIT" ]
monkieboy/Testify
Bdd.Tests/TestPriorityOrderer.cs
1,581
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.176471
83
0.633065
[ "Apache-2.0" ]
Darkfaker/tencentcloud-sdk-dotnet
TencentCloud/Yunjing/V20180228/Models/DescribeWeeklyReportsRequest.cs
1,554
C#
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// ZhimaCreditScoreBriefGetModel Data Structure. /// </summary> [Serializable] public class ZhimaCreditScoreBriefGetModel : AopObject { /// <summary> /// 350~950之间 业务判断的准入标准 建议业务确定...
29.345455
142
0.5886
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/ZhimaCreditScoreBriefGetModel.cs
2,118
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...
42.731959
178
0.646803
[ "Apache-2.0" ]
AltairMartinez/aws-sdk-unity-net
src/Services/DynamoDBv2/Generated/Model/ResourceInUseException.cs
4,145
C#
using EventBus.Messages.Common; using MassTransit; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Models; using Ordering.API.EventBusConsumer; us...
32.864198
106
0.596544
[ "MIT" ]
erolsonmez95/AspnetMicroservices
src/Services/Ordering/Ordering.API/Startup.cs
2,662
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // See the LICENSE.md file...
34.85
146
0.672884
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride.Games/GameContextWinforms.cs
1,394
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
40.207792
152
0.637274
[ "MIT" ]
9112Michael/Coding4Fun
FaceTheremin/FaceTheremin/FaceTheremin/FaceMatrix.cs
6,192
C#
using System.Collections.Generic; namespace WK.Info.Services { public class WaniKaniUserInformation { public int Level { get; set; } public string Title { get; set; } public string Username { get; set; } } public class WaniKaniVocab { public int Level { get; set; } public string Character { get; set; ...
24.354167
82
0.716852
[ "MIT" ]
luffyuzumaki/WK.Info
WK.Info/Services/Models/WaniKani.cs
1,171
C#
using System; using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.Authorization.Users; using Abp.AutoMapper; using Clare.ECommerce.Authorization.Users; namespace Clare.ECommerce.Users.Dto { [AutoMapFrom(typeof(User))] public class UserDto : EntityDto<long> { [...
25.853659
57
0.653774
[ "MIT" ]
clarechan95/ECommerce
aspnet-core/src/Clare.ECommerce.Application/Users/Dto/UserDto.cs
1,060
C#
namespace SMS.Data { public class DatabaseConfiguration { // ReSharper disable once InconsistentNaming public const string ConnectionString = @"Server=.;Database=Sms;User Id = sa; Password=SoftUn!2021;"; } }
24.9
73
0.650602
[ "MIT" ]
mirakis97/C-Web
C#Web Basics/Exams/SMS Stamo Solution/SMS/Data/DatabaseConfiguration.cs
251
C#
// Copyright 2020 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...
43.520599
100
0.554819
[ "Apache-2.0" ]
deni-skaraudio/google-ads-dotnet
examples/Extensions/AddLeadFormExtension.cs
11,620
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/d3d11.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { publ...
34.785714
145
0.753593
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/d3d11/D3D11_FEATURE_DATA_D3D11_OPTIONS3.cs
489
C#
// Copyright (c) 2020 Flucto Team and others. Licensed under the MIT Licence. // 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 System.Collections.Concurrent; using System.Collections.Generic; using S...
49.711656
175
0.700605
[ "MIT" ]
flucto/flucto
flucto/Allocation/DependencyActivator.cs
8,103
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.815217
230
0.673162
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/AwsEc2NetworkInterfaceIpV6AddressDetailUnmarshaller.cs
3,387
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 Xunit; namespace System.Globalization.Tests { public stat...
51.974194
222
0.631124
[ "MIT" ]
ERROR-FAILS-NewData-News/corefx
src/System.Globalization.Calendars/tests/CalendarHelpers.cs
24,168
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Teguh.Identity.Codegen.Migrations { public partial class InitiateIdentitySchema : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: ...
42.458716
108
0.490601
[ "MIT" ]
teguhmurdianto/teguh-identity-codegenerator-demo
Teguh.Identity.Codegen/Migrations/20210215110325_InitiateIdentitySchema.cs
9,258
C#
// Fill out your copyright notice in the Description page of Project Settings. using UnrealBuildTool; using System.Collections.Generic; public class TanksAndZombiesTarget : TargetRules { public TanksAndZombiesTarget(TargetInfo Target) : base(Target) { Type = TargetType.Game; ExtraModuleNames.AddRange( new stri...
23.666667
78
0.771831
[ "MIT" ]
bawboc/TanksAndZombies
Source/TanksAndZombies.Target.cs
355
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Eru.Server.Dtos { public class CommentCreateInDto { [DefaultValue(null)] public Guid? ParentId { get; set; } = null; ...
25.52
73
0.641066
[ "MIT" ]
lonelyhentai/workspace
database/comp3010/exp3/Eru.Server/Dtos/CommentCreateInDto.cs
640
C#
#region Copyright //////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Garmin Canada Inc. // The software is being provided on an "as-is" basis and as an acco...
32.862348
96
0.56856
[ "MIT" ]
gcaufield/FitFileTools
Dynastream.Fit/Fit/Profile/Mesgs/HrMesg.cs
8,117
C#
// Copyright 2021 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
36.595238
99
0.670787
[ "Apache-2.0" ]
googleapis/googleapis-gen
grafeas/v1/google-cloud-grafeas-v1-csharp/Grafeas.V1.StandaloneSnippets/GrafeasClient.GetOccurrenceRequestObjectSnippet.g.cs
1,537
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.Threading; using System.ComponentModel; using System.ComponentModel.Design; namespace System.Timers { /// <summary> /// Handles recurring events in an applicati...
32.420896
175
0.475555
[ "MIT" ]
jez9999/runtime
src/libraries/System.ComponentModel.TypeConverter/src/System/Timers/Timer.cs
10,861
C#
// 为模型“J:\Project\Personal\语音对讲机\pmessage\02-Src\IM后台源码\LiveVideoSDKNew\LiveVideoSDK\VIMS.LiveVideoSDK\VIMS.LiveVideoSDK.Bll\Entity\DBEntities.edmx”启用了 T4 代码生成。 // 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值 // 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在 // “属性”窗口中。 // 如果没有生成任何上下文和实体类,可能是因为您创建了空模型但是 // 尚未选择要使用的实体框架版本。要为您的模型生成一个上下文类和...
40.3
161
0.769231
[ "MIT" ]
zengfanmao/mpds
LiveVideoSDK/VIMS.LiveVideoSDK/VIMS.LiveVideoSDK.Bll/Entity/DBEntities.Designer.cs
821
C#
using System.Collections.Generic; namespace Eshava.Transition.Models { public class DataProperty { public IEnumerable<string> MappingProperties { get; set; } public IEnumerable<DataProperty> DataProperties { get; set; } public string PropertyTarget { get; set; } public string PropertySource { get; set; } ...
32.7
105
0.665647
[ "MIT" ]
eshava/transition
Eshava.Transition/Models/DataProperty.cs
1,964
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.34209 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
50.688889
303
0.673389
[ "Apache-2.0" ]
sosan/msgpack-cli
test/MsgPack.UnitTest/gen/array/System_Collections_ObjectModel_ObservableCollection_1_MsgPack_MessagePackObjectArray_Serializer.cs
2,455
C#
namespace System.IO.BACnet { /*Network Layer Message Type */ /*If Bit 7 of the control octet described in 6.2.2 is 1, */ /* a message type octet shall be present as shown in Figure 6-1. */ /* The following message types are indicated: */ public enum BacnetNetworkMessageTypes : byte { NETWORK_MESSAGE_WHO_IS_ROU...
40.681818
68
0.776536
[ "MIT" ]
vberkaltun/BACnet
Base/BacnetNetworkMessageTypes.cs
897
C#
using Klei.AI; public class ToPercentAttributeFormatter : StandardAttributeFormatter { public float max = 1f; public ToPercentAttributeFormatter(float max, GameUtil.TimeSlice deltaTimeSlice = GameUtil.TimeSlice.None) : base(GameUtil.UnitClass.Percent, deltaTimeSlice) { this.max = max; } public override stri...
27.5
107
0.801299
[ "MIT" ]
undancer/oni-data
Managed/main/ToPercentAttributeFormatter.cs
770
C#
using System; using System.Data.SqlClient; using EasyADO.NET; using NUnit.Framework; namespace Tests.Unit_Tests.FindTests { [TestFixture] public class FindColumnsByPredicateTests : BaseTestFixture { [SetUp] public void Init() { _easyAdoNet = new EasyAdoNet(ConnectionStri...
40.516667
119
0.622378
[ "MIT" ]
lemichello/EasyADO.NET
Tests/Unit Tests/FindTests/FindColumnsByPredicateTests.cs
2,431
C#
#region License /* * All content copyright Terracotta, Inc., unless otherwise indicated. 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.a...
45.97973
128
0.580838
[ "Apache-2.0" ]
Despair/quartznet
src/Quartz/IScheduler.cs
34,025
C#
using FreeSql; using FreeSql.Internal; using Microsoft.Extensions.DependencyInjection; using Nps.Application.SysLog.Dtos; using Nps.Application.SysLog.Services; using Nps.Core.Aop.Attributes; using Nps.Core.Entities; using Nps.Infrastructure; using Nps.Infrastructure.IdGenerators; using Nps.Data.FreeSql; using Serilog...
38.208589
115
0.516859
[ "Apache-2.0" ]
io2020/io_nps_server
src/Nps.Api.Extension/Service/FreeSqlExtension.cs
6,894
C#
using cloudscribe.Core.Models; using cloudscribe.UserProperties.Models; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Configuration; using sourceDev.WebApp.Components; using System; namespace Microsoft.Extensions.DependencyInjection { public static class CloudscribeFeatures { public ...
41.833333
154
0.563671
[ "Apache-2.0" ]
maziesmith/cloudscribe
src/sourceDev.WebApp/Configuration/CloudscribeFeatures.cs
6,779
C#
using System.Collections.Generic; using System.Linq; using FluentAssertions; using NHSD.GPIT.BuyingCatalogue.EntityFramework.Catalogue.Models; using NHSD.GPIT.BuyingCatalogue.ServiceContracts.Solutions.Models; using NHSD.GPIT.BuyingCatalogue.Test.Framework.AutoFixtureCustomisations; using NHSD.GPIT.BuyingCatalogue.Web...
32.141026
106
0.630235
[ "MIT" ]
nhs-digital-gp-it-futures/GPITBuyingCatalogue
tests/NHSD.GPIT.BuyingCatalogue.WebApp.UnitTests/Areas/Solutions/Models/SolutionSupplierDetailsModelTests.cs
2,509
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.IO; using System.Runtime.InteropServices; using Microsoft.DotNet.XUni...
41.384224
159
0.571323
[ "MIT" ]
Fasjeit/corefx
src/System.Security.Cryptography.X509Certificates/tests/CertTests.cs
16,264
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics.Contracts; using System.ComponentModel; using System.Linq.Expressions; using System.Reflection; using System.Reactive.Linq; namespace Lpp { public static class UtilityExtensions { public stat...
38.127119
150
0.50489
[ "Apache-2.0" ]
Missouri-BMI/popmednet
Lpp.Adapters/Lpp.Dns.DataMart.Client/Lib/Utils/UtilityExtensions.cs
9,000
C#
/* * TeamCity REST API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 2018.1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; ...
24.010309
106
0.565049
[ "MIT" ]
NikolayPianikov/teamcity.client
generated/src/TeamCity.Test/Model/PropertiesDtoTests.cs
2,329
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 ...
21.672897
137
0.649633
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-polardb/Polardb/Model/V20170801/CreateAccountRequest.cs
4,638
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/S...
32.28
92
0.60347
[ "Apache-2.0" ]
1M15M3/StockSharp
Samples/ETrade/SampleETrade/MyTradesWindow.xaml.cs
809
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.354839
153
0.634165
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IGroupPolicyConfigurationAssignCollectionPage.cs
1,282
C#
using System; using System.Collections; using Addler.Runtime.Core; using NUnit.Framework; using UnityEditor; using UnityEngine; using UnityEngine.TestTools; namespace Addler.Tests.Core { [PrebuildSetup(typeof(PrePostBuildProcess))] [PostBuildCleanup(typeof(PrePostBuildProcess))] public class AddressablesP...
39.039474
120
0.619481
[ "MIT" ]
Haruma-K/Addler
Packages/com.harumak.addler/Tests/Core/AddressablesPreloaderTest.cs
5,936
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.Json; using RestSharp; using BtseApi.Client.DataClasses.Futures; using BtseApi.Client.ApiSettings; using BtseApi.Client.Helpers; namespace BtseApi.Client.Operations.Futures.Trading { ...
32.384615
112
0.644181
[ "MIT" ]
yuriysokha/BTSEClient.Net
BTSEClient/BtseApi.Client/Operations/Futures/Trading/ClosePosition.cs
2,107
C#
//----------------------------------------------------------------------- // <copyright file="DiveraStatus.cs" company="Moritz Jökel"> // Copyright (c) Moritz Jökel. All Rights Reserved. // Licensed under Creative Commons Zero v1.0 Universal // </copyright> //---------------------------------------------------...
30.811321
82
0.523576
[ "CC0-1.0" ]
MrzJkl/DiveraFMSConnect
DiveraFMSConnect/Models/DiveraStatus.cs
1,639
C#
using System.Reflection; 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("SharpFlappyBird")] [assembly: AssemblyDesc...
38.388889
84
0.748915
[ "MIT" ]
morphx666/SharpFlappyBird
SharpFlappyBird(WinForms)/Properties/AssemblyInfo.cs
1,385
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...
41.151899
181
0.650261
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/InvalidGeoRestrictionParameterException.cs
3,251
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.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using System.Text; #if MS_IO_REDIST using System; using System.IO; namespace ...
41.249745
186
0.555157
[ "MIT" ]
3DCloud/runtime
src/libraries/System.Private.CoreLib/src/System/IO/Path.cs
40,466
C#
using System; namespace ADFSEmailMFA { class PINGenerator { public static string EncryptedPIN = GetEncryptedPIN(); public static string DecryptedPIN = GetDecryptedPIN(); private static string GetEncryptedPIN() { string EncryptedText = cryptoHelper.AESThenHMAC.Simpl...
30.575758
167
0.638256
[ "MIT" ]
meowingtons/ADFSMFA
ADFSEmailMFA/PINGenerator.cs
1,011
C#
// Copyright (c) FCChan. All rights reserved. // // Licensed under the MIT license. namespace FC.Manager.Server.Services { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Discord.WebSocket; using FC.Bot.Services; using FC.Manager.Server.RPC; public class...
25.527559
163
0.72116
[ "MIT" ]
twobe7/KupoNutsBot
FC.Manager.Server/Services/GuildService.cs
3,244
C#
namespace Melanchall.DryWetMidi.MusicTheory { /// <summary> /// Represents a chord's quality. /// </summary> public enum ChordQuality { /// <summary> /// Major chord. /// </summary> Major, /// <summary> /// Minor chord. /// </summary> ...
18.103448
44
0.445714
[ "MIT" ]
EnableIrelandAT/Coimbra
ProjectCoimbra.UWP/Melanchall.DryWetMidi.UWP/MusicTheory/Chord/ChordQuality.cs
527
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...
29.350877
115
0.665272
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/GlobalAccelerator/Generated/Model/AdvertiseByoipCidrResponse.cs
1,673
C#
//----------------------------------------------------------------------- // <copyright file="DistributedPubSubMessageSerializer.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.n...
38.869186
164
0.58223
[ "Apache-2.0" ]
corefan/akka.net
src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/Serialization/DistributedPubSubMessageSerializer.cs
13,373
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using...
51.140924
238
0.594352
[ "MIT" ]
BertanAygun/roslyn
src/Compilers/CSharp/Portable/Binder/Semantics/Operators/BinaryOperatorOverloadResolution.cs
64,241
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class W3Effect_Mutation4 : CBaseGam...
33.518519
130
0.730387
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/W3Effect_Mutation4.cs
905
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/media/uploadimg 接口的请求。</para> /// </summary> public class CgibinMediaUploadImageRequest : WechatApiRequest, IMapResponse<CgibinMediaUploadImageRequest, CgibinMediaUploadImageResponse> { /// <summar...
32.9
142
0.616008
[ "MIT" ]
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinMedia/CgibinMediaUploadImageRequest.cs
1,131
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...
45.758621
173
0.624592
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Web/V20190801/WebAppRelayServiceConnectionSlot.cs
7,962
C#
/* *Ваши права на использование кода регулируются данной лицензией http://o-s-a.net/doc/license_simple_engine.pdf */ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Windows.Forms.DataVisualization.Charting; using System.Windows.Forms.Integratio...
32.715251
155
0.445682
[ "Apache-2.0" ]
Schuft/OsEngine-Schuft
project/OsEngine/OsData/OsDataSet.cs
70,985
C#
using System; using System.Configuration; using System.Diagnostics.CodeAnalysis; using CacheManager.Core; using CacheManager.Core.Configuration; using CacheManager.Core.Internal; using FluentAssertions; using Xunit; namespace CacheManager.RedisAsync.Tests { /// <summary> /// To run the test, the app.config of...
35.045669
143
0.592073
[ "ECL-2.0", "Apache-2.0" ]
mjebrahimi/CacheManager
test/CacheManager.RedisAsync.Tests/InvalidConfigurationValidationTests.cs
22,256
C#
namespace EvidencijaStudenata { partial class NoviStudent { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
45.643885
107
0.571203
[ "MIT" ]
NovakVed/evidencijaStudenata
EvidencijaStudenata/NoviStudent.designer.cs
12,691
C#
// <copyright file="NullRule.cs" company="Automate The Planet Ltd."> // Copyright 2019 Automate The Planet 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/license...
37.034483
85
0.700186
[ "Apache-2.0" ]
FrancielleWN/AutomateThePlanet-Learning-Series
DesignPatternsInAutomatedTesting-Series/RulesDesignPattern/NullRule.cs
1,076
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Runtime.InteropServices; ...
34.128713
163
0.501305
[ "MIT" ]
Alan-love/xenko
sources/core/Stride.Core/Storage/ObjectId.cs
10,341
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...
26.935484
81
0.664671
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/CognitiveServices/Outputs/UserOwnedStorageResponse.cs
835
C#
using UnityEngine; public class Ball : MonoBehaviour { private Vector3 velocity; //speed public float maxX; public float maxZ; // Start is called before the first frame update void Start() { velocity = new Vector3(0, 0, -maxZ); } // Update is called once per frame ...
28.101695
104
0.553679
[ "MIT" ]
NickPfeiffer/Arkanoid
Assets/Ball.cs
1,658
C#
namespace CleanGraphQLApi.Presentation.Tests.Integration.Models.Common; using System.Text.Json.Serialization; public partial class Extensions { [JsonPropertyName("tracing")] public Tracing Tracing { get; set; } }
22.3
71
0.775785
[ "MIT" ]
hnguyenec/CleanGraphQLApi
tests/Presentation.Tests.Integration/Models/Common/Extensions.cs
223
C#
namespace Builder.Common { public class PrintMessages { public const string MenuHotDrink = "Hot Drink: {0}"; public const string MenuColdDrink = "Cold Drink: {0}"; public const string MenuDessert = "Dessert: {0}"; public const string FrenchBreakfastMenu = "French Breakfast Menu...
35.894737
76
0.621701
[ "MIT" ]
Inseparable7v/Design-Patterns-master
CreationalPatterns/Builder/Builder.Common/PrintMessages.cs
684
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. namespace EdFi.Ods.AdminApp.Management.Helpers { ...
45.611111
86
0.676614
[ "Apache-2.0" ]
CSR2017/Ed-Fi-ODS-AdminApp
Application/EdFi.Ods.AdminApp.Management/Helpers/AppSettings.cs
1,642
C#
// This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org. // IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd. using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentMo...
25.456522
100
0.735269
[ "Unlicense", "MIT" ]
BuildingSMART/IfcDoc
IfcKit/schemas/IfcBuildingControlsDomain/IfcAlarmTypeEnum.cs
1,171
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Vodka : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { transform.position += new Vector3(Mathf.Sin(Time.time * 0.2f) * 0.005f, Mathf.Sin...
21.117647
122
0.671309
[ "MIT" ]
esenti/minusczterywskalimorswina
MinusCzteryWSkaliMorswina/Assets/Scripts/Vodka.cs
361
C#
namespace Xamarin.Essentials { public static partial class Compass { internal static bool IsSupported => throw ExceptionUtils.NotSupportedOrImplementedException; internal static void PlatformStart(SensorSpeed sensorSpeed, bool applyLowPassFilter) => throw ExceptionUtils.NotSupportedOrImplementedException;...
28.533333
89
0.817757
[ "MIT" ]
dhindrik/maui
src/Essentials/src/Xamarin.Essentials/Compass/Compass.netstandard.tvos.watchos.macos.cs
430
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 System.Collections.Generic; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Edit.Tools; usi...
40
168
0.623093
[ "MIT" ]
Azn9/osu
osu.Game.Rulesets.Osu/Edit/OsuHitObjectComposer.cs
4,603
C#