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
/* 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...
28.956204
158
0.610285
[ "Apache-2.0" ]
Bit-Quill/opensearch-net
tests/Tests/ClientConcepts/HighLevel/Mapping/AutoMap.doc.cs
11,901
C#
#pragma warning disable 1591 // ReSharper disable UnusedParameter.Global namespace NServiceBus.Unicast { using System; public partial class UnicastBus { [ObsoleteEx(RemoveInVersion = "6", TreatAsErrorFromVersion = "5", Message = "InMemory.Raise has been removed from the core please see http...
38.189189
200
0.631989
[ "Apache-2.0", "MIT" ]
ChrisMissal/NServiceBus
src/NServiceBus.Core/Unicast/UnicastBus_Obsolete.cs
1,377
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. namespace Roslynator.CSharp.CodeFixes.Test { internal static class RemoveRedundantAssignment { } }
27.4
160
0.755474
[ "Apache-2.0" ]
TechnoridersForks/Roslynator
source/Test/CodeFixesTest/RemoveRedundantAssignment.cs
276
C#
namespace Eventus { using Domain; using Events; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; public static class AggregateCache { private static List<Assembly>? _internalAggregateAssemblies; private static Dictionary<Type, ...
32.452381
107
0.557594
[ "MIT" ]
ForrestTech/Eventus
src/Eventus/AggregateCache.cs
2,728
C#
using System; namespace Bridge { [Ignore] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate | AttributeTargets.Interface, AllowMultiple = true)] public class AllowAttribute : Attribute { } }
27.9
173
0.749104
[ "Apache-2.0" ]
corefan/Bridge
Bridge/Attributes/AllowAttribute.cs
281
C#
namespace DotNetty.Transport.Tests.Channel { using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using DotNetty.Common.Concurrency; using DotNetty.Common.Utilities; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Embedded;...
37.652466
124
0.607039
[ "MIT" ]
cuteant/SpanNetty
test/DotNetty.Transport.Tests/Channel/CombinedChannelDuplexHandlerTest.cs
16,795
C#
using Game.IO; namespace Game.Items.Weapons { class Club : Weapon { public Club() { Name = TextResources.GetStringByResourceName("club"); Damage = 13; } } }
15.642857
65
0.515982
[ "MIT" ]
Rinkton/console_game-forest_demon
NewRpgGame/Game/Items/Weapons/Club.cs
221
C#
using System; using System.Collections.Generic; using System.IO; namespace Consolus { public enum ConsoleStyleKind { Color, Format, Reset, } public readonly struct ConsoleStyle : IEquatable<ConsoleStyle> { /// https://en.wikipedia.org/wiki/ANSI_escape_code ...
49.583333
167
0.665635
[ "BSD-2-Clause" ]
thild/kalk
src/Consolus/ConsoleStyle.cs
11,307
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UGUIModel : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
14.235294
40
0.698347
[ "MIT" ]
Aver58/ColaFrameWork
Assets/Scripts/UIBase/UGUIModel.cs
244
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 Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml.Controls.Primitives; usin...
31.72561
105
0.547953
[ "MIT" ]
oxygen-dioxide/edgium
edgium/BrowserTab.xaml.cs
5,529
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.ResourceManager; using Azure.ResourceManager.Sql; namespace Azure.Reso...
44.196721
252
0.758531
[ "MIT" ]
danielortega-msft/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongRunningOperation/ServerDatabaseVulnerabilityAssessmentCreateOrUpdateOperation.cs
2,696
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using Market; using Market.Controllers; namespace Market.Tests.Controllers { [TestClass] public class HomeControllerTest { [TestMethod] ...
23.036364
90
0.568272
[ "MIT" ]
AyudanteDeSanta/Market
Market/Market.Tests/Controllers/HomeControllerTest.cs
1,269
C#
using SC2APIProtocol; using SC2Sharp.Agents; using SC2Sharp.Managers; using SC2Sharp.Util; namespace SC2Sharp.Micro { public class StalkerAttackNaturalController : CustomController { private Unit Bunker = null; private Point2D EnemyNatural; private int UpdateFrame = 0; public ...
31.964286
115
0.503166
[ "MIT" ]
SimonPrins/TyrSc2
Tyr/Micro/StalkerAttackNaturalController.cs
2,687
C#
using System; namespace AdvantureWork.Common.Request { public class UserDeleteRequest { public Guid Id { get; set; } } }
15.777778
38
0.647887
[ "Apache-2.0" ]
thanhntggsunday/AdvantureWork2017
AdvantureWork.Common/Request/UserDeleteRequest.cs
144
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.DependencyInjection; using Funq; using ServiceStack; using CoreLayerADC.CipherMetricsExporter.ServiceInterface; using ServiceStack.Logging; using Prometheus; using ServiceStack.Api.Open...
33.83871
122
0.642993
[ "Apache-2.0" ]
CoreLayer/CoreLayerADC.CipherMetricsExporter
CoreLayerADC.CipherMetricsExporter/CoreLayerADC.CipherMetricsExporter/Startup.cs
2,098
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
32.676471
84
0.50045
[ "MIT" ]
chris-weekes/atrium
lmras/DeskbookSAM/english/atrium/content_manager/SAMPageSelector.aspx.designer.cs
1,113
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.Json.Serialization; namespace EasyModular.Utils { /// <summary> /// 查询结果模型 /// </summary> /// <typeparam name="T"></typeparam> public class QueryResultModel<T> { /// <summary> /// 总数 //...
19.677419
42
0.504918
[ "MIT" ]
doordie1991/EasyModular
src/EasyModular.Utils/Result/QueryResultModel.cs
642
C#
using System; namespace Jira.WallboardScreensaver.EditPreferences { public interface IEditPreferencesView { string JiraUrl { get; set; } IDashboardDisplayItem[] DashboardItems { get; set; } IDashboardDisplayItem SelectedDashboardItem { get; set; } bool DisplayHasCredentials { get; ...
33.083333
65
0.707809
[ "MIT" ]
jonscheiding/jira-wallboard-screensaver
Jira.WallboardScreensaver/EditPreferences/IEditPreferencesView.cs
796
C#
using System; namespace RogueSharp.DiceNotation.Exceptions { /// <summary> /// Exception that is thrown when a dice term is constructed with a negative number of dice. /// </summary> public class InvalidMultiplicityException : Exception { /// <summary> /// Initializes a new instance of the I...
44.647059
244
0.688406
[ "MIT" ]
hybrid1969/RogueSharp
RogueSharp/DiceNotation/Exceptions/InvalidMultiplicityException.cs
1,518
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("Thr...
37.405405
84
0.746387
[ "MIT" ]
domEnriquez/Algorithms
ThreeSum/ThreeSum/Properties/AssemblyInfo.cs
1,387
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { public interface IGetInfluencersResponse : IResponse { [JsonProperty("count")] long Count { get; } [JsonProperty("influencers")] IReadOnlyCollection<BucketInfluencer> Influencers { get; } } public class GetInfluencersResponse : Re...
24.363636
127
0.766791
[ "Apache-2.0" ]
Henr1k80/elasticsearch-net
src/Nest/XPack/MachineLearning/GetInfluencers/GetInfluencersResponse.cs
538
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Devices { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public enum MediaCapt...
27.65
62
0.721519
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Devices/MediaCapturePauseBehavior.cs
553
C#
/* * Copyright 2013 Splunk, 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 applicable law or...
32.897436
98
0.507794
[ "Apache-2.0" ]
splunk/splunk-sdk-csharp
examples/search/Program.cs
2,568
C#
using System.ComponentModel.DataAnnotations; using Boilerplate.Common.Data; namespace Boilerplate.MongoDB.Sample.Models; public class Customer : IEntity<string> { [Key] [Required] public string Id { get; set; } [Required] public string Name { get; set; } }
18.666667
44
0.707143
[ "MIT" ]
mkozhevnikov/boilerplate
samples/MongoDB.Sample/Models/Customer.cs
280
C#
using System; using EZNEW.ValueType; using EZNEW.Develop.Domain.Aggregation; using EZNEW.Domain.Sys.Repository; using EZNEW.Develop.CQuery; using EZNEW.Entity.Sys; using EZNEW.Module.Sys; using EZNEW.Domain.Sys.Service; using EZNEW.DependencyInjection; namespace EZNEW.Domain.Sys.Model { /// <summary> /// 授权操作 ...
23.436364
122
0.483476
[ "MIT" ]
eznew-net/Demo
Modules/Sys/Business/Domain/EZNEW.Domain.Sys/Model/Operation.cs
7,043
C#
namespace AstArangoDbConnector.Syntax { public sealed class SyntaxDotInterfaceDeclarationSyntax : BaseSyntaxCollection { } }
23.5
83
0.758865
[ "MIT" ]
arise-project/iso3
AstGraphDbConnector/AstArangoDbConnector/SyntaxCollections/SyntaxDotInterfaceDeclarationSyntax.cs
141
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.Collections.Generic; using System.Linq; using Xunit; namespace System.CodeDom.Tests { public class CodeIterationStatementTests : CodeStatementTestBase<CodeIteration...
40.726316
192
0.663479
[ "MIT" ]
2m0nd/runtime
src/libraries/System.CodeDom/tests/System/CodeDom/CodeIterationStatementTests.cs
3,869
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FoiceAtk : MonoBehaviour { [SerializeField]GameObject target; [SerializeField]GameObject boss; float speedSet; bool grounded, hit; bool controlFlag1 = true; bool controlFlag2 = true; int hitCount; ...
28.876106
120
0.538155
[ "MIT" ]
reegomes/Nekomancer
Assets/Scripts/FoiceAtk.cs
3,265
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/00022634", true, 0xE1FF)] [Attributes(9)] public class TdscdmaB34MprBasedPaSwitchpointsShift { ...
22.52381
60
0.630021
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/TdscdmaB34MprBasedPaSwitchpointsShiftI.cs
473
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Orchard.Environment.Shell.Builders.Models; namespace Harvest.Two.HelloWorld.Models { public class HelloModel { public ShellBlueprint Blueprint { get; set; } public bool Exists { get; set; } ...
21.8
53
0.718654
[ "BSD-3-Clause" ]
Jetski5822/OrchardHarvestFeb2017
runthough/Harvest.Two/Modules/Harvest.Two.HelloWorld/Models/HelloModel.cs
329
C#
// Copyright 2013 Zynga 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 applicable law or agree...
28.409091
111
0.7184
[ "Apache-2.0" ]
drewgreenwell/playscript-mono
mcs/class/pscorlib/flash/display3D/GLUtils.cs
1,250
C#
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.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 restrict...
30.829932
116
0.609665
[ "MIT" ]
LaudateCorpus1/Dnn.EVS
SQLAzureMigration/SQLAzureMWUtils/RulesEngine/TSQLNotSupportedByAzure.cs
9,067
C#
 /* File Generated by NetTiers templates [www.nettiers.com] Important: Do not modify this file. Edit the file SqlTestTimestampProvider.cs instead. */ #region using directives using System; using System.Data; using System.Data.Common; using System.Text; using Microsoft.Practices.EnterpriseLibrary.Data...
