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
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/websecurityscanner/v1/finding_type_stats.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Pro...
34.907407
242
0.676711
[ "Apache-2.0" ]
Global19/google-cloud-dotnet
apis/Google.Cloud.WebSecurityScanner.V1/Google.Cloud.WebSecurityScanner.V1/FindingTypeStats.cs
9,425
C#
// Copyright (c) Microsoft. All Rights Reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.CodeDom.Compiler; using System.Collections.Generic; using Microsoft.CodeAnalysis.Sarif.Readers; namespace Microsoft.CodeAnalysis.Sarif { ...
30.668224
123
0.428767
[ "MIT" ]
Microsoft/sarif-sdk
src/Sarif/Autogenerated/ArtifactEqualityComparer.cs
6,563
C#
namespace mmoManager { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class Character { public int CharacterID { get; set; } pu...
23.03125
55
0.614654
[ "MIT" ]
Tidogo/mmoManager
Character.cs
737
C#
using System.Text.RegularExpressions; namespace Aliencube.AzureFunctions.Extensions.OpenApi.Configurations { /// <summary> /// This represents the entity for route constraint filter. /// </summary> public class RouteConstraintFilter { /// <summary> /// Initializes a new instance of...
30.424242
99
0.559761
[ "MIT" ]
Bpflugrad/AzureFunctions.Extensions
src/Aliencube.AzureFunctions.Extensions.OpenApi/Configurations/RouteConstraintFilter.cs
1,006
C#
using Microsoft.Win32; using System; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using Path = System.IO.Path; namespace Blide { /* This tool lets you create botlists easier Notes: -------------------------- remove: ...
52.697987
4,400
0.531457
[ "MIT" ]
Blideapp/Blide
blide/Botlist.xaml.cs
15,707
C#
/* * MailSlurp API * * MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) ...
31.55
472
0.646989
[ "MIT" ]
mailslurp/mailslurp-client-csharp
src/mailslurp.Test/Model/InboxRulesetTestResultTests.cs
2,524
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; namespace Microsoft.ReverseProxy.Utilities { internal sealed class Clock : IClock { private readonly ValueStopwatch _stopwatch = ValueStopwatch.StartNew(); ...
29.44
88
0.726902
[ "MIT" ]
akramtexas/reverse-proxy
src/ReverseProxy/Utilities/Clock.cs
736
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // asso...
43.482143
99
0.694456
[ "MIT" ]
ioteratech/bluetera-windows-sdk
source/examples/HelloBlueteraWpf/Properties/AssemblyInfo.cs
2,383
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace HFEA.Connector.Contracts.Centre { public class Licence { // // Summary: // End Date [JsonProperty("endDate")] public DateTime? EndDate { get; set; } // // Summary: ...
27.163934
58
0.515389
[ "BSD-3-Clause" ]
hfea/Website-Public
Source/HFEA.API.Connector/Source/HFEA.Connector.Contracts/Centre/Licence.cs
1,659
C#
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; namespace AddInsShare.Common { /// <summary> /// Dependency Object extensions /// </summary> public static class DependencyObjectEx...
37.600939
146
0.531527
[ "Apache-2.0" ]
tmatinde/route-monitor-for-geoevent
DashboardAddIns/AddInsShare/Common/DependencyObjectExtensions.cs
8,011
C#
using System.Collections.Generic; using System.Linq; using AutoMapper; using MArchive.DataContext; using MArchive.Domain.Lookup; using MArchiveLibrary.Repository; using MArchiveLibrary.ObjectMapping; using MArchiveLibrary.ExtendedDataContext; namespace MArchive.BL { public class DirectorBL : BLBase { priv...
33.759259
152
0.696105
[ "MIT" ]
chakian/movie-archive
MArchive.BL/DirectorBL.cs
1,825
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq.Expressions; using SimpleEssentials.IO.Readers; using SimpleEssentials.IO.Types; using SimpleEssentials.IO.Writers; namespace SimpleEssentials.IO { public interface IFileHandler : IHandler { IFile Create(string...
38.5
94
0.724911
[ "MIT" ]
JTOne123/SimpleEssentials
SimpleEssentials.Standard/IO/IFileHandler.cs
849
C#
using System.Collections.Generic; namespace ProfitManager.Models { public interface IProfitSaleProvider { List<ProfitModel> GetSales(int parentId); } }
19.222222
49
0.722543
[ "MIT" ]
VisualAcademy/EntityFrameworkCore
ProfitManager/ProfitManager/Models/IProfitSaleProvider.cs
175
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 Xunit; namespace Microsoft.CodeQuality.Analyzers.ApiDesignGuidelines.UnitTests { /// <summary> /// Contains those unit tests for the Identifie...
26.646667
161
0.636477
[ "Apache-2.0" ]
RikkiGibson/roslyn-analyzers
src/Microsoft.CodeQuality.Analyzers/UnitTests/ApiDesignGuidelines/IdentifiersShouldNotMatchKeywordsTypeRuleTests.cs
3,999
C#
using ShineEngine; /// <summary> /// 场景推送基类(generated by shine) /// </summary> public class SceneSResponse:SceneBaseResponse { /// <summary> /// 数据类型ID /// </summary> public const int dataID=SceneBaseResponseType.SceneS; public SceneSResponse() { _dataID=SceneBaseResponseType.SceneS; setNeed...
16.291667
65
0.622762
[ "Apache-2.0" ]
hw233/home3
core/client/game/src/commonGame/net/sceneBaseResponse/base/SceneSResponse.cs
834
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
34.481481
85
0.542427
[ "MIT" ]
uaijoaopaulo/ProjetoIntegradorUNAMED
ProjetoIntegrador/Model/comentario.cs
931
C#
namespace ClassLib102 { public class Class004 { public static string Property => "ClassLib102"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib102/Class004.cs
120
C#
/* * The MIT License * * Copyright 2019 Palmtree Software. * * 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, co...
44.320442
165
0.488532
[ "MIT" ]
rougemeilland/Palmtree.Math.Core.Sint
Palmtree.Math.Core.Sint.CodeGen.TestPattern/TEST_ParseX.cs
8,024
C#
using System; using Xunit; using Sample.MergeIntervals; namespace Sample.Tests{ public class UnitTest_MergeIntervals{ [Theory] [InlineData(0,0)] public void checkResult(int n,int expected){ Assert.Equal(expected,mergeIntervals.naive(n)); } } }
21.214286
59
0.649832
[ "MIT" ]
zcemycl/algoTest
cs/sample/Sample.Tests/MergeIntervals/testMergeIntervals.cs
297
C#
using Recoil.net.DevTools.Converters; using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace Recoil.net.DevTools.Converters { /// <summary> /// Convertert to convert from null to visibility /// </summary> public class NullToVisibilityConverter : IValueConverter { p...
28.721311
97
0.750571
[ "Apache-2.0" ]
ByronMayne/Recoil.Net
src/Recoil.net.DevTools/Converters/NullToVisibilityConverter.cs
1,754
C#
//----------------------------------------------------------------------- // <copyright file="ComponentServices.cs">(c) http://www.codeplex.com/MSBuildExtensionPack. This source is subject to the Microsoft Permissive License. See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx...
46.893333
377
0.562655
[ "MIT" ]
BlackFrog1/MSBuildExtensionPack
Releases/4.0.9.0/Main/Framework/Computer/ComponentServices.cs
24,619
C#
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Laurus.ProdTest.Core; namespace Laurus.ProdTest.UnitTests { [TestClass] public class UnitTest1 { [TestMethod] public void RunDiscovery() {...
27.340426
74
0.564202
[ "MIT" ]
thebeekeeper/Laurus.ProdTest
Laurus.ProdTest.UnitTests/UnitTest1.cs
1,287
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Negocio { public class clFornecedores { //propriedades public string banco { get; set; } public in...
37.791411
79
0.524513
[ "MIT" ]
ricardohtakuno/Cadastro_de_Cliente
Dados do Cliente/AcessoDB/clFornecedores.cs
6,163
C#
using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; namespace JwtBlogArtikelApi.Models { [Index(nameof(Mail), IsUnique = true)] public class Email { public int Id { get; set; } public bool? Activated { get; set; } = false;...
27.444444
54
0.635628
[ "Apache-2.0" ]
alexander-lawaetz/final-exam
JwtBlogArtikelApi/JwtBlogArtikelApi/Models/Email.cs
496
C#
// ----------------------------------------------------------------------- // <copyright file="ExcelFormatHelper.cs" company=""> // Copyright 2014 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using System.Collections.Generic; using OfficeOpen...
32.9375
120
0.543327
[ "BSD-3-Clause" ]
esusini/QPAS
QPAS/Utilities/ExcelFormatHelper.cs
1,583
C#
public class Torpedo : Missile { void Awake() { seekBehavior = new SeekWithSonar(); } }
13.625
43
0.568807
[ "MIT" ]
PacktPublishing/Hands-On-Game-Development-Patterns-with-Unity-2018
Assets/Patterns/Strategy/Torpedo.cs
111
C#
using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; using UnityEngine; namespace BDFramework.Http { public class HttpClient : WebClient { public HttpClient() { } ...
19.357143
64
0.638376
[ "Apache-2.0" ]
HugoFang/BDFramework.Core
Assets/Code/BDFramework/Core/HttpMgr/HttpClient.cs
544
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
35.748663
163
0.57801
[ "ECL-2.0", "Apache-2.0" ]
Dominik-K/pulumi-aws
sdk/dotnet/Sfn/StateMachine.cs
6,685
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.ComponentModel.Design { public class DesignerTransactionCloseEventArgs : EventArgs { /// <summary> /// Creates a new event args. Commit is tr...
38.53125
156
0.667478
[ "MIT" ]
2m0nd/runtime
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/DesignerTransactionCloseEventArgs.cs
1,233
C#
using System; using System.Transactions; using Abp.Data; using Abp.Dependency; using Abp.Domain.Uow; using Abp.EntityFrameworkCore; using Abp.Extensions; using Abp.MultiTenancy; using Microsoft.EntityFrameworkCore; namespace Abp.Zero.EntityFrameworkCore { public abstract class AbpZeroDbMigrator<TDbContext> : IAbp...
34.487805
108
0.64215
[ "MIT" ]
muyumuqing/Abp.Zero3
src/Abp.Zero.EntityFrameworkCore/Zero/EntityFrameworkCore/AbpZeroDbMigrator.cs
2,830
C#
using Projecto.Data; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Projecto.ViewModels { public class ProjectAssignmentsViewModel { public string ProjectName { get; set; } public IEnumerable<UserInfo> Users { get; set; } publ...
27.647059
69
0.582979
[ "Apache-2.0" ]
medvedbeast/Projecto
projecto/ViewModels/Project/ProjectAssignmentsViewModel.cs
942
C#
namespace AzureFromTheTrenches.Commanding.Abstractions { public interface ICommandAuditSerializer { string Serialize(ICommand command); } }
20.125
55
0.73913
[ "MIT" ]
cjrpriest/AzureFromTheTrenches.Commanding
Source/AzureFromTheTrenches.Commanding.Abstractions/ICommandAuditSerializer.cs
163
C#
using Net.LawORM.Entity.Base; using System; namespace BuroAsistan.Source.BO { internal class Person : BaseBO { private int _OBJID; public int OBJID { set { _OBJID = value; OnPropertyChanged("OBJID"); } get { return _OBJID; } } private string _Fi...
22.977778
77
0.526596
[ "Apache-2.0" ]
mustafasacli/BuroAsistan.Repo
BuroAsistan/BuroAsistan/Source/BO/Person.cs
2,068
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; using HealthKit; namespace HKWork { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { private HKHealthStore healthKitStore = new HKHealthStore (); public override UIWindow Win...
27.483333
125
0.742874
[ "MIT" ]
Art-Lav/ios-samples
ios8/IntroToHealthKit/HKWork/AppDelegate.cs
1,649
C#
[TrackClipTypeAttribute] // RVA: 0x12DC50 Offset: 0x12DD51 VA: 0x12DC50 [TrackBindingTypeAttribute] // RVA: 0x12DC50 Offset: 0x12DD51 VA: 0x12DC50 [TrackColorAttribute] // RVA: 0x12DC50 Offset: 0x12DD51 VA: 0x12DC50 [Serializable] public class CinemachineTrack : TrackAsset // TypeDefIndex: 4729 { // Methods // RVA: ...
34.375
98
0.763636
[ "MIT" ]
SinsofSloth/RF5-global-metadata
_no_namespace/CinemachineTrack.cs
550
C#
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
29.790698
64
0.75566
[ "Apache-2.0" ]
Bit-Quill/opensearch-net
src/Osc/Analysis/TokenFilters/Synonym/SynonymFormat.cs
1,281
C#
using System; using JetBrains.Annotations; using OpenTK.Audio.OpenAL; namespace Bearded.Audio; /// <summary> /// Generic OpenAL exception. /// </summary> [PublicAPI] public class ALException : Exception { /// <summary> /// The OpenAL error type. /// </summary> public ALError Type { get; } /// <s...
21.607143
71
0.626446
[ "MIT" ]
beardgame/audio
src/Bearded.Audio/Core/exceptions/ALException.cs
607
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.EntityFrameworkCore; using TaskMAN.Data; using TaskMAN.Models; namespace TaskMAN.Pages.TaskEntries { public class DeleteModel ...
24.016667
86
0.553088
[ "Apache-2.0" ]
leftidev/TaskMAN
TaskMAN/Pages/TaskEntries/Delete.cshtml.cs
1,443
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace RWLayout.alpha2.FastAccess { public partial class Dynamic { public static Func<TInstance, TResult> InstanceRetMethod<TInstance, TResult>(string methodN...
54.698795
294
0.707048
[ "MIT" ]
krypt-lynx/RWLayout
Source/RWLayout/FastAccess/Dynamic+InstanceRetMethod.cs
4,542
C#
 using UnityEngine; namespace SBaier.Input.Test { public class TestSelectionAction : MonoBehaviour { [SerializeField] private Selectable _selectable = null; [SerializeField] private MeshRenderer _meshRenderer = null; [SerializeField] private Material _notSelected = null; [SerializeField] private Ma...
20.428571
54
0.724942
[ "MIT" ]
BlackLambert/unity-sbaier-input
Input/Assets/Script/SelectorTest/TestSelectionAction.cs
860
C#
using System; namespace TALib { public static partial class Core { public static RetCode HtDcPhase(double[] inReal, int startIdx, int endIdx, double[] outReal, out int outBegIdx, out int outNbElement) { outBegIdx = outNbElement = 0; if (startIdx < 0 || endId...
35.398618
130
0.456942
[ "BSD-3-Clause" ]
DamianManelski/TA-Lib.NetStandard2.0
src/TALib.NETCore/TAFunc/TA_HtDcPhase.cs
15,363
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...
49.248366
320
0.569608
[ "MIT" ]
Skycloudmedua/azure-sdk-for-net
src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face/Generated/PersonGroupPersonExtensions.cs
15,070
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AttackOpponentFighterController : FighterController { public override string Identifier { get { return "ATTACK"; } } public override void Awa...
22.847826
140
0.629876
[ "Apache-2.0" ]
dennisfokker/NeuralCompanion
Assets/Scripts/Controllers/FighterControllers/AttackOpponentFighterController.cs
1,053
C#
namespace EFDatatable { /// <summary> /// Define a command. /// </summary> public class Command { /// <summary> /// Gets the title. /// </summary> /// <value> /// The title. /// </value> public string Title { get; private set; } /// <s...
25.5
74
0.461361
[ "MIT" ]
JTOne123/EFDatatable
EFDatatable/Models/Command.cs
869
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.Globalization; using NuGet.Shared; namespace NuGet.Frameworks { /// <summary> /// Internal cache key used to store f...
26.632184
111
0.550712
[ "Apache-2.0" ]
0xced/NuGet.Client
src/NuGet.Core/NuGet.Frameworks/CompatibilityCacheKey.cs
2,317
C#
using System; namespace JS_Test.Areas.HelpPage.ModelDescriptions { /// <summary> /// Describes a type model. /// </summary> public abstract class ModelDescription { public string Documentation { get; set; } public Type ModelType { get; set; } public string Name { get; set;...
20.625
50
0.615152
[ "Apache-2.0" ]
alleks8/Chess
JS_Test/Areas/HelpPage/ModelDescriptions/ModelDescription.cs
330
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using NLog; namespace TTController.Service.Manager { public sealed class TimerManager : IDisposable { private static readonly Logger Logger = LogManager.GetCurrentClassLogger(...
30.435252
90
0.451011
[ "MIT" ]
Operation760/TTController
Source/TTController.Service/Manager/TimerManager.cs
8,461
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using PKMDS_CS; namespace PKMDS_Save_Editor { public partial class frmPKMViewer : Form { public PKMDS.Pokemon SharedPok...
36.462174
187
0.493784
[ "Unlicense" ]
codemonkey85/PKMDS-Save-Editor-Build
PKMDS-Save-Editor/PKMDS-Save-Editor/PKMDS-Save-Editor/frmPKMViewer.cs
57,357
C#
namespace BookShop.Data { internal static class DataSettings { internal const string DefaultConnection = @"Server=.\SQLEXPRESS;Database=BookShop;Integrated Security=True"; } }
24.625
116
0.720812
[ "MIT" ]
stanislavstoyanov99/SoftUni-Software-Engineering
DB-with-C#/Labs-And-Homeworks/Entity Framework Core/07. Advanced Querying - Exercise/BookShop.Data/DataSettings.cs
199
C#
// <auto-generated /> using System; using API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace API.Migrations { [DbContext(typeof(StoreContext))] partial class StoreContextModelSnapshot : Model...
34.168807
101
0.405649
[ "MIT" ]
szerem/learn-to-build-an-e-commerce-store-with-dotnet-react-redux
ReStore/API/Migrations/StoreContextModelSnapshot.cs
18,624
C#
namespace ForumSystem.Data.Common.Models { using System; public interface IAuditInfo { DateTime CreatedOn { get; set; } DateTime? ModifiedOn { get; set; } } }
16.166667
42
0.613402
[ "MIT" ]
Avanguarde/csharp-web
2020-Jan-Season/ASP-NET-Core/ForumSystem/Data/ForumSystem.Data.Common/Models/IAuditInfo.cs
196
C#
using UnityEngine; using XNodeEditor; namespace PofyTools { [CustomNodeGraphEditor(typeof(CategoryGraph))] public class CategoryGraphEditor : NodeGraphEditor { private CategoryGraph _catGraph; /// <summary> /// Overriding GetNodeMenuName lets you control if and how nodes are cate...
31.045455
112
0.560761
[ "MIT" ]
PofyTeam/PofyTools
CategoryGraph/Editor/CategoryGraphEditor.cs
1,368
C#
// ----------------------------------------------------------------------- // <copyright file="Snapshot.cs" company="RossKing"> // Copyright (c) RossKing. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Media.Metadata; /// <summary> /// The sn...
29.308411
124
0.527423
[ "MIT" ]
rsking/Media.Metadata
Media.Metadata.Core/Snapshot.cs
3,138
C#
using System; using System.Data; using ServiceStack.OrmLite.Converters; namespace ServiceStack.OrmLite.SqlServer.Converters { public class SqlServerBoolConverter : BoolConverter { public override string ColumnDefinition { get { return "BIT"; } } public override DbT...
26.317073
87
0.582947
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/ServiceStack/ServiceStack.OrmLite.SqlServer/Converters/SqlServerBoolConverter.cs
1,081
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.340909
81
0.665169
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Dts/V20180330/Models/ModifySubscribeNameResponse.cs
1,393
C#
using System.Collections.Generic; using System.Security.Claims; namespace DeviceManagement.Services { /// <summary> /// Token service to generate token /// </summary> public interface ITokenService { /// <summary> /// Generate access toke with the claims /// </summary> ...
27.205128
67
0.562677
[ "Apache-2.0" ]
jeevasusej/DeviceManagement
DeviceManagement/Service/ITokenService.cs
1,063
C#
using Main; using AI.ScriptBased; using UnityEngine; namespace ScriptBasedAI { class MoveTo : ScriptAction { private Vector3 m_TargetPos; public MoveTo(Vector3 targetPos) { m_TargetPos = targetPos; } public override bool Update() { Tank...
22.694118
79
0.536029
[ "MIT" ]
dotlive/TankBattle
Assets/Scripts/ExampleAI/ScriptBasedAI/MyTank.cs
1,931
C#
using System; using System.Collections.Generic; namespace Calculator.LinqLike { public static partial class Calculator { public static ILinqLikeCalculator<T> Create<T>(params T[] values) where T : struct, IConvertible => new RootLinqLikeCalculator<T>(values); public static...
30
104
0.602899
[ "MIT" ]
dcvsling/fluent-api-example
src/Calculator.LinqLike/Calculator.cs
690
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("MoeMoonUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProd...
25.378378
56
0.713525
[ "MIT" ]
yiyungent/demos
MoeMoon/MoeMoon/MoeMoonUI/Properties/AssemblyInfo.cs
1,280
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using SQLite4Unity3d; [Serializable] public class Person { [PrimaryKey] public string Name { get; set; } public string Password { get; set; } public int Score { get; set; } public int LocationId { get; set...
20.375
40
0.702454
[ "MIT" ]
YinLam-Chan/SDV-NewGame
Assets/Scenes/Scripts/Models/DataServices/Person.cs
328
C#
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using NeoSharp.Core.Blockchain.Repositories; using NeoSharp.Core.Models; using NeoSharp.Core.Models.OperationManger; using NeoSharp.Core.Types; using NeoSharp.TestHelpers; using NeoSharp.Types; namespace NeoSharp.Core.Test.Models { ...
34.887113
116
0.439952
[ "MIT" ]
BSathvik/neo-sharp
test/NeoSharp.Core.Test/Models/UtTransactionVerifier.cs
34,922
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using ewmsCsharp.Classes; using ewmsCsharp.Interfaces; namespace ewmsCsharp.Classes { public class Customer : Data, ICustomer, IDataImage { #region Public member...
31.714286
140
0.623624
[ "MIT" ]
w3arthur/CSharp-Reference
ewmsCsharpUnDevelopVersion/ewmsCsharp/Classes/Customer.cs
2,000
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _01.House_Price { class Program { static void Main(string[] args) { decimal start = int.Parse(Console.ReadLine()); decimal end = int.Parse(Conso...
23.382353
58
0.425157
[ "MIT" ]
delian1986/C-SoftUni-repo
Programming Basics/exersiceForExam/november 20 evening/01. House Price/06.max_comb.cs
797
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
45.113636
120
0.684635
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/AccessContextManager/Inputs/ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSourceGetArgs.cs
1,985
C#
// <auto-generated /> using System; using BaseModels; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Ba...
32.426343
79
0.404329
[ "Apache-2.0" ]
DeKuczma/GW2-Trader
backend/Db_Models/Migrations/20210106133059_ChangedItemIconName.Designer.cs
18,712
C#
using System; using System.Collections.Generic; using System.Reflection; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query; namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests { public class MySqlComplianceTest : RelationalComplianceTestBase { // TODO: Implement rem...
34.09375
99
0.696609
[ "MIT" ]
rodrigue10/Pomelo.EntityFrameworkCore.MySql
test/EFCore.MySql.FunctionalTests/MySqlComplianceTest.cs
1,093
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Windows.System; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace TranscendenceChat_UAP.Common {...
42.810502
133
0.585889
[ "MIT" ]
tamifist/Transcendence
TranscendenceChat-UAP/TranscendenceChat-UAP/Common/NavigationHelper.cs
18,753
C#
// This file was created automatically, do not modify the contents of this file. // ReSharper disable InvalidXmlDocComment // ReSharper disable InconsistentNaming // ReSharper disable CheckNamespace // ReSharper disable MemberCanBePrivate.Global using System; using System.Runtime.InteropServices; // Source...
39.107143
142
0.792694
[ "Apache-2.0" ]
mrkriv/UnrealDotNet
Plugins/UnrealDotNet/Source/UnrealEngineSharp/Generate/Struct/FCrowdAvoidanceSamplingPattern.cs
2,190
C#
using System; using UnityEngine; using Valve.VR; public class ViveStrokeReader : MonoBehaviour { private bool _isTriggerHeld = false; private bool _areBristlesDown = false; private bool _isTouchHeld = false; private Vector2 _prevTouch = new Vector2(0, 0); public float _moveThreshold = 0.005f; ...
31.953271
136
0.561568
[ "MIT" ]
THING-Lab/HapticVRWizard
HapticVRWizard/Assets/Scripts/Inputs/ViveStrokeReader.cs
6,840
C#
using System; using System.Linq; using System.Reflection; using EntitiesBT.Attributes.Editor; using UnityEditor; using UnityEngine; using EntitiesBT.Variant; namespace EntitiesBT.Editor { [CustomPropertyDrawer(typeof(VariantScriptableObjectValueAttribute))] public class VariantScriptableObjectValueAttributeDra...
41.442308
107
0.564269
[ "MIT" ]
r2d2m/EntitiesBT
Packages/variable.scriptable-object/Editor/VariantScriptableObjectValueAttributeDrawer.cs
2,155
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
23.535714
59
0.737481
[ "MIT" ]
nuitsjp/XamarinSamples
OnBackButtonPressed/OnBackButtonPressed/OnBackButtonPressed.UWP/MainPage.xaml.cs
661
C#
using System; namespace Camus.Projects { public struct AssetBundleInfo : IEquatable<AssetBundleInfo> { public string Name { get; } public AssetBundleInfo(string name) { Name = name; } public bool Equals(AssetBundleInfo other) ...
20.166667
63
0.4573
[ "MIT" ]
litsungyi/Camus
Scripts/Core/Projects/AssetBundleInfo.cs
1,089
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PCControllerTest : Racer { // [SerializeField] // private float groundAcceleration = 0.5f; //7f is a default but overwriteable value [SerializeField] private float turnAcceleration = 0.5f; [Ser...
27.621302
132
0.592973
[ "MIT" ]
n8sthegr8est/2020_Studios
2020/Assets/Scripts/PCControllerTest.cs
4,670
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace System.Windows.Controls { public enum ClickMode { Release, Press, //Hover, } }
15.1875
33
0.662551
[ "MIT" ]
Ref12/Grazor
src/Granular/Granular.Presentation/Controls/ClickMode.cs
245
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("Tr...
36.941176
84
0.742834
[ "MIT" ]
keutmann/TrustStamp
TrustStampTests/Properties/AssemblyInfo.cs
1,259
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; namespace MatBlazor { /// <summary> /// The autocomplete is a normal text input enhanced by a panel of suggested options. /// </summary> /// <typeparam n...
36.025641
223
0.574021
[ "MIT" ]
databinding-gmbh/MatBlazor
src/MatBlazor/Components/MatAutocompleteList/BaseMatAutocompleteList.cs
8,432
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Xml.Linq; namespace MS.Internal.Xml.Linq.ComponentModel { [SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClass...
37.931034
153
0.546932
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/XLinq/System/Xml/Linq/XComponentModel.cs
17,600
C#
using System.Linq; using Xunit; namespace Xamarin.AndroidX.Migration.Tests { public class DependenciesTests : BaseTests { [Fact] public void CanLoadJsonFile() { var tree = PackageDependencyTree.Load(); Assert.NotEmpty(tree.Packages); Assert.NotNull(tree.Packages.FirstOrDefault(p => p.Id == "Xamarin...
24.529262
96
0.690768
[ "MIT" ]
4brunu/XamarinAndroidX
tests/AndroidXMigrationTests/Tests/DependenciesTests.cs
9,642
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AecCloud.Core.Domain.Projects { public class ProjectInvitation : Entity { /// <summary> /// 项目ID /// </summary> public long ProjectId { get; set; } ...
25.666667
57
0.509549
[ "MIT" ]
FinchYang/test
AecPrivateCloud.ALL/Core/AecCloud.Core/Domain/Projects/ProjectInvitation.cs
1,483
C#
using CommunicationProtocol.Serialization; using System; using System.Collections.Generic; namespace CommunicationProtocol.Factories { public class SerializerFactory : Factory { private static SerializerFactory _instance; public static SerializerFactory GetFactory() { if (...
25.513514
77
0.588983
[ "Apache-2.0" ]
Nono02P/Communication-Protocol
CommunicationProtocol/Factories/SerializerFactory.cs
946
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v7/resources/customer_extension_setting.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Goo...
43.896359
355
0.709655
[ "Apache-2.0" ]
deni-skaraudio/google-ads-dotnet
src/V7/Types/CustomerExtensionSetting.cs
15,671
C#
namespace $rootnamespace$ { public class $safeitemrootname$ { public $fileinputname$ Model { get; } public $fileinputname$ViewModel ViewModel { get; } public $fileinputname$View View { get; } public $safeitemrootname$($fileinputname$ model, $fileinputname$ViewModel view...
27.176471
118
0.593074
[ "MIT" ]
IObsequious/Missing-Templates
src/ItemTemplates/Common/WPFInfrastructure/Infrastructure.cs
464
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using IcgSoftware.Threema.CoreMsgApi.Results; namespace IcgSoftware.Threema.CoreMsgApi.Com { [ComVisible(true)] [Guid("4F376DEB-6F78-460...
32.333333
105
0.818299
[ "MIT" ]
pt-icg/Threema-MsgApi-Net-Core
IcgSoftware.Threema.CoreMsgApi/Com/ICryptToolWrapper.cs
778
C#
// // System.DrawingCore.Drawing2D.PenAlignment.cs // // Author: // Miguel de Icaza (miguel@ximian.com) // Dennis Hayes (dennish@Raytek.com) // // (C) 2002/3 Ximian, Inc http://www.ximian.com // Copyright (C) 2004,2006 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any p...
36.170732
73
0.734322
[ "Apache-2.0" ]
JuanSGA24/Alejandria
source/Samples/deprecated/MyThaiStar/reporting/ZKWeb.System.Drawing/System.Drawing.Drawing2D/PenAlignment.cs
1,483
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.962963
151
0.584801
[ "MIT" ]
giautm/dispatch-tool
Router/Properties/Settings.Designer.cs
1,081
C#
 namespace NextGenSoftware.OASIS.API.Core.Interfaces.STAR { public interface IPortalCore : ICelestialBodyCore { } }
16.125
56
0.728682
[ "CC0-1.0" ]
NextGenSoftwareUK/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
NextGenSoftware.OASIS.API.Core/Interfaces/STAR/CelestialBodies/IPortalCore.cs
131
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
32.057692
102
0.656869
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Cwp/V20180228/Models/DescribeBaselineBasicInfoResponse.cs
1,781
C#
using System; using System.Collections.Generic; namespace it { public readonly struct Question { public readonly string Text { get; } public readonly string Answer { get; } internal Question(string text, string answer) => (Text, Answer) = (text, answer); } ...
23
54
0.599379
[ "MIT" ]
ellmaster/C-sharp-clipboardquestionanswer-
Question.cs
324
C#
using System; using System.Linq; using UnityEngine.TestTools; using UnityEngine.TestTools.TestRunner; namespace UnityEditor.TestTools.TestRunner.Api { internal class TestLauncherFactory : ITestLauncherFactory { public TestLauncherBase GetLauncher(ExecutionSettings executionSettings) {...
39.447368
150
0.640761
[ "MIT" ]
FernandaDev/GlitchGarden
Glitch Garden/Library/PackageCache/com.unity.test-framework@1.1.3/UnityEditor.TestRunner/Api/TestLauncherFactory.cs
2,998
C#
using System; namespace AMS.API.Areas.HelpPage { /// <summary> /// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. /// </summary> public class InvalidSample { public InvalidSample(string errorMessage) { ...
26.189189
134
0.572755
[ "MIT" ]
vasylenkoArtem/AccountManagementSystem
Services/Application/AMS.API/Areas/HelpPage/SampleGeneration/InvalidSample.cs
969
C#
namespace FairMark.DataContracts { using System; /// <summary> /// Custom <see cref="System.DateTime"/> wrapper class to work around serialization issues. /// Some API methods assume that date+time fields look like this: "2018-12-12T00:00:00Z". /// While some others assume that date+time fields lo...
39.8
103
0.580235
[ "MIT" ]
FairMark/FairMarkClient
FairMark/DataContracts/CustomDateTimeSpace.cs
2,987
C#
using System; using System.Collections; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Runtime.Serialization; using System.Web; using System.Web.Configuration; using System.Web.Mvc; using ClientDependency.Core.Config; using Microsoft.Owin; using Microsoft.Owin.Security; u...
51.33547
225
0.500895
[ "MIT" ]
linuselander/Umbraco-CMS
src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
24,027
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Sample.Data.Migrations { public partial class CreateIdentitySchema : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
45.477477
117
0.500396
[ "MIT" ]
AmagiTech/SampleWeb
src/Sample.Data/Migrations/20220316182944_CreateIdentitySchema.cs
10,098
C#
namespace ConstellationUnityEditor { public interface ICopyable { void Copy (); void Paste (); void Cut (); } }
20.428571
36
0.566434
[ "MIT" ]
ConstellationLanguage/Constellation
Constellation/Assets/Constellation/Editor/Scripts/Interfaces/ICopyable.cs
143
C#
using System; namespace Xamarin.Forms.TabView { public class TabTappedEventArgs : EventArgs { public int Position { get; set; } } }
17
47
0.653595
[ "MIT" ]
Redth/Xamarin.Forms.TabView
src/Xamarin.Forms.TabView/TabTappedEventArgs.cs
155
C#
using System; using System.Collections.Generic; using System.Text; namespace PlayersAndMonsters.Models.Cards { public class TrapCard : Card { public TrapCard(string name) : base(name, 120, 5) { } } }
16.666667
41
0.608
[ "MIT" ]
Mithras11/C_Sharp-OOP-SoftUni
Exams/19.04.2019/PlayersAndMonsters/Models/Cards/TrapCard.cs
252
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. // The CaptureCollection lists the captured Capture numbers // contained in a compiled Regex. using System; using S...
30.433884
107
0.554379
[ "Apache-2.0" ]
Valks/peachpie
src/Peachpie.Library/PerlRegex/RegexCaptureCollection.cs
7,365
C#
/* Copyright © 2021 Lee Kelleher. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #if NET472 using System.ComponentModel; namespace Umbraco.Core.IO { [Edit...
26.266667
70
0.705584
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
CarlSargunar/umbraco-contentment
src/Umbraco.Community.Contentment/Polyfill/IIOHelper.cs
791
C#
#if WITH_EDITOR #if PLATFORM_64BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { [StructLayout(LayoutKind.Explicit,Size=12)] public partial struct FCollisionProfileName { [FieldOffset(0)] public FName Name; } } #endif #endif
16.263158
44
0.783172
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/FCollisionProfileName.cs
309
C#
using System.Globalization; using System.Threading.Tasks; using Abp.Authorization; using Abp.Configuration; using Abp.Configuration.Startup; using Abp.Extensions; using Abp.Net.Mail; using Abp.Runtime.Security; using Abp.Runtime.Session; using Abp.Timing; using Abp.Zero.Configuration; using Abp.Zero.Ldap.Configuration...
54.679174
232
0.703026
[ "Apache-2.0" ]
afonsoft/SetBox-VideoPlayer
SetBoxWebUI_New/src/Afonsoft.SetBox.Application/Configuration/Tenants/TenantSettingsAppService.cs
29,146
C#