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("Fa...
38.351351
84
0.749119
[ "MIT" ]
Ivelin153/SoftUni
Programming Fundamentals/MethodsAndDebuggingHomework/FactorialTrailingZeroes/Properties/AssemblyInfo.cs
1,422
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using Dhgms.Nucleotide.Generators; using Dhgms.Nucleotide.Generators.Features.Cqrs; using Dhgms.Nucleotide.Generators.Models; using Dhgms.Nucleotide.ModelTests; using Microsoft.CodeAnalysis; using Moq; using Xunit...
37.186047
224
0.72858
[ "Apache-2.0" ]
dpvreony/nucleotide
src/Dhgms.Nucleotide.UnitTests/Generators/Cqrs/QueryFactoryInterfaceGeneratorTests.cs
1,601
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Linq; using System.Text; using System.Web.Services.Protocols; using DotNetShipping.RateServiceWebReference; namespace DotNetShipping.ShippingProviders { public abstract class FedExBaseProvider : Abs...
43.098425
197
0.62556
[ "MIT" ]
judah4/DotNetShipping
DotNetShipping/ShippingProviders/FedExBaseProvider.cs
10,949
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 08.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
31.444
361
0.568757
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete2__objs/NullableDouble/NullableDouble/TestSet_001__fields__01__VV.cs
7,863
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview { using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions; public partial class RangeVariable { /// <summary> /// <c>AfterFromJson</c> will be called after the json deserialization has...
70.353982
302
0.683522
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/api/Models/Api20180901Preview/RangeVariable.json.cs
7,838
C#
/* Copyright (C) 2008 Jeroen Frijters This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial a...
18.046099
76
0.675378
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/IKVM.Reflection/Emit/Tokens.cs
5,089
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Project.EnviromentObjects.Scripts { public class FallingPlatformController : MonoBehaviour { [SerializeField] private TargetJoint2D targetJoint2D; [SerializeField] private BoxCollider2D boxCol...
25.3125
62
0.623457
[ "MIT" ]
IanAlves21/TCC1-Project
Assets/Project/EnviromentObjects/Scripts/FallingPlatformController.cs
810
C#
namespace MSR.CVE.BackMaker.ImagePipeline { public class VEAddressLayout : ITileAddressLayout { public int XValueOneTileEast(TileAddress ta) { return WrapLongitude(ta.TileX + 1, ta.ZoomLevel); } public static int WrapLongitude(int TileX, int ZoomLevel) { ...
23.545455
65
0.561776
[ "MIT" ]
AkisKK/GMap.NET
Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/VEAddressLayout.cs
518
C#
using UnityEngine; using System.Collections; public class FollowTransform : ExecutionOrderBehaviour { public Transform follower; public Transform target; // Update is called once per frame public override void LateUpdateCustom () { follower.position = target.position; } }
20.5
56
0.770035
[ "Apache-2.0" ]
MWold/RagdollThrower
Assets/3rdPersonShooter/Demo Scene Scripts/FollowTransform.cs
287
C#
using System; namespace IB.CSharpApiClient.Events { public class TickNewsEventArgs : EventArgs { public TickNewsEventArgs(int tickerId, long timeStamp, string providerCode, string articleId, string headline, string extraData) { TickerId = tickerId; TimeStamp = timeStamp;...
35.034483
227
0.609252
[ "MIT" ]
Hummel83/IB.CSharpApiClient
src/IB.CSharpApiClient/Events/TickNewsEventArgs.cs
1,016
C#
/* Copyright (c) 2015 Tizian Zeltner, ETH Zurich * * 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,...
31.056604
80
0.745443
[ "MIT" ]
fi-content2-games-platform/FIcontent.Gaming.Application.TreasureHunt
Assets/Scripts/Puzzles/ConnectedLeversPuzzle/ConnectedLeverAction.cs
1,648
C#
using Newtonsoft.Json.Linq; using Skybrud.Essentials.Json.Extensions; using Skybrud.Social.Google.Models; namespace Skybrud.Social.Google.Geocoding.Models { /// <summary> /// Class representing an address component of a <see cref="GeocodingResult"/>. /// </summary> public class GeocodingAddressCo...
30.714286
114
0.60814
[ "MIT" ]
abjerner/Skybrud.Social.Google.Geocoding
src/Skybrud.Social.Google.Geocoding/Models/GeocodingAddressComponent.cs
1,722
C#
using SolidWorks.Interop.sldworks; using SolidWorks.Interop.swconst; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace AngelSix.SolidDna { /// <summary> /// A command group for the top command bar in SolidWorks /// </summary> public class CommandManagerGroup...
35.339623
188
0.556742
[ "MIT" ]
Yobeekster/SolidWorks
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Group/CommandManagerGroup.cs
16,859
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace InjectorGames.FarAlone.Items { [Serializable] public class GunItem : WeaponItem { [SerializeField] protected GameObject bulletPrefab; pub...
20.722222
55
0.726542
[ "Apache-2.0" ]
InjectorGames/FarAlone
Assets/FarAlone/Scripts/Items/GunItem.cs
375
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections.ObjectModel; namespace Time_Owner { static class Extensions { public static void Swap<T>(this ObservableCollection<T> list, int index1, int index2) { ...
22.2
93
0.641892
[ "MIT" ]
Testosterone59/WPF_Time-Manager
Time Owner/Time Owner/Extensions.cs
446
C#
using ALE.ETLBox; using ALE.ETLBox.ConnectionManager; using ALE.ETLBox.ControlFlow; using ALE.ETLBox.DataFlow; using ALE.ETLBox.Helper; using ALE.ETLBox.Logging; using ALE.ETLBoxTests.Fixtures; using CsvHelper.Configuration; using CsvHelper.Configuration.Attributes; using Newtonsoft.Json; using System; using System.Col...
32.78
138
0.691885
[ "MIT" ]
SipanOhanyan/etlbox
TestsETLBox/src/DataFlowTests/JsonDestination/JsonDestinationDynamicObjectTests.cs
1,639
C#
namespace Genbox.SimpleS3.Core.Network.Responses.Buckets; public class DeleteBucketTaggingResponse : BaseResponse {}
39.333333
58
0.847458
[ "MIT" ]
Genbox/SimpleS3Net
src/SimpleS3.Core/Network/Responses/Buckets/DeleteBucketTaggingResponse.cs
120
C#
using System; using System.IO; using Abp.Reflection.Extensions; namespace KP.FunOA { /// <summary> /// Central point for application version. /// </summary> public class AppVersionHelper { /// <summary> /// Gets current version of the application. /// It's also shown in the...
29.481481
166
0.619347
[ "MIT" ]
wx0322/KpOA
aspnet-core/src/KP.FunOA.Core/AppVersionHelper.cs
798
C#
// <auto-generated /> // Built from: hl7.fhir.r4b.core version: 4.1.0 // Option: "NAMESPACE" = "fhirCsR4" using fhirCsR4.Models; namespace fhirCsR4.ValueSets { /// <summary> /// Category of an identified substance associated with allergies or intolerances. /// </summary> public static class AllergyIntoleran...
35.513889
507
0.666797
[ "MIT" ]
GinoCanessa/Subscription-CS-Endpoint
src/Fhir/R4B/ValueSets/AllergyIntoleranceCategory.cs
2,557
C#
using System; using System.Dynamic; using System.Threading.Tasks; using CitizenFX.Core; using CitizenFX.Core.Native; using FivePD.API; using FivePD.API.Utils; namespace WildernessCallouts { [CalloutProperties("Hiker Stuck", "BGHDDevelopment", "1.0.0")] public class HikerStuck : Callout { priv...
30.767442
103
0.504157
[ "MIT" ]
BGHDDevelopment/WildernessCallouts
WildernessCallouts/HikerStuck.cs
2,648
C#
using System; namespace FibonacciNumbers { class MainClass { public static void Main (string[] args) { int n = int.Parse (Console.ReadLine()); Console.WriteLine (Fib(n)); } public static int Fib(int n) { int a = 0; int b = 1; for (int i = 0; i <= n; i++) { int temp = a; a = b; ...
13
42
0.53022
[ "MIT" ]
ACheshirov/SoftUni
Methods and Debugging - Exercises/Fibonacci_Numbers.cs
364
C#
using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; using System.Reflection; using System.Runtime.CompilerServices; namespace DotNext.Reflection; /// <summary> /// Represents reflected event. /// </summary> /// <typeparam name="THandler">A delegate representing event handler.</typeparam> public clas...
45.013917
200
0.669729
[ "MIT" ]
copenhagenatomics/dotNext
src/DotNext.Reflection/Reflection/Event.cs
22,642
C#
using System.ComponentModel.DataAnnotations; namespace Financial.Api.Models { public class WalletInputModel { [Required] public string Name { get; set; } public double CurrentBalance { get; set; } } }
19.916667
50
0.65272
[ "MIT" ]
gmilani/bilmo
api/FinancialApi/Models/WalletInputModel.cs
241
C#
using System; using System.Diagnostics; namespace AIGames.UltimateTicTacToe.StarterBot.Communication { public struct RequestMoveInstruction : IInstruction { public RequestMoveInstruction(TimeSpan time) { m_Time = time; } public TimeSpan Time { get { return m_Time; } } [DebuggerBrowsable(DebuggerBrowsableStat...
24.733333
92
0.722372
[ "MIT" ]
Corniel/AIGames.UltimateTicTacToe.StarterBot
src/AIGames.UltimateTicTacToe.StarterBot/Communication/Instruction.Move.Request.cs
744
C#
using Xunit; namespace Grynwald.MarkdownGenerator.Test { public class MdEmptySpanTest { [Fact] public void ToString_returns_the_expected_value() { Assert.Equal(string.Empty, MdEmptySpan.Instance.ToString()); } } }
19.428571
72
0.632353
[ "MIT" ]
ap0llo/markdown-generator
src/MarkdownGenerator.Test/_Model/_Spans/MdEmptySpanTest.cs
274
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...
31.734848
178
0.560516
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/Bds/GetBdsInstances.cs
4,189
C#
namespace AnimalCentre { using AnimalCentre.Core; using AnimalCentre.IO; public class StartUp { public static void Main() { IReader reader = new Reader(); IWriter writer = new Writer(); var engine = new Engine(reader, writer); engine.Run...
19
52
0.532164
[ "MIT" ]
VeselinBPavlov/csharp-oop-basics
17. Exam - 18 November 2018/AnimalCentre/StartUp.cs
344
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Diagnostics; using Xamarin.Forms.Internals; using Xamarin.Forms; using Windows.UI.Xaml.Media.Animation; using Windows.UI.Xaml; using Windows.UI.Composition; namespace Plugin.SharedTransitions.Platforms.UWP { ...
38.552632
148
0.568259
[ "MIT" ]
craigwi/Xamarin.Plugin.SharedTransitions
src/SharedTransitions/Platforms/UWP/NavigationTransition.cs
8,792
C#
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Backend.Models; using WalletWasabi.Blockchain.BlockFilters; using WalletWasabi.Blockchain...
42.916201
193
0.752408
[ "MIT" ]
DanGould/WalletWasabi
WalletWasabi.Tests/UnitTests/Filters/IndexStoreTests.cs
7,682
C#
using RumahScarlett.Presentation.Views.CommonControls; 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; namespace RumahScarlett.Presentation.Views.Pembel...
24.526718
80
0.641145
[ "MIT" ]
izhal27/rumah_scarlett
src/RumahScarlett/RumahScarlett.Presentation/Views/Pembelian/ReturnPembelianView.cs
3,215
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. using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Symbols...
39.772727
205
0.690667
[ "ECL-2.0", "Apache-2.0" ]
binsys/roslyn_java
Src/Workspaces/CSharp/Formatting/Engine/CSharpStructuredTriviaFormatEngine.cs
2,627
C#
namespace Spark.Engine.Service.FhirServiceExtensions { using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Hl7.Fhir.Language; using Hl7.Fhir.Model; using Hl7.FhirPath; using Expression = System.Linq.Express...
42.779661
161
0.5313
[ "BSD-3-Clause" ]
fbaham/spark
src/Spark.Engine/Service/FhirServiceExtensions/PatchService.cs
10,098
C#
using ESFA.DC.ESF.Database.EF.Interfaces; namespace ESFA.DC.ESF.Database.EF { public partial class ESF_DataStoreEntities : IESF_DataStoreEntities { public ESF_DataStoreEntities(string connectionString) : base(connectionString) { } } }
23.666667
71
0.676056
[ "MIT" ]
SkillsFundingAgency/DC-ESF
src/ESFA.DC.ESF.Database.EF/ESF_DataStoreEntities.cs
286
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> //--...
37.319444
180
0.626721
[ "MIT" ]
alexwnovak/TF2Maps
jump_mirage/src/NumberGenerator/NumberGenerator/Properties/Resources.Designer.cs
2,689
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Cloud.Core.Storage.AzureCosmos.Tests")] [assembly: InternalsVisibleTo("Cloud.Core.Storage.AzureCosmos.Tests.Profiler")]
47.75
79
0.827225
[ "MIT" ]
m-knet/Cloud.Core.Storage.AzureCosmos
src/Cloud.Core.Storage.AzureCosmos/Properties/AssemblyInfo.cs
193
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...
40.798507
199
0.635083
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/BillingConductor/Generated/Model/Internal/MarshallTransformations/ListPricingPlansResponseUnmarshaller.cs
5,467
C#
using System.Collections.Generic; using System.Security.Claims; using BrockAllen.MembershipReboot; using Fulcrum.Core.Concepts; using FulcrumSeed.Components.UserAccounts.Domain.Entities; using FulcrumSeed.Components.UserAccounts.Domain.Repositories; using FulcrumSeed.Infrastructure.MembershipReboot; namespace FulcrumS...
30.783784
109
0.761194
[ "BSD-3-Clause" ]
smhinsey/Fulcrum
seed/FulcrumSeed/Components/UserAccounts/Domain/Services/AppUserService.cs
1,139
C#
#region Copyright © 2015 Couchcoding // File: FrmLogSearch.cs // Package: Logbert // Project: Logbert // // The MIT License (MIT) // // Copyright (c) 2015 Couchcoding // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "S...
30.77591
275
0.651315
[ "MIT" ]
Deb-BornToLearn/Logbert
src/Logbert/Dialogs/FrmLogSearch.cs
10,990
C#
using System; using System.Reflection; using System.Reflection.Emit; using System.Text.Json.Serialization; using NetRpc.Contract; namespace NetRpc; public class PPInfo { public PropertyInfo? PropertyInfo { get; } public ParameterInfo? ParameterInfo { get; } public Type Type { get; } public string ...
25.478873
89
0.637922
[ "MIT" ]
newshadowk/Nrpc
src/NetRpc/Model/PPInfo.cs
1,811
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Xalendar.View.Controls { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class CalendarDay : ContentView { p...
18.363636
53
0.69802
[ "MIT" ]
brendonbarreto/Xalendar
src/Xalendar.View/Controls/CalendarDay.xaml.cs
404
C#
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; namespace MSBuild.Community.Tasks { /// <summary> /// /// </summary> public class RemoveDuplicatesAssemblies : Task { //...
28.772727
125
0.478146
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
redistributable/MSBuild.Community.Tasks/MSBuild.Community.Tasks/RemoveDuplicatesAssemblies.cs
1,901
C#
/* JSON Syntax Validator (C) Torres Frederic 2013 Based on code from: How do I write my own parser? (for JSON) By Patrick van Bergen http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html My library heavily change Patrick van Bergen's code. The library is release un...
40.0175
205
0.467171
[ "Apache-2.0" ]
fredericaltorres/TextHighlighterExtension
JSON.SyntaxValidator/JSON.SyntaxValidator.Tokenizer.cs
16,007
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; namespace osu.Game.Overlays.Settings.Sections.Input { public class KeyboardSettings : SettingsSubsection { prote...
28.44
93
0.561181
[ "MIT" ]
StefanYohansson/osu
osu.Game/Overlays/Settings/Sections/Input/KeyboardSettings.cs
713
C#
using System.Web.Mvc; namespace IGCV_Protokoll.Areas.Session { public class SessionAreaRegistration : AreaRegistration { public override string AreaName { get { return "Session"; } } public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute( name: "Session_default", ...
22.47619
89
0.694915
[ "MIT" ]
jfheins/IGCV-Protokoll
IGCV-Protokoll/Areas/Session/SessionAreaRegistration.cs
474
C#
/************************************************************************ * Copyright (c) 2006-2008, Jason Whitehorn (jason.whitehorn@gmail.com) * All rights reserved. * * Source code and binaries distributed under the terms of the included * license, see license.txt for details. ********************************...
35.271186
124
0.556343
[ "BSD-3-Clause" ]
crayse1/aspNETserve
IntegrationTests/NetServeTests/HttpRequestObjectTests.cs
8,324
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Game.Rulesets.Difficulty.Preprocessing; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Osu.Objects; using osu...
40.534722
198
0.590714
[ "MIT" ]
DouglasMarq/osu
osu.Game.Rulesets.Osu/Difficulty/Preprocessing/OsuDifficultyHitObject.cs
5,694
C#
/* * Copyright (c) 2014, Furore (info@furore.com) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/ewoutkramer/fhir-net-api/master/LICENSE */ using System; using System.Collections.Generic; using...
39.878378
119
0.560149
[ "BSD-3-Clause" ]
ssharunas/fhir-net-api
src/Hl7.Fhir.Core/Model/ValueSet.cs
2,953
C#
using System; using System.Linq.Expressions; using System.Security.Claims; using AutoMapper; using Microsoft.AspNetCore.Http; using NSubstitute; using Sfa.Tl.Matching.Api.Clients.GeoLocations; using Sfa.Tl.Matching.Api.Clients.GoogleMaps; using Sfa.Tl.Matching.Application.Interfaces; using Sfa.Tl.Matching.Application....
44.603604
138
0.621491
[ "MIT" ]
SkillsFundingAgency/tl-matching
src/Sfa.Tl.Matching.Application.UnitTests/Services/ProviderVenue/When_ProviderVenueService_Is_Called_To_Update_Venue_With_Postcode_For_Name.cs
4,953
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using TPUM.Shared.NetworkModel.Core; namespace TPUM.Client.Data.Core { public interface IHttpClient : IWebDataSource, IDisposable { Task<IEnumerable<IBook>> GetBooksAsync(); Task<IEnumerable<IAuthor>> GetAuthorsAsync...
25.2
62
0.727513
[ "MIT" ]
210342/TPUM
Src/Client/Data/Core/IHttpClient.cs
380
C#
// *************************************************************************** // This is free and unencumbered software released into the public domain. // // Anyone is free to copy, modify, publish, use, compile, sell, or // distribute this software, either in source code form or as a compiled // binary, for any pu...
41.752212
131
0.695422
[ "Unlicense" ]
UnterrainerInformatik/MyStromRestApiCSharp
MyStromRestApiCSharp/Devices/MyStromBulb.cs
4,720
C#
// Copyright 2021 Niantic, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Niantic.ARDK.Networking; using Niantic.ARDK.Utilities.Extensions; using Niantic.ARDK.Utilities; using Niantic.ARDK.Utilities.Logging; using Niantic.ARDK.VirtualStudio.Remote...
28.404192
121
0.670075
[ "MIT" ]
AmerAli94/ARSample_Niantic
Assets/ARDK/VirtualStudio/Remote/_RemoteConnection.cs
9,487
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. using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.Design; using Microsoft.CodeAnalysis.Diagno...
15.847666
184
0.611163
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Diagnostics/FxCop/Test/Design/CodeFixes/CA1008FixerTests.cs
6,452
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...
24.638889
81
0.612176
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerRegistry/V20170301/Outputs/RegistryPasswordResponseResult.cs
887
C#
using ProtoBuf; using System; using System.ComponentModel; namespace GameData { [ProtoContract(Name = "JunTuanZhanDou")] [Serializable] public class JunTuanZhanDou : IExtensible { private int _CollectionId; private int _Occupy; private int _AddOccupy; private int _Multiple; private int _CoordinateTim...
17.881657
120
0.65685
[ "MIT" ]
corefan/tianqi_src
src/GameData/JunTuanZhanDou.cs
3,022
C#
using System; using Ckode.Dapper.Repository.Sql; using Ckode.Dapper.Repository.UnitTests.Entities; using Xunit; namespace Ckode.Dapper.Repository.UnitTests.Sql { public class QueryGeneratorTests { #region Constructor [Fact] public void Constructor_TableNameIsNull_Throws() { // Arrange, act && assert As...
31.854497
264
0.690973
[ "MIT" ]
NQbbe/Ckode.Dapper.Repository
Tests/Ckode.Dapper.Repository.UnitTests/Sql/SqlQueryGeneratorTests.cs
12,041
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using ATBase.Validation; using Newtonsoft.Json; namespace CPI.Common.Domain.SettleDomain.Bill99.v1_0 { /// <summary> /// 个人账户提现绑卡请求类 /// </summary> public class PersonalWithdrawBindCardReque...
25.960526
66
0.533705
[ "Apache-2.0" ]
SZarrow/CPI
src/CPI.Common/Domain/SettleDomain/Bill99/v1_0/PersonalWithdrawBindCardRequestV1.cs
2,215
C#
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System.Threading.Tasks; namespace MarginTrading.AssetService.Core.Services { public interface ICqrsMessageSender { Task SendEvent<TEvent>(TEvent @event); } }
23.75
65
0.729825
[ "MIT-0" ]
LykkeBusiness/MarginTrading.AssetService
src/MarginTrading.AssetService.Core/Services/ICqrsMessageSender.cs
285
C#
// generated cpptypeinfo-0.2.0 using System; using System.Runtime.InteropServices; using System.Numerics; namespace SharpImGui { public struct ImGuiIO { public static implicit operator ImGuiIO(IntPtr p) { return new ImGuiIO(p); } readonly IntPtr m_p;...
39.728707
100
0.554947
[ "MIT" ]
ousttrue/SharpImGui
sample/SharpImGui/ImGuiIO.cs
12,594
C#
namespace TeaTime.Common.Exceptions { using System; public class TeaTimeException : Exception { public TeaTimeException(string message ) : base(message) { } } }
16.916667
64
0.615764
[ "MIT" ]
MrSmoke/TeaTime
src/TeaTime.Common/Exceptions/TeaTimeException.cs
205
C#
using System.Collections.Generic; using System.Linq; using GenHTTP.Api.Content; using GenHTTP.Api.Protocol; using GenHTTP.Modules.Basics; using GenHTTP.Modules.Controllers; using $safeprojectname$.Model; namespace $safeprojectname$.Controllers { public class BookController : AbstractController ...
25.408451
69
0.545455
[ "MIT" ]
Kaliumhexacyanoferrat/GenHTTP.Templates
Templates/Website-MVC-Scriban/$safeprojectname$/Controllers/BookController.cs
1,806
C#
/*---------------------------------------------------------------- Copyright (C) 2015 Senparc 文件名:ShelfApi.cs 文件功能描述:微小店货架接口 创建标识:Senparc - 20150827 ----------------------------------------------------------------*/ /* 微小店接口,官方API:http://mp.weixin.qq.com/wiki/index.php?title=%E5%BE%...
32.362416
114
0.480091
[ "MIT" ]
timxing1987/git-tutorial
Source/Foundation/Wechat/Senparc.Weixin.MP/AdvancedAPIs/MerChant/Shelf/ShelfApi.cs
5,090
C#
using Microsoft.AspNetCore.Mvc; namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Themes.Basic.Components.MainNavbar; public class MainNavbarViewComponent : AbpViewComponent { public virtual IViewComponentResult Invoke() { return View("~/Themes/Basic/Components/MainNavbar/Default.cshtml"); } }
26.416667
84
0.763407
[ "Apache-2.0" ]
daridakr/ProgGuru
modules/Volo.BasicTheme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Components/MainNavbar/MainNavbarViewComponent.cs
319
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...
29.702703
114
0.734304
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/ElasticBeanstalk/Generated/Model/RebuildEnvironmentResponse.cs
1,099
C#
using System; using System.Diagnostics; using System.Reflection; using Godot; using Sigil; namespace GDMechanic.Wiring.CachedNodeInfos { /// <summary> /// Wrapper for a cached node-related FieldInfo or PropertyInfo. /// </summary> public class CachedNodeStateInfo : CachedNodeMemberInfo { /// <summary> /// Th...
23.291209
105
0.63765
[ "MIT" ]
11clock/GDMechanic
GDMechanic/Wiring/CachedNodeInfos/CachedNodeStateInfo.cs
4,241
C#
using System; namespace Trowel.Providers { public class ProviderException : Exception { public ProviderException(string message, Exception innerException) : base(message, innerException) { } public ProviderException() { } public ProviderException(strin...
18.75
106
0.602667
[ "BSD-3-Clause" ]
mattiascibien/trowel
Trowel.Providers/ProviderException.cs
377
C#
namespace Ordering.Application.Models { public class EmailSettings { public string ApiKey { get; set; } public string FromAddress { get; set; } public string FromName { get; set; } } }
24.777778
47
0.61435
[ "MIT" ]
kosmur/AspnetMicroservices
src/Services/Ordering/Ordering.Application/Models/EmailSettings.cs
223
C#
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // 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 a...
42.210526
119
0.775561
[ "Apache-2.0" ]
Energinet-DataHub/geh-metering-point
source/Energinet.DataHub.MeteringPoints.Infrastructure/Integration/IntegrationEvents/CreateMeteringPoint/Consumption/ConsumptionMeteringPointCreatedTopic.cs
804
C#
using System; using System.Collections.Generic; using System.Linq; public static class Languages { public static List<string> NewList() => new(); public static List<string> GetExistingLanguages() => new() {"C#", "Clojure", "Elm"}; public static List<string> AddLanguage(List<string> languages, st...
35
105
0.657875
[ "MIT" ]
victorh1590/exercism-csharp-track-solutions
tracks-on-tracks-on-tracks/TracksOnTracksOnTracks.cs
1,365
C#
using System; using NAudio.Wave; namespace NAudioDemo.NetworkChatDemo { public interface INetworkChatCodec : IDisposable { /// <summary> /// Friendly Name for this codec /// </summary> string Name { get; } /// <summary> /// Tests whether the codec is...
28.794118
77
0.510725
[ "MIT" ]
ArisAgnew/NAudio
NAudioDemo/NetworkChatDemo/INetworkChatCodec.cs
981
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using ModernMarketTM.Models; namespace ModernMarketTM.Web.Areas.Identity.Pages.Account.Manage { public class PersonalDataModel : PageMod...
29.382353
111
0.640641
[ "MIT" ]
vesopk/ModernMarketTM
ModernMarketTM.Web/Areas/Identity/Pages/Account/Manage/PersonalData.cshtml.cs
1,035
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...
32.755
116
0.564799
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CustomerProfiles/Generated/Model/GetDomainResponse.cs
6,551
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VU_BYTE = System.Byte; using VU_TIME = System.UInt64; using VU_BOOL = System.Boolean; using BIG_SCALAR = System.Single; using SM_SCALAR = System.Single; namespace FalconNet.VU { public class VuDriverSettings { ...
44.75
167
0.705125
[ "MIT" ]
agustinsantos/FalconNet
VU/VuDriver.cs
12,353
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.576923
172
0.736067
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementAndStatementStatementAndStatementStatementOrStatementStatementXssMatchStatementFieldToMatchSingleHeaderArgs.cs
951
C#
using System; using System.Collections.Generic; using System.Threading; using System.IO; using System.Linq; using OpenMetaverse.StructuredData; namespace OpenMetaverse.TestClient { public class ImportCommand : Command { private enum ImporterState { RezzingParent, Rezzing...
41.209877
127
0.50739
[ "BSD-3-Clause" ]
mikelittman/libremetaverse
Programs/examples/TestClient/Commands/Prims/ImportCommand.cs
10,014
C#
using System.Collections.Generic; using System.Threading.Tasks; using SharpNeat.Core; using SharpNeat.Decoders; using SharpNeat.Decoders.Neat; using SharpNeat.DistanceMetrics; using SharpNeat.EvolutionAlgorithms; using SharpNeat.EvolutionAlgorithms.ComplexityRegulation; using SharpNeat.Genomes.Neat; using SharpNeat.Ph...
45.474747
173
0.671479
[ "MIT" ]
FabianPetersen/HyperNEAT_UltimateTicTackToe
UltimateTicTacToe/SimpleNeatExperiment.cs
9,006
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Builder.Prompts.Choices { /// <summary> /// A value that can be sorted and still refer to its original position with a source array. /// </summary> public class SortedValue { ...
28.714286
96
0.603648
[ "MIT" ]
processsuccessinc/botbuilder-dotnet
libraries/Microsoft.Bot.Builder.Prompts/Choices/SortedValue.cs
605
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Xunit; namespace Microsoft.Docs.MarkdigExtensions.Tests; public class CodeTest { private const string ContentCSharp = @"using System; using System.Windows; ...
34.354922
252
0.569474
[ "MIT" ]
freewheel70/docfx
test/Microsoft.Docs.MarkdigExtensions.Tests/CodeTest.cs
66,305
C#
using Newtonsoft.Json; using Rg.Plugins.Popup.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using XamarinFormsWebAPI.Model; namespace XamarinFormsWebAPI ...
38.013793
132
0.588716
[ "MIT" ]
Baadjie/XamarinFormsApp
XamarinFormsWebAPI/ClientView.xaml.cs
5,514
C#
using Catalog.API.Entities; using Catalog.API.Repositories; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; namespace Catalog.API.Controllers { [Route("api/v1/[controller]")] [ApiController] ...
36.464646
113
0.64072
[ "MIT" ]
andrija-mitrovic/eShop-microservices
src/Services/Catalog/Catalog.API/Controllers/CatalogController.cs
3,612
C#
 using micro_c_app.ViewModels; using MicroCLib.Models; using System; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace micro_c_app.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class QuotePage : ContentPage { public Quote...
31.33
102
0.522822
[ "MIT" ]
blaxbb/Micro-C-App
micro-c-app/micro-c-app/Views/QuotePage.xaml.cs
3,135
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.IO; using Microsoft.Templates.Core.Locations; namespace Microsoft.Templates.Core.Test....
29.25
85
0.710826
[ "MIT" ]
Acidburn0zzz/WindowsTemplateStudio
code/test/Core.Test/Locations/UnitTestsTemplatesSource.cs
704
C#
using System; using FunctionsRefSdkClassLib; namespace FunctionAppNETFramework { // Uses references so compiler won't strip them out of the managed module. class RefUser { public Type FunctionsRefSdkClassLibStandard { get => typeof(HttpTriggerRefSdkNETFramework); } } }
24.666667
101
0.743243
[ "MIT" ]
AlexEyler/azure-functions-vs-build-sdk
sample/FunctionAppNETFramework/FunctionAppNETFramework/RefUser.cs
298
C#
namespace MDW.Entity { public class Image { public string Name { get; set; } public string Group { get; set; } public byte[] Data { get; set; } } }
17.818182
42
0.505102
[ "MIT" ]
parameshg/markdownwiki
Entity/Image.cs
198
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. namespace System.Drawing.Drawing2D { /* * Fill mode constants */ /// <include file='doc\FillMode....
26.863636
92
0.502538
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Drawing.Common/src/System/Drawing/Drawing2D/FillMode.cs
1,182
C#
// ----------------------------------------------------------------------- // <copyright file="StringToVisibilityConverter.cs" company="OSharp开源团队"> // Copyright (c) 2014-2021 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>20...
40.145455
129
0.566123
[ "Apache-2.0" ]
1051324354/osharp
src/OSharp.Wpf/Converters/StringToVisibilityConverter.cs
2,486
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using WanaKanaNet.Characters; namespace WanaKanaNet.Checkers { internal static class JapaneseChecker { public static bool IsJapanese(string input, params char[] additionalAllowed...
33.0625
100
0.670132
[ "MIT" ]
MartinZikmund/WanaKana-net
src/WanaKanaNet/Checkers/JapaneseChecker.cs
1,060
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GreyScaleMatrixFilter.cs" company="James South"> // Copyright (c) James South. // Licensed under the Apache License, Version 2.0. // </copyright> // <summary> // Encapsulate...
36.927273
125
0.525357
[ "Apache-2.0" ]
Jeavon/ImageProcessor
src/ImageProcessor/Imaging/Filters/Photo/GreyScaleMatrixFilter.cs
2,033
C#
// MIT License // // Copyright (c) 2018 Tim Koopman // // 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, m...
48
101
0.747768
[ "MIT" ]
tkoopman/CheckPoint.NET
src/Common/IGroupMember.cs
1,346
C#
/* TUIO C# Library - part of the reacTIVision project http://reactivision.sourceforge.net/ Copyright (c) 2005-2009 Martin Kaltenbrunner <mkalten@iua.upf.edu> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwar...
27.727545
134
0.71137
[ "MIT" ]
ElementMo/MarkerSort
Assets/TUIOConnector/TuioContainer.cs
9,261
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class EventServices : MonoBehaviour { public UnityEvent OnStart = new UnityEvent(); // Use this for initialization void Start() { if (OnStart != null) OnStart.Invoke(); } ...
20.103448
64
0.607204
[ "MIT" ]
DooblyNoobly/Unity-ML-Training-Manager
Assets/Scripts/EventServices.cs
585
C#
namespace Microsoft.MovieBooking.Models { public class RegisterViewModel { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public int MobileNo { get; set; } public string EmailId { get; set; } public string...
27.076923
46
0.588068
[ "Apache-2.0" ]
learningdevi/MovieBookingWithAngular
Microsoft.MovieBooking/Models/RegisterViewModel.cs
354
C#
// OData .NET Libraries ver. 5.6.3 // Copyright (c) Microsoft Corporation // All rights reserved. // MIT License // 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 withou...
39.833333
124
0.644351
[ "Apache-2.0" ]
tapika/choco
lib/Microsoft.Data.Services.Client/WCFDataService/Client/System/Data/Services/Client/EntityStates.cs
2,390
C#
using System.Reflection; namespace Abp.Resources.Embedded { /// <summary> /// Stores needed informations of an embedded resource. /// </summary> public class EmbeddedResourceInfo { /// <summary> /// Content of the resource file. /// </summary> public byte[] Content ...
24.807692
72
0.55969
[ "MIT" ]
Steffe1971/aspnetboilerplate
src/Abp/Resources/Embedded/EmbeddedResourceInfo.cs
647
C#
namespace PAXTEU { public class ProdutoViewModel { public float Preco {get; set;} public string Categoria {get; set;} public string Descricao {get; set;} } }
14.066667
43
0.559242
[ "MIT" ]
regiamariana/projetos
PAXTEU/ProdutoViewModel.cs
211
C#
namespace Microsoft.Maui { /// <summary> /// Provides the ability to create, configure, show, and manage Windows. /// </summary> public interface IWindow : IElement { /// <summary> /// Gets or sets the current Page displayed in the Window. /// </summary> IView Content { get; } /// <summary> /// Gets o...
17.7
73
0.630885
[ "MIT" ]
returnZro/maui
src/Core/src/Core/IWindow.cs
531
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MOE.Common.Business.ActionLog { public class ChartData { public int Value { get; set; } public string Description { get; set; } public string Color { get; set; ...
20.625
47
0.672727
[ "Apache-2.0" ]
Derek-Lehrke/ATSPM
MOE.Common/Business/ActionLog/ChartData.cs
332
C#
using System; using Ayehu.Sdk.ActivityCreation.Interfaces; using Ayehu.Sdk.ActivityCreation.Extension; using Ayehu.Sdk.ActivityCreation.Helpers; using System.Net; using System.Net.Http; using System.Text; using System.Collections.Generic; namespace Ayehu.PagerDuty { public class PD_Create_an_escalation_policy : IA...
37.384181
382
0.621581
[ "MIT" ]
Ayehu/custom-activities
PagerDuty/Escalation Policies/PD Create an escalation policy/PD Create an escalation policy.cs
6,617
C#
namespace M_Solution_1 { public class LStereo : IStereo { public override string ToString() { return "luxury stereo"; } } }
17.2
41
0.534884
[ "MIT" ]
AshV/Design-Patterns
M-AbstractFactory And Builder Pattern/M Solution 1/LStereo.cs
174
C#
// // This file was auto-generated using the ChilliConnect SDK Generator. // // The MIT License (MIT) // // Copyright (c) 2015 Tag Games Ltd // // 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...
39.254717
123
0.702235
[ "MIT" ]
ChilliConnect/Samples
UnitySamples/CreatePlayer/Assets/ChilliConnect/GeneratedSource/Responses/ConvertCurrencyResponse.cs
4,161
C#
using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Square; using Square.Utilities; namespace Square.Models { public class Custo...
27.028571
105
0.52537
[ "Apache-2.0" ]
okenshields/test-dotnet
Fangkuai/Models/CustomerQuery.cs
1,892
C#