content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.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("01...
38.081081
84
0.745919
[ "MIT" ]
DimitarGaydardzhiev/TelerikAcademy
02. C# Part 2/02. Multidimensional-Arrays/01A.FillTheMatrixA/Properties/AssemblyInfo.cs
1,412
C#
using UnityEngine; using System.Collections; public class Respawn : MonoBehaviour { public Transform RespawnNode; void OnTriggerEnter2D(Collider2D other) { other.transform.position = RespawnNode.position; } }
18.153846
56
0.724576
[ "MIT" ]
choang05/Asset1
Assets/Easy Indicators/Demos/Demo1- 2D Fighter/Scripts/Respawn.cs
238
C#
using System; using System.Collections.Generic; using System.Text; using Leelite.Framework.Domain.Aggregate; namespace Leelite.Modules.MessageCenter.Models.TemplateAgg { /// <summary> /// 消息模版 /// </summary> public class Template : AggregateRoot<int> { /// <summary> /// 平台Id ...
22.117647
58
0.504433
[ "MIT" ]
liduopie/LeeliteCore
src/Modules/Message/Leelite.Modules.MessageCenter/Models/TemplateAgg/Template.cs
1,224
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...
35.034483
375
0.58937
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/CreateDBSnapshotRequest.cs
5,080
C#
using System; using System.Collections.Generic; namespace NaniWeb.Data { public class Chapter { public int Id { get; set; } public int Volume { get; set; } public decimal ChapterNumber { get; set; } public string Name { get; set; } public int SeriesId { get; set; } ...
25.722222
50
0.589633
[ "MIT" ]
Dinokin/NaniWeb
NaniWeb/Data/Chapter.cs
465
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AssemblyDefender.Net.IL { public enum ILNodeType { Instruction, Label, Block, } }
12.6
33
0.746032
[ "MIT" ]
nickyandreev/AssemblyDefender
src/AssemblyDefender.Net/IL/ILNodeType.cs
191
C#
namespace Dit.Umb.Mutobo.Interfaces { public interface ISliderItem { } }
12.285714
36
0.662791
[ "MIT" ]
Dreadhorn/MUTOBO
Dit.Umb.Mutobo/Interfaces/ISliderItem.cs
88
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...
39.476395
137
0.581648
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Cdn/Latest/Policy.cs
9,198
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------...
31.481818
117
0.543171
[ "MIT" ]
ministryotech/entity-framework-repolayer
Ministry.RepoLayer.ObjectContext-EF6/RepositoryBase.cs
3,463
C#
using System; using System.Collections.Generic; using System.Text; using System.Configuration; using System.Messaging; using System.IO; using System.Threading; namespace Adf { /// <summary> /// 任务队列管理器 /// </summary> public class Mq : IDisposable { private MessageQueue[] messageQueue; ...
31.066667
176
0.424267
[ "MIT" ]
aooshi/adf
Adf/Mq.cs
11,430
C#
//---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
45.466667
192
0.63563
[ "MIT" ]
stefangossner/microsoft-authentication-library-for-dotnet
src/Microsoft.Identity.Client/Platforms/netstandard13/UIParent.cs
4,094
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.Reflection; namespace Microsoft.CSharp.RuntimeBinder.Semantics { // ------------------------------...
37.0625
104
0.536818
[ "MIT" ]
Aevitas/corefx
src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Symbols/EventSymbol.cs
1,779
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Net; using System.Threading; using System.Threading.Tasks; using Couchbase.Core.Configuration.Server; using Couchbase.Core.IO.Connections; using Couchbase.Core.IO.Operations; using Couchbase.Core.IO.Operations.Errors; usi...
37.632911
115
0.643458
[ "Apache-2.0" ]
andy-williams/couchbase-net-client
src/Couchbase/Core/IClusterNode.cs
2,973
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
37.478632
147
0.537514
[ "MIT" ]
BradBarnich/FHIR-Converter
src/Microsoft.Health.Fhir.Liquid.Converter/OutputProcessors/PostProcessor.cs
4,387
C#
using System; namespace SmartSystemMenu.Hooks { class BasicHookEventArgs : EventArgs { public IntPtr WParam { get; private set; } public IntPtr LParam { get; private set; } public BasicHookEventArgs(IntPtr wParam, IntPtr lParam) { WParam = wParam; LPar...
19.5
63
0.586895
[ "MIT" ]
AlexanderPro/SmartSystemMenu
SmartSystemMenu/Hooks/BasicHookEventArgs.cs
353
C#
// Copyright (c) Robin Boerdijk - All rights reserved - See LICENSE file for license terms using System; namespace MDSDK.Dicom.Serialization.ValueRepresentations { internal sealed class DecimalString : AsciiEncodedMultiValue, IMultiValue<decimal>, IMultiValue<double>, IMultiValue<float> { public Deci...
56.25
155
0.772346
[ "MIT" ]
mdsdk/Dicom.Serialization
MDSDK.Dicom.Serialization/ValueRepresentations/DecimalString.cs
2,027
C#
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using Microsoft.Extensions.DependencyInjection; using Microsoft....
32.435185
125
0.672852
[ "Apache-2.0" ]
Darthruneis/openiddict-core
test/OpenIddict.MongoDb.Tests/OpenIddictMongoDbContextTests.cs
3,505
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameController : MonoBehaviour { public static GameController instance = null; public RouteManger routeManger = new RouteManger(); public RouteNet routeNet; private void Awake() { //防止存在多个单例 if (ins...
23.222222
55
0.665072
[ "Apache-2.0" ]
TastSong/AIBikeRobot
Assets/AIBikeRobot/Scripts/GameController.cs
436
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 use...
34.425121
148
0.710871
[ "MIT" ]
AndreyBespamyatnov/Pharmacist
src/ICSharpCode.Decompiler/TypeSystem/TypeSystemExtensions.cs
21,378
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. namespace Microsoft.CodeAnalysis.Diagnostics { /// <summary> /// The first event placed into a compilation's event queue. ...
36
184
0.691176
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Compilers/Core/Portable/DiagnosticAnalyzer/CompilationStartedEvent.cs
614
C#
// // AudioFormat.cs: // // Authors: // Miguel de Icaza (miguel@xamarin.com) // Marek Safar (marek.safar@gmail.com) // // Copyright 2012 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), ...
36.527094
179
0.755428
[ "BSD-3-Clause" ]
SotoiGhost/xamarin-macios
src/AudioToolbox/AudioFormat.cs
14,830
C#
// ----------------------------------------------------------------------------- // GENERATED CODE - DO NOT EDIT // ----------------------------------------------------------------------------- using System; using System.Linq; using System.Collections.Generic; using Hl7.Fhir.Model; using Hl7.Fhir.Utility; using System...
35.378882
214
0.652914
[ "BSD-3-Clause" ]
brianpos/fhir-net-web-api
src/Hl7.Fhir.Custom.Serializers/Generated/FhirCustomXmlReader.DataRequirement.DateFilterComponent.cs
5,698
C#
using System; using System.Linq; namespace Eolina; public class LowerToken : ICheckToken, IMapActionToken, IFilterActionToken { public BoolValue CheckAction(Value value) => value switch { ArrayValue arrayValue => arrayValue.Value.All(x => x.IsLower()).ToBoolValue(), Strin...
29.792453
94
0.60038
[ "MIT" ]
shift-eleven/Eolina
Eolina/Parsing/Tokens/LowerToken.cs
1,581
C#
using System; public class Truck : Vehicles { public Truck(double fuelQuantity, double consumptionPerKm) : base(fuelQuantity, consumptionPerKm + 1.6) { } public override void Refuel(double amountOfFuel) { this.FuelQuantity += amountOfFuel * 0.95; } }
20.428571
107
0.674825
[ "MIT" ]
valkin88/CSharp-Fundamentals
CSharp OOP Basics/Polymorphism - Exercises/Vehicles/Vehicles/Truck.cs
288
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut...
44.094488
173
0.604643
[ "MIT" ]
Erukaron/Faidv2
Faidv2/Properties/Resources.Designer.cs
5,617
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Metadata.Edm.Provider { using System.Collections.ObjectModel; using System.Data.Entity.Core.Common; using System.Data.Entity.Hierarchy; ...
48.411552
137
0.59135
[ "Apache-2.0" ]
Icehunter/entityframework
src/EntityFramework/Core/Metadata/Edm/Provider/ClrProviderManifest.cs
13,410
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Windows.Markup; namespace SwagOverFlow.WPF.UI { //https://www.codeproject.com/Tips/873562/Markup-Extension-for-Generic-Classes-2 public class TypeArgumentsConverter : TypeConverte...
28.042553
103
0.709408
[ "MIT" ]
adiamante/SwagOverFlow
SwagOverFlow/SwagOverFlow.WPF/UI/TypeArgumentsConverter.cs
1,320
C#
// Adam Dernis © 2022 using System.Numerics; namespace AlgoNet.Clustering { /// <summary> /// A shape defining how to handle <see cref="Vector3"/>s in a geometric space. /// </summary> public struct Vector3Shape : IGeometricSpace<Vector3> { /// <inheritdoc/> public bool AreEqual(V...
27.4375
83
0.507403
[ "MIT" ]
Avid29/AlgoNet
src/AlgoNet.Clustering/Shapes/Vector3Shape.cs
1,759
C#
// // System.Diagnostics.Design.ProcessDesigner // // Authors: // Gert Driesen (drieseng@users.sourceforge.net) // // (C) 2004 Novell // // // 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 Sof...
31.755102
73
0.751285
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Design/System.Diagnostics.Design/ProcessDesigner.cs
1,556
C#
using System; using System.Collections.Generic; using System.ComponentModel; namespace Cynosura.Template.Core.Requests.Files.Models { public class FileModel { [DisplayName("Id")] public int Id { get; set; } [DisplayName("Creation Date")] public DateTime CreationDate { get; set...
28.4
73
0.623239
[ "MIT" ]
CynosuraPlatform/Cynosura.Template
src/Cynosura.Template.Core/Requests/Files/Models/FileModel.cs
1,138
C#
/* * Original author: Nicholas Shulman <nicksh .at. u.washington.edu>, * MacCoss Lab, Department of Genome Sciences, UW * * Copyright 2009 University of Washington - Seattle, WA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
30.910256
140
0.612194
[ "Apache-2.0" ]
CSi-Studio/pwiz
pwiz_tools/Shared/Common/Collections/ImmutableDictionary.cs
2,413
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JimmysComics { using System.Collections.ObjectModel; using Windows.UI.Xaml.Media.Imaging; class ComicQueryManager { public ObservableCollection<ComicQue...
47.04908
121
0.529209
[ "MIT" ]
JianGuoWan/third-edition
VS2012/Chapter_14/JimmysComics/JimmysComics/ComicQueryManager.cs
15,344
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.Exact_Sum_of_Real_Numbers { class Program { static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var sum = 0m; ...
19
63
0.522556
[ "MIT" ]
AneliaDoychinova/Programming-Fundamentals
04. Data Types and Variables/Lab Data Types and Variables/03. Exact Sum of Real Numbers/03. Exact Sum of Real Numbers.cs
534
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 ...
48.520833
172
0.804208
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-aliyuncvc/Aliyuncvc/Transform/V20191030/CreateMeetingInternationalResponseUnmarshaller.cs
2,329
C#
namespace ObjectSql.Core { public class EntityInsertionInformation { public int[] PropertiesIndexesToInsert { get; private set; } public EntityInsertionInformation(int[] propertiesIndexesToInsert) { PropertiesIndexesToInsert = propertiesIndexesToInsert; } } }
21.230769
68
0.782609
[ "Apache-2.0" ]
andrew-bn/ObjectSql
src/ObjectSql/Core/EntityInsertionInformation.cs
278
C#
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Xml.Serialization; namespace StackExchange.Opserver.Data.SQL.QueryPlans { public partial class ShowPlanXML { [XmlIgnore] public List<BaseStmtInfoType> Statements { get ...
36.694915
222
0.539723
[ "MIT" ]
KennethScott/Opserver
Opserver.Core/Data/SQL/QueryPlans/ShowPlanXML.cs
4,332
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
36.02381
104
0.730998
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Backup/Generated/Model/DescribeRegionSettingsRequest.cs
1,513
C#
using ToDoList.ViewModel; using ToDoListApp3; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace ToDoList { public sealed partial class Login : Page { public Login() { this.InitializeComponent(); DataContext = MainViewModel.Singleton(); getView...
26.596491
86
0.5719
[ "MIT" ]
joannawetesko/to-do-list
ToDoListApp/View/ListPage.xaml.cs
1,518
C#
using Panuon.UI.Silver.Core; using Panuon.UI.Silver.Internal.Controls; using Panuon.UI.Silver.Internal.Converters; using Panuon.UI.Silver.Internal.Utils; using System; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using System.Windows; using System.Windows.Controls; usi...
35.63432
162
0.570091
[ "MIT" ]
sillsun/PanuonUI.Silver
SharedResources/Panuon.UI.Silver/Controls/CalendarX.cs
30,113
C#
using System; using System.Collections.Generic; using System.Text; namespace mostdev_hungergames.model.impl { class BattleAxe : BattleItem { public BattleAxe() { this.Name = "Battle Axe"; this.AttackBonus = 10; } } }
14.625
40
0.705128
[ "MIT" ]
TomL-dev/mostdev-hungergames
mostdev-hungergames/model/impl/BattleAxe.cs
236
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Telerik.Sitefinity.Newsletters.SendGrid.Services.Dto { /// <summary> /// A static class containing the SendGrid event type names. /// </summary> public static class SendGridEve...
27.107143
72
0.633729
[ "Apache-2.0" ]
Sitefinity/NewslettersSendGrid
Telerik.Sitefinity.Newsletters.SendGrid/Services/Dto/SendGridEventTypes.cs
761
C#
 using System.ComponentModel.DataAnnotations; namespace TavssStudent.Models { public class SuperVisor { [Required] public string Name { get; set; } } }
15.25
44
0.644809
[ "MIT" ]
AhmedKhalil777/Tasvss.Students.Blazor
TavssStudent/TavssStudent/Models/CourseModels/SuperVisor.cs
185
C#
using System; using System.Data.SQLite; using System.Collections.Generic; using System.Text; using System.ComponentModel; using Newtonsoft.Json.Linq; using System.Linq; namespace Discord_Point_Bot { public class SQLite { private static SQLite instance = null; private SQLiteConnection connecti...
30.968421
118
0.473148
[ "MIT" ]
Yechan0815/Discord-Point-Bot
Discord-Point-Bot/SQLite.cs
5,886
C#
using System; using System.Drawing; using System.Collections.Generic; using System.Linq; namespace PixelPalette.Algorithm { public static class ColorHelpers { public static float GetDistance(Color a, Color b) { return MathF.Sqrt(MathF.Pow(a.R-b.R, 2)+MathF.Pow(a.G-b.G, 2)+MathF.Pow(a.B-b.B, 2))...
38.455556
98
0.546085
[ "MIT" ]
Tygrak/PixelPalette
Algorithm/ColorHelpers.cs
3,461
C#
using System.Numerics; namespace BlazorCanvas.Example4.Core.Components { public class Transform : BaseComponent { public Transform(GameObject owner) : base(owner) { } public Vector2 Position { get; set; } = Vector2.Zero; public Vector2 Direction { get; set; } = Vector2....
23.714286
61
0.63253
[ "MIT" ]
BDisp/BlazorCanvas
BlazorCanvas.Example4/Core/Components/Transform.cs
332
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.AwsN...
30.527397
162
0.573704
[ "Apache-2.0" ]
pulumi/pulumi-aws-native
sdk/dotnet/IoTTwinMaker/GetEntity.cs
4,457
C#
/* * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
33.80758
104
0.627372
[ "Apache-2.0" ]
agnelovaz/TizenFX
src/Tizen.NUI.Components/Controls/FlexibleView/OrientationHelper.cs
11,598
C#
// Copyright (c) 2002-2019 "Neo4j," // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // 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...
37
101
0.649493
[ "Apache-2.0" ]
gjmwoods/neo4j-dotnet-driver
Neo4j.Driver/Neo4j.Driver.Tests/Result/ConsumableCursorTests.cs
3,552
C#
//----------------------------------------------------------------------- // <copyright file="CounterActor.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //-...
28.771739
117
0.45221
[ "Apache-2.0" ]
rogeralsing/pigeon
src/core/Akka.Persistence.TestKit.Tests/Actors/CounterActor.cs
2,649
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...
47.209677
178
0.680219
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Connect/Generated/Model/InternalServiceException.cs
5,854
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Eat : MonoBehaviour { [SerializeField] private string selectableTag = "Selectable"; private Transform _selection; public PlayerStats stats; public GameObject Text; private GameObject Food; public Raycast ray...
22.636364
86
0.690763
[ "MIT" ]
suomilanittaja/My-Spring-Car
Assets/Scripts/Eat.cs
749
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System; namespace NestedPrefabUtil { [InitializeOnLoad] public class Startup { static Startup() { Debug.Log("OnSceneLoaded"); PrefabUtility.prefabInstanceUpdated +...
37.475524
135
0.47117
[ "MIT" ]
wohenlihai1988/NestedPrefab
Assets/NestedPrefab/Editor/NestedPrefabUtil.cs
5,361
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("PO...
37.810811
84
0.744103
[ "MIT" ]
suegy/scbot
POSH-Launcher/Properties/AssemblyInfo.cs
1,402
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; namespace Microsoft.Data.SqlClient.Reliability { /// <summary> /// Contains information that...
40.674419
148
0.650086
[ "MIT" ]
scoriani/SqlClient
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/Reliability/SqlRetryingEventArgs.cs
1,751
C#
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
52.517949
194
0.6639
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Spanner.Data/Google.Cloud.Spanner.Data/SpannerBatchCommand.cs
10,243
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("MetaWorkLib")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("azthinker@sina.com")] [as...
26.459459
71
0.721144
[ "Apache-2.0" ]
AzThinker/CodeToolSolution
MetaWorkLib/Properties/AssemblyInfo.cs
1,320
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Teams.Samples.LinkUnfurlerForReddit { /// <summary> /// The Reddit options are used to configure the Reddit Link Unfurler. /// </summary> public sealed class RedditOptions { /...
37.355556
164
0.59072
[ "MIT" ]
0723Cu/Microsoft-Teams-Samples
samples/msgext-link-unfurling-reddit/csharp/dotnet/RedditApi/RedditOptions.cs
1,681
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using scheduler.Core.Entities; using scheduler.Persistence; namespace scheduler.Persistance.UnitTests { [TestClass] public class EfRepositoryIntegrationTests { [TestMethod] public void EfRepository_ShouldCreate() { // ...
22.115385
65
0.529565
[ "MIT" ]
toddbadams/accounts-microservice
tba.Persistance.UnitTests/EfRepositoryIntegrationTests.cs
1,152
C#
/** * Copyright (c) 2019 LG Electronics, Inc. * * This software contains code licensed as described in LICENSE. * */ using UnityEngine; namespace Simulator.Bridge.Data { public class Detected3DObject { public uint Id; public string Label; public double Score; public Vecto...
19.625
64
0.635669
[ "Apache-2.0", "BSD-3-Clause" ]
0x8BADFOOD/simulator
Assets/Scripts/Bridge/Data/Detected3DObject.cs
785
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; na...
51.082005
264
0.613824
[ "MIT" ]
OlhaTkachenko/azure-sdk-for-net
sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupContainer.cs
22,427
C#
using COMMONConfig.Frontend.Models; using COMMONConfig.Frontend.ViewModel.AbstractClasses; using COMMONConfig.Frontend.Views.UserContols; using gov.sandia.sld.common.configuration; namespace COMMONConfig.Frontend.ViewModel { public class SystemDeviceViewModel : ADeviceControlViewModel { public overrid...
24.166667
64
0.642759
[ "MIT" ]
gaybro8777/common
src/COMMONConfig/Frontend/ViewModel/SystemDeviceViewModel.cs
727
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows; namespace FileExplorer.WPF.UserControls { public class VirtualStackPanelView : ViewBase { public static readonly DependencyProperty OrientationProperty ...
41.098485
104
0.672627
[ "MIT" ]
chengming0916/FileExplorer
src/FileExplorer3/app/FileExplorer3.WPF/BaseControls/VirutalStackPanelView.cs
5,427
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using SistemaConsultorio.Dominio; using WcfSistemaConsultorio; namespace WfaSistemaConsultor...
38.302632
151
0.528112
[ "MIT" ]
MarcosJAOJR/Consult-rio-Odonto-Consultas
WfaSistemaConsultorio/Inicio/FrmPrincipal.cs
8,737
C#
// LeoSingleton.CommonLibs - Common Libraries for TypeScript and .NET Core // Copyright (c) Leo C. Singleton IV <leo@leosingleton.com> // See LICENSE in the project root for license information. namespace LeoSingleton.CommonLibs { /// <summary> /// .NET's built-in BinaryReader/BinaryWriter doesn't support net...
43.91129
118
0.554821
[ "MIT" ]
leosingleton/commonlibs
dotnet/CommonLibs/BinaryConverter.cs
5,447
C#
//****************************************************************************************************** // SystemSettings.xaml.cs - Gbtc // // Copyright © 2010, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See...
42.330882
191
0.7358
[ "MIT" ]
GridProtectionAlliance/openPDC
Source/Applications/openPDCManager/Silverlight/Pages/Manage/SystemSettings.xaml.cs
5,760
C#
using System; using System.Threading.Tasks; using AutoStep.Language; using AutoStep.Tests.Builders; using AutoStep.Tests.Utils; using Xunit; using Xunit.Abstractions; namespace AutoStep.Tests.Language.Interaction.Parser { /// <summary> /// Method Definition Parsing behaviour is the same for traits and compone...
35.138021
163
0.434077
[ "MIT" ]
SivaGudivada/AutoStep
tests/AutoStep.Tests/Language/Interaction/Parser/MethodDefinitionTests.cs
13,495
C#
using System; using System.ComponentModel; using System.Net; namespace KryptonSparkle.Interfaces { public interface IKryptonSparkleDownloadProgress { /// <summary> /// event to fire when the form asks the application to be relaunched /// </summary> event EventHandler InstallAnd...
33.818182
126
0.610215
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470
Source/Krypton Toolkit Suite Extended/Componentisation/Krypton Sparkle/Interfaces/IKryptonSparkleDownloadProgress.cs
1,490
C#
using System.Collections.Generic; namespace Hexalith.DataIntegrations.Domain.States { public interface IDataIntegrationState { dynamic? Data { get; set; } string Description { get; set; } string Document { get; set; } string DocumentName { get; set; } string DocumentTyp...
26.625
49
0.624413
[ "MIT" ]
Hexalith/Hexalith
src/Modules/Shared/Hexalith.DataIntegrations.Common/Domain/States/IDataIntegrationState.cs
428
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...
39.022059
173
0.619371
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Neptune/Generated/Model/Internal/MarshallTransformations/AddSourceIdentifierToSubscriptionResponseUnmarshaller.cs
5,307
C#
using System; using System.Linq; using HotChocolate; using StrawberryShake.CodeGeneration.Descriptors.TypeDescriptors; namespace StrawberryShake.CodeGeneration.Extensions { public static class TypeDescriptorExtensions { public static bool IsLeafType(this ITypeDescriptor typeDescriptor) => t...
35.326316
89
0.623957
[ "MIT" ]
VarunSaiTeja/hotchocolate
src/StrawberryShake/CodeGeneration/src/CodeGeneration/Extensions/TypeDescriptorExtensions.cs
3,356
C#
using Stl.Fusion.Bridge.Messages; using Stl.OS; namespace Stl.Fusion.Bridge.Internal; public class PublisherChannelProcessor : WorkerBase { private ILogger? _log; protected readonly IServiceProvider Services; protected readonly IPublisherImpl PublisherImpl; protected readonly ConcurrentDictionary<Sym...
39.75
118
0.628032
[ "MIT" ]
servicetitan/Stl
src/Stl.Fusion/Bridge/Internal/PublisherChannelProcessor.cs
5,565
C#
using System; using System.Collections; namespace UnityWeld.Binding { /// <summary> /// A list that exposes the type of its items as a property. /// </summary> public interface ITypedList : IList { /// <summary> /// Specifies the type of items in the list. /// </summary> ...
19.833333
64
0.579832
[ "MIT" ]
DevVidya/open-world-rpg
Assets/3rd Party/Unity_Weld/Runtime/Binding/ITypedList.cs
357
C#
/* The MIT License (MIT) Copyright (c) 2013 - 2015 Timothy D Meadows II 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...
44.618182
124
0.705786
[ "MIT" ]
TimothyMeadows/blackfeather
Blackfeather-35/Extention/AppendExtension.cs
2,456
C#
using com.bitscopic.hilleman.core.domain.exception; using com.bitscopic.hilleman.core.domain.security; using com.bitscopic.hilleman.core.domain.to; using System; namespace com.bitscopic.hilleman.core.utils { public static class WcfSvcUtils { public static String makeCallForWebAPI(Delegate d...
43.55102
152
0.59747
[ "Apache-2.0" ]
joel-bitscopic/hilleman-core
hilleman-core/src/utils/WcfSvcUtils.cs
2,136
C#
using Deathville.Component; using Godot; using GodotApiTools.Extension; namespace Deathville.GameObject.Combat { public class Weapon : Node2D { private const float OVERHEAT_DECAY_DELAY = 2f; private const string ANIM_FIRE = "fire"; [Signal] public delegate void Fired(); ...
31.772727
137
0.537911
[ "MIT" ]
firebelley/Deathville
scripts/GameObject/Combat/Weapon.cs
5,592
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace P03_FootballBetting.Data.Models { public class Town { public Town() { Teams = new HashSet<Team>(); } [Key] public in...
21.965517
60
0.602826
[ "MIT" ]
Plamen-Angelov/Entity-Framework
Entity Relations/FootballBetting/P03_FootballBetting.Data.Models/Town.cs
639
C#
namespace Test.UC { partial class Gauge360Example { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
40.552632
107
0.576898
[ "Apache-2.0" ]
DotNetFrameWork/NetWinformControl
HZH_Controls/Test/UC/UCTestLiveCharts/Gauge/360/Gauge360Example.Designer.cs
4,625
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net.NetworkInformation; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; internal static partial class Interop { internal stat...
30.902985
85
0.571843
[ "MIT" ]
belav/runtime
src/libraries/Common/src/Interop/Windows/IpHlpApi/Interop.ICMP.cs
4,141
C#
//----------------------------------------------------------------------- // <copyright file="TransformExtensions.cs" company="Lost Signal LLC"> // Copyright (c) Lost Signal LLC. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace Lost { usi...
32.349206
119
0.540236
[ "Unlicense", "MIT" ]
LostSignal/Lost-Library
Lost/Lost.Extensions/Runtime/TransformExtensions.cs
2,040
C#
using SO; using System.Collections.Generic; namespace PL { public abstract class CardP { public static IEnumerable<Deb> ListDeb() { foreach (Deb c in Cnn.ExecCmd("list_deb_cards")) yield return c; } public static IEnumerable<Cred> ListCred() ...
21.75
62
0.549425
[ "MIT" ]
peaceslasher/projectA
Cards/PL/CardP.cs
437
C#
/* MIT License Copyright (c) 2022 ShuheiOi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
34
78
0.678824
[ "MIT" ]
ShuheiOi/AdolescenceNovel
Assets/Sources/Novel/Command/SystemCommand/goto/GotoInitial.cs
1,704
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace BuildXL.Utilities.Configuration { /// <summary> /// The case of <see cref="IJavaScriptCommandGroup"/> when BuildXL provides the script execution semantics (e.g. Yarn, Rush) /// </summary> public interface IJav...
33.538462
129
0.720183
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Utilities/Configuration/Resolvers/IJavaScriptCommandGroupWithDependencies.cs
438
C#
using Kholupov.Diploma.SimpleCrud.Models; using Microsoft.EntityFrameworkCore; namespace Kholupov.Diploma.SimpleCrud.Data { public class ApplicationDbContext : DbContext { public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { } public Db...
25.529412
99
0.707373
[ "MIT" ]
teachmeskills-dotnet/TMS-DotNet04-Kholupov
src/Kholupov.Diploma.SimpleCrud/Data/ApplicationDbContext.cs
436
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Axe.Windows.Core.Bases; using Axe.Windows.Core.Enums; using Axe.Windows.Core.Types; using Axe.Windows.Rules.PropertyConditions; using Axe.Windows.Rules.Resou...
38.083333
102
0.692195
[ "MIT" ]
AdrianaDJ/axe-windows
src/Rules/Library/IsKeyboardFocusableOnEmptyContainer.cs
1,336
C#
// ----------------------------------------------------------------------- // <copyright file="ColumnAttribute.cs" company="MicroLite"> // Copyright 2012 - 2015 Project Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lic...
36.013514
113
0.53546
[ "Apache-2.0" ]
CollaboratingPlatypus/MicroLite
MicroLite/Mapping/Attributes/ColumnAttribute.cs
5,185
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; using Xunit.Extensions; namespace NuGet.Test.Integration.NuGetCommandLine { public class NuGet...
42.008105
131
0.59153
[ "ECL-2.0", "Apache-2.0" ]
anaselhajjaji/nuget
test/Test.Integration/NuGetCommandLine/NuGetRestoreCommandTest.cs
41,464
C#
namespace SoftGym.Services { using System.IO; using System.Linq; using System.Threading.Tasks; using CloudinaryDotNet; using CloudinaryDotNet.Actions; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using SoftGym.Services.Contracts; public class Cloudina...
28.838235
177
0.507139
[ "MIT" ]
PlamenMichev/SoftGym
Services/SoftGym.Services/CloudinaryService.cs
3,924
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace DevionGames { public class MoveTo : MonoBehaviour { [SerializeField] private string m_Tag="Player"; [SerializeField] private float speed = 3f; private Transform player; [Se...
28.404255
119
0.5603
[ "MIT" ]
jlarnett/WinstonLakeV2
Assets/Asset Packs/Devion Games/Utilities/Scripts/Runtime/MoveTo.cs
1,337
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: AssemblyCon...
44.782609
85
0.76699
[ "Apache-2.0" ]
LORDofDOOM/ZXing.Net
Source/Bindings/ZXing.Magick/Properties/AssemblyInfo.cs
1,033
C#
/** * MIT License * * Copyright (c) 2020 Philip Klatt * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, m...
32.470588
81
0.673309
[ "MIT" ]
ModTheGalaxy/UtinniPlugins
The Jawa Toolbox/TheJawaToolboxDotNet/SWG/CuiImpl.cs
1,658
C#
using System; namespace Genocs.MassTransit.Contracts { public interface OrderFulfillmentFaulted { Guid OrderId { get; } } }
14.6
44
0.671233
[ "MIT" ]
Genocs/mass-transit-course
src/05-saga-advanced/Genocs.MassTransit.Contracts/OrderFulfillmentFaulted.cs
148
C#
// *********************************************************************** // Copyright (c) 2015 Charlie Poole // // 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, inclu...
29.179104
86
0.576726
[ "MIT" ]
JetBrains/nunit
src/NUnitFramework/testdata/AsyncDummyFixture.cs
3,910
C#
using System.Collections.Generic; using System.Linq; namespace HGV.Divine { /// <summary> /// Helper class for working with a single team. /// </summary> public class Team<TPlayer> { private readonly Dictionary<TPlayer, Rating> _PlayerRatings = new Dictionary<TPlayer, Rating>(); /...
31.888889
109
0.549477
[ "MIT" ]
HighGroundVision/Divine
src/Team.cs
2,872
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("Wpf...
37.135135
84
0.744541
[ "MIT" ]
stumathews/WpfStepByStep
Wpf1/Properties/AssemblyInfo.cs
1,377
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...
32.467532
101
0.6488
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/DescribeClientVpnTargetNetworksResponse.cs
2,500
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Security; using System.Secur...
37.028139
166
0.572514
[ "Apache-2.0" ]
ar0311/aspnetcore
src/Servers/HttpSys/src/RequestProcessing/Request.cs
17,107
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // ------------------------------------------------------------------------------ // Changes to this file must follow the https://aka.ms/api-review process. // -----------------------...
93.974148
621
0.750013
[ "MIT" ]
ChristophHornung/runtime
src/libraries/System.Text.Json/ref/System.Text.Json.cs
79,972
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
47.578947
373
0.775996
[ "MIT" ]
zgynhqf/trunk
Rafy/Tools/VSTemplates/Properties/AssemblyInfo.cs
1,811
C#
// SF API version v50.0 // Custom fields included: False // Relationship objects included: True using System; using NetCoreForce.Client.Models; using NetCoreForce.Client.Attributes; using Newtonsoft.Json; namespace NetCoreForce.Models { ///<summary> /// Client Browser ///<para>SObject Name: ClientBrowser</para> /...
25.663158
50
0.649303
[ "MIT" ]
Mintish/NetCoreForce
src/NetCoreForce.Models/SfClientBrowser.cs
2,438
C#
using System.Threading.Tasks; using Xunit; namespace Bamboo.Sales.Samples { public class SampleManager_Tests : SalesDomainTestBase { //private readonly SampleManager _sampleManager; public SampleManager_Tests() { //_sampleManager = GetRequiredService<SampleManager>(); ...
18.727273
67
0.616505
[ "MIT" ]
BlazorHub/bamboomodules
Bamboo.Sales/test/Bamboo.Sales.Domain.Tests/Samples/SampleManager_Tests.cs
414
C#