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.Collections.Generic; using UnityEngine; using UnityEngine.AI; using UnityEngine.Events; [RequireComponent(typeof(Health), typeof(Actor), typeof(NavMeshAgent))] public class EnemyController : MonoBehaviour { [System.Serializable] public struct RendererIndexData { public Renderer render...
34.748954
130
0.654485
[ "MIT" ]
AkshaySharmaDEV/Gone-Alone
Assets/GameMain/Mobile FPS/Assets/FPS/Scripts/EnemyController.cs
16,612
C#
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic Corporation. 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 i...
42.108696
145
0.613836
[ "Apache-2.0" ]
RachelTucker/ds3_net_sdk
Ds3/ResponseParsers/GetDegradedBlobsSpectraS3ResponseParser.cs
1,937
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...
31.766667
83
0.604407
[ "Apache-2.0" ]
achal3754/azure-sdk-for-net
tools/Microsoft.WindowsAzure.Build.Tasks/GetBuildVersionTask.cs
1,908
C#
using System; using System.Collections.Generic; namespace Sexy.TodLib { internal class ReanimationHolder { public void InitializeHolder() { } public void DisposeHolder() { } public Reanimation AllocReanimation(float theX, float theY, int theRenderOrder, ReanimationType theReanimationType)...
21.285714
117
0.757047
[ "MIT" ]
OptiJuegos/Plants-VS-Zombies-NET
DotNETPvZ_Shared/Sexy.TodLib/ReanimationHolder.cs
747
C#
using System; using System.Collections.Generic; using System.Text; using Xunit; using RepeatedWord; namespace CodeChallengeTests { public class RepeatedWordTests { [Fact] public void Test_That_Repeated_Word_Returns_First_Repeated_Word() { string result = Program.FirstRepeatedWord("Once upon a ti...
19.902439
113
0.70098
[ "MIT" ]
AGValdes/data-structures-and-algorithms
dotnet/CodeChallenges/CodeChallengeTests/RepeatedWordTests.cs
816
C#
namespace Fancy.Common.Messages { public class Messages { public const string RepositoryInitializingContextError = "An instance of DbContext is required to use this repository."; public const string RequiredInputMessage = "{0} is required!"; public const string ItemCodeRequired = "Item...
51.64
128
0.704105
[ "MIT" ]
Telerik-Fancy/Project
Fancy/Fancy.Common/Messages/Messages.cs
1,293
C#
using System; namespace Stump.DofusProtocol.Enums { [Flags] public enum PartyJoinErrorEnum { PARTY_JOIN_ERROR_UNKNOWN = 0, PARTY_JOIN_ERROR_PLAYER_NOT_FOUND = 1, PARTY_JOIN_ERROR_PARTY_NOT_FOUND = 2, PARTY_JOIN_ERROR_PARTY_FULL = 3, PARTY_JOIN_ERROR_PLAYER_BUSY = 4, ...
35.4
52
0.716102
[ "Apache-2.0" ]
Daymortel/Stump
src/Stump.DofusProtocol/Enums/Export/PartyJoinErrorEnum.cs
708
C#
using Crossroads.Models.Profile; using Crossroads.Web.Infrastructure.Mappings; using System; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; namespace Crossroads.Web.ViewModels.ProfileViewModels.Messages { public class AddMessageViewModel { [Required(ErrorMessage = "Заглавието е за...
33.038462
114
0.675204
[ "MIT" ]
nevena-angelova/Crossroads
Source/Crossroads.Web/ViewModels/ProfileViewModels/Messages/AddMessageViewModel.cs
971
C#
using System; namespace Daridakr.ProgGuru.Users.Skills { public class ProfSkillDto : CommonSkillDto { /* CreatorId, Name */ public Guid GroupId { get; set; } public string GroupCoverImagePath { get; set; } public int BeginningYear { get; set; } public int EndYear { ...
19.5
55
0.607692
[ "Apache-2.0" ]
daridakr/ProgGuru
src/Daridakr.ProgGuru.Application.Contracts/Users/Skills/ProfSkillDto.cs
392
C#
using System; using System.Collections.Generic; using CMS.Base.Web.UI; using CMS.Helpers; using System.Text; using System.Web.UI.WebControls; using CMS.Newsletters; using CMS.UIControls; public partial class CMSModules_Newsletters_Controls_GroupSizeSlider : CMSAdminControl { #region "Private variables" p...
30.145631
140
0.529469
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/Newsletters/Controls/GroupSizeSlider.ascx.cs
9,317
C#
using AutoFixture; using AutoFixture.AutoMoq; using AutoFixture.Xunit2; using System; namespace Ploeh.Samples.BookingApi.UnitTests { public class BookingApiTestConventionsAttribute : AutoDataAttribute { public BookingApiTestConventionsAttribute() : base(() => new Fixture().Customize(new Au...
24.666667
75
0.702703
[ "MIT" ]
benagain/asynchronous-injection
BookingApi.UnitTests/BookingApiTestConventionsAttribute.cs
372
C#
using DGP.Genshin.Models.MiHoYo.Record; using DGP.Genshin.Services; using ModernWpf.Controls; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Windows; namespace DGP.Genshin.Pages { /// <summary> /// RecordPage.xaml 的交互逻辑 /// </summary> public partial class R...
39.025316
161
0.55952
[ "MIT" ]
benx1n/Snap.Genshin
DGP.Genshin/Pages/RecordPage.xaml.cs
3,209
C#
using Aquarius.Weixin.Entity.WeixinMessage; namespace Aquarius.Weixin.Core.Message.Handler { /// <summary> /// 语音消息处理 /// </summary> public interface IVoiceMessageHandler : IMessageHandler<VoiceMessage> { } }
21
73
0.69697
[ "MIT" ]
Weidaicheng/Aquarius.Weixin
src/Aquarius.Weixin/Aquarius.Weixin/Core/Message/Handler/IVoiceMessageHandler.cs
245
C#
namespace BudgetV2.Api.Models { public class RegisterModel { public string Username { get; set; } public string Password { get; set; } public string ConfirmPassword { get; set; } } }
18.5
51
0.608108
[ "MIT" ]
kolev9605/BudgetV2
BudgetV2.Api/Models/RegisterModel.cs
224
C#
using Data; using Microsoft.EntityFrameworkCore; using Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Repositories.GameExtraRepository { public class GameExtraRepository : IGameExtraRepository { private readonly App...
35.833333
127
0.587907
[ "MIT" ]
VladislavAngelski/GameProjectUni2
Repositories/GameExtraRepository/GameExtraRepository.cs
1,077
C#
using System; using System.Linq; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json.Linq; using Vidyano.Service.Repository.DataLayer; namespace Vidyano.Service.EntityFrameworkCore.Dto { public class DefaultRepositoryUserStore : BaseRepositoryUserStore<UserDto, GroupDto> { private read...
33.689655
157
0.56172
[ "MIT" ]
2sky/Vidyano.EntityFrameworkCore
Vidyano.SqlServer/EntityFrameworkCore/Dto/DefaultRepositoryUserStore.cs
4,885
C#
// Copyright 2014 Tokarev Mikhail (also known as Deepscorn) // http://www.apache.org/licenses/LICENSE-2.0 using System.Collections.Generic; using UnityEngine; using Utils.Creation; namespace Assets.Main.Sources.Util { public class PersistentGizmos: InGameSingleton<PersistentGizmos> { private readonly H...
25.364706
72
0.528293
[ "Apache-2.0" ]
Deepscorn/DeepLabs
Core/Utils/PersistentGizmos.cs
2,156
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using AutoFixture.NUnit3; using FluentAssertions; using NHSD.BuyingCatalogue.Ordering.Api.UnitTests.AutoFixture; using NHSD.BuyingCatalogue.Ordering.Domain; using NHSD.BuyingCatalogue.Ordering.Persistence.Data; using ...
38.245902
115
0.671453
[ "MIT" ]
nhs-digital-gp-it-futures/BuyingCatalogueOrdering
tests/NHSD.BuyingCatalogue.Ordering.Services.UnitTests/SectionStatusServiceTests.cs
4,668
C#
using FindoApp.Domain.Model; using FindoApp.Model.interfaces; using FindoApp.Service.Interface; using Prism.Navigation; using Prism.Navigation.TabbedPages; using System; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; namespace FindoApp.ViewModel { public class LoginMailViewModel : ...
31.384615
150
0.632966
[ "MIT" ]
FagnerFun/Findo
FindoApp/FindoApp/FindoApp/ViewModel/LoginMailViewModel.cs
1,634
C#
// <auto-generated> // This file was generated by a tool; you should avoid making direct changes. // Consider using 'partial classes' to extend these types // Input: pose_v.proto // </auto-generated> #region Designer generated code #pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036...
39.142857
130
0.733577
[ "Apache-2.0", "MIT" ]
NamWoo/cloisim
Assets/Scripts/Tools/ProtobufMessages/pose_v.cs
1,096
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 MarginTrading.Backend.Contracts.Workflow.SpecialLiquidation.Commands { /// <summary> /// Quote request for particular instrument and volum...
28.050847
103
0.54864
[ "MIT-0" ]
LykkeBusiness/MT
src/MarginTrading.Backend.Contracts/Workflow/SpecialLiquidation/Commands/GetPriceForSpecialLiquidationCommand.cs
1,655
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace NetPOC.Backend.Domain.Interfaces.IRepositories { public interface ICrudRepository<T> where T : class { /// <summary> /// Serviço de coleta de todos os objetos do tipo indicado /// </summary> /// <returns>...
34.25
79
0.569343
[ "MIT" ]
MrDanCoelho/NetPOC-Backend
NetPOC.Backend.Domain/Interfaces/IRepositories/ICrudRepository.cs
1,524
C#
using System.Collections; using System.Collections.Generic; using Gamekit2D; using UnityEngine; using UnityEngine.Profiling; #if UNITY_EDITOR using UnityEditor; #endif namespace Gamekit2D { [ExecuteInEditMode] [RequireComponent(typeof(MeshRenderer))] [RequireComponent(typeof(MeshFilter))] ...
37.308219
147
0.554189
[ "Apache-2.0" ]
an-garcia/GameKit2D
Assets/2DGamekit/Scripts/Effect/WaterArea.cs
16,343
C#
/* * tweak-api * * Tweak API to integrate with all the Tweak services. You can find out more about Tweak at <a href='https://www.tweak.com'>https://www.tweak.com</a>, #tweak. * * OpenAPI spec version: 1.0.8-beta.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under t...
32.702247
164
0.507129
[ "Apache-2.0" ]
tweak-com-public/tweak-api-client-csharp
src/TweakApi/Model/Axes.cs
5,821
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.Serialization.Json; using System.Text; using NsqSharp.Utils; namespace NsqSharp.Core { // https://github.com/nsqio/go-nsq/blob/master/command....
36.35493
138
0.558113
[ "MIT" ]
Misiu/NsqSharp
NsqSharp/Core/Command.cs
12,908
C#
/* * tilia Phoenix API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 7.0.6 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; using System; using System.Linq; using System.IO; us...
25.588235
104
0.539655
[ "Apache-2.0" ]
matthewkayy/tilia-phoenix-client-csharp
src/TiliaLabs.Phoenix.Test/Model/WfopCostingTests.cs
3,480
C#
using VA = VisioAutomation; using System.Collections.Generic; using System.Linq; using IVisio = Microsoft.Office.Interop.Visio; namespace VisioAutomation.ShapeSheet.Query { public partial class CellQuery { public class SectionQueryInfo { public SectionQuery SectionQuery { get; private ...
28.172414
81
0.591187
[ "MIT" ]
saveenr/VisioAutomation2007
VisioAutomation_2007/VisioAutomation/ShapeSheet/Query/CellQuery_SectionQueryInfo.cs
819
C#
using System.Collections.Generic; using System.Reflection; using System; namespace SemanticComparison.Fluent.Members { internal class MemberEqualityComparer<T> : IMemberComparer { readonly PropertyInfo propertyInfo; readonly IEqualityComparer<T> equality; public MemberEqualityComparer(PropertyInfo propertyInf...
18.711538
89
0.714286
[ "Apache-2.0" ]
lucadecamillis/semantic-comparison-fluent
src/SemanticComparison.Fluent/Members/MemberEqualityComparer.cs
973
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; using System.Threading; using System.ComponentModel.Design; using System.Drawing.Drawing2D; /* Copyright (c) 2008,2009 DI Zimmermann Stephan (stefan.zim...
29.43508
102
0.499536
[ "ECL-2.0", "Apache-2.0" ]
InlineTwin/Repetier-Host
src/RepetierHost/GraphLib/PlotterGraphEx.cs
12,922
C#
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member using System.Threading; using UnityEngine; using Cysharp.Threading.Tasks.Triggers; namespace Cysharp.Threading.Tasks { public static class UniTaskCancellationExtensions { /// <summary>This CancellationToken is c...
31.581395
107
0.651694
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/UniTask/Runtime/Triggers/AsyncTriggerExtensions.cs
2,718
C#
/* Copyright (c) 2011-2012, HL7, Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
44.413043
172
0.646941
[ "BSD-3-Clause" ]
CareEvolution/fhir-net-api
src/Hl7.Fhir.Core/Model/Version-DSTU2/ModelInfo.cs
20,432
C#
namespace Ludiq.PeekCore { public enum MouseButton { Left = 0, Right = 1, Middle = 2 } }
10.777778
24
0.628866
[ "MIT" ]
3-Delta/Unity-UGUI-UI
Assets/3rd/Ludiq/Ludiq.PeekCore/Runtime/Input/MouseButton.cs
97
C#
using System; using System.Drawing; using System.Windows.Forms; using PasswordVault.Services; using PasswordVault.Models; /*================================================================================================= DESCRIPTION *===================================================================================...
48.106383
125
0.420421
[ "Apache-2.0" ]
willem445/PasswordVault
PasswordVault.Desktop.Winforms/Views/EditUserView.cs
15,829
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...
44.020548
187
0.61864
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/Internal/MarshallTransformations/CreateTaskSetResponseUnmarshaller.cs
6,427
C#
using TaleWorlds.CampaignSystem; namespace CommunityPatch.Patches { public interface IPartySpeed { void ModifyFinalSpeed(MobileParty mobileParty, float baseSpeed, ref ExplainedNumber finalSpeed); } }
23.777778
100
0.78972
[ "MIT" ]
JoeFwd/MnB2-Bannerlord-CommunityPatch
src/CommunityPatch/Patches/IPartySpeed.cs
214
C#
using System; using System.Collections.Generic; using System.Linq; using BWMS.WorkshopManagementAPI.Domain.Exceptions; using WorkshopManagementAPI.Domain.Core; namespace BWMS.WorkshopManagementAPI.Domain.ValueObjects { public class Timeslot : ValueObject { public DateTime StartTime { get; private set; ...
29.373134
118
0.59502
[ "Apache-2.0" ]
TropinAlexey/lifecycle
src/WorkshopManagementAPI/Domain/ValueObjects/Timeslot.cs
1,968
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.ReverseProxy.RuntimeModel; using Microsoft.ReverseProxy.Service.SessionAffinity; ...
47.545455
217
0.666667
[ "MIT" ]
MeladKamari/reverse-proxy
src/ReverseProxy/Middleware/AffinitizeRequestMiddleware.cs
4,707
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; using System.Reflection; using System.Diagnostics; using System.Collections.Generic; using System.Reflection.Runtime.TypeInfos; using System.Reflection.Runtime.Paramete...
32.666667
154
0.714286
[ "MIT" ]
LoopedBard3/runtime
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Runtime/MethodInfos/OpenMethodInvoker.cs
1,176
C#
using System; using BinBridge.Ssh.Security.Cryptography; namespace BinBridge.Ssh.Abstractions { internal static class CryptoAbstraction { #if FEATURE_RNG_CREATE || FEATURE_RNG_CSP private static readonly System.Security.Cryptography.RandomNumberGenerator Randomizer = CreateRandomNumberGenerator(); #en...
34.850575
126
0.67865
[ "MIT" ]
mazong1123/binbridge
BinBridge/src/BinBridge.Ssh/Abstractions/CryptoAbstraction.cs
9,098
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Andy.Mes.Application; using Andy.Mes.Entity; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Andy.Mes.Web.Areas.SysMgr.Controllers { [Area("SysMgr")] public class UserController : ...
26.102804
79
0.526674
[ "MIT" ]
YanhuaGuo/Andy.Mes
Andy.Mes.Web/Areas/SysMgr/Controllers/UserController.cs
2,795
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...
27.214286
100
0.691601
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20190501/Outputs/FrontendEndpointUpdateParametersResponseWebApplicationFirewallPolicyLink.cs
762
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.475728
195
0.599321
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20190801/GetRouteFilterRule.cs
3,242
C#
using System; namespace zadatak_1 { class Program { static void Main(string[] args) { Console.WriteLine("Zadatak 1"); // Ispisati svako drugo slovu stringu string a = "Bio sam u zoloskom vrtu"; a = a.Replace(" ", ""); for...
18.32
53
0.436681
[ "MIT" ]
Csharp2020/csharp2020
dvukasovic/Moj projekt/zadatak_1/Program.cs
460
C#
using System; using AsmResolver.PE.DotNet.Metadata.Tables.Rows; namespace AsmResolver.DotNet.Signatures.Types { /// <summary> /// Represents a sentinel type signature to be used in a method signature, indicating the start of any vararg /// argument types. /// </summary> /// <remarks> /// This t...
33.415094
113
0.640316
[ "MIT" ]
ds5678/AsmResolver
src/AsmResolver.DotNet/Signatures/Types/SentinelTypeSignature.cs
1,771
C#
using System; using System.Threading.Tasks; using System.Web.Mvc; using Sp.Agent; using Sp.Samples.Agent.Mvc.Models; using Resource = Sp.Samples.Agent.Mvc.App_LocalResources; namespace Sp.Samples.Agent.Mvc.Controllers { #if MVC4TAP // The following code requires // a) MVC 4 or later // b) C# async keyword support...
34.172185
171
0.725
[ "BSD-3-Clause" ]
SoftwarePotential/samples
Licensing/FullFramework/MVC/Sp.Samples.Agent.Mvc/Controllers/ActivationController.cs
5,164
C#
namespace FrameworkTester.ViewModels.Interfaces { public interface IWinBioEnrollSelectViewModel : IWinBioViewModel { } }
17.75
69
0.725352
[ "MIT" ]
poseidonjm/WinBiometricDotNet
examples/FrameworkTester/ViewModels/Interfaces/IWinBioEnrollSelectViewModel.cs
144
C#
namespace openLSEService { partial class DebugHost { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
49
147
0.632996
[ "MIT" ]
kdjones/openLSE
openLSEService/DebugHost.Designer.cs
5,831
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Cosmos.Data.Statements; using QueryOneType = Cosmos.Dapper.Core.DapperImplementor.QueryOneType; namespace Cosmos.Dapper.Core { public partial class DapperCon...
51.530686
170
0.600112
[ "Apache-2.0" ]
cosmos-loops/cosmos-dapper
src/Cosmos.Dapper/Cosmos/Dapper/Core/DapperConnector.DynamicExpression.cs
28,548
C#
using System; using System.Linq; using System.Numerics; using System.Security.Cryptography; namespace DukptNet { public static class Dukpt { private static readonly BigInteger Reg3Mask = BigInt.FromHex("1FFFFF"); private static readonly BigInteger ShiftRegMask = BigInt.FromHex("100000"); ...
46.394737
141
0.628285
[ "MIT" ]
jm97/Dukpt.NET
Dukpt/Dukpt.cs
5,289
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using LayerDataReaderWriter.V9; using LevelEditor.Extensibility; namespace LevelEditor.BuiltinValidators { [Export(typeof(I...
46.017857
167
0.639891
[ "MIT" ]
bitcraftCoLtd/level-editor
LevelEditor.BuiltinValidators/SpriteHelperTesterValidator.cs
2,579
C#
public class Solution { public int OrangesRotting(int[][] grid) { //BFS with queue approach var neighbours = new []{ new[] {0, 1}, new[] {0, -1}, new[] {1, 0}, new[] {-1, 0}, }; var result = 0; var cur = 0; var ly = grid...
32.860465
95
0.365888
[ "MIT" ]
webigboss/Leetcode
994. Rotting Oranges/994_Original_BFS_Queue.cs
1,413
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: AssemblyTit...
38.648649
85
0.729371
[ "BSD-2-Clause" ]
KaiqiZhang/continuous-integration
TestUtilities/Properties/AssemblyInfo.cs
1,433
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.216216
85
0.727085
[ "MIT" ]
jsdelivrbot/Telerik-Academy-Homeworks
Module 1 - Essentials/01_C# Part 1/03_Operators and Expressions/08_Prime Number Check/Properties/AssemblyInfo.cs
1,454
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
44.585106
183
0.611549
[ "Apache-2.0" ]
ponchofiesta/AlmaAutoSensitize
AlmaAutoSensitize/Properties/Resources.Designer.cs
4,204
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.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Moq; usi...
38.479853
131
0.560305
[ "Apache-2.0" ]
CosminRadu/NuGet.Client
test/NuGet.Core.Tests/NuGet.Protocol.Tests/Plugins/PluginDiscovererTests.cs
10,505
C#
/** * Copyright (c) 2008-2020 Bryan Biedenkapp., All Rights Reserved. * MIT Open Source. Use is subject to license terms. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. */ /* * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
40.794118
208
0.695025
[ "MIT" ]
gatekeep/Trident.RPC
Net/Channel/UnreliableSequencedReceiver.cs
2,776
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.IO; using System.Globalization; using System.Reflection; using System.Collections.Generic; using System...
41.80355
137
0.589259
[ "MIT" ]
85331479/coreclr
src/System.Private.CoreLib/shared/System/Resources/ResourceManager.cs
35,324
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-generated> //--...
39.7
151
0.58136
[ "Unlicense" ]
Malavos/Runner
Runner/Properties/Settings.Designer.cs
1,987
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.Tasks; using System.Windows.Forms; namespace Login_Project { public partial class Form1 : Form { public Form1() { ...
17.354839
61
0.637546
[ "MIT" ]
jeffhawk/Login_Project
Login_Project/Form1.cs
540
C#
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Domain { /// <summary> /// StoreOrderGood Data Structure. /// </summary> public class StoreOrderGood : AlipayObject { /// <summary> /// 商品的ID /// </summary> [JsonPropertyName("item_id")] ...
22.448276
46
0.52381
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Domain/StoreOrderGood.cs
673
C#
namespace SpaBing.Models { public class VideoSearchResult : ISearchResult { public string Name { get; set; } public string Description { get; set; } public string ContentUrl { get; set; } public string ThumbnailUrl { get; set; } } }
25.272727
50
0.618705
[ "MIT" ]
PacktPublishing/Implementing-Azure-Cognitive-Services-for-Search
Section 2/2.5/full-example/SpaBing/Models/VideoSearchResult.cs
280
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...
42.966152
203
0.600725
[ "MIT" ]
Acidburn0zzz/azure-powershell
src/ResourceManager/KeyVault/Commands.KeyVault/Models/KeyVaultDataServiceClient.cs
84,313
C#
using System; using System.Runtime.InteropServices; using System.Threading.Tasks; using AltV.Net.Data; using AltV.Net.Elements.Entities; using AltV.Net.Elements.Args; using AltV.Net.Native; namespace AltV.Net.Async { public static partial class AltAsync { public static Task<bool> IsConnectedAsync(this ...
41.388889
108
0.605966
[ "MIT" ]
C0kkie/coreclr-module
api/AltV.Net.Async/AltAsync.Player.cs
6,705
C#
using System; using System.Collections.Generic; using System.Text; namespace CAMOWA.FBXRuntimeImporter { public class FBXProperty { //I'm going to regret doing this public FBXPropertyType propertyType; //PLS, THIS CAN'T BE THE ONLY WAY WITHOUT REFLECTION public bool boolProper...
45.390625
152
0.594492
[ "MIT" ]
ShoosGun/DIMOWA
CAMOWA/FileImporting/FbxImporter/GenericFBXNodeRead/FBXProperty.cs
5,812
C#
using System.Collections; using System.Threading; using UnityEngine; public class ForceRenderRate : MonoBehaviour { public float Rate = 90.0f; float currentFrameTime; void Start() { QualitySettings.vSyncCount = 0; Application.targetFrameRate = 9999; currentFrameTime = Time.rea...
26.65625
57
0.596717
[ "BSD-3-Clause" ]
maddoxlab/VRSpeechCorpusBooth
VRSpeechCorpusBooth-Unity/Assets/Experiment_Tools/Scripts/ForceRenderRate.cs
855
C#
// <copyright file="AmazonFiles.cs" company="Rambalac"> // Copyright (c) Rambalac. All rights reserved. // </copyright> using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace Azi.Amazon.CloudDrive.Http { /// <summary> /// Information about file to upload /// </summ...
34.95
122
0.604673
[ "MIT" ]
J-kit/AmazonCloudDriveApi
AmazonCloudDriveApi/Http/FileUpload.cs
2,099
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.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace System.N...
40.221854
170
0.551
[ "MIT" ]
ericstj/runtime
src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTests.cs
12,147
C#
#if !NETSTANDARD13 /* * 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 ...
39.969697
154
0.652009
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IdentityManagement/Generated/Model/_bcl45+netstandard/ListRolePoliciesPaginator.cs
3,957
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Abp; using Abp.Extensions; using Abp.Notifications; using Abp.Timing; using AbpAlain.Controllers; namespace AbpAlain.Web.Host.Controllers { public class HomeController : AbpAlainControllerBase { private readonly INotificationPublisher ...
30.846154
112
0.610973
[ "MIT" ]
ZhaoRd/abp-alain
aspnet-core/src/AbpAlain.Web.Host/Controllers/HomeController.cs
1,604
C#
using Newtonsoft.Json.Linq; using ReactNative.UIManager.Events; using System; #if WINDOWS_UWP using Windows.UI.Xaml.Controls; #else using System.Windows.Controls; #endif namespace ReactNative.Views.TextInput { /// <summary> /// Event emitted by <see cref="TextBox"/> native /// view when the control gain...
25.522388
76
0.530994
[ "MIT" ]
bluejeans/react-native-windows
ReactWindows/ReactNative.Shared/Views/TextInput/ReactTextInputBlurEvent.cs
1,712
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace ParkingSlotAPI { public class Program { ...
24.4
76
0.695082
[ "MIT" ]
jlgoh/Parking-Slot-Web-App
backend/ParkingSlotAPI/Program.cs
612
C#
// Copyright 2010 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...
33.346939
117
0.71787
[ "Apache-2.0" ]
Nangal/Stact
src/Stact/Channels/Configuration/Builders/SynchronizedChannelBuilder.cs
1,636
C#
using System; using System.Collections.Generic; using Memorandum.Web.Framework.Utilities; using Newtonsoft.Json; namespace Memorandum.Web.Middleware { /// <summary> /// SessionContext object, identifies source of incoming request. Used as datacontainer for attaching any data to /// current session...
32.357143
121
0.637233
[ "MIT" ]
bshishov/Memorandum.Net
Memorandum.Web/Middleware/SessionContext.cs
1,361
C#
using TopupPortal.Application.Common.Models; using Microsoft.AspNetCore.Identity; using System.Linq; namespace TopupPortal.Infrastructure.Identity { public static class IdentityResultExtensions { public static Result ToApplicationResult(this IdentityResult result) { return result.S...
28.5625
76
0.673961
[ "MIT" ]
gagan2015/cleanarchitectureproto
src/Infrastructure/Identity/IdentityResultExtensions.cs
459
C#
using System; using UnityEngine; using VoxelEngine.Chunks.LightMapping; namespace VoxelEngine.Chunks.MeshGeneration { public readonly struct ChunkUpdateJob { public readonly int Id; public readonly VoxelWorld World; public readonly Chunk Chunk; public readonly Action<ChunkMeshResult...
34.571429
148
0.681818
[ "MIT" ]
VektorKnight/VoxelEngine
Assets/VoxelEngine/Source/Chunks/MeshGeneration/ChunkUpdateJob.cs
726
C#
// Copyright 2016 Esri. // // 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 writing, software ...
44.54334
403
0.61047
[ "Apache-2.0" ]
jf990/arcgis-runtime-samples-dotnet
src/iOS/Xamarin.iOS/Samples/Map/GenerateOfflineMap/GenerateOfflineMap.cs
21,069
C#
using Alfa.Domain.Entities; using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Alfa.Infra.Repository { public class Context: DbContext { DbSet<S...
29.428571
150
0.713592
[ "MIT" ]
andrecamilo/alfa
Alfa.Data/EF/Context.cs
826
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Symbols; using Mi...
30.179775
171
0.613924
[ "MIT" ]
06needhamt/roslyn
src/Compilers/CSharp/Portable/Emitter/Model/SpecializedFieldReference.cs
2,688
C#
using GeneralUpdate.Common.Models; using System.Collections.Generic; namespace GeneralUpdate.Core.Models { public sealed class UpdatePacket : FileBase { /// <summary> /// Update check api address. /// </summary> public string MainUpdateUrl { get; set; } /// <summary> ...
26.316667
63
0.523749
[ "MIT" ]
jianyuyanyu/AutoUpdater
src/GeneralUpdate.Core/Models/UpdatePacket.cs
1,581
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Xunit.Sdk; namespace Xunit { /// <summary> /// Exception thrown when an All assertion has one or more items fail an assertion. /// </summary> public class AllException : XunitException { re...
40.222222
110
0.506314
[ "Apache-2.0" ]
ChrML/Bridge.xUn
Bridge.xUnit/Exceptions/AllException.cs
2,536
C#
// OnionFruit API/Tooling Copyright DragonFruit Network // Licensed under the MIT License. Please refer to the LICENSE file at the root of this project for details using System; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace DragonFruit.OnionFruit.Api.Objects {...
33.321429
107
0.723473
[ "MIT" ]
dragonfruitnetwork/OnionFruit.Status
src/Objects/TorNodeBandwidthHistory.cs
935
C#
namespace IDisposableAnalyzers { using Gu.Roslyn.AnalyzerExtensions; internal class TaskType : QualifiedType { internal readonly QualifiedMethod FromResult; internal readonly QualifiedMethod Run; internal readonly QualifiedMethod RunOfT; internal readonly QualifiedMethod Con...
37.791667
89
0.675854
[ "MIT" ]
AArnott/IDisposableAnalyzers
IDisposableAnalyzers/Helpers/KnownSymbols/TaskType.cs
907
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MonoSingleton<T> : MonoBehaviour where T : MonoBehaviour { protected static T instance = null; public static T Instance { get { instance = FindObjectOfType(typeof(T)) as T; ...
28.041667
72
0.473997
[ "Apache-2.0" ]
KENEW/DontSummon
Assets/Script/Manage/MonoSingleton.cs
675
C#
// // webserver.com // Copyright (c) 2009 // by Michael Washington // // redhound.ru // Copyright (c) 2013 // by Roman M. Yagodin // // 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...
43.229379
293
0.542508
[ "MIT" ]
roman-yagodin/R7.HelpDesk
R7.HelpDesk/View.ascx.cs
93,289
C#
using System; using System.Collections.Generic; namespace Songbook.Theory { public class Note : IEquatable<Note> { private static readonly List<string> _chromaticSharpScale = new List<string> { "A", "A#", "B", "C", "C#", "D", "D#", "E", "F", "F#", "G", "G#" }; private static readonly List<stri...
28.342342
153
0.440242
[ "Apache-2.0" ]
craiggwilson/songbook
src/Songbook.Theory/Theory/Note.cs
3,148
C#
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Multiblog.OAuth.Controllers { public class RegisterUserViewModel { // credentials [Required] ...
24.615385
74
0.51125
[ "Apache-2.0" ]
fredrikstrandin/Miniblog.Core
src/Multiblog.OAuth/Controllers/RegisterUser/RegisterUserViewModel.cs
1,602
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...
52.506441
385
0.654159
[ "Apache-2.0" ]
pranavmishra7/awssdks
sdk/src/Services/IoT/Generated/_bcl45/AmazonIoTClient.cs
1,027,131
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
65.969466
230
0.711872
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IWindows10TeamGeneralConfigurationRequest.cs
8,642
C#
// *********************************************************************** // Assembly : XLabs.Platform.iOS // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // ****************************************************************...
36.619718
111
0.57
[ "Apache-2.0" ]
danrocks/MyVirtualClinic
MyVirtualClinic/MyVirtualClinic.iOS/MediaPickerPopoverDelegate.cs
2,602
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// AlipayOpenMiniInnerbaseinfoQueryModel Data Structure. /// </summary> public class AlipayOpenMiniInnerbaseinfoQueryModel : AlipayObject { /// <summary> /// 小程序类型,TINYAPP_TEMPLATE,TINY...
31.657143
94
0.629964
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/AlipayOpenMiniInnerbaseinfoQueryModel.cs
1,286
C#
#region MigraDoc - Creating Documents on the Fly // // Authors: // Stefan Lange // Klaus Potzesny // David Stephensen // // Copyright (c) 2001-2019 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://www.migradoc.com // http://sourceforge.net/projects/pdfsharp // // Permission is ...
31.037037
98
0.640016
[ "MIT" ]
marcindawidziuk/PikaPDF
src/PikaPDF.DocumentObjectModel/Shapes/Enums/ShapePosition.cs
2,514
C#
namespace DotNetInterceptTester.My_System.IO.StreamWriter { public class Write_System_IO_StreamWriter_System_Single { public static bool _Write_System_IO_StreamWriter_System_Single( ) { //Parameters System.Single _value = null; //Exception Exception exception_Real = null; Exception exceptio...
17.795455
70
0.669221
[ "MIT" ]
SecurityInnovation/Holodeck
Test/Automation/DotNetInterceptTester/DotNetInterceptTester/System.IO.StreamWriter.Write(Single).cs
783
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.md file in the project root for more information. using System.ComponentModel.Composition; using Microsoft.VisualStudio.ProjectSystem.Properties; namespace Micros...
46.65035
201
0.671563
[ "MIT" ]
brunom/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/WindowsForms/WindowsFormsEditorProvider.cs
6,531
C#
using AutoMapper; using AutoMapper.Internal; using ElectronicWallet.Database.Entities; using ElectronicWallet.Repositories.Contracts; using ElectronicWallet.Common; using ElectronicWallet.Services.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System....
35.3
194
0.545326
[ "MIT" ]
vebg/ElectronicWallet
ElectronicWallet.Services/ManagementServiceBase.cs
9,886
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Exit Games GmbH"> // Exit Games GmbH, 2012 // </copyright> // <summary> // TimeKeeper Helper. See class description. // </summary> // <author>developer@exitgames.com...
42.936508
147
0.572274
[ "MIT" ]
DragonEyes7/ConcoursUBI17
Proto/Assets/Photon Unity Networking/UtilityScripts/TimeKeeper.cs
2,707
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace StackExchange.Redis.DataTypes.Collections { public class RedisSet<T> : ISet<T> { private const string RedisKeyTemplate = "Set:{0}"; private readonly IDatabase database; private reado...
28.244898
155
0.514761
[ "MIT" ]
ArinGhazarian/StackExchange.Redis.DataTypes
src/StackExchange.Redis.DataTypes/Collections/RedisSet.cs
9,690
C#
using System; namespace ChiantiaEsercizio1 { class Program { static void Main(string[] args) { string parola = " "; int cc = 0; int d1 = 0; int sommac = 0; int somma1 = 0; int mediac = 0; int medIA1 = 0; ...
22.470588
58
0.337696
[ "MIT" ]
ItisMajo-2021-3DINFO-Informatica/esercizistrighe-repo-MarcoChiantia
ChiantiaEsercizio1/ChiantiaEsercizio1/Program.cs
766
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; //[InitializeOnLoad] public class Startup : EditorWindow { string myString = "Welcome to Card Engine Tool v0.1"; bool groupEnabled; bool myBool = true; float myFloat = 1.23f; static Startup() ...
25.16
91
0.647854
[ "MIT" ]
AnneChoV/CardEngineTool
Card Engine Tool/Assets/Editor/Startup.cs
1,260
C#
using MediatR; using Microsoft.EntityFrameworkCore; using ModelWrapper.Extensions.FullSearch; using Store.Core.Domain.Interfaces.Infrastructures.Data.Contexts; using System.Threading; using System.Threading.Tasks; using Store.Core.Domain.Resources; using Microsoft.Extensions.Localization; namespace Store.Core.Applicat...
38.583333
135
0.702664
[ "MIT" ]
isilveira/ModelWrapper
samples/Store/Store.Core.Application/Default/Samples/Queries/GetSamplesByFilter/GetSamplesByFilterQueryHandler.cs
1,389
C#
using System; using System.IO; using System.Threading; using System.Threading.Tasks; #pragma warning disable CS0675 // Bitwise-or operator used on a sign-extended operand namespace BinaryEncoding { public partial class Binary { public static class Varint { public const int MaxVarin...
43.068966
197
0.50797
[ "MIT" ]
tabrath/BinaryEncoding
src/BinaryEncoding/Binary.Varint.cs
13,741
C#