37.876074
198
0.688393
[ "MIT" ]
aqua88hn/netTiers
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Data.SqlClient/SqlTestTimestampProviderBase.generated.cs
30,871
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace De.Sven_Torben.Serialization_Benchmark.Logging { sealed class ConsoleLogger : AbstractDetailsLogger { protected override void Log(string serializerName, int bytes, int iterati...
37.5
240
0.690667
[ "MIT" ]
sventorben/serialization-benchmark
net/Logging/ConsoleLogger.cs
752
C#
// Decompiled with JetBrains decompiler // Type: OnyxServer.xmpp.query.ClanCreate // Assembly: OnyxServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 55A849F0-90C5-4313-B057-B0361B81D824 // Assembly location: C:\Users\Дмитрий\Downloads\New Compressed (zipped) Folder\servers\tls\OnyxServer.dll usin...
39.809524
180
0.669458
[ "MIT" ]
myrka32/wartls
xmpp/query/ClanCreate.cs
2,517
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 BenchmarkDotNet.Attributes; using Microsoft.Data.DataView; using Microsoft.ML.Benchmarks.Harness; using Micros...
33.878788
144
0.585719
[ "MIT" ]
calcbench/machinelearning
test/Microsoft.ML.Benchmarks/PredictionEngineBench.cs
6,708
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("Fas...
37.837838
84
0.749286
[ "Unlicense" ]
oxygencraft/FastOSStartupMod
FastOSStartupMod/FastOSStartupMod/Properties/AssemblyInfo.cs
1,403
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using CouchDB.Driver.ChangesFeed.Filters; using CouchDB.Driver.Types; namespace CouchDB.Driver.ChangesFeed { /// <summary> /// Represent a filter for the changes feed. /// </summary> [System.Diagnostics.CodeAnalysis.Suppres...
42.648148
160
0.645245
[ "MIT" ]
AlexandrSHad/couchdb-net
src/CouchDB.Driver/ChangesFeed/ChangesFeedFilter.cs
2,305
C#
/* * https://github.com/PandaWood/ExceptionReporter.NET */ using System.Linq; using System.Windows.Forms; using ExceptionReporting.SystemInfo; namespace ExceptionReporting.WinForms { ///<summary> /// WinForms extension ///</summary> // ReSharper disable once ClassNeverInstantiated.Global internal class SysInf...
26.444444
98
0.734244
[ "MIT" ]
OGMichel/ExceptionReporter.NET
src/ExceptionReporter.WinForms/WinForms/SysInfoResultMapperWinForm.cs
952
C#
using System; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Newbe.Claptrap.Localization; namespace Newbe.Claptrap.Core { public class ClaptrapActor : IClaptrap { private readonly IClaptrapIdentity _claptrapIdentity; private readonly ILogger<ClaptrapActor> _lo...
36.658228
103
0.61982
[ "MIT" ]
Z4t4r/Newbe.Claptrap
src/Newbe.Claptrap/Core/ClaptrapActor.cs
2,896
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using GraphQL.Subscription; using Microsoft.Extensions.Logging.Abstractions; using NSubstitute; using Xunit; namespace GraphQL.Server.Transports.Subscriptions.Abstractions.Tests { public class SubscriptionServerFacts { publi...
36.855856
105
0.593253
[ "MIT" ]
OneCyrus/server
tests/Transports.Subscriptions.Abstractions.Tests/SubscriptionServerFacts.cs
4,093
C#
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace TFLiteTestApp { public class App : Application { public App() { TFLite.Interpreter interpreter = null; try { ...
28.575758
148
0.510074
[ "Apache-2.0" ]
BalyshevArtem/ONE
runtime/contrib/TFLiteSharp/TFLiteTestApp/TFLiteTestApp_App.cs
1,888
C#
/* This file is a part of JustLogic product which is distributed under the BSD 3-clause "New" or "Revised" License Copyright (c) 2015. All rights reserved. Authors: Vladyslav Taranov. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
40.203704
79
0.777982
[ "BSD-3-Clause" ]
AqlaSolutions/JustLogic
Assets/JustLogicUnits/Generated/Color/JLColorGetLinear.cs
2,171
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Runtime.Serialization; using System.Security.Permissions; /// <summary> /// This Class throws the ...
27.473684
103
0.684547
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Exceptions/ReportException.cs
1,568
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CoursesApp.Models { public class TraineeCourseModel { public int CourseId { get; set; } public DateTime Registration_Date { get; set; } public TraineeModel Trainee { get; set; } } pu...
22
55
0.640909
[ "MIT" ]
ahmadomar/bosla-courses-app
App/CoursesApp/Models/TraineeModel.cs
442
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> The Azure Data Fac...
59.088496
287
0.67066
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/Dataset.cs
6,677
C#
using System.Collections.Generic; namespace InertiaAdapter.Models { public class Props { public object? Controller { get; set; } public IDictionary<string, object>? SharedProps { get; set; } public object? With { get; set; } } }
22.166667
69
0.639098
[ "MIT" ]
JPBetley/pingcrm-dotnetcore
InertiaAdapter/Models/Props.cs
266
C#
using Volo.Abp.Bundling; namespace OpenIddictDemo.Blazor; /* Add your global styles/scripts here. * See https://docs.abp.io/en/abp/latest/UI/Blazor/Global-Scripts-Styles to learn how to use it */ public class OpenIddictDemoBundleContributor : IBundleContributor { public void AddScripts(BundleContext context) ...
21.75
95
0.714943
[ "MIT" ]
JadynWong/Abp.OpenIddict
OpenIddictDemo/src/OpenIddictDemo.Blazor/OpenIddictDemoBundleContributor.cs
437
C#
using CloudObjects.App.Services; using Dapper.CX.SqlServer.Services; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; using Microsoft.OpenApi.Models; using System.Text; namespace CloudObjects.App...
37
108
0.534327
[ "MIT" ]
adamfoneil/CloudObjects
CloudObjects.App/Extensions/ServiceCollectionExtensions.cs
3,221
C#
/* * SimScale API * * The version of the OpenAPI document: 0.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; usi...
32.088435
178
0.529786
[ "MIT" ]
SimScaleGmbH/simscale-csharp-sdk
src/SimScale.Sdk/Model/Simulations.cs
4,717
C#
using System; using System.Windows.Forms; namespace Mike.Utilities.Desktop { public static class ValorPago { public static decimal ValorPagoPeloCliente(TextBox txt) { try { decimal valorPago = 0; valorPago = txt.Text == "" ? 0 : Convert....
20.6875
77
0.478852
[ "MIT" ]
mikemajesty/Minha-Dll
Mike.Utilities.Desktop/ValorPago.cs
664
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
39.645833
174
0.583079
[ "MIT" ]
udayupasani/Azure-Vault
src/ResourceManager/AzureBatch/Commands.Batch/Models/BatchAccountContext.cs
9,278
C#
namespace Modules.AQE.AQI { /// <summary> /// 空气质量指数相关信息 /// </summary> public class AQIAbout { /// <summary> /// 空气质量指数上限 /// </summary> public double AQIUpperLimit { get; set; } /// <summary> /// 空气质量指数级别 /// </summary> public string...
23.578947
49
0.440848
[ "MIT" ]
xin2015/Modules
Modules/Modules.AQE/AQI/AQIAbout.cs
1,034
C#
#pragma checksum "C:\Users\Home\Documents\GitHub\DBS-Fall-19-Bitbuilder\BitBuilder_v1\product_search.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0DF02A05342F067FF11EF72DF3FF51C0" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a...
43.6
183
0.545602
[ "MIT" ]
AALAM98mod100/DBS-Fall-19-Bitbuilder
BitBuilder_v1/obj/x86/Debug/product_search.g.cs
3,708
C#
#region License // Copyright (c) 2018-2021, exomia // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #endregion #pragma warning disable CA2211 // Non-constant fields should not be visible #pragma warning dis...
34.677419
135
0.737674
[ "BSD-3-Clause" ]
exomia/vulkan-api
src/Exomia.Vulkan.Api.Core/Extensions/NV/Vk.NV.GlslShader.cs
1,075
C#
using UnityEngine; using System.Collections; public class deactivate : MonoBehaviour { public GameObject a; public GameObject b; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (PlayerPrefs.GetInt ("task111c", 0) == 1) { Destroy(a); Destroy(b)...
16.65
48
0.660661
[ "Apache-2.0" ]
dtmakm27/Loony-s-Quest
Assets/deactivate.cs
335
C#
using UnityEngine; namespace TowerDefense { [CreateAssetMenu(menuName = "TowerDefense/GameTileContentFactory")] public class GameTileContentFactory : GameObjectFactory { [SerializeField] private GameTileContent destinationPrefab = default; [SerializeField] private GameTileContent emptyPrefab = default; [Seri...
35.139535
76
0.754467
[ "MIT" ]
yeonhong/CatlikeCodingTutorials
Assets/4. Tower Defense/Scripts/GameTileContentFactory.cs
1,513
C#
namespace Haven.Protocols.Legacy.Messages { public class PartyUpdate { public int[] MemberIds { get; set; } } }
16.714286
42
0.709402
[ "MIT" ]
k-t/haven-dotnet
Source/Haven.Protocols.Legacy/Messages/PartyUpdate.cs
119
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #if !NO_PERF using System; namespace System.Reactive.Linq.ObservableImpl { class All<TSource> : Producer<bool> { private readonly IObservable<TSource> _source; ...
28.465753
133
0.488932
[ "Apache-2.0" ]
Distrotech/mono
external/rx/Rx/NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/All.cs
2,080
C#
// Licensed to Finnovation Labs Limited under one or more agreements. // Finnovation Labs Limited licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using FinnovationLab...
32.705882
92
0.592086
[ "MIT" ]
finlabsuk/open-banking-connector-csharp
test/OpenBanking.Library.Connector.IntegrationTests/LocalMockTests/Http/ApiClientTests.cs
2,782
C#
namespace rt { public class Light { public Vector Position { get; set; } public CustomRGBColor Ambient { get; set; } public CustomRGBColor Diffuse { get; set; } public CustomRGBColor Specular { get; set; } public double Intensity { get; set; } public Light(Vecto...
34.25
128
0.616058
[ "MIT" ]
PaulMardar/mi-casa-es-su-casa
C#/ray-tracer-PaulMardar/Light.cs
687
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #if DNX451 using System.Collections.Generic; using System.Globalization; using System.Linq; #endif using System.Threading.Tasks; #if D...
34.543147
127
0.554739
[ "Apache-2.0" ]
walkeeperY/ManagementSystem
test/Microsoft.AspNet.Mvc.ModelBinding.Test/Binders/CollectionModelBinderTest.cs
6,807
C#
namespace Microsoft.Owin.Security.ApiKey { /// <summary> /// Options which control the behaviour of the authentication middleware. /// </summary> public sealed class ApiKeyAuthenticationOptions : AuthenticationOptions { /// <summary> /// The object provided by the application to pro...
43.04878
111
0.644193
[ "Apache-2.0" ]
GoBrightBV/Microsoft.Owin.Security.ApiKey
src/Microsoft.Owin.Security.ApiKey/ApiKeyAuthenticationOptions.cs
1,767
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify t...
42.03125
96
0.757249
[ "MIT" ]
ChristianGutman/Dependencies
third_party/Dragablz/Dragablz/Properties/AssemblyInfo.cs
2,693
C#
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Microsoft.Extensions.Configuration; using Microsoft...
35.829787
115
0.712589
[ "MIT" ]
calloncampbell/Enterprise-Serverless-Demo
EnterpriseServerless.FunctionApp/Functions/HttpTrigger/LoaderIO.cs
1,684
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 * ...
35.164706
164
0.623285
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Iai/V20180301/Models/VerifyPersonRequest.cs
4,077
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace DilMS_UI.Client { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd...
24.291667
99
0.588336
[ "Apache-2.0" ]
kwkau/DilMS-UI
DilMS-UI.Client/App_Start/RouteConfig.cs
585
C#
using System; using System.Collections.Generic; using UnityEngine; /// <summary> /// class SameEnemiesWaveConfig /// /// The class represents an enemies wave where all enemies use same prefab /// </summary> [CreateAssetMenu(fileName = "SameEnemiesWave_Config", menuName = "Enemies/Same Enemies Wave Config", order = 1...
20.9
112
0.748006
[ "Apache-2.0" ]
bnoazx005/TowerDefensePrototype
Assets/Scripts/SameEnemiesWaveConfig.cs
627
C#
using System.Collections.Generic; namespace AndroidBinderator { public class NuGetDependencyModel { public bool IsProjectReference { get; set; } public string NuGetPackageId { get; set; } public string NuGetVersionBase { get; set; } public string NuGetVersionSuffix { get; set; } public string NuGetVersi...
27.130435
94
0.746795
[ "MIT" ]
772801206/MyXamarinComponents
Util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/Model/NuGetDependencyModel.cs
626
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using SeamothBrineResist; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assemb...
38.763158
85
0.739986
[ "MIT" ]
DaWrecka/MetiousSubnauticaMods
SeamothBrineResist/Properties/AssemblyInfo.cs
1,476
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Elasticsearch.Net.Serialization; using Serilog.Events; using Serilog.Formatting.Json; using Serilog.Parsing; namespace Serilog.Sinks.ElasticSearch { /// <summary> /// Custom Json formatter that respect...
41.067164
174
0.618027
[ "Apache-2.0" ]
blachniet/serilog
src/Serilog.Sinks.ElasticSearch/Sinks/ElasticSearch/ElasticsearchJsonFormatter-net40.cs
5,505
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-generate...
38.414747
152
0.544266
[ "MIT" ]
TagsRocks/mudclient
Adan.Client/Properties/Settings.Designer.cs
8,338
C#
using System; namespace Leeax.Web.Components.Theme { public class CssKeyAliasFormatter : ICssValueFormatter<KeyAlias> { public string Format(Type valueType, KeyAlias value) => "var(--" + value.Value + ")"; } }
24.4
68
0.643443
[ "Apache-2.0" ]
Ieeax/web
src/Leeax.Web.Components.Theme/_CssFormatter/CssKeyAliasFormatter.cs
246
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
33.032787
153
0.578164
[ "MIT" ]
twsouthwick/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IWorkbookFunctionsHlookupRequest.cs
2,015
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. #nullable disable using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Gl...
39.15514
331
0.470451
[ "MIT" ]
SergeySmirnov-Akvelon/winforms
src/System.Windows.Forms/src/System/Windows/Forms/ComponentModel/COM2Interop/COM2TypeInfoProcessor.cs
41,898
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\dxgidebug.h(172,5) using System; using System.Runtime.InteropServices; using DXGI_DEBUG_ID = System.Guid; namespace DirectN { [Guid("d67441c7-672a-476f-9e82-cd55b44949ce"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public partial int...
52.617886
333
0.671354
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/IDXGIInfoQueue.cs
6,474
C#
// // EditableDesignerRegion.cs // // Author: // Marek Habersack <mhabersack@novell.com> // // (C) 2007 Novell, Inc. // // // 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 restric...
26.282609
93
0.714227
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Design/System.Web.UI.Design/EditableDesignerRegion.cs
2,418
C#
/* Copyright 2017 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
31.123077
86
0.661394
[ "Apache-2.0" ]
yong7743/arcgis-pro-sdk-community-samples
Map-Authoring/DictionarySymbolPreview/FromLiveExplorer/Core/CSharpFormatter.cs
2,023
C#
using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using Rest.CometChat.Abstractions; using Shouldly; namespace Rest.CometChat.Tests { [Explicit] [TestFixture] public class FriendServiceTests : BaseServiceTests<IFriendService> { [TestCase("d05178fe-7741-48c8-b2be-e4e458c4eb53", "7853eb99-e8e...
31.113208
92
0.735597
[ "MIT" ]
diegostamigni/Rest.CometChat
Rest.CometChat.Tests/FriendServiceTests.cs
1,649
C#
using System.Collections.Generic; namespace Nssol.Platypus.Infrastructure.Infos { public class NodeInfo { /// <summary> /// ノード名 /// </summary> public string Name { get; set; } /// <summary> /// 割り当て可能なメモリ(単位:Gi) /// </summary> public float Memo...
21.121212
62
0.482066
[ "Apache-2.0" ]
yonetatuu/kamonohashi
web-api/platypus/platypus/Infrastructure/Infos/NodeInfo.cs
793
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebAPI.Models { public class Menu { public long Id { get; set; } public string food1 { get; set; } public string food2 { get; set; } public string food3 { get; set; } ...
21.529412
41
0.617486
[ "MIT" ]
nigarozluk/MenuAPI
WebAPI/Models/Menu.cs
368
C#
namespace Quantify.Repository.Enum.Test.Assets.TestUnits { [BaseUnit(TestUnit_MultipleMissingAndInvalidUnitAttributes.Metre)] public enum TestUnit_MultipleMissingAndInvalidUnitAttributes { Millimetre = 17, [Unit("0.01")] Centimetre = 18, [Unit("Hello, World!")] Decim...
26.388889
70
0.591579
[ "MIT" ]
acidicsoftware/dotnet-quantify-repository-enum
test/Quantify.Repository.Enum.Test.Assets/TestUnits/TestUnit_MultipleMissingAndInvalidUnitAttributes.cs
477
C#
using ExpandedContent.Config; using ExpandedContent.Extensions; using ExpandedContent.Utilities; using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes; using Kingmaker.Blueprints.Classes.Prerequisites; using Kingmaker.Blueprints.Classes.Selection; using Kingmaker.Blueprints.Items; using Kingmaker.Designers.Me...
68.626866
174
0.67997
[ "MIT" ]
ka-dyn/kadynsWoTRMods
ExpandedContent/Tweaks/Deities/Alseta.cs
9,204
C#
// ┌∩┐(◣_◢)┌∩┐ // \\ // LightManagerEditor.cs (26/03/2017) \\ // Autor: Antonio Mateo (Moon Antonio) \\ // Descripcion: Herramienta para controlar las luces de al escena. \\ // Fecha Mod: 28/04/2018 \\ // Ultima Mod: Redime...
33.183857
164
0.657973
[ "MIT" ]
MoonAntonio/LightsManager
LightsManager Project/Assets/Moon Antonio/Light Manager/Editor/LightManagerEditor.cs
7,418
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
34.628378
216
0.556488
[ "MIT" ]
nmusco/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/ConversationDivisionMembership.cs
5,125
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/mfmediaengine.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.R...
44.344086
205
0.672405
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/mfmediaengine/IMFTimedTextNotify.cs
4,126
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...
31.408451
138
0.587444
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/cognitiveservices/FormRecognizer/src/Generated/Models/Line.cs
2,230
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web.Mvc; using System.Web.Script.Serialization; using uFramework.Common.Extensions; namespace uFramework.MVC.Extensions { public static class DataTableExtensions { public static M...
39.785714
166
0.559374
[ "MIT" ]
jmirancid/uFramework
uFramework.MVC/Extensions/DataTableExtensions.cs
3,901
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2020 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
38.054795
97
0.62023
[ "MIT" ]
blackwork/dotnetrdf
Libraries/dotNetRDF/Configuration/CredentialsFactory.cs
2,778
C#
using System; namespace Ex003 { class Program { static void Main(string[] args) { Console.WriteLine("Qual a hora atual ?"); int x = int.Parse(Console.ReadLine()); if (x < 12) { Console.WriteLine("Bom dia"); } else if (x < 18) { ...
25.740741
54
0.427338
[ "MIT" ]
Vini-Dev-Py/C-sharp.NET
Exercicos/Ex003/Ex003/Program.cs
697
C#
using System; using AGO.Core.Model.Dictionary; using Newtonsoft.Json; namespace AGO.Tasks.Controllers.DTO { public class CustomParameterTypeDTO { [JsonProperty("id")] public Guid Id { get; set; } [JsonProperty("text")] public string Text { get; set; } public CustomPropertyValueType ValueType { get; set;...
21.16
63
0.729679
[ "MIT" ]
olegsmetanin/apinet-server
AGO.Tasks/Controllers/DTO/CustomParameterDTO.cs
531
C#
using System; using System.Reflection; using System.Reflection.Metadata; namespace Lokad.ILPack.Metadata { public interface IAssemblyMetadata { BlobBuilder ILBuilder { get; } UserStringHandle GetOrAddUserString(string value); EntityHandle GetTypeHandle(Type type); EntityHandle...
26.888889
64
0.735537
[ "MIT" ]
AaronRobinsonMSFT/ILPack
src/Metadata/IAssemblyMetadata.cs
486
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; public class ScoreSystem : MonoBehaviour { public int score; public int scoreToBeat; public Text scoreText; public bool hasWon; GameTimer gTimer; // Use this for initialization void Start () { gTimer = Game...
15.233333
75
0.485777
[ "Apache-2.0" ]
DaffyNinja/Cute-Game
Cutesy Game/Assets/Scripts/Game/ScoreSystem.cs
916
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 19.10.2021. using Microsoft.EntityFrameworkCore.Migrations.Operations; using NUnit.Framework; using xEFCore=Lcpi.E...
29.829545
126
0.619429
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Migrations/Generations/SET001/DataTypes/Clr/TimeSpan/TestSet_ERR005__bad_IsUnicode.cs
2,627
C#
using System.ComponentModel.DataAnnotations; namespace Piling.Model { /// <summary> /// ort status enum information model /// </summary> public enum OutputFormat { /// <summary> /// Txt /// </summary> [Display(Name = "txt")] Txt=0, /// <summary> ...
18.942857
45
0.447964
[ "MIT" ]
miynat/Piling
Piling/Model/OutputFormat.cs
665
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Web.Mvc; using BaselineSolution.Bo.Internal; using BaselineSolution.Framework.Extensions; using BaselineSolution.Framework.Infrastructure; namespace BaselineSolution.WebApp.Infrastructure.Extensions { pu...
33.411765
123
0.620892
[ "MIT" ]
Adconsulting/BaseSolution
BaselineSolution.WebApp/Infrastructure/Extensions/ExtensionsForModelStateDictionary.cs
1,706
C#
//Copyright 2018, Davin Carten, All rights reserved using System.Runtime.InteropServices; using System; namespace emotitron.Utilities.SmartVars { public enum SmartVarTypeCode { None, Int, Uint, Bool, Float, Byte, Short, UShort, Char } [System.Serializable] [StructLayout(LayoutKind.Explicit)] public struct S...
20.823529
93
0.678202
[ "MIT" ]
TwoTenPvP/NetworkSyncTransform
Assets/emotitron/Utilities/SmartVars/SmartVars.cs
4,250
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> //--...
50.510204
159
0.647071
[ "MIT" ]
BlueGreenWorld/service-manager-tray-for-windows
ServiceManagerTray/Properties/Settings.Designer.cs
4,952
C#
using System; using System.Collections.Generic; using System.Net.NetworkInformation; using ExportExtensionCommon; using System.IO; using System.Net.Sockets; using System.Net.Security; namespace CaptureCenter.EmailExport { public class EmailExportConnectionTestHandler : ConnectionTestHandler { public E...
39.45283
113
0.517695
[ "Apache-2.0" ]
JohannesSchacht/ExportExtension_Email
CaptureCenter.EmailExport.Adapter/EmailExportConnectionTestHandler.cs
4,184
C#
using System; using System.Reflection; using System.Runtime.Loader; using Xunit; namespace McMaster.NETCore.Plugins.Tests { public class PrivateDependencyTests { [Fact] public void EachContextHasPrivateVersions() { var json9context = PluginLoader.CreateFromConfigFile(TestRe...
42.871795
117
0.665072
[ "Apache-2.0" ]
BernMcCarty/DotNetCorePlugins
test/Plugins.Tests/PrivateDependencyTests.cs
1,674
C#