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 |
|---|---|---|---|---|---|---|---|---|
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Core
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class MediaStreamSourceSampleRequestDeferral
{
#if __ANDROID__ || __IOS__ || NET4... | 32.105263 | 196 | 0.770492 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Core/MediaStreamSourceSampleRequestDeferral.cs | 610 | 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.904255 | 149 | 0.651935 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/ListBillingGroupsRequestMarshaller.cs | 3,281 | C# |
// Main Contributors: Everyone (fair share)
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media.Imaging;
using System.Windows.Media;
using System.Diagnostics;
using MonkeyQuest.MonkeyQuest.Logic;
using MonkeyQuest.MonkeyQuest.UI;
using MonkeyQuest.Test;
namespa... | 41.867647 | 194 | 0.595012 | [
"MIT"
] | guangie88/cs2103-monkey-quest | Tester/TestMain.cs | 2,849 | C# |
////////////////////////////////////////////////////////////////////////////////////////////////////
//// ////
//// Copyright (c) 2016 - present, CERTH-ITI, Artica ////
//// ... | 37.682373 | 134 | 0.4711 | [
"MIT"
] | tomastheod-ITI/SenseLib | MSBandSenseLib.cs | 21,594 | C# |
/*
* Copyright © 2017 Cloudveil Technology Inc.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
using System;
using System.Collections.Generic;
using System.Text;
u... | 23 | 69 | 0.729977 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | JackBro/Filter-Windows | CloudVeilGUI/CloudVeilGUI/CustomFormElements/BlurredFrame.cs | 440 | C# |
// Copyright (c) Alexander Bogarsukov.
// Licensed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
namespace UnityFx.Purchasing.Validation
{
/// <summary>
/// Amazon Store validation result.
/// </su... | 20.682353 | 100 | 0.68942 | [
"MIT"
] | Arvtesh/UnityFx.Purchasing | src/UnityFx.Purchasing.Validation/AmazonStore/AmazonStoreValidationResult.cs | 1,760 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 30.027778 | 116 | 0.665125 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/EventGrid/Latest/Outputs/EventHubEventSubscriptionDestinationResponse.cs | 1,081 | C# |
using System;
using CoreTelephony;
using Foundation;
using UIKit;
namespace Xamarin.Essentials
{
public static partial class PhoneDialer
{
const string noNetworkProviderCode = "65535";
internal static bool IsSupported => UIApplication.SharedApplication.CanOpenUrl(CreateNsUrl(new string('0', 10)));
static as... | 22.84 | 115 | 0.751313 | [
"MIT"
] | dhindrik/maui | src/Essentials/src/Xamarin.Essentials/PhoneDialer/PhoneDialer.ios.cs | 573 | 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 Xunit;
namespace System.Security.Cryptography.X509Certificates.Tests
{
public static class ExportTests
... | 38.854545 | 140 | 0.564031 | [
"MIT"
] | CyberSys/corefx-mono | src/System.Security.Cryptography.X509Certificates/tests/ExportTests.cs | 6,411 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebAppWithIdentity.Models;
namespace WebAppWithIdentity.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()... | 23.386364 | 112 | 0.597668 | [
"MIT"
] | CNinnovation/ASPNETCoreOct2018 | Day3/WebAppWithIdentity/WebAppWithIdentity/Controllers/HomeController.cs | 1,031 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using SyncKusto.Models;
namespace SyncKusto.Validation.ErrorMessages.Specifications
{
public class DefaultOperationErrorSpecification : IOperationErrorMessageSpecification
{
public INonEmptyS... | 29.571429 | 89 | 0.57971 | [
"MIT"
] | Bhaskers-Blu-Org2/synckusto | SyncKusto/Validation/ErrorMessages/Specifications/DefaultOperationErrorSpecification.cs | 830 | C# |
using Unity.Entities;
using UnityEngine;
#if UNITY_EDITOR
public class AbilityAuthoring : MonoBehaviour, IConvertGameObjectToEntity
{
public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
{
dstManager.AddComponentData(entity, new Ability.AbilityCon... | 19.277778 | 109 | 0.775216 | [
"MIT"
] | The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game | DOTSSample-master/Assets/Unity.Sample.Game.Authoring/Ability/AbilityAuthoring.cs | 349 | 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 ... | 42.403013 | 188 | 0.587449 | [
"MIT"
] | Davilink/runtime | src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/BitwiseClear.Vector64.Single.cs | 22,516 | C# |
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace DCSoftDotfuscate
{
[ComVisible(false)]
public class GStream8 : Stream
{
private const int int_0 = 1;
private const int int_1 = 2;
private const int int_2 = 3;
private const int int_3 = 4;
private const int int_4 = 5;
pri... | 17.355972 | 124 | 0.506612 | [
"MIT"
] | h1213159982/HDF | Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GStream8.cs | 14,822 | 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.Specialized;
using System.Diagnostics;
usin... | 31.940265 | 214 | 0.487047 | [
"MIT"
] | Bencargs/wcf | src/dotnet-svcutil/lib/src/FrameworkFork/System.ServiceModel/System/ServiceModel/Dispatcher/ImmutableDispatchRuntime.cs | 28,874 | C# |
using System.Threading;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Universalis.Application.Uploads.Schema;
using Universalis.Entities.Uploads;
namespace Universalis.Application.Uploads.Behaviors
{
public interface IUploadBehavior
{
/// <summary>
/// Whether or not this... | 45.222222 | 156 | 0.683047 | [
"MIT"
] | Universalis-FFXIV/Universalis | src/Universalis.Application/Uploads/Behaviors/IUploadBehavior.cs | 1,223 | C# |
// FILE AUTOGENERATED. DO NOT MODIFY
using System;
namespace Starfield.Core.Block.Blocks {
[Block("minecraft:stonecutter", 676, 14854, 14857, 14854)]
public class BlockStonecutter : BlockBase {
public override ushort State {
get {
if(Facing == "north") {
... | 24.132353 | 64 | 0.381475 | [
"MIT"
] | StarfieldMC/Starfield | Starfield.Core/Block/Blocks/BlockStonecutter.cs | 1,641 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 39.72449 | 115 | 0.655536 | [
"MIT"
] | AzureDataBox/azure-powershell | src/ResourceManager/Consumption/Commands.Consumption.Test/ScenarioTests/UsageDetailsTests.cs | 3,798 | C# |
using Amazon;
using Amazon.CloudFront;
using Amazon.Runtime;
using Autofac;
namespace MountAws.Services.Cloudfront;
public class CloudfrontRegistrar : IServiceRegistrar
{
public void Register(ContainerBuilder builder)
{
builder.RegisterType<AmazonCloudFrontClient>().As<IAmazonCloudFront>()
... | 26.333333 | 78 | 0.762025 | [
"Apache-2.0"
] | andyalm/mount-aws | MountAws/Services/Cloudfront/CloudfrontRegistrar.cs | 395 | C# |
using System.Collections.Generic;
using Fabric.Identity.API.Infrastructure.QueryStringBinding;
using Microsoft.AspNetCore.Http.Internal;
using Microsoft.Extensions.Primitives;
using Xunit;
namespace Fabric.Identity.UnitTests
{
public class SeparatedQueryStringValueProviderTests
{
private static QueryC... | 44.258427 | 138 | 0.589236 | [
"Apache-2.0"
] | HealthCatalyst/Fabric.Identity | Fabric.Identity.UnitTests/SeparatedQueryStringValueProviderTests.cs | 3,941 | C# |
using Newtonsoft.Json;
namespace IctBaden.Api1NCE.Models
{
public class ProductInformation
{
[JsonProperty("product_id")]
public long ProductId { get; set; }
/// <summary>
/// Quantity of SIM with this product ordered
/// </summary>
[JsonProperty("quantity")]
... | 24.466667 | 53 | 0.594005 | [
"MIT"
] | FrankPfattheicher/IctBaden.1NCE | src/IctBaden.1NCE/Models/ProductInformation.cs | 367 | C# |
namespace Tewirai.Models
{
public class CqCoreConfig
{
public string WorkingDirectory { get; set; }
public string ExcutableName { get; set; }
public uint WsListenPort { get; set; }
}
}
| 22.2 | 52 | 0.621622 | [
"MIT"
] | DCTewi/Tewirai | Models/CqCoreConfig.cs | 224 | C# |
using Moq;
using NUnit.Framework;
using Parse;
using Parse.Internal;
using System;
using System.IO;
using System.Collections.Generic;
using System.Threading.Tasks;
// TODO (hallucinogen): mock ParseACL, ParseObject, ParseUser once we have their Interfaces
namespace ParseTest {
[TestFixture]
public class EncoderTes... | 43.945274 | 131 | 0.670554 | [
"BSD-3-Clause"
] | Julien-Mialon/Parse-SDK-dotNET | ParseTest.Unit/EncoderTests.cs | 8,833 | C# |
// Copyright © 2020 Sovren Group, Inc. All rights reserved.
// This file is provided for use by, or on behalf of, Sovren licensees
// within the terms of their license of Sovren products or Sovren customers
// within the Terms of Service pertaining to the Sovren SaaS products.
using Sovren.Models.API.Matching.Request;... | 32.761905 | 75 | 0.688953 | [
"Apache-2.0"
] | sovren/sovren-dotnet | src/Sovren.SDK/Models/API/Matching/SearchRequest.cs | 689 | C# |
using Library.Domain.Core;
using Library.Service.Identity.Domain.DataAccessors;
using Library.Service.Inventory.Domain.DataAccessors;
using Library.Service.Rental.Domain.DataAccessors;
using Microsoft.Extensions.Configuration;
using System.IO;
namespace Library.Service.Handler
{
public class AppsettingInventoryReadDB... | 25.447853 | 109 | 0.724928 | [
"Apache-2.0"
] | lamondlu/BookLibrary | src/Library.Service.Handler/AppsettingDBConnectionStringProvider.cs | 4,148 | C# |
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Roslynator.CSharp.Refactorings.Tests
{
internal class ReplaceStringFormatWithInterpolatedStringRefactoring
{
public void Foo()
... | 31.888889 | 160 | 0.478513 | [
"Apache-2.0"
] | ADIX7/Roslynator | src/Tests/Refactorings.Tests.Old/ReplaceStringFormatWithInterpolatedStringRefactoring.cs | 863 | C# |
using ScriptEngine.Machine.Contexts;
using System.Windows.Forms;
namespace osf
{
[ContextClass ("КлРежимОтображения", "ClView")]
public class ClView : AutoContext<ClView>
{
private int m_largeIcon = (int)View.LargeIcon; // 0 Каждый элемент отображается в виде полноразмерного значка с меткой под ни... | 38.7 | 366 | 0.672481 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | EvilBeaver/OneScriptForms | cs/View.cs | 2,110 | C# |
using System;
class B
{
static void Main() => Console.WriteLine(new string('x', Console.ReadLine().Length));
}
| 17.142857 | 86 | 0.65 | [
"MIT"
] | sakapon/AtCoder-Contests | CSharp/Contests2020/ABC154/B.cs | 122 | 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.595506 | 149 | 0.652485 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Organizations/Generated/Model/Internal/MarshallTransformations/LeaveOrganizationRequestMarshaller.cs | 3,079 | C# |
using System.ComponentModel;
namespace Progress.Sitefinity.AspNetCore.Widgets.Models.Image
{
/// <summary>
/// The enum with the sizing modes of an image.
/// </summary>
public enum ImageDisplayMode
{
/// <summary>
/// The responsive.
/// </summary>
Responsive,
... | 21.088235 | 61 | 0.509066 | [
"Apache-2.0"
] | Sitefinity/sitefinity-aspnetcore-mvc-widgets | Progress.Sitefinity.AspNetCore.Widgets/Models/Image/ImageDisplayMode.cs | 719 | C# |
using System;
namespace _8_2_1_Static_ZADACA
{
public class Static
{
private Static() { }
public static double Zbroj(double a, double b)
{
return a + b;
}
public static double Kub(double broj)
{
return broj * broj * broj;
}
... | 23.357143 | 83 | 0.519878 | [
"MIT"
] | staman1702/AlgebraCSharp2019-1 | ConsoleApp1/8_2_1_Static_ZADACA/Static.cs | 656 | C# |
using BrewLib.UserInterface;
using BrewLib.UserInterface.Skinning.Styles;
using BrewLib.Util;
using OpenTK;
using StorybrewEditor.ScreenLayers;
using StorybrewEditor.UserInterface.Skinning.Styles;
using System;
namespace StorybrewEditor.UserInterface
{
public class PathSelector : Widget
{
private Path... | 35.940678 | 155 | 0.552464 | [
"MIT"
] | T0chi/storybrew | editor/UserInterface/PathSelector.cs | 4,243 | C# |
using System.Runtime.InteropServices;
using Xarial.XCad.Features.CustomFeature.Enums;
using Xarial.XCad.SolidWorks;
using Xarial.XCad.SolidWorks.Documents;
using Xarial.XCad.SolidWorks.Features.CustomFeature;
namespace Xarial.XCad.Documentation
{
[ComVisible(true)]
public class UpdateStateMacroFeature : SwMac... | 33.7 | 122 | 0.747774 | [
"MIT"
] | EddyAlleman/xcad | docs/_src/CustomFeature/UpdateStateMacroFeature.cs | 676 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://ww... | 50.401709 | 148 | 0.681363 | [
"MIT"
] | Milstein/azure-sdk-tools | WindowsAzurePowershell/src/Commands.Test/HDInsight/CommandTests/ManageAzureHDInsightHttpAccessCommandTests.cs | 5,781 | 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... | 36.957895 | 137 | 0.655084 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/APIGateway/Generated/Model/Internal/MarshallTransformations/GetResourceRequestMarshaller.cs | 3,511 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MidnightLizard.Impressions.Commander.Infrastructure.ActionFilters
{
public class ValidateModelStateAttribute : ActionFilterAttribute
... | 27.857143 | 80 | 0.709402 | [
"MIT"
] | Midnight-Lizard/Impressions-Commander | app/Infrastructure/ActionFilters/ValidateModelStateAttribute.cs | 587 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
namespace Charlotte
{
// Token: 0x02000113 RID: 275
public struct SpecifyTrueFenrirLogin
{
// Token: 0x06000F98 RID: 3992 RVA: 0x00028C38 File Offset: 0x00026E38
public static string FetchMissingDarmstadtiumCredential()
... | 36.899598 | 246 | 0.79397 | [
"MIT"
] | soleil-taruto/Hatena | a20201226/Decompile/Confused_01/Elsa20200001/SpecifyTrueFenrirLogin.cs | 9,190 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Xml;
using System.Xml.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.Extensions.Logging;
using Statiq.Common;
name... | 46.930362 | 223 | 0.495341 | [
"MIT"
] | brownstef/Statiq.Framework | src/extensions/Statiq.CodeAnalysis/Analysis/XmlDocumentationParser.cs | 33,698 | 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 ... | 18.364706 | 63 | 0.641256 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-cdrs/CDRS/Model/V20201101/UpdateCdrsMonitorResponse.cs | 1,561 | C# |
using System;
using NetOffice;
namespace NetOffice.OfficeApi.Enums
{
/// <summary>
/// SupportByVersion Office 12, 14, 15
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff862839.aspx </remarks>
[SupportByVersionAttribute("Office", 12,14,15)]
... | 27.898305 | 120 | 0.609356 | [
"MIT"
] | NetOffice/NetOffice | Source/Office/Enums/MsoDateTimeFormat.cs | 3,292 | C# |
using Login_Form.Classes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Login_Form
{
public partial class RecoverPassword : UserControl
... | 27.810345 | 76 | 0.608803 | [
"MIT"
] | GAGreatProgrammer/Login-Form | Login Form/User Controls/RecoverPassword.cs | 1,615 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Globalization;
namespace Gem.Engine.AI.NeuralNetwork
{
public class NeuralNetworkData
{
private readonly List<Dictionary<string, int>> dataTokens = new List<Dictionary<string, int>>();
private readonly string[] raw... | 36.040698 | 130 | 0.49508 | [
"MIT"
] | gmich/Gem | Gem.Engine/AI/NeuralNetwork/NeuralNetworkData.cs | 6,201 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
/*
* AvaTax API Client Library
*
* (c) 2004-2019 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Genevieve Conty
* @author Greg Hester... | 24.94 | 120 | 0.595028 | [
"Apache-2.0"
] | contygm/AvaTax-REST-V2-DotNet-SDK | src/models/TransactionParameterModel.cs | 1,247 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using EventStore.ClientAPI;
using EventStore.ClientAPI.SystemData;
using EventStore.Core.Services;
using EventStore.Core.Tests.ClientAPI.Helpers;
using EventStore.Core.Tests.Helpers;
using NUnit.Framework;
namespace EventStore.Core.Tests.ClientAPI
{
... | 40.149425 | 122 | 0.62067 | [
"Apache-2.0"
] | bartelink/EventStore | src/EventStore.Core.Tests/ClientAPI/read_all_events_backward_should.cs | 3,495 | 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.
#nullable disable
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespa... | 28.42735 | 74 | 0.63199 | [
"MIT"
] | Acidburn0zzz/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/GotoKeywordRecommenderTests.cs | 3,328 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,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 ... | 35.696594 | 169 | 0.577363 | [
"Apache-2.0"
] | DavidAlphaFox/WeiXinMPSDK | src/Senparc.Weixin.Work/Senparc.Weixin.Work/Containers/JsApiTicketContainer.cs | 12,816 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Harmony;
using TMPro;
namespace BS_Utils.Gameplay.HarmonyPatches
{
[HarmonyPatch(typeof(StandardLevelScenesTransitionSetupDataSO),
new Type[] {
typeof(IDifficultyBeatmap),... | 44.529412 | 269 | 0.734478 | [
"MIT"
] | sc2ad/Beat-Saber-Utils | Beat Saber Utils/Gameplay/HarmonyPatches/BlahBlahGrabTheLevelData.cs | 1,516 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Response to UserCallCenterEnhancedReportingScheduledReportGetRequest.
/// <se... | 34.033505 | 273 | 0.61242 | [
"MIT"
] | Rogn/broadworks-connector-net | BroadworksConnector/Ocip/Models/UserCallCenterEnhancedReportingScheduledReportGetResponse.cs | 13,205 | C# |
using System.Collections.Generic;
using System.Linq;
using UDVF.Runtime.Scripts.ChartEffectors;
using UDVF.Runtime.Scripts.Charts.RenderCommands;
using UnityEngine;
using UnityEngine.UI;
namespace UDVF.Runtime.Scripts.Charts
{
[ExecuteInEditMode]
[RequireComponent(typeof(CanvasRenderer))]
public abstract clas... | 29.074627 | 82 | 0.624743 | [
"MIT"
] | Nox7atra/udvf | Assets/UDVF/Runtime/Scripts/Renderers/ChartBaseRenderer.cs | 1,948 | C# |
using MQTTnet.Client.Connecting;
using MQTTnet.Client.Disconnecting;
using MQTTnet.Client.Options;
using MQTTnet.Client.Publishing;
using MQTTnet.Client.Subscribing;
using MQTTnet.Client.Unsubscribing;
using MQTTnet.Exceptions;
using MQTTnet.Packets;
using MQTTnet.Protocol;
using MQTTnet.Server;
using System;
using Sy... | 45.490358 | 148 | 0.64967 | [
"MIT"
] | 765643729/MQTTnet | Source/MQTTnet/Formatter/V5/MqttV500DataConverter.cs | 16,515 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Pomodoro
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application... | 18.833333 | 43 | 0.666667 | [
"MIT"
] | korn3l/Pomodoro | Pomodoro/App.xaml.cs | 341 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 30.479167 | 94 | 0.619959 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DataMigration/V20180715Preview/Inputs/GetUserTablesOracleTaskPropertiesArgs.cs | 1,463 | C# |
using Com.Ctrip.Framework.Apollo.Enums;
namespace Com.Ctrip.Framework.Apollo.Util
{
public sealed class EnvUtils
{
public static Env? transformEnv(string envName)
{
if (string.IsNullOrEmpty(envName))
{
return null;
}
string tempEn... | 30.637931 | 83 | 0.384356 | [
"Apache-2.0"
] | 307209239/apollo-net | Apollo/Util/EnvUtils.cs | 1,779 | 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.
#nullable enable
namespace Microsoft.CodeAnalysis
{
internal static class CommonAttributeDataExtensions
{
... | 29.758621 | 104 | 0.595597 | [
"MIT"
] | 06needhamt/roslyn | src/Compilers/Core/Portable/Symbols/CommonAttributeDataExtensions.cs | 865 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 43.48 | 302 | 0.698712 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Compute/V20200601/Outputs/VirtualMachineIdentityResponse.cs | 2,174 | C# |
namespace Phoenix.Infrastructure.Extensions {
public class ErrorInfo {
public ErrorInfo(string propertyName, string errorMessage, object @object = null) {
PropertyName = propertyName;
ErrorMessage = errorMessage;
Object = @object;
}
public string Propert... | 31 | 91 | 0.627957 | [
"MIT"
] | m-sadegh-sh/Phoenix | src/Phoenix.Infrastructure/Extensions/ErrorInfo.cs | 467 | 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/ShlObj_core.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropSe... | 39.233333 | 145 | 0.707732 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | sources/Interop/Windows/Windows/um/ShlObj_core/EXP_SZ_LINK.cs | 1,179 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rothbard_Engine
{
/// <summary>
/// Allows a class to receive keyboard event data
/// </summary>
public interface IKeyboardListener
{
/// <summary>
/// Rece... | 25.047619 | 68 | 0.631179 | [
"Apache-2.0"
] | ReidGiles/Rothbard-Engine | Rothbard-Engine/Rothbard-Engine/Input/IKeyboardListener.cs | 528 | C# |
namespace DoubleDispatch.Dispatch
{
using System;
public class SingleDispatcher
{
public void Dispatch(Base @base)
{
Console.WriteLine($"Method {nameof(Dispatch)}({nameof(Base)}) - type: {@base.GetType()}");
}
public void Dispatch(Foo foo)
{
... | 25.724138 | 102 | 0.542895 | [
"MIT"
] | aliostad/deep-learning-lang-detection | data/test/csharp/49da791160e8764d41622708122ade4ebec8907dSingleDispatcher.cs | 748 | C# |
namespace EmplSys.WebAPI.App_Start
{
using Data;
using System.Data.Entity;
public static class DatabaseConfig
{
public static void Initialize()
{
Database.SetInitializer(new MigrateDatabaseToLatestVersion<EmplSysDbContext, Configuration>());
}
}
} | 23.461538 | 107 | 0.662295 | [
"MIT"
] | dirk-dagger-667/EmployeeManagement | EmplSys.WebAPI/App_Start/DatabaseConfig.cs | 307 | C# |
#pragma checksum "C:\jose-guilherme\kentech\treinamento-kentech\api-rest-aspnet-core\Alura.WebAPI\Alura.WebAPI.WebApp\Views\Livro\Novo.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4c2f42991e3949141b797d5d11b576d646735fcc"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Raz... | 73.678019 | 365 | 0.70466 | [
"MIT"
] | zehguilherme/treinamento-kentech | api-rest-aspnet-core/Alura.WebAPI/Alura.WebAPI.WebApp/obj/Debug/netcoreapp2.1/Razor/Views/Livro/Novo.cshtml.g.cs | 47,596 | C# |
/*
* ProcessMaker API
*
* This ProcessMaker I/O API provides access to a BPMN 2.0 compliant workflow engine api that is designed to be used as a microservice to support enterprise cloud applications. The current Alpha 1.0 version supports most of the descriptive class of the BPMN 2.0 specification.
*
* OpenAPI s... | 33.8 | 277 | 0.576289 | [
"Apache-2.0"
] | ProcessMaker/pmio-sdk-csharp | src/ProcessMaker.PMIO/Model/GroupUpdateItem.cs | 4,736 | C# |
namespace Brainary.Commons.Helpers
{
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using Brainary.Commons.Extensions;
/// <summary>
/// Enum helper methods
/// </summary>
public class EnumHelper
{
/// <summary>... | 36.946903 | 100 | 0.580599 | [
"Apache-2.0"
] | AthosXtreme/Brainary.Commons | Solution/Brainary.Commons/Helpers/EnumHelper.cs | 4,177 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Umbraco.ModelsBuilder.Embedded v8.13.0
//
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//--------------------------------------... | 40.652174 | 130 | 0.729412 | [
"MIT"
] | ManiPeralta/KitDeInicio-Source | KitDeInicioDos/Models/ContenidoEncabezadoAjustes.generated.cs | 2,805 | C# |
using UnityEngine;
using Dest.Math;
namespace Dest.Math.Tests
{
[ExecuteInEditMode]
public class Test_IntrRay3Polygon3 : Test_Base
{
public Transform Ray;
public Transform PolygonPlane;
public Transform[] PolygonPoints;
private void OnDrawGizmos()
{
Ray3 ray = CreateRay3(Ray);
Plane3 polygonPlane ... | 20.804878 | 73 | 0.704572 | [
"MIT"
] | zhlnpu/SmartphoneVR2-ARinVR | SmartPhoneVR-stage2-pc-ARinVR/Assets/MathLibraryForUnity/Tests/Scripts/Intersection/3D/Test_IntrRay3Polygon3.cs | 855 | C# |
namespace LinFx.Extensions.ObjectMapping
{
/// <summary>
/// Defines a simple interface to automatically map objects.
/// </summary>
public interface IObjectMapper
{
/// <summary>
/// Gets the underlying <see cref="IAutoObjectMappingProvider"/> object that is used for auto object ma... | 41.809524 | 117 | 0.64123 | [
"MIT"
] | linfx/linfx | src/LinFx/Extensions/ObjectMapping/IObjectMapper.cs | 2,636 | C# |
/*
Copyright (c) 2018, Kevin Pope, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and th... | 32.955056 | 121 | 0.792704 | [
"BSD-2-Clause"
] | MrnB/MatterControl | MatterControlLib/History/HistoryListView.cs | 2,935 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Igneel.IA.Resources
{
public abstract class ComputeBuffer: ResourceAllocator
{
protected CPUAccess cpuAccess;
protected GPUAccess gpuAccess;
protected IntPtr p... | 26.913043 | 118 | 0.602046 | [
"Apache-2.0"
] | ansel86castro/Igneel | Engine/Igneel.IA/Resources/ComputeBuffer.cs | 1,859 | C# |
using Contoso.Web.Flow.Cache;
using Contoso.Web.Flow.Requests;
using Contoso.Web.Flow.ScreenSettings.Views;
using LogicBuilder.RulesDirector;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Contoso.Web.Flow.Dialogs
{
public interface IDialo... | 30.947368 | 104 | 0.792517 | [
"MIT"
] | BlaiseD/LogicBuilder.Samples | .NetCore/Contoso/Contoso.Web.Flow/Dialogs/IDialogHandler.cs | 590 | C# |
using System.Collections.Generic;
using System.Linq;
namespace Ernestoyaquello.TwoPlayerZeroSumGameEngine.Models
{
/// <summary>
/// A model implementing this base class will represent the board state and hold its data.
/// For example, in a game like Connect 4, it will contain the information about where... | 35.636364 | 120 | 0.630102 | [
"Apache-2.0"
] | ernestoyaquello/TwoPlayerZeroSumGameEngine | Ernestoyaquello.TwoPlayerZeroSumGameEngine/Models/BaseBoardState.cs | 1,570 | C# |
using System;
using System.Linq;
namespace ConcurrencyUtilities.Benchmarks
{
public class BenchmarkResult
{
public readonly string Name;
public readonly string TypeName;
public readonly int Threads;
public readonly int TotalSeconds;
public readonly long RecordedTime... | 30.584615 | 128 | 0.577968 | [
"Apache-2.0"
] | cyotek/ConcurrencyUtilities | Tests/ConcurrencyUtilities.Benchmarks/BenchmarkResult.cs | 1,990 | C# |
// ReSharper disable VirtualMemberCallInConstructor
namespace OurRecipes.Data.Models
{
using System;
using Microsoft.AspNetCore.Identity;
using OurRecipes.Data.Common.Models;
public class ApplicationRole : IdentityRole, IAuditInfo, IDeletableEntity
{
public ApplicationRole()
:... | 22.387097 | 77 | 0.603746 | [
"MIT"
] | JustAleks14/OurRecipes | Data/OurRecipes.Data.Models/ApplicationRole.cs | 696 | 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 may ... | 26.210526 | 129 | 0.659495 | [
"Apache-2.0"
] | austxcodemonkey/geode-native | tests/cli/NewFwkLib/PerfTest/DupChecker.cs | 3,486 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OgrePlugin;
using Engine;
namespace libRocketPlugin
{
public class RocketRenderQueueListener : RenderQueueListener
{
private Context context;
private RenderInterfaceOgre3D renderInterface;
... | 26.125 | 129 | 0.542105 | [
"MIT"
] | AnomalousMedical/Engine | libRocketPlugin/Plugin/RocketRenderQueueListener.cs | 2,092 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Reflection;
using OpenMetaverse;
using OpenMetaverse.Packets;
using XmlRpcCore;
using Logger = OpenMetaverse.Logger;
namespace GridProxy
{
public class ProxyFrame
{
public Proxy proxy;
private Dict... | 34.336283 | 135 | 0.524742 | [
"BSD-3-Clause"
] | Utopia-Skye/libremetaverse | Programs/GridProxy/GridProxyLoader.cs | 7,760 | C# |
// <auto-generated />
using System;
using Gradebook.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Gradeb... | 36.413973 | 125 | 0.441368 | [
"MIT"
] | Plotso/Gradebook | Data/Gradebook.Data/Migrations/20210131165858_AbsenceNowHasAnId.Designer.cs | 34,923 | C# |
using System.Resources;
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.
[ass... | 37 | 77 | 0.77887 | [
"Apache-2.0"
] | camostars/hello_world | Source/Xamarin/Prism.Ninject.Forms/Properties/AssemblyInfo.cs | 817 | C# |
using Microsoft.Reactive.Testing;
using NUnit.Framework;
using Shouldly;
using System.Reactive;
namespace Annex.Reactive.Test
{
public sealed class ObservableEx_VoidTest : ReactiveTest
{
[Test]
public void IsSingleton() => ObservableEx.Void.ShouldBeSameAs(ObservableEx.Void);
[Test]
... | 26.217391 | 89 | 0.595357 | [
"MIT"
] | gtbuchanan/annex-net | test/Annex.Reactive.Test/ObservableEx_VoidTest.cs | 603 | 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... | 28.263158 | 86 | 0.491993 | [
"MIT"
] | CrafterKolyan/SI-Remastered | src/SIQuester/SIQuester/View/ImportDBStorageView.xaml.cs | 2,710 | C# |
using Klyte.Commons.Interfaces;
using System.Xml.Serialization;
namespace Klyte.WriteTheSigns.Xml
{
public class SeedInstanceHighwayShield : IIdentifiable
{
[XmlIgnore]
public ushort SeedId { get; private set; }
[XmlAttribute("seedId")]
public long? Id { get => SeedId; set => ... | 25.444444 | 80 | 0.644105 | [
"MIT"
] | klyte45/WriteTheSigns | Xml/BoardDescriptor/SeedInstanceHighwayShield.cs | 460 | C# |
using System;
using Newtonsoft.Json;
namespace CWITC.DataObjects
{
public class FeaturedEvent : BaseDataObject
{
/// <summary>
/// Gets or sets the type of the event such as: offsite, session, break, etc
/// </summary>
/// <value>The type.</value>
public string Type { ge... | 28.694915 | 117 | 0.559953 | [
"MIT"
] | CenWIDev/app-cwitc | src/CWITC.DataStore/DataObjects/FeaturedEvent.cs | 1,695 | 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 NuGet.Packaging.Core;
using Xunit;
namespace NuGet.Packaging.Test
{
public class RepositoryMetadataTests
{
[Fact]
public ... | 44.152778 | 117 | 0.55615 | [
"Apache-2.0"
] | 0xced/NuGet.Client | test/NuGet.Core.Tests/NuGet.Packaging.Test/RepositoryMetadataTests.cs | 3,179 | 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.Protocols.TestSuites.ActiveDirectory.Lsad {
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflecti... | 95.507328 | 302 | 0.73307 | [
"MIT"
] | 0neb1n/WindowsProtocolTestSuites | TestSuites/ADFamily/src/TestSuite/MS-LSAD/TestScenarioS35.cs | 84,715 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace XIntric.ExpressionInjection.Linq
{
public interface IQueryProvider : System.Linq.IQueryProvider
{
IQueryProvider WithFactory(Func<IQueryProvider, Type, Expression, IQueryable>... | 35.816901 | 150 | 0.67676 | [
"MIT"
] | JTOne123/ExpressionInjection | XIntric.ExpressionInjection/Linq/QueryProvider.cs | 2,545 | C# |
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using RestWithAspnet5.Business;
using RestWithAspnet5.Data.VO;
using RestWithAspnet5.Hypermedia.Filters;
using System.Collections.Generic;
namespace RestWithAspnet5.Controllers
{
[ApiVersion("1")]
[Ap... | 28.431579 | 89 | 0.588301 | [
"Apache-2.0"
] | fabiojfl16/RestWithAspnet5 | RestWithAspnet5/Controllers/BookController.cs | 2,703 | C# |
using System;
using Xamarin.Forms;
namespace WaterAddition.Helpers {
public class MessageBus {
static readonly Lazy<MessageBus> LazyInstance = new Lazy<MessageBus>(() => new MessageBus(), true);
static MessageBus Instance => LazyInstance.Value;
MessageBus() {
}
public static void SendMessage(string messag... | 23.952381 | 101 | 0.733598 | [
"MIT"
] | Porodin/WaterAddition | WaterAddition/Helpers/MessageBus.cs | 503 | 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.443299 | 209 | 0.613569 | [
"MIT"
] | Azure-Samples/Azure-Time-Series-Insights | gen2-sample/csharp-tsi-gen2-sample/DataPlaneClient/Generated/TimeSeriesInsights/DataPlane.TimeSeriesInsights/Generated/Models/Availability.cs | 3,729 | C# |
using System;
using System.CodeDom.Compiler;
using System.IO;
namespace SourceGeneration.Mvvm.Helpers
{
public class SourceWriter : IndentedTextWriter
{
public SourceWriter(TextWriter writer) : base(writer) { }
public IDisposable StartBlock(string text)
{
WriteLine(text);
... | 26.111111 | 122 | 0.543972 | [
"MIT"
] | athulrajts/csharp-source-generation | SourceGeneration.Mvvm/Helpers/SourceWriter.cs | 1,412 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace HardwareAffinity.Data.Migrations
{
public partial class AddCartsAndCartProductsTables : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 38.035714 | 92 | 0.477934 | [
"MIT"
] | vib1336/HardwareAffinity | src/Data/HardwareAffinity.Data/Migrations/20201211122342_AddCartsAndCartProductsTables.cs | 3,197 | C# |
using System;
using System.Collections.Generic;
using Sandbox;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace Miku.Lua.Objects.Internal
{
// TODO BUG: A full table will never return when trying to access a missing key?
// Should be fine as long as we never allow full tables, which we don'... | 28.058608 | 124 | 0.625849 | [
"MIT"
] | ChurchOfMiku/hatsune-miku-compatibility-system | code/Lua/Objects/Internal/MikuDict.cs | 7,660 | C# |
using System.Collections.Generic;
using Smidas.Common;
using Smidas.Core.Stocks;
namespace Smidas.Core.Analysis
{
public interface IAktieRea : IAnalysis
{
void ExcludeDisqualifiedStocks(ref IEnumerable<Stock> stocks, AktieReaQuery.AnalysisOptionsData options);
void ExcludeDoubles(ref IEnumerabl... | 36.533333 | 113 | 0.751825 | [
"MIT"
] | Dekamik/Smidas | Smidas/Smidas.Core/Analysis/IAktieRea.cs | 548 | C# |
using System.Collections.Generic;
public static class DefinitionGenerator
{
public static void GenerateDefinitions(Dictionary<string, LangDefParam> dic)
{
// Item names and descriptions.
GenItems(dic);
}
private static void GenItems(Dictionary<string, LangDefParam> dic)
{
... | 33.102041 | 142 | 0.51233 | [
"MIT"
] | Epicguru/NotQuiteDead | Assets/Scripts/Translation/DefinitionGenerator.cs | 1,624 | C# |
using BEDA.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace BEDA.CIB.Contracts.Responses
{
/// <summary>
/// 3.17.1活期与保证金互转响应主体
/// </summary>
public class V1_DCPMGTTRNRS : IResponse
... | 26.701754 | 61 | 0.487188 | [
"MIT"
] | fdstar/BankEnterpriseDirectAttach | src/BEDA.CIB/Contracts/Responses/3.17/V1_DCPMGTTRNRS.cs | 3,470 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using GDAPI.Objects.General;
using GDAPI.Objects.GeometryDash.LevelObjects;
namespace GDAPI.Application.Editors.Delegates
{
/// <summary>Represents a function that applies a transformation to the specified objects based on a central point.</summar... | 55.266667 | 149 | 0.792521 | [
"MIT"
] | AlFasGD/GDAPI | GDAPI/GDAPI/Application/Editors/Delegates/ObjectPropertyNullableCentralPointSetter.cs | 831 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace S2CCore
{
public class CleanCommand : BaseCommand
{
public CleanCommand(int agentId, int row, int col)
{
Name = "clean";
AgentId = agentId;
Location = new Coords(row, col);
... | 21.318182 | 75 | 0.54371 | [
"MIT"
] | abhishekmishra/e2c | S2CServer/S2CCore/CleanCommand.cs | 471 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
using FluentAssertions;
using Newtonsoft.Json.Linq;
using RulesMSBuild.Tools.Bazel;
namespace b... | 31.0875 | 120 | 0.470848 | [
"Apache-2.0"
] | samhowes/rules_tsql | tests/tools/build_test/Program.cs | 4,976 | C# |
using UnityEngine;
using GOAP_S.Blackboard;
using UnityEditor;
namespace GOAP_S.UI
{
[CustomEditor(typeof(GlobalBlackboardComp_GS))]
public class GlobalBlackboardComp_GS_Editor : BlackboardComp_GS_Editor
{
public override void OnInspectorGUI()
{
//Target blackboard
... | 28.952381 | 91 | 0.699013 | [
"MIT"
] | ferranmartinvila/Unity-GOAP_S | Unity_Project/Assets/GOAP_System/Editor/Editors/GlobalBlackboardComp_GS_Editor.cs | 610 | C# |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | 32.73494 | 463 | 0.730217 | [
"MIT"
] | Acidburn0zzz/CodeContracts | Microsoft.Research/Contracts/PresentationCore/Sources/System.Windows.LocalizabilityAttribute.cs | 2,717 | C# |
using UnityEngine;
namespace CustomSceneryRegistrar.Decorators.Type
{
class TrashBinDecorator : IDecorator
{
public void Decorate(GameObject go, CustomSceneryV1 customScenery)
{
go.AddComponent<TrashBin>();
}
}
}
| 20.230769 | 74 | 0.657795 | [
"MIT"
] | ParkitectNexus/CustomSceneryRegistrar | Decorators/Type/TrashBinDecorator.cs | 265 | C# |
using System;
namespace CodeGenerator
{
public class TranslatorEventArgs : EventArgs
{
public string Message
{
get;
set;
}
public decimal Progress
{
get;
set;
}
public TranslatorEventArgs()
{
}
public TranslatorEventArgs(string message)
{
this.Message = message;
}
public ... | 11.764706 | 46 | 0.6625 | [
"MIT"
] | wmansfield/stencil.v2 | codegen/CodeGenerator/TranslatorEventArgs.cs | 400 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.