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
// 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.Collections.Generic; using System.Collections.Immutable; using System.Composition; using...
46.135802
205
0.59802
[ "MIT" ]
Ximik87/roslyn
src/Features/CSharp/Portable/Completion/CompletionProviders/DeclarationNameCompletionProvider.cs
18,687
C#
using System; namespace Shapes { public class Rectangle : IDrawable { private int width; private int height; public Rectangle(int width, int height) { this.width = width; this.height = height; } public void Draw() { ...
22.361111
60
0.42236
[ "MIT" ]
Iceto04/SoftUni
C# OOP/03. Interfaces and Abstraction/LabAndExercise/Shapes/Rectangle.cs
807
C#
/*===========================================================================*/ /* * * FileName : CommandEventLoadReplayData.cs * * * Author : Hiroki_Kitahara. */ /*===========================================================================*/ using UnityEngine; using System.Collections; public class Co...
25.512821
79
0.624121
[ "Unlicense" ]
hiroki-kitahara/Shoooooooooooooting-kitahara
trunk/STG/Assets/Scripts/Component/CommandEvent/CommandEventLoadReplayData.cs
995
C#
using System.ComponentModel; namespace Cielo.Enums { public enum Status { [Description("Aguardando atualização de status")] NotFinished = 0, [Description("Pagamento apto a ser capturado ou definido como pago")] Authorized = 1, [Description("Pagamento confirmado e finali...
30.592593
77
0.623487
[ "MIT" ]
oforia/Cielo
Cielo/Enums/Status.cs
835
C#
using System; using Newtonsoft.Json; namespace DevOps.Portal.Domain.VisualStudio { public class VisualStudioTemplate { [JsonProperty(PropertyName = "id")] public string Id { get; set; } [JsonProperty(PropertyName = "description")] public string Description { get; set; } ...
23.809524
54
0.638
[ "MIT" ]
Gary-Moore/DevOps-Portal
DevOps.Portal.Domain/VisualStudio/VisualStudioTemplate.cs
502
C#
using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Scorables; using Microsoft.Bot.Connector; using Microsoft.Bot.Connector.Teams.Models; using Microsoft.Teams.TemplateBotCSharp.Properties; using Microsoft.Teams.TemplateBotCSharp.Utility; using System; using System.Collections.Generic; using System.Thread...
32.308977
122
0.646097
[ "MIT" ]
samgent/template-bot-master-csharp
template-bot-master-csharp/src/dialogs/RootDialog.cs
15,478
C#
using Device.Net; using Hid.Net.Windows; using Microsoft.Extensions.Logging; using System; using System.Diagnostics; using System.IO; using System.Reflection; using System.Threading.Tasks; using Usb.Net.Windows; #pragma warning disable CA2201 // Do not raise reserved exception types namespace Trezor.Net { //Why ...
33.453125
152
0.669313
[ "MIT" ]
MelbourneDeveloper/Trezor.Net
src/Trezor.Net.LibUsbUnitTest/WindowsTestBase.cs
2,143
C#
namespace CommonUtils.UI.SettingsFields { public interface ISettingsFieldController { void Save(); } }
21.2
44
0.783019
[ "MIT" ]
edcasillas/unity-common-utils
Runtime/Scripts/UI/SettingsFields/ISettingsFieldController.cs
106
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace GloboTicket.MobileApp.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally res...
34.75
98
0.679856
[ "Apache-2.0" ]
CraigRichards/deploying-asp-dot-net-core-microservices-kubernetes-aks
GloboTicket/GloboTicket.MobileApp/GloboTicket.MobileApp.iOS/AppDelegate.cs
1,114
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 // 이러한 특성 값을 변경하세요. [assembly: AssemblyTitle("Korean_chat_analyzer")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly...
29.135135
56
0.702226
[ "MIT" ]
csh8130/Korean_chat_analyzer
Korean_chat_analyzer/Properties/AssemblyInfo.cs
1,519
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Perlin = TreeEditor.Perlin; using Random = UnityEngine.Random; public class World_Generation : MonoBehaviour { public GameObject Cube; //definition du "cube" ce base public Material Material_2; //definition des...
41.419753
135
0.597914
[ "MIT" ]
Mrgove10/MineC-raft
Assets/Scripts/World_Generation.cs
3,357
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace EternityEngine { public class Hazard : Spawnable { public float damage; public virtual void OnCollisionEnter2D (Collision2D coll) { IDestructable destructable = coll.collider.GetComponentInParent<IDestructable>(); ...
22.652174
84
0.752399
[ "Apache-2.0" ]
Master109/open-brush
Assets/New Assets/New Standard Assets/Scripts/Concepts/MonoBehaviours/Spawnables/Hazard.cs
523
C#
using System.Collections.Generic; using UnicornHack.Generation; using UnicornHack.Generation.Effects; using UnicornHack.Primitives; namespace UnicornHack.Data.Abilities { public static partial class AbilityData { public static readonly LeveledAbility Assassination = new LeveledAbility { ...
28.809524
97
0.652893
[ "Apache-2.0" ]
AndriySvyryd/UnicornHack
src/UnicornHack.Core/Data/Abilities/Assassination.cs
605
C#
using System.Runtime.InteropServices; namespace Vulkan { [StructLayout(LayoutKind.Sequential)] public struct VkPhysicalDeviceShaderDrawParametersFeatures { public VkStructureType SType; [NativeTypeName("void *")] public nuint PNext; [NativeTypeName("Bool32")] public uint ShaderDra...
22.733333
68
0.721408
[ "BSD-3-Clause" ]
trmcnealy/Vulkan
Vulkan/Structs/VkPhysicalDeviceShaderDrawParametersFeatures.cs
341
C#
using DevExpress.Xpo; using IBE.Common.Extensions; using IBE.Data.Model; using Microsoft.Data.Sqlite; using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Xml.Linq; namespace IBE.Data.Import.Greek { public class DictionaryBuilder { public vo...
51.645833
813
0.498857
[ "MIT" ]
krzysztof-radzimski/Usfm
src/IBE.Data.Import/Greek/DictionaryBuilder.cs
15,051
C#
#if !DISABLE_DHT using OctoTorrent.Dht.Messages; using System.Net; namespace OctoTorrent.Dht.Tasks { using System.Collections.Generic; class InitialiseTask : Task { private int _activeRequests; private List<Node> _initialNodes; private readonly SortedList<NodeId, NodeId> _nodes = ne...
30.982609
141
0.529329
[ "BSD-3-Clause" ]
bietiekay/sonos-podcast-service
Libraries/OctoTorrent/OctoTorrent.Dht/Tasks/InitialiseTask.cs
3,563
C#
using System.Collections; using NUnit.Framework; using TestProject.RuntimeTests.Support; using Unity.Netcode; using Unity.Netcode.RuntimeTests; using UnityEngine; using UnityEngine.TestTools; namespace TestProject.RuntimeTests { public class NetworkVariableInitializationOnNetworkSpawnTest { private Gam...
46.961749
183
0.642309
[ "MIT" ]
Briancoughlin/com.unity.netcode.gameobjects
testproject/Assets/Tests/Runtime/NetworkVariableInitializationOnNetworkSpawnTest.cs
8,594
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\ksmedia.h(6621,1) using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct KSCAMERAPROFILE_Legacy { } }
23.909091
89
0.707224
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/KSCAMERAPROFILE_Legacy.cs
265
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...
33.12
144
0.638889
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/Core/Outputs/InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetails.cs
1,656
C#
using System; using System.Collections.Generic; using System.Text; namespace LumiSoft.Net.POP3.Server { /// <summary> /// This class provides data for <see cref="POP3_Session.Authenticate"/> event. /// </summary> public class POP3_e_Authenticate : EventArgs { private bool m_IsAuthenticat...
25.925373
128
0.522165
[ "MIT" ]
garakutanokiseki/Join.NET
LumiSoftNet/Net/POP3/Server/POP3_e_Authenticate.cs
1,739
C#
using System; using System.Collections.Generic; using Reactive.Bindings; using System.Linq; using Prism.Navigation; namespace AiEffects.TestApp.ViewModels { public class FloatingPageViewModel:INavigatedAware { public ReactiveCommand NextCommand { get; set; } = new ReactiveCommand(); public Rea...
34.345455
104
0.60667
[ "MIT" ]
Fluck000/AiForms.Effects
Tests/AiEffects.TestApp/AiEffects.TestApp/ViewModels/FloatingPageViewModel.cs
1,891
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.EntityFrameworkCore.Metadata.Conventions.Infrastructure; // ReSharper disable once CheckNamespace namespace Microsoft.EntityFrameworkCore.Metadata.Conventions { ...
45.285714
132
0.69653
[ "MIT" ]
CameronAavik/efcore
src/EFCore.Sqlite.Core/Metadata/Conventions/SqliteSharedTableConvention.cs
1,585
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class TdApi { public partial class FileType : Object { /// <summary> /// The file is a video note /// </summary>...
27.21875
84
0.466131
[ "MIT" ]
0x25CBFC4F/tdsharp
TDLib.Api/Objects/FileTypeVideoNote.cs
871
C#
using Content.Shared.DragDrop; using Content.Shared.MedicalScanner; using Robust.Shared.GameObjects; namespace Content.Client.MedicalScanner { [RegisterComponent] [ComponentReference(typeof(SharedMedicalScannerComponent))] public sealed class MedicalScannerComponent : SharedMedicalScannerComponent { ...
25.764706
79
0.73516
[ "MIT" ]
14th-Batallion-Marine-Corps/14-Marine-Corps
Content.Client/MedicalScanner/MedicalScannerComponent.cs
440
C#
using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.OpenApi.Models; using Microsoft.Extensions.Configuration; using Microsoft.EntityFrameworkCore; using ApiResume.Domain.BlobContext.Interfaces; using ApiResume.Domain.Repository; using ApiResume.Domain.Repos...
38
141
0.609649
[ "MIT" ]
lucasvieiravicente/ApiResume
Domain/Utils/ConfigStartup.cs
2,510
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
35.012195
334
0.643678
[ "MIT" ]
Barjonp/OpenSilver
src/Simulator/LocalServer/PageWhenConnected.xaml.cs
2,873
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
34.147059
112
0.683032
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/KinesisVideo/Generated/Model/Internal/MarshallTransformations/StreamNameConditionMarshaller.cs
2,322
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using App.CoreLib.EF.Data.Entity; namespace App.CoreLib.EF.Data { public interface IQueryBase<TResponse> where TResponse : class, new() { Task<QueryResponse<TResponse>> ReadDataAsync(IQueryRequest request)...
27.875
76
0.584454
[ "MIT" ]
lethanhname/App.CoreLib
App.CoreLib.EF/Data/IQueryBase.cs
1,340
C#
using System; using System.Collections.Generic; using System.Linq; using FFImageLoading.Forms.Touch; using Foundation; using Messier16.Forms.Controls.iOS; using UIKit; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; namespace App.iOS { // The UIApplicationDelegate for the application. This class is respons...
37.142857
126
0.708333
[ "MIT" ]
ThatCSharpGuy/app
ThatCSharpGuy.iOS/AppDelegate.cs
1,562
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
47.195946
229
0.586352
[ "BSD-3-Clause" ]
Kodeistan/spark
src/Spark/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
20,955
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Prism.Mvvm; using QRCoder; namespace QrCodeGenerator.ViewModels.PayloadViewModels { public class BookmarkPayloadViewModel : BindableBase, IPayloadViewModel { private string _url; ...
22.967742
98
0.634831
[ "MIT" ]
karthi1015/QrCodeGenerator
QrCodeGenerator/ViewModels/PayloadViewModels/BookmarkPayloadViewModel.cs
714
C#
namespace Naos.Sample.IntegrationTests.Countries.Domain { using System.Threading.Tasks; using MediatR; using Microsoft.Extensions.DependencyInjection; using Naos.Foundation; using Naos.Foundation.Domain; using Naos.Sample.Countries.Domain; using Shouldly; using Xunit; public class ...
31.588235
87
0.648045
[ "MIT" ]
vip32/Naos.Core
tests/Sample.IntegrationTests/Countries/Domain/Events/Handlers/EntityInsertDomainEventHandlersTests.cs
1,076
C#
// <developer>niklas@protocol7.com</developer> // <completed>100</completed> using System; namespace SharpVectors.Dom.Svg { /// <summary> /// The SvgPathSegMovetoRel interface corresponds to an "relative moveto" (m) path data command. /// </summary> public interface ISvgPathSegMovetoRel : ISvgPathSeg ...
24.5625
99
0.653944
[ "BSD-3-Clause" ]
GuillaumeSmartLiberty/SharpVectors
Main/Source/SharpVectorCore/Svg/Paths/ISvgPathSegMovetoRel.cs
393
C#
using System; using System.Threading.Tasks; using KaLib.Utils; namespace KaLib.Procon.Test { class Program { static async Task Main(string[] args) { var controller = new Controller(); controller.OpenFirstProcon(); if (controller.Device == null) return; ...
30.315789
85
0.483507
[ "MIT" ]
ItsArcal139/KaLib
KaLib.Procon.Test/Program.cs
1,154
C#
using ICanCode.Api; namespace ICanCode.Client.Strategies { public class StartPointStrategy : BaseActionStrategy { public StartPointStrategy(Bot bot) : base(bot) { } /// <summary> /// 0.!safe point Reset /// 1.Safe move from StartPoint with others /// 2.Fire /// 3.Reset /// </summary> /// <param nam...
26.306569
88
0.649279
[ "MIT" ]
zarikadzer/bot-challenge
ICanCode.Client/Strategies/StartPointStrategy.cs
3,606
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class titleScreen : MonoBehaviour { private GameObject DDOL; private void Start() { DDOL = GameObject.Find("__app"); } // Start is called before ...
20.925926
59
0.665487
[ "MIT" ]
Cubehamster/kernmodule4myrthe
Assets/titleScreen.cs
567
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using CodeCamper.Data.Contracts; using CodeCamper.Model; namespace CodeCamper.Web.Controllers { public class AttendanceController : ApiControllerBase { public AttendanceController(ICodeCampe...
32.405405
96
0.615513
[ "MIT" ]
kushan2018/CodeCamper
CodeCamper.Web/Controllers/AttendanceController.cs
2,400
C#
//------------------------------------------------------------------------------ // <generado automáticamente> // Este código fue generado por una herramienta. // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a generar el código. // </generado aut...
39.090278
119
0.60064
[ "MIT" ]
eliraEsFlo/RazorWebForm
RequerimientosPro/WebForm/AdministradorPages/RequerimientosAsignados.aspx.designer.cs
5,693
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 ...
36.307692
63
0.755297
[ "Apache-2.0" ]
VAllens/aliyun-openapi-sdk-net-core
src/aliyun-net-sdk-rds/Model/V20140815/SwitchDBInstanceNetTypeResponse.cs
944
C#
using System; namespace Todo.Engine.Core { public abstract class DisposableObject : IDisposable { protected bool disposed; protected virtual void Dispose(bool disposing) { disposed = true; } public bool IsDisposed { get { return dispose...
17.62963
56
0.527311
[ "MIT" ]
JTOne123/sharp-redux
samples/Todo/Todo.Engine/Core/DisposableObject.cs
478
C#
/* MIT License Copyright(c) 2021 Kyle Givler https://github.com/JoyfulReaper 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.514286
80
0.650703
[ "MIT" ]
JoyfulReaper/DesignPatterns
GangOfFour/Kyle/DesignPatternExamples/Builder/Pizza.cs
2,278
C#
using Sniper.Common; using Sniper.Http; using Sniper.TargetProcess.Routes; using Xunit; namespace Sniper.Tests.CRUD.Update.Common.ProjectAllocations { public class UpdateProjectAllocationTests { [Fact] public void ProjectAllocationThrowsError() { var client = new TargetP...
24.73913
92
0.606327
[ "MIT" ]
amenkes/sniper
Sniper.Tests/CRUD/Update/Common/ProjectAllocations/UpdateProjectAllocationTests.cs
569
C#
namespace Dsp.Data.Entities { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public class ChoreGroupType { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } ...
26.210526
66
0.670683
[ "MIT" ]
deltasig/sphinx
src/Dsp.Data/Entities/ChoreGroupType.cs
500
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Johnson { public class HUDController : MonoBehaviour { public Image progressBar; public Text textXP; float xp = 0; float xpMax = 350; // Sta...
19.184211
57
0.503429
[ "MIT" ]
Awsomeman328/355-LD
Assets/Johnson/Scripts/HUDController.cs
731
C#
/* * Farseer Physics Engine: * Copyright (c) 2012 Ian Qvist * * Original source Box2D: * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * 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 ...
33.197101
121
0.458512
[ "Apache-2.0" ]
Daramkun/Misty
Daramkun.Misty.Physics.Farseer/Collision/DynamicTree.cs
34,361
C#
using System; using GraphQL.Net; using NUnit.Framework; using System.Collections.Generic; using Newtonsoft.Json.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Linq; namespace _08_inline_fragments { [TestFixture] public class InlineFragmentsExample { class Context ...
29.195489
116
0.402781
[ "MIT" ]
SellerCloudTeam/graphql-net
examples/08-inline-fragments/08-inline-fragments/InlineFragmentsExample.cs
3,885
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; using Microsoft.Entit...
52.940653
165
0.656746
[ "Apache-2.0" ]
MareevOleg/EntityFrameworkCore
src/EFCore/ChangeTracking/Internal/IStateManager.cs
17,841
C#
// ----------------------------------------------------------------------- // <copyright file="DelegateCommandFixture.cs" company="Anori Soft"> // Copyright (c) Anori Soft. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Anori.WinUI.Commands.Tes...
39.776021
116
0.592431
[ "Apache-2.0", "Unlicense" ]
anorisoft/Anori.WinUI.CommandBuilder
Tests/Anori.WinUI.Commands.Tests/DelegateCommandFixture.cs
60,380
C#
using Antlr.Runtime.Misc; using Moq; using ViennaNET.Orm.Application; using ViennaNET.Orm.Factories; using ViennaNET.Orm.Seedwork; namespace ViennaNET.Orm.Tests.Unit.DSL { internal static class Given { public static ApplicationContextBuilder ApplicationContext => new ApplicationContextBuilder(); public s...
35.923077
139
0.768737
[ "MIT" ]
Magicianred/ViennaNET
ViennaNET.Orm.Tests/Unit/DSL/Given.cs
936
C#
// SPDX-FileCopyrightText: 2009 smdn <smdn@smdn.jp> // SPDX-License-Identifier: MIT #if !SYSTEM_IO_STREAM_CLOSE using System; using System.IO; #endif namespace Smdn.IO; #if !SYSTEM_IO_STREAM_CLOSE public static class BinaryWriterExtensions { public static void Close(this BinaryWriter writer) { if (writer == n...
19.809524
54
0.740385
[ "MIT" ]
smdn/Smdn.Fundamentals
src/Smdn.Fundamental.Shim/Smdn.IO/BinaryWriterExtensions.cs
416
C#
/* MIT License Copyright (c) 2020 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, distribute, s...
37.146341
78
0.738017
[ "MIT" ]
JanArildEileng/DemoCryptography
DemoCryptography/RandomNumber/Random.cs
1,525
C#
using UnityEngine; namespace UnityEditor { public static partial class Delighting { public enum ProcessStep { None, Gather, Delight, ColorCorrection } public struct ProcessArgs { public ProcessStep fromStep; ...
18.344828
47
0.513158
[ "MIT" ]
isabella232/DeLightingTool
Assets/DeLightingTool/Editor/API/Delighting.IProcessOperation.cs
532
C#
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. namespace System.Activities.Runtime { using System.Runtime.Serialization; [DataContract] public class CompletionBookmark { private CompletionCallbackWr...
34.571429
119
0.631715
[ "MIT" ]
Ignition-Group-Open-Source-Contrib/corewf
src/CoreWf/Runtime/CompletionBookmark.cs
1,936
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("Desktop")] [assembly...
45.019608
98
0.705139
[ "MIT" ]
MattyJacques/BacklogManager
source/Desktop/Properties/AssemblyInfo.cs
2,299
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XamaFilm.ViewModels; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace XamaFilm.Views { public partial class AcknowledgeView : ContentPage { public AcknowledgeView () { Initiali...
19.333333
60
0.746305
[ "MIT" ]
asiertarancon/XamaFilm2019
XamaFilm/10. Localizacion/XamaFilm/XamaFilm/Views/AcknowledgeView.xaml.cs
408
C#
using System; using System.Linq; using System.Windows; using DynamicData.Binding; using MolecularWeightCalculator.Formula; using MolecularWeightCalculator.Sequence; using MolecularWeightCalculatorGUI.FormulaCalc; using MolecularWeightCalculatorGUI.Utilities; using ReactiveUI; using RxUnit = System.Reactive.Un...
39.798611
194
0.653638
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/Molecular-Weight-Calculator-DLL
MolecularWeightCalculatorGUI/PeptideUI/AminoAcidConverterViewModel.cs
5,733
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MVCDemoRibbon.Broker.Control.User { interface ITextCtrl1Controller : ICtrlController { MVCDemoRibbon.Broker.View.User.ITextCtrl1View TextCtrl1View { get; } } }
22
76
0.762987
[ "MIT" ]
jonasUtopian/MVCDemoRibbon
MVCDemoRibbon/Broker/Control/User/ITextCtrl1Controller.cs
310
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...
32.764045
170
0.54321
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/GetCallerIdentity.cs
2,916
C#
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace UUM.Data { public class Collection { public string Name; private List<DataObject> _objects; private Dictionary<string, DataObject> _index; public event EventHandler<D...
23.298507
62
0.50993
[ "MIT" ]
aaronstatic/unity-ui-middleware
Runtime/Data/Collection.cs
1,563
C#
using System; using System.Windows.Forms; namespace Pre_School_Managment_System { public partial class School_Records_Parent : Form { public School_Records_Parent() { InitializeComponent(); } private void OpenFile(object sender, EventArgs e) ...
35.372093
94
0.594346
[ "MIT" ]
BenNyaruz/Pre-School-Managment-System
School_Records_Parent.cs
3,044
C#
using ModernWpf.Controls; using ModernWpf.SampleApp.ControlPages; using ModernWpf.SampleApp.DataModel; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System...
31.026316
148
0.600085
[ "MIT" ]
wherewhere/ModernWpf
ModernWpf.SampleApp/NewControlsPage.xaml.cs
2,370
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FinalProject.MapPoint { class MapPoint { internal List<double> position; //좌표를 저장, 나중에 벡터 사용해서 도출 int direction;//칸마다 디렉션을 저장, 이 디렉션을 move메서드에서 사용하여 디렉션 결정 Stri...
19.68
65
0.567073
[ "MIT" ]
onsemiro0309/Unity_3DYutGame
FinalProject/MapPoint/MapPoint.cs
1,096
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
24.390909
135
0.571003
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapDCETModelBundleDownloaderComponentWrapWrap.cs
2,685
C#
using ShineEngine; /// <summary> /// 角色重连消息(generated by shine) /// </summary> public class PlayerReconnectLoginRequest:LoginRequest { /// <summary> /// 数据类型ID /// </summary> public const int dataID=GameRequestType.PlayerReconnectLogin; /// <summary> /// 角色ID /// </summary> public long playerI...
20.206061
127
0.653869
[ "Apache-2.0" ]
hw233/home3
core/client/game/src/commonGame/net/request/login/PlayerReconnectLoginRequest.cs
3,452
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.Text; using Xunit; namespace System.Globalization.Tests { /// <summary> /// contained in Data...
38.311111
130
0.578596
[ "MIT" ]
Aevitas/corefx
src/System.Globalization.Extensions/tests/IdnMapping/Data/Unicode_Win7/Unicode_Win7_IdnaTest.cs
3,450
C#
using UnityEngine; using UnityEditor; [CustomEditor(typeof(TOD_Sky))] class TOD_EditorInspector : Editor { private Rect rect = new Rect(0, 0, 300, 150); public override void OnInspectorGUI() { #if UNITY_3_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 EditorGUIUtility.L...
24.478261
98
0.64476
[ "MIT" ]
AdaZhao1211/ThingThingThing
Assets/External Assets/Time of Day/Assets/Editor/TOD_EditorInspector.cs
563
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using PlanetGen; using UnityEngine.UI; using System.Linq; using Galaxy; public class PlanetManager : MonoBehaviour { public Dropdown dropDownHeight; public Dropdown dropDownDetails; public Gradient[] gradients; private List...
36
101
0.657651
[ "BSD-2-Clause" ]
WuLangYue/Galaxy
Assets/PlanetGenerator/Demo/Scripts/PlanetManager.cs
8,210
C#
using System; using Jint.Native; namespace Jint.Runtime { /// <summary> /// http://www.ecma-international.org/ecma-262/5.1/#sec-8.9 /// </summary> public class Completion { public static string Normal = "normal"; public static string Break = "break"; public static string Co...
28.555556
98
0.582879
[ "BSD-2-Clause" ]
djkrose/jint-unity
Jint/Runtime/Completion.cs
1,287
C#
namespace BrowserInterop { public class DeviceMotionEventAcceleration { public int X { get; set; } public int Y { get; set; } public int Z { get; set; } } }
21.444444
46
0.57513
[ "MIT" ]
AppGates/BrowserInterop
src/BrowserInterop/DeviceMotionEventAcceleration.cs
195
C#
using System; namespace HEF.Security.BouncyCastle { public class CipherService : ICipherService { public CipherService(ICipherProvider provider, ICryptoEncoding encoding) { Provider = provider ?? throw new ArgumentNullException(nameof(provider)); Encoding = encoding ??...
26.181818
85
0.638889
[ "Apache-2.0" ]
HEF-Sharp/HEF.Security
src/HEF.Security.BouncyCastle/Service/Cipher/CipherService.cs
866
C#
using Xunit; namespace Jint.Tests.Ecma { public class Test_15_11_3_1 : EcmaTest { [Fact] [Trait("Category", "15.11.3.1")] public void ErrorPrototypePropertyHasTheAttributesDontdelete() { RunTest(@"TestCases/ch15/15.11/15.11.3/S15.11.3.1_A1_T1.js", false); } [...
25.157895
71
0.58682
[ "BSD-2-Clause" ]
B-Esmaili/jint
Jint.Tests.Ecma/Ecma/15.11.3.1.cs
956
C#
namespace MassTransit.RetryPolicies { using System; using System.Threading; public class IntervalRetryContext<TContext> : BaseRetryContext<TContext>, RetryContext<TContext> where TContext : class, PipeContext { readonly IntervalRetryPolicy _policy; public Inter...
33.566667
155
0.693148
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
src/MassTransit/RetryPolicies/IntervalRetryContext.cs
1,007
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BubblesMovement : MonoBehaviour { public float Speed = 0.000002f; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { ...
21
81
0.6337
[ "MIT" ]
Khadath/Boids
Assets/Scripts/BubblesMovement.cs
548
C#
using System; using System.Linq; using System.Runtime.Serialization; using DSharpPlus; using DSharpPlus.Entities; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using PacManBot.Constants; using PacManBot.Extensions; using PacManBot.Services; namespace PacManBot { /// <summary> /// Contains the run...
44.09434
135
0.663243
[ "MIT" ]
Samrux/Pac-Man-Bot
src/BotConfig.cs
4,676
C#
version https://git-lfs.github.com/spec/v1 oid sha256:f89dcffc69d1c5f6059bdc5c57d0d35b00316e138af3ec8404f97557bbdbd5b2 size 256
32
75
0.882813
[ "MIT" ]
Vakuzar/Multithreaded-Blood-Sim
Blood/Library/PackageCache/com.unity.test-framework.performance@2.0.8-preview/Runtime/Data/Project.cs
128
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
38.783784
85
0.725436
[ "Apache-2.0" ]
eCollobro/eCollabro
eCollabro.BAL/Properties/AssemblyInfo.cs
1,438
C#
using System; using System.IO; using System.Linq; using System.Text; using Newtonsoft.Json; namespace NRestful { public static class PrimitiveExtension { public static byte[] ObjectToSerializedByteArray<T>(this T obj) { var json = JsonConvert.SerializeObject(obj); if (json == null...
33.734694
73
0.387175
[ "MIT" ]
waltersoto/NRestful
NRestful/PrimitiveExtension.cs
1,655
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.555556
151
0.581461
[ "MIT" ]
Luciker/Bdtunnel
Bdt.GuiClient/Properties/Settings.Designer.cs
1,070
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...
33.918367
94
0.676895
[ "MIT" ]
valeryjacobs/remembr
Remembr/Remembr.WindowsPhone/MainPage.xaml.cs
1,664
C#
using System; using System.Collections.Generic; using Avalonia.Lottie.Model; using Avalonia.Lottie.Model.Content; namespace Avalonia.Lottie.Utils { internal static class MiscUtils { internal static void GetPathFromData(ShapeData shapeData, Path outPath) { outPath.Reset(); ...
33.192982
159
0.528013
[ "Apache-2.0" ]
PieroCastillo/Avalonia.Lottie
Avalonia.Lottie/Utils/MiscUtils.cs
3,786
C#
using System; using System.Linq; using BrightstarDB.Client; using BrightstarDB.Dto; using BrightstarDB.Server.Modules.Configuration; using Nancy; using Nancy.Bootstrapper; using Nancy.Responses; using Nancy.Responses.Negotiation; namespace BrightstarDB.Server.Modules { public static class CorsPipelinesExtension ...
39.677966
122
0.597181
[ "MIT" ]
BrightstarDB/BrightstarDB
src/core/BrightstarDB.Server.Modules/CorsPipelinesExtension.cs
2,343
C#
using UnityEngine; using UnityEditor; using System.IO; using System.Text; using System; namespace AssetsTools { /// <summary> /// 去除 C# , Java , Proto 等以 // 和 / * * /作为注释标签的文本的注释。 /// </summary> public static class AutoRemoveProtoComments { [MenuItem("Tools/Proto")] public static voi...
39.05694
136
0.325376
[ "MIT" ]
gdut-kaku/UIGameTools
UIGameTools/Assets/UnityTools/AssetsTools/Editor/LuaTools/AutoRemoveProtoCommon.cs
11,775
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Emulation { /// <summary> /// Emulates the given media for CSS media queries. /// </summary> [Command(ProtocolName.Emulation.SetEmulatedMedia)] [SupportedBy("...
26.952381
80
0.75265
[ "MIT" ]
Digitalbil/ChromeDevTools
source/ChromeDevTools/Protocol/Chrome/Emulation/SetEmulatedMediaCommand.cs
566
C#
/************************************************************************* * 文件名称 :OptType.cs * 描述说明 :操作类型 * * 创建信息 : create by liuhuisheng.xm@gmail.com on 2012-11-10 * 修订信息 : modify by (person) on (date) for (reason) * * 版权信息 : Copyright (c) 2013 厦门纵云信息科技有限公司 www.zoewin.com ********...
24
75
0.373016
[ "MIT" ]
zhupangithub/WEBERP
Code/Zephyr.Net/Zephyr.Core/Enum/OptType.cs
582
C#
namespace Stoolball.Matches { public enum TournamentTeamRole { Organiser, Confirmed } }
15.375
35
0.577236
[ "Apache-2.0" ]
stoolball-england/stoolball-org-uk
Stoolball/Matches/TournamentTeamRole.cs
125
C#
using Etch.OrchardCore.UserProfiles.GroupField.Models; using Etch.OrchardCore.UserProfiles.GroupOwnership.Models; using OrchardCore.ContentManagement; using System.Linq; using YesSql.Indexes; namespace Etch.OrchardCore.UserProfiles.GroupOwnership.Indexes { public class GroupOwnershipIndex : MapIndex { ...
33.666667
128
0.572136
[ "MIT" ]
EtchUK/Etch.OrchardCore.UserProfiles
GroupOwnership/Indexes/GroupOwnershipIndex.cs
1,416
C#
using Chaos.NaCl; using HashLib; using NSubstitute; using System; using System.Collections.Generic; using O10.Transactions.Core.Ledgers.Registry; using O10.Transactions.Core.Enums; using O10.Transactions.Core.Serializers.Signed.Registry; using O10.Core; using O10.Core.Cryptography; using O10.Core.HashCalculations; usi...
44.440559
190
0.636192
[ "Apache-2.0" ]
muaddibco/O10city
Node/Tests/O10.Node.Core.Tests/TransactionsRegistryMemPoolTests.cs
6,357
C#
using NHM.Common; using NHM.Common.Enums; namespace NHMCore.Utils { public static class Links { // TESTNET public const string VisitUrl_TESTNET = "https://test.nicehash.com"; public const string CheckStats_TESTNET = "https://test.nicehash.com/mining/stats"; public const string CheckSta...
53.060345
299
0.646304
[ "MIT" ]
5l1v3r1/NiceHashMiner
src/NHMCore/Utils/Links.cs
6,157
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Cadena; using JetBrains.Annotations; namespace StarryEyes.Anomaly.TwitterApi.Streams { public static class UserStreams { private const string EndpointUs...
44.105882
117
0.546812
[ "MIT" ]
karno/StarryEyes
StarryEyes.Anomaly/TwitterApi/Streams/UserStreams.cs
3,751
C#
namespace Platinum.Validation.Tests { /// <summary> /// Value in list support for strings. /// </summary> public class InList1 { [InList( "One Two" )] public string Value { get; set; } } public enum InListEnum { One, Two, Three, Four, ...
16.78125
45
0.489758
[ "BSD-3-Clause" ]
filipetoscano/Platinum
tests/Platinum.Validation.Tests/InListModels.cs
539
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 osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.In...
36.351515
126
0.456986
[ "MIT" ]
Etothepowerof26/osu
osu.Game/Screens/Play/PlayerSettings/PlayerSettingsGroup.cs
5,836
C#
/* * Developer: Ramtin Jokar [ Ramtinak@live.com ] [ My Telegram Account: https://t.me/ramtinak ] * * Github source: https://github.com/ramtinak/InstagramApiSharp * Nuget package: https://www.nuget.org/packages/InstagramApiSharp * * IRANIAN DEVELOPERS */ namespace WeiboSharp.Enums { public enum InstaSear...
20.15
95
0.647643
[ "MIT" ]
TimothyMakkison/WeiboSharp
WeiboSharp/Enums/InstaSearchType.cs
405
C#
// *********************************************************************** // Copyright (c) 2008-2015 Charlie Poole, Rob Prouse // // 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 r...
45.860927
161
0.54852
[ "MIT" ]
BluewireTechnologies/nunit
src/NUnitFramework/framework/Attributes/TestCaseSourceAttribute.cs
13,850
C#
// Copyright (c) Laurence J. Golding. All rights reserved. Licensed under the Apache License, Version 2.0. See the LICENSE file in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.ComponentModel.Composition.Hosting; using Sy...
35.327586
173
0.674475
[ "Apache-2.0" ]
lgolding/auto-scale
AutoScaleLanguageService/Analyzer.cs
2,051
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. namespace Microsoft.AspNetCore.Localization { /// <summary> /// Represents the feature that provides the current request's culture information. ...
40.208333
115
0.666321
[ "Apache-2.0" ]
belav/aspnetcore
src/Middleware/Localization/src/IRequestCultureFeature.cs
965
C#
using RemoteFork.Settings; namespace RemoteFork.Torrents { public class AceStreamEngine { public static string GetServer => $"http://{ProgramSettings.Settings.IpAddress}:{ProgramSettings.Settings.AceStreamPort}"; } }
27.444444
100
0.708502
[ "MIT" ]
MrDG79/RemoteFork.Utility
RemoteFork.Torrents/AceStreamEngine.cs
249
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...
35.767857
111
0.721418
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/DirectConnect/Generated/Model/DeleteDirectConnectGatewayAssociationProposalResponse.cs
2,003
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using Bicep.Core.Syntax; namespace Bicep.Core.Navigation { public static class SyntaxBaseExtensions { public static SyntaxBase? TryFindMostSpecificNodeInclusive(this SyntaxBase root, int offset, Func<SyntaxBase, bo...
37.432836
145
0.589713
[ "MIT" ]
AndrevdG/bicep
src/Bicep.Core/Navigation/SyntaxBaseExtensions.cs
2,508
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Cloudmersive { using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading...
49.80597
275
0.579263
[ "Apache-2.0" ]
Cloudmersive/Cloudmersive.APIClient.NET.Standard
Cloudmersive.APIClient.NET.Standard/Cloudmersive.APIClient.NET.Standard/CloudmersiveClient/IConvertImage.cs
3,339
C#
namespace Squish { public struct SourceBlock { public byte start; public byte end; public byte error; public SourceBlock(byte s, byte e, byte err) { start = s; end = e; error = err; } }; }
17.823529
53
0.438944
[ "MIT" ]
MaxxWyndham/LibSquishNet
LibSquishNet/SourceBlock.cs
305
C#