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 (c) 2015 SharpYaml - Alexandre Mutel // // 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 rights // to use, copy, modify, ...
48.212121
96
0.684475
[ "MIT" ]
Aminator/xenko
sources/core/Xenko.Core.Yaml/ILookAheadBuffer.cs
3,182
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110 { using Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.PowerShell; /// <summary>VMware Cbt specific policy details.</summary> [System.ComponentModel.TypeConverter(typeof(VmwareCbtPolicyDetailsTypeConverter))] public parti...
77.854015
423
0.721076
[ "MIT" ]
Click4PV/azure-powershell
src/Migrate/generated/api/Models/Api20180110/VmwareCbtPolicyDetails.PowerShell.cs
10,530
C#
/**************************************************************************** *项目名称:SAEA.WebSocket.Core *CLR 版本:4.0.30319.42000 *机器名称:WENLI-PC *命名空间:SAEA.WebSocket.Core *类 名 称:WSServerImpl *版 本 号:V1.0.0.0 *创建人: yswenli *电子邮箱:wenguoli_520@qq.com *创建时间:2019/6/13 15:37:28 *描述: *===========================================...
28.12766
87
0.461044
[ "Apache-2.0" ]
cty901/SAEA
Src/SAEA.WebSocket/Core/WSServerImpl.cs
5,450
C#
using System; namespace Task_3 { class Program { static void Main() { Console.WriteLine("Введите размерность словаря:"); int n = Convert.ToInt32(Console.ReadLine()); //Запись значения полученного от пользователя конвертированного в Int var dictionary = new ...
30.058824
130
0.565558
[ "MIT" ]
6e3veR6k/codewars-csharp
resources/csharp-essential-materials/HomeWork Answers/Lesson 10/Task 3/Program.cs
1,266
C#
using UnityEngine; public class Radar : SceneObject { public Unit Unit { get; set; } [SerializeField] private int maximumDistance; private bool searching = true; public bool Searching { get { return this.searching; } set { if (value && !this.GetComponent<Collider2D>()...
27.328767
83
0.566917
[ "MIT" ]
kyuuzou/warcraft
Assets/Root/Scripts/Units/Radar.cs
1,995
C#
using FluentValidation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ordering.Application.Features.Orders.Commands.CheckoutOrder { public class CheckoutOrderCommandValidator:AbstractValidator<CheckoutOrderCommand> { publi...
34.214286
95
0.655532
[ "MIT" ]
Ghost17954/MicroserviceNet5
src/Services/Ordering/Ordering.Application/Features/Orders/Commands/CheckoutOrder/CheckoutOrderCommandValidator.cs
960
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // using UnityEngine; using System; namespace HoloToolkit.Unity.Buttons { /// <summary> /// Anim controller button offers as simple way to link button stat...
31.580247
108
0.497263
[ "MIT" ]
mtaulty/FutureDecoded2017
Session2_Developing/OrigamiAnimalsDemo/Assets/HoloToolkit/UX/Scripts/Buttons/CompoundButtonAnim.cs
2,558
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
38.075
128
0.574524
[ "MIT" ]
KaloyanchoSt/Telerik-Academy-HW
2. Web Design and UI technologies/7. Databases/11. Entity-Framework/Northwind.Data/Supplier.cs
1,523
C#
using MyNUnitLib; using NUnit.Framework; using System.Collections.Generic; using System.Linq; using TestAttribute = NUnit.Framework.TestAttribute; namespace Tests { [TestFixture] public class MyNUnitTests { private List<TestInfo> TestsResults; private List<string> expectedResultsMethods; ...
31.055901
110
0.5668
[ "MIT" ]
Inzilbeth/SPbU3
Homework5/Task1/Task1Tests/MyNUnitTests.cs
5,000
C#
using CourseLibrary.API.Services; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Dynamic.Core; using System.Threading.Tasks; namespace CourseLibrary.API.Helpers { public static class IQueryableExtensions { public static IQueryable<T> ApplySort<T>(this IQueryable<T...
37.494382
96
0.542104
[ "MIT" ]
Battler45/ImplementingAdvancedRESTfulConcernsAspNetCore3
Finished sample/CourseLibrary/CourseLibrary.API/Helpers/IQueryableExtensions.cs
3,339
C#
/* * Copyright(c) 2021 Samsung Electronics Co., 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/licenses/LICENSE-2.0 * * Unless required by applicable ...
36.709812
316
0.546193
[ "Apache-2.0", "MIT" ]
again4you/TizenFX
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
70,336
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; using System.Windows.Media; namespace Paint_ { public class TransparentToBool : IValueConverter { public object Convert(object value, System.Type targetType, ...
28.297297
95
0.559694
[ "Apache-2.0" ]
tqbdev/paint-nmcnpm
Paint+/Converters/TransparentToBool.cs
1,049
C#
// 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 regenerated. namespace Mi...
63.229167
493
0.695442
[ "MIT" ]
yifanz0/azure-powershell
src/HealthcareApis/generated/api/Models/Api20211101/IotDestinationProperties.PowerShell.cs
8,962
C#
using System; using UnityEngine; namespace Player { public class CameraController : MonoBehaviour { [SerializeField] private Camera viewCamera; [SerializeField] private float sensitivityX = 1f; [SerializeField] private float sensitivityY = 1f; [SerializeField] private bool clampRotation = true; [Serializ...
26.261905
223
0.713811
[ "MIT" ]
deeming-games/unity-fps-asset
Assets/Scripts/Player/CameraController.cs
3,309
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UniRx; using Zenject; namespace PianoToRhythmGame.Input { public class MidiInputProviderDebugger : MonoBehaviour { [Inject] IMidiInputProvider _inputProvider; // Start is called before the first frame...
26.138889
93
0.498406
[ "MIT" ]
torano111/PianoToRhythmGame
Assets/PianoToRhythmGame/Scripts/Input/MidiInputProviderDebugger.cs
943
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System; using Bakery.Models; namespace Bakery.Tests { [TestClass] public class OrderTests : IDisposable { public void Dispose() { Order.ClearAll(); } [TestMethod] public void Ord...
28.215686
81
0.622655
[ "MIT" ]
DanielAdeyemi/Epicodus_Project8
Bakery.Tests/ModelTests/OrderTests.cs
1,439
C#
using System.Threading.Tasks; using Google.Apis.Sheets.v4; using Google.Apis.Sheets.v4.Data; namespace SheetToObjects.Adapters.ProtectedGoogleSheets { public class SheetsServiceWrapper : ISheetsServiceWrapper { private readonly SheetsService _sheetsService; public SheetsServiceWrapper(SheetsS...
28.666667
95
0.700997
[ "MIT" ]
josdeweger/SheetToObjects
src/SheetToObjects.Adapters.ProtectedGoogleSheets/SheetsServiceWrapper.cs
604
C#
namespace PlutoNetCoreTemplate.Infrastructure.EntityFrameworkCore { using Domain.SeedWork; using global::EntityFrameworkCore.Extension.UnitOfWork; /// <summary> /// 系统基础仓储 /// </summary> /// <typeparam name="TEntity"></typeparam> public class SystemBaseRepository<TEntity> : Repository<Sys...
30.470588
146
0.694981
[ "MIT" ]
pluto-arch/dotnet-project-template
template/content/src/PlutoNetCoreTemplate.Infrastructure/EntityFrameworkCore/System/SystemBaseRepository.cs
532
C#
namespace Oppgave1d { internal class Program { public static void Main(string[] args) { double value = 0, converted = 0; System.String tokens; System.Console.Write("Enter command: "); tokens = System.Console.ReadLine(); System.String[]...
36.25
107
0.472031
[ "MIT" ]
Unicron2k/dte_bsc
DTE2802/module1/Oppgave1d/Program.cs
1,307
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...
38.811321
174
0.688381
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.RDS/Model/InvalidOptionGroupStateException.cs
2,057
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version: 15.0.0.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // -----...
34.21883
132
0.665601
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
generator/ServiceClientGeneratorLib/Generators/Marshallers/EndpointDiscoveryMarshaller.cs
13,448
C#
namespace BlockchainWallet.Utils.Globals { public class TempDataKeys { public const string BalanceDto = "tdk-balance-dto"; public const string TransactionDto = "tdk-transaction-dto"; public const string ResultDto = "tdk-result"; public const string FaucetDto = "tdk-faucet"; ...
29.454545
67
0.67284
[ "MIT" ]
blockchain-dev-camp/blockchain-wallet
BlockchainWallet/BlockchainWallet.Utils/Globals/TempDataKeys.cs
326
C#
namespace PixelNLayers.Wpf.Shared.Interfaces; internal interface IPagination { }
16.4
46
0.829268
[ "MIT" ]
PerfectlyFineCode/PixelNLayers
src/PixelNLayers.Wpf.Shared/Interfaces/IPagination.cs
84
C#
// Sirawat Pitaksarit / 5argon - Exceed7 Experiments using UnityEngine; using System.Collections; using UnityEngine.UI; [ExecuteInEditMode] [RequireComponent(typeof(GridLayoutGroup))] /// <summary> /// Instead of constraining only row or column, constrain both and let the cell size fill the parent. /// </summary> pub...
22.3125
167
0.659384
[ "MIT" ]
5argon/E7Unity
DynamicGridLayoutGroup/DynamicGridLayoutGroup.cs
1,787
C#
using ProjetoModeloDDD.Domain.Entities; using ProjetoModeloDDD.Domain.Interfaces.Repositories; namespace ProjetoModeloDDD.Infra.Data.Repositories { public class EstadoRepository : RepositoryBase<Estado>, IEstadoRepository { } }
20.25
77
0.798354
[ "MIT" ]
LeonardoVanelli/Gest-oSpaca
PrismaWEB.Infra.Data/Repositories/EstadoRepository.cs
243
C#
namespace Octokit.GraphQL.Model { using System; using System.Collections.Generic; using System.Linq.Expressions; using Octokit.GraphQL.Core; using Octokit.GraphQL.Core.Builders; /// <summary> /// The connection type for CWE. /// </summary> public class CWEConnection : QueryableValue...
29.622222
112
0.604651
[ "MIT" ]
grokys/Octokit.GraphQL
Octokit.GraphQL/Model/CWEConnection.cs
1,333
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.425926
153
0.627395
[ "MIT" ]
larslynch/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ITeamworkTagRequest.cs
4,906
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...
31.565789
109
0.626094
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/GetOriginRequestPolicyConfigResponse.cs
2,399
C#
using Unity.Collections; using Unity.Mathematics; using UnityEngine; namespace henningboat.CubeMarching.Runtime.BinaryAssets { public struct SDF2DHeader : IBinaryAssetHeader { public int DataIndex { get; set; } public int DataLength { get; set; } public int AssetInstanceID { get; set; ...
34.267857
107
0.600313
[ "MIT" ]
henningboat/MarchingCubesPackages
Runtime/BinaryAssets/SDF2DHeader.cs
1,921
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AnZwDev.ALTools.ALSymbols; namespace AnZwDev.ALTools.ALSymbolReferences { public class ALAppQuery : ALAppObject { public ALAppElementsCollection<ALAppQueryDataItem> Elements { get...
30.145455
127
0.606755
[ "MIT" ]
anzwdev/az-al-dev-tools-server
AZALDevToolsServer/Shared.AnZwDev.ALTools/ALSymbolReferences/ALAppQuery.cs
1,660
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AttackBoxTargetHit : MonoBehaviour { public Knife knife; void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.tag == "Target") { knife.Stop(); knife.transform.parent = collision.transform; G...
23.5
61
0.76383
[ "MIT" ]
Team-on/Knife-hit
KnifeHit/Assets/Scripts/Knife/AttackBoxTargetHit.cs
472
C#
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com) using System; using System.Linq; using System.Threading.Tasks; using System.Transactions; using NUnit.Framework; using Shaolinq.Persistence; using Shaolinq.Tests.TestModel; namespace Shaolinq.Tests { [TestFixture("MySql")] [TestFixture("Pos...
22.526144
135
0.624547
[ "MIT" ]
asizikov/Shaolinq
tests/Shaolinq.Tests/DeleteTests.cs
6,895
C#
using AspAutoSelfUpdater.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace AspAutoSelfUpdater.Services { class SettingService { public Setting _Setting { get; set; } private static SettingService settingService=null; ...
26.730769
90
0.502878
[ "MIT" ]
ahmed-eg/asp_auto_self_updater
Services/SettingService.cs
1,392
C#
using System; using Board.Domain.AggregatesModel.BoardAggregate; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Board.Infrastructure.EntityConfigurations { public class MemberEntityTypeConfiguration : IEntityTypeConfiguration<Member> { public void ...
35.176471
112
0.560201
[ "MIT" ]
iagapie/cards-system
src/services/board/src/Board.Infrastructure/EntityConfigurations/MemberEntityTypeConfiguration.cs
1,794
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...
36.385321
263
0.614473
[ "MIT" ]
216Giorgiy/azure-sdk-for-net
src/SDKs/Network/Management.Network/Generated/Models/FlowLogInformation.cs
3,966
C#
using Microsoft.ML.Data; using Microsoft.ML.Transforms.Image; using System.Drawing; namespace YOLOV3MLNetSO.DataStructures { public class YoloV3BitmapData { [ColumnName("bitmap")] [ImageType(416, 416)] public Bitmap Image { get; set; } [ColumnName("width")] public floa...
21.95
49
0.640091
[ "MIT" ]
BobLd/YOLOv3MLNet
YOLOV3MLNetSO/DataStructures/YoloV3BitmapData.cs
441
C#
using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; using NetOffice.OutlookApi; namespace NetOffice.OutlookApi.Behind { /// <summary> /// DispatchInterface Pages /// ...
29.543726
129
0.644402
[ "MIT" ]
igoreksiz/NetOffice
Source/Outlook/Behind/DispatchInterfaces/Pages.cs
7,772
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dice.DAL.Interfaces { public interface IUnitOfWork : IDisposable { IPlayerRepository PlayerRepo { get; } IGameRepository GameRepo { get; } IDiceRepo...
26.35
60
0.656546
[ "MIT" ]
P-Hayk/Dice
Dice/Dice/Dice.DAL/Interfaces/IUnitOfWork.cs
529
C#
using RestSharp; using System; using System.Collections.Generic; using System.Net; using Syncfusion.Dashboard.Server.Api.Helper.Utilities; using Syncfusion.Dashboard.Server.Api.Helper.Authentication; namespace Syncfusion.Dashboard.Server.API.Helper { public class ServerApiHelper { private Authenticate...
36.042857
142
0.623464
[ "MIT" ]
mohamedaslamm/enterpriseserver-dashboardapiclient
Src/API.Helper/ServerApiHelper.cs
2,525
C#
using UnityEngine; namespace Avoidance { /// <summary> /// Responsible for playing background audio music for main menu, game scene, and game over scene. /// </summary> public class BGMManager : MonoBehaviour { /// <summary> /// Clip to play during game scene. /// </summary> pu...
24.174603
102
0.523966
[ "MIT" ]
canerozdemirr/Avoid-Remake
Assets/Avoid/Scripts/Audio/BGMManager.cs
1,525
C#
using System.Collections.Generic; using System.Linq; using System.Net; namespace LubyTasks.Domain.Utils { public class OperationResult<T> { public T[] Data { get; set; } public HttpStatusCode? StatusCode { get; set; } public string ErrorMessage { get; set; } public int? TotalRo...
25.804348
78
0.543387
[ "Apache-2.0" ]
vanderley1998/luby_tasks
LubyTasks.Domain/Utils/OperationResult.cs
1,189
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...
59.503534
200
0.670162
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/ECS/Generated/_bcl35/AmazonECSClient.cs
252,533
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HealthCollectable : MonoBehaviour { [SerializeField] int healthToReturn = 10; [SerializeField] AudioClip soundToPlay; PlayerHealthManager playerHealthManager; CharacterSelector characterSelector; AudioMana...
33.22449
178
0.65602
[ "MIT" ]
HaloSeventy7/CI-Project-GitHub
Project Dungeon/Assets/Scripts/Managers/Health/HealthCollectable.cs
1,630
C#
/* ==================================================================== */ // 20022008 AJM GJL - Added Second Y axis support using System; using System.Xml; namespace Oranikle.Report.Engine { ///<summary> /// Chart series definition and processing. ...
24.941176
103
0.521226
[ "Apache-2.0" ]
hnjm/rdlc.report.engine
Oranikle.Report.Engine/Definition/ChartSeries.cs
3,392
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
40.25
92
0.632411
[ "MIT" ]
AzureDataBox/azure-powershell
src/ResourceManager/EventHub/Commands.EventHub.Test/ScenarioTests/DRConfigurations.cs
1,730
C#
using MovieManager.Core.Contracts; using MovieManager.Core.Entities; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; namespace MovieManager.Persistence { internal class CategoryRepository : ICategoryRepository { private readonly ApplicationDbContext _dbConte...
24.166667
74
0.674483
[ "MIT" ]
racs0/csharp_samples_ef_uow_moviemanager-template
source/MovieManager.Persistence/CategoryRepository.cs
727
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.69697
153
0.635115
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IApplicationExtensionPropertiesCollectionPage.cs
1,310
C#
using GodelTech.StoryLine.Contracts; namespace GodelTech.StoryLine.Rest.Actions { public interface IHttpRequest : IActionBuilder { IHttpRequest Service(string value); IHttpRequest Method(string value); IHttpRequest Url(string value); IHttpRequest QueryParam(string parameter, str...
31.285714
64
0.707763
[ "BSD-3-Clause" ]
GodelTech/GodelTech.StoryLine.Rest
src/GodelTech.StoryLine.Rest/Actions/IHttpRequest.cs
438
C#
namespace PressCenters.Services.Sources.MainNews { public class ReutersMainNewsProvider : BaseMainNewsProvider { public override string BaseUrl { get; } = "https://www.reuters.com"; public override RemoteMainNews GetMainNews() { var document = this.GetDocument(this.BaseUrl)...
34.444444
84
0.604301
[ "MIT" ]
IliyanAng/PressCenters.com
src/Services/PressCenters.Services.Sources/MainNews/ReutersMainNewsProvider.cs
932
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...
29.507463
110
0.58523
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoTAnalytics/Generated/Model/DatasetContentSummary.cs
3,954
C#
using FluentValidation; using FluentValidation.Results; using NLog; using RLabs.Cielo.SDK.Model.Request; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RLabs.Cielo.SDK.Util; namespace RLabs.Cielo.SDK.Model.Validators { internal sealed cla...
29.65625
148
0.687039
[ "MIT" ]
danruziska/Cielo-eCommerce-SDK
RLabs.Cielo.SDK/Model/Validators/AuthorizationRequestValidator.cs
958
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Response to UserOutgoingCallingPlanCallMeNowGetRequest. /// <see cref="UserOu...
32.785714
130
0.659041
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/UserOutgoingCallingPlanCallMeNowGetResponse.cs
1,836
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...
33.67
107
0.566528
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/SipRule.cs
6,734
C#
using UnityEngine; using UnityEngine.SceneManagement; public class SceneLoadManager : MonoBehaviour { public void LoadScene(string sceneToLoad) { SceneManager.LoadScene(sceneToLoad); } public void Change(int i) { PrevCurrScene.prev = PrevCurrScene.curr; PrevCurrScene.curr ...
21.935484
90
0.661765
[ "MIT" ]
Gamedev-Society-IIT-Jodhpur/InteractiveCircuitGame
Assets/Scripts/Managers/SceneLoadManager.cs
680
C#
#region License // Released under Apache 2.0 License // License: https://opensource.org/licenses/Apache2.0 // Home page: https://github.com/ffhighwind/Path-of-Exile-Utilities // Copyright(c) 2021 Wesley Hamilton // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and ...
39.25
81
0.763057
[ "Apache-2.0" ]
ffhighwind/Path-of-Exile-Filter-Parser
PoE Filter Parser/Filter/Criteria/GemLevel.cs
1,572
C#
namespace ClassLib033 { public class Class092 { public static string Property => "ClassLib033"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib033/Class092.cs
120
C#
// // Copyright 2015 Blu Age Corporation - Plano, Texas // // 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 // // Un...
33.446009
106
0.512072
[ "Apache-2.0" ]
SummerBatch/SummerBatch
Summer.Batch.Infrastructure/Support/Transaction/TransactionAwareFileStream.cs
7,126
C#
using System; /// <summary> /// GetHashCode /// </summary> public class GuidGetHashCode { #region Private Fields private const int c_SIZE_OF_ARRAY = 16; #endregion #region Public Methods public bool RunTests() { bool retVal = true; TestLibrary.TestFramework.LogInformation("[Po...
28.912281
142
0.580097
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/CoreMangLib/cti/system/guid/guidgethashcode.cs
3,296
C#
#region Copyright // // DotNetNuke® - http://www.dnnsoftware.com // Copyright (c) 2002-2017 // by DotNetNuke Corporation // // 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 restrictio...
46.329545
115
0.668629
[ "MIT" ]
adambartholomew/Dnn.Platform
DNN Platform/Modules/DnnExportImport/Components/Entities/ExportImportJob.cs
4,080
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace dexih.transforms.Poco { public interface IPocoEnumerator<out T>: IEnumerator<T> { Task<bool> MoveNextAsync(CancellationToken cancellationToken = default); T this[int index] { get; } int Co...
29.928571
80
0.704057
[ "Apache-2.0" ]
DataExperts/dexih.transforms
src/dexih.transforms/Poco/IPocoEnumerator.cs
421
C#
// // Copyright (c) Microsoft. 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 applicable l...
32.344828
75
0.719616
[ "Apache-2.0" ]
markcowl/azure-sdk-for-net
libraries/src/Common.NetFramework/Platform/CryptographyProvider.cs
940
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Envenom.cs" company="Adamand MUD"> // Copyright (c) Adamant MUD // </copyright> // <summary> // "Envenom" skill enhancement. // </summary> // --------------------------...
30.183673
136
0.46856
[ "MIT" ]
TagsRocks/mudclient
Adan.Client.Plugins.StuffDatabase/Envenom.cs
1,481
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Football.Field { /// <summary> /// Интерфейс расположения ячейки на поле /// </summary> public interface ILocCellToField { /// <summary> /// Ряд /// </summary> byte Row { get; } ...
15.8
42
0.64557
[ "MIT" ]
xEGOISTx/StatisticsProject
Football/IFootball/Field/ILocCellToField.cs
440
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace parcial1 { class alquiler { int carnet_del_Alumno; int codigo_Libro; DateTime fecha_Prestamo; DateTime fecha_Devolucion; public ...
32.090909
103
0.669972
[ "MIT" ]
Aniux2807/examen
alquiler.cs
708
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq.Expressions; using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet....
41.760784
119
0.612358
[ "Apache-2.0" ]
Shazwazza/Mvc
src/Microsoft.AspNet.Mvc.Core/Rendering/Html/HtmlHelperOfT.cs
10,649
C#
// ----------------------------------------------------------------------------- // 让 .NET 开发更简单,更通用,更流行。 // Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd. // // 框架名称:Furion // 框架作者:百小僧 // 框架版本:2.14.1 // 源码地址:Gitee: https://gitee.com/dotnetchina/Furion // Github:https://github.com/monksoul/Furion // 开源协议...
24.020833
81
0.468343
[ "Apache-2.0" ]
Cuixq123/Furion
framework/Furion.Pure/TaskScheduler/Enums/SpareTimeStatus.cs
1,374
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using Semmle.Util; using System.Linq; using Microsoft.CodeAnalysis.CSharp; using Semmle.Extraction.Entities; using System.IO; namespace Semmle.Extraction.CSharp.Entities { public class Constructor : Method { private Constructor(C...
33.532051
131
0.565093
[ "MIT" ]
CaptainFreak/codeql
csharp/extractor/Semmle.Extraction.CSharp/Entities/Constructor.cs
5,231
C#
using System; using MilpManager.Abstraction; namespace LpSolveMilpManager.Implementation { [Serializable] public class LpSolveVariable : IVariable { [NonSerialized] private IMilpManager _milpManager; public IMilpManager MilpManager { get { return _milpManager; ...
28.214286
127
0.589873
[ "MIT" ]
afish/LpSolveMilpSolver
Implementation/LpSolveVariable.cs
792
C#
using System.Windows.Controls; namespace iPhone.Applications.Phone.Views { public partial class GroupsView : Page { public GroupsView() { InitializeComponent(); } } }
17.615385
43
0.567686
[ "MIT" ]
CADbloke/magellan-framework
src/Samples/iPhone/Applications/Phone/Views/GroupsView.xaml.cs
231
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// InsLiability Data Structure. /// </summary> [Serializable] public class InsLiability : AopObject { /// <summary> /// 保额 /// </summary> ...
24.183908
53
0.494297
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/InsLiability.cs
2,230
C#
// <auto-generated /> namespace SMOSEC.Infrastructure.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 parti...
27.733333
96
0.626202
[ "MIT" ]
SuperOldDriver/SmoSEC
Source/SMOSEC.Infrastructure/Migrations/201805070241293_AddDepartment.Designer.cs
832
C#
#region License // Copyright (c) 2007 James Newton-King // // 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 rights to use, // copy,...
42.674419
162
0.722616
[ "MIT" ]
leancloud/csharp-sdk
Libs/Newtonsoft.Json.AOT/ConstructorHandling.cs
1,837
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов для изменения сведений, // связанные с этой сборкой. [assembly: AssemblyTitle("EPAM.Task1.2.4.V...
39.594595
93
0.762457
[ "MIT" ]
KlimovKirill/EPAM.XT_NET_WEB
EPAM.Task1/EPAM.Task1.2.4.Validator/Properties/AssemblyInfo.cs
2,049
C#
using BL.Rentas; using System; using System.Windows.Forms; namespace Win.Rentas { public partial class FormLogin : Form { SeguridadBL _seguridad; public FormLogin() { InitializeComponent(); _seguridad = new SeguridadBL(); } private void button...
22.133333
70
0.51506
[ "MIT" ]
edwinmurillo22/Rentas2
Rentas/Win.Rentas/FormLogin.cs
999
C#
namespace Terka.FontBuilder.Compiler { using System; using System.Collections.Generic; using NUnit.Framework; using Terka.FontBuilder.Compiler.Output; using Terka.FontBuilder.Compiler.Testing; using Terka.FontBuilder.Extensions; using Terka.FontBuilder.Parser.Output; using Terka.FontBui...
80.617944
373
0.556588
[ "Apache-2.0" ]
miloush/Terka.TinyFonts
TerkaFont Builder.Tests.Unit/Compiler/TransformationCompilerBaseTests.cs
79,975
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.Runtime.Serialization; namespace Microsoft.CodeAnalysis.Completion.Providers { [DataContract] ...
31.097561
163
0.669804
[ "MIT" ]
BrianFreemanAtlanta/roslyn
src/Features/Core/Portable/Completion/Providers/ImportCompletionProvider/SerializableImportCompletionItem.cs
1,277
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...
37.918919
84
0.741981
[ "MIT" ]
zachdimitrov/Homework
CSharp-Part-1/01.Introduction-to-Programming/10. Format Code/Properties/AssemblyInfo.cs
1,406
C#
using System; using System.Linq; using System.Reactive.Linq; using Foundation; using MvvmCross.Platforms.Ios.Presenters.Attributes; using MvvmCross.Platforms.Ios.Views; using MvvmCross.Plugin.Color.Platforms.Ios; using Toggl.Daneel.Extensions; using Toggl.Daneel.Extensions.Reactive; using Toggl.Foundation; using Toggl...
34.157303
92
0.597259
[ "BSD-3-Clause" ]
undeadinu/mobileapp
Toggl.Daneel/ViewControllers/LoginViewController.cs
9,122
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using System; public class ResetButton : MonoBehaviour { public GameObject bSphere; [SerializeField] private float threshold= 0.1f; [SerializeField] private float deadZone = 0.025f; private bool ...
23.820513
106
0.624327
[ "MIT" ]
Ernesto905/Unity-VR-Bloch-Sphere
Assets/Scripts/ResetButton.cs
1,858
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.Scripts.Utilities { [Serializable] public class Test { private string test; public Test(string test) { this.test = test; } ...
14.772727
34
0.621538
[ "MIT" ]
MindFlare56/Minecrraft2.1
Assets/Scripts/Utilities/Test.cs
327
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore.Tes...
42.927622
426
0.554263
[ "Apache-2.0" ]
ZhuangXiaoMi/EntityFrameworkCore
test/EFCore.Sqlite.FunctionalTests/Query/SimpleQuerySqliteTest.cs
58,126
C#
using System; using System.Reflection; using Newtonsoft.Json; namespace Nest { internal class ReserializeJsonConverter<TReadAs, TInterface> : JsonConverter where TReadAs : class, TInterface where TInterface : class { protected ReadAsTypeJsonConverter<TReadAs> Reader { get; } = new ReadAsTypeJsonConverter<TRead...
35.385714
130
0.758579
[ "Apache-2.0" ]
Tchami/elasticsearch-net
src/Nest/CommonAbstractions/SerializationBehavior/GenericJsonConverters/ReserializeJsonConverter.cs
2,477
C#
namespace CloudYourself.Backend.AppServices.Aws.Aggregates.TennantSettings { /// <summary> /// Contains infos about the necessary AWS IAM account to work with AWS apis. /// </summary> public class IamAccount { /// <summary> /// Gets or sets the access key identifier. /// </s...
26.2
81
0.528244
[ "Apache-2.0" ]
continental/cloud-yourself
Backend/AppServices/Aws/Src/Aggregates/TennantSettings/IamAccount.cs
657
C#
using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace RealEstate.Models { public class Address { [Key] ...
24.857143
54
0.613985
[ "MIT" ]
rzh1999/RealEstateProject
RealEstate/Models/Address.cs
1,046
C#
using System; using System.Collections.Generic; using System.Threading; using Pathfinding.RVO.Sampled; using UnityEngine; namespace Pathfinding.RVO { // Token: 0x0200006D RID: 109 public class Simulator { // Token: 0x060004D0 RID: 1232 RVA: 0x0001ABCC File Offset: 0x00018FCC public Simulator(int workers, bool ...
27.45356
174
0.660333
[ "Unlicense" ]
larryeedwards/openyan
Assembly-CSharp/Pathfinding/RVO/Simulator.cs
17,737
C#
using HPTK.Input; using HPTK.Settings; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace HPTK.Models.Avatar { public class InputModel : HPTKModel { public ProxyHandModel proxyHand; public InputConfiguration configuration; public In...
33.127119
127
0.35495
[ "MIT" ]
cs-util/HPTK
Runtime/Modules/Input/InputModel.cs
7,820
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.607143
98
0.709556
[ "Apache-2.0" ]
NWhite421/CFDG-SurveyTools
CFDG.ACAD.Installer/Properties/AssemblyInfo.cs
2,389
C#
// Copyright (c) 2021 Alachisoft // // 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...
29.191882
105
0.486791
[ "Apache-2.0" ]
Alachisoft/NCache
Src/NCCommon/Stats/HPTime.cs
7,911
C#
using System; using System.Runtime.CompilerServices; namespace Server.Mixin { public static class Kotlinize { /// <summary> /// Calls the specified function <see cref="block">block</see> and returns its result.<br/> /// /// For detailed usage information see the documentation ...
41.326923
166
0.584923
[ "MIT" ]
SudoPack/SudoDrive
Server/Mixin/Kotlinize.cs
2,151
C#
using System; namespace yase_core.Models { public static class ShortUrlModelExtension { public static ShortUrl To(this HashingModel model) { return new ShortUrl { OriginalUrl = model.OriginalUrl.AbsoluteUri, TinyUrl = model.HashedUrl, ...
26.962963
84
0.523352
[ "MIT" ]
FrancoMelandri/yase
src/yase-core/source/Models/Mapping.cs
728
C#
// 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 // regenerated. // // This...
30.888889
156
0.647482
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/src/Generated/OutputFileDestination.cs
2,502
C#
using System; using System.Linq; using System.Linq.Expressions; using System.Reflection; using WebPlatform.Core.Validation; namespace WebPlatform.Core { /// <summary> /// Provides reflection extensions. /// </summary> public static class Reflector { /// <summary> /// Defines a forwardin...
44.130952
187
0.632857
[ "MIT" ]
urahnung/webplatform
src/Core/Core/Reflector.cs
3,709
C#
//----------------------------------------------------------------------- // <copyright file="Windows10Api.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Int...
43.222222
131
0.598237
[ "MIT" ]
Bhaskers-Blu-Org2/ManagedEsent
EsentInterop/Windows10Api.cs
2,725
C#
#nullable disable namespace PasPasPas.Parsing.SyntaxTree.Standard { /// <summary> /// symbol kind /// </summary> public enum AsmPrefixSymbolKind { /// <summary> /// unknown symbol /// </summary> Unknown, /// <summary> /// push...
20.485714
50
0.439331
[ "Apache-2.0" ]
prjm/paspaspas
PasPasPas.Parsing/src/SyntaxTree/Standard/AsmPrefixSymbolKind.cs
719
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...
34.6875
159
0.595796
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/IdentityManagement/Generated/Model/PolicyVersion.cs
4,995
C#
using System; using System.Collections.Generic; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Swisschain.Sdk.Server.Common; using Swisschain.Sdk.Server.Logging; namespace Publisher.Worker { public class Program { private sealed ...
34.607843
142
0.63966
[ "Apache-2.0" ]
SC-Poc/Example.Messaging
PubSub/Publisher/src/Publisher.Worker/Program.cs
1,767
C#
using System; using System.Collections.Generic; using System.Text; namespace LoggingKata { class TacoBell:ITrackable { public TacoBell() { } public string Name { get; set; } public Point Location { get; set; } } }
15.823529
43
0.591078
[ "MIT" ]
Sindukova/Taco-Parser
LoggingKata/TacoBell.cs
271
C#
/* Test.cs Testing class to test every possible function with good and bad data */ using System; using System.Collections.Generic; using System.Text; namespace GameOfLife { class Test { public Test() { TestGrid(); TestCell(); } public void TestGrid() ...
43.480952
139
0.508926
[ "MIT" ]
DamanjitG/Game-Of-Life
Test.cs
9,133
C#
 using Autofac; using Autofac.Integration.Mvc; using Autofac.Integration.WebApi; using Microsoft.Owin; using Owin; using System; using System.IO; using System.Reflection; using System.Web.Http; using System.Web.Http.Cors; using AirPortWebApi.BusinessLogic.Services; using AirPortWebApi.Infrastructure.Service; using Air...
26.224138
87
0.626561
[ "MIT" ]
AlexOAnder/AirportProject
AirPortWebApi/Startup.cs
1,523
C#
using System; using System.ComponentModel; using System.Windows.Forms; namespace SASave { [DefaultEvent("CheckedChanged")] public partial class EmblemControl : UserControl { public EmblemControl() { InitializeComponent(); } public event EventHandler CheckedChanged = delegate { }; private void pictur...
18.861111
92
0.702504
[ "MIT", "BSD-3-Clause" ]
X-Hax/sa_tools
SA1Tools/SASave/EmblemControl.cs
681
C#