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; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice; namespace NetOffice.MSComctlLibApi { #region Delegates #pragma warning disable #pragma warning restore #endregion ///<summary> /// CoClass ListItems /// SupportByVersion MSComctlLib, 6 ///</summary...
35.027778
179
0.607653
[ "MIT" ]
NetOffice/NetOffice
Source/MSComctlLib/Classes/ListItems.cs
10,088
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.ExcelApi { ///<summary> /// Interface IConnectorFormat /// Support...
32.422713
193
0.698385
[ "MIT" ]
Engineerumair/NetOffice
Source/Excel/Interfaces/IConnectorFormat.cs
10,280
C#
using Fusee.Base.Core; using Fusee.Engine.Common; using Fusee.Engine.Core; using Fusee.Engine.Core.Effects; using Fusee.Engine.Core.Primitives; using Fusee.Engine.Core.Scene; using Fusee.Engine.Core.ShaderShards; using Fusee.Math.Core; using System.Collections.Generic; using System.Threading.Tasks; namespace Fusee.En...
51.391137
216
0.536405
[ "BSD-2-Clause", "MIT" ]
ASPePeX/Fusee
src/Engine/GUI/GuiNode.cs
26,674
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.Diagnostics; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Mvc.Razor { internal static class Custo...
48.873171
126
0.672622
[ "MIT" ]
magicyqy/QStack.Framework
QStack.Framework.AspNetCore.Plugin/Compiler/CustomMvcRazorLoggerExtensions.cs
10,021
C#
using System.Windows.Forms; namespace StringKingUI { public partial class TextBoxControl : UserControl { public TextBoxControl() { InitializeComponent(); textBoxMain.MaxLength = int.MaxValue; } public new string Text { ...
21.166667
74
0.435039
[ "MIT" ]
freaxnx01/StringKing
StringKingUI/Controls/TextBoxControl.cs
1,018
C#
using Anabi.Common.Utils; using Anabi.DataAccess.Ef; using Anabi.Validators.Extensions; using FluentValidation; using MediatR; using Microsoft.EntityFrameworkCore; using System.Threading; using System.Threading.Tasks; namespace Anabi.Domain.Person.Commands { public class DeleteDefendant : IRequest { p...
35.184211
115
0.701571
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
code4romania/anabi-gestiune-api
Anabi.Domain.Core/Person/Commands/DeleteDefendant.cs
1,339
C#
using System; namespace app { class Program { static void Main(string[] args) { int i = 1; TestM(ref i); } static void TestM(ref int i) { i = 3; Console.WriteLine(i); } } }
11.5
35
0.495652
[ "MIT" ]
ABaboshin/DotNetCoreProfiler
tests/integration/param-ref/app/Program.cs
232
C#
using System.Management; namespace PoleStat.StatisticsPages { internal abstract class BaseGpuPage : IStatisticsPage { private readonly ManagementObjectSearcher _managementObjectSearcher; protected ManagementObject ManagementObject { get; private set; } protected BaseGpuPage() { _managementObjectSearche...
20.638889
99
0.736205
[ "MIT" ]
anarchysteven/polestat
PoleStat/StatisticsPages/BaseGpuPage.cs
745
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * 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...
38.567568
89
0.641205
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-v02_r02/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2007_v02_r02/Claims/Coct_mt300000ca/PersonPrescribing.cs
2,854
C#
using System; using System.Collections.Generic; using System.Linq; namespace StoicGoose.DataStorage { public abstract class ConfigurationBase<T> where T : class, new() { public static readonly Dictionary<string, object> Defaults = default; static ConfigurationBase() { Defaults = GetDefaultValues(); } ...
35.161765
197
0.731493
[ "MIT" ]
xdanieldzd/StoicGoose
StoicGoose/DataStorage/ConfigurationBase.cs
2,393
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
25.754545
185
0.593717
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapMongoDBBsonSerializationAttributesBsonDefaultValueAttributeWrapWrap.cs
2,835
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.EntityFrameworkCore; using SimpleIdServer.Scim.Domains; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; n...
37.96875
117
0.638683
[ "Apache-2.0" ]
xinxin-sympli/SimpleIdServer
src/Scim/SimpleIdServer.Scim.Persistence.EF/EFSCIMSchemaQueryRepository.cs
2,432
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Csrs.Interfaces.Dynamics.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// Microsoft...
39.983333
1,339
0.636237
[ "Apache-2.0" ]
KyleKayfish/jag-csrs-portal-public
src/backend/Csrs.Interfaces.Dynamics/Models/MicrosoftDynamicsCRMsitemap.cs
7,197
C#
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LinearAlgebraLibrary.Tests { [TestClass] public class VectorTests { private Vector R1_origin, R2_origin, R3_origin, R100_origin; private Vector R1_1, R2_1, R3_1, R100_1; [TestInitialize]...
33.949495
86
0.586433
[ "MIT" ]
karhu-san/mathematics-library
LinearAlgebraLibrary.Tests/VectorTests/VectorTest.cs
3,363
C#
using NuGet.Test.Mocks; using NuGet.VisualStudio; namespace NuGet.Dialog.Test { internal class MockVsProjectSystem : MockProjectSystem, IVsProjectSystem { public string UniqueName { get { return "Unique Name"; } } } }
19.142857
76
0.63806
[ "ECL-2.0", "Apache-2.0" ]
bobstrickland03/nuget2
test/Dialog.Test/Mocks/MockVsProjectSystem.cs
270
C#
using System; namespace NetEaseController { [Serializable] public struct Points { public ushort x; public ushort y; } }
12.833333
27
0.603896
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
mingl0280/NetEase-WebController.Net
NetEaseController/Points.cs
156
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace System.Security.Cryptography.Encryption.Aes.Tests { using Aes = System.Security.Cryptography.Aes; [SkipOnMono("Not supported on Browser", TestPlatfor...
36.625935
208
0.532239
[ "MIT" ]
2m0nd/runtime
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/AES/AesContractTests.cs
14,687
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BLOCKCHAIN.Models { public class DeleteDataauthorizationParticipantResponse : TeaModel { // 请求唯一ID,用于链路跟踪和问题排查 [NameInMap("req_msg_id")] ...
23.033333
72
0.642547
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
blockchain/csharp/core/Models/DeleteDataauthorizationParticipantResponse.cs
765
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
29.28125
144
0.684098
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/ibmcloud-iam-operator/dotnet/Kubernetes/Crds/Operators/IbmcloudIamOperator/Ibmcloud/V1Alpha1/Inputs/AccessPolicyStatusSubjectArgs.cs
937
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; using Unity.Lifetime; using UnityWcfPerrequestLifetimeManager.Extensions; namespace UnityWcfPerrequestLifetimeManager.Managers { public abstrac...
28.7
136
0.616725
[ "MIT" ]
pragashonlink/Unity.Wcf.PerrequestLifetimeManager
UnityWcfPerrequestLifetimeManager/Managers/WcfLifetimeManager.cs
1,724
C#
using UnityEngine; using System.Collections; public class Add10ItemsNormal : MonoBehaviour { static int index; GameObject item; void Start() { item = Resources.Load("Item") as GameObject; index = 0; } void OnClick() { UIGridDyn grid = GameObject.Find("UI Root/Ca...
27.857143
111
0.576068
[ "MIT" ]
android-crack/joework
UnityWorkspace/listmore/nguiListTest/Assets/Scripts/Add10ItemsNormal.cs
1,172
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
60.094438
256
0.635597
[ "Apache-2.0" ]
amanda-tarafa/google-cloud-dotnet
apis/Google.Cloud.ContactCenterInsights.V1/Google.Cloud.ContactCenterInsights.V1.Tests/ContactCenterInsightsClientTest.g.cs
207,446
C#
using Microsoft.AspNetCore.Builder; #if NETSTANDARD2_0 using Microsoft.AspNetCore.Hosting; #endif using Microsoft.Extensions.DependencyInjection; #if NETCOREAPP3_1 using Microsoft.Extensions.Hosting; #endif using NetModular.Lib.Utils.Core.Helpers; using HostOptions = NetModular.Lib.Host.Web.Options.HostOptions; names...
26.893617
103
0.691456
[ "MIT" ]
ZedrealLin/NetModular
src/Framework/Host/Host.Web/StartupAbstract.cs
1,280
C#
using ElRaccoone.Tweens.Core; using UnityEngine; namespace ElRaccoone.Tweens { public static class EulerAnglesYTween { public static Tween<float> TweenRotationY (this Component self, float to, float duration) => Tween<float>.Add<Driver> (self).Finalize (duration, to); public static Tween<float> TweenR...
38.516129
129
0.713568
[ "MIT" ]
stefankohl-dev/unity-tweens
Runtime/EulerAnglesYTween.cs
1,194
C#
using System; using System.Linq; using Iviz.Controllers; using Iviz.Core; using Iviz.Displays; using Iviz.Resources; using Iviz.XmlRpc; using UnityEngine; namespace Iviz.App.ARDialogs { public class ARLineConnector : MonoBehaviour { GameObject node; readonly MeshMarkerResource[] spheres = new M...
27.273438
105
0.497279
[ "MIT" ]
KIT-ISAS/iviz
iviz/Assets/Application/ARDialogs/ARLineConnector.cs
3,491
C#
using AutomaticTypeMapper; using EOLib.Domain.Character; namespace EOLib.Domain.Chat.Commands { [AutoMappedType] public class NoWallCommand : IPlayerCommand { private readonly ICharacterRepository _characterRepository; public string CommandText => "nowall"; public NoWallCommand(I...
28.290323
88
0.673888
[ "MIT" ]
Septharoth/EndlessClient
EOLib/Domain/Chat/Commands/NoWallCommand.cs
879
C#
using System; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; using NHapi.Model.V22.Datatype; using NHapi.Base.Log; namespace NHapi.Model.V22.Segment{ ///<summary> /// Represents an HL7 ODS message segment. /// This segment has the following fields:<ol> ///<li>ODS-1: Type (ID)</li> ///<li>ODS-2: S...
35.406639
121
0.660377
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V22/Segment/ODS.cs
8,533
C#
using Lucene.Net.Analysis.Util; using NUnit.Framework; namespace Lucene.Net.Analysis.Ckb { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright owner...
36.181818
103
0.622398
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net.Tests.Analysis.Common/Analysis/Ckb/TestSoraniAnalyzer.cs
2,847
C#
//----------------------------------------------------------------------- // <copyright file="SolutionFile_Tests.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <summary>Tests for the parts of SolutionFile that are surfaced as // public API</summary> ...
60.356614
182
0.591318
[ "MIT" ]
ZZHGit/msbuild
src/XMakeBuildEngine/UnitTestsPublicOM/Construction/SolutionFile_Tests.cs
56,095
C#
namespace MyLeasing.Api.Core.Application { using AutoMapper; using MyLeasing.Api.Core.Helper; using MyLeasing.Api.Infrastructure.Data.Entities; using MyLeasing.Api.Infrastructure.Repository.Interface; using MyLeasing.Common.Rest; using System; using System.Collections.Generic; using Sys...
34.808511
102
0.623472
[ "MIT" ]
JuanchoAnime/MyLeasing
MyLeasing.Api/Core/Application/LesseeApplication.cs
1,638
C#
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) // Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus // Forum & Issues: https://github.com/zzzprojec...
45.3125
191
0.769655
[ "MIT" ]
Ahmed-Abdelhameed/EntityFramework-Plus
src/Z.Test.EntityFramework.Plus.EFCore.Shared/QueryCache/QueryCache_UseTagsAsCacheKey.cs
728
C#
using System; namespace ChallengeUbistart.Business.Models { public class Item : Entity { public Guid ClientId { get; set; } public string Description { get; set; } public ItemStatus ItemStatus { get; set; } public DateTime CreatedAt { get; set; } public DateTi...
24.761905
50
0.590385
[ "MIT" ]
jadson-medeiros/challengeubistart
src/ChallengeUbistart.Business/Models/Item.cs
520
C#
using System.Collections.Generic; namespace RestfulApiBestPracticesAspNetCore.Services { public class PropertyMappingValue { public IEnumerable<string> DestinationProperties { get; private set; } public bool Revert { get; private set; } public PropertyMappingValue(IEnumerable<string> ...
27.333333
78
0.668699
[ "MIT" ]
BionStt/RestfulApiBestPracticesAspNetCore
RestfulApiBestPracticesAspNetCore/Services/PropertyMappingValue.cs
494
C#
using System; using System.Collections.Generic; using System.Linq; using VideoApi.Domain.Ddd; using VideoApi.Domain.Enums; namespace VideoApi.Domain { public class Participant : Entity<Guid> { private Participant() { Id = Guid.NewGuid(); ParticipantStatuses = new List<Pa...
30.64557
118
0.605535
[ "MIT" ]
ryantestgmail/vh-video-api
VideoAPI/VideoApi.Domain/Participant.cs
2,421
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...
32.631579
113
0.645968
[ "Apache-2.0" ]
GitGaby/aws-sdk-net
sdk/src/Services/ResourceGroups/Generated/Model/SearchResourcesResponse.cs
2,480
C#
using System.Collections.Generic; using System.Runtime.Serialization; using System.Xml; using System.Xml.Linq; using Orchard.Environment.Configuration; using Orchard.FileSystems.AppData; using System.IO; namespace Orchard.Reports.Services { public class ReportsPersister : IReportsPersister { pri...
40.970588
114
0.568916
[ "MIT" ]
AccentureRapid/OrchardCollaboration
src/Orchard/Reports/Services/ReportsPersister.cs
2,788
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.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; inter...
26.988636
81
0.568421
[ "MIT" ]
2m0nd/runtime
tools-local/tasks/mobile.tasks/AotCompilerTask/Utils.cs
2,375
C#
/* * Copyright (c) 2009, DIaLOGIKa * * 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,...
45.724138
102
0.677728
[ "BSD-3-Clause" ]
datadiode/B2XTranslator
src/Common/OfficeGraph/BiffRecords/Dat.cs
3,980
C#
using UnityEngine; using System.Collections; public class ColorBlindnessDropdownHandler : MonoBehaviour { public ColorBlindnessController ctrlr; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void OnValueChanged(int index) { print ("...
14.3
60
0.675991
[ "MIT" ]
imtc-gatech/UnityVisionLossTools
Assets/UnityColorBlindness/Scripts/ColorBlindnessDropdownHandler.cs
431
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. // </auto-generated> namespace Microsoft.Azure.Management.ResourceManager.Fl...
29.476636
78
0.581167
[ "MIT" ]
HarveyLink/azure-libraries-for-net
src/ResourceManagement/ResourceManager/Generated/IResourceManagementClient.cs
3,154
C#
// // Copyright (c) 2017-2019 the rbfx project. // // 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, mer...
38
108
0.657895
[ "MIT" ]
mostafa901/rbfx
Source/Urho3D/CSharp/Managed/Scene/Node.cs
2,280
C#
// NOTE: to match Mesen timings, set idleSynch to true at power on, and set start_up_offset to -3 using System; using System.Linq; using BizHawk.Common; using BizHawk.Emulation.Common; using BizHawk.Emulation.Cores.Components.M6502; #pragma warning disable 162 namespace BizHawk.Emulation.Cores.Nintendo.N...
24.672381
154
0.594959
[ "MIT" ]
Qapples/BizHawk
src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.Core.cs
25,906
C#
using System.Collections.Generic; using ActionsOnGoogle.Core.v2.Response; namespace WebApplicationAPI.Helpers { }
17.142857
39
0.8
[ "Apache-2.0" ]
LindaLawton/actions-on-google-dotnet
src/WebApplicationAPI/Helpers/Responsebuilder.cs
122
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Xml; namespace Platinum.Resolver { /// <summary /> public class UrlResolver : XmlUrlResolver { private bool _collect; private List<Uri> _uri; /// <summary> ...
33.11
120
0.523558
[ "BSD-3-Clause" ]
filipetoscano/Platinum
src/Platinum.Core/Resolver/UrlResolver.cs
6,624
C#
using UnityEngine; public abstract class AStateModifier : ScriptableObject { public float time = 10f; public float cooldown = 20f; [Range(0, 1)] public float cost = 0.5f; [TextArea] public string description; public abstract void Apply(State state); }
23.545455
55
0.749035
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Aggrathon/Ludum-Dare-43
Assets/Scripts/AStateModifier.cs
261
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20200215 { using static Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.Extensions; /// <summary>The Kusto SKU description of given resource type</summary> public partial class SkuDescription { /// <summary> /// <c>...
77.130719
710
0.668164
[ "MIT" ]
Arsasana/azure-powershell
src/Kusto/generated/api/Models/Api20200215/SkuDescription.json.cs
11,649
C#
namespace Com.Zoho.Crm.API.Notes { public interface ActionHandler { } }
10.714286
32
0.733333
[ "Apache-2.0" ]
AppifySheets/zohocrm-csharp-sdk-2.1
ZohoCRM/Com/Zoho/Crm/API/Notes/ActionHandler.cs
75
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; usi...
48.244426
298
0.594149
[ "MIT" ]
GeekQuants/puppeteer-sharp
lib/PuppeteerSharp/Page.cs
119,053
C#
/* © Siemens AG, 2017-2018 Author: Dr. Martin Bischoff (martin.bischoff@siemens.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 ...
37.272727
122
0.564745
[ "Apache-2.0" ]
JGroxz/URDF-Importer
com.unity.robotics.urdf-importer/Runtime/Extensions/TransformExtensions.cs
9,023
C#
namespace Signum.Engine; public static class LinqHintsExpand { public static IQueryable<T> ExpandLite<T, L>(this IQueryable<T> source, Expression<Func<T, Lite<L>?>> liteSelector, ExpandLite expandLite) where L : class, IEntity { if (source == null) throw new ArgumentNullEx...
35.846154
280
0.681688
[ "MIT" ]
Faridmehr/framework
Signum.Engine/LinqExpandHints.cs
1,398
C#
/* * Copyright (c) 2016-2018 Håkan Edling * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using System.Collections.Generic; namespace Piranha.Models { /// <summar...
25.176471
82
0.53972
[ "MIT" ]
Lewis-Bass/SafeHaven
core/Piranha/Models/RegionList.cs
1,287
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BubbleSortCinematic : Cinematic { }
16.125
44
0.821705
[ "MIT" ]
JohnSongNow/youtube-tutorials
bubble-sort/BubbleSortCinematic.cs
129
C#
using System; using System.Threading; using System.Threading.Tasks; namespace Zoltu.Nethermind.Plugin.Multicall { public abstract class DisposeAsyncOnce : IAsyncDisposable { private UInt32 _disposed; protected abstract ValueTask DisposeOnce(); public async ValueTask DisposeAsync() { if (Interlocked.Excha...
20.473684
59
0.755784
[ "Unlicense" ]
Zoltu/nethermind-plugin-multi-call
source/DisposeAsyncOnce.cs
389
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNet.SignalR.Infrastructure; namespace Microsoft.AspNet.SignalR.Hubs { public class HubConnectionContextBase : IHub...
39.537313
132
0.549075
[ "Apache-2.0" ]
Teleopti/SignalR
src/Microsoft.AspNet.SignalR.Core/Hubs/HubConnectionContextBase.cs
5,300
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...
28.526316
104
0.597048
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CloudWatchEvents/Generated/Model/PutPartnerEventsResultEntry.cs
2,710
C#
// ----------------------------------------------------------------------- // <copyright file="EventStream.cs" company="Asynkron HB"> // Copyright (C) 2015-2018 Asynkron HB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System; usi...
32.154472
118
0.490518
[ "Apache-2.0" ]
IvanWhisper/protoactor-dotnet
src/Proto.Actor/EventStream.cs
3,957
C#
using System; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayBusinessOrderQueryModel Data Structure. /// </summary> [Serializable] public class AlipayBusinessOrderQueryModel : AlipayObject { /// <summary> /// 商户外部订单号,和支付宝订单...
28.677419
75
0.627672
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayBusinessOrderQueryModel.cs
1,147
C#
using System.Web; namespace CandidContribs.Core.Models.Shared { public class EventSignUpViewModel { public IHtmlString Text { get; set; } public string MailchimpGroupId { get; set; } } }
19.727273
52
0.668203
[ "MIT" ]
CandidContributions/Candid-Contribs-Web
src/CandidContribs.Core/Models/Shared/EventSignUpViewModel.cs
219
C#
#pragma checksum "C:\Users\sneha\Desktop\iCLASS\iCLASS\week.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "050B4E7F2E3C48A711F1D02BE33D9E4D" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.303...
48.950549
143
0.639466
[ "MIT" ]
VikramadityaJakkula/MyLearnMateCode
iCLASS/obj/Debug/week.g.cs
8,911
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace KickassUI.Banking.Droid { [Activity(Label = "KickassUI.Banking", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ...
38.939394
192
0.715953
[ "MIT" ]
sthewissen/KickassUI.Banking
KickassUI.Banking.Android/MainActivity.cs
1,287
C#
using UnityEngine; public class GTransitionView : GView { public const int STATE_ID_AWAITING = 0; public const int STATE_ID_INTRO = 1; public const int STATE_ID_ACTION = 2; public const int STATE_ID_OUTRO = 3; private int stateId_int = GTransitionView.STATE_ID_AWAITING; private int targetGameStateId_int; priva...
19.316832
61
0.705279
[ "Apache-2.0" ]
PetrViitman/RobotsFactory
Assets/Scripts/MVC/view/GTransitionView.cs
1,951
C#
// ------------------------------------------------------------------------------ // Copyright 版权所有。 // 项目名:Galaxy.Common // 文件名:ChineseConverterHelper.cs // 创建标识:梁桐铭 2017-03-20 11:13 // 创建描述:我们是OurGalaxy团队 // // 修改标识: // 修改描述: // ------------------------------------------------------------------------------ #...
30.618182
105
0.478029
[ "Apache-2.0" ]
52ABP/YoYoCms
src/YoYo.Common/ChineseConverter/ChineseConverterHelper.cs
1,856
C#
#nullable enable // ReSharper disable once CheckNamespace namespace Fluent { using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows; using System.Windows.Automation.Peers; using System.Windows.Controls.Primitives; using System.Windows.D...
35.964467
355
0.607057
[ "MIT" ]
chandusekhar/Fluent.Ribbon
Fluent.Ribbon/Controls/SplitButton.cs
21,257
C#
using Microsoft.AspNetCore.Http; using NetDream.Web.Areas.Open.Entities; using NetDream.Web.Base.Helpers; using NetDream.Core.Helpers; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace NetDream.Web.Areas.Open.Models { public cl...
28.454545
89
0.403088
[ "MIT" ]
zx648383079/netdream
src/NetDream.Web/Areas/Open/Models/PlatformModel.cs
3,802
C#
using System; using UnityEngine; using UnityEngine.UI; namespace GameOver.Ranking { /// <summary> /// ランキングコンテンツのプレイヤー要素 /// </summary> internal class RankingElement : MonoBehaviour { [SerializeField] private Text _textRank; [SerializeField] private Text _textValue; [Serial...
30.102941
80
0.538349
[ "MIT" ]
nekojara-city/neko-maze
Assets/Scripts/GameOver/Ranking/RankingElement.cs
2,085
C#
namespace DataStructures.Continuous { /// <summary> /// Possible redundancy types for items in a continuous set. /// </summary> public enum RedundancyType { /// <summary> /// No redundancies. /// </summary> None, /// <summary> /// Only redundant negat...
20.178571
64
0.477876
[ "MIT" ]
masbicudo/data-structures-net
DataStructures/Continuous/RedundancyType.cs
565
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.Text; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; namesp...
33.76652
119
0.620091
[ "MIT" ]
WonyoungChoi/runtime
src/libraries/System.Console/src/System/ConsolePal.WebAssembly.cs
7,665
C#
namespace SkorinosGimnazija.Application.Authorization; using Common.Interfaces; using Dtos; using FluentValidation; using MediatR; public static class UserAuthorize { public record Command(GoogleAuthDto GoogleAuth) : IRequest<UserAuthDto>; public class Validator : AbstractValidator<Command> { pu...
26.25641
83
0.620117
[ "MIT" ]
SkorinosGimnazija/api.skorinosgimnazija.lt
src/Application/Authorization/UserAuthorize.cs
1,026
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BACnet.Types.Values { public class ObjectIdValue : IValue { /// <summary> /// The value type for object id values /// </summary> public ValueType Type {...
24.612903
68
0.579292
[ "MIT" ]
LorenVS/bacstack
BACnet.Types/Values/ObjectIdValue.cs
765
C#
// MIT License // Copyright (c) 2011-2016 Elisée Maurer, Sparklin Labs, Creative Patterns // Copyright (c) 2016 Thomas Morgner, Rabbit-StewDio Ltd. // 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 ...
34.014286
139
0.702226
[ "MIT" ]
RabbitStewDio/Steropes.UI
src/Steropes.UI/Input/MouseInput/MouseButton.cs
2,384
C#
using System.Drawing; using System.Windows.Forms; namespace BioMetrixCore { public partial class DataEmpty : UserControl { public DataEmpty() { InitializeComponent(); this.Dock = DockStyle.Fill; } protected override void OnPaint(PaintEventArgs e) ...
32.307692
100
0.522619
[ "MIT" ]
geff-mutua/C-Sharp-FingurePring-Scanner
BioMatrix/BioMetrixCore/Controls/DataEmpty.cs
842
C#
using System; using System.Net; using System.Net.Sockets; namespace TcpS { class Program { static void Main(string[] args) { TcpListener server = null; int port = 13000; IPAddress localAddr = IPAddress.Parse("127.0.0.1"); try { ...
27.98
79
0.433881
[ "Apache-2.0" ]
Lyd889911/tcp
TcpTest/TcpServer/Program.cs
1,443
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SetActiveToggle : MonoBehaviour { public GameObject toToggle; public string tagToggle; public void Toggle() { if(toToggle == null) { toToggle = GameObject.FindGameObjectWithTag(tag...
20.2
67
0.670792
[ "MIT" ]
renatusdev/Dig-Seek
Assets/Scripts/UI/SetActiveToggle.cs
406
C#
using Photon; using UnityEngine; public class SmoothSyncMovement2 : Photon.MonoBehaviour { public float SmoothingDelay = 5f; public bool disabled; private Vector3 correctPlayerPos = Vector3.zero; private Quaternion correctPlayerRot = Quaternion.identity; public void Awake() { if (base.photonView == null ||...
25.612245
143
0.738645
[ "MIT" ]
AoTTG-R/mocha
Assembly-CSharp/FengLi/Networking/SmoothSyncMovement2.cs
1,255
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace ...
42.15625
160
0.706449
[ "Apache-2.0" ]
TechnoridersForks/Roslynator
source/Analyzers/Refactorings/RemoveRedundantCallRefactoring.cs
1,351
C#
using System; using System.ComponentModel.DataAnnotations; namespace Decos.Fixi.Models { /// <summary> /// Represents the modifiable properties of a user. /// </summary> public class UserData { /// <summary> /// Gets or sets the person's address. /// </summary> public string Address { get; s...
28.484848
81
0.61383
[ "MIT" ]
DecosInformationSolutions/FixiClient-dotnet
Models/UserData.cs
1,882
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
39.950581
158
0.586771
[ "Apache-2.0" ]
AdvaithD/Lean
Algorithm.Framework/QCAlgorithmFramework.cs
13,745
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.880952
336
0.640736
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/ApplicationLogsConfig.cs
3,098
C#
using System; using System.Text; using System.Runtime.InteropServices; public class CellRecvStream { byte[] _buffer = null; private int _nReadPos = 0; public CellRecvStream(IntPtr data,int len) { // C++ 传入的数据转为C#的字节数组 byte[] buffer = new byte[len]; Marshal.Copy...
19.557471
66
0.430209
[ "MIT" ]
baitxaps/EasySocket
CppNetworkPlugin/Assets/CellRecvStream.cs
3,433
C#
using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Settings.Configuration; using StreamDeckLib; using System; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configura...
24.472222
106
0.620885
[ "MIT" ]
christophbergemann/co2-streamdeck
Program.cs
883
C#
using System.Collections.Generic; namespace MyLab.ApiClient { /// <summary> /// Contains api clients infrastructure options /// </summary> public class ApiClientsOptions { /// <summary> /// List of api connections options /// </summary> public Dictionary<string, Api...
23.192308
74
0.570481
[ "MIT" ]
mylab-tools/apiclient
src/MyLab.ApiClient/ApiClientsOptions.cs
605
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.UI; namespace UserInterface { [AddComponentMenu(NamingHelper.Button.Name, 0)] public class GMButton : Button { public List<Graphic> c...
31.048276
90
0.582408
[ "MIT" ]
dotmos/uGameFramework
Unity/Assets/Scripts/UserInterface/Basics/GMButton.cs
4,504
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
35.547445
463
0.74846
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/PresentationFramework/Sources/System.Windows.Automation.Peers.DataGridAutomationPeer.cs
4,870
C#
#region WatiN Copyright (C) 2006-2011 Jeroen van Menen //Copyright 2006-2011 Jeroen van Menen // // 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/lice...
28.821429
77
0.729864
[ "Apache-2.0" ]
Toadstool/Fork-WatiN
source/src/Core/DialogHandlers/FileDownloadOptionEnum.cs
807
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.open.app.members.query /// </summary> public class AlipayOpenAppMembersQueryRequest : IAopRequest<AlipayOpenAppMembersQueryResponse> { ...
23.4
98
0.602564
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Request/AlipayOpenAppMembersQueryRequest.cs
2,588
C#
#pragma checksum "C:\Users\marcos\Documents\Everything C#\CSharpFoodProj\OdeToFood\OdeToFood\Pages\R2\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "af48c0eb9cf344183cf02f57f829aa647aae66d3" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledIte...
62.523622
300
0.719728
[ "MIT" ]
Mlira02/CSharpFoodProj
OdeToFood/OdeToFood/obj/Debug/netcoreapp3.1/Razor/Pages/R2/Index.cshtml.g.cs
15,881
C#
using System; using AutoStep.Definitions.Test; using AutoStep.Tests.Utils; using FluentAssertions; using Xunit; using Xunit.Abstractions; namespace AutoStep.Tests.Definition.Test { public class ClassStepDefinitionSourceTests : LoggingTestBase { public ClassStepDefinitionSourceTests(ITestOutputHelper o...
24.506849
102
0.558971
[ "MIT" ]
SivaGudivada/AutoStep
tests/AutoStep.Tests/Definition/Test/ClassStepDefinitionSourceTests.cs
1,791
C#
using System.IO; using VkNet.Utils; namespace VkNet.Tests.Infrastructure { /// <summary> /// Пути к общим json файлам /// </summary> public static class JsonPaths { /// <summary> /// Путь к json файлу с ответом <c>true</c> /// </summary> public static readonly string True = Path.Combine("Common", bool.Tru...
28.833333
102
0.675337
[ "MIT" ]
Fooxboy/vk
VkNet.Tests/Infrastructure/JsonPaths.cs
1,164
C#
namespace Lego.Core.Models.Messaging { public enum MessageType : byte { Hub__Properties = 0x01, Hub__Actions = 0x02, Hub__Alerts = 0x03, Hub__Attached_IO = 0x04, Generic_Error_Messages = 0x05, Hardware_Network_Commands = 0x08, Firmware_Update__Go_Into_Boo...
34.066667
54
0.677104
[ "MIT" ]
Vouzamo/Lego
src/Lego/Lego.Core/Models/Messaging/MessageType.cs
1,024
C#
using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Drawing; using System.Linq; using System.Threading; using System.Text; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.DataVisualization.Charting; namespace MOE.Common.Business { pub...
44.209927
154
0.533276
[ "Apache-2.0" ]
OSADP/ATSPM
Version4.0.1/MOE.Common/Business/LinkPivotPair.cs
54,336
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2020 Jeffrey Su & Suzhou Senparc Network Technology 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 ...
42.278175
205
0.571858
[ "Apache-2.0" ]
103556710/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/WiFi/WiFiApi.cs
52,305
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...
36.985915
117
0.602475
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/DirectoryService/Generated/ServiceEnumerations.cs
26,260
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using PetSite.Models; using Amazon.XRay.Recorder.Handlers.AwsSdk; using System.Net.Http; using Amazon.XRay.Recorder.Ha...
44.346734
187
0.607365
[ "MIT-0" ]
Training-and-Development-SRE/one-observability-demo
PetAdoptions/petsite/petsite/Controllers/HomeController.cs
8,827
C#
using System.Collections.Generic; using OpenItems.Data; namespace GSA.OpenItems.Web { using System; using System.Data; using System.Collections; using System.Web; using Data; /// <summary> /// Summary description for PageBase /// </summary> public class PageBase: System.Web.UI.Page...
30.592593
134
0.4864
[ "CC0-1.0" ]
gaybro8777/FM-ULO
Archive/OpenItems/PageBase.cs
24,780
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Primjer_6._1 { class Program { static void Main(string[] args) { //Deklaracija niza od 3 elementa int[] niz = new int[3]; //inicij...
19.09375
71
0.481178
[ "MIT" ]
dklaic3006/AlgebraCSharp2019-1
ConsoleApp1/Primjer 6.1/Program.cs
613
C#
using Volo.Abp.Domain.Entities; namespace Volo.Abp.Ddd.Domain.Extensions { public interface IProxiedEntity { IProxiedEntity Entity { get; set; } } }
18.888889
43
0.682353
[ "MIT" ]
BrianCodeman/Volo.Abp.Ddd.Domain.Extensions
IProxiedEntity.cs
172
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Client.Web.Pages { public class PrivacyModel : PageModel { private readonly ILogger<PrivacyModel> _logger; public PrivacyModel(ILogger<PrivacyModel> logger) { _logger = logger; } ...
19.736842
57
0.616
[ "MIT" ]
geraldmaale/AspnetMicroservices
src/Clients/Client.Web/Pages/Privacy.cshtml.cs
377
C#
using UnityEngine; using UnityEngine.UI; using MainGame.UserInterface; namespace MainGame { public class GameRestarter : MonoBehaviour { [SerializeField] private GameStarter _starter; [SerializeField] private EndGamePanel _endGamePanel; [SerializeField] priva...
19.853659
59
0.59828
[ "Apache-2.0" ]
Ellamanate/FirstPerson
Assets/Scripts/Game/GameRestarter.cs
816
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.805556
85
0.733426
[ "Apache-2.0" ]
jandockx/ppwcode
dotnet/Util/SharePoint/I/2.n/2.0.1/src/PPWCode.Util.SharePoint.UnitTest/Properties/AssemblyInfo.cs
1,436
C#
// Copyright (C) 2018 Mohammad Javad HoseinPour. All rights reserved. // Licensed under the Private License. See LICENSE in the project root for license information. // Author: Mohammad Javad HoseinPour <mjavadhpour@gmail.com> namespace ShopPromotion.Domain.Infrastructure.Models.Resource { public sealed class Min...
38.9
95
0.789203
[ "MIT" ]
mjavadhpour/shop-promotion
src/ShopPromotion.Domain/Infrastructure/Models/Resource/MinimumAppUserImageResource.cs
391
C#