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
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.DotNet.Interactive.CSharpProject.Tools; using System.IO; using System.Threading.Tasks; using Microsoft.DotNet.Interactive.C...
33
131
0.624869
[ "MIT" ]
alireza-rezaee/interactive
src/Microsoft.DotNet.Interactive.CSharpProject/PackageNameIsFullyQualifiedPath.cs
957
C#
#region License // // The Open Toolkit Library License // // Copyright (c) 2006 - 2009 the Open Toolkit library. // // 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...
34.385185
105
0.569367
[ "MIT" ]
dakahler/alloclave
External/opentk/Source/OpenTK/Graphics/ES10/ErrorHelper.cs
4,644
C#
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
33.725702
116
0.556708
[ "CC0-1.0" ]
Diffblue-benchmarks/Gridgain-gridgain
modules/platforms/dotnet/Apache.Ignite.Core/Impl/Binary/Metadata/BinaryType.cs
15,615
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Cofoundry.Core.Validation; namespace Cofoundry.Domain { /// <summary> /// A representation of the identity of a custom entity. /// </summar...
23.76
62
0.683502
[ "MIT" ]
BOBO41/cofoundry
src/Cofoundry.Domain/Domain/CustomEntities/Models/CustomEntityIdentity.cs
596
C#
using UnityEngine; using System.Collections; public class RandomRotator : MonoBehaviour { void Start() { rigidbody.angularVelocity = Random.insideUnitSphere * 5; } }
15.818182
58
0.752874
[ "MIT" ]
plam4u/Unity3D-Team-Project
SpaceShooter/Assets/Plamen/Scene_02/Scripts/RandomRotator.cs
176
C#
using System; using System.Threading.Tasks; namespace THNETII.WebServices.Authentication.OAuthSignOut { public class OAuthSignOutEvents { public Func<OAuthRevokeTokenContext, Task> OnRevokeToken { get; set; } = _ => Task.CompletedTask; /// <summary> /// A delegate assigned to this prop...
36.791667
106
0.679502
[ "MIT" ]
thnetii/webservices
src/THNETII.WebServices.Authentication.OAuthSignOut/OAuthSignOutEvents.cs
883
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Simplic.Collections.Generic { public class ConcurrentList<T> : IList<T> { private List<T> _list; public ConcurrentList() { _list = new List<T>(); } ...
20.472973
86
0.343234
[ "MIT" ]
simplic-systems/simplic-corelib
src/Simplic.CoreLib/Collections/Generic/ConcurrentList.cs
3,032
C#
using BeatSaberMarkupLanguage.Components; using UnityEngine; namespace BeatSaberMarkupLanguage.Tags { public class TextTag : BSMLTag { public override string[] Aliases => new[] { "text", "label" }; public override GameObject CreateObject(Transform parent) { GameObject game...
33.62069
79
0.637949
[ "MIT" ]
Auros/BeatSaberMarkupLanguage
BeatSaberMarkupLanguage/Tags/TextTag.cs
977
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 ...
31.13253
144
0.700464
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-voicenavigator/VoiceNavigator/Model/V20180612/DescribeTTSConfigRequest.cs
2,584
C#
using System.Threading.Tasks; using AdventOfCode2020.Puzzles.Day04; using Xunit; namespace AdventOfCode2020.Tests.Puzzles.Day04.Part01 { public class Day04Part01Tests : PuzzleTestBase { [Theory] [InlineData(new[] { @"ecl:gry pid:860033327 eyr:2020 hcl:#fffffd byr:1937 iyr:20...
30.552632
97
0.632214
[ "MIT" ]
Scott-Caldwell/Advent-of-Code-2020
tests/AdventOfCode2020.Tests/Puzzles/Day04/Part01/Day04Part01Tests.cs
1,161
C#
using System; using System.Windows; using System.Data; using System.Xml; using System.Configuration; namespace ControlTemplates { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : System.Windows.Application { } }
16.470588
57
0.685714
[ "MIT" ]
DiogoBarbosaSilvaSousa/apress
pro-wpf-4.5-in-csharp/Pro WPF 4.5 in C#/Chapter17/ControlTemplates/App.xaml.cs
280
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2018 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Original...
45.120988
171
0.555999
[ "MIT" ]
ChristianBasiga/daggerfall-unity
Assets/Scripts/Game/Items/ItemHelper.cs
54,822
C#
using System; using System.Collections.Generic; using System.Text; namespace VultPay.Domain.Enums { public enum TransactionRisk { Undefined, Low, Medium, High } public enum Provider { Cielo, MercadoPago, PagSeguro, PayPal, P...
14.592593
33
0.478849
[ "MIT" ]
openponce/vultpay
VultPay.Domain/Enums/Enums.cs
1,184
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MirrorUVSetter : MonoBehaviour { // Use this for initialization void Start () { transform.position = new Vector3(Random.Range(-8.0f, 8.0f), Random.Range(-8.0f, 8.0f), 0.0f); transform.rotation = Quaternion.E...
34.347826
130
0.681013
[ "MIT" ]
tzaeru/Buddha
Assets/MirrorUVSetter.cs
792
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RimWorld; using Verse; namespace MoreGraphs.Nutrition { class HistoryAutoRecorderWorker_MoreGraphs_NutritionMeat : HistoryAutoRecorderWorker_MoreGraphs_NutritionCountBase { public HistoryAutoRecorderWorker_More...
23.882353
118
0.778325
[ "MIT" ]
nnieman/more-graphs
Source/MoreGraphs/MoreGraphs/Nutrition/HistoryAutoRecorderWorker_MoreGraphs_NutritionMeat.cs
408
C#
using UnityEngine; public class EffectManager { public static GameObject Play(string name,Vector3 worldPos) { Object effObjRes = Resources.Load("Effect/" + name); GameObject effectObj = (GameObject)GameObject.Instantiate(effObjRes); effectObj.transform.position = worldPos; retu...
26.307692
77
0.692982
[ "BSD-2-Clause" ]
liuhaili/Chess
ChessClient/Assets/Scripts/EffectManager.cs
344
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...
36.995614
164
0.583165
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/IdentityPlatform/TenantOauthIdpConfig.cs
8,435
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json.Linq; namespace HarFileReader { class Program { static void Main(string[] args) { Console.WriteLine("fileName\t" + Printer.Print(Entry.Headers.ToArray())); foreach (var arg in args) {...
26.330579
194
0.677024
[ "MIT" ]
kolsrud/har-file-reader
src/HarFileReader/Program.cs
3,188
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
55.585851
219
0.607476
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.Scheduler.V1/Google.Cloud.Scheduler.V1.Tests/CloudSchedulerClientTest.g.cs
69,927
C#
namespace Centvrio.Emoji { public class Game { /// <summary> /// Crystal ball 🔮 /// </summary> public static readonly UnicodeString CrystalBall = 0x1F52E; /// <summary> /// Video game 🎮 /// </summary> public static readonly UnicodeString VideoG...
26.443396
74
0.525865
[ "MIT" ]
Centvrio/Centvrio.Emoji
src/Centvrio.Emoji/Activities/Game.cs
2,873
C#
// Copyright 2017-2021 Elringus (Artyom Sovetnikov). All rights reserved. using System; using UnityEngine; using UnityEngine.UI; namespace Naninovel { public class ScriptableScrollRect : ScriptableUIControl<ScrollRect> { public event Action<Vector2> OnPositionChanged; protected override void ...
29.151515
83
0.696466
[ "Unlicense" ]
ChrisKindred/CartomancyGame
CartomancyGame/Assets/Naninovel/Runtime/Common/ScriptableUI/ScriptableScrollRect.cs
962
C#
using System; using System.Collections; using System.Xml; using System.Xml.Schema; namespace Mono.Xml { internal class InternalPool { public const string XdtNamespace = "http://www.w3.org/2003/11/xpath-datatypes"; internal static readonly XmlQualifiedName XsAnyTypeName = new XmlQualifiedName ("any", XmlSch...
40.747664
136
0.78922
[ "Apache-2.0" ]
AvolitesMarkDaniel/mono
mcs/class/Mono.Xml.Ext/Mono.Xml/InternalPool.cs
8,720
C#
namespace Trulioo.Client.V1.Model { public class RecordRule { public string RuleName { get; set; } public string Note { get; set; } } }
20.5
44
0.597561
[ "Apache-2.0" ]
Trulioo/sdk-csharp-v1
src/Trulioo.Client.V1/Model/RecordRule.cs
166
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.681818
83
0.668889
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Clb/V20180317/Models/ModifyTargetGroupInstancesWeightResponse.cs
1,408
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
39.165829
167
0.551706
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.480
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Draw/ViewDrawGroupBoxDocker.cs
7,797
C#
namespace Octokit.Webhooks.Events.PullRequest; using System.Text.Json.Serialization; using JetBrains.Annotations; [PublicAPI] [WebhookActionType(PullRequestActionValue.Reopened)] public sealed record PullRequestReopenedEvent : PullRequestEvent { [JsonPropertyName("action")] public override string Action => P...
26.846154
64
0.816619
[ "MIT" ]
JamieMagee/webhooks.net
src/Octokit.Webhooks/Events/PullRequest/PullRequestReopenedEvent.cs
351
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using PaymentGateway.Domain.Entities; using PaymentGateway.Domain.ValueObjects; namespace PaymentGateway.Data.Entities.Configurations { internal class PaymentCardConfiguration : IEntityTypeConfiguration<PaymentCard>...
29.6
84
0.606757
[ "MIT" ]
serenya/payment-service-provider
src/PaymentGateway/PaymentGateway.Data/EntityConfigurations/PaymentCardConfiguration.cs
742
C#
 namespace Microsoft.Maui.Automation { public class TextSelector : IElementSelector { public TextSelector(string text, TextMatchRule rule = TextMatchRule.Contains, StringComparison comparison = StringComparison.InvariantCultureIgnoreCase) { Text = text; Rule = rule; ...
32.052632
160
0.582102
[ "MIT" ]
Redth/Maui.UITesting
Microsoft.Maui.Automation.Core/Selectors/TextSelector.cs
1,220
C#
// Project: Aguafrommars/TheIdServer // Copyright (c) 2022 @Olivier Lefebvre using System; namespace Aguacongas.IdentityServer.KeysRotation { /// <summary> /// Options that control how an <see cref="Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyManager"/> should behave. /// </summary> public c...
40.404762
126
0.61756
[ "Apache-2.0" ]
LibertyEngineeringMovement/TheIdServer
src/IdentityServer/Shared/Aguacongas.IdentityServer.KeysRotation.Shared/KeyRotationOptions.cs
3,396
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Paillave.Etl.Reactive.Core; using System.Linq.Expressions; using Paillave.Etl.Reactive.Disposables; namespace Paillave.Etl.Reactive.Operators { public class FlatMapSubject<TIn, TOut> : FlatMap...
36.73913
174
0.601893
[ "MIT" ]
fossabot/Etl.Net
src/Paillave.Etl/Reactive/Operators/FlatMapSubject.cs
4,227
C#
using AutoMapper; using PointSale.Application.ViewModels; using PointSale.Domain.Entitites; namespace PointSale.Application.Mappings { public class DomainToViewModelMappingProfile : Profile { public DomainToViewModelMappingProfile() { CreateMap<Usuario, UsuarioViewModel>(); ...
23.058824
59
0.69898
[ "BSD-3-Clause" ]
MatheusRibeiro100/point-of-sale-back
PointSale.Application/Mappings/DomainToViewModelMappingProfile.cs
394
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace FileStorage.Data.Migrations { public partial class AddIsPublicMark : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsPublic", ...
26.875
71
0.579845
[ "MIT" ]
Pashkett/FileStorageProject
FileStorageBackend/FileStorage.Data/Migrations/20200512170154_AddIsPublicMark.cs
647
C#
using ICSharpCode.SharpZipLib.Checksum; using ICSharpCode.SharpZipLib.Zip.Compression; using ICSharpCode.SharpZipLib.Zip.Compression.Streams; using System; using System.IO; namespace ICSharpCode.SharpZipLib.GZip { public class GZipOutputStream : DeflaterOutputStream { private enum OutputState { Header, Foo...
21.625
115
0.629718
[ "MIT" ]
moto2002/jiandangjianghu
src/ICSharpCode.SharpZipLib.GZip/GZipOutputStream.cs
2,941
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.017699
186
0.557746
[ "ECL-2.0", "Apache-2.0" ]
aamir-locus/pulumi-aws
sdk/dotnet/Ec2/CustomerGateway.cs
7,914
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 "li...
50.008
184
0.678931
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/ComplianceTypeCountLimitExceededException.cs
6,251
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Luaon.Linq { [DebuggerDisplay("{Name}={Value}")] public class LField : LToken { private LToken _Value; public new static LField Load(LuaTableTextReader reader) { if ...
33.212121
147
0.507299
[ "Apache-2.0" ]
CXuesong/Luaon.NET
Luaon.NET/Linq/LField.cs
4,386
C#
using Aliq.Bags; using System; using System.Reactive.Linq; namespace Aliq.Adapters { public abstract class ObservableAdapterBase<O> where O : ObservableAdapterBase<O> { public IObservable<T> Get<T>(Bag<T> bag) => Map.GetOrCreate(bag, () => bag.Accept(CreateCreateVisitor<T>())); ...
34.127273
89
0.548215
[ "Apache-2.0" ]
aliq-lang/aliq-dotnet
Aliq/Adapters/ObservableAdapterBase.cs
1,879
C#
namespace BinarySerializer.Ray1 { public class ZDCEntry : BinarySerializable { public ushort ZDCIndex { get; set; } public byte ZDCCount { get; set; } public override void SerializeImpl(SerializerObject s) { s.DoBits<ushort>(b => { ZDCInd...
29.882353
89
0.564961
[ "MIT" ]
BinarySerializer/BinarySerializer.Ray1
src/BinarySerializer.Ray1/DataTypes/Common/ZDC/ZDCEntry.cs
510
C#
#region License // // Command Line Library: StringArrayEnumerator.cs // // Author: // Giacomo Stelluti Scala (gsscoder@ymail.com) // // Copyright (C) 2005 - 2010 Giacomo Stelluti Scala // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation f...
27.043796
80
0.529285
[ "Apache-2.0" ]
AshitakaLax/MCE-Clean-Buddy
src/MCEBuddy.CommandLine/Core/StringArrayEnumerator.cs
3,705
C#
using System; using System.Collections.Generic; using UniGLTF.Extensions.VRMC_vrm; using UnityEngine; namespace UniVRM10 { /// /// Base + (A.Target - Base) * A.Weight + (B.Target - Base) * B.Weight ... /// internal sealed class MaterialValueBindingMerger { public const string COLOR_PROPERTY...
35.845361
123
0.480012
[ "MIT" ]
StrawberryLovah/UniVRM
Assets/VRM10/Runtime/Components/Expression/MaterialValueBindingMerger.cs
10,673
C#
using DataGenerator.Interfaces; using System; using System.Threading; using System.Threading.Tasks; namespace DataGenerator { public class Generator : IDataGenerator { private readonly IObjectGeneratorService _objectGeneratorService; private readonly IDatabaseGeneratorService _databaseGenerato...
34.571429
154
0.651515
[ "MIT" ]
kupokev/random-data-database-script-generator
DataGenerator/Generator.cs
1,454
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using JetBrains.Annotations; using Microsoft.Win32; using Packages.Rider.Editor.Util; using Unity.CodeEditor; using UnityEngine; namespace Packages.Rider.Editor { internal interface IDiscovery { CodeEditor.Installation[] PathCa...
31.331023
179
0.62352
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.ide.rider@3.0.7/Rider/Editor/Discovery.cs
18,078
C#
namespace Sample19 { using System; using ifmIoTCore; using ifmIoTCore.NetAdapter.Http; internal class Program { static void Main() { HttpServerNetAdapter httpServer = null; try { var ioTCore = IoTCoreFactory.Create("MyIoTCore"); ...
25.71875
67
0.492102
[ "Apache-2.0" ]
ifm/iot-core
samples/Programming Guide/Sample19/Program.cs
825
C#
// Copyright (c) @asmichi (https://github.com/asmichi). Licensed under the MIT License. See LICENCE in the project root for details. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Asmichi.PlatformAbstraction; namespace Asmichi.Utilities { /// <summary> ...
39.063694
132
0.537094
[ "MIT" ]
asmichi/ChildProcess
src/ChildProcess/Utilities/SortedEnvironmentVariableListBuilder.cs
6,133
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data; using System.Data.Common; namespace AutoORMCore { internal interface IHelper:IDisposable { int ExecuteQuery(string txt, IEnumerable<IDataParameter> ps, bool issp); ...
37.392857
106
0.713467
[ "MIT" ]
56180825/Fiyzm
IHelper.cs
1,049
C#
using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using BuisnessLogic; using Shared; using Shared.DtoObjects; using Shared.Filters; namespace WebApi.Controllers { [RequireHttps] public class ServiceTypesController : ApiController { [RequireHttps] ...
34.243243
98
0.674033
[ "MIT" ]
bartosz-wozniak/ExtremeSports
src/WebApi/Controllers/ServiceTypesController.cs
1,269
C#
using OSCforSTD.Values; using System.Collections.Generic; using System.IO; using System.Text; namespace OSCforSTD { public class OSCMessage : OSCPacket { public OSCString Address { get; set; } public List<IOSCValue> Arguments { get; set; } public override byte[] Bytes { get; } ...
29.567797
87
0.511321
[ "MIT" ]
horseyhorsey/SkeletonGameManager
src/OSCforSTD/OSCMessage.cs
3,491
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("HXAMSwipeGestureRecognizer")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfigurati...
37.407407
82
0.747525
[ "MIT" ]
Rhits/XamarinPlugins
HXAMSwipeGestureRecognizer/HXAMSwipeGestureRecognizer/Properties/AssemblyInfo.cs
1,012
C#
namespace LittleAgenda.Constants { public static class ContentDeliveryNetwork { public static class Google { public const string Domain = "ajax.googleapis.com"; public const string JQueryUrl = "//ajax.googleapis.com/ajax/libs/jquery/2.2.3/jquery.min.js"; } ...
44.884615
136
0.651243
[ "MIT" ]
avmesquita/LittleContactsAgenda
LittleAgenda/Constants/ContentDeliveryNetwork.cs
1,169
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using TranslateLib; namespace WebAPI.Controllers { [Route("api/translate")] [ApiController] public class TranslateController : ControllerBase ...
26.642857
105
0.553619
[ "Unlicense" ]
mickaj/piglet
WebAPI/Controllers/TranslateController.cs
1,494
C#
namespace Bot.NET { partial class MainForm { /// <summary> /// Variable del diseñador necesaria. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpiar los recursos que se estén usando. /// </summary> ...
52.348066
161
0.624063
[ "MIT" ]
Kingomac/Simple-Bot-Maker
MainForm.Designer.cs
9,485
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...
34.214712
111
0.57914
[ "Apache-2.0" ]
pranavmishra7/awssdks
sdk/src/Services/SimpleSystemsManagement/Generated/Model/AssociationDescription.cs
17,210
C#
using System; using UnityEngine; using System.Collections; using System.Collections.Generic; /// <summary> /// 温馨提示 /// </summary> public class ReminderWnd : WndBase { public ReminderWnd_h MyHead { get { return (base.BaseHead() as ReminderWnd_h); } } public override vo...
19.485714
80
0.655425
[ "MIT" ]
741645596/batgame
Assets/Scripts/Manger/UI/WND/ReminderWnd.cs
692
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UITests { public static class Globals { public static List<GUIDrawable> guiDrawables = new List<GUIDrawable>(); } }
18.857143
79
0.727273
[ "MIT" ]
rbartsch/MonoGame-UI-Experiments
UITests/Globals.cs
266
C#
using System; using System.Collections.Generic; using Confab.Shared.Abstractions.Commands; namespace Confab.Modules.Agendas.Application.Submissions.Commands { public record CreateSubmission(Guid ConferenceId, string Title, string Description, int Level, IEnumerable<string> Tags, IEnumerable<Guid> SpeakerI...
36.75
105
0.77551
[ "MIT" ]
ArturWincenciak/confab
src/Modules/Agendas/Confab.Modules.Agendas.Application/Submissions/Commands/CreateSubmission.cs
443
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NonogramNet.Lib.Model; namespace NonogramNet.Lib.Solvers { public class CrossOutCompletedLine: ISolver { public IEnumerable<BoardChange> Solve(IBoard board) { HashSet<BoardChange>? changes =...
33.032258
92
0.474121
[ "MIT" ]
PedersenThomas/NonogramNet.Lib
NonogramNet.Lib/Solvers/CrossOutCompletedLine.cs
2,050
C#
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace WebApiContrib.Core.WebPages.Samples { public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBuilder CreateWeb...
24.833333
77
0.628635
[ "MIT" ]
EngageToSellLLC/WebAPIContrib.Core
samples/WebApiContrib.Core.WebPages.Samples/Program.cs
449
C#
//----------------------------------------------------------------------- // <copyright file="PartyInputModelItem.cs" company="Sitecore Corporation"> // Copyright (c) Sitecore Corporation 1999-2015 // </copyright> // <summary>InputModel item parameter accepting party information.</summary> //----------------------...
31.466667
94
0.500908
[ "Apache-2.0" ]
Sitecore/sccs-demo
Common/Project/Models/InputModels/PartyInputModelItem.cs
3,306
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
34.258065
151
0.580038
[ "MIT" ]
GeForceNero17/Spammer-Bot
TextSpammer/TextSpammer/Properties/Settings.Designer.cs
1,064
C#
using System; using BizHawk.Common.BufferExtensions; using BizHawk.Emulation.Common; using BizHawk.Emulation.Cores.Components.MC6809; namespace BizHawk.Emulation.Cores.Consoles.Vectrex { [Core(CoreNames.VectrexHawk, "")] [ServiceNotApplicable(new[] { typeof(IDriveLight) })] public partial class VectrexHawk : IEmu...
25.335329
139
0.684472
[ "MIT" ]
PandaSRC/BizHawk
src/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.cs
4,233
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Consul; using DnsClient; using DnsClient.Protocol; using Microsoft.AspNetCore.Mvc; namespace WebApi.Controllers { public class ValuesController : Controller {...
27.484211
105
0.547683
[ "Apache-2.0" ]
JoelHT-Landmark/Consul4Net
WebApi/Controllers/ValuesController.cs
2,613
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...
40.197183
181
0.589348
[ "CC0-1.0" ]
nosfsos/PSCDebugger
Properties/Resources.Designer.cs
2,856
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Brimborium.Extensions.RequestPipe.Sample_WebApp.Pages { [ResponseCache(Duration = 0, Location = ResponseCac...
30.47619
88
0.726563
[ "MIT" ]
grimmborium/Brimborium.Extensions
sample/Brimborium.Extensions.RequestPipe.Sample-WebApp/Pages/Error.cshtml.cs
640
C#
using System; using System.IO; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting.WindowsServices; using Microsoft.Extensions.Logging; using Mi...
38.863636
123
0.655556
[ "MIT" ]
OlegBoulanov/s3i
s3iWorker/Program.cs
1,710
C#
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
33.608108
98
0.647768
[ "Apache-2.0" ]
nkast/MGJ3
src/Aether/Core/Visual/PointLight.cs
2,489
C#
using Alabo.Datas.Stores; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Entities; using Alabo.Domains.Services.Add; using Alabo.Runtime.Config; using System; namespace Alabo.Domains.Services.Attach { public abstract class AttachBase<TEntity, TKey> : AddBase<TEntity, TKey>, IAttach<TEntity, TKey> whe...
30.538462
106
0.671285
[ "MIT" ]
tongxin3267/alabo
src/01.framework/01-Alabo/Domains/Services/Attach/AttachBase.cs
796
C#
using System; namespace GitMind.Utils.Ipc { /// <summary> /// The IPC Remoting service base class. /// On the server side, instances of classes, which inherits this class will receive IPC calls. /// On client side, proxy instances, based on that type, are used to make IPC calls. /// </summary> internal class ...
34.588235
96
0.741497
[ "MIT" ]
michael-reichenauer/GitMind
GitMind/Utils/Ipc/IpcService.cs
590
C#
using AutoMapper; using EventBus.Messages.Events; using MassTransit; using MediatR; using Microsoft.Extensions.Logging; using Ordering.Application.Features.Orders.Commands.CheckoutOrder; using System; using System.Threading.Tasks; namespace Ordering.API.EventBusConsumer { public class BasketCheckoutConsumer : ICo...
35.942857
120
0.720986
[ "MIT" ]
rodolpholl/MicroservicesNET5
src/Services/Ordering/Ordering.API/EventBusConsumer/BasketCheckoutConsumer.cs
1,260
C#
using System; using System.Web.Mvc; namespace NoMoreSusi.Web.Infrastrucutre.Filters { public class CustomErrorAttribute:HandleErrorAttribute { public override void OnException(ExceptionContext filterContext) { base.OnException(filterContext); } } }
20.153846
66
0.793893
[ "MIT" ]
Ico093/NoMoreSusi
NoMoreSusi.Web/Infrastrucutre/Filters/CustomErrorAttribute.cs
264
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; namespace Eagle.ExternalIntegrationWebApi.Areas.HelpPage.ModelDescriptions { internal static class ModelNameHelper { // Modify this to provide custom model name mapping. public static string GetModelName(Type ...
40.555556
140
0.640411
[ "Apache-2.0" ]
Juntoz/dotnet-webapi-integration
Eagle.ExternalIntegrationWebApi/Areas/HelpPage/ModelDescriptions/ModelNameHelper.cs
1,460
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Interop; using System.Windows.Media.Imaging; using WindowsPoint = System.Windows.Point; using DrawingPoint = System.Drawing.Point; namespace Touchless.Shared.Extension...
26.416667
97
0.483176
[ "MIT" ]
KyubiB/Core-RCC
Rahmat_Casting_Center/WebCamWrapper/Shared/Extensions/Extensions.cs
1,904
C#
using GameHubAPI.Interfaces; using GameHubAPI.Models.DB; using Microsoft.Extensions.Configuration; namespace GameHubAPI.Classes { public class DataContextProvider : IDataContextProvider { #region Properties private readonly GameHubContext _dbContext; private readonly IConfiguration _c...
23.75
90
0.655263
[ "MIT" ]
anttuc4769/GameHub
GameHubAPI/Classes/DataContextProvider.cs
762
C#
using System; using System.ComponentModel.DataAnnotations; using System.Configuration; using System.Web.Mvc; using System.Web.Mvc.Html; using System.Web.Optimization; using System.Web.Routing; using log4net.Config; using Thunder.Web.Mvc.Binders; using RequiredAttributeAdapter = Template.Adapters.RequiredAttributeAdapt...
49.340659
157
0.602895
[ "Apache-2.0" ]
adrianocaldeira/kurumin
Template/App_Start/XerneasConfig.cs
4,492
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MeisterGeister.ViewModel.Kampf.Logic.Modifikatoren { /// <summary> /// Der BE Mod wird nirgendwo angewandt. Er dient nur zur Darstellung in der ModifikatorListe. /// An die ModifikatorListe muss eine I...
24.229167
103
0.552021
[ "Apache-2.0" ]
Constructor0987/MeisterGeister
ViewModel/Kampf/Logic/Modifikatoren/BehinderungModifikator.cs
1,167
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Prize : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { ...
23.314286
92
0.595588
[ "Unlicense" ]
UpbeatBeau/btm9801-HW-Week2
Assets/Scripts/Prize.cs
818
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace BeehiveSimulator { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() ...
23
66
0.577075
[ "MIT" ]
head-first-csharp/second-edition
Chapter 12/Chapter 12 Beehive Simulator/Chapter 12 Beehive Simulator/Program.cs
508
C#
using System; using System.Data; using System.Data.OleDb; namespace OMeta.ISeries { public class ISeriesTables : Tables { public ISeriesTables() { } override internal void LoadAll() { try { string type = this.dbRoot.ShowSystemData ? "SYSTEM TABLE" : "TABLE"; DataTable metaData = this.Load...
17.548387
102
0.617647
[ "MIT" ]
kiler398/OMeta
src/OpenMetaData/ISeries/Tables.cs
544
C#
using System.Collections; using System.Collections.Generic; using System; using UnityEngine; public class Clock : MonoBehaviour { const float hoursToDegrees = -30f, minutesToDegrees = -6f, secondsToDegrees = -6f; [SerializeField] Transform hoursPivot = default, minutesPivot, secondsPivot; void Update() { Analo...
26.615385
83
0.748555
[ "MIT" ]
eugene-doobu/Incheon-Meister-Unity
CatLikeCoding/Basics/Assets/game-objects-and-scripts/Clock.cs
1,038
C#
using System; using BizHawk.Emulation.Common; namespace BizHawk.Emulation.Cores.Nintendo.NES { partial class NES : INESPPUViewable { public int[] GetPalette() => palette_compiled; public bool BGBaseHigh => ppu.reg_2000.bg_pattern_hi; public bool SPBaseHigh => ppu.reg_2000.obj_pattern_hi; pub...
20.1125
81
0.624612
[ "MIT" ]
CartoonFan/BizHawk
src/BizHawk.Emulation.Cores/Consoles/Nintendo/NES/NES.INESPPUViewable.cs
1,611
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma warning disable 1634, 1691 using System.Diagnostics.CodeAnalysis; using System.Net; using System.Security; using System.Runtime.Serialization; using System.Security.Cryptography; using Microsoft.PowerShell; // FxC...
32.207729
168
0.515974
[ "MIT" ]
bechirslimene/PowerShell
src/System.Management.Automation/engine/Credential.cs
13,334
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub Applications API. /// </summary> /// <remarks> /// See the <a href="http://developer.github.com/v3/apps/">GitHub Apps API documentation</a> for more information. ...
52.465517
147
0.664804
[ "MIT" ]
3shape/octokit.net
Octokit/Clients/IGitHubAppsClient.cs
6,088
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 ...
19.072368
134
0.623663
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-ehpc/EHPC/Model/V20180412/SubmitJobRequest.cs
5,798
C#
using Kasp.CloudMessage.Services; namespace Kasp.CloudMessage.FireBase.Services { public interface IFcmService : ICloudMessageService { // Task<FcmMessageResponse> SendAsync(Message message, CancellationToken cancellationToken = default); // Task<Result<bool>> SendToUserAsync(int userId, Message message, Cancella...
52
116
0.807692
[ "MIT" ]
Kican/Kasp
src/Kasp.CloudMessage.FireBase/Services/IFcmService.cs
468
C#
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("HotReloading.BuildTask")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [as...
38.64
82
0.741201
[ "MIT" ]
andreinitescu/HotReloading
Build/HotReloading.BuildTask/Properties/AssemblyInfo.cs
968
C#
namespace HomeAPI.Backend.Options { public class OWMOptions { public string ApiKey { get; set; } public float Latitude { get; set; } public float Longitude { get; set; } public string LanguageCode { get; set; } } }
17.538462
42
0.684211
[ "MIT" ]
chwun/HomeAPI.Backend
HomeAPI.Backend/Options/OWMOptions.cs
228
C#
using Xamarin.Forms; using Rect = Xamarin.Forms.Shapes.Rectangle; namespace FormsGallery.CodeExamples { public class RectangleDemoPage : ContentPage { public RectangleDemoPage() { Label header = new Label { Text = "Rectangle", FontSize = ...
25.48
56
0.44741
[ "Apache-2.0" ]
15217711253/xamarin-forms-samples
FormsGallery/FormsGallery/FormsGallery/CodeExamples/RectangleDemoPage.cs
1,276
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Presentation; using A = DocumentFormat.OpenXml.Drawing; using Ap = DocumentFormat.OpenXml.Extende...
51.001607
5,339
0.694617
[ "MIT" ]
coderIML/Open-XML-SDK.net
test/DocumentFormat.OpenXml.Tests/ConformanceTest/PresetTransition/GeneratedDocument.cs
952,340
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace api { public interface IInstaller { void InstallServices(IConfiguration configuration, IServiceCollection services); } }
24.1
88
0.784232
[ "MIT" ]
tortoise10h/Fruit_WareHouse_Management_Api
api/IInstaller.cs
241
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.451/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; using ExtendedControls.ExtendedToo...
37.382857
222
0.515022
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.451
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/ExtendedToolkit/Controls/Navigator/Controls/KryptonTabControl.cs
71,964
C#
using System; using System.IO; using System.Linq; using Abp.Reflection.Extensions; namespace AbpTemplate.Web { /// <summary> /// This class is used to find root path of the web project in; /// unit tests (to find views) and entity framework core command line commands (to find conn string). /// </summa...
35.277778
120
0.604724
[ "MIT" ]
aspnetboilerplate/module-zero-core-template-docker
src/AbpTemplate.Core/Web/WebContentFolderHelper.cs
1,907
C#
using System.ComponentModel.DataAnnotations; namespace idsvr4.Models { public class LoginInputModel { [Required] [EmailAddress] public string Username { get; set; } [Required] [DataType(DataType.Password)] public string Password { get; set; } [Display(N...
22.1
45
0.599548
[ "MIT" ]
horaciodev/Idsvr4.bundle
idsvr4/Models/LoginInputModel.cs
442
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> //--...
42.324324
182
0.599617
[ "MIT" ]
pzenie/SnapDoku
Sudoku_Solver_Xamarin/Sudoku_Solver_Xamarin/Properties/Resources.Designer.cs
3,134
C#
using System.Collections.Generic; using Chartreuse.Today.Core.Shared.Model; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Chartreuse.Today.Core.Shared.Tests { public static class AssertHelper { public static void AssertOrderIs(this List<ITask> source, params ITask[] tasks) { ...
34.34375
89
0.589627
[ "MIT" ]
2DayApp/2day
src/2Day.Core.Shared.Tests/AssertHelper.cs
1,099
C#
using System; namespace Dfe.Spi.HistoricalDataLoader.GiasLoaderConsoleApp.Models { public class PointInTimeModelBase { public DateTime PointInTime { get; set; } public bool IsCurrent { get; set; } } }
22.9
66
0.694323
[ "MIT" ]
DFE-Digital/spi-tools
HistoricalDataLoader/src/Dfe.Spi.HistoricalDataLoader.GiasLoaderConsoleApp/Models/PointInTimeModelBase.cs
229
C#
using Player; using UnityEngine; using UnityEngine.UI; namespace UI.PlayerInfo { public class GoldLabelController : MonoBehaviour { private Text _txt; private void Start() { _txt = GetComponent<Text>(); _txt.text = ""; } private void Update() ...
19.565217
102
0.564444
[ "MIT" ]
SimeonTsekov/Diploma-Project
Warlords of Indochina/Assets/Scripts/UI/PlayerInfo/GoldLabelController.cs
452
C#
namespace Suteki.TardisBank.Infrastructure.NHibernateMaps.Conventions { using FluentNHibernate.Conventions; using FluentNHibernate.Conventions.Instances; using JetBrains.Annotations; [UsedImplicitly] public class PrimaryKeyConvention : IIdConvention { public void Apply(IIdentityInstan...
26
70
0.690171
[ "BSD-3-Clause" ]
deromero/Sharp-Architecture
Samples/TardisBank/Src/Suteki.TardisBank.Infrastructure/NHibernateMaps/Conventions/PrimaryKeyConvention.cs
470
C#
using System.Diagnostics.Contracts; using System.Drawing; using System.Text; using ReClassNET.Extensions; using ReClassNET.Memory; using ReClassNET.UI; namespace ReClassNET.Nodes { public abstract class BaseTextNode : BaseNode { public int Length { get; set; } public override int MemorySize => Length * Charact...
26.762376
92
0.676286
[ "MIT" ]
EliteOutlaws/ReClass.NET
ReClass.NET/Nodes/BaseTextNode.cs
2,705
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
28.033333
145
0.537158
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/LessThan/Complete/NullableDouble/NullableSingle/TestSet_504__param__03__NV.cs
3,366
C#
using Microsoft.AspNetCore.Identity; namespace WemaAssessment.Domain.Models { public class Customer : IdentityUser { public string State { get; set; } public string LGA { get; set; } } }
19.727273
41
0.654378
[ "MIT" ]
dev-afolabi/WemaAccessment
WemaAssessment.Domain/Models/Customer.cs
219
C#
using Shoko.Models.Enums; namespace Shoko.Server.ImageDownload { public class ImageDetails { public ImageEntityType ImageType { get; set; } public int ImageID { get; set; } } }
20.6
54
0.65534
[ "MIT" ]
EraYaN/ShokoServer
Shoko.Server/ImageDownload/ImageDetails.cs
208
C#