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
/* * CatchCmd.java * * Copyright (c) 1997 Cornell University. * Copyright (c) 1997 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL * WARRANTIES. * * Included in SQLite3 port to C# for use in testharness only; 2008 Noah B H...
24.945946
87
0.594258
[ "MIT" ]
braegelno5/csharp-sqlite
TCL/src/commands/CatchCmd.cs
1,846
C#
// <copyright file="ConnectTests.cs" company="Hottinger Baldwin Messtechnik GmbH"> // // SharpJet, a library to communicate with Jet IPC. // // The MIT License (MIT) // // Copyright (C) Hottinger Baldwin Messtechnik GmbH // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this soft...
34.221519
89
0.617348
[ "MIT" ]
gatzka/SharpJet
SharpJetTests/FetchIdTests.cs
5,409
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Practices.EnterpriseLibrary.Data; using System.Data; using System.Data.Common; namespace br.com.devdream.encurtador.dao { public class Url { public static bool Criar(vo.Url url) { ...
32.454545
104
0.577653
[ "Apache-2.0" ]
oscarcasagrande/encurtadordeurl
br.com.devdream.encurtador.dao/Url.cs
3,215
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.Data.SqlClient; using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.SmoMetadataProvider; using Microsoft....
38.625532
159
0.592817
[ "MIT" ]
tamasvajk/sqltoolsservice
src/Microsoft.Kusto.ServiceLayer/LanguageServices/ConnectedBindingQueue.cs
9,077
C#
/* This file is part of VoltDB. * Copyright (C) 2008-2018 VoltDB Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rig...
54.852459
226
0.593046
[ "MIT" ]
VoltDB/voltdb-client-csharp
VoltDB.Data.Client/Types/RowEnumerator[T1,...,T19].cs
10,038
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using ImageFramework.ImageLoader; namespace ImageFramework.Utility { /// <summary> /// layer and mipmap count informatio...
29.04065
86
0.509239
[ "MIT" ]
gaybro8777/ImageViewer
ImageFramework/Utility/LayerMipmapCount.cs
3,574
C#
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia.Media.Imaging; using NetSparkleUpdater.UI.Avalonia.ViewModels; namespace NetSparkleUpdater.UI.Avalonia { /// <summary> /// Interaction logic for MessageNotificationWindow.xaml. /// /// Window that shows a single messa...
33.339286
106
0.631494
[ "MIT" ]
DavosLi0bnip/daranguizu
SetUp/NetSparkle/src/NetSparkle.UI.Avalonia/MessageNotificationWindow.xaml.cs
1,869
C#
using MahApps.Metro.Controls; using Prism.Services.Dialogs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; usi...
23.375
71
0.660963
[ "MIT" ]
InochiPM/YomiageLibrary
Yomiage.GUI/Dialog/MetroDialogWindow.xaml.cs
955
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
43.925633
184
0.528331
[ "Apache-2.0" ]
rsumner33/PTVS
Release/Product/Python/Analysis/PythonAnalyzer.cs
27,763
C#
namespace VanType { /// <summary> /// Then enumerations conversion type. /// </summary> public enum EnumConversionType { /// <summary> /// Converts CSharp enumerations to numeric TypeScript enumerations. /// </summary> Numeric, /// <summary> /// Conv...
22.473684
76
0.566745
[ "MIT" ]
jgveire/VanType
src/VanType/EnumConversion.cs
429
C#
using System; using System.Collections.Generic; using System.Text; namespace Animals.Enumerator { public enum Gender { Male, Female } }
12.692308
33
0.648485
[ "MIT" ]
aalishov/SoftUni
04-CSharp-OOP-February-2020/02. CSharp-OOP-Inheritance-Skeleton/Animals/Enumerator/Gender.cs
167
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HangingLightBlink : MonoBehaviour { private MeshRenderer mesh; private Color color; private bool waiting = false; // Use this for initialization void Start () { mesh = GetComponent<MeshRenderer>(); color = mesh.mate...
18.818182
73
0.690821
[ "MIT" ]
CGDD-Savitr/TypeRider-Zombies
Assets/Scripts/HangingLightBlink.cs
623
C#
using System.Collections.Immutable; using System.Threading.Tasks; using FluentAssertions; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Xunit; namespace SourceExpander.Generate { public class LanguageVersionTest : EmbedderGeneratorTestBase { [Theory] [InlineData(Lang...
41.743243
245
0.548074
[ "MIT" ]
naminodarie/SourceExpander
Test/SourceExpander.Embedder.Test/Generate/LanguageVersionTest.cs
3,091
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SQLite; using glowing.core; namespace glowing.db { public class SqliteConnectionWin :ISqliteConnection { SQLiteConnection _connection; public SqliteConnection...
20.953846
61
0.572687
[ "Unlicense" ]
cannelle-plus/glowing-wookie
src/glowing/db/SqliteWin.cs
1,364
C#
using UIForia.Animation; using UIForia.Attributes; using UIForia.Elements; namespace SpaceGameDemo.SkillPointBar { [Template("SpaceGameDemo/SkillPointBar/SkillPointBar.xml")] public class SkillPointBar : UIElement { public int availablePoints; public int skillPoints; public voi...
30.842105
98
0.569966
[ "MIT" ]
criedel/UIForia
Assets/SpaceGameDemo/SkillPointBar/SkillPointBar.cs
1,174
C#
namespace AESGCMInBouncyCastle { #region using System; using System.IO; using System.Text; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Crypto.Modes; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Security; #en...
36.825243
132
0.598735
[ "MIT" ]
lukemerrett/Bouncy-Castle-AES-GCM-Encryption
EncryptionService.cs
7,588
C#
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
56.375
239
0.717517
[ "MIT" ]
Gurrimo/Luminaire
Assets/Editor/Generated/Black/Sequence/Variable/SequenceVariableObjectStatus.generated.cs
4,510
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...
34.214286
158
0.751566
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Media/Outputs/AkamaiAccessControlResponse.cs
958
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...
31.971429
100
0.664879
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/Inputs/OpenIdConnectClientCredentialArgs.cs
1,119
C#
//----------------------------------------------------------------------- // <copyright file="HelpAttributeDrawer.cs" company="Google LLC"> // // Copyright 2019 Google LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with t...
42.848708
154
0.602566
[ "Apache-2.0" ]
jiyu-park/arcore-unity-sdk
Assets/GoogleARCore/SDK/Scripts/Editor/HelpAttributeDrawer.cs
11,612
C#
using Newtonsoft.Json.Linq; using System; namespace SonarRepros { public class FalsePositiveSwitchNull { public bool IsEmpty(JToken token) { switch (token?.Type) { case JTokenType.Array: return !token.HasValues; case ...
30.707317
103
0.505163
[ "MIT" ]
dotJEM/SonarQube-CSharp-Repros
SonarRepros/SonarRepros/FalsePositiveSwitchNull.cs
1,261
C#
using Newtonsoft.Json; namespace ArgentPonyWarcraftClient { /// <summary> /// A reference to a dungeon or raid. /// </summary> public class InstanceReference { /// <summary> /// Gets the key for the instance. /// </summary> [JsonProperty("key")] public Self ...
22.758621
42
0.509091
[ "MIT" ]
willwolfram18/ArgentPonyWarcraftClient
src/ArgentPonyWarcraftClient/Models/GameDataApi/Journal/InstanceReference.cs
662
C#
using Prism.Mvvm; using X4_ComplexCalculator.DB; using X4_ComplexCalculator.DB.X4DB.Interfaces; namespace X4_ComplexCalculator.Main.WorkArea.UI.StationSummary.WorkForce.NeedWareInfo { /// <summary> /// 必要ウェア詳細情報1レコード分 /// </summary> class NeedWareInfoDetailsItem : BindableBase { #region メン...
23.032
128
0.466134
[ "Apache-2.0" ]
Ocelot1210/X4_ComplexCalculator
X4_ComplexCalculator/Main/WorkArea/UI/StationSummary/WorkForce/NeedWareInfo/NeedWareInfoDetailsItem.cs
3,061
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 * ...
30.430769
83
0.61729
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Ds/V20180523/Models/SendVcodeRequest.cs
1,998
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("10...
38.243243
84
0.746996
[ "MIT" ]
niki-funky/Telerik_Academy
Programming/02.Csharp/02. Arrays/10.SequenceOfGivenSum/Properties/AssemblyInfo.cs
1,418
C#
using System; namespace DataAccess.Models { public class Employee : BaseMasterData { public Employee() { } } }
13.454545
42
0.560811
[ "MIT" ]
nattawutAmsri/DotnetCore-Docker-starter
DataAccess/Models/Employee.cs
150
C#
using System; using System.Collections.Generic; using System.Linq; namespace DocumentManager.DAL.Repositories.Contracts { public interface IGenericRepository<T> { IQueryable<T> All(); T GetById(Guid id); T GetById(long id); T GetById(int id); T GetById(string id); ...
16.6
52
0.608434
[ "MIT" ]
encounter12/DocumentManagementSystem
DocumentManager.DAL/Repositories/Contracts/IGenericRepository.cs
500
C#
using System.Threading.Tasks; using Elastic.Xunit.XunitPlumbing; using Nest; using Tests.Framework; using static Tests.Framework.UrlTester; namespace Tests.XPack.Watcher.StopWatcher { public class StopWatcherUrlTests : UrlTestsBase { [U] public override async Task Urls() { await POST("/_xpack/watcher/_stop")...
24.636364
68
0.721402
[ "Apache-2.0" ]
msarilar/elasticsearch-net
src/Tests/Tests/XPack/Watcher/StopWatcher/StopWatcherUrlTests.cs
544
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using Wollo.Entities.ViewModels; using Wollo.Base.LocalResource; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using Wollo.Base.Entity; na...
38.054545
101
0.644052
[ "MIT" ]
umangsunarc/OTH
Wollo.Entities/ViewModels/AdminIsuuePointsViewModel.cs
2,095
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...
39.162162
85
0.729469
[ "MIT" ]
PhilShishov/MusicPlayer
MusicPlayer/Properties/AssemblyInfo.cs
1,452
C#
namespace EstimatorX.Core.Comparison; public class Delta<T> { public IReadOnlyCollection<T> Matched { get; set; } public IReadOnlyCollection<T> Created { get; set; } public IReadOnlyCollection<T> Deleted { get; set; } }
26
55
0.713675
[ "MIT" ]
loresoft/Estimatorx
src/EstimatorX.Core/Comparison/Delta.cs
236
C#
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class IKSandbox : ModuleRules { public IKSandbox(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "E...
26.5
124
0.760108
[ "MIT" ]
monguri/IKSandbox
Source/IKSandbox/IKSandbox.Build.cs
371
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ---------------------------------------...
36.181818
97
0.678811
[ "Apache-2.0" ]
PatrickRatzow/space-dotnet-sdk
src/JetBrains.Space.Client/Generated/Dtos/JobExecutionTrigger.generated.cs
2,388
C#
using System; using System.IO; using Cuemon.Text; namespace Cuemon.IO { /// <summary> /// Configuration options for <see cref="StreamReader"/>. /// </summary> public class AsyncStreamReaderOptions : AsyncStreamEncodingOptions { private int _bufferSize; /// <summary> /// In...
34.35
124
0.519165
[ "MIT" ]
gimlichael/Cuemon
src/Cuemon.IO/AsyncStreamReaderOptions.cs
2,063
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml...
34.411765
94
0.680342
[ "Apache-2.0" ]
aliozgur/xamarin-forms-book-samples
Chapter16/WebViewDemo/WebViewDemo/WebViewDemo.WinPhone/MainPage.xaml.cs
1,755
C#
using System.Threading; using System.Threading.Tasks; namespace OzonEdu.MerchandiseApi.Domain.Contracts { public interface IUnitOfWork { ValueTask StartTransaction(CancellationToken token); Task SaveChangesAsync(CancellationToken cancellationToken); } }
24.333333
67
0.743151
[ "MIT" ]
Pyotr23/MerchApi
src/OzonEdu.MerchandiseApi.Domain/Contracts/IUnitOfWork.cs
294
C#
using System.Reflection; [assembly: AssemblyProduct("DonkerPONG")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright © Wesley Donker 2016")] [assembly: AssemblyTrademark("")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif [assembl...
24.625
63
0.751269
[ "MIT" ]
DonkerNET/pong
Source/GlobalAssemblyInfo.cs
397
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; namespace RiskOfShame { public class ParticipatingPlayers : MonoBehaviour { void OnEnable() { var o = new GameObject(); var n = o.AddComponent<RoR2.PlayerCharacterMasterController>(); va...
24.826087
75
0.577933
[ "MIT" ]
shalzuth/RiskOfShame
RiskOfShame/ParticipatingPlayers.cs
573
C#
using CompanyName.MyMeetings.Modules.Meetings.Application.Configuration.Commands; using CompanyName.MyMeetings.Modules.Meetings.Application.MeetingCommentingConfigurations.GetMeetingCommentingConfiguration; using CompanyName.MyMeetings.Modules.Meetings.Domain.MeetingCommentingConfigurations; using CompanyName.MyMeetin...
59.06383
307
0.791427
[ "MIT" ]
GamilYassin/modular-monolith-with-ddd
src/Modules/Meetings/Application/MeetingComments/AddMeetingCommentReply/AddReplyToMeetingCommentCommandHandler.cs
2,778
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.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Input...
37.100437
181
0.504061
[ "MIT" ]
Luxiono/osu
osu.Game.Rulesets.Catch/UI/CatcherArea.cs
16,537
C#
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using HousingTenant.Data.Service.Controllers; using HousingTenant.Data.Service.Models; using System.Net.Http; using Newtonsoft.Json; namespace HousingTenant.Data.Tests.Service.Controllers { [TestFixture] public class Req...
30.5
122
0.697892
[ "MIT" ]
revaturelabs/housing-tenant
HousingTenant.Data/HousingTenant.Data.Tests/Service/Controllers/RequestCtrlTest.cs
856
C#
/******************************************************************************* * * Copyright (c) 2014 Carlos Campo <carlos@campo.com.co> * * 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 Lice...
50.374269
145
0.54899
[ "Apache-2.0" ]
Sbou/StompNet
StompNet.Examples/1.ExampleConnector.cs
8,616
C#
// <copyright file="RemoteTouchScreen.cs" company="WebDriver Committers"> // Copyright 2007-2011 WebDriver committers // Copyright 2007-2011 Google Inc. // Portions copyright 2011 Software Freedom Conservancy // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
45.614286
118
0.620733
[ "Apache-2.0" ]
aoluwase-ford/lummyare-lummy
dotnet/src/WebDriver/Remote/RemoteTouchScreen.cs
9,581
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("Day...
37.459459
84
0.746753
[ "MIT" ]
dragobaltov/Programming-Basics-And-Fundamentals
DayOfWeek/DayOfWeek/Properties/AssemblyInfo.cs
1,389
C#
using NUnit.Framework; namespace java.util { [TestFixture] public class ListTest { [Test] public void EqualsTestLinkedList() { List<ListItemForTest> list_1 = new LinkedList<ListItemForTest>(); List<ListItemForTest> list_2 = new LinkedList<ListItemForTest>();...
26.472727
97
0.554258
[ "MIT" ]
TomasJohansson/adapters-shortest-paths-dotnet
Programmerare.ShortestPaths.Adaptees.Common.Test/java.util/ListTest.cs
1,458
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NBitcoin.BuilderExtensions; using NBitcoin.Crypto; using NBitcoin.OpenAsset; using NBitcoin.Policy; using NBitcoin.Stealth; using Builder = System.Func<NBitcoin.TransactionBuilder.TransactionBuildingContext, NBitcoin.IMoney>; ...
37.496852
235
0.537098
[ "MIT" ]
zeptin/StratisFullNode
src/NBitcoin/TransactionBuilder.cs
77,435
C#
using IAValidator.Core.Interfaces; using MediatR; using System; using System.Collections.Generic; using System.CommandLine; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IAValidator.CLI { public class App { private readonly IAppLogger<App> _logger; private re...
22.147059
153
0.677291
[ "MIT" ]
devingoble/IAValidator
src/IAValidator.CLI/App.cs
755
C#
#nullable disable namespace PasPasPas.Globals.Options.DataTypes { /// <summary> /// flag to required scoped enumerations /// </summary> public enum RequireScopedEnumMode { /// <summary> /// undefined flag state /// </summary> Undefined = 0, /// <summar...
21.08
48
0.502846
[ "Apache-2.0" ]
prjm/paspaspas
PasPasPas.Global/src/Options/DataTypes/RequireScopedEnums.cs
529
C#
using Microsoft.AspNetCore.Identity; using System.ComponentModel.DataAnnotations; namespace Tchaps.Impotquebec.Models { public class Declaration { public Declaration() { Details = new List<DeclarationDetail>(); } public int DeclarationId { get; set; } [Displ...
30.375
101
0.594808
[ "MIT" ]
tchapsdev/impotquebec
src/impotquebec/impotquebec.Web/Models/Declaration.cs
3,161
C#
using System.Threading.Tasks; using Examples.ExampleDomain; using Xunit; using Xunit.ScenarioReporting; namespace Examples { [Collection("ExampleScenarioRunner")] public class CollectionFixtureScenarioExample : IAsyncLifetime { private readonly ExampleScenarioCollection.InstanceCountingExampleScena...
28.142857
127
0.635364
[ "MIT" ]
Aardware-Ltd/Xunit.ScenarioReporting
Examples/CollectionFixtureScenarioExample.cs
1,182
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using DocMAH.Dependencies; using DocMAH.Web; using DocMAH.Web.Authorization; using DocMAH.Web.Requests; using Moq; using NUnit.Framework; using System.Net;...
31.44186
136
0.722263
[ "MIT" ]
Milyli/DocMAH
DocMAH.UnitTests/Web/HttpHandlerTestFixture.cs
5,410
C#
/* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Diagnostics; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Ru...
50.674419
263
0.814135
[ "MIT" ]
TotalJTM/PrimitierModdingFramework
Dumps/PrimitierDumpV1.0.1/Newtonsoft/Json/JsonReaderException.cs
2,181
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Communication.Administration.Models { public partial class PhoneNumberEntities { ...
33.808511
95
0.545626
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
sdk/communication/Azure.Communication.Administration/src/Generated/Models/PhoneNumberEntities.Serialization.cs
1,589
C#
namespace System.GCs { using Microsoft.Bartok.Runtime; using System.Runtime.CompilerServices; using System.Threading; // this class contains all of the things from the generational GC that // is accessed by the greater runtime in a non-virtual fashion. putting // it here is necessary ...
34.464286
86
0.636788
[ "MIT" ]
sphinxlogic/Singularity-RDK-2.0
base/Imported/Bartok/runtime/shared/GCs/GenerationalGCData.cs
1,930
C#
using JSC_LMS.Application.Features.Subject.Commands.CreateSubject; using JSC_LMS.Application.Features.Subject.Commands.UpdateSubject; using JSC_LSM.UI.ResponseModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace JSC_LSM.UI.Services.IRepositories { public...
42.24
200
0.810606
[ "Apache-2.0" ]
ashishneosoftmail/JSC_LMS
src/UI/JSC_LSM.UI/Services/IRepositories/ISubjectRepository.cs
1,058
C#
using System; using Sora.Interfaces; namespace Sora.Entities.Info.InternalDataInfo; /// <summary> /// 用于存储链接信息和心跳时间的结构体 /// </summary> internal struct SoraConnectionInfo { internal readonly Guid ServiceId; private readonly Guid ConnectionId; internal readonly ISoraSocket Connection; in...
30.558824
90
0.618864
[ "Apache-2.0" ]
cc004/Sora
Sora/Entities/Info/InternalDataInfo/SoraConnectionInfo.cs
1,075
C#
namespace Sidekick.Business.Trades.Results { public class Extended { public string Text { get; set; } } }
15.75
42
0.626984
[ "MIT" ]
cmos12345/Sidekick
src/Sidekick.Business/Trades/Results/Extended.cs
126
C#
namespace More_Modifiers.Modifiers.Notes { interface INoteModifier { void Cleanup(); bool Enabled { get; set; } } }
14.6
41
0.59589
[ "MIT" ]
DeadlyKitten/Not-Enough-Modifiers
More Modifiers/Modifiers/Notes/INoteModifier.cs
148
C#
using System; using System.Collections.Generic; using EmailSkill.Dialogs.Shared.Resources.Strings; using EmailSkill.Extensions; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Solutions.Extensions; using Microsoft.Bot.Builder.Solutions.Resources; using Microsoft.Graph; namespace EmailSkill.Util { ...
41.616279
147
0.649623
[ "MIT" ]
garypretty/AI
solutions/Virtual-Assistant/src/csharp/skills/emailskill/emailskill/Util/SpeakHelper.cs
3,581
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace InformedProteomics.Backend.MathAndStats { /// <summary> /// Static class with array handling utilities /// </summary> public static class ArrayUtil { // Ignore Spelling: Kadane's, su...
32.064935
140
0.410153
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/Informed-Proteomics
InformedProteomics.Backend/MathAndStats/ArrayUtil.cs
7,409
C#
using SilveR.Models; using SilveR.Validators; using System.Collections.Generic; namespace SilveR.StatsModels { public abstract class AnalysisModelBase { public string ScriptFileName { get; private set; } protected AnalysisModelBase(string scriptFileName) { this.ScriptFileN...
25.384615
76
0.693939
[ "MIT" ]
robalexclark/SilveR
SilveR/StatsModels/AnalysisModelBase.cs
662
C#
namespace RollbarDotNet.Tests.Builder { using System.Security.Claims; using Microsoft.AspNetCore.Http; using Moq; using Payloads; using RollbarDotNet.Builder; using Xunit; public class PersonBuilderTests { public PersonBuilderTests() { this._contextAccessor ...
33.596154
111
0.60933
[ "MIT" ]
RoushTech/RollbarDotNet
test/RollbarDotNet.Tests/Builder/PersonBuilderTests.cs
3,496
C#
using System.Collections.ObjectModel; using GalaSoft.MvvmLight; using Luminous.Code.VisualStudio.Packages; namespace StartPagePlus.UI.ViewModels { using Options.Models; public class MainViewModel : ViewModelBase { public MainViewModel() { Company = "Luminous Software Solutio...
23.710526
63
0.592675
[ "MIT" ]
MagicAndre1981/start-page-plus
src/ui/ViewModels/MainViewModel.cs
903
C#
using System; namespace EF.Tests.Model; public class Document { public int Id { get; init; } public int ItemId { get; init; } public Guid? Signature { get; set; } public string Test { get; set; } public Item Item { get; set; } }
16.9375
40
0.583026
[ "MIT" ]
Gotcha7770/EF.Edu
EF.Tests/Model/Document.cs
273
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace DemoTech.Droid { [Activity(Label = "DemoTech", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.Scre...
38.393939
183
0.713496
[ "MIT" ]
juucustodio/DemoTech
DemoTech.Android/MainActivity.cs
1,269
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Reflection; using System.Runtime...
37.854766
177
0.583087
[ "MIT" ]
Azure-App-Service/azure-webjobs-sdk
test/Microsoft.Azure.WebJobs.Host.UnitTests/JobHostTests.cs
25,024
C#
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd 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 * * ...
28.292135
104
0.590151
[ "Apache-2.0" ]
EwoutH/TizenFX
test/Tizen.Tapitest/Program.cs
2,518
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using PersonalWebsite.Models; namespace PersonalWebsite.Migrations { [DbContext(typeof(DataDbContext))] partial class DataDbConte...
34.833333
126
0.495375
[ "MIT" ]
nettsundere/PersonalWebsite
src/PersonalWebsite/Migrations/DataDbContextModelSnapshot.cs
3,137
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.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols.Retargeting; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp....
28.933071
164
0.602395
[ "Apache-2.0" ]
AdamSpeight2008/roslyn-1
src/Compilers/CSharp/Test/Semantic/Semantics/ReadOnlyStructsTests.cs
7,351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace RemuWeb.controladores { public partial class eliminarEstado : System.Web.UI.Page { RemuWebEntities rwe = new RemuWebEntities(); prote...
34.90625
117
0.584602
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Sn0wW0lf/RemuWeb
RemuWeb/controladores/eliminarEstado.aspx.cs
1,119
C#
/* * Copyright 2012 ZXing.Net authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
50.521569
153
0.359466
[ "Apache-2.0" ]
1255225613/ZXing.Net
Source/Bindings/ZXing.ZKWeb.System.Drawing/BitmapLuminanceSource.cs
12,885
C#
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requir...
55.227273
136
0.761317
[ "Apache-2.0" ]
e-manual-goldstein/NakedObjectsFramework
NakedFramework/NakedFramework.Rest/Model/PersistArgumentMapBinder.cs
1,215
C#
using UnityEditor; using UnityEngine; namespace UnityEssentials.Spline.PropertyAttribute.DrawIf { [CustomPropertyDrawer(typeof(DrawIfAttribute))] public class DrawIfPropertyDrawer : PropertyDrawer { // Reference to the attribute on the property. private DrawIfAttribute drawIf; // ...
38.973451
212
0.557448
[ "MIT" ]
usernameHed/Philae-Lander
Assets/Plugins/Unity Essentials - Spline/PropertyAttribute/DrawIf/Editor/DrawIfDrawer.cs
4,406
C#
using System.Collections.Generic; namespace SharpIpp.Model { public class NewJobAttributes { /// <summary> /// The client OPTIONALLY supplies this attribute. The Printer /// object MUST support this attribute. It contains the client /// supplied Job name. If this...
60.652778
85
0.620487
[ "MIT" ]
KittyDotNet/SharpIpp
SharpIpp/Model/NewJobAttributes.cs
13,103
C#
using System; using System.Drawing; using System.Runtime.InteropServices; namespace mpvnet { public class Native { [DllImport("kernel32.dll")] public static extern IntPtr LoadLibrary(string dllToLoad); [DllImport("user32.dll", CharSet = CharSet.Unicode)] public static extern I...
35.135135
128
0.594231
[ "MIT" ]
Revan654/mpv.net
mpv.net/Native/Native.cs
2,602
C#
using System; using System.IO; using System.Threading.Tasks; using Etg.Yams.Application; using Etg.Yams.Storage; using Etg.Yams.Storage.Config; using Etg.Yams.Storage.Status; using Etg.Yams.Utils; namespace Etg.Yams.Test.Storage { public class LocalDeploymentRepository : IDeploymentRepository, IDeploymentStatusRe...
41.624113
143
0.652241
[ "MIT" ]
Bhaskers-Blu-Org2/Yams
test/Etg.Yams.Core.Test/Storage/LocalDeploymentRepository.cs
5,871
C#
using Sanakan.DAL.Models.Configuration; namespace Sanakan.DAL.MySql.Migrator.TableEnumerators { public class ReportsEnumerator : TableEnumerator<Report> { public ReportsEnumerator(IDbConnection connection) : base(connection) { } public override Report Current => n...
26.608696
77
0.617647
[ "MPL-2.0" ]
Jozpod/sanakan
DAL.MySql.Migrator/TableEnumerators/ReportsEnumerator.cs
614
C#
using System; struct MyStruct { public void Sub() => Console.WriteLine("Hello in MyStruct"); } class Program { static unsafe void Main() { MyStruct theValue; MyStruct* p = &theValue; p->Sub(); } }
14.117647
64
0.575
[ "MIT" ]
autumn009/CSharpSourceDance
Answers/SymbolOperators/address/address/Program.cs
242
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DotNetCoreWebApi.Model; using DotNetCoreWebApi.Repository; using Microsoft.AspNetCore.Mvc; namespace DotNetCoreWebApi.Controllers { [Route("api/measurement")] [ApiController] public class MeasurementCont...
34.509091
95
0.650158
[ "MIT" ]
Badyl96/DotNetCoreCrc
DotNetCoreCrc/src/DotNetCoreWebApi/Controllers/MeasurementController.cs
1,900
C#
using System; namespace EventBus.Core { public interface IConsumer: IDisposable { void Start(); } }
12.2
43
0.622951
[ "MIT" ]
FeiniuBus/EventBus
src/EventBus.Core/IConsumer.cs
124
C#
// Copyright 2012-2018 Chris Patterson // // 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...
37.590909
82
0.711004
[ "Apache-2.0" ]
fivec/GreenPipes
src/GreenPipes/Partitioning/IHashGenerator.cs
829
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("Sm...
37.648649
84
0.743001
[ "MIT" ]
kostadinlambov/C-Programming-Basics
03. Complex Conditions/02. Small-Shop/Properties/AssemblyInfo.cs
1,396
C#
using System; using System.Net.Http.Headers; using System.Threading; using OpenLibSys; namespace KTest { class Program { static void Main(string[] args) { Ols ols = new Ols(); // Check support library status switch (ols.GetStatus()) { ...
35.990099
101
0.536726
[ "MIT" ]
sbski/KTest
KTest/Program.cs
3,637
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.993421
277
0.610563
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.RDS/Model/ResetDBParameterGroupRequest.cs
5,775
C#
namespace ZazasCleaningService.Data { using System; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using ZazasCleaningService.Data.Common; public class DbQueryRunner : IDbQueryRunner { public DbQueryRunner(ApplicationDbContext context) { this.Co...
24.657895
87
0.59445
[ "MIT" ]
TihomirIvanovIvanov/ZazasCleaningService
ZazasCleaningService/Data/ZazasCleaningService.Data/DbQueryRunner.cs
939
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
37.692308
205
0.615816
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/DynamoDBv2/Generated/Model/Internal/MarshallTransformations/CancellationReasonUnmarshaller.cs
3,920
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...
39.947674
147
0.606753
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ApiGatewayV2/Generated/Model/Internal/MarshallTransformations/UpdateAuthorizerRequestMarshaller.cs
6,871
C#
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System; using JetBrains.Annotations; using MessagePack; namespace Lykke.MarginTrading.Activities.Contracts.Models { [MessagePackObject] public class ActivityContract { public ActivityContract(...
28.090909
101
0.572816
[ "MIT-0" ]
LykkeBusiness/MarginTrading.Activities
src/MarginTrading.Activities.Contracts/Models/ActivityContract.cs
1,545
C#
using System; using System.Collections.Generic; namespace DidacticalEnigma.Mem.DatabaseModels { public class Category { public Guid Id { get; set; } public string Name { get; set; } public Project Parent { get; set; } public int ParentId { get; set; } ...
22.833333
74
0.591241
[ "MIT" ]
DidacticalEnigma/DidacticalEnigma.Mem
DidacticalEnigma.Mem/DatabaseModels/Category.cs
411
C#
// DraggingManager.cs // Copyright Karel Kroeze, 2018-2018 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using RimWorld; using UnityEngine; using Verse; using Verse.Sound; using Verse.Steam; using static ModManager.Constants; namespace ModManager { pu...
30.258065
113
0.535537
[ "MIT" ]
CandyFiend/ModManager
Source/ModManager/Utilities/DraggingManager.cs
2,816
C#
#region Using directives using System.Reflection; using System.Runtime.CompilerServices; using System.Resources; using System.Globalization; using System.Windows; using System.Runtime.InteropServices; #endregion // General Information about an assembly is controlled through the following // set of attributes. Chang...
38
99
0.765705
[ "MIT" ]
jdermody/icbld
CodeProject/NNMF/Properties/AssemblyInfo.cs
2,356
C#
using System.Reflection; [assembly: AssemblyTitle("Headquarter")] [assembly: AssemblyProduct("Headquarter")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
28.428571
43
0.728643
[ "Apache-2.0", "MIT" ]
ianbattersby/NServiceBus
Samples/Gateway/Headquarter/Properties/AssemblyInfo.cs
195
C#
// SPDX-License-Identifier: MIT // Copyright (C) 2018-present iced project and contributors using System; namespace Generator { static class NumberFormatter { static string AddNumberSeparator32(string prefix, string number) { if (number.Length != 8) throw new InvalidOperationException(); return prefix + ...
34.666667
112
0.705529
[ "MIT" ]
0xd4d/iced
src/csharp/Intel/Generator/NumberFormatter.cs
832
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GradeBook { public class Statistics { public double Average { get { return Sum / Count; } } public d...
20.984375
46
0.379747
[ "MIT" ]
SuSandarLinSolidCAD/GradeBook-C--Fundamentals
GradeBook/Statistics.cs
1,345
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.Core.Native; using Ultz.SuperInvoke; namespace Silk.NET.Vulkan { public un...
25.97561
64
0.652582
[ "MIT" ]
mcavanagh/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/AccelerationStructureBuildOffsetInfoKHR.gen.cs
1,065
C#
using Com.Moonlay.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace EWorkplaceAbsensiService.Lib.Models { public class Report : StandardEntity, IValidatableObject { public int ProjectId { get; set; } public int Tim...
26.590909
90
0.705983
[ "MIT" ]
Martinus123S/id.co.moonlay-eworkplace-attendance-service
EWorkplaceAbsensiService.Lib/Models/Report.cs
587
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 * ...
30.078431
81
0.637549
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Ecm/V20190719/Models/DescribeMonthPeakNetworkRequest.cs
1,578
C#
namespace MassTransit.Metadata { using Contracts; using Internals.Reflection; public interface IObjectInfoContractCache { Contract GetOrAddObjectInfo(ObjectInfo objectInfo); void AddContracts(params ObjectInfo[] objectInfos); } }
19.214286
59
0.72119
[ "ECL-2.0", "Apache-2.0" ]
ArmyMedalMei/MassTransit
src/MassTransit/Configuration/Metadata/IObjectInfoContractCache.cs
269
C#
using System; namespace Orleans.Streams { /// <summary> /// Mark a subscriptionId as either an implicit subscription Id, or an explicit subscription Id. /// high bit of last byte in guild is the subscription type flag. /// 1: implicit subscription /// 0: explicit subscription /// </summary> ...
34.5
101
0.607488
[ "MIT" ]
1007lu/orleans
src/Orleans.Core/Streams/PubSub/SubscriptionMarker.cs
1,656
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
32.333333
75
0.726804
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeInternalChannelEncryptionMode.cs
776
C#