content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
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 w... | 42.571429 | 98 | 0.710151 | [
"Apache-2.0"
] | AsimKhan2019/Horeb-Financial-Management | Horeb.Presentation/Properties/AssemblyInfo.cs | 2,387 | C# |
namespace ClearHl7.Codes.V290
{
/// <summary>
/// HL7 Version 2 Table 0175 - Master File Identifier Code.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0175</remarks>
public enum CodeMasterFileIdentifierCode
{
/// <summary>
/// CDM - Charge description master ... | 27.944444 | 80 | 0.543141 | [
"MIT"
] | kamlesh-microsoft/clear-hl7-net | src/ClearHl7.Codes/V290/CodeMasterFileIdentifierCode.cs | 2,517 | C# |
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using RobsonROX.Util.MVC.RouteDebug;
namespace Agenda.Web
{
public class MvcApplication : HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
... | 29.409091 | 72 | 0.692427 | [
"MIT"
] | RobsonRochaBR/Cursos | ASP.NET MVC/Aula 5/Demo 1/Agenda.Web/Global.asax.cs | 649 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Mono.Cecil;
using Clang.Ast;
namespace Extrospection {
public enum Platforms
{
macOS,
iOS,
watchOS,
tvOS,
}
public static partial class Helpers {
// the original name can be lost and, if not registered (e.g. e... | 30.440816 | 128 | 0.686444 | [
"BSD-3-Clause"
] | tondat/xamarin-macios | tests/xtro-sharpie/Helpers.cs | 14,918 | C# |
//====================================================================================================================
// Copyright (c) 2012 IdeaBlade
//====================================================================================================================
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRA... | 55.916667 | 120 | 0.467213 | [
"MIT"
] | jkattestaart/AccoBooking | Common.SL/Messages/EntityChangedMessage.cs | 1,342 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.Com... | 49.888889 | 168 | 0.640831 | [
"MIT"
] | HurricanKai/roslyn | src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioProjectFactory.cs | 6,737 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using McMaster.Extensions.CommandLineUtils;
using McMaster.Extensions.CommandLineUtils.Validation;
namespace DnsPush.Core.OptionValidators
{
public class TtlRangeValidator : IOptionValidator
{
public ValidationResult GetValidationResult(Command... | 34.458333 | 128 | 0.668682 | [
"MIT"
] | x3haloed/dnspush | src/DnsPush.Core/OptionValidators/TtlRangeValidator.cs | 827 | C# |
namespace Matrix.Handlers
{
public interface IMatrixHandler
{
Matrix For(Matrix matrix);
}
}
| 14.25 | 35 | 0.640351 | [
"Unlicense"
] | interreto/www.metlinskyi.com | csharp/tasks/moneyveo/Matrix/Handlers/IMatrixHandler.cs | 116 | 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.395973 | 67 | 0.605324 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-ecs/Ecs/Model/V20140526/ResetDisksResponse.cs | 2,592 | C# |
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.Threading;
using System.Threading.Tasks;
namespace LionFire.Data.Connections
{
public interface IConnection : IHostedService
{
//ILogger Logger { set; }
//string ConnectionString { get; set; }
string C... | 30.526316 | 94 | 0.72931 | [
"MIT"
] | LionFire/Core | src/LionFire.Data.Connections/Conections/IConnection.cs | 582 | 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... | 26.175 | 109 | 0.587393 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/DevOpsGuru/Generated/AmazonDevOpsGuruConfig.cs | 2,094 | 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.Threading;
using StarkPlatform.CodeAnalysis.Stark.Extensions.ContextQuery;
using StarkPlatform.CodeAnalysis.Stark.Syntax;
namespace StarkPlatfo... | 39.136364 | 161 | 0.761905 | [
"Apache-2.0"
] | stark-lang/stark-roslyn | src/Features/Stark/Portable/Completion/KeywordRecommenders/RemoveKeywordRecommender.cs | 863 | C# |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 04.09.2021.
using System;
using System.Diagnostics;
using System.Linq.Expressions;
namespace Lcpi.EntityFrameworkCore.DataProvider.L... | 34.408602 | 121 | 0.629688 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Code/Provider/Source/Basement/EF/Root/Query/Local/Expressions/Methods/Translators/TimeOnly/ETranslator__TimeOnly__std__IsBetween.cs | 3,202 | C# |
using CSharpBinairoSolver;
using CSharpBinairoSolver.ValidityCheckers;
using NUnit.Framework;
namespace SolverTests
{
[TestFixture]
public class OnlyTwoSameNumbersCheckerTests
{
private OnlyTwoSameNumbersChecker _validator;
[SetUp]
public void Setup()
{
_valida... | 56.723404 | 125 | 0.665791 | [
"MIT"
] | Hekku2/csharp-binairo-solver | CSharpBinairoSolver/SolverTests/OnlyTwoSameNumbersCheckerTests.cs | 5,334 | C# |
using Tanks.Enemy;
using UnityEngine;
namespace Tanks.States
{
[RequireComponent(typeof(EnemyBehaviour))]
public class TankState : MonoBehaviour
{
[HideInInspector]
public EnemyBehaviour enemyBehaviour;
public virtual void Awake()
{
enemyBehaviour = ... | 19.545455 | 61 | 0.531783 | [
"MIT"
] | vijit101/BattleTankGame | Assets/Scripts/States/TankState.cs | 647 | C# |
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Linq;
using NewRelic.Agent.IntegrationTestHelpers;
using NewRelic.Agent.IntegrationTestHelpers.RemoteServiceFixtures;
using NewRelic.Testing.Assertions;
using Xunit;
using Xunit.Abstractions;
namespace NewRelic... | 33.985714 | 145 | 0.624632 | [
"Apache-2.0"
] | SergeyKanzhelev/newrelic-dotnet-agent | tests/Agent/IntegrationTests/IntegrationTests/RequestHandling/BaseTests.cs | 2,379 | C# |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1017_d1fa-b0687082")]
public void /* sys */ Method_1017_d1fa()
{
ii(0x1017_d1fa, 1); push(ecx); ... | 77.288 | 101 | 0.428838 | [
"Apache-2.0"
] | mikhail-khalizev/max | source/MikhailKhalizev.Max/source/Program/Auto/z-1017-d1fa-sys.cs | 9,661 | C# |
using System;
using UnityEngine;
public class ShakeCamera : MonoBehaviour
{
public float Magnitude = 1f;
public float Duration = 1f;
public static ShakeCamera Shake(float magnitude, float duration)
{
OrbitGameObject orbitGameObject = (OrbitGameObject)UnityEngine.Object.FindObjectOfType(typeof(OrbitG... | 26.242424 | 115 | 0.725173 | [
"MIT"
] | corefan/mobahero_src | ShakeCamera.cs | 866 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class DialogSequence : EventManager
{
[SerializeField] private bool hasOnceOnlyDialog;
[SerializeField] private bool EndsWithUI;
[SerializeField] private bool InitiateOnTrigger;
[SerializeField]... | 27.342541 | 91 | 0.584158 | [
"MIT"
] | TheRayOfSeasons/The-Adventures-of-Inday-Scripts | Dialogue/DialogSequence.cs | 4,951 | C# |
using System.Linq;
using NUnit.Framework;
using SIL.Extensions;
namespace SIL.WritingSystems.Tests
{
[TestFixture]
public class LanguageLookupTests
{
[Test]
public void SuggestLanguages_EmptyString_ReturnsNothing()
{
var lookup = new LanguageLookup();
Assert.That(lookup.SuggestLanguages("").Count(), Is.... | 39.655696 | 153 | 0.703971 | [
"MIT"
] | JamesPrabu/libpalaso | SIL.WritingSystems.Tests/LanguageLookupTests.cs | 15,687 | C# |
using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.Game.GangWu.Mgr;
using com.yxixia.utile.YxDebug;
using Sfs2X.Entities.Data;
using UnityEngine;
using YxFramwork.Common;
using YxFramwork.ConstDefine;
using YxFramwork.Framework.Core;
using YxFramwork.Manager;
namespace Assets.Scripts.Gam... | 34.399698 | 132 | 0.45736 | [
"MIT"
] | GEngine-JP/chessgame | Assets/Scripts/Game/GangWu/Main/GangWuGameManager.cs | 23,417 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScreenshotCamera : MonoBehaviour {
public Camera cam;
public RenderTexture renderTexture;
public bool isTimePaused = false;
public bool isTrackingMouse = false;
[Range(0f, 5f)]
... | 31.056911 | 115 | 0.582723 | [
"MIT"
] | iamrequest/shattered-skies | Assets/Scripts/Cameras/ScreenshotCamera.cs | 3,822 | C# |
using System;
namespace SamplePrism.Infrastructure.Cron
{
[Serializable]
public class CronEntryException : Exception
{
public CronEntryException(string message)
: base(message)
{
}
}
} | 14.642857 | 47 | 0.717073 | [
"Apache-2.0"
] | XYRYTeam/SimplePrism | SamplePrism.Infrastructure/Cron/CronEntryException.cs | 205 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.InteropServices;
using System;
internal class NullableTest1
{
private static bool BoxUnboxToNQGen<T>(T o)
{
return ((object)o) == null;
}
... | 21.449313 | 71 | 0.574765 | [
"MIT"
] | belav/runtime | src/tests/JIT/Directed/nullabletypes/Desktop/nullcomparaison.cs | 32,796 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AquaShop.Models.Aquariums.Contracts;
using AquaShop.Models.Decorations.Contracts;
using AquaShop.Models.Fish.Contracts;
using AquaShop.Utilities.Messages;
namespace AquaShop.Models.Aquariums
{
public abstract class Aquariu... | 29.425926 | 118 | 0.541536 | [
"MIT"
] | NeSh74/CSharp-OOP-June-2021 | Exam/CSharp OOP Exam - 10 April 2021/01. Structure & 02. Business Logic/AquaShop/Models/Aquariums/Aquarium.cs | 3,180 | C# |
using CacheManager.Core;
using Hangfire;
using Masuit.MyBlogs.Core.Common;
using Masuit.MyBlogs.Core.Configs;
using Masuit.MyBlogs.Core.Extensions.Firewall;
using Masuit.MyBlogs.Core.Extensions.Hangfire;
using Masuit.MyBlogs.Core.Infrastructure.Services.Interface;
using Masuit.MyBlogs.Core.Models.DTO;
using Masuit.MyB... | 36.818533 | 183 | 0.542995 | [
"MIT"
] | Muzsor/Masuit.MyBlogs | src/Masuit.MyBlogs.Core/Controllers/PassportController.cs | 9,858 | 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... | 45.128788 | 253 | 0.589055 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/CreateVpcEndpointServiceConfigurationRequestMarshaller.cs | 5,957 | C# |
namespace ThreeJs4Net.Materials
{
public interface IMorphTargets
{
bool MorphTargets { get; set; }
}
}
| 15.5 | 39 | 0.637097 | [
"MIT"
] | threejs4net/threejs4net | ThreeJs4Net/Materials/IMorphTargets.cs | 126 | C# |
namespace Azure.Data.AppConfiguration
{
public partial class ConfigurationClient
{
protected ConfigurationClient() { }
public ConfigurationClient(string connectionString) { }
public ConfigurationClient(string connectionString, Azure.Data.AppConfiguration.ConfigurationClientOptions option... | 117.978571 | 385 | 0.78949 | [
"MIT"
] | AME-Redmond/azure-sdk-for-net | sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs | 16,517 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Request the Call Me Now permissions for Pinhole digit patterns for a group defaul... | 32.016129 | 129 | 0.63728 | [
"MIT"
] | Rogn/broadworks-connector-net | BroadworksConnector/Ocip/Models/GroupOutgoingCallingPlanPinholeDigitPlanCallMeNowGetListRequest.cs | 1,985 | 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... | 46.951613 | 178 | 0.678976 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CodeArtifact/Generated/Model/AccessDeniedException.cs | 5,822 | 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... | 38.373494 | 152 | 0.621036 | [
"MIT"
] | 0xced/azure-sdk-for-net | src/SDKs/Network/Management.Network/Generated/Models/PacketCaptureStorageLocation.cs | 3,185 | C# |
using HotChocolate;
using HotChocolate.Types;
using Snowflake.Remoting.GraphQL;
using Snowflake.Support.GraphQL.FrameworkQueries.Mutations.Orchestration;
using System;
using System.Collections.Generic;
using System.Text;
namespace Snowflake.Support.GraphQL.FrameworkQueries.Subscriptions.Orchestration
{
public sea... | 56.426471 | 160 | 0.664321 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | SnowflakePowered/snowflake | src/Snowflake.Support.GraphQL.FrameworkQueries/Subscriptions/Orchestration/OrchestrationSubscriptions.cs | 3,839 | C# |
using System;
namespace ModelUpgrade.Store
{
/// <summary>
/// Data for saving
/// </summary>
public sealed class DataModel
{
public DataModel() { }
/// <summary>
/// Initializes a new instance of the <see cref="DataModel"/> class.
/// </summary>
/// <param... | 24.967742 | 84 | 0.547804 | [
"MIT"
] | davidyujia/ModelUpgrade.Store | ModelUpgrade.Store/DataModel.cs | 776 | C# |
using System;
using System.Collections;
namespace Serpentine.IISModule
{
internal interface IApplicationStorage
{
void Set<T>(string key, T value);
T Get<T>(string key);
}
//Singleton because multiple httpapplications can exist per worker process
internal class ApplicationStorage ... | 24.666667 | 78 | 0.590734 | [
"MIT"
] | gamingrobot/Serpentine | src/Serpentine.IISModule/ApplicationStorage.cs | 1,038 | C# |
namespace Microsoft.HockeyApp.Channel
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Extensibility.Implementation.Platform;
using TestFramework;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using TaskEx = Syste... | 36.853503 | 125 | 0.580712 | [
"MIT"
] | bitstadium/HockeySDK-Windows | Src/Kit.UWP.Tests/Channel/Persistence/PersistenceChannelTest.cs | 5,788 | C# |
using System;
using AM;
using AM.Json;
using AM.Runtime;
using AM.Xml;
using ManagedIrbis.Quality;
using ManagedIrbis.Quality.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.ManagedIrbis.Quality.Rules
{
[TestClass]
public class Require461Test
: RuleTest
{
... | 23.386364 | 60 | 0.616132 | [
"MIT"
] | amironov73/ManagedClient.45 | Source/UnitTests/ManagedIrbis/Quality/Rules/Require461Test.cs | 1,031 | C# |
// ReSharper disable RedundantUsingDirective
// ReSharper disable DoNotCallOverridableMethodsInConstructor
// ReSharper disable InconsistentNaming
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable PartialMethodWithSinglePart
// ReSharper disable RedundantNameQualifier
// ReSharper disable UnusedMember... | 31.815789 | 80 | 0.727047 | [
"Apache-2.0"
] | raminrahimzada/Geco | Test/Geco.Tests/Database/Model/AddressType.cs | 1,209 | C# |
using System.ComponentModel;
using System.ComponentModel.Composition;
namespace Beeffective.Presentation.Main
{
[Export(typeof(IMainView))]
public partial class MainWindow : IMainView
{
public MainWindow()
{
InitializeComponent();
}
protected override void OnCl... | 21.791667 | 60 | 0.575526 | [
"MIT"
] | PeterMilovcik/Beeffective | Beeffective.Presentation/Main/MainWindow.xaml.cs | 525 | C# |
#if (OBI_BURST && OBI_MATHEMATICS && OBI_COLLECTIONS)
using UnityEngine;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Collections;
using System.Collections;
using System.Collections.Generic;
namespace Obi
{
public class BurstSolverImpl : ISolverImpl
{
ObiSolver m_Solver;
public ObiS... | 44.191209 | 181 | 0.622345 | [
"MIT"
] | Xuzefan-Create/Unity3d-PhysicsGun | Unity3d-PhysicsGun/Assets/Obi/Scripts/Common/Backends/Burst/Solver/BurstSolverImpl.cs | 40,216 | C# |
using ProtoBuf;
namespace ETHotfix
{
public interface IMessage
{
}
public interface IRequest: IMessage
{
int RpcId { get; set; }
}
public interface IResponse : IMessage
{
int Error { get; set; }
string Message { get; set; }
int RpcId { get; set; }
}
public class ResponseMessage : IResponse
{
... | 15.777778 | 41 | 0.650235 | [
"MIT"
] | AlunWorker/ET- | Unity/Hotfix/Module/Message/IMessage.cs | 428 | C# |
namespace DFC.App.JobProfiles.HowToBecome.Data.Enums
{
public enum MessageContentType
{
JobProfile,
ApprenticeshipLink,
UniversityLink,
CollegeLink,
ApprenticeshipRequirement,
UniversityRequirement,
CollegeRequirement,
ApprenticeshipEntryRequireme... | 25 | 53 | 0.670588 | [
"MIT"
] | SkillsFundingAgency/dfc-app-howtobecome | DFC.App.JobProfiles.HowToBecome.Data/Enums/MessageContentType.cs | 427 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Commons;
namespace Charlotte.Games
{
/// <summary>
/// ゲームの状態を保持する。
/// プレイヤーのレベルとか保有アイテムといった概念が入ってくることを想定して、独立したクラスとする。
/// </summary>
public class GameStatus
{
// (テスト時など)特にフィールドを設定せずにインスタンスを生成する使い方を想定して、
... | 20.848739 | 54 | 0.608626 | [
"MIT"
] | soleil-taruto/Elsa | e20201210_YokoActTM_Demo2_old/Elsa20200001/Elsa20200001/Games/GameStatus.cs | 3,265 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | 30.842105 | 118 | 0.508532 | [
"MIT"
] | chris-m-cann/LDJam48 | Assets/_Project/Scripts/Game/Util/Var/Events/Vector2GameEventListenerBehaviour.cs | 586 | 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... | 31.98913 | 107 | 0.631668 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/GuardDuty/Generated/Model/ListThreatIntelSetsRequest.cs | 2,943 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Fluid.Values;
namespace Fluid.Filters
{
public static class ArrayFilters
{
public static FilterCollection WithArrayFilters(this FilterCollection filters)
{
filters.AddFilter("join... | 33.106977 | 141 | 0.541163 | [
"MIT"
] | CharlotteA44/fluid | Fluid/Filters/ArrayFilters.cs | 7,120 | C# |
namespace Smart.Resolver
{
using Smart.Navigation.Components;
using Smart.Resolver.Configs;
using Smart.Resolver.Scopes;
public static class ResolverConfigExtensions
{
public static ResolverConfig UsePageContextScope(this ResolverConfig config)
{
config.Bind<PageContextS... | 29.565217 | 107 | 0.673529 | [
"MIT"
] | usausa/Smart-Net-Navigation | Smart.Navigation.Resolver/Resolver/ResolverConfigExtensions.cs | 680 | C# |
// ReSharper disable All
// Expected number of suggestions: 2
using System.Collections.Generic;
using System.Threading;
using static System.Threading.Thread;
namespace CSharp50.VS2019.AsyncAwait.AwaitTaskDelayInsteadOfCallingThreadSleep
{
class TaskDelayCanBeAwaitedInsteadOfCallingThreadSleepAndCallerYieldsIAsy... | 23.666667 | 89 | 0.708249 | [
"MIT"
] | afrlan/Sharpen | tests/smoke/CSharp50.VS2019/AsyncAwait/AwaitTaskDelayInsteadOfCallingThreadSleep/TaskDelayCanBeAwaitedInsteadOfCallingThreadSleepAndCallerYieldsIAsyncEnumerable.cs | 499 | C# |
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetroFramework.Controls;
using Guna.UI.WinForms;
using Bunifu.Framework.UI;
namespace Login... | 42.843137 | 442 | 0.523265 | [
"Apache-2.0"
] | agurokeendavid/windows-form-pos | Login/Classes/InventoryMethods.cs | 6,561 | 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 | 112 | 0.695446 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/SecretsManager/Generated/Model/Internal/MarshallTransformations/RotationRulesTypeMarshaller.cs | 2,108 | C# |
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Validators;
using DirectionalPathingLayers;
using NUnit.Framework;
namespace PathfindingDirectionalLayers.Tests.Benchmark_
{
[ShortRunJ... | 33.837662 | 141 | 0.570716 | [
"MIT"
] | GrahamMueller1992/Pathfinding-DirectionalPathingLayer | Tests/Benchmark~/Benchmark_SimplePath.cs | 5,213 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace PlacesApp.Mobile.iOS;
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a different Application Delegat... | 21.571429 | 87 | 0.697572 | [
"MIT"
] | WELL1NGTON/Introducao-Xamarin.Forms-2020 | aula-07/PlacesApp/PlacesApp.Mobile.iOS/Main.cs | 455 | 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.IO;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System... | 50.105085 | 212 | 0.67262 | [
"Apache-2.0"
] | Taturevich/AspNetCore | src/Servers/IIS/IIS/test/Common.FunctionalTests/Inprocess/StartupTests.cs | 29,562 | C# |
using NuGet.Protocol.Core.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PackageManager.Services
{
public interface INuGetPackageFilter
{
NuGetPackageFilterResult IsPassed(IPackageSearchMetadata package);
... | 22.066667 | 75 | 0.749245 | [
"MIT"
] | RussKie/gitextensions.pluginmanager | src/PackageManager.NuGet/Services/INuGetPackageFilter.cs | 333 | C# |
using System;
using TrueCraft.API.Logging;
using System.IO;
namespace TrueCraft.Core.Logging
{
public class FileLogProvider : ILogProvider
{
public StreamWriter Stream { get; set; }
public LogCategory EnabledCategories { get; set; }
public FileLogProvider(StreamWriter stream, LogCateg... | 29 | 145 | 0.623342 | [
"MIT"
] | BinaryGears/TrueCraft | TrueCraft.Core/Logging/FileLogProvider.cs | 756 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
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 ... | 42.357143 | 98 | 0.706155 | [
"MIT"
] | stanac/ShutDown | ShutDown/Properties/AssemblyInfo.cs | 2,375 | C# |
#region File Description
//-----------------------------------------------------------------------------
// GameSettings.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
... | 29 | 100 | 0.444344 | [
"MIT"
] | SimonDarksideJ/XNAGameStudio | Samples/XNA-4-Racing-Game-Kit-master/RacingGameWindows1/RacingGame/RacingGame/GameSettings.cs | 13,224 | C# |
//------------------------------------
using UnityEngine;
using UnityEngine.UI;
using UnityStandardAssets.CrossPlatformInput;
using System.Collections;
using UnityEngine.EventSystems;
using UnityEngine.Events;
//------------------------------------
public class Typer : MonoBehaviour
{
//Reference to typed word
publi... | 22.990566 | 69 | 0.610997 | [
"MIT"
] | PacktPublishing/Mastering-Unity-2017-Game-Development | Chapter03/Start/FirstPersonAttack/Assets/scripts/Typer.cs | 2,439 | C# |
using System.Threading;
using System.Threading.Tasks;
namespace BeeBus
{
/// <summary>
/// Simple handler for a basic message without response.
/// </summary>
/// <typeparam name="TMessage">The type of the message to handle.</typeparam>
public interface IMessageHandler<TMessage> : IHandler<TMessag... | 40.945946 | 115 | 0.656766 | [
"MIT"
] | FrederickRies/BeeBus | src/BeeBus.Core/IMessageHandler.cs | 1,517 | 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 Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using Microsoft.AspNetCore.WebHooks.Filters;
using Microsof... | 40.4125 | 115 | 0.632539 | [
"Apache-2.0"
] | AhmadShabbir3518/WebHooks | src/Microsoft.AspNetCore.WebHooks.Receivers.GitHub/GitHubWebHookAttribute.cs | 3,233 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class ExampleArmy : MonoBehaviour {
private FormationBase _formation;
public FormationBase Formation {
get {
if (_formation == null) _formation = GetComponent<FormationBase>();
... | 30.709677 | 169 | 0.62395 | [
"MIT"
] | Dehaku/Zenthium-Heroes | Assets/Imports/Formations/Scripts/ExampleArmy.cs | 1,904 | C# |
using System;
using Orchard.AuditTrail.Helpers;
using Orchard.AuditTrail.Providers.AuditTrail;
using Orchard.AuditTrail.Services.Models;
namespace Orchard.AuditTrail.ViewModels {
public class AuditTrailEventDescriptorSettingViewModel {
public AuditTrailEventDescriptor Descriptor { get; set; }
... | 36.0625 | 80 | 0.57279 | [
"BSD-3-Clause"
] | Lombiq/Associativy | src/Orchard.Web/Modules/Orchard.AuditTrail/ViewModels/AuditTrailEventDescriptorSettingViewModel.cs | 1,154 | C# |
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using System;
using System.Threading.Tasks;
namespace BIADTemplate.Dialogs
{
//All IDialog implementations and all their member variables must be marked as serializable.
//This is because BotBuilder V3 uses binary serialization to maintain th... | 44.090909 | 103 | 0.673711 | [
"MIT"
] | JIoffe/BotExamples | CSharp/BIAD/BIADTemplate/BIADTemplate/Dialogs/EchoDialog.cs | 1,942 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityServer.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft... | 31.77381 | 106 | 0.62308 | [
"Apache-2.0"
] | NisalUdara/encode-identity | src/IdentityServer/Startup.cs | 2,669 | C# |
/*
The MIT License (MIT)
Copyright 2021 Adam Reilly, Call to Action Software LLC
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... | 42.196429 | 460 | 0.666949 | [
"MIT"
] | areilly711/CtaApi | Unity/CtaApi/Packages/com.calltoaction.ctaapi/CtaApi/Runtime/Scripts/Gameplay/ITimeOfDaySystem.cs | 2,363 | 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;
namespace Microsoft.SqlTools.ServiceLayer.Scripting.Contracts
{
/// <summary>
/// Class to represent a database object that can be scripte... | 35.336283 | 111 | 0.554721 | [
"MIT"
] | JPaja/sqltoolsservice | src/Microsoft.SqlTools.ServiceLayer/Scripting/Contracts/ScriptingObject.cs | 3,995 | C# |
using System.Runtime.Serialization;
namespace Microsoft.Xrm.Sdk.Metadata
{
/// <summary>Contains the data for an attribute that provides options.</summary>
[KnownType(typeof(EntityNameAttributeMetadata))]
[KnownType(typeof(PicklistAttributeMetadata))]
[KnownType(typeof(StateAttributeMetadata))]
[K... | 38.387097 | 144 | 0.62605 | [
"MIT"
] | develmax/Crm.Sdk.Core | Microsoft.Xrm.Sdk/Metadata/EnumAttributeMetadata.cs | 2,382 | C# |
namespace VeldridGen.Example.Engine
{
// Some of these interfaces are checked for extremely frequently and the performance cost of using attributes instead would be excessive.
#pragma warning disable CA1040 // Avoid empty interfaces
public interface IEvent { }
public interface IVerboseEvent : IEvent { }
#p... | 41.666667 | 141 | 0.776 | [
"MIT"
] | csinkers/VeldridCodeGen | Example/Engine/EventInterfaces.cs | 377 | C# |
namespace BlazorApp
{
public class Sample2
{
public int Value { get; set; }
}
public class Sample1
{
public static string Test() => "aaa";
public static int Test2() => 100;
public static int Test3 { get; set; } = 1000;
public static Sample2 Sample2 => new Sam... | 22.4 | 55 | 0.559524 | [
"MIT"
] | Codeer-Software/Selenium.Friendly.Blazor | Project/BlazorApp/BlazorApp/Sample1.cs | 338 | 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... | 42 | 383 | 0.617596 | [
"MIT"
] | AzureMentor/azure-sdk-for-net | sdk/network/Microsoft.Azure.Management.Network/src/Generated/Models/OutboundRule.cs | 6,888 | C# |
using System;
using System.Runtime.InteropServices;
using System.Numerics;
using LiteNetLib.Utils;
namespace LibreLancer
{
public class BitWriter
{
private const int GROWTH_AMOUNT = 4;
private byte[] buffer;
private int bitOffset;
public BitWriter(int initialCapacity =... | 35.292553 | 112 | 0.483949 | [
"MIT"
] | HaydnTrigg/Librelancer | src/LibreLancer/Net/Protocol/BitWriter.cs | 6,635 | C# |
// Copyright 2014 Serilog Contributors
//
// 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 agr... | 39.25 | 147 | 0.636433 | [
"Apache-2.0"
] | reedz/serilog-sinks-elasticsearch | src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticsearchSinkState.cs | 7,852 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
namespace ClientSideBlazor
{
public class Program
{
public static async Task Main(string[] args)
{
var bu... | 32.454545 | 129 | 0.710084 | [
"MIT"
] | Blazored/FormExtensions | samples/ClientSideBlazor/Program.cs | 714 | C# |
using System.ComponentModel.DataAnnotations.Schema;
namespace Pims.Dal.Entities
{
/// <summary>
/// PimsPropertyRoadType class, provides an entity for the datamodel to manage a list of property road types.
/// </summary>
public partial class PimsPropertyRoadType : ITypeEntity<string>
{
#regi... | 30.206897 | 113 | 0.593607 | [
"Apache-2.0"
] | FuriousLlama/PSP | backend/entities/PropertyRoadType.cs | 876 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace cloudscribe.Core.IdentityServer.EFCore.Entities
{
public class ClientIdPRestriction
{
public int Id { get; set; }
... | 31.846154 | 107 | 0.688406 | [
"Apache-2.0"
] | 4L4M1N/cloudscribe | src/cloudscribe.Core.IdentityServer.EFCore.Common/Entities/ClientIdPRestriction.cs | 416 | C# |
using System.IO;
namespace Unity.VisualScripting
{
[Plugin(BoltCore.ID)]
public class BoltCorePaths : PluginPaths
{
public BoltCorePaths(Plugin plugin) : base(plugin) { }
public string variableResources => Path.Combine(persistentGenerated, "Variables/Resources");
public string prop... | 40.176471 | 100 | 0.7306 | [
"MIT"
] | 2PUEG-VRIK/UnityEscapeGame | 2P-UnityEscapeGame/Library/PackageCache/com.unity.visualscripting@1.6.1/Editor/VisualScripting.Core/Plugin/BoltCorePaths.cs | 683 | 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.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
namespace WinformsControlsTest
{
p... | 34.774074 | 124 | 0.538183 | [
"MIT"
] | AndreRRR/winforms | src/System.Windows.Forms/tests/IntegrationTests/WinformsControlsTest/ListViewTest.cs | 9,391 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 43.890625 | 189 | 0.61659 | [
"MIT"
] | DiogoBarbosaSilvaSousa/apress | pro-wpf-4.5-in-csharp/Pro WPF 4.5 in C#/Chapter23/JumpListApplicationTask/Properties/Resources.Designer.cs | 2,811 | C# |
using NUnit.Framework;
using System;
using System.IO;
using ICSharpCode.SharpZipLib.GZip;
using ICSharpCode.SharpZipLib.Tar;
using ICSharpCode.SharpZipLib.Tests.TestSupport;
namespace ICSharpCode.SharpZipLib.Tests.Tar
{
/// <summary>
/// This class contains test cases for Tar archive handling.
/// </summary>
[Test... | 29.017878 | 135 | 0.690791 | [
"MIT"
] | Mefodei/UniModules | UniGame.Zip/com.unity.sharp-zip-lib/Tests/Runtime/Tar/TarTests.cs | 24,346 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace Discord.Commands
{
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = true, Inherited = true)]
public abstract class ParameterPreconditionAttribute : Attribute
{
public abstract Task<Preco... | 37.583333 | 157 | 0.800443 | [
"MIT"
] | TekMotion/Discord.Net | src/Discord.Net.Commands/Attributes/ParameterPreconditionAttribute.cs | 451 | C# |
using System;
namespace Accountant.Util;
public static class Helpers
{
public static bool DateTimeClose(DateTime lhs, DateTime rhs)
=> (lhs - rhs).Duration() < TimeSpan.FromMinutes(1);
// cf https://stackoverflow.com/questions/36845430/persistent-hashcode-for-strings
public static int... | 27.673077 | 94 | 0.477415 | [
"Apache-2.0"
] | Ottermandias/Accountant | Accountant/Util/Helpers.cs | 1,439 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lecture3
{
public class Cube
{
// 3----------2
// /| /|
// / | / | ... | 37.75641 | 76 | 0.382003 | [
"Apache-2.0"
] | M1sterPl0w/AI | CG/Lecture3 - 3D/Lecture3/Cube.cs | 2,947 | C# |
using Microsoft.ML.Data;
namespace SrCnnEntireDetection.DataStructures
{
public class PhoneCallsData
{
[LoadColumn(0)]
public string timestamp;
[LoadColumn(1)]
public double value;
}
}
| 16.571429 | 45 | 0.637931 | [
"MIT"
] | DPSYCHIAS/machinelearning-samples | samples/csharp/getting-started/AnomalyDetection_PhoneCalls/SrEntireDetection/SrEntireDetectionConsoleApp/DataStructures/PhoneCallsData.cs | 234 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 42.527027 | 173 | 0.601843 | [
"Apache-2.0"
] | Anastasia-Rybak/oop-examples | GamesLabs/2015/IT-21/Reversi/Properties/Resources.Designer.cs | 3,163 | C# |
using UnityEngine;
public class ProgressBar : Bar
{
[SerializeField] private Spawner _spawner;
private void OnEnable()
{
_spawner.EnemyCountChanged += OnSliderValueChanged;
Slider.value = 0;
}
private void OnDisable()
{
_spawner.EnemyCountChanged -= OnSliderValueChang... | 18.444444 | 59 | 0.656627 | [
"MIT"
] | wladweb/SwampAttack | Assets/Scripts/UI/ProgressBar.cs | 334 | C# |
// Copyright (c) Jon Thysell <http://jonthysell.com>
// Licensed under the MIT License.
namespace Kolohe
{
public enum GameInput : byte
{
PlayerMoveUp,
PlayerMoveUpRight,
PlayerMoveRight,
PlayerMoveDownRight,
PlayerMoveDown,
PlayerMoveDownLeft,
PlayerMov... | 20.052632 | 53 | 0.619423 | [
"MIT"
] | jonthysell/Kolohe | src/Kolohe/GameInput.cs | 383 | C# |
using System;
class Program
{
static void Main()
{
while (true)
{
string z = Console.ReadLine();
if (z == "-1")
{
break;
}
uint y = 1;
uint x = uint.Parse(z);
uint x1 ... | 30.72619 | 73 | 0.154979 | [
"MIT"
] | kaizer04/Telerik-Academy-2013-2014 | C#1/Prepare-For-Exam-Homework/testNeuronMapping/Program.cs | 2,583 | 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.709302 | 118 | 0.658961 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/DeviceFarm/Generated/Model/Internal/MarshallTransformations/ExecutionConfigurationMarshaller.cs | 2,985 | C# |
#region Using Directives
using System;
using System.Drawing;
#endregion Using Directives
namespace ScintillaNET.Configuration
{
public class MarkersConfig
{
#region Fields
private int? _alpha;
private Color _backColor;
private Color _foreColor;
private bool? _inherit;... | 16.283333 | 38 | 0.350563 | [
"Unlicense"
] | itlezy/ITLezyTools | ScintillaNET-2.6/Configuration/MarkersConfig.cs | 1,954 | C# |
namespace YC.Core.DynamicApi
{
/// <summary>
/// Specifies the dynamic webapi options for the assembly.
/// </summary>
public class AssemblyDynamicWebApiOptions
{
/// <summary>
/// Routing prefix for all APIs
/// <para></para>
/// Default value is null.
/// <... | 27.939394 | 92 | 0.523861 | [
"Apache-2.0"
] | boozzh/yc.boilerplate | src/Backstage/Module/YC.Core.DynamicApi/AssemblyDynamicWebApiOptions.cs | 924 | C# |
// Licensed under the MIT license.
namespace System
{
using System;
partial struct ArgIterator
{
private ArgIterator(IntPtr arglist)
{
throw new NotImplementedException();
}
private unsafe ArgIterator(IntPtr arglist, void* ptr)
{
throw new ... | 27.209302 | 88 | 0.603419 | [
"MIT"
] | 1Crazymoney/cs2cpp | CoreLib/Impl/ArgIterator.cs | 1,172 | C# |
using Kocsistem.RabbitMQ.Customers.Application.Interfaces;
using Kocsistem.RabbitMQ.Customers.Application.Models;
using Kocsistem.RabbitMQ.Customers.Domain.Entities;
using Kocsistem.RabbitMQ.Customers.Domain.Interfaces;
namespace Kocsistem.RabbitMQ.Customers.Application.Services
{
public class CustomerService : I... | 31.724638 | 93 | 0.587026 | [
"MIT"
] | erdemkayagentr/Microservices.Sample | Kocsistem.RabbitMQ.Customers.Application/Services/CustomerService.cs | 2,191 | C# |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Magalu.Challenge.ApplicationServices;
namespace Magalu.Challenge.Web.Api.Controllers
{
public abstract class DataController<TEntity, TGetModel, TSendModel> : ApplicationController where TEntity : cl... | 32.117647 | 118 | 0.652625 | [
"MIT"
] | ivelten/MagaluChallenge | Magalu.Challenge.Web.Api/Controllers/DataController.cs | 1,640 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hinshlabs.CommandLineParser.DemoCSharp.Commands.Demo3Command
{
public class Demo3CommandLine : CommandLineBase
{
private string m_value1;
private Value2Values m_value... | 24.025641 | 96 | 0.608324 | [
"Apache-2.0"
] | nkdAgility/CommandLineParser | Source/Hinshlabs.CommandLineParser.DemoCSharp/Commands/Demo3Command/Demo3CommandLine.cs | 939 | C# |
using _6MKT.Identity.Domain.Enums;
namespace _6MKT.Identity.Api.Models.Request
{
public class UserAddRequest
{
public string Email { get; set; }
public string Password { get; set; }
public UserEnum Type { get; set; }
}
} | 23.454545 | 44 | 0.639535 | [
"MIT"
] | mateusggeracino/6mkt | src/backend/microservices/sso/6MKT.Identity.Api/Models/Request/UserAddRequest.cs | 260 | C# |
using Mono.Cecil;
using Mono.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspekt.Bootstrap
{
/// <summary>
/// A class that defines traits about a method.
/// </summary>
internal static class MethodTra... | 30.625 | 123 | 0.601633 | [
"MIT"
] | mvpete/aspekt | Aspekt.Bootstrap/MethodTraits.cs | 1,225 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ai4u.ext {
public class AutoByStepReward : RewardFunc
{
private RLAgent agent;
private float sumOfRewards = 0.0f;
public bool ignoreX = false;
public bool ignoreY = true;
... | 30.226667 | 112 | 0.466255 | [
"MIT"
] | gilcoder/AI4U | serverside/unityversion/baseline/ext/RewardShaping/AutoByStepReward.cs | 2,269 | C# |
using System;
using NSubstitute.Community.Diagnostics.Logging;
using NSubstitute.Community.Diagnostics.Utils;
using NSubstitute.Core;
namespace NSubstitute.Community.Diagnostics.Decorators
{
internal class DiagnosticsProxyFactory : IProxyFactory
{
private readonly IProxyFactory _impl;
private r... | 38.822222 | 118 | 0.664568 | [
"MIT"
] | zvirja/NSubstitute.Community.Diagnostics | Src/NSubstitute.Community.Diagnostics/Decorators/DiagnosticsProxyFactory.cs | 1,747 | C# |
using UnityEngine;
using System.Collections.Generic;
namespace MistRidge
{
[CreateAssetMenu(menuName = "Items/Item Droplist")]
public class ItemDroplist : ScriptableObject
{
[SerializeField]
private List<ItemDrop> itemDrops;
public List<ItemDrop> ItemDrops
{
get... | 19.095238 | 55 | 0.571072 | [
"MIT"
] | hinshun/mist-ridge | Assets/Scripts/Game/Gameplay/Items/ItemDroplist.cs | 401 | C# |
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using NSec.Cryptography;
namespace NSec.Experimental.Text
{
// RFC 4648
public static class Base16
{
public static byte[] Decode(
string base16)
{
if (!TryGetDecodedLength(base16, out int ... | 26.65614 | 75 | 0.439779 | [
"MIT"
] | Bobface/DotNetLightning | src/NSec/Experimental/Text/Base16.cs | 7,597 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.