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.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class TheHouse : MonoBehaviour { public Transform goOutPoint; public Transform theShepherdPoint; public int sheep = 1; public Transform initSheepPoint; public const i...
27.632813
85
0.565734
[ "Unlicense" ]
khiemnd777/100
Assets/Scripts/Pillars/TheHouses/TheHouse.cs
3,539
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.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; namespace ...
35.534483
125
0.622028
[ "Apache-2.0" ]
balazssimon/meta-cs-lite
src/Main/MetaDslx.CodeAnalysis.Common/RoslynUtilities/PooledDictionary.cs
2,063
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder.AI.QnA.Dialogs; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Extensions.Configuration; namespace Microsoft.BotBuilderSample...
34.477273
133
0.643375
[ "BSD-3-Clause" ]
AdityaGhai/Chat-Bot
Bot Source Code/Dialog/RootDialog.cs
1,517
C#
namespace Antlr4.StringTemplate.Extensions { using System; internal static class Arrays { public static TOutput[] ConvertAll<TInput, TOutput>(TInput[] array, Func<TInput, TOutput> transform) { if (array == null) throw new ArgumentNullException("array"); ...
26.75
108
0.531153
[ "BSD-3-Clause" ]
antlr/antlrcs
Antlr4.StringTemplate/Extensions/Arrays.cs
644
C#
#pragma checksum "C:\Users\mcanenes\Source\Repos\eShopOnWeb1\src\BlazorAdmin\Pages\CatalogItemPage\List.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3aaafc7750c5122046473faca1b24c93abedc3c5" // <auto-generated/> #pragma warning disable 1591 namespace BlazorAdmin.Pages.CatalogItemPage { #line hidden using Sy...
39.289286
272
0.667757
[ "MIT" ]
mcanenes/Secureshop
src/BlazorAdmin/obj/Debug/net5.0/Razor/Pages/CatalogItemPage/List.razor.g.cs
22,002
C#
using System.Collections.Generic; using System.Globalization; using System.Numerics; using System.Threading.Tasks; using MiningCore.Crypto.Hashing.Ethash; using MiningCore.Extensions; using MiningCore.Stratum; using NBitcoin; using NLog; namespace MiningCore.Blockchain.Ethereum { public class EthereumJob { ...
38.172932
169
0.596021
[ "MIT" ]
DmytroSliusar/pooltest
src/MiningCore/Blockchain/Ethereum/EthereumJob.cs
5,079
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.EntityFrameworkCor...
37.07767
143
0.606441
[ "MIT" ]
VahidDalirii/MVC
ToDoWebApp/ToDoWebApp/Startup.cs
3,819
C#
using System; using System.Windows.Input; using System.Windows.Threading; using GalaSoft.MvvmLight.Threading; namespace SIL.Cog.Presentation.Views { public static class BusyCursor { private static bool _isBusyUntilIdle; private static int _count; public static void DisplayUntilIdle() { DispatcherHelper....
20.96875
64
0.682563
[ "MIT" ]
sillsdev/cog
Cog.Presentation/Views/BusyCursor.cs
1,344
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace MotherOut.Results { public class ChallengeResult : IHttpActionResult { public ChallengeResult(string loginP...
28.969697
96
0.693515
[ "MIT" ]
Florida2DAM/MotherOut
BackEnd/MotherOut/MotherOut/Results/ChallengeResult.cs
958
C#
using MyCrm.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyCrm.Data { public interface IRepository<T> where T: BaseEntity { void Insert(T entity); void Update(T entity); void Delete(T entity); ...
19.1
55
0.657068
[ "MIT" ]
oguzhanozpinar/Entity-GenericRepository-UnitOfWork
MyCrrmData/IRepository.cs
384
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("Bo...
37.918919
84
0.744833
[ "MIT" ]
Ro9ueAdmin/BottomSheetModal
BottomSheet.iOS/Properties/AssemblyInfo.cs
1,406
C#
using FlowScriptEngine; using PPDFramework.Shaders; namespace FlowScriptEnginePPD.FlowSourceObjects.Graphics.ColorFilter.GreenGrayScale { [ToolTipText("ColorFilter_GreenGrayScale_Value_Summary")] public partial class ValueFlowSourceObject : ExecutableFlowSourceObject { public override string Name ...
25.666667
83
0.601399
[ "Apache-2.0" ]
KHCmaster/PPD
Win/FlowScriptEnginePPD/FlowSourceObjects/Graphics/ColorFilter/GreenGrayScale/ValueFlowSourceObject.cs
1,003
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using static NiceMethods; public class MoveEnemy : MonoBehaviour { private Rigidbody2D rig; private Transform transf; private Orbit orbit; private Collider2D col; private Stats stats; private bool jumpCD; public...
31.36
146
0.623724
[ "MIT-0" ]
Dhayson/BestGameTheSol
Sol Project/Assets/Scripts/MoveEnemy.cs
2,352
C#
// Copyright 2011 - 2014 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish...
31.298364
204
0.697008
[ "BSD-3-Clause" ]
agocke/xamarin-macios
src/Foundation/NSObject2.cs
32,519
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using Microsoft.CodeAnalysis.PooledObjects; using Roslyn.Utilities; using System; using System.Co...
39.6743
157
0.586134
[ "MIT" ]
Kuinox/roslyn
src/Compilers/CSharp/Portable/Symbols/Metadata/PE/TupleTypeDecoder.cs
15,594
C#
using Sparkler.Rotorz.Games; using Sparkler.Utility.Editor; using System; using UnityEditor; using UnityEngine; namespace Sparkler.Editor.CodeGeneration { public enum ComponentType : byte { ComponentData, SharedComponentData, BufferElementData, SystemStateComponent, SystemStateSharedComponent, System...
31.822785
179
0.759348
[ "MIT" ]
KamilVDono/ECS_FSM
Assets/Sparkler/Scripts/SparklerCore/Editor/CodeGeneration/ComponentDefinition.cs
2,516
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
73.225275
461
0.69573
[ "MIT" ]
Agazoth/azure-powershell
src/PostgreSql/generated/api/Models/Api20/SystemData.PowerShell.cs
13,146
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections; using System.ComponentModel.Design; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Reflection; n...
42.355054
186
0.513403
[ "MIT" ]
Corillian/runtime
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/ReflectPropertyDescriptor.cs
50,699
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
37.609302
162
0.546418
[ "BSD-3-Clause" ]
Michelle-Argus/ArribasimExtract
OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
24,258
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.ResourceManager.Core; using Azure.ResourceManager.Network; namespace A...
39.344262
229
0.730417
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/LongRunningOperation/NetworkProfileUpdateTagsOperation.cs
2,400
C#
using System; using System.Threading; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using Sandbox.Common; using Sandbox.Common.Components; using Sandbox.Common.ObjectBuilders; using Sandbox.Definitions; using Sandbox.Engine; u...
34.082645
148
0.571169
[ "MIT" ]
twosnake/remote_capture_mod
Data/Scripts/testnet/ConquestGameHelper.cs
8,248
C#
namespace Havit.Data.EntityFrameworkCore.CodeGenerator.Services { public interface ITemplate { string TransformText(); // pro zjednodušení použijeme metodu genetovanou T4kou. } }
26.285714
81
0.798913
[ "MIT" ]
havit/HavitFramework
Havit.Data.EntityFrameworkCore.CodeGenerator/Services/ITemplate.cs
189
C#
using Microsoft.EntityFrameworkCore; using Paillave.Etl.Core; using System; using System.Collections.Generic; using Paillave.Etl.Reactive.Operators; using System.Linq; using System.Linq.Expressions; using Paillave.EntityFrameworkCoreExtension.EfSave; using Paillave.EntityFrameworkCoreExtension.BulkSave; namespace Pai...
43.969112
161
0.615911
[ "MIT" ]
fundprocess/Etl.Net
src/Paillave.Etl.EntityFrameworkCore/EfCoreSaveStreamNode.cs
11,390
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
32.505263
127
0.568329
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/PersistentDisk.cs
3,088
C#
// Copyright (c) 2009-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 us...
34.532258
93
0.737973
[ "MIT" ]
376730969/ILSpy
NRefactory/ICSharpCode.NRefactory.Xml/AXmlVisitor.cs
2,143
C#
using System; using Allergies.Models; namespace Allergies { public class Program { public static void Main() { bool keepRunning; do { Console.WriteLine("Enter your allergy score: "); int scoreInput = int.Parse(Console.ReadLine()); AllergyScore allergyScore = new AllergyScore(...
24.818182
65
0.615385
[ "MIT" ]
shanencross/Allergies.Solution
Allergies/Program.cs
546
C#
using System; namespace Bitbird.Core.Data.Cache { public class RedisCacheInfo { internal RedisCacheInfo() { } public bool IsConnected { get; set; } public long UsedMemory { get; set; } public long MaximumMemory { get; set; } public double? MemoryPercenta...
23.08
73
0.466205
[ "MIT" ]
bitbird-dev/Bitbird.Core
Bitbird.Core.Data/Cache/RedisCacheInfo.cs
579
C#
// <copyright file="Fourier.Bluestein.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2015 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy o...
33.666667
88
0.483267
[ "MIT" ]
coderIML/math.net
src/Numerics/IntegralTransforms/Fourier.Bluestein.cs
10,106
C#
#region using System.Collections.Generic; using EvilDICOM.Core; using EvilDICOM.Network.Enums; using S = System; using DF = EvilDICOM.Core.DICOMForge; using System.Linq; #endregion namespace EvilDICOM.Network.DIMSE.IOD { public class CFindSeriesIOD : CFindRequestIOD { public CFindSeriesIOD() ...
28.192982
120
0.572495
[ "MIT" ]
damiens/Evil-DICOM
EvilDICOM/EvilDICOM/Network/DIMSE/IOD/CFindSeriesIOD.cs
1,609
C#
/* * LeagueClient * * 7.23.209.3517 * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.ComponentMo...
34.282051
148
0.546559
[ "MIT" ]
wildbook/LeagueClientApi
Model/RewardDetails.cs
5,348
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.666667
169
0.627737
[ "MIT" ]
andrueastman/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/callrecords/requests/ICallRecordRequest.cs
4,932
C#
using DemoAppInsights.Models; using Serilog; using System; using System.Linq; using System.Web.Mvc; namespace DemoAppInsights.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult About() ...
24.04878
79
0.481237
[ "MIT" ]
abnerdasdores/tdc2016-arqdotnet-appinsights
src/DemoAppInsights/Controllers/HomeController.cs
1,974
C#
using System; using System.Net; using System.Text; namespace SAHB.GraphQLClient.Exceptions { // ReSharper disable once InconsistentNaming /// <summary> /// Throws a new <see cref="GraphQLHttpExecutorServerErrorStatusCodeException"/> which indicates that the GraphQL request returned a non successfull serve...
41.266667
237
0.662359
[ "MIT" ]
sungam3r/SAHB.GraphQLClient
src/SAHB.GraphQLClient/Exceptions/GraphQLHttpExecutorServerErrorStatusCodeException.cs
1,859
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(640,9) using System; namespace DirectN { [Flags] public enum D3D12DDI_TILE_MAPPING_FLAGS { D3D12DDI_TILE_MAPPING_FLAG_NONE = 0x00000000, D3D12DDI_TILE_MAPPING_FLAG_NO_HAZARD = 0x00000001, } }
24.384615
87
0.687697
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/D3D12DDI_TILE_MAPPING_FLAGS.cs
319
C#
 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SlashSword : MonoBehaviour { public Animator anim; public GameObject powerupCurrent; public GameObject PowerupTurbo; public GameObject slashTrail; public GameObject enemy; public GameObject Forwar...
17.915094
71
0.691417
[ "MIT" ]
koushikbhargav/Sprinkles
Sprinkles/SlashSword.cs
3,800
C#
using Microsoft.EntityFrameworkCore; using SimplCommerce.Core.Domain.IRepositories; using SimplCommerce.Core.Domain.Models; namespace SimplCommerce.Core.Infrastructure.EntityFramework { // TODO This is just a temporary workaround because EF Core 1.0 hasn't support many-many without an entity class to represent th...
34.956522
144
0.743781
[ "Apache-2.0" ]
dbraunbock/SimplCommerce
src/Core/SimplCommerce.Core/Infrastructure/EntityFramework/ProductTemplateProductAttributeRepository.cs
806
C#
using System.Collections.Generic; namespace Query { public static class Books { public static int CreateBook(int userId, string title, bool favorite, int sort = 0) { return Sql.ExecuteScalar<int>("Book_Create", new {userId, title, favorite, sort } ); ...
27.485294
91
0.505618
[ "MIT" ]
Datasilk/Legendary
Query/Query/Books.cs
1,871
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2019 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ using System.Collections.Generic;...
19.776596
63
0.399139
[ "MIT" ]
ElPsyCongree/GameFramework
GameFramework/Resource/IResourceGroup.cs
2,202
C#
// // (C) Copyright 2003-2019 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited war...
44.075718
101
0.570582
[ "MIT" ]
xin1627/RevitSdkSamples
SDK/Samples/SlabShapeEditing/CS/SlabShapeEditingForm.cs
16,881
C#
#region auto-generated FILE INFORMATION // ============================================== // This file is distributed under the MIT License // ============================================== // // Filename: ColorDialogEx.cs // Version: 2020-01-13 13:03 // // Copyright (c) 2020, Si13n7 Developments(tm) // All rights...
35.711864
198
0.493118
[ "MIT" ]
None-later/CSharpLib
src/SilDev/Forms/ColorDialogEx.cs
4,216
C#
using System; using System.Collections.Generic; using System.Text; using gov.va.medora.mdo; namespace gov.va.medora.mdws.dto { public class TaggedInpatientStayArray : AbstractTaggedArrayTO { public InpatientStayTO[] stays; public TaggedInpatientStayArray() { } public TaggedInpatientSt...
25.321429
73
0.502116
[ "Apache-2.0" ]
VHAINNOVATIONS/RAPTOR
OtherComponents/MDWSvistalayer/MDWS Source/mdws/mdws/src/dto/TaggedInpatientStayArray.cs
1,418
C#
using System; using Xamarin.Forms; namespace Continuous.Sample.Forms { public class App : Application { public App () { // The root page of your application MainPage = new MainPage (); } protected override void OnStart () { // Handle when your app starts } protected override void OnSleep (...
14.125
39
0.650442
[ "MIT" ]
praeclarum/Continuous
Continuous.Sample.Forms/Continuous.Sample.Forms.cs
454
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PublicBookStore.UI.Web.Models { public class OrderDetailModel { public int OrderDetailId { get; set; } public int OrderId { get; set; } public int BookId { get;...
25.333333
53
0.648496
[ "MIT" ]
mecitsem/PublicBookStore
PublicBookStore.UI.Web/Models/OrderDetailModel.cs
534
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
33.625
157
0.688145
[ "MIT" ]
NigelThorne/nodoze
NoDoze/Properties/Resources.Designer.cs
2,423
C#
namespace Machete.X12Schema.V5010 { using X12; public interface LoopAMT_2_811 : X12Layout { Segment<AMT> MonetaryAmountInformation { get; } Segment<DTM> DateOrTimeReference { get; } } }
18.153846
55
0.614407
[ "Apache-2.0" ]
ahives/Machete
src/Machete.X12Schema/V5010/Layouts/LoopAMT_2_811.cs
236
C#
using SolrExpress.Search; using SolrExpress.Search.Parameter; using System.Collections.Generic; namespace SolrExpress.Solr4.Search.Parameter { public sealed class FacetLimitParameter<TDocument> : BaseFacetLimitParameter<TDocument>, ISearchItemExecution<List<string>> where TDocument : Document { ...
27.045455
127
0.655462
[ "MIT" ]
solr-express/solr-express
src/SolrExpress.Solr4/Search/Parameter/FacetLimitParameter.cs
597
C#
using Microsoft.AspNetCore.Mvc.Filters; namespace AspNetCore.Filters.Permissions { public interface IPermissionHandlerProvider { IPermissionHandler GetHandler(AuthorizationFilterContext context); } }
24.555556
74
0.782805
[ "MIT" ]
linianhui/example-oidc
src/aspnetcore.filters.permissions/IPermissionHandlerProvider.cs
223
C#
using System; namespace paramore.brighter.commandprocessor.viewer.tests.TestDoubles { internal class FakeErrorProducingMessageProducerFactory : IAmAMessageProducerFactory { public IAmAMessageProducer Create() { throw new NotImplementedException(); } } }
25.25
88
0.709571
[ "MIT" ]
uQr/Paramore.Brighter
paramore.brighter.commandprocessor.viewer.tests/TestDoubles/FakeErrorProducingMessageProducerFactory.cs
305
C#
using System; using System.Collections.Generic; using UnityEngine; class GuiTools { static bool IsValidFloat( string val ) { float res; return float.TryParse(val, out res); } public void FloatParam( ref float value, string caption, float maxValue ) { float oldValue = value; string text; ...
26.260417
94
0.686632
[ "MIT" ]
black-square/BirdFlock
Assets/Scripts/GuiTools.cs
2,521
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Linq; using System.Web.Http.Controllers; using System.Web.Http.Properties; namespace System.Web.Http.Tracing.Tracers { /// <summary> /// Tracer for <see cref="IHttpActionSele...
39.982143
135
0.619473
[ "Apache-2.0" ]
Distrotech/mono
external/aspnetwebstack/src/System.Web.Http/Tracing/Tracers/HttpActionSelectorTracer.cs
2,241
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace Core.Commands; /// <summary> /// Classic State pattern requires unique methods totalling Nodes * PossibleCommands /// For this Policy there are 5 nodes, 5 possible commands, for 25 methods /// Using co...
30.947368
122
0.666512
[ "MIT" ]
ardalis/StatePattern
Core/Commands/Policy.cs
6,470
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
36.482759
83
0.710775
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab_r02_04_03_shr/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_shr/Domainvalue/ObservationIncomeValue.cs
1,058
C#
using System; using System.ComponentModel; namespace SkiaSharp { public class SKSurfaceProperties : SKObject { internal SKSurfaceProperties (IntPtr h, bool owns) : base (h, owns) { } [EditorBrowsable (EditorBrowsableState.Never)] [Obsolete] public SKSurfaceProperties (SKSurfaceProps props) : this...
26.888889
87
0.754821
[ "MIT" ]
AlexanderSemenyak/SkiaSharp
binding/Binding/SKSurfaceProperties.cs
1,454
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace LightLib.Data.Models.Assets { [Table("audio_cds")] public class AudioCd { [Key] public int Id { get; set; } [Required] public Guid AssetId { get; set; } [Require...
33.090909
53
0.622253
[ "Apache-2.0" ]
msadeqsirjani/lightlib-lms
LightLib.Data/Models/Assets/AudioCds.cs
730
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.DateTime.Spanish.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; using Microsoft.Recognizers.Text.Number; using Microsoft.Reco...
40.328947
148
0.66721
[ "MIT" ]
LFhase/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimePeriodExtractorConfiguration.cs
6,134
C#
using System; #if UNITY_EDITOR using System.Collections.Generic; using UnityEditor; #endif using UnityEngine; #if UNITY_EDITOR using Object = UnityEngine.Object; #endif namespace CippSharp.Core.Reorderable { public class ReorderableAttribute : PropertyAttribute { public bool add; public bool remov...
28.515837
177
0.700571
[ "MIT" ]
Cippman/Unity-Reorderable-List
Runtime/Attributes/ReorderableAttribute.cs
6,302
C#
using System; using LinkedList.Classes; namespace ll_merge { public class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); LList linkedList = new LList(); // 20 -> 15 -> 10; linkedList.Append(20); linkedL...
39.092593
241
0.574135
[ "MIT" ]
Dervival/Data-Structures-and-Algorithms
Challenges/llMerge/llMerge/ll_kth_from_end/Program.cs
2,113
C#
using MTGAHelper.Lib.OutputLogParser.Models.GRE.MatchToClient.IntermissionReq; namespace MTGAHelper.Lib.OutputLogParser.Models.GRE.MatchToClient { public class IntermissionReqResult : MtgaOutputLogPartResultBase<IntermissionReqRaw>, ITagMatchResult { //public override ReaderMtgaOutputLogPartTypeEnum R...
35.545455
120
0.823529
[ "MIT" ]
DuncanmaMSFT/MTGAHelper-Windows-Client
MTGAHelper.Lib.OutputLogParser.Models/GRE/MatchToClient/IntermissionReqResult.cs
393
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...
30.62069
105
0.710586
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Media/Outputs/ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse.cs
888
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...
51.270869
164
0.657496
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet.UnitTests/Marshalling/DirectConnectMarshallingTests.cs
30,096
C#
using Skybrud.Essentials.Common; using Skybrud.Essentials.Http; using Skybrud.Essentials.Http.Collections; using Skybrud.Social.GitHub.Http; using Skybrud.Social.GitHub.Models.Repositories; using System; namespace Skybrud.Social.GitHub.Options.Repositories.Labels { /// <summary> /// Options for getting t...
37.104839
120
0.585742
[ "MIT" ]
abjerner/Skybrud.Social.GitHub
src/Skybrud.Social.GitHub/Options/Repositories/Labels/GitHubGetLabelsOptions.cs
4,603
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System.Net; using System.Net.Http; using Xunit; using Assert = Microsoft.TestCommon.AssertEx; namespace System.Web.Http.Controllers { public class VoidResultConverterTest { ...
33.153846
130
0.679814
[ "Apache-2.0" ]
Distrotech/mono
external/aspnetwebstack/test/System.Web.Http.Test/Controllers/VoidResultConverterTest.cs
1,295
C#
using System; using System.Reactive; using System.Reactive.Linq; using Smith.Services.Utils.TdLib; using TdLib; namespace Smith.Services.Messaging.Chats { public class ChatUpdater : IChatUpdater { private readonly IAgent _agent; public ChatUpdater(IAgent agent) { _agent = a...
34.738636
92
0.503108
[ "MIT" ]
ForNeVeR/Smith
src/Smith.Services/Messaging/Chats/ChatUpdater.cs
3,057
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ThrowablePickupHandler : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
16.157895
52
0.638436
[ "MIT" ]
HemanthRj96/Repos-Knockback_version_2
Knockback-Revised/Assets/GameAssets/Game objects/Scripts/Scripts Pickup Base/ThrowablePickupHandler.cs
309
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using System; using System.Threading; using System.Threading.Tasks; using Azure.Core.Pipeline; using Azure.Core.Pipeline.Policies; namespace Azure.Applicatio...
49.996711
198
0.617442
[ "MIT" ]
garyke/azure-sdk-for-net
sdk/appconfiguration/Azure.ApplicationModel.Configuration/src/ConfigurationClient.cs
30,400
C#
namespace Kean.Domain.Identity.Events { /// <summary> /// 初始化密码成功时触发的事件 /// </summary> public class InitializePasswordSuccessEvent : IEvent { /// <summary> /// 身份标识 /// </summary> public int Id { get; set; } } }
19.214286
56
0.527881
[ "MIT" ]
snr4978/DotNetService4
Kean.Domain.Identity/Events/InitializePasswordSuccessEvent.cs
305
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AbilityKind.cs" company="nGratis"> // The MIT License (MIT) // // Copyright (c) 2014 - 2021 Cahya Ong // // Permission is hereby granted, free of charge, to any person obtainin...
44.625
120
0.62521
[ "MIT" ]
cahyaong/ai.kvasir
Source/Kvasir.Contract/Engine/AbilityKind.cs
1,787
C#
//GENERATED: CS Code using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine{ public partial class UMovieSceneFloatTrack:UMovieScenePropertyTrack { [MethodImplAttribute(MethodImplOptions.InternalCall)] public static extern new IntPtr StaticClass(); }...
27.083333
69
0.809231
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile/UMovieSceneFloatTrack.cs
325
C#
namespace TAUtil.Gdi.Bitmap { using System.Drawing; using System.IO; using TAUtil.Gdi.Palette; /// <summary> /// Provides methods for converting between <see cref="Bitmap"/> instances /// and serialized binary images using the TA indexed color palette. /// </summary> public...
45.392593
107
0.606723
[ "MIT" ]
ArmouredFish/TAUtil
TAUtil.Gdi/Bitmap/BitmapConvert.cs
6,130
C#
///////////////////////////////////// // SPAWN EDITOR // // This SpawnEditor is a huge mod // // of "ZenArcher's SpawnEditor v2" // // By Nerun // ///////////////////////////////////// using System; using System.IO; using System.Collections; using System.Collections.Generic; u...
25.756782
121
0.56541
[ "BSD-2-Clause" ]
greeduomacro/vivre-uo
Scripts/Customs/Nerun's Distro/New/Commands/SpawnEditor.cs
27,534
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace CRIS.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// <summary> /// Voi...
31.659574
93
0.550403
[ "MIT" ]
msimecek/Azure-Speech-CLI
SpeechCLI/SDK/Models/VoiceTestDefinition.cs
2,976
C#
#if NET20 || NET35 // ReSharper disable once CheckNamespace namespace System.Diagnostics.CodeAnalysis { public sealed class ExcludeFromCodeCoverageAttribute : Attribute { } } #endif
23.125
67
0.794595
[ "MIT" ]
Ifry/ConfuserEx
Confuser.Helpers.Runtime/ExcludeFromCodeCoverageAttribute.cs
187
C#
namespace Org.BouncyCastle.Asn1 { /** * DER TaggedObject - in ASN.1 notation this is any object preceded by * a [n] where n is some number - these are assumed to follow the construction * rules (as with sequences). */ public class DerTaggedObject : Asn1TaggedObject { /** * @param tagNo the tag number...
21.736111
84
0.635783
[ "MIT" ]
cptnalf/b2_autopush
pemlib/asn/dertaggedobject.cs
1,567
C#
namespace ThreeCs.Textures { using System.Collections.Generic; public class CompressedTexture : Texture { /// <summary> /// Constructor /// </summary> /// <param name="mipmaps"></param> /// <param name="width"></param> /// <param name="height"></param> ...
39.666667
242
0.545378
[ "MIT" ]
GrandStrateguerre/three.cs
ThreeCs/Textures/CompressedTexture.cs
1,192
C#
using BBS.ConsumerServicesAPI.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BBS.ConsumerServicesAPI.Repositories.BaseModels { public class Destination : ISoftDeletable { public int Id { get; set; } public string Name { get; set; } publ...
24.5
57
0.736735
[ "MIT" ]
berbulalauri/internetbankingapp
BBS.ConsumerServicesAPI/Repositories/BaseModels/Destination.cs
492
C#
using System; using System.Data; using System.Web.Security; using umbraco.BusinessLogic; using umbraco.DataLayer; using umbraco.BasePages; using umbraco.IO; using umbraco.cms.businesslogic.member; namespace umbraco { public class contentItemTasks : interfaces.ITask { private string _alia...
20.734177
115
0.455433
[ "MIT" ]
AndyButland/Umbraco-CMS
src/Umbraco.Web/umbraco.presentation/umbraco/create/contentItemTasks.cs
1,638
C#
using WhosHere.Mobile.ViewModels; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace WhosHere.Mobile.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ImagePage : ContentPage { private FaceViewModel _vm; public ImagePage() { Initialize...
28.809524
92
0.613223
[ "MIT" ]
bjorndaniel/WhosHere
src/WhosHere.Mobile/WhosHere.Mobile/Views/ImagePage.xaml.cs
607
C#
using System; using StrawberryShake.CodeGeneration.CSharp.Builders; namespace StrawberryShake.CodeGeneration.CSharp { internal static class ConstructorBuilderExtensions { public static ConstructorBuilder SetPublic(this ConstructorBuilder builder) { return builder.SetAccessModifier(A...
31.096774
86
0.637967
[ "MIT" ]
AccountTechnologies/hotchocolate
src/StrawberryShake/CodeGeneration/src/CodeGeneration.CSharp/Extensions/ConstructorBuilderExtensions.cs
1,928
C#
using System; using System.Data.Entity; using System.Data.Entity.ModelConfiguration; using System.Data.Entity.ModelConfiguration.Configuration; using System.Linq; using System.Reflection; namespace SstRegistrationTestHarness.Core.EntityFramework.Extensions { public static class ModelBuilderExtensions { ...
43.790698
174
0.63675
[ "MIT" ]
ameriles/SSTRegistrationTestHarness
SstRegistrationTestHarness.Core.EntityFramework/Extensions/ModelBuilderExtension.cs
1,885
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Kafkaesque; using Newtonsoft.Json; using Topos.Internals; using Topos.Logging; using Topos.Serialization; using ILogger = Topos.Logging.ILogger...
36.855556
132
0.659029
[ "MIT" ]
mookid8000/Topos
Topos.Kafkaesque/Kafkaesque/KafkaesqueFileSystemProducerImplementation.cs
3,319
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("01...
37.702703
84
0.743369
[ "MIT" ]
kmalinov/Telerik-Academy
Homeworks/Homeworks C# Advanced/Methods/01.SayHello/Properties/AssemblyInfo.cs
1,398
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.104651
153
0.610467
[ "MIT" ]
larslynch/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IMicrosoftTunnelServerGetHealthMetricsRequest.cs
3,363
C#
using System; using System.Collections.Generic; using System.Linq; namespace Vesta.Server.Domain { public class Customer : Entity { private IList<Animal> _animals = new List<Animal>(); protected Customer(Guid id) : base(id) { } public Customer(Guid id, long number, FullName name, Emai...
28.634146
104
0.564736
[ "MIT" ]
RobGustavsson/Vesta
src/Vesta.Server/Domain/Customer.cs
1,176
C#
// Copyright (c) All contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; usin...
41.074419
192
0.549768
[ "BSD-2-Clause" ]
KonH/MessagePack-CSharp
src/MessagePack.UniversalCodeGenerator/Utils/RoslynExtensions.cs
17,664
C#
using System; using System.Collections.Generic; using System.Text; namespace Classes.Dominio { public interface IMensalidade { double CalcularValor(); } }
14.75
33
0.700565
[ "CC0-1.0" ]
Lucas-Krause/Entra21Noturno
Classes/Classes/Dominio/IMensalidade.cs
179
C#
// 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 System.Collections.Generic; namespace Microsoft.DotNet.Cli.Utils.Factory.CommandResolution { internal class SingleProjectInfo { ...
29.214286
115
0.661369
[ "MIT" ]
flubu-core/toolset
src/Microsoft.DotNet.Cli.Utils/Factory/CommandResolution/SingleProjectInfo.cs
818
C#
using Flub.TelegramBot.Types; using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; using System.Threading; using System.Threading.Tasks; namespace Flub.TelegramBot.Methods { /// <summary> /// Use this method to move a sticker in a set created by the bot to a specific position. ...
43.989691
162
0.615186
[ "MIT" ]
flubl/Flub.TelegramBot
Src/Flub.TelegramBot/Methods/Sticker/SetStickerPositionInSet.cs
4,269
C#
using System; using System.Collections.Specialized; using System.ComponentModel; using System.Diagnostics; using System.Globalization; namespace OpenRiaServices.Controls { /// <summary> /// Manager that observes and collates the events raised by a <see cref="SortDescriptorCollection"/> /// and all the <se...
44.235012
202
0.580397
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/archive/OpenRiaServices.Controls.DomainServices/Framework/OpenRiaServices.Windows.Controls/SortCollectionManager.cs
18,448
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.x64.Instructions { /// <summary> /// CMovNoCarry64 /// </summary> /// <seealso cref="Mosa.Platform.x64.X64Instruction" /> public sealed c...
30.22
85
0.743216
[ "BSD-3-Clause" ]
kthompson/MOSA-Project
Source/Mosa.Platform.x64/Instructions/CMovNoCarry64.cs
1,511
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Linus.Saves; public static class DataManager { public enum Language { CN, TW, EN } public static Language language = Language.CN; public static void SetLanguage(Language lan) { language = lan; SaveMan...
19.888889
50
0.701117
[ "Unlicense" ]
LinusMC/Dream-Date
Dream Date/Assets/Scripts/Manager/DataManager.cs
360
C#
using System; using System.Collections.Generic; using SystemsRx.Events; using SystemsRx.Executor; using SystemsRx.Executor.Handlers; using SystemsRx.Executor.Handlers.Conventional; using SystemsRx.Threading; using EcsRx.Collections; using EcsRx.Collections.Database; using EcsRx.Collections.Entity; using EcsRx.Componen...
45.124161
143
0.651446
[ "MIT" ]
Fijo/ecsrx
src/EcsRx.Tests/Sanity/SanityTests.cs
13,449
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace FinnovationLabs.OpenBanking.Library.BankApiModels.UkObRw.V3p1p2.Pisp.Models { using Newtonsoft.Json; using Newto...
48.693182
198
0.700817
[ "MIT" ]
finlabsuk/open-banking-connector
src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p2/Pisp/Models/OBWriteFileConsentResponse3DataSCASupportDataRequestedSCAExemptionTypeEnum.cs
4,285
C#
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using Xunit.Sdk; namespace Spectre.Console.Tests { public sealed class EmbeddedResourceDataAttribute : DataAttribute { private readonly string _args; public EmbeddedResourceDataAttribute(string args) ...
28.085106
100
0.564394
[ "MIT" ]
PrinceSumberia/spectre.console
src/Spectre.Console.Tests/EmbeddedResourceDataAttribute.cs
1,320
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SaveFileService.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // ------------------------------...
33.272727
120
0.460383
[ "MIT" ]
14632791/Catel
src/Catel.MVVM/Services/SaveFileService.cs
734
C#
/* Copyright © 2019 Lee Kelleher. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ using System.Collections.Generic; using Newtonsoft.Json.Linq; #if NET472 using...
37.817518
137
0.666667
[ "MPL-2.0" ]
zahertalab/umbraco-contentment
src/Umbraco.Community.Contentment/DataEditors/DataList/DataListDataEditor.cs
5,184
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fil...
29.2
64
0.589041
[ "Apache-2.0" ]
AlbertoP57/YAFNET
yafsrc/YAF.Types/Models/BannedEmail.cs
2,260
C#
using System.Windows.Forms; namespace DSIS.UI.Controls { public class ControlWithLayout2 : IControlWithLayout2 { private readonly Control myControl; private readonly string myAncor; private readonly Layout[] myLayout; public ControlWithLayout2(Control control, string ancor, params Layout...
19.818182
85
0.605505
[ "Apache-2.0" ]
jonnyzzz/phd-project
dsis/src/UIs/UI.Controls/src/ControlWithLayout2.cs
654
C#
using System; using Microsoft.Extensions.DependencyInjection; namespace Prism.Ioc { public interface IServiceCollectionAware { void Populate(IServiceCollection services); IServiceProvider CreateServiceProvider(); } }
20.583333
51
0.744939
[ "MIT" ]
GTX-ABEL/Prism.Maui
src/Prism.Maui/Ioc/IServiceCollectionAware.cs
249
C#
namespace Swarmops.Common.Enums { public enum FinancialValidationType { /// <summary> /// Unknown type. /// </summary> Unknown = 0, /// <summary> /// An approval of an expenditure from a budget. /// </summary> Approval, /// <summa...
22.114286
60
0.4677
[ "Unlicense" ]
Swarmops/Swarmops
Common/Enums/FinancialValidationType.cs
774
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Security.Permissions { #if NET5_0_OR_GREATER [Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Ob...
30.625
147
0.755102
[ "MIT" ]
333fred/runtime
src/libraries/System.Security.Permissions/src/System/Security/Permissions/TypeDescriptorPermissionFlags.cs
490
C#