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;
using System.Collections.Generic;
namespace DotVVM.Framework.Binding.Expressions
{
public enum ErrorHandlingMode
{
ReturnNull,
ThrowException,
ReturnException
}
public interface IBinding
{
object? GetProperty(Type type, ErrorHandlingMode errorMode = Er... | 23.6 | 103 | 0.681356 | [
"Apache-2.0"
] | riganti/dotvvm | src/Framework/Framework/Binding/Expressions/IBinding.cs | 592 | C# |
using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace WalletWasabi.Blockchain.Transactions
{
public class TransactionBroadcastEntry
{
public Transaction Transaction { get; }
public uint256 TransactionId { get; }
public string NodeRemoteSocketEndpoi... | 18.232877 | 92 | 0.694966 | [
"MIT"
] | BCSNProject/WalletWasabi | WalletWasabi/Blockchain/Transactions/TransactionBroadcastEntry.cs | 1,331 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.MobileBlazorBindings.Core;
using System;
using XF = Xamarin.Forms;
namespace Microsoft.MobileBlazorBindings.Elements.Handlers
{
public class MenuItemHandler : BaseMenuItemHandler
{
public MenuItemHandler(Native... | 41.431373 | 162 | 0.613346 | [
"MIT"
] | Kahbazi/MobileBlazorBindings | src/Microsoft.MobileBlazorBindings/Elements/Handlers/MenuItemHandler.cs | 2,115 | C# |
using Grpc.Net.Client;
using gTimedTask.RegistrationCenter;
using Quartz;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace gTimedTask.Core
{
/// <summary>
/// 远程调用执行器任务
/// </summary>
//[Quartz.DisallowConcurrentExecution... | 32.630435 | 168 | 0.62958 | [
"MIT"
] | ShyUncle/gTimedTask | src/gTimedTask.Core/TaskDispatchCenter/RemoteCallJob.cs | 1,533 | C# |
using System;
using Xamarin.Forms;
namespace AppControl
{
class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication
{
/// <summary>
/// Called when the application is launched.
/// If base.OnCreated() is not called, the event 'Created' will not be emitted.
/// </summ... | 27.03125 | 87 | 0.553757 | [
"Apache-2.0"
] | AchoWang/Tizen-CSharp-Samples | Wearable/AppControl/AppControl/AppControl.cs | 865 | C# |
// <copyright file="WorkInfo.cs" company="SoftChains">
// Copyright 2016 Dan Gershony
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUDING ... | 35.277778 | 102 | 0.705512 | [
"MIT"
] | CoinVault/Bitcoin.cs | src/Blockchain.Protocol.Bitcoin/Client/Types/WorkInfo.cs | 637 | C# |
//-----------------------------------------------------------------------
// <copyright file="MatchesAll.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//--... | 28.5 | 114 | 0.520468 | [
"Apache-2.0"
] | to11mtm/akka.net | src/core/Akka.TestKit/EventFilter/Internal/StringMatcher/MatchesAll.cs | 1,028 | C# |
namespace ToDo.Web.ViewModels.Manage
{
public class TwoFactorAuthenticationViewModel
{
public bool HasAuthenticator { get; set; }
public int RecoveryCodesLeft { get; set; }
public bool Is2faEnabled { get; set; }
}
}
| 22.6 | 46 | 0.738938 | [
"MIT"
] | WouterDeKort/Utopia | src/ToDo.Web/ViewModels/Manage/TwoFactorAuthenticationViewModel.cs | 228 | C# |
using HotChocolate.Language;
using HotChocolate.Properties;
namespace HotChocolate.Types.Introspection
{
[Introspection]
#pragma warning disable IDE1006 // Naming Styles
internal sealed class __InputValue
#pragma warning restore IDE1006 // Naming Styles
: ObjectType<IInputField>
{
protected... | 29.461538 | 67 | 0.522846 | [
"MIT"
] | Coldplayer1995/GraphQLTest | src/Core/Types/Types/Introspection/__InputValue.cs | 1,532 | C# |
using UnityEngine;
using UnityEditor;
namespace uCPf
{
[CustomPropertyDrawer(typeof(HSV))]
public sealed class HSVEditor : PropertyDrawer
{
public override void OnGUI (Rect position, SerializedProperty property, GUIContent label)
{
EditorGUI.BeginProperty (position, label, property);
float h = property.... | 27.875 | 99 | 0.699552 | [
"Apache-2.0"
] | IdahoLabCuttingBoard/PowDDeR | Assets/uGUIColorPicker-free/Core/Editor/HSVEditor.cs | 1,117 | 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.md file in the project root for more information.
using Moq;
namespace Microsoft.VisualStudio.Shell.Interop
{
internal static class IVsSolutionBuildManager3F... | 38.8 | 201 | 0.669072 | [
"MIT"
] | Ashishpatel2321/project-system | tests/Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests/Mocks/IVsSolutionBuildManager3Factory.cs | 948 | C# |
namespace TomsToolbox.Wpf.Converters
{
using System;
using System.Globalization;
using System.Linq;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using JetBrains.Annotations;
using TomsToolbox.Desktop;
/// <summary>
/// Applies the... | 56.248408 | 693 | 0.647832 | [
"MIT"
] | tom-englert/TomsToolbox1 | TomsToolbox.Wpf/Converters/BinaryOperationConverter.cs | 8,833 | C# |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace ActorDb.Api
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefau... | 21.526316 | 61 | 0.577017 | [
"Apache-2.0"
] | danielcrenna/actordb-net | actordb-api/Program.cs | 411 | C# |
using UnityEngine;
using System.Collections;
public class AudioRandomSound : MonoBehaviour {
public float MinWait;
public float MaxWait;
public string Sound;
// Use this for initialization
IEnumerator Start () {
while (true)
{
yield return new WaitForSeconds(Random.Range(Min... | 22.611111 | 76 | 0.663391 | [
"MIT"
] | hagish/tektix | taktik/Assets/Scripts/Audio/AudioRandomSound.cs | 409 | 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... | 35.019608 | 116 | 0.640817 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/Pinpoint/Generated/Model/Internal/MarshallTransformations/CustomMessageActivityMarshaller.cs | 3,572 | C# |
//------------------------------------------------------------------------------
// Microsoft Avalon
// Copyright (c) Microsoft Corporation, All Rights Reserved
//
// File: WmpBitmapDecoder.cs
//
//------------------------------------------------------------------------------
using System;
using System.IO;
using Sy... | 32.880342 | 184 | 0.600728 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/wpf/src/Core/CSharp/System/Windows/Media/Imaging/WmpBitmapDecoder.cs | 3,847 | C# |
namespace Switchvox.Admins
{
class GetList
{
}
}
| 8.857143 | 27 | 0.580645 | [
"MIT"
] | bfranklin825/SwitchvoxAPI | SwitchvoxAPI/_Unimplemented/Admins/GetList.cs | 64 | C# |
// <copyright file="WeatherForecastController.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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:/... | 34.26 | 107 | 0.655575 | [
"Apache-2.0"
] | hananiel/opentelemetry-dotnet-contrib | examples/eventcounters/Examples.EventCounters.AspNetCore/Controllers/WeatherForecastController.cs | 1,715 | C# |
using Hl7.Fhir.Model;
using Hl7.Fhir.Specification.Source;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Hl7.Fhir.Specification.Tests
{
class TimingSource : IConformanceSource
{
IConformanceSource _source;
TimeSpan _duration = TimeSpan.Zero;
publi... | 43.890625 | 180 | 0.660733 | [
"BSD-3-Clause"
] | CASPA-Care/caspa-fhir-net-api | src/Hl7.Fhir.Specification.Tests/Snapshot/TimingSource.cs | 2,811 | C# |
namespace SevenZip.Compression.RangeCoder
{
internal struct BitTreeEncoder
{
private readonly BitEncoder[] _models;
private readonly int _numBitLevels;
public BitTreeEncoder(int numBitLevels)
{
_numBitLevels = numBitLevels;
_models = new BitEncoder[1 << n... | 29.909677 | 93 | 0.433132 | [
"Unlicense"
] | AndreySeVeN/ReplayBot | LZMA/RangeCoderBitTree.cs | 4,636 | C# |
using MyEmployees.Entities;
using System;
using System.Data.SQLite;
using System.Reflection;
using System.Windows.Forms;
namespace ExportDataLibrary
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sende... | 30.45283 | 89 | 0.494424 | [
"MIT"
] | Bhaskers-Blu-Org2/Windows-AppConsult-Samples-DesktopBridge | Blog-AdvancedInstaller/MyEmployees/Form1.cs | 1,616 | C# |
using OpenQA.Selenium;
using WordpressAutomationTests.Core.Infrastructure;
using WordpressAutomationTests.Sections.Administration.AdminBar;
using WordpressAutomationTests.Sections.Administration.AdminMenu;
namespace WordpressAutomationTests.Pages.Administration.Shared
{
public abstract class AdminPageBase<TElemen... | 36.73913 | 95 | 0.731361 | [
"MIT"
] | clickstormio/automation-test-example | WordpressAutomationTests/Pages/Administration/Shared/AdminPageBase.cs | 847 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Schema;
using Microsoft.Exte... | 51.97931 | 307 | 0.649816 | [
"MIT"
] | HainanZhao/botbuilder-dotnet | libraries/Microsoft.Bot.Connector/Authentication/ParameterizedBotFrameworkAuthentication.cs | 22,613 | C# |
#pragma checksum "C:\Users\veget\source\repos\FilmCatalog\FilmCatalog\Views\Movie\NotFound.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a21af20fa90f4bf76ec0ef21211f40d04d4aeed8"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof... | 50.135593 | 182 | 0.760649 | [
"Unlicense"
] | evilvegetarian/FilmCatalog | FilmCatalog/obj/Debug/net5.0/Razor/Views/Movie/NotFound.cshtml.g.cs | 2,979 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Common.TestSupport.Config... | 51.990338 | 141 | 0.702565 | [
"Apache-2.0"
] | EnterpriseLibrary/validation-application-block | source/Tests/Validation.Tests/Configuration/ValidatorDataFixture.cs | 10,762 | C# |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | 49.046875 | 322 | 0.664861 | [
"MIT"
] | Altair7610/SharpDX | Source/SharpDX.Direct3D11/ResourceView.cs | 3,141 | C# |
using System.Net.Http;
using CoreLayer.Citrix.Adc.NitroClient.Interfaces;
namespace CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.System.SystemFile
{
public class SystemFileAddRequestConfiguration : NitroRequestConfiguration
{
public override HttpMethod Method => HttpMethod.Post;
public ov... | 38.055556 | 90 | 0.741606 | [
"Apache-2.0"
] | CoreLayer/CoreLayer.Citrix.Adc.Nitro | src/CoreLayer.Citrix.Adc.NitroClient/Api/Configuration/System/SystemFile/SystemFileAddRequestConfiguration.cs | 685 | C# |
using UnityEngine;
using TMPro;
namespace Voxels.Game {
public sealed class PlayerNamePresenter : MonoBehaviour {
public TMP_Text NameLabel = null;
public PlayerMovement Owner = null;
void Start() {
NameLabel.text = Owner.PlayerName;
}
}
}
| 17.733333 | 58 | 0.703008 | [
"MIT"
] | TxN/VoxelLand | Assets/Scripts/ClientOnly/Game/PlayerNamePresenter.cs | 266 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsof... | 39.369919 | 189 | 0.603304 | [
"MIT"
] | ScriptBox99/omnisharp-roslyn | src/OmniSharp.Roslyn.CSharp/Workers/Diagnostics/CSharpDiagnosticWorker.cs | 9,685 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.ResourceManager.DigitalTwins.Models
{
/// <summary> A list of DigitalTwinsInstance Endpoints with a next link. </summary>
p... | 39.257143 | 123 | 0.700873 | [
"MIT"
] | Expensya/azure-sdk-for-net | sdk/digitaltwins/Azure.ResourceManager.DigitalTwins/src/Generated/Models/DigitalTwinsEndpointResourceListResult.cs | 1,374 | C# |
// <copyright file="Stability.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2010 Math.NET
//
// Permission is hereby granted, free of charge, to an... | 37.093567 | 115 | 0.541384 | [
"MIT"
] | MattHeffron/mathnet-numerics | src/Numerics/SpecialFunctions/Stability.cs | 6,343 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace truckersmplauncher
{
public partial class Settings : Form
{
Dictionary<string, string> ETS2Config = new Dictionary<string, string>();
Dictionary<string, string> ATSConfig = new Dictionary<string, str... | 45.360544 | 255 | 0.595381 | [
"MIT"
] | TheUnknownKiller/ETS2MPLauncher | Source/Settings.cs | 6,670 | 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.Linq;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.En... | 39.105769 | 127 | 0.619621 | [
"Apache-2.0"
] | CharlieRoseMarie/EntityFrameworkCore | test/EFCore.SqlServer.Tests/SqlServerOptionsExtensionTest.cs | 4,067 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bar = TradingClient.Data.Contracts.Bar;
using TradingClient.Data.Contracts;
using TradingClient.DataProvider.TradingService;
namespace TradingClient.DataProvider
{
internal class HistoryReques... | 21.216216 | 53 | 0.638217 | [
"MPL-2.0"
] | NominalNimbus/ClientNimbus | TradingClient.DataProvider/HistoryRequest.cs | 787 | C# |
using UnityEngine;
using System.Collections;
using UnityEditor;
public class SpriteProcessor : AssetPostprocessor
{
void OnPostprocessTexture(Texture2D texture)
{
string lowerCaseAssetPath = assetPath.ToLower();
bool isInSpritesDirectory = true;
if (isInSpritesDirectory)
{
... | 26.809524 | 77 | 0.685613 | [
"Apache-2.0"
] | taylordigital13/ARjs_Unity | Editor/SpriteProcessor.cs | 565 | C# |
using System.Collections.Generic;
namespace Jerrycurl.Mvc.Test.Project.Accessors
{
public class MiscAccessor : Accessor
{
public IList<int> TemplatedQuery() => this.Query<int>();
public IList<int> PartialedQuery() => this.Query<int>();
}
}
| 24.545455 | 64 | 0.67037 | [
"MIT"
] | rhodosaur/jerrycurl | test/unit/src/Mvc/Jerrycurl.Mvc.Test/Project/Accessors/MiscAccessor.cs | 272 | C# |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using Microsoft.Office.Interop.PowerPoint;
using Microsoft.Office.Core;
using SoftUniConverterCommon;
using static SoftUniConverterCommon.ConverterUtils;
using Shape = Microsoft.Office.Interop.PowerPoint.Shape;
public class SoftUniPow... | 42.966102 | 137 | 0.593832 | [
"MIT"
] | SoftUni/SoftUni-Course-Converter | SoftUni-PowerPoint-Converter/SoftUniPowerPointConverter.cs | 27,992 | C# |
using System.ComponentModel.DataAnnotations;
using Abp.Authorization.Users;
namespace DFF.Freedom.Models.TokenAuth
{
/// <summary>
/// 外部认证 模型
/// </summary>
public class ExternalAuthenticateModel
{
/// <summary>
/// 认证提供字符串
/// </summary>
[Required]
[MaxLen... | 23.25 | 54 | 0.563172 | [
"MIT"
] | dafeifei0218/DFF.Freedom | aspnet-core/src/DFF.Freedom.Web.Core/Models/TokenAuth/ExternalAuthenticateModel.cs | 806 | C# |
// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"
namespace HtmlRenderer.P... | 33.038095 | 151 | 0.597146 | [
"MIT"
] | gpcaretti/libraries | Kongrevsky.Libraries/Infrastructure/HtmlRenderer/HtmlRenderer.PdfSharp/Adapters/GraphicsAdapter.cs | 6,938 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Windows.Controls
{
public delegate void TextChangedEventHandler(object sender, TextChangedEventArgs e);
public class TextChangedEventArgs : RoutedEventArgs
{
public TextChangedEventAr... | 26.83871 | 89 | 0.592548 | [
"Apache-2.0"
] | bridgedotnet/Granular | Granular.Presentation/Controls/TextChangedEventArgs.cs | 834 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Tasks
{
public class D
{
static void Main(string[] args)
{
var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false };
Console.SetOu... | 31.458333 | 138 | 0.405298 | [
"CC0-1.0"
] | AconCavy/AtCoder.Tasks.CS | ABC/ABC023/Tasks/D.cs | 2,265 | C# |
using Newtonsoft.Json;
namespace ZendeskApi_v2.Models.Tickets
{
public class Options
{
[JsonProperty("timezone")]
public string Timezone { get; set; }
[JsonProperty("hour_offset")]
public string HourOffset { get; set; }
}
} | 19.285714 | 46 | 0.625926 | [
"Apache-2.0"
] | APErebus/ZendeskApi_v2 | src/ZendeskApi_v2/Models/Tickets/Options.cs | 270 | C# |
using System.Reflection;
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("AWSSDK.AppMesh")]
[assembly: AssemblyDescr... | 49.9375 | 325 | 0.749687 | [
"Apache-2.0"
] | alefranz/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/AppMesh/Properties/AssemblyInfo.cs | 1,598 | C# |
using System.Web.Http;
using System.Web.Mvc;
namespace MAASoft.HomeBanking.Areas.HelpPage
{
public class HelpPageAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "HelpPage";
}
}
public overr... | 26.038462 | 94 | 0.567208 | [
"MIT"
] | Roque27/MutualApi | MAASoft.HomeBanking/Areas/HelpPage/HelpPageAreaRegistration.cs | 677 | 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.Text;
using Microsoft.CodeAnalysis;
namespace Microso... | 31.129032 | 102 | 0.501036 | [
"MIT"
] | 06needhamt/roslyn | src/VisualStudio/Core/Impl/CodeModel/MetadataNameHelpers.cs | 3,862 | 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.639175 | 179 | 0.669302 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/AWSMarketplaceCommerceAnalytics/Generated/Model/MarketplaceCommerceAnalyticsException.cs | 4,427 | C# |
using System;
namespace _03.ShoppingSpree
{
public class Product
{
private string name;
private decimal cost;
public Product(string name, decimal cost)
{
this.Name = name;
this.Cost = cost;
}
public string Name
{
get... | 18.962963 | 76 | 0.37793 | [
"MIT"
] | LyubomirRashkov/Software-University-SoftUni | C#OOP/ProjectsAndSolutionsFromLecturesAndExercises/02ex-Encapsulation/03.ShoppingSpree/Product.cs | 1,026 | 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;
using System.Collections.Generic;
using System.Globalization;
using System.X... | 34.388535 | 274 | 0.523538 | [
"MIT"
] | OceanYan/corefx | src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/CodeGenerator.cs | 64,788 | C# |
#nullable enable
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.Extensions.Logging;
using OmniSharp.DotNetTest.Models;
using OmniSharp.Eventing;
using OmniSharp.Mef;
using OmniSharp.Services;
namespace OmniSharp.DotNetTest.Se... | 36.891892 | 199 | 0.654945 | [
"MIT"
] | int3rrupt/omnisharp-roslyn | src/OmniSharp.DotNetTest/Services/DebugTestsInContextService.cs | 2,730 | C# |
using System;
namespace UnityEngine
{
[AttributeUsage (AttributeTargets.Struct)]
internal class IL2CPPStructAlignmentAttribute : Attribute
{
//
// Fields
//
public int Align;
//
// Constructors
//
public IL2CPPStructAlignmentAttribute ()
{
this.Align = 1;
}
}
} | 13.857143 | 58 | 0.676976 | [
"MIT"
] | NathanWarden/unity-godot-compat | UnityEngine/Attributes/IL2CPPStructAlignmentAttribute.cs | 293 | C# |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections;
using Syste... | 31.286822 | 163 | 0.594896 | [
"MIT"
] | Alan-love/xenko | sources/engine/Stride.Shaders/Compiler/CompilerParameters.cs | 4,036 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Xamarin.Forms;
using ItsEarth.Models;
using ItsEarth.Services;
namespace ItsEarth.ViewModels
{
public class BaseViewModel : INotifyPropertyChanged
{
public IDataStore<Item> DataS... | 27.526316 | 110 | 0.603569 | [
"MIT"
] | ItsEarth/ItsEarth | ItsEarth/ItsEarth/ItsEarth/ViewModels/BaseViewModel.cs | 1,571 | C# |
using System;
using System.IO;
namespace Knapcode.ExplorePackages
{
public class TempStreamResult : IDisposable
{
private readonly Stream _stream;
private readonly byte[] _hash;
private TempStreamResult(TempStreamResultType type, Stream stream, byte[] hash)
{
Type ... | 32.953488 | 165 | 0.642202 | [
"MIT"
] | loic-sharma/ExplorePackages | src/ExplorePackages.Logic/TempStream/TempStreamResult.cs | 1,419 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DamageTake : MonoBehaviour
{
Health health;
Armor armor;
[Range(0,1)]
float armorAbsobtionRatio;
// Start is called before the first frame update
private void Start() {
armor = GetCo... | 27.44 | 74 | 0.593294 | [
"MIT"
] | Ivan-Vankov/GameDevCourse | Kamen/Coding Practice/Assets/Scripts/DamageTake.cs | 688 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 31.863636 | 116 | 0.671184 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet-intl-en | TencentCloud/Gaap/V20180529/Models/ModifyGroupDomainConfigResponse.cs | 1,402 | C# |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System;
using WinRT.SourceGenerator;
namespace Generator
{
public partial class WinRTComponentScanner
{... | 47.138249 | 173 | 0.595366 | [
"MIT"
] | QPC-database/CsWinRT | src/Authoring/WinRT.SourceGenerator/DiagnosticUtils.cs | 20,460 | C# |
namespace Lykke.Job.TradeDataAggregator.Models
{
public class ErrorResponse
{
public string ErrorMessage { get; set; }
}
} | 20.428571 | 48 | 0.671329 | [
"MIT"
] | LykkeCity/Lykke.Job.TradeDataAggregator | src/Lykke.Job.TradeDataAggregator/Models/ErrorResponse.cs | 145 | C# |
using System;
using System.Collections;
using UltimaOnline;
using UltimaOnline.Commands;
namespace UltimaOnline.Items
{
public class StealableArtifactsSpawner : Item
{
public class StealableEntry
{
private Map m_Map;
private Point3D m_Location;
p... | 48.397619 | 151 | 0.561913 | [
"MIT"
] | netcode-gamer/game.ultimaonline.io | UltimaOnline.Data/Items/Decoration Artifacts/StealableArtifactsSpawner.cs | 20,327 | C# |
using System.Threading.Tasks;
namespace Automaton.Runner.Core.Services
{
public interface IHubService
{
Task Connect(JsonWebToken token, string runnerName);
Task Disconnect();
Task Ping(string runnerName);
}
}
| 20.666667 | 60 | 0.681452 | [
"Apache-2.0"
] | lulzzz/automaton-studio | Automaton.Runner.Core/Services/Interface/IHubService.cs | 250 | C# |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | 39.903226 | 147 | 0.679871 | [
"BSD-2-Clause"
] | GaborApatiNagy/xenadmin | XenAdminTests/WizardTests/NewPolicyWizardTest.cs | 2,476 | C# |
// Copyright (c) Justin Fouts All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Xunit;
namespace Clearly.Crud.Test.Unit;
public class FormatTokenizedStringTests
{
[Fact]
public void ItParses_SingleToken()
{
// Arrange
va... | 26.993902 | 132 | 0.586176 | [
"MIT"
] | JFouts/clearly | test/Clearly.Crud.Test.Unit/FormatTokenizedStringTests.cs | 4,427 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.SceneManagement;
public class leaderboardBehavior : MonoBehaviour
{
public Transform entryContainer;
public Transform entryTemplate;
public TextMeshProUGUI posText;
publi... | 32.033784 | 121 | 0.601139 | [
"MIT"
] | kan2k/1885. | Assets/BehaviorScript/leaderboardBehavior.cs | 4,743 | C# |
/* PftConditionalLiteral.cs
*/
#region Using directives
using System;
#endregion
namespace ManagedClient.Pft.Ast
{
/// <summary>
/// Условный литерал.
/// </summary>
[Serializable]
public sealed class PftConditionalLiteral
: PftAst
{
#region Properties
#endregion
... | 17.015385 | 59 | 0.513562 | [
"MIT"
] | amironov73/ManagedClient.3 | ManagedClient/Pft/Ast/PftConditionalLiteral.cs | 1,123 | C# |
using UnityEngine;
using System.Collections;
public class FaceDirection : AbstractBehavior {
// Use this for initialization
void Start() {
}
// Update is called once per frame
void Update() {
var right = inputState.GetButtonValue(inputButtons[0]);
var left = inputState.GetButton... | 24.44 | 78 | 0.613748 | [
"Apache-2.0"
] | emilmannfeldt/Thor-Game | Asatruth/Assets/Scripts/Behaviors/FaceDirection.cs | 613 | 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... | 29.767677 | 104 | 0.56074 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Braket/Generated/Model/CreateQuantumTaskRequest.cs | 5,894 | C# |
using System.Web;
using System.Web.Optimization;
namespace GraphWebhooks
{
public class BundleConfig
{
// For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new Sc... | 38.84375 | 112 | 0.574417 | [
"MIT"
] | OfficeDev/TrainingContent-Archive | O3653/O3653-19 WebHooks/Completed Projects/Exercise 2/GraphWebhooks/GraphWebhooks/App_Start/BundleConfig.cs | 1,245 | C# |
/************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://opensource.org/licenses/MS-PL
*********************************... | 34.702128 | 124 | 0.605763 | [
"MIT"
] | Tech305/AvalonDock | source/Components/AvalonDock/MathHelper.cs | 1,633 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using MarginTrading.MarketMaker.Contracts.Enums;
using MarginTrading.MarketMaker.Contracts.Messages;
using MarginTrading.MarketMaker.Enums;
namespace MarginTrading.MarketMaker.Services.... | 34.031056 | 159 | 0.519073 | [
"MIT"
] | LykkeCity/MT.MarketMaker | src/MarginTrading.MarketMaker/Services/SpotPrices/Implementation/SpotOrderCommandsGeneratorService.cs | 5,481 | C# |
#region Copyright
// Copyright 2017 Gigya Inc. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | 43.848684 | 141 | 0.689122 | [
"Apache-2.0"
] | myarichuk/microdot | Gigya.Microdot.Ninject/MicrodotModule.cs | 6,667 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
namespace Steelto... | 25.277778 | 78 | 0.695604 | [
"Apache-2.0"
] | Hawxy/Steeltoe | src/Common/src/Abstractions/Contexts/IApplicationContext.cs | 912 | C# |
using Microsoft.Xna.Framework;
using Requiem.Scenes;
namespace Requiem.Entities.Enemy.AI
{
public sealed class GuardBehavior : Behavior
{
public GuardBehavior(FiniteStateMachine fsm, string next = null)
: base(fsm, next)
{ }
public override void Start()
{
... | 18.043478 | 72 | 0.571084 | [
"MIT"
] | DanCuccia/Requiem_Engine | Requiem/Requiem/Entities/Enemy/AI/GuardBehavior.cs | 417 | C# |
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace ExtendIOSConcepts
{
/// <summary>
/// An empty page that can be used on its own or navigated to... | 26.696203 | 107 | 0.697961 | [
"MIT"
] | cghersi/UWPExamples | ExtendIOSConcepts/ExtendIOSConcepts/MainPage.xaml.cs | 2,111 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Nop.Data;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Vendors;
using Nop.Plugin.Api.DataStructures;
using Nop.Plugin.Api.Infrastructure;
using Nop.Services.Stores;
using System.Threading.Tasks;
namespace Nop.Plugin.Api.Servic... | 41.019108 | 181 | 0.579814 | [
"MIT"
] | DataplaceDevs/api-for-nopcommerce | Nop.Plugin.Api/Services/ProductApiService.cs | 6,442 | 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("02... | 37.918919 | 84 | 0.741981 | [
"MIT"
] | ginkogrudev/Softuni-Work | CSharp BasicsMore Exercises/02. Vapor Store/Properties/AssemblyInfo.cs | 1,406 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
using Microsoft.Xna.Framework.GamerServices;
n... | 23.5 | 61 | 0.72147 | [
"MIT"
] | maegico/Monster-Swap | MonsterSwap/Character.cs | 519 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mono.Options;
namespace LOGGING
{
class Program
{
public static string todefpath;
public static string loggingBIN;
public static bool help;
public static ... | 39.228261 | 149 | 0.527016 | [
"MIT"
] | Jetgame0906/Toolson | Toolson/LOGGING/Program.cs | 3,611 | C# |
// Copyright 2015-2017 Directive Games Limited - All Rights Reserved
using UnrealBuildTool;
using System.IO;
public class DriftGooglePlay : ModuleRules
{
public DriftGooglePlay(ReadOnlyTargetRules TargetRules) : base(TargetRules)
{
bEnableShadowVariableWarnings = false;
PCHUsage = PCHUsageMode.NoSharedPCHs;
... | 19.804348 | 76 | 0.580681 | [
"MIT"
] | dgnorth/drift-ue4-plugin | Plugins/Drift/DriftGooglePlay/Source/DriftGooglePlay.Build.cs | 911 | C# |
using Assistant.Net.Abstractions;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Assistant.Net.Core.Tests.Internal
{
public class TypeEncoderTests
{
... | 35.545455 | 121 | 0.58994 | [
"Apache-2.0"
] | iotbusters/assistant.net | tests/Core.Tests/Internal/TypeEncoderTests.cs | 2,348 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using FluentAssertions;
using Xunit;
namespace ShoppingCart.Tests
{
public class DiscountTest
{
[Fact]
public void Ctor_ShouldCreate()
{
var arrange = new Discount(DiscountType.Amount, 10.5);
ar... | 35.081967 | 104 | 0.618224 | [
"MIT"
] | Ferhatcandas/ShoppingCart | test/ShoppingCart.Tests/DiscountTest.cs | 2,142 | C# |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Threading.Tasks;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Nest;
using Tests.Framework.... | 32.59375 | 100 | 0.73442 | [
"Apache-2.0"
] | Brightspace/elasticsearch-net | tests/Tests/Modules/Scripting/ExecutePainlessScript/ExecutePainlessScriptUrlTests.cs | 1,045 | C# |
namespace ContractHttpTests
{
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using ContractHttp;
/// <summary>
/// Defines a test service with retry.
/// </summary>
[Retry(RetryCount = 3, HttpStatusCodesToRetry = new[] { HttpStatusCode.BadGatewa... | 33.341463 | 110 | 0.588881 | [
"MIT"
] | PCOL/ContractHttp | tests/ContractHttpTests/Resources/ITestServiceWithRetry.cs | 1,367 | C# |
//
// Community Forums
// Copyright (c) 2013-2021
// by DNN Community
//
// 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 ... | 26.631579 | 116 | 0.693676 | [
"MIT"
] | DNNCommunity/Dnn.CommunityForums | components/Controls/ControlsBase.cs | 3,544 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... | 36.459016 | 147 | 0.695144 | [
"MIT"
] | tuita520/JEngine | UnityProject/Assets/Dependencies/ILRuntime/Generated/libx_Assets_Binding.cs | 2,224 | C# |
// Copyright (c) Microsoft. All rights reserved.
using System;
namespace Microsoft.Azure.IoTSolutions.IoTStreamAnalytics.StreamingAgent.Runtime
{
public interface IStreamingConfig
{
string ConsumerGroup { get; }
int ReceiveBatchSize { get; }
TimeSpan ReceiveTimeout { get; }
}
... | 26.75 | 80 | 0.671028 | [
"MIT"
] | VSChina/pcs-telemetry-agent | StreamingAgent/Runtime/StreamingConfig.cs | 537 | C# |
using Cosmos.Conversions.Common;
using Cosmos.Conversions.Common.Core;
using Cosmos.Exceptions;
namespace Cosmos.Conversions.Determiners;
/// <summary>
/// Internal core conversion helper from string to long
/// </summary>
public static class StringLongDeterminer
{
// ReSharper disable once InconsistentNaming
... | 34.386792 | 109 | 0.583539 | [
"Apache-2.0"
] | cosmos-loops/Cosmos.Standard | src/Cosmos.Extensions.Conversions/Cosmos/Conversions/Determiners/StringLongDeterminer.cs | 3,645 | 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.Data;
using System.Data.Common;
using Microsoft.Data.Sqlite.Properties;
using static SQLitePCL.raw;
namespace Microsoft.Data... | 35.705128 | 119 | 0.577379 | [
"Apache-2.0"
] | Pankraty/EntityFrameworkCore | src/Microsoft.Data.Sqlite.Core/SqliteTransaction.cs | 5,570 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyCBA.Core.ViewModels
{
public class AddNewUserViewModel
{
[Required, MinLength(6)]
[RegularExpression(@"^[ a-zA-Z0-9]+$", ... | 38.765957 | 129 | 0.639407 | [
"MIT"
] | Sulzmido/Core-Banking-Application-NHibernate | MyCBA.Core/ViewModels/UserViewModels/AddNewUserViewModel.cs | 1,824 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 55.213483 | 331 | 0.640497 | [
"Apache-2.0"
] | hevaldez07/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/CognitoIdentityProvider/Basic/New-CGIPUserAdmin-Cmdlet.cs | 24,574 | 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>
//----------------------------------------... | 33.983607 | 84 | 0.522431 | [
"MIT"
] | khiem2/quanlyhocsinh | cms_form/Web_CMS/Formosa/Client/Modules/Official/OfficialListGroup.ascx.designer.cs | 2,075 | C# |
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Loggi... | 39.975 | 115 | 0.619762 | [
"MIT"
] | SzymonWelter/Authentication-and-Authorization | Backend/Startup.cs | 4,797 | C# |
using FluentAssertions;
using RoadCaptain.App.Runner.Views;
using RoadCaptain.GameStates;
using Serilog.Events;
using Serilog.Sinks.InMemory.Assertions;
using Xunit;
namespace RoadCaptain.App.Runner.Tests.Unit.Engine
{
public class WhenWaitingForConnectionStateIsReceived : EngineTest
{
[Fact]
... | 26.958333 | 154 | 0.553323 | [
"Artistic-2.0"
] | sandermvanvliet/RoadCaptain | test/RoadCaptain.App.Runner.Tests.Unit/Engine/WhenWaitingForConnectionStateIsReceived.cs | 2,590 | C# |
using System.Threading.Tasks;
using Application.Profiles;
using Microsoft.AspNetCore.Mvc;
namespace API.Controllers
{
public class ProfilesController : BaseController
{
[HttpGet("{username}")]
public async Task<ActionResult<Profile>> Get(string username)
{
return await Media... | 25.8 | 79 | 0.677003 | [
"MIT"
] | NissanGoldberg/Reactivities | API/Controllers/ProfilesController.cs | 387 | 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.
/******************************************************************************
* This file is auto-generated from ... | 38.684478 | 185 | 0.580543 | [
"MIT"
] | 06needhamt/runtime | src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Sse2/ShiftRightLogical.Int32.1.cs | 15,203 | C# |
namespace RobloxFiles.DataTypes
{
/// <summary>
/// Content is a type used by most url-based XML properties.
/// Here, it only exists as a wrapper class for strings.
/// </summary>
public class Content
{
public readonly string Url;
public override string ToString() => Url;
... | 22.585366 | 64 | 0.533477 | [
"MIT"
] | CloneTrooper1019/Roblox-File-Format | DataTypes/Content.cs | 928 | C# |
using MihaZupan;
namespace ITMOSchedule.Telegram
{
public static class TelegramSettings
{
public static string Key { get; }
public static HttpToSocks5Proxy Proxy { get; }
}
} | 21.3 | 55 | 0.643192 | [
"MIT"
] | riiji/ITMOScheduleBot | ITMOSchedule/Telegram/TelegramSettings.cs | 215 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(ICarController))]
[RequireComponent(typeof(Rigidbody))]
public class WheelVehicleVr : MonoBehaviour
{
[Header("Inputs")]
// If isPlayer is false inputs are ignored
[SerializeField] bool i... | 32.271574 | 136 | 0.599449 | [
"MIT"
] | robinpipirs/VrMicroRacer | Assets/Scripts/WheelVehicleVr.cs | 12,717 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace InControl
{
public class InControlManager : MonoBehaviour
{
private static InControlManager manager;
public bool logDebugInfo = false;
public bool invertYAxis = ... | 19.959732 | 99 | 0.611298 | [
"Unlicense"
] | Ehwhat/BetaArcadeGame | Assets/Plugins/InControl-1.4.4/Assets/InControl/Source/Components/InControlManager.cs | 2,974 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ClientCommandSystem : MonoBehaviour
{
[SerializeField]
NetworkManager_Client client;
private void Start()
{
client.OnTcpMessageReceived += ReceivedServerCommand;
}
void ReceivedServerCommand(b... | 20.758621 | 63 | 0.684385 | [
"Apache-2.0"
] | SCL-1-Carpe/Spatial-History | Assets/Networking/ExampleScripts/ClientCommandSystem.cs | 604 | C# |
using AspectCore.DynamicProxy;
using AspectCore.Injector;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace JadeFramework.Cache
{
public class CachingInterceptor : AbstractInterceptor
{
[FromContainer]... | 33.678082 | 133 | 0.576978 | [
"Apache-2.0"
] | wangmaosheng/JadeFramework | JadeFramework.Cache/CachingInterceptor.cs | 4,919 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Zen.App.Data.Log;
using Zen.Base.Module;
using Zen.Base.Module.Data;
using Zen.Base.Module.Data.Adapter;
using Zen.Base.Module.Data.Connection;
namespace Zen.App.Data.Pipeline.SetVersioning
{
publ... | 35.745763 | 243 | 0.553027 | [
"MIT"
] | bucknellu/zen | Zen.App/Data/Pipeline/SetVersioning/SetVersion.cs | 6,329 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.