content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.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("AWSSDK.CognitoIdentity")] [assembly: Assem...
55.25
499
0.761312
[ "Apache-2.0" ]
augustoproiete-forks/aws--aws-sdk-net
sdk/code-analysis/ServiceAnalysis/CognitoIdentity/Properties/AssemblyInfo.cs
1,768
C#
namespace AutoUI { partial class EnvironmentEditor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
52.526042
149
0.642043
[ "MIT" ]
fel88/AutoUI
AutoUI/EnvironmentEditor.Designer.cs
10,087
C#
// Copyright (c) 2021 ICT Cube, doWhile, and Eiffel Community collaborators. // // 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/LIC...
42.636364
131
0.692431
[ "Apache-2.0" ]
eiffel-community/eiffelevents-sdk-dotnet
src/EiffelEvents.Net/Events/Edition-Lyon/EiffelTestCaseStartedEvent/EiffelTestCaseStartedEvent.cs
1,878
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace FullContact.Infrastructure { public class FullcontactPersonService : BasePersonService, IPersonService { private reado...
35.14
110
0.63745
[ "MIT" ]
mottibec/FullContact
FullContact.Infrastructure/PersonServices/FullContact/FullcontactPersonService.cs
1,759
C#
/* Copyright (C) 2020 Jean-Camille Tournier (mail@tournierjc.fr) This file is part of QLCore Project https://github.com/OpenDerivatives/QLCore QLCore is free software: you can redistribute it and/or modify it under the terms of the QLCore and QLNet license. You should have received a copy of the license along wi...
39.014981
130
0.585581
[ "BSD-3-Clause" ]
tournierjc/QLCore
QLCore/Currencies/ExchangeRateManager.cs
10,417
C#
using System; using System.Collections.Generic; using System.Reflection; using Anvil.API; using Anvil.Tests.Resources; using NUnit.Framework; // ReSharper disable UnusedMember.Local namespace Anvil.Tests.API { [TestFixture(Category = "API.Variable")] public sealed class LocalVariableTests { private readonly ...
46.889447
149
0.721037
[ "MIT" ]
Aschent89/Anvil
NWN.Anvil.Tests/src/main/API/Variable/LocalVariableTests.cs
9,331
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由T4模板自动生成 // 生成时间 2019-10-08 14:34:31 // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失 // 作者:Harbour CTS // </auto-generated> //---------------------------------------------------------------------...
20.75
86
0.449799
[ "MIT" ]
zxtname/ZXYl
ZXYL.BLL/T4.DapperExt/V_PubUser_DeptBLL.cs
608
C#
using NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.Infrastructure.Models.Common; namespace NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.Infrastructure.Models.Responses { public sealed class SendTransactionResult : BaseTransactionResult { public SendTransactionResult(string transactionHash) : base...
27.375
89
0.703196
[ "CC0-1.0" ]
HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.OASIS.API.Providers.SOLANAOASIS/Infrastructure/Models/Responses/SendTransactionResult.cs
438
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Abp; using Abp.Extensions; using Abp.Notifications; using Abp.Timing; using Volo.SqliteDemo.Controllers; namespace Volo.SqliteDemo.Web.Host.Controllers { public class HomeController : SqliteDemoControllerBase { private readonly INotifi...
31.153846
112
0.61358
[ "MIT" ]
OzBob/aspnetboilerplate-samples
SqliteDemo/aspnet-core/src/Volo.SqliteDemo.Web.Host/Controllers/HomeController.cs
1,620
C#
using System.Collections.Generic; using System.Data; namespace ALE.ETLBox.ConnectionManager { public interface IDbConnectionManager : IConnectionManager { int ExecuteNonQuery(string command, IEnumerable<QueryParameter> parameterList = null); object ExecuteScalar(string command, IEnumerable<...
42.066667
100
0.736926
[ "MIT" ]
mukundnc/etlbox
ETLBox/src/Definitions/ConnectionManager/IDbConnectionManager.cs
633
C#
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Windows.Foundation; [assembly: InternalsVisibleTo("Tests")] namespace Environment { public class World { internal const float RotationalFactor = 4f; // 4 for rapidly rotating bodies (Earth), 2 for slowly rotat...
32.528497
123
0.498089
[ "MIT" ]
asklar/SimEarth2020
src/Environment/World.cs
6,280
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* NotifyPropertyChangedUtility.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ ...
25.178571
84
0.52695
[ "MIT" ]
amironov73/ManagedClient.45
Source/Classic/Libs/AM.Core/AM/ComponentModel/PropertyChangedUtility.cs
2,824
C#
using System; using System.Linq; using BrotliLib.Markers.Serialization; using BrotliLib.Numbers; using BrotliLib.Serialization; namespace BrotliLib.Brotli.Components{ /// <summary> /// Describes Brotli window size specified in the stream header. /// https://tools.ietf.org/html/rfc7932#section-9.1 /// ...
37.731481
144
0.52319
[ "MIT" ]
chylex/Brotli-Builder
BrotliLib/Brotli/Components/WindowSize.cs
4,077
C#
using System; using System.Collections.Generic; namespace _0202 { public class Solution { public bool IsHappy(int n) { var set = new HashSet<int>(); while (true) { var newn = 0; while (n > 0) { ...
19.204545
53
0.331361
[ "Apache-2.0" ]
twilightgod/PlayLeetcode
0202/Program.cs
847
C#
#region Licence /* The MIT License (MIT) Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk> 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 limita...
40.013889
122
0.728566
[ "MIT" ]
Elizabethhanson/Brighter
tests/Paramore.Brighter.Core.Tests/CommandProcessors/When_there_are_no_command_handlers.cs
2,892
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Shipping_Easy.Partner { [Serializable] public class Isn { public Event Event { get; set; } public string order_number { get; set; } public string refund_url { get; set; } public ...
25.538462
63
0.628012
[ "Unlicense" ]
mithereal/asp_shipping_easy_models
Partner/Isn.cs
664
C#
namespace AutoMapper { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Impl; using Internal; /// <summary> /// Main configuration object holding all mapping con...
34.860892
120
0.570245
[ "MIT" ]
jakard76/AutoMapper
src/AutoMapper/TypeMap.cs
13,282
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cosmos.Core; namespace Cosmos.Core.IOGroup { public class Keyboard : IOGroup { public readonly IOPort Port60 = new IOPort(0x60); } }
20.25
57
0.72428
[ "BSD-3-Clause" ]
Dark-Tater/Cosmos
source/Cosmos.Core/IOGroup/Keyboard.cs
245
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. /***************************************************************************\ * * File: BamlDump.cs * * Dump baml f...
36.378109
161
0.424371
[ "MIT" ]
batzen/wpf-test
src/Test/Common/DRT/BamlDump/BamlDump.cs
14,624
C#
#region CopyrightHeader // // Copyright by Contributors // // 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.txt // // Unless requ...
23.739726
76
0.571841
[ "Apache-2.0" ]
marcsommer/mdo
mdo/src/mdo/PatientRecordFlag.cs
1,733
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; namespace samples.tpl { public class AppTest { async static Task ProcessAsynchronously() { var cts = n...
35.333333
136
0.539562
[ "MIT" ]
shenhx/DotNetAll
02CSharp/DotNet_Theads/MultiThread/samples/tpl/AppTest.cs
3,292
C#
using System; namespace Charlotte.Games { // Token: 0x02000011 RID: 17 public static class GameCommon { } }
11.4
31
0.710526
[ "MIT" ]
soleil-taruto/Hatena
a20201226/Decompile/BeforeConfuse/Elsa20200001/Games/GameCommon.cs
116
C#
using System; using System.IO; using System.Linq; using System.Net; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace SimpleHTTPServer { public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); ...
33.840909
84
0.533244
[ "MIT" ]
ijat/SimpleHTTPServer-.NET
SimpleHTTPServer/Program.cs
1,491
C#
using ctci.Contracts; using ctci.Library; using System; using System.Collections; using System.Collections.Generic; namespace Chapter10 { public class Q10_02_Group_Anagrams : Question { private class AnagramComparator : IComparer { private string SortChars(string s) { ...
31.594595
118
0.502566
[ "Apache-2.0" ]
Kiandr/CrackingCodingInterview
CSharp/Ch 10. Sorting and Searching/Q10_02_Group_Anagrams.cs
2,340
C#
using Pims.Api.Models.Parcel; using System; using System.Collections.Generic; namespace Pims.Api.Areas.Project.Models.Dispose { public class BuildingModel : PropertyModel { #region Properties public int ParcelId { get; set; } public int BuildingConstructionTypeId { get; set; } ...
27.38
116
0.655223
[ "Apache-2.0" ]
Bruce451/PIMS
backend/api/Areas/Project/Models/Dispose/BuildingModel.cs
1,369
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.ComponentModel.DataAnnotations; namespace IdentityServer4.Quickstart.UI { public class RedirecAfterSuccessfullLoginModel ...
30.071429
107
0.731591
[ "MIT" ]
karsten-kuepper/bcc-identity-server-dummy
src/Bcc.Members.Identity.Domain/Quickstart/Account/RedirecAfterSuccessfullLogin.cs
421
C#
namespace TestHelper { using Microsoft.CodeAnalysis; using System; /// <summary> /// Location where the diagnostic appears, as determined by path, line number, and column number. /// </summary> public struct DiagnosticResultLocation { public DiagnosticResultLocation(string path, in...
24.551724
101
0.47706
[ "MIT" ]
MSledzinski/DataContractAnalyzers
source/DataContractAnalyzer/DataContractAnalyzer.Test/Helpers/DiagnosticResult.cs
2,138
C#
using FrontEnd.Data; using FrontEnd.Interfaces; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace FrontEnd.Repositories { [ExcludeFromCodeCoverage] ...
29.575
93
0.672866
[ "MIT" ]
Andra1609/Magic8Ball
code/FrontEnd/Repositories/Repository.cs
1,185
C#
using System; using Xunit; namespace tests.xunit.failing { public class FailingTheoryTests { // TEST: Should run all 3 tests, and should fail for all of them [Theory] [InlineData("fails", 6)] [InlineData("failing", 1)] [InlineData("fail as well", 13)] public void...
34.83871
111
0.606481
[ "Apache-2.0" ]
derigel23/resharper-xunit
resharper/tests.manual/tests.xunit/FailingTheoryTests.cs
1,080
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
47.295374
156
0.497065
[ "Apache-2.0" ]
TronInformatica/boletonet
src/Boleto.Net/Html.Designer.cs
39,930
C#
using System; using System.Collections.Generic; using System.Net.Http; using Microsoft.Owin; using Microsoft.Owin.Security; namespace Owin.Security.Providers.Salesforce { public class SalesforceAuthenticationOptions : AuthenticationOptions { public class SalesforceAuthenticationEndpoints { ...
41.6
157
0.609509
[ "MIT" ]
gavinharriss/OwinOAuthProviders
src/Owin.Security.Providers.Salesforce/SalesforceAuthenticationOptions.cs
5,622
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.360892
137
0.548405
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodeBuild/Generated/Model/Build.cs
25,421
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TitleParent : MonoBehaviour { public GameObject parent; public List<TitleAnim> children; void Update() { if (parent.activeInHierarchy == false) { foreach (TitleAnim i in children) ...
23.088235
46
0.505732
[ "MIT" ]
AGGP-NHTI/Capstone2021-RocketJump
Assets/Core/Scripts/Menu Scripts/TitleParent.cs
787
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> //-----------------------------------------...
38.516981
173
0.612619
[ "MIT" ]
GraemeF/hotchocolate
src/HotChocolate/Core/src/Validation/Properties/Resources.Designer.cs
10,209
C#
using Microsoft.Win32; using Playnite.SDK; using Playnite.Native; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Management; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; nam...
31.279805
156
0.466086
[ "MIT" ]
JosefNemec/Playnite
source/Playnite/Common/Computer.cs
12,858
C#
/* * Intersight REST API * * This is Intersight REST API * * OpenAPI spec version: 0.1.0-559 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using Syst...
32.521127
140
0.564747
[ "Apache-2.0" ]
CiscoUcs/intersight-powershell
csharp/swaggerClient/src/intersight/Model/IamLdapBasePropertiesRef.cs
4,618
C#
using System.Xml.Serialization; namespace Instagraph.DataProcessor.DtoModels.Import { public class ImportCommentPostDto { [XmlAttribute("id")] public int Id { get; set; } } }
20.4
51
0.666667
[ "MIT" ]
Mithras11/SoftUni-Software-Engineering
C_Sharp/CSharp DataBases/Entity Framework Core/Exams/04.12.2017/Instagraph.DataProcessor/DtoModels/Import/ImportCommentPostDto.cs
206
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
43.419154
222
0.608611
[ "MIT-feh" ]
Sonan1994/UnitsNet
UnitsNet/GeneratedCode/Quantities/Permeability.NetFramework.g.cs
34,911
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using DotLogix.Core.Extensions; using DotLogix.Core.Rest.Server.Http.Headers; using DotLogix.Core.Utils; namespace DotLogix.Core.Rest.Server.Http { public class MultiPartParser { public static MultiPartP...
43.901235
131
0.568054
[ "MIT" ]
dotlogix/DotlogixCore
Rest/Server/Http/MultiPartParser.cs
3,558
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.Beverage_Labels { class Program { static void Main(string[] args) { var name = Console.ReadLine(); var volume = double.Parse(Console.ReadLin...
26.923077
74
0.594286
[ "MIT" ]
paykova/TEST
ProgrammingFundamentals/CSharp Intro and Basic Syntax EX/04. Beverage Labels/04. Beverage Labels.cs
702
C#
using Commons; namespace SourceGenerator { public partial class Employee { [Identifier] public int Id { get; set; } } }
13.636364
35
0.593333
[ "MIT" ]
nuitsjp/CodeGenerationOverviewIn2021
Completed/SourceGenerator/Employee.cs
152
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace UI.WIN { public partial class Form1 : Form { ...
27.27551
99
0.528245
[ "MIT" ]
shimon-uk/Mars
UI.WIN/Form1.cs
2,675
C#
using Jarvis.Core.Api.Slack; using Jarvis.Core.Models; using System.Threading.Tasks; namespace Jarvis.Core.Services { public class IdentityManager { IUsersIdentityApi Api; public IdentityManager(IUsersIdentityApi api) { Api = api; } public IdentityManager(...
19.185185
60
0.583012
[ "MIT" ]
aliostad/deep-learning-lang-detection
data/test/csharp/49572a657ea678a679d0b02006deb32a4e56fbb2IdentityManager.cs
520
C#
 using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Mod.CatsV3.Application.Dtos; using Mod.CatsV3.Applicatio...
33.038462
109
0.622817
[ "MIT" ]
EOP-OMB/CATSV3
Server/Mod.CatsV3.Server/Mod.CatsV3.WebApi/Controllers/FYIUserController.cs
1,720
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Poplawap.Backend.Model { public class Comments { public int Id { get; set; } [Required] [MaxLength] public string CommentMessage { get; set; } [Required] ...
21.75
57
0.599343
[ "MIT" ]
Rubsanchez/Poplawap
Poplawap/Poplawap.Backend/Model/Comments.cs
611
C#
using System.Linq; using ESFA.DC.ILR.Model.Mapper.Interface; using FluentAssertions; using Moq; using Xunit; namespace ESFA.DC.ILR.FileValidationService.Service.Tests { public class LooseToTightSchemaMapperTests { [Fact] public void Map() { var loose = new Model.Loose.Messa...
26.035714
97
0.63786
[ "MIT" ]
SkillsFundingAgency/DC-ILR-1819-FileValidationService
src/ESFA.DC.ILR.FileValidationService.Service.Tests/LooseToTightSchemaMapperTests.cs
731
C#
using System; using System.Collections.Generic; using System.IO.Pipelines; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Buffers.Binary; namespace RSocket { using System.Buffers; using System.Threading; using Microsoft.AspNetCore.Internal; public partial class RSocketProtocol {...
54.024081
446
0.730065
[ "Apache-2.0" ]
Giorgi/rsocket-net
RSocket.Core/RSocketProtocol.cs
42,625
C#
using System; using System.Collections.Generic; using System.Linq; using CraftAI.Gate.Logic.Abstractions; using Microsoft.Extensions.DependencyInjection; namespace CraftAI.Gate.Logic.EventHandler.Collection { public class EventHandlers : IEventHandlersCollection { private static Type[] types = Array.Empty<Type>()...
29.686275
107
0.733818
[ "MIT" ]
SlenderEmpire/CraftAI
gate/SEGate.Logic/EventHandler.Collection/EventCollection.cs
1,516
C#
using Xamarin.Forms; namespace CardboardKnight.UI.Converters { public static class ColourHelper { public static string CurrentThemeToString() { OSAppTheme currentTheme = Application.Current.RequestedTheme; if (currentTheme == OSAppTheme.Light) return "Li...
24.73913
73
0.578207
[ "MIT" ]
TheCardboardKnight/App
CardboardKnight.UI/Converters/ColourHelper.cs
571
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AElf.Kernel; using AElf.Kernel.Blockchain.Application; using AElf.Kernel.Blockchain.Domain; using AElf.Kernel.Blockchain.Events; using AElf.Kernel.SmartContractExecution.Application; using AElf.Kernel.TransactionPool.Infrastructure...
33.728814
112
0.649497
[ "MIT" ]
380086154/AElf
test/AElf.OS.TestBase/MockTxHub.cs
3,980
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Globalization; using Microsoft.Extensions.Options; using Microsoft.Identity.Web.Test.Common; using Xunit; namespace Microsoft.Identity.Web.Test { public class MicrosoftIdentityOptionsTests { p...
40.735294
155
0.660168
[ "MIT" ]
jg11jg/microsoft-identity-web
tests/Microsoft.Identity.Web.Test/MicrosoftIdentityOptionsTests.cs
4,157
C#
#region License // // The Open Toolkit Library License // // Copyright (c) 2006 - 2009 the Open Toolkit library. // // 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, inc...
36.25
83
0.760153
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
src/OpenGLES/OpenTK/Compute/CLHelper.cs
1,305
C#
using System.CodeDom.Compiler; using System.Threading; using System.Threading.Tasks; //------------------------------------------------------------------------------ // This code was auto-generated by ApiGenerator x.x.x.x. // // Changes to this file may cause incorrect behavior and will be lost if // the code is rege...
36.965517
126
0.572761
[ "MIT" ]
atc-net/atc-rest-api-generator
test/Atc.Rest.ApiGenerator.Tests/IntegrationTests/Scenarios/Scenario2/Verify/src/Scenario2.Api.Generated/Contracts/Files/Interfaces/IGetFileByIdHandler.verified.cs
1,074
C#
using UnityEngine; public class CameraController : MonoBehaviour { public GameObject player; Vector3 offset; // Use this for initialization void Start() { offset = transform.position - player.transform.position; } // `LateUpdate` invokes after `Update`. void LateUpdate() { transform.position...
20.277778
60
0.706849
[ "MIT" ]
jkereako/RollABall
Assets/Scripts/CameraController.cs
367
C#
namespace NxBRE.Test.InferenceEngine { using System; using System.Collections; using System.Collections.Generic; using NUnit.Framework; using NxBRE.InferenceEngine; using NxBRE.InferenceEngine.Core; using NxBRE.InferenceEngine.Rules; using NxBRE.Util; [TestFixture] public class TestCore {...
46.432468
208
0.616703
[ "MIT" ]
Peidyen/NxBRE
NxBRE3/Test/InferenceEngine/TestCore.cs
35,753
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("Dis...
38.945946
84
0.752949
[ "Apache-2.0" ]
patridge/Meadow.Foundation
Source/Peripheral_Libs/Displays.LCD.CharacterDisplay/Properties/AssemblyInfo.cs
1,444
C#
// Copyright (c) Geta Digital. All rights reserved. // Licensed under Apache-2.0. See the LICENSE file in the project root for more information using System.Linq; using System.Web.Mvc; using EPiServer.ServiceLocation; using Geta.Tags.Interfaces; namespace Geta.Tags.Controllers { public class GetaTagsController :...
28.035088
94
0.571965
[ "Apache-2.0" ]
Geta/Tags
src/Controllers/GetaTagsController.cs
1,600
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using VkNet.Abstractions; using VkNet.Extensions.Polling.Models.Configuration; using VkNet.Extensions.Polling.Models.State; using VkNet.Extensions.Polling.Models.Update; using VkNet.Model; using VkN...
38.887324
221
0.66063
[ "MIT" ]
vknet/VkNet.Extensions.Polling
src/VkNet.Extensions.Polling/UserLongPoll.cs
2,818
C#
namespace Papu.Entities { public class ProductGroup { public int ProductId { get; set; } public Product Product { get; set; } public int GroupId { get; set; } public Group Group { get; set; } } }
18.692308
44
0.567901
[ "Unlicense" ]
dawidkurant/applications
Projekt Web API/Papu/Papu/Entities/Product/ProductGroup.cs
245
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Relay { using System; using System.Net; using System.Net.Http; using System.Net.WebSockets; using System.Threading; u...
34.519774
142
0.589362
[ "MIT" ]
Azure/azure-relay-dotnet
src/Microsoft.Azure.Relay/ClientWebSocketFactory.cs
6,112
C#
using RPServerClient.Client.Util; using RPServerClient.Util; using Player = RAGE.Elements.Player; using Vector3 = RAGE.Vector3; namespace RPServerClient.Client { internal class CamHandler : RAGE.Events.Script { public readonly int CameraID; public CamHandler() { CameraID =...
38.483871
141
0.631182
[ "MIT" ]
TryStatic/RPServer
RPServerClient/Client/CamHandler.cs
2,388
C#
namespace EnvironmentAssessment.Common.VimApi { public class ClusterDasAamNodeState : DynamicData { protected ManagedObjectReference _host; protected string _name; protected string _configState; protected string _runtimeState; protected ClusterDasAamNodeState_LinkedView _linkedView; public ManagedObjectRe...
14.444444
58
0.646154
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/C/ClusterDasAamNodeState.cs
910
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.NetworkInformation; using System.Web; using BForms.Models; using Hesira.Areas.Common.Models; using Hesira.Entities; using Hesira.Models; using Hesira.Repositories; using Hesira.Resources; namespace Hesira.Areas.Common.Repositories { ...
31.165854
134
0.477226
[ "MIT" ]
alrazex/Hesira
src/Hesira/Areas/Common/Repositories/UserProfileRepository.cs
6,391
C#
namespace Aspose.Cells.Demos.databind { } namespace Aspose.Cells.Demos.databind { } namespace Aspose.Cells.GridWeb.Demos._2008.JavaEE.databind { } namespace Aspose.Cells.Demos.databind { }
14.615385
58
0.789474
[ "MIT" ]
Aspose/Aspose.Cells-for-.NET
Examples.GridWeb/CSharp/databind/Aspose.Cells.GridWeb.DemosCS.DataBind.dataset2.cs
192
C#
/* * Copyright 2012-2020 The Pkcs11Interop Project * * 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 ap...
37.243902
313
0.709234
[ "Apache-2.0" ]
ConnectionMaster/Pkcs11Interop
src/Pkcs11Interop/LowLevelAPI81/MechanismParams/CK_MAC_GENERAL_PARAMS.cs
1,529
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AbstractAlgebraMathSet; using AbstractAlgebraGroup; using AbstractAlgebraGapPerm; using AbstractAlgebraCoset; using AbstractAlgebraCosetGrouping; using AbstractAlgebraQuotientGroup; using static ...
28.481481
85
0.433897
[ "Apache-2.0" ]
dharmatech/AbstractAlgebraCs
pinter-15-A-3-D4/Program.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 System.Diagnostics; using System.Runtime.CompilerServices; namespace System { internal static partial cl...
45.802249
205
0.478607
[ "Apache-2.0" ]
654306663/BDFramework.Core
Packages/ZString/Number/Number.Grisu3.cs
48,873
C#
using System; using JetBrains.Annotations; namespace BudgetAnalyser.Engine.Statement { /// <summary> /// An exception to report that an attempt was made to import the same exact bank export twice. /// </summary> /// <seealso cref="System.Exception" /> public class TransactionsAlreadyImportedExc...
35.710526
108
0.623434
[ "MIT" ]
Benrnz/BudgetAnalyser
BudgetAnalyser.Engine/Statement/TransactionsAlreadyImportedException.cs
1,357
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
52.728
200
0.661129
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IosUpdateDeviceStatusRequest.cs
13,182
C#
namespace ET { public class LoginFinish_CreateLobbyUI: AEvent<EventType.LoginFinish> { protected override async ETTask Run(EventType.LoginFinish args) { args.ZoneScene.GetComponent<UIComponent>().HideWindow(WindowID.WindowID_Login); await args.ZoneScene.GetComponent<UICo...
35.454545
102
0.702564
[ "MIT" ]
752636090/ET
Unity/Codes/HotfixView/Demo/UI/DlgLobby/Event/LoginFinish_CreateLobbyUI.cs
392
C#
using Microsoft.AspNetCore.Http; using System.Text.RegularExpressions; /// <summary> /// <see cref="HttpRequest"/> extension methods. /// </summary> public static partial class HttpRequestExtensions { //regex from http://detectmobilebrowsers.com/ private static readonly Regex b = new Regex(@"(android|bb\d+|me...
82.684211
1,709
0.632081
[ "MIT" ]
lilpug/ModFrame
projects/ASP.NET Core 2.1 - Full Framework/ModFrame/Core/Extension Methods/HttpRequest/IsMobileBrowser.cs
3,144
C#
// Keypear Security Tool. // Copyright (C) Eugene Bekker. using System.Numerics; using Keypear.Shared.PAKE.ScottBradySRP; namespace Keypear.Shared.Tests.SRP; public class ScottBradySRPTests { [Fact] public void Test_TestVectors() { var client = new SrpClient(TestVectors.H, TestVectors.g, TestVec...
40.765957
103
0.665797
[ "MIT" ]
ebekker/keypear
test/Keypear.Shared.Tests/PAKE/SRP/ScottBradySRPTests.cs
5,750
C#
using System; using System.Xml.Linq; using Gench.Utils; using Gench.Business; namespace Gench.Loaders { public class ModelSvgLoader : SvgLoader { public ModelSvgLoader() { } public XDocument LoadFullModel(ModelPart fullbody) { XDocument svg = null; ...
26.847826
92
0.512551
[ "Apache-2.0" ]
arxflay/Gench
Loaders/ModelSvgLoader.cs
1,235
C#
// Copyright (c) 2016 AgileObjects Ltd // Licensed under the MIT license. See LICENSE file in the ReadableExpressions directory for more information. namespace LinkIt.ReadableExpressions.Translators.Formatting { using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expre...
32.590028
110
0.523332
[ "MIT" ]
fynnen/LinkIt
src/LinkIt/ReadableExpressions/Translators/Formatting/ParameterSet.cs
11,767
C#
using System; //Declare two string variables and assing them with "Hello" and "World" //Declare an object variable and assing it with the concatenation of the two strings //Declare a third string variable and assing it with the object value class StringToObjectToString { static void Main() { string f...
55.363636
150
0.633005
[ "MIT" ]
hackohackob/TelerikAcademy
C#1/VariablesLessonHomework/07.StringToObjectToString/07.StringToObjectToString.cs
1,220
C#
using Autofac; using Azure.Cosmos.Repositories; using Azure.Cosmos.Services; using Microsoft.Azure.Cosmos; using Serilog; using Serilog.Extensions.Logging; using Serilog.Sinks.SystemConsole.Themes; namespace Autofac { public static class ContainerBuilderCustomExtensions { public static ContainerBuilder...
37.596154
248
0.688491
[ "Apache-2.0" ]
DavidLeonardoGutierrez/dotnet-azure-examples
cosmosdb/src/ContainerBuilderCustomExtensions.cs
1,955
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("En...
38.459459
84
0.748419
[ "MIT" ]
mykiep/EntityFrameworkExtras
EntityFrameworkExtras.EF5/Properties/AssemblyInfo.cs
1,426
C#
using Recipes.SingleModelCrudAsync; using RepoDb.Attributes; using System.ComponentModel.DataAnnotations.Schema; namespace Recipes.RepoDb.SingleModelCrudAsync { [Map("HR.EmployeeClassification")] public class EmployeeClassification : IEmployeeClassification { [Primary] public int EmployeeC...
26.352941
65
0.71875
[ "Unlicense" ]
lukevp/DotNet-ORM-Cookbook
ORM Cookbook/Recipes.RepoDb/SingleModelCrudAsync/EmployeeClassification.cs
450
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/automl/v1/model.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using ...
45.148387
591
0.685267
[ "Apache-2.0" ]
Global19/google-cloud-dotnet
apis/Google.Cloud.AutoML.V1/Google.Cloud.AutoML.V1/Model.cs
41,988
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CollisionWithEnemy : MonoBehaviour { public static bool collided = false; private void OnTriggerEnter2D(Collider2D collider) { if (collider.tag == "Enemy") { collided = true; } ...
21.8
54
0.651376
[ "MIT" ]
sanjaykaswan/Space-shooter
Shooter/Assets/scripts/CollisionWithEnemy.cs
329
C#
// <auto-generated /> namespace ZureRoom.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial class blaa...
26.6
89
0.611529
[ "Unlicense" ]
dakkafex/Bon-tempes
ZureRoom/Migrations/201802021145339_blaasl.Designer.cs
798
C#
using UnityEngine; using System.Collections; public class QuickSwitcher : MonoBehaviour { public bool m_enabled = false; [SerializeField] private float m_minProgressToStartTransition; [SerializeField] private float m_percentageToLockTransition; [SerializeField] private Vector3 m_wipeOutPosition; private Vec...
27.86755
120
0.719819
[ "MIT" ]
ice-blaze/LeapulousReturn
Assets/LeapMotion+OVR/SystemWipe/QuickSwitcher.cs
4,210
C#
using Advanced.Algorithms.DataStructures; using System; using System.Collections.Generic; using System.Linq; namespace Advanced.Algorithms.Sorting { public class TreeSort { public static IEnumerable<T> Sort<T>(IEnumerable<T> enumerable, SortDirection sortDirection = SortDirection.Ascending) ...
29.710526
143
0.607617
[ "MIT" ]
Jmerk523/Advanced-Algorithms
src/Advanced.Algorithms/Sorting/TreeSort.cs
1,131
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ScriptMenu : MonoBehaviour { public void MudarScene(int idScene) { SceneManager.LoadScene(idScene); } }
19.461538
40
0.750988
[ "MIT" ]
SrMeuNome/XPStudentes
Assets/Scripts/ScriptMenu.cs
255
C#
namespace Application.Features.OperationClaims.Dtos; public class CreatedOperationClaimDto { public int Id { get; set; } public string Name { get; set; } }
23.428571
52
0.737805
[ "MIT" ]
ahmet-cetinkaya/rentacar-project-backend-dotnet
src/rentACar/Application/Features/OperationClaims/Dtos/CreatedOperationClaimDto.cs
164
C#
// Copyright (C) 2012 Xamarin, Inc. All rights reserved. using System; using System.Linq; using System.IO; using System.Reflection; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Xamarin.Android.Build.Utilities; namespace Xamarin.Android.Tasks { public class JarToXml : ToolTask { [Requir...
36.758974
312
0.702846
[ "BSD-3-Clause" ]
LvxlongSir/xamarin-android
src/Xamarin.Android.Build.Tasks/Tasks/JarToXml.cs
7,170
C#
using System; using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Engines; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; using SimpleMapper.Benchmark.Models; namespace SimpleMapper.Benchmark { [SimpleJob(RuntimeMoniker.CoreRt31)] public cla...
26.363636
101
0.550345
[ "MIT" ]
mbrewerton/SimpleMapper
SimpleMapper.Benchmark/Program.cs
1,452
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 * ...
38.246377
116
0.642668
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/As/V20180419/Models/DescribeLaunchConfigurationsRequest.cs
3,051
C#
using System.Threading.Tasks; namespace SheepIt.Api.Infrastructure.Handlers { public interface IHandler<in TRequest, TResponse> { Task<TResponse> Handle(TRequest request); } public interface IHandler<in TRequest> { Task Handle(TRequest request); } public class Nothing ...
19.043478
61
0.614155
[ "MIT" ]
sheepit/sheepit
source/SheepIt.Api/Infrastructure/Handlers/IHandler.cs
438
C#
namespace Sitecore.FakeDb.Data.Engines.DataCommands.Prototypes { using System; using Sitecore.Collections; using Sitecore.Data; public class GetChildrenCommandPrototype : Sitecore.Data.Engines.DataCommands.GetChildrenCommand { private readonly DataEngineCommand innerCommand; public GetChildrenComman...
26.884615
98
0.756795
[ "MIT" ]
mikeedwards83/Sitecore.FakeDb
src/Sitecore.FakeDb/Data/Engines/DataCommands/Prototypes/GetChildrenCommandPrototype.cs
699
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
24.853659
76
0.71737
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Jdfusion/Apis/DeleteVserverGroupResult.cs
1,051
C#
using System; using System.Collections.Generic; using MilitiaDataParsing; using System.Reflection; namespace Example { class Program { static void Main(string[] args) { ParserHandler parser = new ParserHandler(ParserOnOutput); Organization org = new Organization("Parsi...
34.953216
281
0.518655
[ "MIT" ]
01c/MilitiaDataParsing
Example/Program.cs
5,979
C#
/** * Copyright 2016 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
31.456897
165
0.675253
[ "Apache-2.0" ]
ThinhPhan/rainbow-octopus
RainbowOctopus/Assets/RainbowOctopus/Scripts/OctopusController.cs
3,649
C#
using NAudio.Wave; using System; namespace synthesizer { public class DelaySampleProvider : ISampleProvider { private readonly ISampleProvider _source; private float _delayPosition = 0.0f; private float _delayLength; private float _delay; private float _resamplePosition...
30.883598
121
0.453315
[ "MIT" ]
essenbee/synthesizer
src/synthesizer/DelaySampleProvider.cs
5,839
C#
//----------------------------------------------------------------------- // <copyright file="SimpleJson.cs" company="The Outercurve Foundation"> // Copyright (c) 2011, The Outercurve Foundation. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the Li...
40.947048
621
0.540381
[ "MIT" ]
andrevctr12/Mimic-macOS
conduit.macOS/Util/SimpleJson.cs
87,381
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.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Dynamic.Utils; using System.Reflection; namespace System.Linq.Expressi...
53.327273
295
0.645301
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/MemberMemberBinding.cs
8,799
C#
namespace Acklann.Plaid.Transactions { /// <summary> /// Represents a request for plaid's '/transactions/refresh' endpoint. /// </summary> /// <remarks>/transactions/refresh is an optional endpoint for users of the Transactions product. It initiates an on-demand extraction to fetch the newest transactions for an It...
78.416667
666
0.800213
[ "MIT" ]
Ackara/Plaid.NET
src/Plaid/Transactions/RefreshTransactionRequest.cs
941
C#
using System; using System.Linq; using System.IO; using System.IO.Compression; using System.Threading; namespace MysticMind.PostgresEmbed { using System.Collections.Generic; internal class PgExtension { private const string PSQL_EXE = "psql.exe"; private string _pgVersion; priva...
29.391566
134
0.521008
[ "MIT" ]
colinbreame/mysticmind-postgresembed
src/MysticMind.PostgresEmbed/PgExtension.cs
4,881
C#
using System; namespace BinaryMultiplicator { public class MultiplicationMethod2xII : MultiplicationMethodII { private MultiplicationMethod2xII() : base(2) {} public static MultiplicationMethod2xII Singleton { get; } = new MultiplicationMethod2xII(); } }
28.4
99
0.728873
[ "MIT" ]
Misha135n2/BinaryMultiplicator
BinaryMultiplicator/MultiplicationMethod2xII.cs
286
C#
namespace MetroService.SaasService.Application.Contracts { public static class SaasServiceRemoteServiceConsts { public const string RemoteServiceName = "SaasService"; } }
27.285714
62
0.753927
[ "MIT" ]
MetroOffice/MetroOffice.SaasService
src/MetroService.SaasService.Application.Contracts/SaasServiceRemoteServiceConsts.cs
193
C#