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 Daddoon.Blazor.Xam.Common.Interfaces; using Daddoon.Blazor.Xam.Interop; using System; using System.IO; using System.IO.Compression; using System.Net; using System.Runtime.CompilerServices; using Waher.Networking.HTTP; using Xamarin.Forms; [assembly: InternalsVisibleTo("Daddoon.Blazor.Xamarin.Android")] [assembl...
32.07619
182
0.554632
[ "MIT" ]
hippermoloo/Blazor.Xamarin
src/Daddoon.Blazor.Xamarin/Services/WebApplicationFactory.cs
6,738
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Reflection; namespace Google.Maps { public abstract class JsonCreationConverter<T> : JsonConverter { protected abstract T Create(Type objectType, JObject jsonObject); public override bool CanConvert(Type objectType) => typeof(T).GetT...
28.931034
132
0.753278
[ "Apache-2.0" ]
J0rgeSerran0/gmaps-api-net
src/Google.Maps/JsonCreationConverter.cs
841
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PauseMenu : MonoBehaviour { public GameObject Pause; // Start is called before the first frame update void Start() { Pause.SetActive(false); } // Update is c...
19.060606
52
0.647059
[ "MIT" ]
JosepLleal/GameJam_S-Team
S-Team/Assets/Game/Scripts/PauseMenu.cs
631
C#
using CommunityPlugin.Non_Native_Modifications.SideMenu.Controls; using CommunityPlugin.Objects; using CommunityPlugin.Objects.Helpers; using CommunityPlugin.Objects.Interface; using System; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Threading; usi...
38.305085
228
0.523304
[ "MIT" ]
BPenPen/CommunityPlugin-1
CommunityPlugin/Non Native Modifications/SideMenu/SideMenuUI.cs
6,782
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // 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 us...
42.008403
170
0.742348
[ "MIT" ]
nguyenthiennam1992/Decompiler
ILSpy-master/ICSharpCode.Decompiler/TypeSystem/Implementation/DefaultMemberReference.cs
5,001
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...
42.877193
237
0.68617
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20190901/Outputs/NetworkInterfaceDnsSettingsResponse.cs
2,444
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using MailCheck.Common.Messaging.Abstractions; using MailCheck.Intelligence.IpToAsnParser.Dao; using MailCheck.Intelligence.IpToAsnParser.Fetchers; namespace MailCheck.Intelligence.IpToAsnParser { public class IpAddressT...
36.584906
232
0.708613
[ "Apache-2.0" ]
ukncsc/MailCheck.Public.AggregateReport
src/MailCheck.Intelligence.IpToAsnParser/IPAddressToAsnProcessor.cs
1,939
C#
namespace BankManagementSystem.Services.DataServices.Implementations { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using BankManagementSystem.Common; using BankManagementSystem.Common.BindingModels.CreditCard; ...
35.042553
94
0.657559
[ "MIT" ]
evgenirusev/BankManagementSystem
src/Services/BankManagementSystem.Services.DataServices/Implementations/CreditCardService.cs
1,649
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace StoppyMcStopwatchface { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
22.272727
65
0.606122
[ "MIT" ]
Ha3ks/StoppyMcStopwatchface
Backup/Program.cs
492
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Types; using osuTK; namespace osu.Game.Rulesets.Objects.Legacy.Osu { /// <summary> /// Legacy osu! Spinner-type, used ...
28.032258
93
0.634062
[ "MIT" ]
Dragicafit/osu
osu.Game/Rulesets/Objects/Legacy/Osu/ConvertSpinner.cs
841
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; ...
26.942308
80
0.642398
[ "MIT" ]
changweihua/ProjectStudy
ThreeDimensionaApplication/MaterialsWindow.xaml.cs
1,413
C#
using System; using System.Collections.Generic; namespace Vue2Spa.Models.DB { public partial class Types { public short TypeId { get; set; } public short DepId { get; set; } public string TypeDesc { get; set; } } }
19.461538
44
0.624506
[ "MIT" ]
MoeinElwani/Holiday
Models/DB/Types.cs
255
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Follow : MonoBehaviour { [SerializeField] bool canvasObject; [SerializeField] Transform target; [SerializeField] Vector2 offset; private void Start() { target = FindObjectOfType<MergedPlayerControl...
22.566667
99
0.630724
[ "Apache-2.0" ]
Short1398/BouncyDash
Bouncy Dash/Assets/Scripts/Controllers/Follow.cs
679
C#
/* Copyright 2017 Coin Foundry (coinfoundry.org) Authors: Oliver Weichhold (oliver@weichhold.com) 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 limitat...
43.788235
149
0.674369
[ "MIT" ]
AltcoinCoop/PoolMiningEngine
src/MiningCore/Contracts/Contract.cs
3,724
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.Generic; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Symbols;...
32.895833
118
0.560481
[ "MIT" ]
BertanAygun/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Extensions/MemberDeclarationSyntaxExtensions.DeclarationFinder.cs
3,160
C#
using Blackboard.Core; using Blackboard.Core.Data.Caps; using Blackboard.Core.Inspect; using Blackboard.Core.Nodes.Inner; using Blackboard.Core.Nodes.Outer; using Microsoft.VisualStudio.TestTools.UnitTesting; using S = System; namespace BlackboardTests.CoreTests { [TestClass] public class Nodes { [Te...
38.994118
122
0.533715
[ "BSD-3-Clause" ]
Grant-Nelson/BlackboardCSharp
BlackboardTests/CoreTests/Nodes.cs
6,629
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.Linq; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; using MaikeBing.EntityFrameworkCore.NoSqLiteDB.Infra...
47.4
125
0.731646
[ "MIT" ]
maikebing/EntityFrameworkCore.LiteDB
MaikeBing.EntityFrameworkCore.NoSqLiteDB/Storage/Internal/LiteDBStoreCacheExtensions.cs
1,185
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using Microsoft.Win32.SafeHandles; using System.Net.Security; using System.Security.Crypto...
36.382199
146
0.543244
[ "MIT" ]
ARhj/corefx
src/System.Net.Security/src/System/Net/CertificateValidationPal.Unix.cs
6,949
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.CodeAnalysis.ExternalAccess.LegacyCodeAnalysis.Api { internal interface ILegacyCodeAnaly...
47.642857
161
0.811094
[ "Apache-2.0" ]
20chan/roslyn
src/VisualStudio/Core/Def/ExternalAccess/LegacyCodeAnalysis/Api/ILegacyCodeAnalysisVisualStudioSuppressionFixServiceAccessor.cs
669
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 ServerSimulator.Properties; namespace ServerSimulator { /// <summary> /// This class validates and stores parameters passed in from the command-line or c...
36.189956
105
0.367481
[ "MIT" ]
belav/runtime
src/tests/GC/Scenarios/ServerModel/parameters.cs
16,575
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; using Couchbase.Linq.QueryGeneration; using Couchbase.Linq.QueryGeneration.MethodCallTranslators; using Moq;...
29.559524
147
0.602497
[ "Apache-2.0" ]
RossMerr/CouchbaseNetLinq
Src/src/Couchbase.Linq.UnitTests/QueryGeneration/MethodCallTranslators/N1QlFunctionMethodCallTranslatorTests.cs
7,451
C#
using Microsoft.Dynamics.Framework.UI.Extensibility; using Microsoft.Dynamics.Framework.UI.Extensibility.WinForms; using System.Windows.Forms; using System.Data; using System; namespace NAVDataGridView { [ControlAddInExport("NAVDataGridView")] public class NAVDataGrid : WinFormsControlAddInBase ...
26.657143
62
0.636656
[ "MIT" ]
PacktPublishing/Extending-Microsoft-Dynamics-NAV-2016-Cookbook
Chapter07/Recipe 8/NAVDataGridView/NAVDataGridView/NAVDataGrid.cs
935
C#
namespace AsterNET.Manager.Action { /// <summary> /// The ZapTransferAction transfers a zap channel. /// </summary> public class ZapTransferAction : ManagerAction { /// <summary> /// Get the name of this action, i.e. "ZapTransfer". /// </summary> public overri...
27.863636
72
0.528548
[ "MIT" ]
1stco/AsterNET
Asterisk.2013/OldAsterNET/Asterisk.NET/Manager/Action/ZapTransferAction.cs
613
C#
using UnityEngine; using System.Collections; using RootMotion.FinalIK; namespace RootMotion.Demos { /// <summary> /// Demo of exploding a viking using FBBIK /// </summary> public class ExplosionDemo : MonoBehaviour { public SimpleLocomotion character; // Reference to the SimpleLocomotion component public fl...
35.298701
122
0.738779
[ "MIT" ]
669-Development-Team/Mecha-Fighter-VR
Mecha Fighter VR/Assets/Plugins/RootMotion/FinalIK/_DEMOS/FBBIK/Scripts/ExplosionDemo.cs
2,720
C#
using System; namespace PuertsStaticWrap { public static class UnityEngine_ParticleSystem_PlaybackState_Wrap { [Puerts.MonoPInvokeCallback(typeof(Puerts.V8ConstructorCallback))] private static IntPtr Constructor(IntPtr isolate, IntPtr info, int paramLen, long data) { ...
30.4
134
0.524123
[ "MIT" ]
HFX-93/luban_examples
Projects/TypeScript_Unity_Puerts_Bin/Assets/Gen/UnityEngine_ParticleSystem_PlaybackState_Wrap.cs
1,370
C#
using System.Threading; using System.Threading.Tasks; using Duende.IdentityServer.Models; using IdOps.IdentityServer.Model; using IdOps.IdentityServer.Storage; namespace IdOps.IdentityServer.ResourceUpdate { public class ClientMessageConsumer : ResourceMessageConsumer<IdOpsClient> { private readonly IC...
29.807692
77
0.727742
[ "MIT" ]
SwissLife-OSS/IdOps
src/IdentityServer/src/IdentityServer.Core/Resources/Client/ClientMessageConsumer.cs
775
C#
/* _BEGIN_TEMPLATE_ { "id": "TB_TagTeam_ClearBoard", "name": [ "你的下一个目标来了", "Your Next Victim Comes" ], "text": [ "消灭所有随从。吸取所有法力值。获得5点生命值。", "Destroy all minions. Drain all Mana. Gain 5 Health." ], "cardClass": "NEUTRAL", "type": "SPELL", "cost": 10, "rarity": null, "set": "TB", "c...
17.259259
57
0.60515
[ "MIT" ]
chi-rei-den/Silverfish
cards/TB/TB/Sim_TB_TagTeam_ClearBoard.cs
528
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipe...
56.997151
368
0.662451
[ "MIT" ]
vidai-msft/azure-sdk-for-net
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlStoredProcedure.cs
20,006
C#
using CryptoExchange.Net; using CryptoExchange.Net.Objects; using Newtonsoft.Json; using Okex.Net.Converters; using Okex.Net.CoreObjects; using Okex.Net.Enums; using Okex.Net.Helpers; using Okex.Net.RestObjects.Funding; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using Sys...
62.471631
255
0.667906
[ "MIT" ]
EricGarnier/OKEx.Net
Okex.Net/OkexClient_Funding.cs
35,236
C#
using System; using System.Collections.Generic; using System.Linq; namespace Xamarin.PropertyEditing.Drawing { /// <summary> /// An abstract description of a gradient brush, composed of gradient stops. /// </summary> public abstract class CommonGradientBrush : CommonBrush, IEquatable<CommonGradientBrush> { prot...
32.47619
110
0.715543
[ "MIT" ]
Acidburn0zzz/Xamarin.PropertyEditing
Xamarin.PropertyEditing/Drawing/CommonGradientBrush.cs
2,728
C#
// <auto-generated /> using DriveSupport.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using System; namespace Driv...
37.683453
125
0.471172
[ "MIT" ]
itIsEazy/DriveSupport
Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
10,476
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("Ki...
36.034483
84
0.742584
[ "MIT" ]
ld0891/Kindle2OneNote
Kindle2OneNote/Properties/AssemblyInfo.cs
1,048
C#
/** * Copyright 2016 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the “License”); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
33.703704
75
0.691209
[ "Apache-2.0" ]
hakimnaas/ShowroomerCore
src/CoreMVC/Models/ElephantSQLCredentials.cs
920
C#
// <copyright file="StandaloneFileBrowser.cs" company="RedHead"> // Copyright (c) RedHead. All rights reserved. // </copyright> using System; namespace SFB { public struct ExtensionFilter { public string Name; public string[] Extensions; public ExtensionFilter(string filterName, param...
50.733766
233
0.644311
[ "CC0-1.0" ]
Chris2918/VibRibbonPlusAlphaPublic
Assets/StandaloneFileBrowser/StandaloneFileBrowser.cs
7,813
C#
namespace SampleWpfDataGrid { #region #using Directives using System.Collections.ObjectModel; #endregion public partial class TeamView { #region Construction public TeamView() { InitializeComponent(); SetupDesignTimeModel(); } #endregion #region Setting Up Model for Testing Purposes pr...
36.75
104
0.675737
[ "MIT" ]
smoura/smoura.com-WPFToolkitDatagrid
TeamView.xaml.cs
1,766
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00022235", true, 0xE1FF)] [Attributes(9)] public class LteB24TxLimitVsTemp { [ElementsC...
21.52381
60
0.612832
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/LteB24TxLimitVsTempI.cs
452
C#
// ----------------------------------------------------------------------------- // <copyright file="IrcClient.cs" company="Zack Loveless"> // Copyright (c) Zack Loveless. All rights reserved. // </copyright> // ----------------------------------------------------------------------------- namespace Atlantis.N...
29.52381
185
0.634716
[ "MIT" ]
Genesis2001/Lantea
Code/Atlantis/Atlantis.Net.Irc/IrcClient.cs
13,022
C#
using logviewer.Interfaces; using logviewer.ViewModel; using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Diagnostics; using System.Linq; using System.Windows; using System.Windows.Markup; namespace logviewer { /// <summary> /// Interaktionslogik für MainWind...
34.081633
167
0.605988
[ "MIT" ]
sitopmn/logviewer
logviewer/MainWindow.xaml.cs
3,343
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
39.455556
118
0.604478
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/SecretsManager/Generated/Model/TagResourceRequest.cs
7,118
C#
using Certify.Api.Extensions; using FluentAssertions; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; namespace Certify.Api.Test.ModelTests { public class ExpenseTests : CertifyTest { public ExpenseTests(ITestOutputHelper iTestOutputHelper) : base(iTestOutputHelper) { } [Fact] public ...
18.060606
84
0.701342
[ "MIT" ]
panoramicdata/Certify.Api
Certify.Api.Test/ModelTests/ExpenseTests.cs
596
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace AbpCompanyName.AbpProjectName.Migrations { public partial class Upgrade_To_ABP_6_4_rc1 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateIndex( name: "IX_Abp...
31.68
71
0.609848
[ "MIT" ]
EduardoSantanaSeverino/module-zero-core-template
aspnet-core/src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/Migrations/20210628103231_Upgrade_To_ABP_6_4_rc1.cs
794
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.029851
122
0.686842
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/GuardDuty/Generated/Model/Internal/MarshallTransformations/DataSourceConfigurationsMarshaller.cs
2,280
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("Doc...
37.567568
84
0.747482
[ "MIT" ]
darkthread/SharePointDocLibDemo
src/DocListTool/Properties/AssemblyInfo.cs
1,393
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Security.Principal; namespace Loupe.Agent.AspNetCore.Models { [SuppressMessage("ReSharper", "CollectionNeverUpdated.Global")] [SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")] public class LogRequest { ...
28.588235
67
0.711934
[ "MIT" ]
snakefoot/Loupe.Agent.Core
src/AspNetCore2/Models/LogRequest.cs
488
C#
using System; using System.Collections.Generic; using System.Net; namespace Scraper.Services { public class SourceResult { public HttpStatusCode StatusCode { get; set; } public string Body { get; set; } public Exception Error { get; set; } } }
17.9375
54
0.644599
[ "MIT" ]
traviswilliams/Scraper
Scraper/Scraper.Services/Models/SourceResult.cs
289
C#
// <copyright file="AssemblyInfo.cs" company="Milyli"> // Copyright © 2016 Milyli // </copyright> 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 attri...
37
84
0.74555
[ "MIT" ]
Milyli/RelativityScriptRunner
Milyli.ScriptRunner.Agent/Properties/AssemblyInfo.cs
1,521
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
46.333333
166
0.643885
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Models/Generated/GroupLifecyclePolicy.cs
2,224
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.Batch.Models { /// <summary> The state of the Job Schedule. </summary> public enum JobScheduleState { /// <summary> The Job Schedule is active and...
58.84
397
0.719239
[ "MIT" ]
Petermarcu/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/Azure.Batch/src/Generated/Models/JobScheduleState.cs
1,471
C#
// <copyright file="WrapPanel.cs" company="Dark Bond, Inc."> // Copyright © 2016-2018 - Dark Bond, Inc. All Rights Reserved. // </copyright> // <author>Donald Roy Airey</author> namespace DarkBond.Views.Controls { using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; usi...
46.730245
149
0.59691
[ "MIT" ]
DonaldAirey/dark-bond-main
DarkBond.Views.UWP/Controls/WrapPanel.cs
17,153
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityTK; namespace OsFPS { /// <summary> /// Specialized weapon handler for <see cref="FirstPersonEntity"/> entities. /// </summary> [RequireComponent(typeof(FirstPersonEntity))] public class Fi...
29.903226
122
0.582794
[ "MIT" ]
kennux/OsFPS
Assets/OsFPS/Code/Entity/FirstPerson/FirstPersonWeaponHandler.cs
3,710
C#
//------------------------------------------------------------------------------ // <copyright file="QilDataSource.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> //-----------------------------------------...
30.895833
115
0.431558
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/XmlUtils/System/Xml/Xsl/QIL/QilDataSource.cs
1,483
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.WebUtilities; using Microsoft.Extensions.Logging; using Piipan.Dashboard.Api; using Piipan.Shared.Claims; ...
38.824074
119
0.598855
[ "CC0-1.0" ]
18F/piipan
dashboard/src/Piipan.Dashboard/Pages/ParticipantUploads.cshtml.cs
4,193
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.HumanResources { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrou...
20.737705
136
0.728063
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.HumanResources/Disability_GradeObjectIDType.cs
1,265
C#
// // PureMVC C# Multicore // // Copyright(c) 2020 Saad Shams <saad.shams@puremvc.org> // Your reuse is governed by the Creative Commons Attribution 3.0 License // using PureMVC.Interfaces; namespace PureMVC.Patterns.Command { /// <summary> /// A SimpleCommand subclass used by MacroCommandTestCommand. ...
30.515152
123
0.643496
[ "BSD-3-Clause" ]
PureMVC/puremvc-csharp-multicore-framework
PureMVCTests/Patterns/Command/MacroCommandTestSub1Command.cs
1,009
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; using System.Web.Script.Serialization; using System.Xml.Serialization; using XCode; using XCode.Configuration; using XCode.DataAccessLayer; namespace COMCMS.Core { /// <summary>数据字典</summary> [Seria...
35.540146
172
0.542822
[ "MIT" ]
NewLifeX/comcms
XCoder/Entity/数据字典.cs
5,165
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IWithRoomSyntax.cs" company="bbv Software Services AG"> // Copyright (c) 2014 - 2020 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not u...
41.516129
119
0.589744
[ "Apache-2.0" ]
bbvch-academy/CleanCode.Academy
source/Testing.Sample/5 Builder with Syntax Sample/Builder/IWithRoomSyntax.cs
1,287
C#
using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; using OpenTK.Input; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Refle...
33.92968
209
0.469383
[ "MIT" ]
TominoCZ/SharpCraft
SharpCraft/SharpCraft.cs
37,155
C#
using UnityEngine; public class Touch : Sense { void OnTriggerEnter(Collider other) { Aspect aspect = other.GetComponent<Aspect>(); if (aspect != null) { //Check the aspect if (aspect.aspectType != aspectName) { print("Enemy Touch Detected"); ...
21.875
49
0.514286
[ "MIT" ]
StanHaakman/unity-tutorial
Assets/Scripts/Touch.cs
350
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace SitecoreCognitiveServices.Foundation.IBMSDK.Assistant.Models { public class CreateWorkspace { [JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)] public string Name { get; set; } [JsonProperty("descripti...
50.071429
88
0.708987
[ "MIT" ]
markstiles/SitecoreCognitiveServices.Core
src/Foundation/IBMSDK/code/Assistant/Models/CreateWorkspace.cs
1,402
C#
using System.Collections.Generic; namespace UB3RB0T { public class BotResponseData { public List<string> Responses { get; set; } = new List<string>(); public EmbedData Embed; } }
19
73
0.645933
[ "MIT" ]
ChaseHollins/Yuudachi-Bot
src/Types/BotResponseData.cs
211
C#
// ====================================== // Author: Ebenezer Monney // Email: info@ebenmonney.com // Copyright (c) 2017 www.ebenmonney.com // ====================================== using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Lin...
28.111111
131
0.606437
[ "MIT" ]
zouzou73/medicme
src/medicme/Helpers/MinimumCountAttribute.cs
1,773
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; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; u...
41
229
0.717652
[ "MIT" ]
crummel/dotnet_corefx
src/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ReflectionModel/PartCreatorMemberImportDefinition.cs
2,419
C#
/* Poly2Tri * Copyright (c) 2009-2010, Poly2Tri Contributors * http://code.google.com/p/poly2tri/ * * 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 m...
40.310345
84
0.727545
[ "MIT" ]
nromblon/AR-GIS
Assets/CityGML2GO/Poly2Tri/Triangulation/Delaunay/Sweep/AdvancingFrontNode.cs
2,340
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NtApiDotNet")] [assembly: AssemblyDescrip...
39.833333
84
0.74477
[ "Apache-2.0" ]
avboy1337/sandbox-attacksurface-analysis-tools
NtApiDotNet/Properties/AssemblyInfo.cs
1,437
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace signalr_scale_out.Pages { public class PrivacyModel : PageModel { private readonly I...
20.64
57
0.678295
[ "MIT" ]
cealer/chat_signalr_scale_out
signalr_scale_out/Pages/Privacy.cshtml.cs
518
C#
using System; using System.Threading; using System.Threading.Tasks; namespace KPreisser { /// <summary> /// Contains extension methods for <see cref="AsyncReaderWriterLockSlim"/>. /// </summary> public static class AsyncReaderWriterLockSlimExtension { /// <summary> /// Enters the l...
49.222997
119
0.634317
[ "MIT" ]
kpreisser/AsyncReaderWriterLockSlim
AsyncReaderWriterLockSlim/AsyncReaderWriterLockSlimExtension.cs
14,129
C#
namespace STS.Application.Models { public class CulturesDisplayViewModel { public string Value { get; set; } public string Text { get; set; } public bool Current { get; set; } } }
21.7
41
0.608295
[ "MIT" ]
mrgrayhat/CleanMicroserviceArchitecture
src/MicroServices/IdentityServer/Core/Application/Models/CulturesDisplayViewModel.cs
219
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...
42.628866
178
0.645707
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/Model/WAFStaleDataException.cs
4,135
C#
using System.Collections.Generic; using Orchard.Environment.Extensions.Models; using Orchard.Security.Permissions; namespace Orchard.Roles { public class Permissions : IPermissionProvider { public static readonly Permission ManageRoles = new Permission { Description = "Managing Roles", Name = "ManageRoles...
35.821429
162
0.614158
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Web/Modules/Orchard.Roles/Permissions.cs
1,005
C#
namespace Labuladong; public class FreqStack { private int maxFreq = 0; private Dictionary<int, int> valuefreq = new(); private Dictionary<int, Stack<int>> freqvalue = new(); public FreqStack() { } public void Push(int c) { var freq = 1; if (valuefreq.ContainsKey(c)) ...
20.27451
58
0.478723
[ "Apache-2.0" ]
futugyou/CodeFragments
Algorithm/Labuladong/FreqStack.cs
1,034
C#
#if NET462 using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Diagnostics; using static Chessar.Hooks; using static Microsoft.VisualStudio.TestTools.UnitTesting.Assert; namespace Chessar.UnitTests.Hooks { partial class HooksTests { [TestMethod, Conditional("TRACE")] ...
37.413793
124
0.716129
[ "MIT" ]
chessar/LongPaths
UnitTests/Chessar.LongPaths/Hooks/TraceGetFullPathInternalPatchedError.cs
1,087
C#
namespace Atomiv.Core.Application.Messaging { class IRequestBus { } }
11.857143
44
0.662651
[ "MIT" ]
atomiv/atomiv-cs
src/Core/Application/Messaging/IRequestBus.cs
85
C#
using System; namespace PodcastRadio.iOS.Interfaces { public interface IXiOSView { object ParameterData { get; set; } bool ShowAsPresentView { get; } } }
18.3
42
0.644809
[ "MIT" ]
joaowd/PodcastRadio
PodcastRadio.iOS/Interfaces/IXiOSView.cs
185
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CoreGraphics; using Foundation; using UIKit; using Xamarin.Forms.Internals; using RectangleF = CoreGraphics.CGRect; namespace Xamarin.Forms.Platform.iOS { public class Platform : BindableObject, INavigation, IDispos...
30.06721
189
0.72702
[ "MIT" ]
Opti-Q/Xamarin.Forms
Xamarin.Forms.Platform.iOS/Platform.cs
14,763
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...
35.3
137
0.609537
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/Internal/MarshallTransformations/DetectFacesRequestMarshaller.cs
4,236
C#
/* * 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 ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
36.45
90
0.762003
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-r-kvstore/R_kvstore/Transform/V20150101/RemoveSubInstanceResponseUnmarshaller.cs
1,458
C#
// ***************************************************************************** // // (c) Crownwood Consulting Limited 2002 // All rights reserved. The software and associated documentation // supplied hereunder are the proprietary information of Crownwood Consulting // Limited, Haxey, North Lincolnshire, Engla...
40.374659
147
0.525662
[ "MIT" ]
chandusekhar/gViewGisOS
gView.GeoProcessing.UI/IDE/Controls/TabbedGroups/TabGroupLeaf.cs
29,635
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 Microsoft.DotNet.VersionTools.BuildManifest.Model; using System; namespace Microsoft.DotNet.Build.Tasks.Feed....
39.542373
106
0.593656
[ "MIT" ]
0xced/arcade
src/Microsoft.DotNet.Build.Tasks.Feed/src/model/TargetChannelConfig.cs
4,666
C#
using Newtonsoft.Json; using System.Collections.Generic; namespace TMDb.Client.Api.V3.Models.People { public class PeopleTranslationsResponse : TMDbResponse { [JsonProperty("id")] public virtual int Id { get; set; } [JsonProperty("translations")] public virtual IEnumerable<Per...
26.428571
80
0.686486
[ "MIT" ]
joshuajones02/TMDb
TMDb.Client/API/V3/Models/People/PeopleTranslationsResponse.cs
372
C#
using System; using Engine.Models; namespace Engine.Actions { public class AttackWithWeapon : BaseAction, IAction { private readonly int _maximumDamage; private readonly int _minimumDamage; public AttackWithWeapon(GameItem itemInUse, int minimumDamage, int maximumDamage) ...
31.346154
107
0.553374
[ "MIT" ]
Boyce-Bellair/rphOriginalFiles
Engine/Actions/AttackWithWeapon.cs
1,632
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /*S-shaped piece*/ public class TetrisSBlock : TetrisBlock { private static Material blockMaterial = Resources.Load("Materials/Piece2_Mat", typeof(Material)) as Material; private Vector3[][] rotationConfigurations; public TetrisSBlock...
33.553191
110
0.733037
[ "MIT" ]
PuzzleBot/Tetris-Remake
Assets/Scripts/Tetris_Blocks/TetrisSBlock.cs
1,579
C#
// *********************************************************************** // <copyright file="AssemblyInfo.cs" company="Holotrek"> // Copyright © Holotrek 2016 // </copyright> // *********************************************************************** using System.Reflection; using System.Runtime.CompilerServices...
42.47619
108
0.68722
[ "MIT" ]
holotrek/kore-asp
Kore/Providers/Containers/Kore.Providers.Containers.TinyIoC/Properties/AssemblyInfo.cs
1,788
C#
/* * Copyright 2010-2013 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...
42.628866
180
0.654414
[ "Apache-2.0" ]
mahanthbeeraka/dataservices-sdk-dotnet
AWSSDK/Amazon.ElasticLoadBalancing/Model/Internal/MarshallTransformations/CreateLoadBalancerListenersResponseUnmarshaller.cs
4,135
C#
using System.Linq; using FluentNHibernate.MappingModel; using FluentNHibernate.MappingModel.Collections; using FluentNHibernate.Testing.DomainModel.Mapping; using NUnit.Framework; namespace FluentNHibernate.Testing.FluentInterfaceTests { [TestFixture] public class OneToManyMutablePropertyModelGenerati...
36.424107
116
0.551048
[ "BSD-3-Clause" ]
jbogard/fluent-nhibernate
src/FluentNHibernate.Testing/FluentInterfaceTests/OneToManyMutablePropertyModelGenerationTests.cs
8,159
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; namespace Tinylytics { [Serializable] public class AnalyticsTrigger { // Properties for Lifecycle [SerializeField] public TriggerEvent triggerEvent; //// Delegate for triggering when using properties ...
17.735294
53
0.699834
[ "Unlicense" ]
apetersell/NewThesisRepo
RockBand_Game25 copy/Assets/Tinylytics_AnalyticsTool/Backend/AnalyticsTrigger.cs
605
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace MpesaSDK.NET.Dtos.Callbacks { public class B2BResult: BaseResult { [JsonProperty("ReferenceData")] public B2BReferenceData ReferenceData { get; set; } public override string ToString() ...
22.277778
59
0.665835
[ "Apache-2.0" ]
davidmutia47/MpesaSDK.NET
MpesaSDK.NET/Dtos/Callbacks/B2BResult.cs
403
C#
// Copyright (C) 2014 dot42 // // Original filename: Org.Apache.Http.Conn.Ssl.cs // // 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 // ...
50.369369
1,844
0.686773
[ "Apache-2.0" ]
Dot42Xna/master
Generated/v4.0.3/Org.Apache.Http.Conn.Ssl.cs
22,364
C#
//--------------------------------------------------------------------- // <copyright file="FacetDescriptionElement.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // // @owner [....] // @backupOwner [....] //---------------------------------------------...
30.389937
136
0.527525
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/DataEntity/System/Data/EntityModel/SchemaObjectModel/FacetDescriptionElement.cs
4,832
C#
using Hoteles.Modelos; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hoteles.BL { public class ClientesBL { public List<Cliente> ListaDeClientes { get; set; } public ClientesBL() { ListaDeClient...
20.770833
93
0.613842
[ "MIT" ]
yosephf02f/hotel
Hoteles/Hoteles/BL/ClientesBL.cs
999
C#
using Pims.Dal; using Entity = Pims.Dal.Entities; namespace Pims.Core.Test { /// <summary> /// EntityHelper static class, provides helper methods to create test entities. /// </summary> public static partial class EntityHelper { /// <summary> /// Create a new instance of an Person. ...
35.677419
156
0.529385
[ "Apache-2.0" ]
FuriousLlama/PSP
backend/tests/core/Entities/PersonHelper.cs
2,212
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; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Ta...
39.704
165
0.612936
[ "MIT" ]
ARhj/runtime
src/libraries/Microsoft.Extensions.Hosting/src/Internal/Host.cs
4,963
C#
using ISAAR.MSolve.LinearAlgebra.Commons; using ISAAR.MSolve.LinearAlgebra.Matrices; using ISAAR.MSolve.LinearAlgebra.Tests.TestData; using ISAAR.MSolve.LinearAlgebra.Tests.Utilities; using ISAAR.MSolve.LinearAlgebra.Vectors; using Xunit; namespace ISAAR.MSolve.LinearAlgebra.Tests.Matrices { /// <summary> ///...
55.71875
153
0.670312
[ "Apache-2.0" ]
TheoChristo/MSolve.Bio
ISAAR.MSolve.LinearAlgebra.Tests/Matrices/CscMatrixTests.cs
10,700
C#
namespace SyncTrayzor.Pages.BarAlerts { public interface IBarAlert { AlertSeverity Severity { get; } } }
16.625
40
0.616541
[ "MIT" ]
Bararie/SyncTrayzor
src/SyncTrayzor/Pages/BarAlerts/IBarAlert.cs
128
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request to get a sip device type. /// See Also: SystemDeviceTypeGetRequest ...
30.617021
131
0.648367
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemSIPDeviceTypeGetRequest23V7.cs
1,439
C#
using System; using System.ComponentModel.DataAnnotations.Schema; using Yuebon.Commons.Models; namespace Yuebon.DataProcess.Models { /// <summary> /// 使用插件的配置信息 /// </summary> [Table("dp_plug_confdetail")] [Serializable] public class Plug_ConfDetail : BaseEntity<string> { ...
22.166667
54
0.535338
[ "MIT" ]
JonasChan2020/DataProcess
Yuebon.DataProcess.Core/Models/Plug_ConfDetail.cs
735
C#
using Fumbbl.Model.Types; using System.Collections.Generic; namespace Fumbbl.UI.LogText { public class Pushback : LogTextGenerator<Ffb.Dto.Reports.Pushback> { public override IEnumerable<LogRecord> Convert(Ffb.Dto.Reports.Pushback report) { Player attacker = FFB.Instance.Model.GetP...
37.076923
135
0.584025
[ "MIT", "Unlicense" ]
christerk/FFBUnity
Assets/Scripts/UI/LogText/Pushback.cs
966
C#
using System; using System.ComponentModel.DataAnnotations; namespace PartsUnlimited.Models { public class CartItem : ILineItem { // second change [Key] public int CartItemId { get; set; } [Required] public string CartId { get; set; } public int ProductId { get;...
23.5
52
0.603482
[ "MIT" ]
mhubert-pmn/PartsUnlimitedE2E
PartsUnlimited-aspnet45/src/PartsUnlimitedWebsite/Models/CartItem.cs
519
C#
#region Copyright // // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // 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 restr...
41.332539
245
0.546946
[ "MIT" ]
Mhtshum/Dnn.Platform
DNN Platform/Library/Services/Authentication/OAuth/OAuthClientBase.cs
34,681
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a T4 template. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------...
26.4
81
0.496212
[ "MIT" ]
Accelerider/Accelerider.Windows
Source/Accelerider.Windows.Modules.Group/I18nResources/ResKeys.cs
530
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Passenger.Data; #nullable disabl...
33.010101
84
0.495104
[ "MIT" ]
bagalaty/Airline-Microservices
src/Services/Airline.Passenger/src/Passenger/Data/Migrations/20220309230648_initial.Designer.cs
3,270
C#