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 BusinessRules.POC.Interfaces; using BusinessRules.POC.ValidationData.Interface; using DCT.ILR.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BusinessRules.POC.LearnStartDate { public class LearnStartDate_02Rule : IRule<Mes...
34.225
132
0.704164
[ "MIT" ]
SkillsFundingAgency/DC-Alpha-ValidationService-POC
src/DCT.ValidationService.POC/BusinessRules.POC/LearnStartDate/LearnStartDate_02Rule.cs
1,371
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Microting.eFormTrashInspectionBas...
32.517483
137
0.488817
[ "MIT" ]
Gid733/eform-trashinspectionBase
Microting.eFormTrashInspectionBase/Migrations/20200402150119_AddingSuccessAndResponseMessageFromCallBack.Designer.cs
27,902
C#
/******************************************************************************* * Copyright (c) 2012 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 a...
30.452381
88
0.57154
[ "EPL-1.0" ]
OSLC/oslc4net
OSLC4Net_SDK/OSLC4Net.Core/Attribute/OslcDefaultValue.cs
1,281
C#
using System; using System.Collections.Generic; using System.IO; ///<summary> ///Loads an assembly code file and iterates over every line. ///The parser breaks each assembly command line into its underlying fields and symbols. ///</summary> namespace Assembler { class Parser { //A_COMMAND: @number or @...
26.990991
94
0.492323
[ "MIT" ]
happy-turtle/Hack-Assembler
Parser.cs
2,996
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; 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; using System.Windows.Navigati...
25.064516
96
0.71686
[ "Apache-2.0" ]
zhenghua75/DXInfo
FairiesCoolerCash/View/Report/Report5UserControl.xaml.cs
791
C#
using Hl7.Fhir.OpenAPI.Filters; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.PlatformAbstractions; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Interfaces; using Microsoft.OpenApi.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using Sys...
42.417582
161
0.540933
[ "MIT" ]
matjazbravc/HL7.FHIR.OpenAPI.Demo
src/Hl7.Fhir.OpenAPI/Extensions/ServiceExtensions.cs
3,862
C#
using System; using static System.Math; namespace PhotoSauce.MagicScaler.Interpolators { /// <summary>Provides a means to implement interpolation for image convolution operations</summary> public interface IInterpolator { /// <summary>The maximum distance from the origin for which the <see cref="GetValue" /> me...
34.745283
178
0.628564
[ "MIT" ]
carbon/PhotoSauce
src/MagicScaler/Core/Interpolators.cs
7,368
C#
using System.ComponentModel.DataAnnotations.Schema; using DOL.WHD.Section14c.Domain.Models; using DOL.WHD.Section14c.Domain.Models.Identity; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DOL.WHD.Section14c.Test.Domain.Models.Identity { [TestClass] public class RoleFeatureTests { [T...
31.558824
67
0.603914
[ "CC0-1.0" ]
18F/dol-whd-14c
DOL.WHD.Section14c.Test/Domain/Models/Identity/RoleFeatureTests.cs
1,075
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClinicArrivals.Models { public class VideoJitsi : IVideoConferenceManager { private Guid systemId; public void Initialize(Settings settings) { ...
29.032787
117
0.5607
[ "BSD-2-Clause" ]
eugenekogan-spb/ClinicArrivals
ClinicArrivals.Models/VideoJitsi.cs
1,773
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.SubCommands { using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO;...
40.680751
172
0.55326
[ "MIT" ]
Emdot/docfx
src/docfx/SubCommands/MergeCommand.cs
8,453
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> //----------------------------------------...
30.84
84
0.466926
[ "MIT" ]
groupdocs-merger/GroupDocs.Merger-for-.NET
Demos/LiveDemos/src/GroupDocs.Merger.Live.Demos.UI/DownloadFile.aspx.designer.cs
773
C#
using InstaSharper.Classes; using InstaSharper.Classes.Models; using System; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Storage; using Windows.Storage.Pickers; using Windows.UI.Popups; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media.Imaging;...
38.052632
182
0.629668
[ "MIT" ]
DevChive/Winsta
WinGoTag/View/EditProfile/EditProfile.xaml.cs
2,896
C#
using System; namespace mdlProdutosCertificadoOrigem.ComNormas { /// <summary> /// Summary description for clsProdutosCertificadoOrigemComNormas. /// </summary> public abstract class clsProdutosCertificadoOrigemComNormas : clsProdutosCertificadoOrigem { #region Atributes protected System.Drawing.Color m_clrU...
44.671679
435
0.76397
[ "MIT" ]
silvath/siscobras
mdlProdutosCertificadoOrigem/mdlProdutosCertificadoOrigem/ComNormas/clsProdutosCertificadoOrigemComNormas.cs
17,824
C#
using System; namespace NoConditionals.TemplatePattern { internal class MotionAutomat { private int currentPosition = 0; public void UpdatePosition(int increment) { // TODO 3. get rid of both following IF statements. if (increment <= 5) this.App...
25.62963
94
0.578035
[ "MIT" ]
jirkapok/Presentations
IF-Less/source/NoConditionals/TemplatePattern/MotionAutomat.cs
694
C#
using System.Net.Http.Json; using System.Text.Json; using TeleTwins.Contracts; namespace TeleTwins.Integrations.Tvs; public class TvsClient : ITvsLoginService, ITvsUserProvider { private const string LoginPath = "/realms/master/protocol/openid-connect/token"; private const string UserInfoPath = "/realms/maste...
40.85
104
0.696858
[ "MIT" ]
televizor-meta/teleapi
TeleTwins.Integrations.Tvs/TvsClient.cs
2,451
C#
using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace ControlCatalog.Pages { public class TextBlockPage : UserControl { public TextBlockPage() { this.InitializeComponent(); } private void InitializeComponent() { AvaloniaXamlLoader.Load(t...
18.105263
44
0.59593
[ "MIT" ]
0x0ade/Avalonia
samples/ControlCatalog/Pages/TextBlockPage.xaml.cs
344
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 Cake.Core.Diagnostics; using Cake.Core.IO; using Cake.Core.Tooling; using C...
37.809524
118
0.680101
[ "MIT" ]
Acidburn0zzz/cake
src/Cake.Core.Tests/Fixtures/ToolResolutionStrategyFixture.cs
1,590
C#
using Android.Support.V7.Widget; using Android.Views; namespace Steepshot.Utils { public sealed class LoaderViewHolder : RecyclerView.ViewHolder { public LoaderViewHolder(View itemView) : base(itemView) { } } }
19.153846
66
0.674699
[ "MIT" ]
Chainers/steepshot-mobile
Sources/Steepshot/Steepshot.Android/Utils/LoaderViewHolder.cs
251
C#
using GherkinSpec.TestModel; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; namespace SimpleEventBus.Testing.StepDefinitions { [Steps] public class EventSubscriptionSteps { private readonly TestEventHandler testEventHandler; private readonly FailingTest...
43.335714
283
0.641668
[ "MIT" ]
GivePenny/SimpleEventBus
SimpleEventBus.Testing/StepDefinitions/EventSubscriptionSteps.cs
6,067
C#
using Autofac; using Task_1.Areas.Admin.Models; namespace Task_1 { public class WebModule : Module { private readonly string _connectionString; private readonly string _migrationAssemblyName; public WebModule(string connectionString, string migrationAssemblyName) { ...
29.481481
79
0.65201
[ "Apache-2.0" ]
araf-15/MalihaPolitex_Assignment
Task_1/Task_1/WebModule.cs
798
C#
using System; using Microsoft.VisualStudio.Text.Tagging; using Microsoft.VisualStudio.Utilities; using Moq; using Xunit; using Vim; using Vim.Extensions; namespace Vim.UnitTest { public sealed class CountedTaggerTest : VimTestBase { private readonly MockRepository _factory; privat...
34.424242
138
0.555458
[ "Apache-2.0" ]
EAirPeter/VsVim
Test/VimCoreTest/CountedTaggerTest.cs
3,410
C#
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using System; using System.Text; using ILRuntime.Mono.Collections.Generic; using MD = ILRuntime.Mono.Cecil.Metadata; namespace ILRuntime.Mono....
22.705357
80
0.699961
[ "MIT" ]
172672672/Confused_ILRuntime
Mono.Cecil/Mono.Cecil/FunctionPointerType.cs
2,543
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 ...
22.666667
134
0.653099
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-dds/Dds/Model/V20151201/ModifyParametersRequest.cs
3,808
C#
using System.Linq; using Xunit; using static Perlang.Tests.Integration.EvalHelper; namespace Perlang.Tests.Integration.Operator { public class AdditionAssignment { // "Positive" tests, testing for supported behavior [Fact] public void addition_assignment_defined_variable() { ...
27.262712
157
0.515076
[ "MIT" ]
perlang-org/perlang
src/Perlang.Tests.Integration/Operator/AdditionAssignment.cs
3,217
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.Runtime.Serialization; namespace Microsoft.Toolkit.Uwp.Services.Twitter { /// <summary> /// De...
29.284483
71
0.565499
[ "MIT" ]
GraniteStateHacker/UWPCommunityToolkit
Microsoft.Toolkit.Uwp.Services/Services/Twitter/TwitterStreamEventType.cs
3,397
C#
using Refit; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Bgg.Sdk.Core.Plays { public class QueryParameters { public QueryParameters(string username) : this(username, null) { } ...
27.761194
86
0.547849
[ "MIT" ]
theiam79/bgg-sdk
src/Bgg.Sdk.Core/Plays/QueryParameters.cs
1,862
C#
#region copyright // ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIE...
40.025381
148
0.627521
[ "MIT" ]
wcabus/buildstuff-2020
src/Inventory.App/Configuration/ServiceLocator.cs
7,887
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
30.829268
74
0.509494
[ "MIT" ]
Microsoft/Xaml-Controls-Gallery
WinUIGallery/ControlPages/VariableSizedWrapGridPage.xaml.cs
1,266
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Rebus.Bus; namespace App { public class WorkerService : BackgroundService { private readonly ILogger<WorkerService> _logger; private readonly IBus _...
26.023256
82
0.626452
[ "Apache-2.0" ]
CarloMicieli/ModelRailwaysWebScraper
Src/App/WorkerService.cs
1,121
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.OfficeApi { ///<summary> /// DispatchInterface WebComponentWindowExt...
31.010526
199
0.697217
[ "MIT" ]
brunobola/NetOffice
Source/Office/DispatchInterfaces/WebComponentWindowExternal.cs
5,894
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
39.97619
128
0.70399
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/ads/googleads/v7/googleads-csharp/Google.Ads.GoogleAds.V7.Services.StandaloneSnippets/AccountLinkServiceClient.CreateAccountLinkAsyncSnippet.g.cs
1,679
C#
/* Copyright (C) Olivier Nizet https://github.com/onizet/html2openxml - All Rights Reserved * * This source is subject to the Microsoft Permissive License. * Please see the License.txt file for more information. * All other rights reserved. * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRA...
34.562771
209
0.653432
[ "MIT" ]
microting/html2openxml
src/Html2OpenXml/HtmlEnumerator.cs
7,986
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("CS...
39.108108
84
0.752592
[ "MIT" ]
aiampogi/csla.net-with-dependency-injection-sample
CSLAWithDependencyInjection.WCFPortal/Properties/AssemblyInfo.cs
1,450
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GeneralEntityExtensions.cs" company=""> // // </copyright> // <summary> // The general entity extensions. // </summary> // ---------------------------------------------------...
33.965517
138
0.550931
[ "Apache-2.0" ]
PowerMogli/Rabbit.Db
src/RabbitDB/Entity/GeneralEntityExtensions.cs
2,957
C#
using System; namespace bfng.Lexing { public class Lexer { public const int DefaultBufferWidth = 80; public const int DefaultBufferHeight = 25; public const char DefaultCharacter = ' '; public Lexer(int bufferWidth = DefaultBufferWidth, int bufferHeight = DefaultBufferHeight) ...
28.16
98
0.513494
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
pvdstel/bfng
src/bfng/Lexing/Lexer.cs
1,410
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; using SecureWebApp.Services; namespace SecureWebApp.Services { public static class EmailSenderExtensions { public static Task SendEmailConfirmationAsync(this IEmailSender em...
36.24
121
0.698675
[ "MIT" ]
wagnerhsu/packt-CSharp-7-and-NET-Designing-Modern-Cross-platform-Applications
Module 2/Chapter08/SecureWebApp/Extensions/EmailSenderExtensions.cs
906
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using TOutput = System.SByte; namespace Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler { /// <summary> /...
31.296296
83
0.64497
[ "MIT" ]
Gitspathe/MonoGame
MonoGame.Framework.Content.Pipeline/Serialization/Compiler/SByteWriter.cs
845
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/InteractionContext.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Inter...
37.1875
145
0.747899
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/InteractionContext/INTERACTION_STATE.cs
597
C#
using Infrastructure.Flux.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aurochs.Desktop.ActionMessages { public class WakeUpApplicationMessage : ActionMessage { } }
18.928571
57
0.781132
[ "MIT" ]
joy1192/Aurochs
source/Aurochs/Aurochs.Desktop/ActionMessages/WakeUpApplicationMessage.cs
267
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Gamekit3D { [RequireComponent(typeof(Collider))] public class DeathVolume : MonoBehaviour { public new AudioSource audio; void OnTriggerEnter(Collider other) { var pc = other.GetC...
25
72
0.52
[ "MIT" ]
AlmaCeax/DataAnalysisD2
Assets/3DGamekitLite/Scripts/Game/DamageSystem/DeathVolume.cs
977
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> //----------------------------------------...
34.721519
84
0.534451
[ "MIT" ]
DeveloperUniversity/CS-ASP-068
Lesson-68/BootstrapExample/Default.aspx.designer.cs
2,745
C#
using UnityEngine; using System.Collections; using System.Linq; using System.Collections.Generic; public class CharacterSelector : MonoBehaviour { private Transform[] _characters; private Transform _selectedCharacter; void Start () { _characters = Enumerable.Range(0, this.transform.childCount...
23.082192
119
0.600593
[ "Apache-2.0" ]
mgrman/Usage-of-Inverse-Kinematics-for-3D-Models-Manipulation
src/Assets/Scripts/Input/CharacterSelector.cs
1,687
C#
using Microsoft.Z3; using Symbolica.Expression; namespace Symbolica.Computation.Values.Symbolics { internal sealed class SignExtend : BitVector { private readonly IValue _value; public SignExtend(Bits size, IValue value) : base(size) { _value = value; }...
23.181818
95
0.619608
[ "MIT" ]
SymbolicaDev/Symbolica
src/Computation/Values/Symbolics/SignExtend.cs
512
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...
34.214114
205
0.7019
[ "Apache-2.0" ]
Guillerbr/StockSharp
Algo/MessageConverterHelper.cs
71,393
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
26.183333
78
0.479949
[ "MIT" ]
Imato/squidex
src/Squidex.Infrastructure/Commands/CommandContext.cs
1,574
C#
// SampSharp.Mockery // Copyright 2016 Tim Potze // // 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 applica...
29.9
75
0.698997
[ "Apache-2.0" ]
ikkentim/SampSharp-mockery
src/SampSharp.Mockery/ParameterTypeAttribute.cs
899
C#
using System; namespace Cassandra.NET.Attributes { public class CassandraIgnoreAttribute : Attribute { } }
13.444444
53
0.710744
[ "Apache-2.0" ]
Sourcico/Cassandra.NET
Attributes/CassandraIgnoreAttribute.cs
123
C#
using UnityEngine; namespace Jagapippi.UnityAsReadOnly { public interface IReadOnlyMeshCollider { bool convex { get; } MeshColliderCookingOptions cookingOptions { get; } IReadOnlyMesh sharedMesh { get; } } public abstract class ReadOnlyMeshCollider<T> : ReadOnlyCollider<T>, IR...
28.093023
140
0.678808
[ "MIT" ]
su10/Unity-AsReadOnly
Assets/Jagapippi/UnityAsReadOnly/UnityEngine/ReadOnlyMeshCollider.cs
1,210
C#
using System.Collections; using System.Collections.Generic; public class pt_req_mountain_flames_add_buff_c116 : st.net.NetBase.Pt { public pt_req_mountain_flames_add_buff_c116() { Id = 0xC116; } public override st.net.NetBase.Pt createNew() { return new pt_req_mountain_flames_add_buff_c116(); } public int i...
21.870968
71
0.743363
[ "BSD-3-Clause" ]
cheng219/tianyu
Assets/Protocol/pt_req_mountain_flames_add_buff_c116.cs
678
C#
/* Copyright 2021 Enjin Pte. Ltd. * * 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 applicable law or agreed to...
30.93617
96
0.645117
[ "Apache-2.0" ]
VisionGameOrg/enjin-csharp-sdk
EnjinCSharpSDK/Schemas/PlayerSchema/Mutation/MeltAsset.cs
1,454
C#
using System.CodeDom; using System.IO; using CSharpE.Samples.Core; using Microsoft.CSharp; using static System.CodeDom.MemberAttributes; namespace CSharpE.Samples.CodeDOM { static class Program { static void Main() { var ns = new CodeNamespace(); ns.Imports.Add(new Code...
34.746032
83
0.498858
[ "MIT" ]
svick/CSharpE
doc/thesis/samples/CodeDOM/Program.cs
2,191
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace CodesGenerationJSON { class FileReader : IFileReader { object IFileReader.generateJsonFromFileRead(Db2CodeStyle style) { throw new NotImplementedException(); } public voi...
38.225166
134
0.494283
[ "MIT" ]
SieShow/Windows-Forms
CodesGenerationJSON/CodesGenerationJSON/FileReader.cs
5,774
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UnityEngine.SceneManagement; using KanKikuchi.AudioManager; using UnityEngine.UI; /// <summary> /// 釣りゲーム中のManager /// </summary> public class FishingSceneManager : MonoBehaviour { private E_FishingScen...
36.187302
193
0.621019
[ "MIT" ]
Papyrustaro/UnityFishingGame
Assets/Scripts/FishingSceneManager.cs
12,473
C#
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/) // // 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.apa...
46.704348
439
0.590951
[ "Apache-2.0" ]
AhmerRaza/Google-Dotnet-Samples
Samples/DCM/DFA Reporting And Trafficking API/v2.8/AccountsSample.cs
10,744
C#
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using CosmosDBConnection.Constants; using CosmosDBConnection.CosmosDB; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; namespace CosmosDBConnection.F...
31.111111
164
0.740714
[ "MIT" ]
luizinhovao/CosmosDBConnection
CosmosDBConnection/Functions/GetDocuments.cs
1,400
C#
namespace FunctionMonkey.Abstractions.Builders.Model { public abstract class AbstractOutputBinding { private readonly string _commandResultTypeItemName; private readonly AbstractFunctionDefinition _associatedFunctionDefinition; protected AbstractOutputBinding(AbstractFu...
36.666667
137
0.746753
[ "MIT" ]
lars-erik/FunctionMonkey
Source/FunctionMonkey.Abstractions/Builders/Model/AbstractOutputBinding.cs
770
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Master40.DB.Data.Context; using Master40.DB.ReportingModel; namespace Master40.DB.Data.Initializer { public static class ResultDBInitializerBasic { //[ThreadStatic] private static int _simulationI...
59.217391
185
0.647761
[ "Apache-2.0" ]
MaxWeickert/ng-erp-4.0
Master40.DB/Data/Initializer/ResultDBInitializerBasic.cs
5,450
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("04....
38.162162
84
0.75
[ "MIT" ]
MustafaAmish/Homeworks
ExercisesDataTypesAndVariables/04.VariableInHexFormat/Properties/AssemblyInfo.cs
1,415
C#
#region License // Copyright (c) 2015 1010Tires.com // // 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, mod...
37.790698
112
0.723077
[ "MIT" ]
idenys/MXTires.Microdata
CreativeWorks/SocialMediaPosting.cs
1,627
C#
using System; using FluentAssertions; using Light.Serialization.Json.ObjectMetadata; using Light.Serialization.Json.PrimitiveTypeFormatters; using Light.Serialization.Json.SerializationRules; namespace Light.Serialization.Json.Tests { public abstract class BaseJsonSerializerTest { private readonly Jso...
30.909091
122
0.648162
[ "MIT" ]
feO2x/Light.Serialization
Code/Light.Serialization.Json.Tests/BaseJsonSerializerTest.cs
2,722
C#
// // Copyright 2014 Deveel // // 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 applicable ...
24.115854
95
0.658913
[ "Apache-2.0" ]
kaktusan/plsqlparser
src/PlSqlParser/Deveel.Data.Sql/ObjectName.cs
3,957
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.Reflection; #if UNITY_EDITOR using UnityEditor; #endif public class ComponentSimulator : MonoBehaviour { public Component comp = null; // List<compTyoe, List<propName, <propType, <canWrite, propValue>>>> ...
38.394309
241
0.531075
[ "MIT" ]
hunterzonewu/BcProfiler
Assets/BcProfiler/profile/ComponentSimulator.cs
9,485
C#
using System; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using SpotifyApi.NetCore.Tests.Mocks; namespace SpotifyApi.NetCore.Tests { [TestClass] public class UserAccountsServiceTests { const string UserHash = "E11AC28538A7C0A827A726DD9B30B710FC1FCAFF...
34.506667
108
0.613215
[ "MIT" ]
aevansme/SpotifyApi.NetCore
src/SpotifyApi.NetCore.Tests/Authorization/UserAccountsServiceTests.cs
2,588
C#
using OnlineStore.DataProvider.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OnlineStore.DataProvider.Interfaces { public interface IAdministratorRepository : IRepository<Administrator> { } }
21.142857
74
0.797297
[ "MIT" ]
RedDiamond69/Carnivorous-plants-store
Source/OnlineStore.DataProvider/Interfaces/IAdministratorRepository.cs
298
C#
using System.Linq; using API.DTOs; using API.Entities; using API.Extensions; using AutoMapper; namespace API.Helpers { public class AutoMapperProfiles : Profile { public AutoMapperProfiles() { CreateMap<AppUser, MemberDto>() .ForMember(dest => dest.PhotoUrl, opt => o...
27.761905
104
0.581475
[ "MIT" ]
makampos/datingApp
API/Helpers/AutoMapperProfiles.cs
583
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("15...
37.864865
84
0.744468
[ "MIT" ]
Producenta/TelerikAcademy
C# 2/DomStrings/15.ReplaceHTML/Properties/AssemblyInfo.cs
1,404
C#
using System; namespace Cesil { /// <summary> /// Attach this attribute to a method, field, or property to expose it as serializable and configure it's "ShouldSerialize", /// "Formatter", "Order", and "EmitDefaultValue" behaviors. /// /// If attached to a property, the propery must have a getter ...
39.712963
393
0.581371
[ "MIT" ]
kevin-montrose/Cesil
Cesil/Interface/Attributes/SerializerMemberAttribute.cs
8,580
C#
using QSP.AviationTools; using QSP.TOPerfCalculation.Boeing.PerfData; using System; using static QSP.MathTools.Angles; namespace QSP.TOPerfCalculation.Boeing { public class TOCalculator { private IndividualPerfTable table; private TOParameters para; private SlopeCorrTable slopeTable; ...
32.503817
97
0.530531
[ "MIT" ]
JetStream96/QSimPlanner
src/QSP/TOPerfCalculation/Boeing/TOCalculator.cs
8,518
C#
namespace Cake.Npm.Tests.AddUser { using System; using Cake.Npm.AddUser; using Shouldly; using Xunit; public sealed class NpmAddUserSettingsExtensionsTests { public sealed class TheFromRegistryMethod { [Fact] public void Should_Throw_If_Settings_Are_Null...
27.820513
99
0.466359
[ "MIT" ]
augustoproiete-forks/cake-contrib--Cake.Npm
src/Cake.Npm.Tests/AddUser/NpmAddUserSettingsExtensionsTests.cs
5,427
C#
using Android.App; using Android.OS; using Android.Support.V7.App; using Android.Util; using Android.Widget; namespace com.xamarin.sample.splashscreen { [Activity(Label = "@string/ApplicationName")] public class MainActivity : AppCompatActivity { static readonly string TAG = "X:" + typeof (MainActi...
30.454545
105
0.543284
[ "Apache-2.0" ]
Dmitiry-hub/monodroid-samples
SplashScreen/SplashActivity/MainActivity.cs
1,005
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Threading; using System.Windows.Forms; using SIL.PlatformUtilities; //This cam from a comment by Henrik Stromberg, posted on at http://www.codeproject.com/M...
23.489362
159
0.71256
[ "MIT" ]
ArmorBearer/libpalaso
SIL.Windows.Forms/ImageToolbox/OpenFileDialogWithViews.cs
6,626
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using mymgm.Data; using mymgm.Models; namespace mymgm.Controllers { public class MoviesController : Control...
28.328947
111
0.49791
[ "MIT" ]
elijahlofgren/mymgm
Controllers/MoviesController.cs
4,306
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Spark.TfsExplorer.Models.Build { public interface IGameEngineContentProvider : ICompilableComponentContentProvider { IGameContentProvider GetGame(string gameName); IEnu...
25.733333
85
0.784974
[ "MIT" ]
jackobo/jackobs-code
DeveloperTool/src/TfsExplorer/Models/Build/ContentProviders/Interfaces/IGameEngineContentProvider.cs
388
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Tile { public int X { get; set; } public int Y { get; set; } public int Value { get; set; } public Tile(int x, int y, int value) { X = x; Y = y; Value = value; } }
16.210526
40
0.564935
[ "MIT" ]
akuiria/Games
Game2048/Assets/Scripts/Model/Tile.cs
310
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using JetBrains.Annotations; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; namespace RoslynAnalyzersDotNet.DiagnosticAnalyzers { [DiagnosticAnalyzer(LanguageNames.CSharp)] [UsedImplicitly] int...
39.790323
119
0.706121
[ "MIT" ]
taspeotis/RoslynAnalyzersDotNet
RoslynAnalyzersDotNet/DiagnosticAnalyzers/ValidateAntiForgeryTokenAttributeDiagnosticAnalyzer.cs
2,467
C#
using HttpWebTesting.CoreObjects; using HttpWebTesting.Enums; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace HttpWebTesting.Rules { /// <summary> /// A base class for creating custom...
26.064516
83
0.649752
[ "MIT" ]
testandattack/HttpWebTester
HttpWebTesting/Rules/PostRequestRule.cs
810
C#
namespace Atc.Rest.Tests.Extensions; public class FormFileExtensionsTests { [Fact] public async Task GetBytes() { // Arrange var expected = Encoding.UTF8.GetBytes("HelloWorld"); await using var stream = new MemoryStream(expected); var file = new FormFile(stream, 0, stream.Le...
25.35
80
0.613412
[ "MIT" ]
atc-net/atc-common
test/Atc.Rest.Tests/Extensions/FormFileExtensionsTests.cs
507
C#
using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace MLibTest.Demos.ViewModels.AD { internal interface IDocumentViewModel { /// <summary> /// Gets the current filename of the file being managed in this document viewmodel. /// </summary> string FileName { get; } /// <summ...
29.492537
102
0.66751
[ "MIT" ]
Tech305/AvalonDock
source/MLibTest/MLibTest/Demos/ViewModels/AD/IDocumentViewModel.cs
1,978
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class player : MonoBehaviour { public Light luzinha; public Image BarraLife; public Transform camTransform; public GameObject exp; v...
24.565657
125
0.543997
[ "MIT" ]
FelipeDevMelo/Unity-Games
No need For Drink(Scripts)/player.cs
2,434
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Pocketboy.Common; using TMPro; namespace Pocketboy.JointGame { public class JointGameManager : Singleton<JointGameManager> { [Header("Game Settings")] [SerializeField] private fl...
28.39172
159
0.553449
[ "BSD-2-Clause" ]
Roboy/ss18_PocketBoy
Assets/Topics/Experimental-InProgress/JointGame/Scripts/JointGameManager.cs
8,917
C#
using System; using System.Threading.Tasks; namespace SignalR.Transports { public interface ITrackingConnection { string ConnectionId { get; } bool IsAlive { get; } bool IsTimedOut { get; } TimeSpan DisconnectThreshold { get; } Task Disconnect(); void Timeout();...
21.866667
45
0.618902
[ "MIT" ]
cburgdorf/SignalR
SignalR/Transports/ITrackingConnection.cs
330
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RecensysCoreBLL.CriteriaEngine.Evaluators { public interface ICriteriaEngine { void Evaluate(int stageId); Task EvaluateAsync(int stageId); } }
18.8
51
0.734043
[ "MIT" ]
cholewa1992/ReviewIT-backend
ReviewIT-Backend/RecensysCoreBLL/CriteriaEngine/ICriteriaEngine.cs
284
C#
using System; using System.Collections.Generic; using Coypu.Robustness; namespace Coypu.Tests.TestDoubles { public class SpyRobustWrapper : RobustWrapper { public IList<Action> DeferredActions = new List<Action>(); public IList<object> DeferredFunctions = new List<object>(); public ILi...
32.507246
107
0.60856
[ "MIT", "Unlicense" ]
citizenmatt/coypu
src/Coypu.Tests/TestDoubles/SpyRobustWrapper.cs
2,245
C#
/* -------------------------------------------------------------------------- * Copyrights * * Portions created by or assigned to Cursive Systems, Inc. are * Copyright (c) 2002-2008 Cursive Systems, Inc. All Rights Reserved. Contact * information for Cursive Systems, Inc. is available at * http://www.cursive.ne...
35.918478
97
0.524134
[ "MIT" ]
JustOxlamon/TwoRatChat
JabberNet-2.1.0.710/jabber/protocol/x/Event.cs
6,609
C#
namespace Assets.ProceduralLevelGenerator.Scripts.Data.Rooms { using System; using UnityEngine; /// <summary> /// Currently not used. /// </summary> public class RoomTemplate : ScriptableObject { public GameObject Tilemap; } }
18.307692
61
0.731092
[ "MIT" ]
MatousK/EncounterGenerationRPG
Assets/ProceduralLevelGenerator/Scripts/Data/Rooms/RoomTemplate.cs
240
C#
/* * Copyright 2021 nurhafiz@hotmail.sg * * 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 applicable law or agree...
37.824096
183
0.540485
[ "Apache-2.0" ]
toimik/WarcProtocol
src/Toimik.WarcProtocol/WarcParser.cs
15,699
C#
// // Copyright 2017 Valve Corporation. All rights reserved. Subject to the following license: // https://valvesoftware.github.io/steam-audio/license.html // using System; using UnityEngine; namespace SteamAudio { // // SimulationSettingsValue // The underlying values for a specific set of si...
32.674242
114
0.599351
[ "CC0-1.0" ]
JonaMazu/KoboldKare
Assets/SteamAudio/SimulationSettingsValue.cs
4,315
C#
// Copyright (c) Microsoft. 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.Linq; using System.Text; using System.Threading; namespace Microsoft.Internal { internal struct ReadL...
23.030303
101
0.593421
[ "MIT" ]
690486439/corefx
src/System.Composition.Convention/src/Microsoft/Internal/Lock.Reader.cs
762
C#
// ------------------------------------------------------------------------------ // Copyright 版权所有。 // 项目名:Galaxy.Common // 文件名:SingletonDictionary.cs // 创建标识:梁桐铭 2017-03-20 11:13 // 创建描述:我们是OurGalaxy团队 // // 修改标识: // 修改描述: // ------------------------------------------------------------------------------ #reg...
26.7
91
0.513109
[ "Apache-2.0" ]
fenjjd/YoYo
src/YoYo.Common/Data/SingletonDictionary.cs
1,260
C#
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public partial class hclObjectSpaceMeshMeshDeformOperator : hclOperator { public override uint Signature { get => 2143572305; } public enum ScaleNormalBehaviour { SCALE_NOR...
35.843137
78
0.640591
[ "MIT" ]
SyllabusGames/DSMapStudio
HKX2/Autogen/hclObjectSpaceMeshMeshDeformOperator.cs
1,828
C#
using System; using Server.Items; namespace Server.Items { public class Luckblade : Leafblade { public override int LabelNumber{ get{ return 1073522; } } // luckblade [Constructable] public Luckblade() { Attributes.Luck = 20; } public Luckblade( Serial serial ) : base( serial ) { } public ove...
16.942857
72
0.679595
[ "BSD-2-Clause" ]
greeduomacro/vivre-uo
Scripts/Items/Weapons/Swords/Luckblade.cs
593
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.230769
184
0.615672
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/AuthorizationPolicyDefaultUserRoleOverridesCollectionPage.cs
1,608
C#
using Microsoft.EntityFrameworkCore; namespace ProjectApi.Models { public class ProjectContext : DbContext { public ProjectContext(DbContextOptions<ProjectContext> options) : base(options) { } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { opt...
26.611111
102
0.718163
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
eveld/berry-dotnet
ProjectApi/Models/ProjectContext.cs
479
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(2490)] [Attributes(9)] public class DcsVhThPrdi13 { [ElementsCount(30)] [ElementType("uint8")] ...
19.380952
42
0.594595
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/DcsVhThPrdi13I.cs
407
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ActiveCollabTracSync.Entities.ActiveCollab { /// <summary> /// /// </summary> public class Project { /// <summary>Gets or sets the identifier.</summary> //...
29.846154
74
0.558419
[ "MIT" ]
sfarbota/activecollab-trac-sync
ActiveCollabTracSync/Entities/ActiveCollab/Project.cs
1,166
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace unesi { class Program { static void Main(string[] args) { int broj = -1; ArrayList arr = new ArrayList(); ...
24.578313
88
0.368627
[ "MIT" ]
staman1702/AlgebraCSharp2019-1
ConsoleApp1/unesi/Program.cs
2,044
C#
using System; using System.Text; using System.Threading; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace MyLib { public class RabbitMqJobExecuter { private IModel _channel; private IConnection _connection; public void SubscribeToQueueUntilCancelled() { ...
33.283019
134
0.566893
[ "MIT" ]
mishrsud/CSharpApplicationSamples
TplWithRabbitMQ/src/MyLib/RabbitMqJobExecuter.cs
1,764
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ n...
36.888889
152
0.546185
[ "Apache-2.0" ]
ZheMoon/Design_patterns
AbstractFactory/calc/calc/calc/Properties/Settings.Designer.cs
1,104
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.ServiceModel.Channels { // This interface needs to be implemented by requests that need to save // the RequestReplyCorrelatorKey into the requ...
35.642857
101
0.747495
[ "MIT" ]
777Eternal777/wcf
src/System.Private.ServiceModel/src/System/ServiceModel/Channels/ICorrelatorKey.cs
499
C#
using System; namespace Bridge.ChartJS { [ObjectLiteral] [External] public class ChartOptions { /// <summary> /// Resizes the chart canvas when its container does. /// </summary> public bool Responsive = true; /// <summary> /// Duration in milliseconds i...
30.617284
142
0.559677
[ "MIT" ]
Zaid-Ajaj/Bridge.ChartJS
Bridge.ChartJS/ChartOptions.cs
2,482
C#