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
/** * @file ShaderReferenceRenderState.cs * @author Hongwei Li(taecg@qq.com) * @created 2018-12-29 * @updated 2021-02-05 * * @brief SubShader中渲染设置 */ #if UNITY_EDITOR using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace taecg.tools.shaderReference { ...
54.080537
193
0.584636
[ "MIT" ]
KealG/UnityCatLike
Assets/ShaderRefrence/Editor/ShaderReferenceRenderState.cs
11,390
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Forms; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Wind...
34.711111
151
0.63551
[ "MIT" ]
GridProtectionAlliance/gsf
Source/Tools/COMTRADEConverter/MainWindow.xaml.cs
4,688
C#
using System; using System.Collections.Generic; using System.Text; namespace YayoiSDK.APIs.Entities { public class Application { public Application() { } } }
13.75
33
0.745455
[ "MIT" ]
Asteriskx/Yayoi
YayoiSDK/YayoiSDK/APIs/Entities/Application.cs
167
C#
/* Poly2Tri * Copyright (c) 2009-2010, Poly2Tri Contributors * http://code.google.com/p/poly2tri/ * * All rights reserved. * * 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 m...
37.222222
84
0.719403
[ "MIT" ]
Blucky87/VelcroPhysics
VelcroPhysics/Tools/Triangulation/Delaunay/Polygon/PolygonSet.cs
2,347
C#
namespace SimpleBudget.Data { public class AccountStore : StoreHelper<Account> { internal AccountStore() { } } }
16.75
52
0.641791
[ "Apache-2.0" ]
Aleksey-Terzi/SimpleBudget
Code/SimpleBudget.Data/Entities/Accounts/AccountStore.cs
136
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CBTTaskFalling : IBehTreeTask { [Ordinal(1)] [RED("npc")] public ...
33.727273
126
0.705301
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CBTTaskFalling.cs
1,081
C#
/*$ preserve start $*/ /* ========================================================================================== */ /* FMOD Ex - DSP header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2015. */ /* */ /* Use...
52.371622
299
0.622268
[ "MIT" ]
Mikxus/SBT
BeatDetector/BeatDetectorC#Version/fmod_dsp.cs
38,755
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 ...
17.323232
63
0.625656
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-sgw/Sgw/Model/V20180511/UploadGatewayLogResponse.cs
1,715
C#
using System; namespace Niue.Abp.Abp.Domain.Entities.Auditing { /// <summary> /// An entity can implement this interface if <see cref="CreationTime"/> of this entity must be stored. /// <see cref="CreationTime"/> is automatically set when saving <see cref="Entity"/> to database. /// </summary> publ...
30.875
107
0.625506
[ "MIT" ]
P79N6A/abp-ant-design-pro-vue
Niue.Abp/Abp/Domain/Entities/Auditing/IHasCreationTime.cs
494
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...
51.224
185
0.676089
[ "MIT" ]
Click4PV/azure-powershell
src/Kusto/generated/api/Support/EventGridDataFormat.cs
6,279
C#
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Configuration; using System.Data; namespace imgsample { /// <summary> /// Scales and saves images to db /// </summary> public class ImageUtil { public ImageUtil() { // // TODO: Add construct...
35.785311
129
0.695453
[ "MIT", "Unlicense" ]
mdileep/Tigger
Experiments/imgsample/ImageUtil.cs
6,334
C#
using Microsoft.Xna.Framework; using System; using Terraria; using Terraria.ID; using Terraria.ModLoader; using tsorcRevamp.Projectiles.Enemy; namespace tsorcRevamp.NPCs.Bosses { class TheHunter : ModNPC { public override void SetStaticDefaults() { Main.npcFrameCount[npc.type] = 7; } ...
46.561856
247
0.463744
[ "MIT" ]
W1K1/tsorcRevamp
NPCs/Bosses/TheHunter.cs
9,035
C#
using System.ComponentModel.DataAnnotations; using PaderbornUniversity.SILab.Hip.Achievements.Model.Entity; namespace PaderbornUniversity.SILab.Hip.Achievements.Model.Rest.Achievements { public class RouteFinishedAchievementArgs : AchievementArgs { [Required] public int? RouteId { get; set; } ...
27.058824
76
0.71087
[ "Apache-2.0" ]
HiP-App/HiP-Achievements
HIP-Achievements.Model/Rest/Achievements/RouteFinishedAchievementArgs.cs
462
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...
38.403509
186
0.652353
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/EKS/Generated/Model/Internal/MarshallTransformations/ListTagsForResourceResponseUnmarshaller.cs
4,378
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.CloudMine.Core.Collectors.Context; using Microsoft.CloudMine.Core.Collectors.Error; using Microsoft.CloudMine.Core.Collectors.Telemetry; using Microsoft.CloudMine.Core.Collectors.Utility; using Newtonsoft.Json; using Newtonsoft...
38.520833
186
0.601316
[ "MIT" ]
dwhathaway/CEDAR.Core.Collector
Core.Collectors/IO/RecordWriterCore.cs
11,096
C#
using System; using System.Collections.Generic; using Sfa.Tl.Matching.Data.UnitTests.Repositories.Constants; namespace Sfa.Tl.Matching.Data.UnitTests.Repositories.EmailTemplate.Builders { public class ValidEmailTemplateListBuilder { public IList<Domain.Models.EmailTemplate> Build() => new List<Domain....
40.176471
98
0.622255
[ "MIT" ]
uk-gov-mirror/SkillsFundingAgency.tl-matching
src/Sfa.Tl.Matching.Data.UnitTests/Repositories/EmailTemplate/Builders/ValidEmailTemplateListBuilder.cs
1,368
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.CodeAnalysis; #if NETCOREAPP2_0 || NETCOREAPP2_1 using Microsoft.Extensions.DependencyMo...
32.784615
117
0.639137
[ "Apache-2.0" ]
EasonDongH/EntityFrameworkCore
test/EFCore.Design.Tests/TestUtilities/BuildReference.cs
2,131
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. #nullable disable using System.Text; namespace Microsoft.DotNet.MSBuildSdkResolver { // Note: This is SemVer 2.0.0 https://semver.org/spec/...
32.652941
131
0.428842
[ "MIT" ]
belav/sdk
src/Resolvers/Microsoft.DotNet.MSBuildSdkResolver/FXVersion.cs
11,102
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; public class TestMain : MonoBehaviour { private List<Item> listItem; private UIWarpContent warpContent; void Start () { //测试数据 listItem = new List<Item> (); for (int i = 0; i < 50; i++) { listItem.Add (n...
24.454545
78
0.701983
[ "Apache-2.0" ]
Lenovezhou/Tool
Assets/Scripts/InfinityItem/TestMain.cs
1,720
C#
//----------------------------------------------------------------------- // <copyright file="AggregateProjectionTransformer.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //----------------------------------------------------------------------- n...
46.586538
140
0.508101
[ "MIT" ]
Arithmomaniac/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Query/OfflineEngine/AggregateProjectionTransformer.cs
19,382
C#
using System.Collections.Generic; using System.Linq; using System.Text; using CCompiler.Tokenizer; namespace CCompiler.SemanticAnalysis { public class Table<T> { private Dictionary<string, T> _members; public Table() { _members = new Dictionary<string, T>(); ...
31.391304
114
0.554709
[ "MIT" ]
ALMikhai/CCompiler
CCompiler/SemanticAnalysis/SymbolTable.cs
1,446
C#
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.IO; using System.Text; using System.Web; using System.Xml; using System.Configuration; using umbraco.BasePages; using umbraco.BusinessLogic; using umbraco.businesslogic; using umbraco.cms.businesslogic...
29.534884
140
0.658661
[ "MIT" ]
ConnectionMaster/Umbraco-CMS
src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadXslt.cs
2,542
C#
using System; using UnityEditor; using UnityEngine; namespace Instech.NodeEditor { public class ConnectionLine { public NodePort FromPort { get; private set; } public NodePort ToPort { get; private set; } private Action<ConnectionLine> _onClickRemoveLine; public ConnectionLine(...
27.85
99
0.547576
[ "Apache-2.0" ]
inspoy/NodeFlowEditor
Editor/ConnectionLine.cs
1,114
C#
using System; using NUnit.Framework; using Unity.Burst; using Unity.Collections; using Unity.Jobs; using Unity.Mathematics; namespace Burst.Compiler.IL.Tests { internal class ControlFlows { [TestCompiler(ExpectCompilerException = true, ExpectedDiagnosticIds = new[] { DiagnosticId.ERR_TryConstructionNot...
24.432692
186
0.332546
[ "Apache-2.0" ]
FynnKaeser/biz.dfch.CS.Unity.Examples
src/biz.dfch.CS.Unity.KartingMicrogame/Library/PackageCache/com.unity.burst@1.2.3/Tests/Runtime/Shared/040-ControlFlows.cs
20,328
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.ComponentModel; using Pulumi; namespace Pulumi.AzureNative.Sql { /// <summary> /// Type of the sever administrator. /// </su...
48.446386
680
0.708693
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Sql/Enums.cs
60,994
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Build.Framework; using Microsoft.DotNet.Build.Tasks.Feed.Model; using Microsoft.DotNet.Maestro.Client; using Microsoft.DotNet.Maestro.Client.Models; using Microsoft.D...
47.689581
262
0.57186
[ "MIT" ]
AdamYoblick/arcade
src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs
44,399
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenId...
30.419355
112
0.668081
[ "MIT" ]
dnonn/PersonalWebsite
src/Web/MvcClient/Controllers/HomeController.cs
1,888
C#
using System; using System.Collections.Generic; using System.Linq; namespace RapidGUI { public static partial class TypeUtility { static readonly string ListInterfaceStr = "IList`1"; public static Type GetListInterface(Type type) => type.GetInterface(ListInterfaceStr); public static ...
29.76
94
0.540995
[ "MIT" ]
Craxy/Parkitect-HideScenery
src/HideScenery/RapidGui/Component/Utilities/TypeUtility.cs
1,490
C#
#pragma warning disable 618 using System.Collections.Generic; namespace OpenRasta.OperationModel.Interceptors { public interface IOperationInterceptorProvider { IEnumerable<IOperationInterceptor> GetInterceptors(IOperation operation); } } #pragma warning restore 618
24.083333
78
0.792388
[ "MIT" ]
openrasta/openrasta-core
src/OpenRasta/OperationModel/Interceptors/IOperationInterceptorProvider.cs
289
C#
using System; namespace CarRentalSystem.Controllers { using System.Web.Mvc; using CarRentalSystem.Models.Cars; using Microsoft.AspNet.Identity; using CarRentalSystem.Data; using System.Net; using System.Linq; using CarRentalSystem.Models.Renting; public class CarsController : Control...
29.194175
87
0.439142
[ "MIT" ]
pirocorp/Software-Technologies
22. C# Blog Basic Functionality/CarRentalSystem/CarRentalSystem/Controllers/CarsController.cs
6,016
C#
//////////////////////////////////////////////// // © https://github.com/badhitman //////////////////////////////////////////////// using System; using System.Linq; using ab.Model; using Android.Content; using Android.Views; using AndroidX.RecyclerView.Widget; using Java.Lang; using Microsoft.EntityFrameworkCore; n...
38.830769
231
0.596672
[ "MIT" ]
badhitman/Xamarin-ab-log-app
server configurator/Services/scripts/ScriptsListAdapter.cs
2,529
C#
#pragma checksum "..\..\CustomWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "E5C175F50F409B940A03B127E73573FD2FCA32CFAA1C475CDE16C2E8C412FF68" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4....
42.463768
162
0.639078
[ "MIT" ]
JettFlat/WPF-hardware-monitor
HardwareMonitor/obj/Debug/CustomWindow.g.cs
5,862
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...
36.165049
163
0.644027
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/FraudDetector/Generated/Model/Internal/MarshallTransformations/DeleteBatchPredictionJobRequestMarshaller.cs
3,725
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class ItemConnection : MonoBehaviour { protected bool removed; protected abstract ItemConnector Connector { get; set; } public void Remove() { if (removed) { Logger.Print("Re-Rem...
32.918367
141
0.719157
[ "MIT" ]
ohtuprojekti-farmasia/farmasia-vr
Assets/Scripts/Objects/Connections/ItemConnection.cs
1,615
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本: 4.0.30319.42000 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Han...
33.861111
179
0.575472
[ "Apache-2.0" ]
AniChikage/HandTrackingUI
HandTracingUI/Properties/Resources.Designer.cs
2,768
C#
using Abp.Runtime.Validation; using HC.WeChat.Dto; using HC.WeChat.WeChatGroups; namespace HC.WeChat.WeChatGroups.Dtos { public class GetWeChatGroupsInput : PagedAndSortedInputDto, IShouldNormalize { ////BCC/ BEGIN CUSTOM CODE SECTION ////ECC/ END CUSTOM CODE SECTION /// <summary> ...
21.794118
80
0.511471
[ "MIT" ]
DonaldTdz/GAWeChat
aspnet-core/src/HC.WeChat.Application/WeChatGroups/Dtos/GetWeChatGroupsInput.cs
781
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using Microsoft.Practices.EnterpriseLibrary.Common.Configuration; using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Unity; using Microsoft.Practices.EnterpriseLibrary....
45.370079
129
0.626605
[ "Apache-2.0" ]
Microsoft/policy-injection-application-block
source/Src/PolicyInjection/PolicyInjector.cs
11,526
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace GK { public class BreakableSurface : MonoBehaviour { public MeshFilter Filter { get; private set; } public MeshRenderer Renderer { get; private set; } public MeshCollider Collider { get; private set; } public Rigidb...
24.394495
86
0.605679
[ "MIT" ]
phamngocanit82/PNA-Unity3D
ShootPanel/Assets/Scripts/BreakableSurface.cs
5,320
C#
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using MyInvest.Infrastructure.Crosscutting.AspNetIdentity.Context; namespace MyInvest.Infrastructure.Crosscutting.AspNetIdentity.Configuration { public class ApplicationRol...
33.391304
129
0.755208
[ "MIT" ]
jonas1307/MyInvest
src/MyInvest.Infrastructure.Crosscutting.AspNetIdentity/Configuration/ApplicationRoleManager.cs
770
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/St...
25.955157
119
0.653594
[ "Apache-2.0" ]
Pvredev/StockSharp
Algo/Export/Database/DbProviders/BaseDbProvider.cs
5,788
C#
using eLib.Database.Interfaces; using eStationCore.IManagers; namespace eStationCore.Store.SqlLite { public class EstationSqlLite : IEstation { private string _path; public EstationSqlLite(string path) { this._path = path; } public ISalesManager Sales { ge...
29.071429
55
0.640049
[ "MIT" ]
HalidCisse/eStation
EStationCore/Store/SqlLite/EstationSqlLite.cs
816
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
26.580645
106
0.725728
[ "MIT" ]
CNinnovation/BastaMainz2016
UWP/AdaptiveLayouts/HamburgerSample/MainPage.xaml.cs
826
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using Android.Content; using Android.Content.PM; using Mindscape.Raygun4Net.Builders; using Mindscape.Raygun4Net.Messages; namespace Mindscape.Raygun4Net { public class RaygunMessageBuilder : ...
23.871795
96
0.668099
[ "MIT" ]
Havunen/raygun4net
Mindscape.Raygun4Net.Xamarin.Android/RaygunMessageBuilder.cs
2,793
C#
/* Original author: Dieter Vandroemme, dev at Sizing Servers Lab (https://www.sizingservers.be) @ University College of West-Flanders, Department GKG Written in 2015 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), t...
57.504425
461
0.618806
[ "MIT" ]
sizingservers/sizingservers.util
SizingServers.Util/FindAndReplaceHelperObject.cs
6,500
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using NuGet; using NuGet.Common; using ...
40.429467
159
0.550283
[ "BSD-3-Clause" ]
gmeks/DevAudit
DevAudit.AuditLibrary/PackageSources/NetCorePackageSource.cs
12,897
C#
using System.Linq; using SkiaSharp; using GTTG.Core.Drawing.Canvases; using GTTG.Core.Strategies.Implementations; using GTTG.Core.Strategies.Interfaces; using GTTG.Model.Model.Infrastructure; using GTTG.Model.Strategies.Types; using GTTG.Model.ViewModel.Infrastructure.Stations; using GTTG.Model.ViewModel.Infrastructu...
37.585366
138
0.706035
[ "MIT" ]
Sykoj/GTTG
tutorials/traffic/GTTG.Traffic/ViewModel/TutorialStationView.cs
1,543
C#
namespace Nancy.Core.Scanning { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; public class TypeCatalog : ITypeCatalog { private readonly Lazy<IReadOnlyCollection<Assembly>> assemblies; public TypeCatalog(IAssemblyCatalog assemblyCat...
29.983607
119
0.543466
[ "Apache-2.0" ]
khellang/nancy-bootstrapper-prototype
src/Nancy.Core/Scanning/TypeCatalog.cs
1,829
C#
using System; using System.Collections.Generic; using Abp.Authorization.Users; using Abp.Extensions; namespace library.Authorization.Users { public class User : AbpUser<User> { public const string DefaultPassword = "123qwe"; public static string CreateRandomPassword() { re...
24.742857
83
0.561201
[ "MIT" ]
janjan111921/abpsampleLibrary
src/library.Core/Authorization/Users/User.cs
868
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace W01T03_Layouts.Layouts { public class AbsoluteOrnek : ContentPage { public AbsoluteOrnek() { AbsoluteLayout al = new AbsoluteLayout(); BoxView blue = n...
21.433333
61
0.581649
[ "MIT" ]
coshkun/Xamarin
lectures-ms/W01T03.Layouts/W01T03_Layouts/W01T03_Layouts/Layouts/AbsoluteOrnek.cs
645
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using BenchmarkDotNet.Attributes; using MicroBenchmarks; namespace System.Collections { [BenchmarkCategory(Cat...
29.25
100
0.680098
[ "MIT" ]
AndyAyersMS/performance
src/benchmarks/micro/corefx/System.Collections/Create/CtorDefaultSizeNonGeneric.cs
821
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
32.176842
141
0.686928
[ "MIT" ]
trigger-death/ZeldaOracle
EditorLibraries/ICSharpCode.AvalonEdit/Document/TextSegmentCollection.cs
30,570
C#
//[?] 정적(Static, Shared) 멤버와 인스턴스(Instance) 멤버 using System; namespace StaticAndInstance { //[1] 클래스 생성 class SharedAndInstance { //[1][1] static(shared) 멤버 public static void StaticMember() => Console.WriteLine("[1] Static Member"); //[1][2] instance 멤버 public void Insta...
24.9
84
0.542169
[ "MIT" ]
VisualAcademy/DotNet
DotNet/DotNet/32_Object/05_StaticAndInstance/StaticAndInstance.cs
873
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using System.Runtime.InteropServices; using System.Windows; namespace WpfApp1.NetCore { public class ListItem { public string Title { get; set; } public int ItemHeight {...
27.872093
90
0.682103
[ "MIT" ]
rafsanulhasan/AutoHeightAndCornerRadiusWPF
WpfApp1.NetCore/MainWindow.xaml.cs
4,796
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Mi...
40.02952
189
0.611173
[ "Apache-2.0" ]
amcasey/roslyn
src/VisualStudio/Core/Next/Remote/JsonRpcSession.cs
10,850
C#
using UnityEngine; public static class JuceCoreUnityComponentExtensions { public static void DestroyGameObject(this Component component) { if (component == null) { return; } MonoBehaviour.Destroy(component.gameObject); } public static T InstantiateGameObje...
24.954545
122
0.677596
[ "MIT" ]
Juce-Assets/Juce-CoreUnity
Runtime/Extensions/JuceCoreUnityComponentExtensions.cs
551
C#
// Copyright 2018 Ionx Solutions (https://www.ionxsolutions.com) // Ionx Solutions licenses this file to you under the Apache License, // Version 2.0. You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 using System; using Serilog.Events; using Serilog.Formatting.Display; na...
48.361111
158
0.677771
[ "Apache-2.0" ]
IonxSolutions/serilog-sinks-syslog
src/Serilog.Sinks.Syslog/Sinks/Formatters/LocalFormatter.cs
1,741
C#
using Assets.Common.StandardAssets.CrossPlatformInput.Scripts; using Assets.Common.StandardAssets.Utility; using UnityEngine; using Random = UnityEngine.Random; namespace Assets.Common.StandardAssets.Characters.FirstPersonCharacter.Scripts { [RequireComponent(typeof (CharacterController))] [RequireComponent(ty...
37.515625
133
0.601833
[ "MIT" ]
Chapmania/unity-ui-examples
Assets/Common/StandardAssets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs
9,604
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.VisualStudio.Text; namespace Microsoft.VisualStudio.LanguageServer.ContainedLanguage {...
44.875
232
0.655239
[ "Apache-2.0" ]
Youssef1313/aspnetcore-tooling
src/Razor/src/Microsoft.VisualStudio.LanguageServer.ContainedLanguage/VirtualDocumentBase.cs
4,669
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("Pr...
39.378378
84
0.75429
[ "Apache-2.0" ]
ArcGIS/distance-direction-addin-dotnet
source/addins/ProAppDistanceAndDirectionModule.Tests/Properties/AssemblyInfo.cs
1,460
C#
#region Copyright & License /* Copyright (c) 2022, Integrated Solutions, Inc. All rights reserved. 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 retain the above copyright notice, t...
65.645833
754
0.796255
[ "BSD-3-Clause" ]
ISI-Extensions/ISI.Extensions
src/ISI.Extensions/MessageBus/AbstractMessageBus/Publish_TRequest_TResponse.cs
3,151
C#
// --------------------------------------------------------------------------------------------------------------------- // <copyright file="NumberExtensions.cs" company="Justin Rockwood"> // Copyright (c) Justin Rockwood. All Rights Reserved. Licensed under the Apache License, Version 2.0. See // LICENSE.txt in t...
34.566667
121
0.497589
[ "Apache-2.0" ]
jrockwood/RayTracerChallenge
CSharp/RayTracerChallenge.Library/NumberExtensions.cs
1,039
C#
namespace EA.Prsd.Core.Tests.Mvc { using System.Collections; using System.Collections.Generic; using System.Web; internal class FakeHttpContext : HttpContextBase { private Dictionary<object, object> _items = new Dictionary<object, object>(); public override IDictionary Items { get ...
26.846154
85
0.687679
[ "Unlicense" ]
DEFRA/prsd-iws
src/EA.Prsd.Core.Tests/Mvc/FakeHttpContext.cs
351
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using KModkit; using rnd = UnityEngine.Random; class SequenceCut : Puzzle { int[] symbolToRow = { 29, 20, 30, 17, 4, 23, 25, 18, 16, 1, 15, 13, 3, 24, 2, 8, 7, 26, 14, 19, 11, 27, 21, 5, 28, 22, 10, 6, 0...
58.656805
197
0.65167
[ "MIT" ]
rocket0634/ktane-modkit
Assets/Scripts The Modkit/SequenceCut.cs
9,913
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CSpawnTreeInitializerToggleMonsterDefaultIdleBehaviors : ISpawnTreeIniti...
35.73913
166
0.782238
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CSpawnTreeInitializerToggleMonsterDefaultIdleBehaviors.cs
800
C#
using AutoMapper; using sXb_service.Helpers; using sXb_service.Models; using sXb_service.Repos.Interfaces; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; namespace sXb_service.Services { public class BookApi : IBookApi { private string key; private HttpC...
28.337209
104
0.597866
[ "MIT" ]
studentsXbooks/studentsXbooks-app
backend/sXb-service/Services/BookApi.cs
2,439
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------------------...
28.645161
98
0.558559
[ "MIT" ]
HFX-93/luban_examples
Projects/Csharp_DotNet5_bin/Gen/l10n/TbL10NDemo.cs
1,776
C#
/* * The MIT License * * Copyright 2019 Palmtree Software. * * 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, co...
34.431373
80
0.697608
[ "MIT" ]
rougemeilland/Palmtree.Math
Palmtree.Math.Test/Plugin/Sint/ComponentTestPlugin_Subtruct_UX_UI.cs
1,758
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Win.Rentas { public partial class FormComida : Form { public For...
19
43
0.654135
[ "MIT" ]
AdrianPin/Ventas
Ventas1/SistemaRentas/Rentas/Win.Rentas/FormComida.cs
401
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Server.MasterData.DTO.Data.CrossService; namespace Server.Util { public static class TimeSpanExtensions { /// <summary> /// Multiplies a timespan by an integer value /// </summary> public...
31.25641
83
0.576702
[ "MIT" ]
ViolaCrellin/NopePets
Server/Util/TimeSpanExtensions.cs
1,221
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
31.75
81
0.549213
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/Activities/Controls/UI/Activity/Details.ascx.designer.cs
1,018
C#
using System; using System.Linq; using System.Collections.Generic; using OrbitalShell.Lib; using OrbitalShell.Component.CommandLine.CommandModel; using OrbitalShell.Component.CommandLine.Parsing; using OrbitalShell.Component.CommandLine.Processor; using System.Reflection; using System.Collections.ObjectModel; using Orb...
46.884932
248
0.449132
[ "MIT" ]
OrbitalShell/Orbital-Shell
OrbitalShell-Kernel/Component/Shell/Module/ModuleCommandManager.cs
17,115
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...
30.509091
142
0.631108
[ "MIT" ]
Bhaskers-Blu-Org2/Cognitive-CustomVision-Windows
ClientLibrary/Microsoft.Cognitive.CustomVision.Training/Generated/Models/ImageCreateSummary.cs
1,678
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("4....
38.135135
84
0.746279
[ "MIT" ]
RePierre/dot-net-async
4.ParallelFramework/Properties/AssemblyInfo.cs
1,414
C#
using System; using System.Windows.Forms; /* Chanmongler -- chanstyle imageboard downloader and searcher * Copyright (C) 2008,2009 Praetox (http://praetox.com/) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
36.148936
74
0.609182
[ "Unlicense" ]
Praetox/Chan
Chanmongler_final/Backup/Chanmongler/frmNews.cs
1,701
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer { public class Sho...
30
101
0.733333
[ "MIT" ]
stefb965/PowerShellEditorServices
src/PowerShellEditorServices.Protocol/LanguageServer/ShowOnlineHelpRequest.cs
512
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Fragmentctrl : MonoBehaviour{ public Vector3 jumpForce; public float destroyDelay; private Rigidbody2D rb; // Use this for initialization void Start (){ rb = GetComponent<Rigidbody2D>(); rb.AddForce(jumpForce); D...
17.238095
42
0.756906
[ "MIT" ]
smishadhin/Unity-Game-Projects-PublivRepo
Cats on the woods - 2d platformer/Assets/Scripts/Fragmentctrl.cs
364
C#
/******************************************************************************* * Copyright (c) 2013 IBM Corporation. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accomp...
44.896471
154
0.670877
[ "EPL-1.0" ]
OSLC/oslc4net
OSLC4Net_SDK/OSLC4Net.Client.Samples/RRCOAuthSample.cs
19,083
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace VBSAdmin.Models.AccountViewModels { public class ExternalLoginConfirmationViewModel { [Required] [EmailAddress] public str...
22.1875
52
0.698592
[ "MIT" ]
nwbible/vbsadmin
VBSAdmin/src/VBSAdmin/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs
357
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; us...
44.175725
147
0.586385
[ "Apache-2.0" ]
Sohra/efcore
src/EFCore.Relational/Query/RelationalSqlTranslatingExpressionVisitor.cs
48,770
C#
using System; using NUnit.Framework; namespace WebGL.UnitTests { [TestFixture] public class BadArgumentsTest : BaseTest { private class ValueThrows { public readonly dynamic Value; public readonly bool Throws; public ValueThrows(dynamic value, bool thro...
48.797872
145
0.555483
[ "Apache-2.0" ]
jdarc/webgl.net
WebGL.UnitTests/conformance/v100/BadArgumentsTest.cs
4,589
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Vortex_Backup : Skill { [SerializeField] private GameObject VortexZone; //[SerializeField] //private GameObject VortexZoneT; //private GameObject Vortex_Temp; [SerializeField] private Transform Sp...
21.863636
105
0.602911
[ "Apache-2.0" ]
bruno-pLima/PandoraPlayers
Players/Angie/Skills/Vortex_Backup.cs
1,445
C#
namespace SpeedyCdn.Enums { // public enum CacheElementType { Image, Static } public enum Gravity { None, NorthWest, North, NorthEast, West, Center, East, SouthWest, South, SouthEast } pub...
12.612903
32
0.457801
[ "Apache-2.0" ]
brianmed/SpeedyCdn
Enums.cs
391
C#
#pragma warning disable IDE1006 // Naming Styles using MonoMod.Utils; using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.InteropServices; namespace MonoMod.RuntimeDetour.Platforms { #if !MONOMOD_INTERNAL public #endif unsafe class DetourNativeMonoPlatform : IDe...
34.75
109
0.616136
[ "MIT" ]
abrenneke/MonoMod.Common
RuntimeDetour/Platforms/Native/DetourNativeMonoPlatform.cs
3,894
C#
// Generated by SharpKit.QooxDoo.Generator using System; using System.Collections.Generic; using SharpKit.Html; using SharpKit.JavaScript; namespace qx.ui.core { /// <summary> /// <para>Defines the callback for the single selection manager.</para> /// </summary> public interface ISingleSelectionProvider { ...
26.677419
72
0.694075
[ "MIT" ]
SharpKit/SharpKit-SDK
Defs/Qooxdoo/ui/core/ISingleSelectionProvider.cs
827
C#
using System; namespace Panosen.Time { /// <summary> /// 时间转换器 /// </summary> public static class TimeConvert { /// <summary> /// 基准时间 /// </summary> public static readonly DateTime TimeBase = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); /// <summar...
28.925373
111
0.552116
[ "MIT" ]
panosen/panosen-time
Panosen.Time/TimeConvert.cs
2,216
C#
using Abp.Domain.Entities; using System; using System.Collections.Generic; using System.Text; namespace TalentMatrix.Org { public class Student: Entity<int> { public string Name { get; set; } /// <summary> /// 学生所在的学校 /// </summary> public School School { get; set; } ...
19.176471
42
0.59816
[ "MIT" ]
benjamin0809/abp-marvelous
aspnet-core/src/TalentMatrix.Core/Org/Student.cs
342
C#
namespace Krillin.App.Models { using System.Xml.Serialization; [XmlRoot(ElementName = "guid")] public class Guid { [XmlAttribute(AttributeName = "isPermaLink")] public string IsPermaLink { get; set; } [XmlText] public string Text { get; set; } } }
22.5
54
0.580952
[ "Apache-2.0" ]
marcoablanco/GS.Reader.Rss
Krillin/Krillin.App/Krillin.App/Krillin.App/Models/Guid.cs
317
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; public class MeshBuilder { private List<Vector3> m_Vertices = new List<Vector3>(); public List<Vector3> Vertices { get { return m_Vertices; }} private List<Vector3> m_Normals = new List<Vector3>(); public List<Vector3> Normals { get ...
21.338028
61
0.693069
[ "MIT" ]
adrianogil/VR360QualityTool
unity/VR360QualityTool/Assets/Scripts/MeshBuilder.cs
1,517
C#
using System.Collections.Generic; namespace RecipeBox.Models { public class Recipe { public Recipe() { this.JoinEntities = new HashSet<RecipeTag>(); } public int RecipeId { get; set; } public string Name { get; set; } public string Ingredients { get; set; } public string Instructi...
25.888889
68
0.665236
[ "MIT" ]
Patrick-Dolan/recipe-box
RecipeBox/Models/Recipe.cs
466
C#
/* * Copyright © 2018 Federation of State Medical Boards * All Rights Reserved */ using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using FluentAssertions; using P3Net.Kraken.Data.Sql; using P3Net.Kraken.UnitTesting; namespace Tests.P3Net.Kraken.Data.Sql { [TestClass] public class SqlCon...
25.329897
104
0.602768
[ "MIT" ]
CoolDadTx/Kraken
Tests/Tests.P3Net.Kraken.Data/Sql/SqlConnectionManagerTests.cs
2,460
C#
using HarmonyLib; using Psychology; using UnityEngine; using Verse; namespace Gradual_Romance.Harmony { [HarmonyPatch(typeof(Pawn_SexualityTracker))] [HarmonyPatch("AdjustedSexDrive", MethodType.Getter)] public class AdjustedSexDrive_GRPatch { [HarmonyPostfix] public static void GRXeno...
34.076923
117
0.555756
[ "MIT" ]
emipa606/GradualRomance
Source/Gradual Romance/AdjustedSexDrive_GRPatch.cs
2,217
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace EcCoach.Web.Migrations { public partial class AdminFieldToUser : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsAdmin", ...
26.541667
71
0.574568
[ "MIT" ]
FernandaCalzado/BecomingDotNetDevUASD
EventsCoach/EcCoach.Web/Migrations/20210207050120_AdminFieldToUser.cs
639
C#
using Util.Helpers; using Util.Ui.Builders; using Util.Ui.Configs; namespace Util.Ui.Material.Tabs.Builders { /// <summary> /// Material链接选项卡生成器 /// </summary> public class TabLinkBuilder : TagBuilder { /// <summary> /// 初始化链接选项卡生成器 /// </summary> public TabLinkBuilder(...
29.766667
78
0.517357
[ "MIT" ]
12321/Util
src/Util.Ui.Angular.Material/Material/Tabs/Builders/TabLinkBuilder.cs
949
C#
using System; namespace Pushpay.DynamoDbProvisioner { [AttributeUsage(AttributeTargets.Property)] public class DynamoDBTimeToLiveAttribute : Attribute { } }
20.125
57
0.813665
[ "MIT" ]
hzawawi/dynamodb-provisioner
Pushpay.DynamoDbProvisioner/DynamoDBTimeToLiveAttribute.cs
163
C#
#if PLY_GAME using plyBloxKit; namespace Devdog.InventoryPro.Integration.plyGame.plyBlox { [plyBlock("Inventory Pro", "Items", "Open/Close treasure chest", BlockType.Action, Description = "Open or close a treasure chest.")] public class OpenCloseTreasureChest : plyBlock { [plyBlockField("Treasure...
33.757576
224
0.63465
[ "MIT" ]
PotentialGames/Cal-tEspa-l
BRGAME/Assets/Devdog/InventoryPro/Scripts/Integration/plyGame/plyBlox/OpenCloseTreasureChest.cs
1,116
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Wave : MonoBehaviour { [SerializeField] private Player player; [SerializeField] private WaveComponent[] waveComponents; [SerializeField] private string waveText; private float timeElapsed = 0f; ...
24.050633
73
0.548947
[ "MIT" ]
lukehb/ld37
Assets/Scripts/Wave.cs
1,902
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
36.5
128
0.582648
[ "Unlicense" ]
brlala/Library-Management-System
mainForm/EmployeeCategory.cs
1,095
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEditor; namespace FinalInferno{ public class TriggerSceneChange : Triggerable { //TO DO: Usar a struct SceneWarp aqui e atualizar o script de editor para refletir isso [...
46.033708
147
0.600683
[ "MIT" ]
FellowshipOfTheGame/FinalInferno
Assets/Scripts/Overworld/TriggerSceneChange.cs
4,100
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace Anonymous_Vox { class Program { static void Main(string[] args) { string pattern = @"([a-zA-Z]+)(.+)\1"; string text = Console.ReadLine(...
36.348837
119
0.53039
[ "MIT" ]
KristiyanSevov/SoftUni-Programming-Fundamentals
Exam 05.11.2017/Anonymous Vox/Anonymous Vox.cs
1,565
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан по шаблону. // // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном с...
40.194444
128
0.601935
[ "MIT" ]
Scronullik/ServiceStation
ServiceStation/ServiceStation/Model/ContactPersonModel.cs
1,621
C#